From 5c805a50a49313add31302c6906457f11b02c024 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:33:11 -0800 Subject: [PATCH 01/23] Fake packages: say what the Workshop builds and when a53_ppr matters Workshop packages already carry a plaintext game image with the marker the latest kstuff (fake-package support up to 13.60) checks, and Kraken Mount takes them too. The Workshop note still told people to load kstuff, a53_ppr and ShadowMount+ in that order; it now says what the package is and gives the two ways to play it side by side. a53_ppr is only for firmware up to 11.40 (its public build has no profile past that), and a game installed with an older kstuff may need installing again. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- client/src/i18n/locales/ar.ts | 4 - client/src/i18n/locales/bn.ts | 4 - client/src/i18n/locales/de.ts | 4 - client/src/i18n/locales/en.ts | 8 +- client/src/i18n/locales/es.ts | 4 - client/src/i18n/locales/fa.ts | 4 - client/src/i18n/locales/fr.ts | 4 - client/src/i18n/locales/hi.ts | 4 - client/src/i18n/locales/hu.ts | 4 - client/src/i18n/locales/id.ts | 4 - client/src/i18n/locales/it.ts | 4 - client/src/i18n/locales/ja.ts | 4 - client/src/i18n/locales/ko.ts | 4 - client/src/i18n/locales/pl.ts | 4 - client/src/i18n/locales/pt-BR.ts | 4 - client/src/i18n/locales/ru.ts | 4 - client/src/i18n/locales/th.ts | 4 - client/src/i18n/locales/tr.ts | 4 - client/src/i18n/locales/vi.ts | 4 - client/src/i18n/locales/zh-CN.ts | 4 - client/src/i18n/locales/zh-TW.ts | 4 - client/src/screens/FpkgConvert/index.tsx | 4 +- .../screens/InstallPackage/FpkgNote.test.tsx | 3 +- .../src/screens/InstallPackage/FpkgNote.tsx | 8 +- client/src/screens/Payloads/CatalogPanel.tsx | 4 +- scripts/i18n-known-missing.json | 119 ++++++++++++++---- scripts/i18n-source-hashes.json | 8 +- 27 files changed, 111 insertions(+), 123 deletions(-) diff --git a/client/src/i18n/locales/ar.ts b/client/src/i18n/locales/ar.ts index 5a568c1eb..db935b338 100644 --- a/client/src/i18n/locales/ar.ts +++ b/client/src/i18n/locales/ar.ts @@ -1908,9 +1908,7 @@ err_payload_rejected: "رفض PS5 الطلب: {reason}", "pkglib.fpkgsupport.install_title": "التثبيت", "pkglib.fpkgsupport.install_what": "يثبّت PS5 الحزمة مثل لعبة من المتجر.", "pkglib.fpkgsupport.install_needs": "يحتاج إلى تشغيل kstuff، وإلى ShadowMount+، طبقة الربط التي تسجّل اللعبة المثبّتة.", - "pkglib.fpkgsupport.install_kstuff": "على البرامج الثابتة من 11.61 إلى 13.60 يجب أن يكون أحدث kstuff (الذي يدعم الحزم المزيفة حتى 13.60): مع kstuff أقدم تُثبَّت الحزمة، لكن اللعبة لا تبدأ. حتى 11.60، يعمل أي kstuff يدعم الحزم المزيفة.", "pkglib.fpkgsupport.install_catalog": "قد يكون kstuff الموجود في الكتالوج أقدم من ذلك؛ أرسل أحدث نسخة عبر {send}.", - "pkglib.fpkgsupport.install_ppr": "إذا رفض الجهاز التثبيت، فحمّل أيضًا a53_ppr_install_fast.elf، المبني من الشيفرة المصدرية على GitHub:", "pkglib.fpkgsupport.mount_title": "التركيب باستخدام Kraken Mount", "pkglib.fpkgsupport.mount_what": "يضع Kraken Mount اللعبة على الشاشة الرئيسية مباشرةً من ملف .pkg، دون تثبيتها.", "pkglib.fpkgsupport.mount_needs": "يحتاج إلى تشغيل Kraken Mount، دون ShadowMount+ بجانبه. يركّب حزم PS5 المصنوعة بمفتاح التصحيح فقط، لا حزم PS4 ولا الحزم التجارية.", @@ -7639,10 +7637,8 @@ library_compressed_hint: "تحتاج الصور المضغوطة إلى ShadowMo "collection.send_many_body_v2": "يحصل كل PS5 على ما ينقصه: حزمة اللعبة، أو مجلدها أو صورتها أو أرشيفها، إضافةً إلى التحديثات الأحدث ومحتوى DLC للألعاب التي لديه. تُبث الحزم من هذا الحاسوب؛ ويُرفع الباقي إلى محرك الأقراص المحدد في «الرفع والتثبيت»، داخل مجلد homebrew.", "first_run_step4_body_v3": "أدخل ذاكرة USB تحتوي على صور ألعاب .ffpkg في جهاز PS5 وسيركّبها ShadowMount+ تلقائيًا — ستظهر في «الألعاب». لإرسال ملفات أخرى أو تثبيت حزم .pkg، استخدم «الرفع والتثبيت».", "first_run_go_upload_v2": "افتح «الرفع والتثبيت»", -"fpkg.aboutFake_v2": "الناتج حزمة مزيفة، لذا يحتاج الجهاز إلى تحميل دعم الحزم المزيفة قبل تثبيتها: kstuff (الإصدار الذي يدعم حزم PS5 المزيفة) وa53_ppr_install_fast.elf وshadowmountplus.elf، بهذا الترتيب. تذكر صفحة «الرفع والتثبيت» الأمر نفسه بجوار أزرار التثبيت.", "fpkg.openUpload_v2": "افتح «الرفع والتثبيت»", "netdoctor.speed_cap.on.fix_v2": "أزل الحد في «الرفع والتثبيت» إن لم تكن بحاجة إليه.", -"payloads_fpkg_ppr_note_v2": "يحتاج تثبيت الحزم المزيفة أيضًا إلى a53_ppr_install_fast.elf، وهو غير موجود في هذه القائمة: لا يوجد تنزيل منشور له، ويُبنى من الشيفرة المصدرية على GitHub. تسرد «الرفع والتثبيت» كل ما تحتاجه الحزم المزيفة بالترتيب.", "fs_extract_next_pkgs_v2": "يحتوي على {n} حزمة: ثبّتها من «الرفع والتثبيت»، أو من صفها هنا.", "game_hub_no_addons_v2": "لا توجد حزم DLC مجهّزة لهذا العنوان. أرسل واحدة من «الرفع والتثبيت».", "game_hub_open_install_v2": "افتح «الرفع والتثبيت»", diff --git a/client/src/i18n/locales/bn.ts b/client/src/i18n/locales/bn.ts index 18599dac5..ea15ef4b2 100644 --- a/client/src/i18n/locales/bn.ts +++ b/client/src/i18n/locales/bn.ts @@ -1908,9 +1908,7 @@ err_payload_rejected: "PS5 অনুরোধ প্রত্যাখ্যা "pkglib.fpkgsupport.install_title": "ইনস্টল", "pkglib.fpkgsupport.install_what": "PS5 প্যাকেজটি স্টোরের গেমের মতো ইনস্টল করে।", "pkglib.fpkgsupport.install_needs": "kstuff চালু থাকা লাগে, আর ShadowMount+, যে মাউন্ট স্তর ইনস্টল করা টাইটেল নিবন্ধন করে।", - "pkglib.fpkgsupport.install_kstuff": "11.61 থেকে 13.60 ফার্মওয়্যারে এটি সবচেয়ে নতুন kstuff হতে হবে (13.60 পর্যন্ত নকল-প্যাকেজ সাপোর্টসহ): পুরোনো kstuff-এ প্যাকেজ ইনস্টল হয়, কিন্তু গেম চালু হয় না। 11.60 পর্যন্ত, নকল-প্যাকেজ সাপোর্টসহ যেকোনো kstuff কাজ করে।", "pkglib.fpkgsupport.install_catalog": "ক্যাটালগের kstuff এর চেয়ে পুরোনো হতে পারে; সবচেয়ে নতুনটি {send} দিয়ে পাঠান।", - "pkglib.fpkgsupport.install_ppr": "কনসোল ইনস্টল প্রত্যাখ্যান করলে a53_ppr_install_fast.elf-ও লোড করুন, যা GitHub-এর সোর্স থেকে তৈরি হয়:", "pkglib.fpkgsupport.mount_title": "Kraken Mount দিয়ে মাউন্ট", "pkglib.fpkgsupport.mount_what": "Kraken Mount গেমটি সরাসরি .pkg ফাইল থেকে হোম স্ক্রিনে রাখে, ইনস্টল না করেই।", "pkglib.fpkgsupport.mount_needs": "Kraken Mount চালু থাকা লাগে, পাশে ShadowMount+ ছাড়া। এটি শুধু ডিবাগ কী দিয়ে তৈরি PS5 প্যাকেজ মাউন্ট করে, PS4 বা রিটেল প্যাকেজ নয়।", @@ -7639,10 +7637,8 @@ library_compressed_hint: "সংকুচিত ইমেজ চালাতে "collection.send_many_body_v2": "প্রতিটি PS5 যা নেই তা পায়: গেমের প্যাকেজ, বা তার ফোল্ডার, ইমেজ বা আর্কাইভ, আর যে গেমগুলো আছে সেগুলোর নতুন আপডেট ও DLC। প্যাকেজ এই কম্পিউটার থেকে স্ট্রিম হয়; বাকিগুলো «আপলোড ও ইনস্টল»-এ বেছে নেওয়া ড্রাইভের homebrew ফোল্ডারে আপলোড হয়।", "first_run_step4_body_v3": ".ffpkg গেম ইমেজসহ একটি USB স্টিক আপনার PS5-এ লাগান, ShadowMount+ সেগুলো অটো-মাউন্ট করবে — সেগুলো গেম-এ দেখা যাবে। অন্য ফাইল পাঠাতে বা .pkg প্যাকেজ ইনস্টল করতে «আপলোড ও ইনস্টল» ব্যবহার করুন।", "first_run_go_upload_v2": "«আপলোড ও ইনস্টল» খুলুন", -"fpkg.aboutFake_v2": "ফলাফল একটি নকল প্যাকেজ, তাই ইনস্টলের আগে কনসোলে নকল-প্যাকেজ সাপোর্ট লোড থাকতে হবে: kstuff (PS5 নকল-প্যাকেজ সাপোর্টসহ সংস্করণ), a53_ppr_install_fast.elf এবং shadowmountplus.elf, এই ক্রমে। «আপলোড ও ইনস্টল» স্ক্রিনেও ইনস্টল বোতামের পাশে একই কথা বলা আছে।", "fpkg.openUpload_v2": "«আপলোড ও ইনস্টল» খুলুন", "netdoctor.speed_cap.on.fix_v2": "দরকার না হলে «আপলোড ও ইনস্টল»-এ সীমাটি সরিয়ে দিন।", -"payloads_fpkg_ppr_note_v2": "নকল প্যাকেজ ইনস্টল করতে a53_ppr_install_fast.elf-ও লাগে, যা এই তালিকায় নেই: এর কোনো ডাউনলোড প্রকাশিত নেই, এটি GitHub-এর সোর্স থেকে তৈরি করতে হয়। «আপলোড ও ইনস্টল» স্ক্রিনে নকল প্যাকেজের যা যা লাগে সব ক্রমানুসারে দেওয়া আছে।", "fs_extract_next_pkgs_v2": "এতে {n}টি প্যাকেজ আছে: «আপলোড ও ইনস্টল» থেকে বা এখানে সেগুলোর সারি থেকে ইনস্টল করুন।", "game_hub_no_addons_v2": "এই গেমের জন্য কোনো DLC প্যাকেজ প্রস্তুত নেই। «আপলোড ও ইনস্টল» থেকে একটি পাঠান।", "game_hub_open_install_v2": "«আপলোড ও ইনস্টল» খুলুন", diff --git a/client/src/i18n/locales/de.ts b/client/src/i18n/locales/de.ts index 5fb8a8976..6029a4368 100644 --- a/client/src/i18n/locales/de.ts +++ b/client/src/i18n/locales/de.ts @@ -1916,9 +1916,7 @@ err_payload_rejected: "Die PS5 hat die Anfrage abgelehnt: {reason}", "pkglib.fpkgsupport.install_title": "Installieren", "pkglib.fpkgsupport.install_what": "Die PS5 installiert das Paket wie ein Spiel aus dem Store.", "pkglib.fpkgsupport.install_needs": "Braucht ein laufendes kstuff und ShadowMount+, die Mount-Schicht, die den installierten Titel registriert.", - "pkglib.fpkgsupport.install_kstuff": "Auf Firmware 11.61 bis 13.60 muss das das neueste kstuff sein (mit Fake-Paket-Unterstützung bis 13.60): Mit einem älteren kstuff wird das Paket installiert, aber das Spiel startet nicht. Bis 11.60 funktioniert jedes kstuff mit Fake-Paket-Unterstützung.", "pkglib.fpkgsupport.install_catalog": "Das kstuff im Katalog kann älter sein; sende das neueste mit {send}.", - "pkglib.fpkgsupport.install_ppr": "Lehnt die Konsole die Installation ab, lade zusätzlich a53_ppr_install_fast.elf, gebaut aus dem Quellcode auf GitHub:", "pkglib.fpkgsupport.mount_title": "Mit Kraken Mount einhängen", "pkglib.fpkgsupport.mount_what": "Kraken Mount bringt das Spiel direkt aus der .pkg-Datei auf den Startbildschirm, ohne es zu installieren.", "pkglib.fpkgsupport.mount_needs": "Braucht ein laufendes Kraken Mount, ohne ShadowMount+ daneben. Es hängt nur mit dem Debug-Schlüssel erstellte PS5-Pakete ein, keine PS4- oder Retail-Pakete.", @@ -7647,10 +7645,8 @@ library_compressed_hint: "Komprimierte Images benötigen ShadowMount+ zum Spiele "collection.send_many_body_v2": "Jede PS5 bekommt, was ihr fehlt: das Paket des Spiels oder seinen Ordner, sein Image oder Archiv, dazu neuere Updates und DLC für die Spiele, die sie hat. Pakete werden von diesem Computer gestreamt; der Rest wird auf das in „Hochladen & installieren“ eingestellte Laufwerk hochgeladen, in den homebrew-Ordner.", "first_run_step4_body_v3": "Stecke einen USB-Stick mit .ffpkg-Spiel-Images in deine PS5, und ShadowMount+ hängt sie automatisch ein — sie erscheinen unter Spiele. Um andere Dateien zu senden oder .pkg-Pakete zu installieren, nutze „Hochladen & installieren“.", "first_run_go_upload_v2": "„Hochladen & installieren“ öffnen", -"fpkg.aboutFake_v2": "Das Ergebnis ist ein Fake-Paket, daher braucht die Konsole geladene Fake-Paket-Unterstützung, bevor sie es installiert: kstuff (die Version mit PS5-Fake-Paket-Unterstützung), a53_ppr_install_fast.elf und shadowmountplus.elf, in dieser Reihenfolge. „Hochladen & installieren“ sagt dasselbe neben seinen Installieren-Schaltflächen.", "fpkg.openUpload_v2": "„Hochladen & installieren“ öffnen", "netdoctor.speed_cap.on.fix_v2": "Entferne das Limit in „Hochladen & installieren“, wenn du es nicht brauchst.", -"payloads_fpkg_ppr_note_v2": "Für Fake-Pakete braucht es außerdem a53_ppr_install_fast.elf, das nicht in dieser Liste steht: Es gibt keinen fertigen Download, es wird aus dem Quellcode auf GitHub gebaut. „Hochladen & installieren“ nennt alles, was Fake-Pakete brauchen, in der richtigen Reihenfolge.", "fs_extract_next_pkgs_v2": "Es enthält {n} Paket(e): Installiere sie über „Hochladen & installieren“ oder über ihre Zeile hier.", "game_hub_no_addons_v2": "Für diesen Titel sind keine DLC-Pakete abgelegt. Sende eines über „Hochladen & installieren“.", "game_hub_open_install_v2": "„Hochladen & installieren“ öffnen", diff --git a/client/src/i18n/locales/en.ts b/client/src/i18n/locales/en.ts index 4216eeae2..800c010dd 100644 --- a/client/src/i18n/locales/en.ts +++ b/client/src/i18n/locales/en.ts @@ -979,9 +979,9 @@ queue_will_mount: "mount after upload", "pkglib.fpkgsupport.install_title": "Install", "pkglib.fpkgsupport.install_what": "The PS5 installs the package like a game from the store.", "pkglib.fpkgsupport.install_needs": "Needs kstuff running, and ShadowMount+, the mount layer that registers the installed title.", -"pkglib.fpkgsupport.install_kstuff": "On firmware 11.61 to 13.60 that has to be the latest kstuff (with fake-package support up to 13.60): with an older kstuff the package installs, but the game doesn't start. Up to 11.60, any kstuff with fake-package support works.", +"pkglib.fpkgsupport.install_kstuff_v2": "On firmware 11.61 to 13.60 that has to be the latest kstuff (with fake-package support up to 13.60): with an older kstuff the package installs, but the game doesn't start. Up to 11.60, any kstuff with fake-package support works. If a game you installed with an older kstuff doesn't start, install it again.", "pkglib.fpkgsupport.install_catalog": "The catalog's kstuff may be older than that; send the latest one with {send}.", -"pkglib.fpkgsupport.install_ppr": "If the console refuses the install, also load a53_ppr_install_fast.elf, built from the source on GitHub:", +"pkglib.fpkgsupport.install_ppr_v2": "Up to firmware 11.40, if the console refuses the install, also load a53_ppr_install_fast.elf, built from the source on GitHub:", "pkglib.fpkgsupport.mount_title": "Mount with Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount puts the game on the home screen straight from the .pkg file, without installing it.", "pkglib.fpkgsupport.mount_needs": "Needs Kraken Mount running, without ShadowMount+ beside it. It mounts PS5 packages made with the debug key only, not PS4 or retail packages.", @@ -7950,10 +7950,10 @@ activity_stats_day_tooltip: "{date} · Operations: {count} · {size}", "collection.send_many_body_v2": "Each PS5 gets what it lacks: the game's package, or its folder, image or archive, plus newer updates and DLC for the games it has. Packages stream from this computer; the rest uploads to the drive set in Upload & Install, in the homebrew folder.", "first_run_step4_body_v3": "Drop a USB stick into your PS5 with .ffpkg game images and ShadowMount+ will auto-mount them — they'll appear in Games. To send other files or install .pkg packages, use Upload & Install.", "first_run_go_upload_v2": "Open Upload & Install", -"fpkg.aboutFake_v2": "The result is a fake package, so the console needs fake-package support loaded before it will install: kstuff (the build with PS5 fake-package support), a53_ppr_install_fast.elf and shadowmountplus.elf, in that order. Upload & Install says the same next to its install buttons.", +"fpkg.aboutFake_v3": "The result is a fake PS5 package with a plaintext game image, the kind the latest kstuff (fake-package support up to 13.60) and Kraken Mount both take. There are two ways to play it: install it with kstuff loaded, or copy it to a folder Kraken Mount scans to mount it. Upload & Install explains both next to its install buttons.", "fpkg.openUpload_v2": "Open Upload & Install", "netdoctor.speed_cap.on.fix_v2": "Remove the limit in Upload & Install if you don't need it.", -"payloads_fpkg_ppr_note_v2": "Installing fake packages also needs a53_ppr_install_fast.elf, which is not in this list: no download is published for it, and it is built from the source on GitHub. Upload & Install lists everything fake packages need, in order.", +"payloads_fpkg_ppr_note_v3": "Up to firmware 11.40, installing fake packages can also need a53_ppr_install_fast.elf, which is not in this list: no download is published for it, and it is built from the source on GitHub. Upload & Install lists everything fake packages need.", "fs_extract_next_pkgs_v2": "It holds {n} package(s): install them from Upload & Install, or from their row here.", "game_hub_no_addons_v2": "No DLC packages staged for this title. Send one from Upload & Install.", "game_hub_open_install_v2": "Open Upload & Install", diff --git a/client/src/i18n/locales/es.ts b/client/src/i18n/locales/es.ts index ec4037ccd..a89cb7232 100644 --- a/client/src/i18n/locales/es.ts +++ b/client/src/i18n/locales/es.ts @@ -1861,9 +1861,7 @@ err_payload_rejected: "La PS5 rechazó la solicitud: {reason}", "pkglib.fpkgsupport.install_title": "Instalar", "pkglib.fpkgsupport.install_what": "La PS5 instala el paquete como un juego de la tienda.", "pkglib.fpkgsupport.install_needs": "Necesita kstuff en ejecución y ShadowMount+, la capa de montaje que registra el título instalado.", - "pkglib.fpkgsupport.install_kstuff": "En firmware 11.61 a 13.60 tiene que ser el kstuff más reciente (compatible con paquetes falsos hasta 13.60): con un kstuff anterior el paquete se instala, pero el juego no arranca. Hasta 11.60 sirve cualquier kstuff compatible con paquetes falsos.", "pkglib.fpkgsupport.install_catalog": "El kstuff del catálogo puede ser más antiguo; envía el más reciente con {send}.", - "pkglib.fpkgsupport.install_ppr": "Si la consola rechaza la instalación, carga también a53_ppr_install_fast.elf, compilado desde el código fuente en GitHub:", "pkglib.fpkgsupport.mount_title": "Montar con Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount pone el juego en la pantalla de inicio directamente desde el archivo .pkg, sin instalarlo.", "pkglib.fpkgsupport.mount_needs": "Necesita Kraken Mount en ejecución, sin ShadowMount+ a la vez. Solo monta paquetes de PS5 creados con la clave de depuración, no paquetes de PS4 ni retail.", @@ -7592,10 +7590,8 @@ library_compressed_hint: "Las imágenes comprimidas necesitan ShadowMount+ para "collection.send_many_body_v2": "Cada PS5 recibe lo que le falta: el paquete del juego, o su carpeta, imagen o archivo comprimido, además de actualizaciones más recientes y DLC para los juegos que tiene. Los paquetes se transmiten desde este ordenador; el resto se sube a la unidad elegida en «Subir e instalar», en la carpeta homebrew.", "first_run_step4_body_v3": "Conecta a tu PS5 una memoria USB con imágenes de juego .ffpkg y ShadowMount+ las montará automáticamente — aparecerán en Juegos. Para enviar otros archivos o instalar paquetes .pkg, usa «Subir e instalar».", "first_run_go_upload_v2": "Abrir «Subir e instalar»", -"fpkg.aboutFake_v2": "El resultado es un paquete falso, así que la consola necesita tener cargado el soporte de paquetes falsos antes de instalarlo: kstuff (la versión con soporte de paquetes falsos de PS5), a53_ppr_install_fast.elf y shadowmountplus.elf, en ese orden. «Subir e instalar» dice lo mismo junto a sus botones de instalar.", "fpkg.openUpload_v2": "Abrir «Subir e instalar»", "netdoctor.speed_cap.on.fix_v2": "Quita el límite en «Subir e instalar» si no lo necesitas.", -"payloads_fpkg_ppr_note_v2": "Instalar paquetes falsos también requiere a53_ppr_install_fast.elf, que no está en esta lista: no hay descarga publicada y se compila desde el código fuente en GitHub. «Subir e instalar» enumera todo lo que necesitan los paquetes falsos, en orden.", "fs_extract_next_pkgs_v2": "Contiene {n} paquete(s): instálalos desde «Subir e instalar» o desde su fila aquí.", "game_hub_no_addons_v2": "No hay paquetes DLC preparados para este título. Envía uno desde «Subir e instalar».", "game_hub_open_install_v2": "Abrir «Subir e instalar»", diff --git a/client/src/i18n/locales/fa.ts b/client/src/i18n/locales/fa.ts index 84b361b09..1d00f7cb3 100644 --- a/client/src/i18n/locales/fa.ts +++ b/client/src/i18n/locales/fa.ts @@ -890,9 +890,7 @@ queue_will_mount: "اتصال پس از بارگذاری", "pkglib.fpkgsupport.install_title": "نصب", "pkglib.fpkgsupport.install_what": "PS5 بسته را مثل بازی فروشگاه نصب می‌کند.", "pkglib.fpkgsupport.install_needs": "به kstuff در حال اجرا نیاز دارد، و به ShadowMount+، لایه‌ی اتصال که عنوان نصب‌شده را ثبت می‌کند.", -"pkglib.fpkgsupport.install_kstuff": "روی فریمور 11.61 تا 13.60 باید جدیدترین kstuff باشد (با پشتیبانی بسته‌ی جعلی تا 13.60): با kstuff قدیمی‌تر بسته نصب می‌شود، اما بازی اجرا نمی‌شود. تا 11.60، هر kstuff با پشتیبانی بسته‌ی جعلی کار می‌کند.", "pkglib.fpkgsupport.install_catalog": "kstuff کاتالوگ ممکن است قدیمی‌تر از آن باشد؛ جدیدترین را با {send} بفرستید.", -"pkglib.fpkgsupport.install_ppr": "اگر کنسول نصب را رد کرد، a53_ppr_install_fast.elf را هم بارگذاری کنید که از کد منبع در GitHub ساخته می‌شود:", "pkglib.fpkgsupport.mount_title": "مونت با Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount بازی را مستقیم از فایل .pkg در صفحه‌ی اصلی می‌گذارد، بدون نصب آن.", "pkglib.fpkgsupport.mount_needs": "به Kraken Mount در حال اجرا نیاز دارد، بدون ShadowMount+ در کنارش. فقط بسته‌های PS5 ساخته‌شده با کلید دیباگ را مونت می‌کند، نه بسته‌های PS4 یا ریتیل.", @@ -7917,10 +7915,8 @@ library_compressed_hint: "برای اجرای ایمیج فشرده به ShadowM "collection.send_many_body_v2": "هر PS5 آنچه کم دارد را می‌گیرد: بستهٔ بازی، یا پوشه، ایمیج یا آرشیو آن، به‌علاوهٔ به‌روزرسانی‌ها و DLCهای تازه‌تر برای بازی‌هایی که دارد. بسته‌ها از این رایانه استریم می‌شوند؛ بقیه در درایوی که در «بارگذاری و نصب» تعیین شده، در پوشهٔ homebrew بارگذاری می‌شوند.", "first_run_step4_body_v3": "یک فلش USB حاوی ایمیج‌های بازی .ffpkg را به PS5 وصل کنید تا ShadowMount+ آن‌ها را خودکار متصل کند — در «بازی‌ها» ظاهر می‌شوند. برای فرستادن فایل‌های دیگر یا نصب بسته‌های .pkg از «بارگذاری و نصب» استفاده کنید.", "first_run_go_upload_v2": "باز کردن «بارگذاری و نصب»", -"fpkg.aboutFake_v2": "نتیجه یک بستهٔ جعلی است، بنابراین کنسول قبل از نصب نیاز به پشتیبانی بستهٔ جعلی بارگذاری‌شده دارد: kstuff (نسخه‌ای که پشتیبانی بستهٔ جعلی PS5 دارد)، a53_ppr_install_fast.elf و shadowmountplus.elf، به این ترتیب. «بارگذاری و نصب» همین را کنار دکمه‌های نصب خود می‌گوید.", "fpkg.openUpload_v2": "باز کردن «بارگذاری و نصب»", "netdoctor.speed_cap.on.fix_v2": "اگر لازمش ندارید، محدودیت را در «بارگذاری و نصب» بردارید.", -"payloads_fpkg_ppr_note_v2": "نصب بسته‌های جعلی به a53_ppr_install_fast.elf هم نیاز دارد که در این فهرست نیست: هیچ فایل آماده‌ای برای دانلود منتشر نشده و از کد منبع در GitHub ساخته می‌شود. «بارگذاری و نصب» همهٔ نیازهای بسته‌های جعلی را به ترتیب فهرست می‌کند.", "fs_extract_next_pkgs_v2": "{n} بسته در آن است: از «بارگذاری و نصب» یا از ردیف خودشان در اینجا نصبشان کنید.", "game_hub_no_addons_v2": "هیچ بستهٔ DLC برای این عنوان آماده نشده. یکی از «بارگذاری و نصب» بفرستید.", "game_hub_open_install_v2": "باز کردن «بارگذاری و نصب»", diff --git a/client/src/i18n/locales/fr.ts b/client/src/i18n/locales/fr.ts index 2c22d2711..594836157 100644 --- a/client/src/i18n/locales/fr.ts +++ b/client/src/i18n/locales/fr.ts @@ -1915,9 +1915,7 @@ err_payload_rejected: "La PS5 a rejeté la requête : {reason}", "pkglib.fpkgsupport.install_title": "Installer", "pkglib.fpkgsupport.install_what": "La PS5 installe le paquet comme un jeu de la boutique.", "pkglib.fpkgsupport.install_needs": "Nécessite kstuff en cours d'exécution, et ShadowMount+, la couche de montage qui enregistre le titre installé.", - "pkglib.fpkgsupport.install_kstuff": "Sur les firmwares 11.61 à 13.60, il faut le kstuff le plus récent (prise en charge des faux paquets jusqu'à 13.60) : avec un kstuff plus ancien, le paquet s'installe, mais le jeu ne démarre pas. Jusqu'à 11.60, tout kstuff qui prend en charge les faux paquets fonctionne.", "pkglib.fpkgsupport.install_catalog": "Le kstuff du catalogue peut être plus ancien ; envoyez le plus récent avec {send}.", - "pkglib.fpkgsupport.install_ppr": "Si la console refuse l'installation, chargez aussi a53_ppr_install_fast.elf, compilé à partir des sources sur GitHub :", "pkglib.fpkgsupport.mount_title": "Monter avec Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount met le jeu sur l'écran d'accueil directement depuis le fichier .pkg, sans l'installer.", "pkglib.fpkgsupport.mount_needs": "Nécessite Kraken Mount en cours d'exécution, sans ShadowMount+ à côté. Il ne monte que les paquets PS5 créés avec la clé de débogage, pas les paquets PS4 ni retail.", @@ -7655,10 +7653,8 @@ library_compressed_hint: "Les images compressées nécessitent ShadowMount+ pour "collection.send_many_body_v2": "Chaque PS5 reçoit ce qui lui manque : le paquet du jeu, ou son dossier, son image ou son archive, plus les mises à jour plus récentes et les DLC des jeux qu'elle a. Les paquets sont diffusés depuis cet ordinateur ; le reste est envoyé sur le disque choisi dans « Envoyer et installer », dans le dossier homebrew.", "first_run_step4_body_v3": "Insérez dans votre PS5 une clé USB contenant des images de jeux .ffpkg et ShadowMount+ les montera automatiquement — elles apparaîtront dans Jeux. Pour envoyer d'autres fichiers ou installer des paquets .pkg, utilisez « Envoyer et installer ».", "first_run_go_upload_v2": "Ouvrir « Envoyer et installer »", -"fpkg.aboutFake_v2": "Le résultat est un faux paquet : la console doit donc avoir la prise en charge des faux paquets chargée avant de l'installer : kstuff (la version avec prise en charge des faux paquets PS5), a53_ppr_install_fast.elf et shadowmountplus.elf, dans cet ordre. « Envoyer et installer » indique la même chose à côté de ses boutons d'installation.", "fpkg.openUpload_v2": "Ouvrir « Envoyer et installer »", "netdoctor.speed_cap.on.fix_v2": "Retirez la limite dans « Envoyer et installer » si vous n'en avez pas besoin.", -"payloads_fpkg_ppr_note_v2": "L'installation de faux paquets nécessite aussi a53_ppr_install_fast.elf, absent de cette liste : aucun téléchargement n'est publié, il se compile à partir des sources sur GitHub. « Envoyer et installer » liste tout ce dont les faux paquets ont besoin, dans l'ordre.", "fs_extract_next_pkgs_v2": "Il contient {n} paquet(s) : installez-les depuis « Envoyer et installer », ou depuis leur ligne ici.", "game_hub_no_addons_v2": "Aucun paquet DLC préparé pour ce titre. Envoyez-en un depuis « Envoyer et installer ».", "game_hub_open_install_v2": "Ouvrir « Envoyer et installer »", diff --git a/client/src/i18n/locales/hi.ts b/client/src/i18n/locales/hi.ts index 90f0e4b90..4025fa8e6 100644 --- a/client/src/i18n/locales/hi.ts +++ b/client/src/i18n/locales/hi.ts @@ -1909,9 +1909,7 @@ err_payload_rejected: "PS5 ने अनुरोध अस्वीकार "pkglib.fpkgsupport.install_title": "इंस्टॉल करें", "pkglib.fpkgsupport.install_what": "PS5 पैकेज को स्टोर के गेम की तरह इंस्टॉल करता है।", "pkglib.fpkgsupport.install_needs": "kstuff चलता होना चाहिए, और ShadowMount+ भी, वह माउंट परत जो इंस्टॉल हुए टाइटल को रजिस्टर करती है।", - "pkglib.fpkgsupport.install_kstuff": "11.61 से 13.60 फ़र्मवेयर पर यह सबसे नया kstuff होना चाहिए (13.60 तक नकली-पैकेज सपोर्ट के साथ): पुराने kstuff के साथ पैकेज इंस्टॉल हो जाता है, पर गेम शुरू नहीं होता। 11.60 तक, नकली-पैकेज सपोर्ट वाला कोई भी kstuff चलता है।", "pkglib.fpkgsupport.install_catalog": "कैटलॉग का kstuff इससे पुराना हो सकता है; सबसे नया {send} से भेजें।", - "pkglib.fpkgsupport.install_ppr": "अगर कंसोल इंस्टॉल अस्वीकार कर दे, तो a53_ppr_install_fast.elf भी लोड करें, जो GitHub पर मौजूद सोर्स से बनता है:", "pkglib.fpkgsupport.mount_title": "Kraken Mount से माउंट करें", "pkglib.fpkgsupport.mount_what": "Kraken Mount गेम को सीधे .pkg फ़ाइल से होम स्क्रीन पर रखता है, उसे इंस्टॉल किए बिना।", "pkglib.fpkgsupport.mount_needs": "Kraken Mount चलता होना चाहिए, उसके साथ ShadowMount+ नहीं। यह सिर्फ़ डीबग कुंजी से बने PS5 पैकेज माउंट करता है, PS4 या रिटेल पैकेज नहीं।", @@ -7653,10 +7651,8 @@ library_compressed_hint: "संपीड़ित इमेज चलाने "collection.send_many_body_v2": "हर PS5 को वह मिलता है जो उसके पास नहीं है: गेम का पैकेज, या उसका फ़ोल्डर, इमेज या आर्काइव, साथ ही उसके गेमों के नए अपडेट और DLC। पैकेज इस कंप्यूटर से स्ट्रीम होते हैं; बाकी «अपलोड और इंस्टॉल» में चुनी गई ड्राइव के homebrew फ़ोल्डर में अपलोड होते हैं।", "first_run_step4_body_v3": "अपने PS5 में .ffpkg गेम इमेज वाली USB स्टिक लगाएँ और ShadowMount+ उन्हें ऑटो-माउंट कर देगा — वे «गेम» में दिखेंगी। दूसरी फ़ाइलें भेजने या .pkg पैकेज इंस्टॉल करने के लिए «अपलोड और इंस्टॉल» इस्तेमाल करें।", "first_run_go_upload_v2": "«अपलोड और इंस्टॉल» खोलें", -"fpkg.aboutFake_v2": "नतीजा एक नकली पैकेज है, इसलिए इंस्टॉल से पहले कंसोल पर नकली-पैकेज सपोर्ट लोड होना चाहिए: kstuff (PS5 नकली-पैकेज सपोर्ट वाला संस्करण), a53_ppr_install_fast.elf और shadowmountplus.elf, इसी क्रम में। «अपलोड और इंस्टॉल» भी अपने इंस्टॉल बटनों के पास यही बताता है।", "fpkg.openUpload_v2": "«अपलोड और इंस्टॉल» खोलें", "netdoctor.speed_cap.on.fix_v2": "ज़रूरत न हो तो «अपलोड और इंस्टॉल» में सीमा हटा दें।", -"payloads_fpkg_ppr_note_v2": "नकली पैकेज इंस्टॉल करने के लिए a53_ppr_install_fast.elf भी चाहिए, जो इस सूची में नहीं है: इसका कोई डाउनलोड प्रकाशित नहीं है, इसे GitHub पर मौजूद सोर्स से बनाया जाता है। «अपलोड और इंस्टॉल» नकली पैकेज की हर ज़रूरत क्रम से बताता है।", "fs_extract_next_pkgs_v2": "इसमें {n} पैकेज हैं: इन्हें «अपलोड और इंस्टॉल» से या यहाँ उनकी पंक्ति से इंस्टॉल करें।", "game_hub_no_addons_v2": "इस टाइटल के लिए कोई DLC पैकेज तैयार नहीं है। «अपलोड और इंस्टॉल» से एक भेजें।", "game_hub_open_install_v2": "«अपलोड और इंस्टॉल» खोलें", diff --git a/client/src/i18n/locales/hu.ts b/client/src/i18n/locales/hu.ts index 0d7b84432..a268cb13a 100644 --- a/client/src/i18n/locales/hu.ts +++ b/client/src/i18n/locales/hu.ts @@ -892,9 +892,7 @@ queue_will_mount: "csatolás feltöltés után", "pkglib.fpkgsupport.install_title": "Telepítés", "pkglib.fpkgsupport.install_what": "A PS5 úgy telepíti a csomagot, mint egy áruházi játékot.", "pkglib.fpkgsupport.install_needs": "Futó kstuff kell hozzá, valamint a ShadowMount+, a csatolási réteg, ami regisztrálja a telepített címet.", -"pkglib.fpkgsupport.install_kstuff": "A 11.61 és 13.60 közötti firmware-en ennek a legújabb kstuff-nak kell lennie (13.60-ig terjedő hamiscsomag-támogatással): régebbi kstuff-fal a csomag települ, de a játék nem indul el. 11.60-ig bármelyik hamiscsomag-támogatású kstuff működik.", "pkglib.fpkgsupport.install_catalog": "A katalógusban lévő kstuff ennél régebbi lehet; a legújabbat küldd el ezzel: {send}.", -"pkglib.fpkgsupport.install_ppr": "Ha a konzol elutasítja a telepítést, töltsd be az a53_ppr_install_fast.elf-et is, a GitHubon lévő forrásból lefordítva:", "pkglib.fpkgsupport.mount_title": "Csatolás a Kraken Mounttal", "pkglib.fpkgsupport.mount_what": "A Kraken Mount közvetlenül a .pkg fájlból teszi a játékot a kezdőképernyőre, telepítés nélkül.", "pkglib.fpkgsupport.mount_needs": "Futó Kraken Mount kell hozzá, mellette ShadowMount+ nélkül. Csak a debug kulccsal készült PS5-csomagokat csatolja, a PS4- és retail csomagokat nem.", @@ -7931,10 +7929,8 @@ library_compressed_hint: "A tömörített képfájlok futtatásához ShadowMount "collection.send_many_body_v2": "Minden PS5 megkapja, ami hiányzik neki: a játék csomagját vagy a mappáját, lemezképét, archívumát, továbbá a meglévő játékaihoz az újabb frissítéseket és DLC-ket. A csomagok erről a számítógépről streamelődnek; a többi a „Feltöltés és telepítés” képernyőn beállított meghajtó homebrew mappájába töltődik fel.", "first_run_step4_body_v3": "Dugj a PS5-be egy .ffpkg játék-lemezképeket tartalmazó USB-meghajtót, és a ShadowMount+ automatikusan csatolja őket — megjelennek a Játékok között. Más fájlok küldéséhez vagy .pkg csomagok telepítéséhez használd a „Feltöltés és telepítés” képernyőt.", "first_run_go_upload_v2": "Feltöltés és telepítés megnyitása", -"fpkg.aboutFake_v2": "Az eredmény egy fake csomag, így a konzolnak betöltött fake-csomag támogatásra van szüksége, mielőtt telepítené: kstuff (a PS5 fake-csomag támogatással rendelkező build), a53_ppr_install_fast.elf és shadowmountplus.elf, ebben a sorrendben. A „Feltöltés és telepítés” képernyő ugyanezt mondja a telepítés gombjai mellett.", "fpkg.openUpload_v2": "Feltöltés és telepítés megnyitása", "netdoctor.speed_cap.on.fix_v2": "Ha nincs rá szükséged, vedd le a korlátot a „Feltöltés és telepítés” képernyőn.", -"payloads_fpkg_ppr_note_v2": "Hamis csomagok telepítéséhez kell még az a53_ppr_install_fast.elf is, amely nincs ebben a listában: nincs hozzá közzétett letöltés, a GitHubon lévő forrásból kell lefordítani. A „Feltöltés és telepítés” képernyő sorrendben felsorol mindent, ami a hamis csomagokhoz kell.", "fs_extract_next_pkgs_v2": "{n} csomag van benne: telepítsd őket a „Feltöltés és telepítés” képernyőről, vagy innen a soruknál.", "game_hub_no_addons_v2": "Nincsenek DLC csomagok előkészítve ehhez a címhez. Küldj egyet a „Feltöltés és telepítés” képernyőről.", "game_hub_open_install_v2": "Feltöltés és telepítés megnyitása", diff --git a/client/src/i18n/locales/id.ts b/client/src/i18n/locales/id.ts index 7e1f17799..367796be3 100644 --- a/client/src/i18n/locales/id.ts +++ b/client/src/i18n/locales/id.ts @@ -1915,9 +1915,7 @@ err_payload_rejected: "PS5 menolak permintaan: {reason}", "pkglib.fpkgsupport.install_title": "Pasang", "pkglib.fpkgsupport.install_what": "PS5 memasang paket seperti game dari toko.", "pkglib.fpkgsupport.install_needs": "Perlu kstuff yang berjalan, dan ShadowMount+, lapisan mount yang mendaftarkan judul yang terpasang.", - "pkglib.fpkgsupport.install_kstuff": "Di firmware 11.61 hingga 13.60 itu harus kstuff terbaru (dengan dukungan paket palsu hingga 13.60): dengan kstuff lama paket terpasang, tetapi game tidak mau mulai. Hingga 11.60, kstuff apa pun dengan dukungan paket palsu bisa dipakai.", "pkglib.fpkgsupport.install_catalog": "kstuff di katalog mungkin lebih lama dari itu; kirim yang terbaru dengan {send}.", - "pkglib.fpkgsupport.install_ppr": "Jika konsol menolak pemasangan, muat juga a53_ppr_install_fast.elf, yang dibuat dari kode sumber di GitHub:", "pkglib.fpkgsupport.mount_title": "Mount dengan Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount menaruh game di layar beranda langsung dari file .pkg, tanpa memasangnya.", "pkglib.fpkgsupport.mount_needs": "Perlu Kraken Mount yang berjalan, tanpa ShadowMount+ di sampingnya. Kraken Mount hanya me-mount paket PS5 yang dibuat dengan kunci debug, bukan paket PS4 atau retail.", @@ -7648,10 +7646,8 @@ library_compressed_hint: "Image terkompresi memerlukan ShadowMount+ untuk bermai "collection.send_many_body_v2": "Setiap PS5 mendapat apa yang belum dimilikinya: paket game, atau folder, image, atau arsipnya, plus pembaruan dan DLC yang lebih baru untuk game yang sudah ada. Paket di-stream dari komputer ini; sisanya diunggah ke drive yang diatur di Unggah & Instal, di folder homebrew.", "first_run_step4_body_v3": "Colokkan flashdisk USB berisi image game .ffpkg ke PS5 dan ShadowMount+ akan me-mount-nya otomatis — semuanya muncul di Gim. Untuk mengirim file lain atau memasang paket .pkg, gunakan Unggah & Instal.", "first_run_go_upload_v2": "Buka Unggah & Instal", -"fpkg.aboutFake_v2": "Hasilnya adalah paket palsu, jadi konsol perlu dukungan paket palsu dimuat sebelum mau memasangnya: kstuff (versi dengan dukungan paket palsu PS5), a53_ppr_install_fast.elf, dan shadowmountplus.elf, dengan urutan itu. Unggah & Instal menyebutkan hal yang sama di samping tombol instalnya.", "fpkg.openUpload_v2": "Buka Unggah & Instal", "netdoctor.speed_cap.on.fix_v2": "Hapus batasnya di Unggah & Instal jika tidak diperlukan.", -"payloads_fpkg_ppr_note_v2": "Memasang paket palsu juga membutuhkan a53_ppr_install_fast.elf, yang tidak ada di daftar ini: tidak ada unduhan yang dirilis, dan dibuat dari kode sumber di GitHub. Unggah & Instal mencantumkan semua yang dibutuhkan paket palsu, secara berurutan.", "fs_extract_next_pkgs_v2": "Berisi {n} paket: instal dari Unggah & Instal, atau dari barisnya di sini.", "game_hub_no_addons_v2": "Tidak ada paket DLC yang disiapkan untuk judul ini. Kirim satu dari Unggah & Instal.", "game_hub_open_install_v2": "Buka Unggah & Instal", diff --git a/client/src/i18n/locales/it.ts b/client/src/i18n/locales/it.ts index 31fd039f3..075af192b 100644 --- a/client/src/i18n/locales/it.ts +++ b/client/src/i18n/locales/it.ts @@ -1861,9 +1861,7 @@ err_payload_rejected: "La PS5 ha rifiutato la richiesta: {reason}", "pkglib.fpkgsupport.install_title": "Installa", "pkglib.fpkgsupport.install_what": "La PS5 installa il pacchetto come un gioco dello store.", "pkglib.fpkgsupport.install_needs": "Richiede kstuff in esecuzione e ShadowMount+, il livello di montaggio che registra il titolo installato.", - "pkglib.fpkgsupport.install_kstuff": "Sui firmware dall'11.61 al 13.60 deve essere l'ultimo kstuff (con supporto ai pacchetti fake fino al 13.60): con un kstuff più vecchio il pacchetto si installa, ma il gioco non parte. Fino all'11.60 funziona qualsiasi kstuff con supporto ai pacchetti fake.", "pkglib.fpkgsupport.install_catalog": "Il kstuff del catalogo può essere più vecchio; invia l'ultimo con {send}.", - "pkglib.fpkgsupport.install_ppr": "Se la console rifiuta l'installazione, carica anche a53_ppr_install_fast.elf, compilato dal codice sorgente su GitHub:", "pkglib.fpkgsupport.mount_title": "Monta con Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount mette il gioco nella schermata Home direttamente dal file .pkg, senza installarlo.", "pkglib.fpkgsupport.mount_needs": "Richiede Kraken Mount in esecuzione, senza ShadowMount+ insieme. Monta solo pacchetti PS5 creati con la chiave di debug, non pacchetti PS4 o retail.", @@ -7592,10 +7590,8 @@ library_compressed_hint: "Le immagini compresse richiedono ShadowMount+ per gioc "collection.send_many_body_v2": "Ogni PS5 riceve ciò che le manca: il pacchetto del gioco, oppure la sua cartella, immagine o archivio, più gli aggiornamenti più recenti e i DLC dei giochi che ha. I pacchetti vengono trasmessi da questo computer; il resto viene caricato sull'unità impostata in «Carica e installa», nella cartella homebrew.", "first_run_step4_body_v3": "Inserisci nella PS5 una chiavetta USB con immagini di gioco .ffpkg e ShadowMount+ le monterà automaticamente — compariranno in Giochi. Per inviare altri file o installare pacchetti .pkg, usa «Carica e installa».", "first_run_go_upload_v2": "Apri «Carica e installa»", -"fpkg.aboutFake_v2": "Il risultato è un pacchetto fake, quindi la console deve avere caricato il supporto ai pacchetti fake prima di installarlo: kstuff (la versione con supporto ai pacchetti fake PS5), a53_ppr_install_fast.elf e shadowmountplus.elf, in quest'ordine. «Carica e installa» dice la stessa cosa accanto ai suoi pulsanti di installazione.", "fpkg.openUpload_v2": "Apri «Carica e installa»", "netdoctor.speed_cap.on.fix_v2": "Togli il limite in «Carica e installa» se non ti serve.", -"payloads_fpkg_ppr_note_v2": "Per installare pacchetti fake serve anche a53_ppr_install_fast.elf, che non è in questo elenco: non ne è pubblicato alcun download e va compilato dal sorgente su GitHub. «Carica e installa» elenca tutto ciò che serve ai pacchetti fake, in ordine.", "fs_extract_next_pkgs_v2": "Contiene {n} pacchetto/i: installali da «Carica e installa» o dalla loro riga qui.", "game_hub_no_addons_v2": "Nessun pacchetto DLC preparato per questo titolo. Inviane uno da «Carica e installa».", "game_hub_open_install_v2": "Apri «Carica e installa»", diff --git a/client/src/i18n/locales/ja.ts b/client/src/i18n/locales/ja.ts index 7fa134847..d497915c6 100644 --- a/client/src/i18n/locales/ja.ts +++ b/client/src/i18n/locales/ja.ts @@ -1916,9 +1916,7 @@ err_payload_rejected: "PS5 がリクエストを拒否しました: {reason}", "pkglib.fpkgsupport.install_title": "インストール", "pkglib.fpkgsupport.install_what": "PS5 がストアのゲームと同じようにパッケージをインストールします。", "pkglib.fpkgsupport.install_needs": "kstuff の実行と、インストールしたタイトルを登録するマウント層 ShadowMount+ が必要です。", - "pkglib.fpkgsupport.install_kstuff": "ファームウェア 11.61〜13.60 では最新の kstuff(13.60 までのフェイクパッケージ対応)が必要です。古い kstuff ではパッケージはインストールされますが、ゲームは起動しません。11.60 までは、フェイクパッケージに対応した kstuff ならどれでも動作します。", "pkglib.fpkgsupport.install_catalog": "カタログの kstuff はそれより古い場合があります。最新版を {send} で送ってください。", - "pkglib.fpkgsupport.install_ppr": "本体がインストールを拒否する場合は、a53_ppr_install_fast.elf も読み込んでください。GitHub のソースからビルドします:", "pkglib.fpkgsupport.mount_title": "Kraken Mount でマウント", "pkglib.fpkgsupport.mount_what": "Kraken Mount は .pkg ファイルから直接ゲームをホーム画面に表示します。インストールはしません。", "pkglib.fpkgsupport.mount_needs": "Kraken Mount の実行が必要で、ShadowMount+ は同時に動かさないでください。マウントできるのはデバッグキーで作られた PS5 パッケージだけで、PS4 パッケージや製品版パッケージは対象外です。", @@ -7658,10 +7656,8 @@ library_compressed_hint: "圧縮イメージのプレイには ShadowMount+ が "collection.send_many_body_v2": "各 PS5 には足りないものが届きます。ゲームのパッケージ、またはフォルダー・イメージ・アーカイブ、そして持っているゲームの新しいアップデートと DLC です。パッケージはこのコンピューターからストリーミングされ、それ以外は「アップロード&インストール」で設定したドライブの homebrew フォルダーにアップロードされます。", "first_run_step4_body_v3": ".ffpkg ゲームイメージの入った USB メモリを PS5 に挿すと、ShadowMount+ が自動でマウントし、ゲームに表示されます。ほかのファイルを送ったり .pkg パッケージをインストールしたりするには「アップロード&インストール」を使ってください。", "first_run_go_upload_v2": "「アップロード&インストール」を開く", -"fpkg.aboutFake_v2": "結果はフェイクパッケージなので、インストール前に本体でフェイクパッケージ対応を読み込んでおく必要があります:kstuff(PS5 フェイクパッケージ対応のビルド)、a53_ppr_install_fast.elf、shadowmountplus.elf をこの順番で。「アップロード&インストール」でも、インストールボタンの横に同じことが書かれています。", "fpkg.openUpload_v2": "「アップロード&インストール」を開く", "netdoctor.speed_cap.on.fix_v2": "不要なら「アップロード&インストール」で制限を外してください。", -"payloads_fpkg_ppr_note_v2": "フェイクパッケージのインストールには、この一覧にない a53_ppr_install_fast.elf も必要です。配布されたダウンロードはなく、GitHub のソースからビルドします。フェイクパッケージに必要なものは「アップロード&インストール」に順番どおり載っています。", "fs_extract_next_pkgs_v2": "パッケージが {n} 個入っています。「アップロード&インストール」か、ここにある各行からインストールしてください。", "game_hub_no_addons_v2": "このタイトル用の DLC パッケージは配置されていません。「アップロード&インストール」から送ってください。", "game_hub_open_install_v2": "「アップロード&インストール」を開く", diff --git a/client/src/i18n/locales/ko.ts b/client/src/i18n/locales/ko.ts index 7ddc0186f..1148df096 100644 --- a/client/src/i18n/locales/ko.ts +++ b/client/src/i18n/locales/ko.ts @@ -1916,9 +1916,7 @@ err_payload_rejected: "PS5가 요청을 거부했습니다: {reason}", "pkglib.fpkgsupport.install_title": "설치", "pkglib.fpkgsupport.install_what": "PS5가 스토어 게임처럼 패키지를 설치합니다.", "pkglib.fpkgsupport.install_needs": "kstuff 실행과, 설치된 타이틀을 등록하는 마운트 계층인 ShadowMount+가 필요합니다.", - "pkglib.fpkgsupport.install_kstuff": "펌웨어 11.61~13.60에서는 최신 kstuff(13.60까지 가짜 패키지 지원)여야 합니다. 이전 kstuff에서는 패키지가 설치되지만 게임이 시작되지 않습니다. 11.60까지는 가짜 패키지를 지원하는 kstuff라면 모두 작동합니다.", "pkglib.fpkgsupport.install_catalog": "카탈로그의 kstuff는 그보다 오래된 버전일 수 있습니다. 최신 버전을 {send}으로 보내세요.", - "pkglib.fpkgsupport.install_ppr": "콘솔이 설치를 거부하면 a53_ppr_install_fast.elf도 불러오세요. GitHub의 소스에서 빌드합니다:", "pkglib.fpkgsupport.mount_title": "Kraken Mount로 마운트", "pkglib.fpkgsupport.mount_what": "Kraken Mount는 .pkg 파일에서 바로 게임을 홈 화면에 올리며, 설치하지 않습니다.", "pkglib.fpkgsupport.mount_needs": "Kraken Mount가 실행 중이어야 하며, ShadowMount+를 함께 실행하면 안 됩니다. 디버그 키로 만든 PS5 패키지만 마운트하며, PS4 패키지나 정품 패키지는 마운트하지 않습니다.", @@ -7656,10 +7654,8 @@ library_compressed_hint: "압축 이미지를 플레이하려면 ShadowMount+가 "collection.send_many_body_v2": "각 PS5는 없는 것을 받습니다. 게임 패키지 또는 폴더·이미지·압축 파일, 그리고 가진 게임의 최신 업데이트와 DLC입니다. 패키지는 이 컴퓨터에서 스트리밍되고, 나머지는 '업로드 및 설치'에서 정한 드라이브의 homebrew 폴더로 업로드됩니다.", "first_run_step4_body_v3": ".ffpkg 게임 이미지가 담긴 USB 메모리를 PS5에 꽂으면 ShadowMount+가 자동으로 마운트하며 게임에 표시됩니다. 다른 파일을 보내거나 .pkg 패키지를 설치하려면 '업로드 및 설치'를 사용하세요.", "first_run_go_upload_v2": "업로드 및 설치 열기", -"fpkg.aboutFake_v2": "결과물은 가짜 패키지이므로, 설치 전에 콘솔에 가짜 패키지 지원을 로드해야 합니다: kstuff(PS5 가짜 패키지 지원 빌드), a53_ppr_install_fast.elf, shadowmountplus.elf를 이 순서대로. '업로드 및 설치' 화면의 설치 버튼 옆에도 같은 내용이 있습니다.", "fpkg.openUpload_v2": "업로드 및 설치 열기", "netdoctor.speed_cap.on.fix_v2": "필요 없으면 '업로드 및 설치'에서 제한을 해제하세요.", -"payloads_fpkg_ppr_note_v2": "가짜 패키지를 설치하려면 이 목록에 없는 a53_ppr_install_fast.elf도 필요합니다. 배포된 다운로드는 없으며 GitHub의 소스에서 빌드합니다. 가짜 패키지에 필요한 모든 것은 '업로드 및 설치' 화면에 순서대로 나와 있습니다.", "fs_extract_next_pkgs_v2": "패키지 {n}개가 들어 있습니다. '업로드 및 설치'나 여기 각 행에서 설치하세요.", "game_hub_no_addons_v2": "이 타이틀에 준비된 DLC 패키지가 없습니다. '업로드 및 설치'에서 보내세요.", "game_hub_open_install_v2": "업로드 및 설치 열기", diff --git a/client/src/i18n/locales/pl.ts b/client/src/i18n/locales/pl.ts index dd5585730..999872d81 100644 --- a/client/src/i18n/locales/pl.ts +++ b/client/src/i18n/locales/pl.ts @@ -879,9 +879,7 @@ queue_will_mount: "zamontuj po przesłaniu", "pkglib.fpkgsupport.install_title": "Instalacja", "pkglib.fpkgsupport.install_what": "PS5 instaluje pakiet jak grę ze sklepu.", "pkglib.fpkgsupport.install_needs": "Wymaga uruchomionego kstuff oraz ShadowMount+, warstwy montowania, która rejestruje zainstalowany tytuł.", -"pkglib.fpkgsupport.install_kstuff": "Na oprogramowaniu od 11.61 do 13.60 musi to być najnowszy kstuff (z obsługą fałszywych pakietów do 13.60): ze starszym kstuff pakiet się instaluje, ale gra się nie uruchamia. Do 11.60 działa każdy kstuff z obsługą fałszywych pakietów.", "pkglib.fpkgsupport.install_catalog": "kstuff z katalogu może być starszy; wyślij najnowszy przez {send}.", -"pkglib.fpkgsupport.install_ppr": "Jeśli konsola odrzuca instalację, załaduj też a53_ppr_install_fast.elf, zbudowany ze źródeł na GitHubie:", "pkglib.fpkgsupport.mount_title": "Montowanie przez Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount umieszcza grę na ekranie głównym prosto z pliku .pkg, bez instalowania.", "pkglib.fpkgsupport.mount_needs": "Wymaga uruchomionego Kraken Mount, bez ShadowMount+ obok. Montuje tylko pakiety PS5 utworzone kluczem debug, nie pakiety PS4 ani retail.", @@ -7876,10 +7874,8 @@ library_compressed_hint: "Skompresowane obrazy wymagają ShadowMount+, aby grać "collection.send_many_body_v2": "Każda PS5 dostaje to, czego jej brakuje: pakiet gry albo jej folder, obraz lub archiwum, a do posiadanych gier nowsze aktualizacje i DLC. Pakiety są strumieniowane z tego komputera; reszta trafia na dysk ustawiony w „Prześlij i zainstaluj”, do folderu homebrew.", "first_run_step4_body_v3": "Włóż do PS5 pendrive z obrazami gier .ffpkg, a ShadowMount+ automatycznie je zamontuje — pojawią się w Grach. Aby wysłać inne pliki lub zainstalować pakiety .pkg, użyj „Prześlij i zainstaluj”.", "first_run_go_upload_v2": "Otwórz Prześlij i zainstaluj", -"fpkg.aboutFake_v2": "Wynikiem jest fałszywy pakiet, więc przed instalacją konsola musi mieć załadowaną obsługę fałszywych pakietów: kstuff (wersja z obsługą fałszywych pakietów PS5), a53_ppr_install_fast.elf i shadowmountplus.elf, w tej kolejności. „Prześlij i zainstaluj” mówi to samo obok swoich przycisków instalacji.", "fpkg.openUpload_v2": "Otwórz Prześlij i zainstaluj", "netdoctor.speed_cap.on.fix_v2": "Usuń limit w „Prześlij i zainstaluj”, jeśli go nie potrzebujesz.", -"payloads_fpkg_ppr_note_v2": "Instalowanie fałszywych pakietów wymaga też a53_ppr_install_fast.elf, którego nie ma na tej liście: nie ma gotowego pliku do pobrania, buduje się go ze źródeł na GitHubie. „Prześlij i zainstaluj” wymienia wszystko, czego potrzebują fałszywe pakiety, po kolei.", "fs_extract_next_pkgs_v2": "Zawiera pakiety: {n}. Zainstaluj je w „Prześlij i zainstaluj” albo z ich wiersza tutaj.", "game_hub_no_addons_v2": "Brak przygotowanych pakietów DLC dla tego tytułu. Wyślij jeden przez „Prześlij i zainstaluj”.", "game_hub_open_install_v2": "Otwórz Prześlij i zainstaluj", diff --git a/client/src/i18n/locales/pt-BR.ts b/client/src/i18n/locales/pt-BR.ts index 7a4cb06b3..478c0874c 100644 --- a/client/src/i18n/locales/pt-BR.ts +++ b/client/src/i18n/locales/pt-BR.ts @@ -1915,9 +1915,7 @@ err_payload_rejected: "O PS5 rejeitou a solicitação: {reason}", "pkglib.fpkgsupport.install_title": "Instalar", "pkglib.fpkgsupport.install_what": "O PS5 instala o pacote como um jogo da loja.", "pkglib.fpkgsupport.install_needs": "Precisa do kstuff em execução e do ShadowMount+, a camada de montagem que registra o título instalado.", - "pkglib.fpkgsupport.install_kstuff": "No firmware 11.61 a 13.60 precisa ser o kstuff mais recente (com suporte a pacotes falsos até 13.60): com um kstuff mais antigo o pacote instala, mas o jogo não abre. Até 11.60, qualquer kstuff com suporte a pacotes falsos funciona.", "pkglib.fpkgsupport.install_catalog": "O kstuff do catálogo pode ser mais antigo; envie o mais recente com {send}.", - "pkglib.fpkgsupport.install_ppr": "Se o console recusar a instalação, carregue também o a53_ppr_install_fast.elf, compilado a partir do código-fonte no GitHub:", "pkglib.fpkgsupport.mount_title": "Montar com o Kraken Mount", "pkglib.fpkgsupport.mount_what": "O Kraken Mount coloca o jogo na tela inicial direto do arquivo .pkg, sem instalar.", "pkglib.fpkgsupport.mount_needs": "Precisa do Kraken Mount em execução, sem o ShadowMount+ junto. Ele só monta pacotes de PS5 feitos com a chave de depuração, não pacotes de PS4 nem retail.", @@ -7654,10 +7652,8 @@ library_compressed_hint: "Imagens compactadas precisam do ShadowMount+ para joga "collection.send_many_body_v2": "Cada PS5 recebe o que falta: o pacote do jogo, ou sua pasta, imagem ou arquivo compactado, além de atualizações e DLC mais novos para os jogos que ele tem. Pacotes são transmitidos deste computador; o resto é enviado para a unidade definida em «Enviar e instalar», na pasta homebrew.", "first_run_step4_body_v3": "Conecte ao seu PS5 um pendrive com imagens de jogo .ffpkg e o ShadowMount+ vai montá-las automaticamente — elas aparecerão em Jogos. Para enviar outros arquivos ou instalar pacotes .pkg, use «Enviar e instalar».", "first_run_go_upload_v2": "Abrir Enviar e instalar", -"fpkg.aboutFake_v2": "O resultado é um pacote falso, então o console precisa ter o suporte a pacotes falsos carregado antes de instalá-lo: kstuff (a versão com suporte a pacotes falsos de PS5), a53_ppr_install_fast.elf e shadowmountplus.elf, nessa ordem. «Enviar e instalar» diz o mesmo ao lado dos botões de instalação.", "fpkg.openUpload_v2": "Abrir Enviar e instalar", "netdoctor.speed_cap.on.fix_v2": "Remova o limite em «Enviar e instalar» se não precisar dele.", -"payloads_fpkg_ppr_note_v2": "Instalar pacotes falsos também exige a53_ppr_install_fast.elf, que não está nesta lista: não há download publicado e ele é compilado a partir do código-fonte no GitHub. «Enviar e instalar» lista tudo o que os pacotes falsos precisam, em ordem.", "fs_extract_next_pkgs_v2": "Contém {n} pacote(s): instale-os em «Enviar e instalar» ou pela linha deles aqui.", "game_hub_no_addons_v2": "Nenhum pacote de DLC preparado para este título. Envie um por «Enviar e instalar».", "game_hub_open_install_v2": "Abrir Enviar e instalar", diff --git a/client/src/i18n/locales/ru.ts b/client/src/i18n/locales/ru.ts index 0a064ddfc..16459a381 100644 --- a/client/src/i18n/locales/ru.ts +++ b/client/src/i18n/locales/ru.ts @@ -1861,9 +1861,7 @@ err_payload_rejected: "PS5 отклонил запрос: {reason}", "pkglib.fpkgsupport.install_title": "Установка", "pkglib.fpkgsupport.install_what": "PS5 устанавливает пакет как игру из магазина.", "pkglib.fpkgsupport.install_needs": "Нужен запущенный kstuff и ShadowMount+ — слой монтирования, который регистрирует установленную игру.", - "pkglib.fpkgsupport.install_kstuff": "На прошивках 11.61–13.60 это должен быть последний kstuff (с поддержкой фейковых пакетов до 13.60): со старым kstuff пакет устанавливается, но игра не запускается. До 11.60 подходит любой kstuff с поддержкой фейковых пакетов.", "pkglib.fpkgsupport.install_catalog": "kstuff из каталога может быть старее; отправьте последний через {send}.", - "pkglib.fpkgsupport.install_ppr": "Если консоль отклоняет установку, загрузите также a53_ppr_install_fast.elf, собранный из исходного кода на GitHub:", "pkglib.fpkgsupport.mount_title": "Монтирование через Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount выводит игру на главный экран прямо из файла .pkg, без установки.", "pkglib.fpkgsupport.mount_needs": "Нужен запущенный Kraken Mount без ShadowMount+ рядом. Он монтирует только пакеты PS5, созданные с отладочным ключом, но не пакеты PS4 и не розничные пакеты.", @@ -7592,10 +7590,8 @@ library_compressed_hint: "Для запуска сжатых образов ну "collection.send_many_body_v2": "Каждая PS5 получает то, чего у неё нет: пакет игры либо её папку, образ или архив, а также более новые обновления и DLC для имеющихся игр. Пакеты передаются потоком с этого компьютера; остальное загружается на диск, выбранный в «Загрузка и установка», в папку homebrew.", "first_run_step4_body_v3": "Вставьте в PS5 USB-накопитель с образами игр .ffpkg, и ShadowMount+ автоматически смонтирует их — они появятся в «Играх». Чтобы отправить другие файлы или установить пакеты .pkg, используйте «Загрузка и установка».", "first_run_go_upload_v2": "Открыть «Загрузка и установка»", -"fpkg.aboutFake_v2": "Результат — фейковый пакет, поэтому перед установкой на консоли должна быть загружена поддержка фейковых пакетов: kstuff (сборка с поддержкой фейковых пакетов PS5), a53_ppr_install_fast.elf и shadowmountplus.elf, в этом порядке. Экран «Загрузка и установка» пишет то же рядом со своими кнопками установки.", "fpkg.openUpload_v2": "Открыть «Загрузка и установка»", "netdoctor.speed_cap.on.fix_v2": "Снимите ограничение в «Загрузка и установка», если оно не нужно.", -"payloads_fpkg_ppr_note_v2": "Для установки фейковых пакетов нужен ещё a53_ppr_install_fast.elf, которого нет в этом списке: готовой загрузки нет, он собирается из исходного кода на GitHub. В «Загрузка и установка» перечислено всё, что нужно фейковым пакетам, по порядку.", "fs_extract_next_pkgs_v2": "Внутри пакетов: {n}. Установите их через «Загрузка и установка» или из их строки здесь.", "game_hub_no_addons_v2": "Для этой игры нет подготовленных DLC-пакетов. Отправьте один через «Загрузка и установка».", "game_hub_open_install_v2": "Открыть «Загрузка и установка»", diff --git a/client/src/i18n/locales/th.ts b/client/src/i18n/locales/th.ts index f9a56696a..b5d38bbb1 100644 --- a/client/src/i18n/locales/th.ts +++ b/client/src/i18n/locales/th.ts @@ -1908,9 +1908,7 @@ err_payload_rejected: "PS5 ปฏิเสธคำขอ: {reason}", "pkglib.fpkgsupport.install_title": "ติดตั้ง", "pkglib.fpkgsupport.install_what": "PS5 จะติดตั้งแพ็กเกจเหมือนเกมจากสโตร์", "pkglib.fpkgsupport.install_needs": "ต้องเปิด kstuff ไว้ และต้องมี ShadowMount+ ซึ่งเป็นชั้นการเมานต์ที่ลงทะเบียนเกมที่ติดตั้ง", - "pkglib.fpkgsupport.install_kstuff": "บนเฟิร์มแวร์ 11.61 ถึง 13.60 ต้องเป็น kstuff รุ่นล่าสุด (รองรับแพ็กเกจปลอมถึง 13.60) หากใช้ kstuff รุ่นเก่า แพ็กเกจติดตั้งได้แต่เกมไม่เริ่ม ถึง 11.60 ใช้ kstuff ที่รองรับแพ็กเกจปลอมรุ่นใดก็ได้", "pkglib.fpkgsupport.install_catalog": "kstuff ในแคตตาล็อกอาจเก่ากว่านั้น ให้ส่งรุ่นล่าสุดด้วย {send}", - "pkglib.fpkgsupport.install_ppr": "หากคอนโซลปฏิเสธการติดตั้ง ให้โหลด a53_ppr_install_fast.elf ด้วย ซึ่งสร้างจากซอร์สโค้ดบน GitHub:", "pkglib.fpkgsupport.mount_title": "เมานต์ด้วย Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount นำเกมไปแสดงบนหน้าจอหลักจากไฟล์ .pkg โดยตรง โดยไม่ต้องติดตั้ง", "pkglib.fpkgsupport.mount_needs": "ต้องเปิด Kraken Mount ไว้ โดยไม่มี ShadowMount+ ทำงานคู่กัน เมานต์ได้เฉพาะแพ็กเกจ PS5 ที่สร้างด้วยคีย์ดีบัก ไม่รองรับแพ็กเกจ PS4 หรือแพ็กเกจรีเทล", @@ -7646,10 +7644,8 @@ library_compressed_hint: "อิมเมจที่บีบอัดต้อ "collection.send_many_body_v2": "PS5 แต่ละเครื่องจะได้สิ่งที่ยังขาด: แพ็กเกจของเกม หรือโฟลเดอร์ อิมเมจ หรือไฟล์บีบอัด พร้อมอัปเดตและ DLC ที่ใหม่กว่าสำหรับเกมที่มีอยู่ แพ็กเกจจะสตรีมจากคอมพิวเตอร์นี้ ที่เหลือจะอัปโหลดไปยังไดรฟ์ที่ตั้งไว้ใน «อัปโหลดและติดตั้ง» ในโฟลเดอร์ homebrew", "first_run_step4_body_v3": "เสียบ USB ที่มีอิมเมจเกม .ffpkg เข้ากับ PS5 แล้ว ShadowMount+ จะเมานต์ให้อัตโนมัติ — เกมจะปรากฏในหน้าเกม หากต้องการส่งไฟล์อื่นหรือติดตั้งแพ็กเกจ .pkg ให้ใช้ «อัปโหลดและติดตั้ง»", "first_run_go_upload_v2": "เปิด «อัปโหลดและติดตั้ง»", -"fpkg.aboutFake_v2": "ผลลัพธ์เป็นแพ็กเกจปลอม คอนโซลจึงต้องโหลดการรองรับแพ็กเกจปลอมก่อนติดตั้ง: kstuff (รุ่นที่รองรับแพ็กเกจปลอมของ PS5), a53_ppr_install_fast.elf และ shadowmountplus.elf ตามลำดับนี้ หน้า «อัปโหลดและติดตั้ง» ก็บอกเช่นเดียวกันข้างปุ่มติดตั้ง", "fpkg.openUpload_v2": "เปิด «อัปโหลดและติดตั้ง»", "netdoctor.speed_cap.on.fix_v2": "ถ้าไม่จำเป็น ให้เอาการจำกัดออกใน «อัปโหลดและติดตั้ง»", -"payloads_fpkg_ppr_note_v2": "การติดตั้งแพ็กเกจปลอมต้องใช้ a53_ppr_install_fast.elf ด้วย ซึ่งไม่อยู่ในรายการนี้: ไม่มีไฟล์ให้ดาวน์โหลด ต้องสร้างจากซอร์สโค้ดบน GitHub หน้า «อัปโหลดและติดตั้ง» ระบุทุกอย่างที่แพ็กเกจปลอมต้องใช้ตามลำดับ", "fs_extract_next_pkgs_v2": "มีแพ็กเกจ {n} รายการ ติดตั้งได้จาก «อัปโหลดและติดตั้ง» หรือจากแถวของแพ็กเกจที่นี่", "game_hub_no_addons_v2": "ไม่มีแพ็กเกจ DLC เตรียมไว้สำหรับเกมนี้ ส่งได้จาก «อัปโหลดและติดตั้ง»", "game_hub_open_install_v2": "เปิด «อัปโหลดและติดตั้ง»", diff --git a/client/src/i18n/locales/tr.ts b/client/src/i18n/locales/tr.ts index d59062d2c..6397574b7 100644 --- a/client/src/i18n/locales/tr.ts +++ b/client/src/i18n/locales/tr.ts @@ -1915,9 +1915,7 @@ err_payload_rejected: "PS5 isteği reddetti: {reason}", "pkglib.fpkgsupport.install_title": "Kurulum", "pkglib.fpkgsupport.install_what": "PS5 paketi mağazadan bir oyun gibi kurar.", "pkglib.fpkgsupport.install_needs": "Çalışan kstuff ve kurulan oyunu kaydeden bağlama katmanı ShadowMount+ gerekir.", - "pkglib.fpkgsupport.install_kstuff": "11.61 ile 13.60 arası yazılımlarda bunun en son kstuff olması gerekir (13.60'a kadar sahte paket desteğiyle): daha eski bir kstuff ile paket kurulur ama oyun başlamaz. 11.60'a kadar sahte paket desteği olan her kstuff çalışır.", "pkglib.fpkgsupport.install_catalog": "Katalogdaki kstuff bundan eski olabilir; en sonuncusunu {send} ile gönderin.", - "pkglib.fpkgsupport.install_ppr": "Konsol kurulumu reddederse GitHub'daki kaynak koddan derlenen a53_ppr_install_fast.elf dosyasını da yükleyin:", "pkglib.fpkgsupport.mount_title": "Kraken Mount ile bağlama", "pkglib.fpkgsupport.mount_what": "Kraken Mount, oyunu kurmadan doğrudan .pkg dosyasından ana ekrana koyar.", "pkglib.fpkgsupport.mount_needs": "Yanında ShadowMount+ olmadan çalışan Kraken Mount gerekir. Yalnızca hata ayıklama anahtarıyla yapılmış PS5 paketlerini bağlar; PS4 veya perakende paketleri bağlamaz.", @@ -7646,10 +7644,8 @@ library_compressed_hint: "Sıkıştırılmış kalıpları oynatmak için Shadow "collection.send_many_body_v2": "Her PS5 eksik olanı alır: oyunun paketi ya da klasörü, imajı veya arşivi, artı sahip olduğu oyunlar için daha yeni güncellemeler ve DLC'ler. Paketler bu bilgisayardan akıtılır; geri kalanı «Yükle ve Kur»da ayarlı sürücüye, homebrew klasörüne yüklenir.", "first_run_step4_body_v3": "PS5'ine .ffpkg oyun imajları içeren bir USB bellek tak, ShadowMount+ bunları otomatik bağlar — Oyunlar'da görünürler. Başka dosyalar göndermek veya .pkg paketleri kurmak için «Yükle ve Kur»u kullan.", "first_run_go_upload_v2": "Yükle ve Kur'u aç", -"fpkg.aboutFake_v2": "Sonuç bir sahte pakettir, bu yüzden konsolun kurmadan önce sahte paket desteğini yüklemiş olması gerekir: kstuff (PS5 sahte paket destekli sürüm), a53_ppr_install_fast.elf ve shadowmountplus.elf, bu sırayla. «Yükle ve Kur» da kurulum düğmelerinin yanında aynı şeyi söyler.", "fpkg.openUpload_v2": "Yükle ve Kur'u aç", "netdoctor.speed_cap.on.fix_v2": "Gerekmiyorsa sınırı «Yükle ve Kur»da kaldır.", -"payloads_fpkg_ppr_note_v2": "Sahte paket kurmak için ayrıca bu listede olmayan a53_ppr_install_fast.elf gerekir: yayınlanmış bir indirmesi yoktur, GitHub'daki kaynak koddan derlenir. «Yükle ve Kur» sahte paketlerin ihtiyaç duyduğu her şeyi sırasıyla listeler.", "fs_extract_next_pkgs_v2": "İçinde {n} paket var: «Yükle ve Kur»dan veya buradaki satırlarından kur.", "game_hub_no_addons_v2": "Bu başlık için hazırlanmış DLC paketi yok. «Yükle ve Kur»dan bir tane gönder.", "game_hub_open_install_v2": "Yükle ve Kur'u aç", diff --git a/client/src/i18n/locales/vi.ts b/client/src/i18n/locales/vi.ts index c0f1809ba..d53f5cde5 100644 --- a/client/src/i18n/locales/vi.ts +++ b/client/src/i18n/locales/vi.ts @@ -1910,9 +1910,7 @@ err_payload_rejected: "PS5 đã từ chối yêu cầu: {reason}", "pkglib.fpkgsupport.install_title": "Cài đặt", "pkglib.fpkgsupport.install_what": "PS5 cài gói như một game từ cửa hàng.", "pkglib.fpkgsupport.install_needs": "Cần kstuff đang chạy, và ShadowMount+, lớp gắn kết đăng ký trò chơi đã cài.", - "pkglib.fpkgsupport.install_kstuff": "Trên firmware 11.61 đến 13.60, đó phải là kstuff mới nhất (hỗ trợ gói giả đến 13.60): với kstuff cũ hơn, gói vẫn cài được nhưng game không khởi động. Đến 11.60, kstuff nào hỗ trợ gói giả cũng dùng được.", "pkglib.fpkgsupport.install_catalog": "kstuff trong danh mục có thể cũ hơn thế; hãy gửi bản mới nhất bằng {send}.", - "pkglib.fpkgsupport.install_ppr": "Nếu máy từ chối cài đặt, hãy nạp thêm a53_ppr_install_fast.elf, được dựng từ mã nguồn trên GitHub:", "pkglib.fpkgsupport.mount_title": "Gắn bằng Kraken Mount", "pkglib.fpkgsupport.mount_what": "Kraken Mount đưa game lên màn hình chính trực tiếp từ tệp .pkg, không cần cài đặt.", "pkglib.fpkgsupport.mount_needs": "Cần Kraken Mount đang chạy, không chạy kèm ShadowMount+. Nó chỉ gắn gói PS5 tạo bằng khóa debug, không gắn gói PS4 hay gói retail.", @@ -7641,10 +7639,8 @@ library_compressed_hint: "Ảnh đĩa nén cần ShadowMount+ để chơi. Để "collection.send_many_body_v2": "Mỗi PS5 nhận những gì nó còn thiếu: gói của game, hoặc thư mục, ảnh hay tệp nén, cùng bản cập nhật và DLC mới hơn cho các game nó đang có. Gói được truyền trực tiếp từ máy tính này; phần còn lại được tải lên ổ đã đặt trong «Tải lên & Cài đặt», vào thư mục homebrew.", "first_run_step4_body_v3": "Cắm một USB chứa ảnh game .ffpkg vào PS5 và ShadowMount+ sẽ tự động gắn kết chúng — chúng sẽ xuất hiện trong Trò chơi. Để gửi tệp khác hoặc cài gói .pkg, dùng «Tải lên & Cài đặt».", "first_run_go_upload_v2": "Mở Tải lên & Cài đặt", -"fpkg.aboutFake_v2": "Kết quả là một gói giả, nên máy cần nạp hỗ trợ gói giả trước khi cài: kstuff (bản có hỗ trợ gói giả PS5), a53_ppr_install_fast.elf và shadowmountplus.elf, theo thứ tự đó. «Tải lên & Cài đặt» cũng ghi điều tương tự cạnh các nút cài đặt.", "fpkg.openUpload_v2": "Mở Tải lên & Cài đặt", "netdoctor.speed_cap.on.fix_v2": "Bỏ giới hạn trong «Tải lên & Cài đặt» nếu bạn không cần.", -"payloads_fpkg_ppr_note_v2": "Cài gói giả còn cần a53_ppr_install_fast.elf, không có trong danh sách này: không có bản tải sẵn, nó được dựng từ mã nguồn trên GitHub. «Tải lên & Cài đặt» liệt kê mọi thứ gói giả cần, theo thứ tự.", "fs_extract_next_pkgs_v2": "Có {n} gói bên trong: cài chúng từ «Tải lên & Cài đặt», hoặc từ dòng của chúng ở đây.", "game_hub_no_addons_v2": "Chưa có gói DLC nào được chuẩn bị cho tựa game này. Hãy gửi một gói từ «Tải lên & Cài đặt».", "game_hub_open_install_v2": "Mở Tải lên & Cài đặt", diff --git a/client/src/i18n/locales/zh-CN.ts b/client/src/i18n/locales/zh-CN.ts index 47d130958..b0bb70c36 100644 --- a/client/src/i18n/locales/zh-CN.ts +++ b/client/src/i18n/locales/zh-CN.ts @@ -1867,9 +1867,7 @@ err_payload_rejected: "PS5 拒绝了该请求:{reason}", "pkglib.fpkgsupport.install_title": "安装", "pkglib.fpkgsupport.install_what": "PS5 像安装商店游戏一样安装该软件包。", "pkglib.fpkgsupport.install_needs": "需要运行 kstuff,以及注册已安装游戏的挂载层 ShadowMount+。", - "pkglib.fpkgsupport.install_kstuff": "在 11.61 至 13.60 固件上,必须是最新的 kstuff(支持 13.60 及以下的伪造软件包):使用旧版 kstuff 时,软件包可以安装,但游戏无法启动。11.60 及以下,任何支持伪造软件包的 kstuff 都可以。", "pkglib.fpkgsupport.install_catalog": "目录里的 kstuff 可能比这更旧;请用 {send} 发送最新版本。", - "pkglib.fpkgsupport.install_ppr": "如果主机拒绝安装,还需加载 a53_ppr_install_fast.elf,需从 GitHub 上的源码编译:", "pkglib.fpkgsupport.mount_title": "用 Kraken Mount 挂载", "pkglib.fpkgsupport.mount_what": "Kraken Mount 直接从 .pkg 文件把游戏放到主屏幕上,无需安装。", "pkglib.fpkgsupport.mount_needs": "需要运行 Kraken Mount,且不能同时运行 ShadowMount+。它只挂载用调试密钥制作的 PS5 软件包,不挂载 PS4 或正式版软件包。", @@ -7598,10 +7596,8 @@ library_compressed_hint: "压缩镜像需要 ShadowMount+ 才能游玩。如需 "collection.send_many_body_v2": "每台 PS5 会收到它缺少的内容:游戏的软件包,或其文件夹、镜像、压缩包,以及已有游戏的更新版本和 DLC。软件包从这台电脑串流;其余内容上传到“上传并安装”中设置的驱动器的 homebrew 文件夹。", "first_run_step4_body_v3": "将装有 .ffpkg 游戏镜像的 U 盘插入 PS5,ShadowMount+ 会自动挂载它们——它们会出现在“游戏”中。要发送其他文件或安装 .pkg 软件包,请使用“上传并安装”。", "first_run_go_upload_v2": "打开“上传并安装”", -"fpkg.aboutFake_v2": "生成的是伪造软件包,所以主机在安装前需要加载伪造软件包支持:kstuff(支持 PS5 伪造软件包的版本)、a53_ppr_install_fast.elf 和 shadowmountplus.elf,按此顺序。“上传并安装”页面在安装按钮旁也有相同说明。", "fpkg.openUpload_v2": "打开“上传并安装”", "netdoctor.speed_cap.on.fix_v2": "如果不需要,请在“上传并安装”中取消限制。", -"payloads_fpkg_ppr_note_v2": "安装伪造软件包还需要 a53_ppr_install_fast.elf,它不在此列表中:没有发布可下载的文件,需从 GitHub 上的源码编译。“上传并安装”页面按顺序列出了伪造软件包所需的全部内容。", "fs_extract_next_pkgs_v2": "其中有 {n} 个软件包:可在“上传并安装”或这里各自的行中安装。", "game_hub_no_addons_v2": "此游戏没有暂存的 DLC 软件包。可从“上传并安装”发送一个。", "game_hub_open_install_v2": "打开“上传并安装”", diff --git a/client/src/i18n/locales/zh-TW.ts b/client/src/i18n/locales/zh-TW.ts index 2256c5166..58c7a894b 100644 --- a/client/src/i18n/locales/zh-TW.ts +++ b/client/src/i18n/locales/zh-TW.ts @@ -1861,9 +1861,7 @@ err_payload_rejected: "PS5 拒絕了此請求:{reason}", "pkglib.fpkgsupport.install_title": "安裝", "pkglib.fpkgsupport.install_what": "PS5 像安裝商店遊戲一樣安裝該套件。", "pkglib.fpkgsupport.install_needs": "需要執行 kstuff,以及註冊已安裝遊戲的掛載層 ShadowMount+。", - "pkglib.fpkgsupport.install_kstuff": "在 11.61 至 13.60 韌體上,必須是最新的 kstuff(支援 13.60 以下(含)的偽造套件):使用舊版 kstuff 時,套件可以安裝,但遊戲無法啟動。11.60 以下(含),任何支援偽造套件的 kstuff 都可以。", "pkglib.fpkgsupport.install_catalog": "目錄裡的 kstuff 可能比這更舊;請用 {send} 傳送最新版本。", - "pkglib.fpkgsupport.install_ppr": "如果主機拒絕安裝,還需載入 a53_ppr_install_fast.elf,需從 GitHub 上的原始碼編譯:", "pkglib.fpkgsupport.mount_title": "用 Kraken Mount 掛載", "pkglib.fpkgsupport.mount_what": "Kraken Mount 直接從 .pkg 檔案把遊戲放到主畫面上,無需安裝。", "pkglib.fpkgsupport.mount_needs": "需要執行 Kraken Mount,且不能同時執行 ShadowMount+。它只掛載以除錯金鑰製作的 PS5 套件,不掛載 PS4 或正式版套件。", @@ -7592,10 +7590,8 @@ library_compressed_hint: "壓縮映像需要 ShadowMount+ 才能遊玩。如需 "collection.send_many_body_v2": "每台 PS5 會收到它缺少的內容:遊戲的套件,或其資料夾、映像、壓縮檔,以及已有遊戲的較新更新和 DLC。套件從這台電腦串流;其餘內容上傳到「上傳並安裝」中設定的磁碟的 homebrew 資料夾。", "first_run_step4_body_v3": "將裝有 .ffpkg 遊戲映像的 USB 隨身碟插入 PS5,ShadowMount+ 會自動掛載它們——它們會出現在「遊戲」中。要傳送其他檔案或安裝 .pkg 套件,請使用「上傳並安裝」。", "first_run_go_upload_v2": "開啟「上傳並安裝」", -"fpkg.aboutFake_v2": "產生的是偽造套件,所以主機在安裝前需要載入偽造套件支援:kstuff(支援 PS5 偽造套件的版本)、a53_ppr_install_fast.elf 與 shadowmountplus.elf,依此順序。「上傳並安裝」頁面在安裝按鈕旁也有相同說明。", "fpkg.openUpload_v2": "開啟「上傳並安裝」", "netdoctor.speed_cap.on.fix_v2": "如果不需要,請在「上傳並安裝」中取消限制。", -"payloads_fpkg_ppr_note_v2": "安裝偽造套件還需要 a53_ppr_install_fast.elf,它不在此清單中:沒有發布可下載的檔案,需從 GitHub 上的原始碼編譯。「上傳並安裝」頁面依序列出了偽造套件所需的全部內容。", "fs_extract_next_pkgs_v2": "其中有 {n} 個套件:可在「上傳並安裝」或這裡各自的列中安裝。", "game_hub_no_addons_v2": "此遊戲沒有暫存的 DLC 套件。可從「上傳並安裝」傳送一個。", "game_hub_open_install_v2": "開啟「上傳並安裝」", diff --git a/client/src/screens/FpkgConvert/index.tsx b/client/src/screens/FpkgConvert/index.tsx index dae078f11..710cf108a 100644 --- a/client/src/screens/FpkgConvert/index.tsx +++ b/client/src/screens/FpkgConvert/index.tsx @@ -1588,9 +1588,9 @@ export default function WorkshopScreen() {

{tr( - "fpkg.aboutFake_v2", + "fpkg.aboutFake_v3", undefined, - "The result is a fake package, so the console needs fake-package support loaded before it will install: kstuff (the build with PS5 fake-package support), a53_ppr_install_fast.elf and shadowmountplus.elf, in that order. Upload & Install says the same next to its install buttons.", + "The result is a fake PS5 package with a plaintext game image, the kind the latest kstuff (fake-package support up to 13.60) and Kraken Mount both take. There are two ways to play it: install it with kstuff loaded, or copy it to a folder Kraken Mount scans to mount it. Upload & Install explains both next to its install buttons.", )}

diff --git a/client/src/screens/InstallPackage/FpkgNote.test.tsx b/client/src/screens/InstallPackage/FpkgNote.test.tsx index 4c1f966f5..10fed0c9e 100644 --- a/client/src/screens/InstallPackage/FpkgNote.test.tsx +++ b/client/src/screens/InstallPackage/FpkgNote.test.tsx @@ -49,7 +49,8 @@ describe("FpkgNote", () => { const install = html.slice(html.indexOf('data-testid="fpkg-way-install"'), html.indexOf('data-testid="fpkg-way-mount"')); expect(install).toContain("the latest kstuff (with fake-package support up to 13.60)"); expect(install).toContain("send the latest one with Send payload."); - expect(install).toContain("If the console refuses the install, also load a53_ppr_install_fast.elf"); + expect(install).toContain("Up to firmware 11.40, if the console refuses the install, also load a53_ppr_install_fast.elf"); + expect(install).toContain("If a game you installed with an older kstuff doesn't start, install it again."); expect(install).toContain("drakmor/ppr-patch"); const mount = html.slice(html.indexOf('data-testid="fpkg-way-mount"')); expect(mount).toContain("Choose Copy as a file for the package here"); diff --git a/client/src/screens/InstallPackage/FpkgNote.tsx b/client/src/screens/InstallPackage/FpkgNote.tsx index 0b72641ff..91183801d 100644 --- a/client/src/screens/InstallPackage/FpkgNote.tsx +++ b/client/src/screens/InstallPackage/FpkgNote.tsx @@ -67,8 +67,8 @@ export function FpkgNote({ className = "mb-4" }: { className?: string }) {
{tr( - "pkglib.fpkgsupport.install_kstuff", - "On firmware 11.61 to 13.60 that has to be the latest kstuff (with fake-package support up to 13.60): with an older kstuff the package installs, but the game doesn't start. Up to 11.60, any kstuff with fake-package support works.", + "pkglib.fpkgsupport.install_kstuff_v2", + "On firmware 11.61 to 13.60 that has to be the latest kstuff (with fake-package support up to 13.60): with an older kstuff the package installs, but the game doesn't start. Up to 11.60, any kstuff with fake-package support works. If a game you installed with an older kstuff doesn't start, install it again.", )}
@@ -80,8 +80,8 @@ export function FpkgNote({ className = "mb-4" }: { className?: string }) {
{tr( - "pkglib.fpkgsupport.install_ppr", - "If the console refuses the install, also load a53_ppr_install_fast.elf, built from the source on GitHub:", + "pkglib.fpkgsupport.install_ppr_v2", + "Up to firmware 11.40, if the console refuses the install, also load a53_ppr_install_fast.elf, built from the source on GitHub:", )}{" "}
))} + {g.titleUnread ? ( +

{t(g.titleUnread === "img_compressed" ? "cw_lib_unread_compressed" : "cw_lib_unread_other")}

+ ) : null} {newer ? (

{t("cw_lib_fw_newer", { need: g.fw, have: p.firmware ?? "" })}

) : null} @@ -346,6 +349,7 @@ function GameCard({ g, p }: { g: GameGroup; p: LibraryViewProps }) { {g.title} {meta} + {g.titleUnread ? {t("cw_lib_title_unread")} : null} {g.updates ? {kindText("patch")} : null} {g.dlc ? {t("cw_lib_badge_dlc", { n: g.dlc })} : null} {g.backports ? ( diff --git a/client/src/console/library/group.ts b/client/src/console/library/group.ts index 35f17dd77..1f0bf84e0 100644 --- a/client/src/console/library/group.ts +++ b/client/src/console/library/group.ts @@ -46,6 +46,12 @@ export interface GameGroup { dlc: number; backports: number; fake: boolean; + /** + * No part names the game and a disk image among them could not be read on the console (#963): + * the card shows the title id (or the file name) and says the title was not read. The first such + * image's cause ("img_compressed", ...), "" when the title is known or nothing says why. + */ + titleUnread: string; } const TITLE_ID = /^[A-Z]{4}\d{5}$/; @@ -144,7 +150,18 @@ function bestTitle(parts: Part[]): string { const any = base ?? parts.find((p) => p.entry.title && p.role !== "dlc") ?? parts.find((p) => p.entry.title); if (any) return any.entry.title; const e = parts[0].entry; - return titleFromFileName(e.name, baseTitleId(e)) || displayName(e); + const id = baseTitleId(e); + const fromName = titleFromFileName(e.name, id); + // a file named by its title id alone ("PPSA23012.exfat") shows as the id, not as the file name + if (id && fromName === e.name && nameKey(e.name) === id.toLowerCase()) return id; + return fromName || displayName(e); +} + +/** Why the game's title is not known: an unread disk image's cause (GameGroup.titleUnread). */ +function unreadCause(parts: Part[]): string { + if (parts.some((p) => p.entry.title)) return ""; + const img = parts.find((p) => p.entry.kind === "image" && p.entry.meta && p.entry.meta !== "read"); + return img ? img.entry.meta : ""; } const maxFw = (a: string, b: string) => (!a ? b : !b ? a : compareVersions(a, b) >= 0 ? a : b); @@ -193,6 +210,7 @@ export function groupEntries(entries: Entry[]): GameGroup[] { dlc: parts.filter((p) => p.role === "dlc").length, backports: parts.filter((p) => p.role === "backport").length, fake: parts.some((p) => p.entry.fake), + titleUnread: unreadCause(parts), }); } return out.sort((a, b) => a.title.localeCompare(b.title)); diff --git a/client/src/console/library/model.ts b/client/src/console/library/model.ts index 9fcd2e3ca..f38b309fa 100644 --- a/client/src/console/library/model.ts +++ b/client/src/console/library/model.ts @@ -33,6 +33,12 @@ export interface LibItem { size: number; /** A file name in LIB_DIR/icons, "" without a cover. */ icon: string; + /** + * A disk image only (#963): "read" when the console read the sce_sys/param.json inside it, else why + * it could not ("img_compressed", "img_unknown", ...: payload/smb/smbd_image.h). "" for anything + * else, and for an image an older helper listed by its file name only. + */ + meta: string; } export interface LibScan { @@ -94,6 +100,7 @@ export function parseScan(text: string): LibScan | null { fake: r.fake === true, size: typeof r.size === "number" ? r.size : 0, icon: /^[\w-]+\.png$/.test(str(r.icon)) ? str(r.icon) : "", + meta: /^[a-z_]{1,32}$/.test(str(r.meta)) ? str(r.meta) : "", }); } return { diff --git a/client/src/console/locales/ar.json b/client/src/console/locales/ar.json index 29d821134..0876f2dde 100644 --- a/client/src/console/locales/ar.json +++ b/client/src/console/locales/ar.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "جهاز PS5 هذا", "cw_lib_this_fw": "هذا الـ PS5: {fw}", "cw_lib_title": "المكتبة", + "cw_lib_title_unread": "لم يُقرأ العنوان", + "cw_lib_unread_compressed": "هذه الصورة مضغوطة، لذا لا يستطيع الجهاز قراءة العنوان داخلها. تُعرض بمعرّف العنوان الموجود في اسم ملفها.", + "cw_lib_unread_other": "تعذّر على الجهاز قراءة العنوان داخل هذه الصورة، لذا تُعرض بمعرّف العنوان الموجود في اسم ملفها.", "cw_minion_off_title": "PS5Upload Minion متوقف", "cw_nav_files": "الملفات", "cw_nav_home": "الرئيسية", diff --git a/client/src/console/locales/bn.json b/client/src/console/locales/bn.json index fc51bfd3e..c55180c1d 100644 --- a/client/src/console/locales/bn.json +++ b/client/src/console/locales/bn.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "এই PS5", "cw_lib_this_fw": "এই PS5: {fw}", "cw_lib_title": "লাইব্রেরি", + "cw_lib_title_unread": "শিরোনাম পড়া হয়নি", + "cw_lib_unread_compressed": "এই ইমেজটি সংকুচিত, তাই কনসোল এর ভেতরের শিরোনাম পড়তে পারে না। এটি ফাইলের নামে থাকা টাইটেল আইডি দিয়ে দেখানো হচ্ছে।", + "cw_lib_unread_other": "কনসোল এই ইমেজের ভেতরের শিরোনাম পড়তে পারেনি, তাই এটি ফাইলের নামে থাকা টাইটেল আইডি দিয়ে দেখানো হচ্ছে।", "cw_minion_off_title": "PS5Upload Minion বন্ধ", "cw_nav_files": "ফাইল", "cw_nav_home": "হোম", diff --git a/client/src/console/locales/de.json b/client/src/console/locales/de.json index 558937e3d..cab6b9c1f 100644 --- a/client/src/console/locales/de.json +++ b/client/src/console/locales/de.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Diese PS5", "cw_lib_this_fw": "diese PS5: {fw}", "cw_lib_title": "Bibliothek", + "cw_lib_title_unread": "Titel nicht gelesen", + "cw_lib_unread_compressed": "Dieses Image ist komprimiert, daher kann die Konsole den Titel darin nicht lesen. Es wird mit der Titel-ID aus seinem Dateinamen angezeigt.", + "cw_lib_unread_other": "Die Konsole konnte den Titel in diesem Image nicht lesen, daher wird es mit der Titel-ID aus seinem Dateinamen angezeigt.", "cw_minion_off_title": "PS5Upload Minion ist aus", "cw_nav_files": "Dateien", "cw_nav_home": "Start", diff --git a/client/src/console/locales/en.json b/client/src/console/locales/en.json index 5eecd7730..a516d6beb 100644 --- a/client/src/console/locales/en.json +++ b/client/src/console/locales/en.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "This PS5", "cw_lib_this_fw": "this PS5: {fw}", "cw_lib_title": "Library", + "cw_lib_title_unread": "Title not read", + "cw_lib_unread_compressed": "This image is compressed, so the console can't read the title inside it. It is shown by the title id in its file name.", + "cw_lib_unread_other": "The console couldn't read the title inside this image, so it is shown by the title id in its file name.", "cw_minion_off_title": "PS5Upload Minion is off", "cw_nav_files": "Files", "cw_nav_home": "Home", diff --git a/client/src/console/locales/es.json b/client/src/console/locales/es.json index 1fd0773b2..f17a00ef4 100644 --- a/client/src/console/locales/es.json +++ b/client/src/console/locales/es.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Esta PS5", "cw_lib_this_fw": "esta PS5: {fw}", "cw_lib_title": "Biblioteca", + "cw_lib_title_unread": "Título no leído", + "cw_lib_unread_compressed": "Esta imagen está comprimida, así que la consola no puede leer el título que contiene. Se muestra con el ID de título de su nombre de archivo.", + "cw_lib_unread_other": "La consola no pudo leer el título de esta imagen, así que se muestra con el ID de título de su nombre de archivo.", "cw_minion_off_title": "PS5Upload Minion está desactivado", "cw_nav_files": "Archivos", "cw_nav_home": "Inicio", diff --git a/client/src/console/locales/fa.json b/client/src/console/locales/fa.json index bfe8be7fc..a878fde49 100644 --- a/client/src/console/locales/fa.json +++ b/client/src/console/locales/fa.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "این PS5", "cw_lib_this_fw": "این PS5: {fw}", "cw_lib_title": "کتابخانه", + "cw_lib_title_unread": "عنوان خوانده نشد", + "cw_lib_unread_compressed": "این ایمیج فشرده است، پس کنسول نمی‌تواند عنوان داخل آن را بخواند. با شناسهٔ عنوانِ نام فایلش نمایش داده می‌شود.", + "cw_lib_unread_other": "کنسول نتوانست عنوان داخل این ایمیج را بخواند، پس با شناسهٔ عنوانِ نام فایلش نمایش داده می‌شود.", "cw_minion_off_title": "PS5Upload Minion خاموش است", "cw_nav_files": "فایل‌ها", "cw_nav_home": "خانه", diff --git a/client/src/console/locales/fr.json b/client/src/console/locales/fr.json index 693cae845..7fc67689d 100644 --- a/client/src/console/locales/fr.json +++ b/client/src/console/locales/fr.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Cette PS5", "cw_lib_this_fw": "cette PS5 : {fw}", "cw_lib_title": "Bibliothèque", + "cw_lib_title_unread": "Titre non lu", + "cw_lib_unread_compressed": "Cette image est compressée : la console ne peut pas lire le titre qu'elle contient. Elle est affichée avec l'ID de titre de son nom de fichier.", + "cw_lib_unread_other": "La console n'a pas pu lire le titre contenu dans cette image : elle est affichée avec l'ID de titre de son nom de fichier.", "cw_minion_off_title": "PS5Upload Minion est désactivé", "cw_nav_files": "Fichiers", "cw_nav_home": "Accueil", diff --git a/client/src/console/locales/hi.json b/client/src/console/locales/hi.json index 55a6394de..8a4bebe63 100644 --- a/client/src/console/locales/hi.json +++ b/client/src/console/locales/hi.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "यह PS5", "cw_lib_this_fw": "यह PS5: {fw}", "cw_lib_title": "लाइब्रेरी", + "cw_lib_title_unread": "शीर्षक नहीं पढ़ा गया", + "cw_lib_unread_compressed": "यह इमेज संपीड़ित है, इसलिए कंसोल इसके अंदर का शीर्षक नहीं पढ़ सकता। इसे फ़ाइल नाम में दिए टाइटल आईडी से दिखाया गया है।", + "cw_lib_unread_other": "कंसोल इस इमेज के अंदर का शीर्षक नहीं पढ़ सका, इसलिए इसे फ़ाइल नाम में दिए टाइटल आईडी से दिखाया गया है।", "cw_minion_off_title": "PS5Upload Minion बंद है", "cw_nav_files": "फ़ाइलें", "cw_nav_home": "होम", diff --git a/client/src/console/locales/hu.json b/client/src/console/locales/hu.json index 3f030c215..4591b23ae 100644 --- a/client/src/console/locales/hu.json +++ b/client/src/console/locales/hu.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Ez a PS5", "cw_lib_this_fw": "ez a PS5: {fw}", "cw_lib_title": "Könyvtár", + "cw_lib_title_unread": "A cím nincs beolvasva", + "cw_lib_unread_compressed": "Ez a képfájl tömörített, ezért a konzol nem tudja beolvasni a benne lévő címet. A fájlnevében szereplő címazonosítóval jelenik meg.", + "cw_lib_unread_other": "A konzol nem tudta beolvasni a képfájlban lévő címet, ezért a fájlnevében szereplő címazonosítóval jelenik meg.", "cw_minion_off_title": "A PS5Upload Minion ki van kapcsolva", "cw_nav_files": "Fájlok", "cw_nav_home": "Kezdőlap", diff --git a/client/src/console/locales/id.json b/client/src/console/locales/id.json index d1cc45755..77882286f 100644 --- a/client/src/console/locales/id.json +++ b/client/src/console/locales/id.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "PS5 ini", "cw_lib_this_fw": "PS5 ini: {fw}", "cw_lib_title": "Pustaka", + "cw_lib_title_unread": "Judul tidak terbaca", + "cw_lib_unread_compressed": "Image ini terkompresi, jadi konsol tidak bisa membaca judul di dalamnya. Ditampilkan dengan ID judul dari nama filenya.", + "cw_lib_unread_other": "Konsol tidak bisa membaca judul di dalam image ini, jadi ditampilkan dengan ID judul dari nama filenya.", "cw_minion_off_title": "PS5Upload Minion nonaktif", "cw_nav_files": "File", "cw_nav_home": "Beranda", diff --git a/client/src/console/locales/it.json b/client/src/console/locales/it.json index 45840cde3..d85f577ea 100644 --- a/client/src/console/locales/it.json +++ b/client/src/console/locales/it.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Questa PS5", "cw_lib_this_fw": "questa PS5: {fw}", "cw_lib_title": "Libreria", + "cw_lib_title_unread": "Titolo non letto", + "cw_lib_unread_compressed": "Questa immagine è compressa, quindi la console non può leggerne il titolo. Viene mostrata con l'ID titolo presente nel nome del file.", + "cw_lib_unread_other": "La console non è riuscita a leggere il titolo in questa immagine, quindi viene mostrata con l'ID titolo presente nel nome del file.", "cw_minion_off_title": "PS5Upload Minion è disattivato", "cw_nav_files": "File", "cw_nav_home": "Home", diff --git a/client/src/console/locales/ja.json b/client/src/console/locales/ja.json index b862cb0da..9bee76c75 100644 --- a/client/src/console/locales/ja.json +++ b/client/src/console/locales/ja.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "この PS5", "cw_lib_this_fw": "この PS5: {fw}", "cw_lib_title": "ライブラリ", + "cw_lib_title_unread": "タイトル未読み取り", + "cw_lib_unread_compressed": "このイメージは圧縮されているため、本体は中のタイトルを読み取れません。ファイル名のタイトル ID で表示しています。", + "cw_lib_unread_other": "本体はこのイメージ内のタイトルを読み取れなかったため、ファイル名のタイトル ID で表示しています。", "cw_minion_off_title": "PS5Upload Minion はオフです", "cw_nav_files": "ファイル", "cw_nav_home": "ホーム", diff --git a/client/src/console/locales/ko.json b/client/src/console/locales/ko.json index fdaa1df91..c3c8cf412 100644 --- a/client/src/console/locales/ko.json +++ b/client/src/console/locales/ko.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "이 PS5", "cw_lib_this_fw": "이 PS5: {fw}", "cw_lib_title": "라이브러리", + "cw_lib_title_unread": "제목을 읽지 못함", + "cw_lib_unread_compressed": "이 이미지는 압축되어 있어 콘솔이 안의 제목을 읽을 수 없습니다. 파일 이름의 타이틀 ID로 표시됩니다.", + "cw_lib_unread_other": "콘솔이 이 이미지 안의 제목을 읽지 못해 파일 이름의 타이틀 ID로 표시됩니다.", "cw_minion_off_title": "PS5Upload Minion이 꺼졌습니다", "cw_nav_files": "파일", "cw_nav_home": "홈", diff --git a/client/src/console/locales/pl.json b/client/src/console/locales/pl.json index e22937e98..420d4de3e 100644 --- a/client/src/console/locales/pl.json +++ b/client/src/console/locales/pl.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Ta PS5", "cw_lib_this_fw": "ta PS5: {fw}", "cw_lib_title": "Biblioteka", + "cw_lib_title_unread": "Tytuł nieodczytany", + "cw_lib_unread_compressed": "Ten obraz jest skompresowany, więc konsola nie może odczytać tytułu w środku. Jest pokazany z identyfikatorem tytułu z nazwy pliku.", + "cw_lib_unread_other": "Konsola nie mogła odczytać tytułu z tego obrazu, więc jest pokazany z identyfikatorem tytułu z nazwy pliku.", "cw_minion_off_title": "PS5Upload Minion jest wyłączony", "cw_nav_files": "Pliki", "cw_nav_home": "Start", diff --git a/client/src/console/locales/pt-BR.json b/client/src/console/locales/pt-BR.json index 6b2ece5e4..7fda23996 100644 --- a/client/src/console/locales/pt-BR.json +++ b/client/src/console/locales/pt-BR.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Este PS5", "cw_lib_this_fw": "este PS5: {fw}", "cw_lib_title": "Biblioteca", + "cw_lib_title_unread": "Título não lido", + "cw_lib_unread_compressed": "Esta imagem está compactada, então o console não consegue ler o título dentro dela. Ela aparece com o ID do título do nome do arquivo.", + "cw_lib_unread_other": "O console não conseguiu ler o título dentro desta imagem, então ela aparece com o ID do título do nome do arquivo.", "cw_minion_off_title": "O PS5Upload Minion está desligado", "cw_nav_files": "Arquivos", "cw_nav_home": "Início", diff --git a/client/src/console/locales/ru.json b/client/src/console/locales/ru.json index ba31df7fd..97fff0c9f 100644 --- a/client/src/console/locales/ru.json +++ b/client/src/console/locales/ru.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Эта PS5", "cw_lib_this_fw": "эта PS5: {fw}", "cw_lib_title": "Библиотека", + "cw_lib_title_unread": "Название не прочитано", + "cw_lib_unread_compressed": "Этот образ сжат, поэтому консоль не может прочитать название внутри. Он показан по ID игры из имени файла.", + "cw_lib_unread_other": "Консоль не смогла прочитать название внутри этого образа, поэтому он показан по ID игры из имени файла.", "cw_minion_off_title": "PS5Upload Minion выключен", "cw_nav_files": "Файлы", "cw_nav_home": "Главная", diff --git a/client/src/console/locales/th.json b/client/src/console/locales/th.json index 70bf121ef..0c592213d 100644 --- a/client/src/console/locales/th.json +++ b/client/src/console/locales/th.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "PS5 เครื่องนี้", "cw_lib_this_fw": "PS5 เครื่องนี้: {fw}", "cw_lib_title": "คลังเกม", + "cw_lib_title_unread": "ไม่ได้อ่านชื่อเกม", + "cw_lib_unread_compressed": "อิมเมจนี้ถูกบีบอัด คอนโซลจึงอ่านชื่อเกมข้างในไม่ได้ จึงแสดงด้วยรหัสเกมจากชื่อไฟล์", + "cw_lib_unread_other": "คอนโซลอ่านชื่อเกมในอิมเมจนี้ไม่ได้ จึงแสดงด้วยรหัสเกมจากชื่อไฟล์", "cw_minion_off_title": "PS5Upload Minion ปิดอยู่", "cw_nav_files": "ไฟล์", "cw_nav_home": "หน้าหลัก", diff --git a/client/src/console/locales/tr.json b/client/src/console/locales/tr.json index 105b7e649..4c7d82232 100644 --- a/client/src/console/locales/tr.json +++ b/client/src/console/locales/tr.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "Bu PS5", "cw_lib_this_fw": "bu PS5: {fw}", "cw_lib_title": "Kitaplık", + "cw_lib_title_unread": "Başlık okunamadı", + "cw_lib_unread_compressed": "Bu imaj sıkıştırılmış, bu yüzden konsol içindeki başlığı okuyamıyor. Dosya adındaki başlık kimliğiyle gösteriliyor.", + "cw_lib_unread_other": "Konsol bu imajın içindeki başlığı okuyamadı, bu yüzden dosya adındaki başlık kimliğiyle gösteriliyor.", "cw_minion_off_title": "PS5Upload Minion kapalı", "cw_nav_files": "Dosyalar", "cw_nav_home": "Ana sayfa", diff --git a/client/src/console/locales/vi.json b/client/src/console/locales/vi.json index cafba027b..ad83378de 100644 --- a/client/src/console/locales/vi.json +++ b/client/src/console/locales/vi.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "PS5 này", "cw_lib_this_fw": "PS5 này: {fw}", "cw_lib_title": "Thư viện", + "cw_lib_title_unread": "Chưa đọc được tên", + "cw_lib_unread_compressed": "Ảnh đĩa này được nén nên máy không đọc được tên game bên trong. Nó được hiển thị bằng mã game trong tên tệp.", + "cw_lib_unread_other": "Máy không đọc được tên game bên trong ảnh đĩa này nên nó được hiển thị bằng mã game trong tên tệp.", "cw_minion_off_title": "PS5Upload Minion đã tắt", "cw_nav_files": "Tệp", "cw_nav_home": "Trang chủ", diff --git a/client/src/console/locales/zh-CN.json b/client/src/console/locales/zh-CN.json index 0e5c5478c..8c7cb3aad 100644 --- a/client/src/console/locales/zh-CN.json +++ b/client/src/console/locales/zh-CN.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "这台 PS5", "cw_lib_this_fw": "本机: {fw}", "cw_lib_title": "游戏库", + "cw_lib_title_unread": "未读取标题", + "cw_lib_unread_compressed": "此镜像已压缩,主机无法读取其中的标题,因此按文件名中的标题 ID 显示。", + "cw_lib_unread_other": "主机无法读取此镜像中的标题,因此按文件名中的标题 ID 显示。", "cw_minion_off_title": "PS5Upload Minion 已关闭", "cw_nav_files": "文件", "cw_nav_home": "主页", diff --git a/client/src/console/locales/zh-TW.json b/client/src/console/locales/zh-TW.json index 126eda956..2e95de718 100644 --- a/client/src/console/locales/zh-TW.json +++ b/client/src/console/locales/zh-TW.json @@ -950,6 +950,9 @@ "cw_lib_this_console": "這台 PS5", "cw_lib_this_fw": "本機: {fw}", "cw_lib_title": "遊戲庫", + "cw_lib_title_unread": "未讀取標題", + "cw_lib_unread_compressed": "此映像已壓縮,主機無法讀取其中的標題,因此依檔名中的標題 ID 顯示。", + "cw_lib_unread_other": "主機無法讀取此映像中的標題,因此依檔名中的標題 ID 顯示。", "cw_minion_off_title": "PS5Upload Minion 已關閉", "cw_nav_files": "檔案", "cw_nav_home": "首頁", diff --git a/client/src/i18n/locales/ar.ts b/client/src/i18n/locales/ar.ts index db935b338..e4608be72 100644 --- a/client/src/i18n/locales/ar.ts +++ b/client/src/i18n/locales/ar.ts @@ -5785,6 +5785,9 @@ c2c_test_deep_bad: "لم يصل الإرسال التجريبي بحجم 4 KiB: "cw_lib_badge_update": "تحديث {version}", "cw_lib_badge_dlc": "{n} محتوى إضافي", "cw_lib_badge_copies": "{n} نسخ", +"cw_lib_title_unread": "لم يُقرأ العنوان", +"cw_lib_unread_compressed": "هذه الصورة مضغوطة، لذا لا يستطيع الجهاز قراءة العنوان داخلها. تُعرض بمعرّف العنوان الموجود في اسم ملفها.", +"cw_lib_unread_other": "تعذّر على الجهاز قراءة العنوان داخل هذه الصورة، لذا تُعرض بمعرّف العنوان الموجود في اسم ملفها.", "cw_lib_fw_newer": "يحتاج إلى برنامج النظام {need}، وهذا الـ PS5 على {have}. قد لا يعمل ما لم يُنقل لإصدار أقدم (backport).", "cw_lib_parts": "المحتويات ({n})", "cw_files_up_phone": "الرفع من هاتف", diff --git a/client/src/i18n/locales/bn.ts b/client/src/i18n/locales/bn.ts index ea15ef4b2..3c62ee3cd 100644 --- a/client/src/i18n/locales/bn.ts +++ b/client/src/i18n/locales/bn.ts @@ -5785,6 +5785,9 @@ c2c_test_deep_bad: "4 KiB-এর পরীক্ষামূলক পাঠা "cw_lib_badge_update": "আপডেট {version}", "cw_lib_badge_dlc": "{n}টি DLC", "cw_lib_badge_copies": "{n}টি কপি", +"cw_lib_title_unread": "শিরোনাম পড়া হয়নি", +"cw_lib_unread_compressed": "এই ইমেজটি সংকুচিত, তাই কনসোল এর ভেতরের শিরোনাম পড়তে পারে না। এটি ফাইলের নামে থাকা টাইটেল আইডি দিয়ে দেখানো হচ্ছে।", +"cw_lib_unread_other": "কনসোল এই ইমেজের ভেতরের শিরোনাম পড়তে পারেনি, তাই এটি ফাইলের নামে থাকা টাইটেল আইডি দিয়ে দেখানো হচ্ছে।", "cw_lib_fw_newer": "এটির সিস্টেম সফটওয়্যার {need} দরকার; এই PS5 {have}-এ আছে। ব্যাকপোর্ট না করলে এটি চালু নাও হতে পারে।", "cw_lib_parts": "যা আছে ({n})", "cw_files_up_phone": "ফোন থেকে আপলোড", diff --git a/client/src/i18n/locales/de.ts b/client/src/i18n/locales/de.ts index 6029a4368..38ea1390f 100644 --- a/client/src/i18n/locales/de.ts +++ b/client/src/i18n/locales/de.ts @@ -5793,6 +5793,9 @@ c2c_test_deep_bad: "Die 4-KiB-Testsendung ist nicht angekommen: {detail}", "cw_lib_badge_update": "Aktualisierung {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} Kopien", +"cw_lib_title_unread": "Titel nicht gelesen", +"cw_lib_unread_compressed": "Dieses Image ist komprimiert, daher kann die Konsole den Titel darin nicht lesen. Es wird mit der Titel-ID aus seinem Dateinamen angezeigt.", +"cw_lib_unread_other": "Die Konsole konnte den Titel in diesem Image nicht lesen, daher wird es mit der Titel-ID aus seinem Dateinamen angezeigt.", "cw_lib_fw_newer": "Benötigt Systemsoftware {need}; diese PS5 hat {have}. Ohne Backport startet es eventuell nicht.", "cw_lib_parts": "Vorhanden ({n})", "cw_files_up_phone": "Vom Handy hochladen", diff --git a/client/src/i18n/locales/en.ts b/client/src/i18n/locales/en.ts index 800c010dd..8df1301c0 100644 --- a/client/src/i18n/locales/en.ts +++ b/client/src/i18n/locales/en.ts @@ -6096,6 +6096,9 @@ fs_tag_folder: "Folder", "cw_lib_badge_update": "Update {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} copies", +"cw_lib_title_unread": "Title not read", +"cw_lib_unread_compressed": "This image is compressed, so the console can't read the title inside it. It is shown by the title id in its file name.", +"cw_lib_unread_other": "The console couldn't read the title inside this image, so it is shown by the title id in its file name.", "cw_lib_fw_newer": "It needs system software {need}; this PS5 is on {have}. It may not start unless it is backported.", "cw_lib_parts": "What's here ({n})", "cw_files_up_phone": "Upload from a phone", diff --git a/client/src/i18n/locales/es.ts b/client/src/i18n/locales/es.ts index a89cb7232..b9b66aa31 100644 --- a/client/src/i18n/locales/es.ts +++ b/client/src/i18n/locales/es.ts @@ -5738,6 +5738,9 @@ c2c_test_deep_bad: "El envío de prueba de 4 KiB no llegó: {detail}", "cw_lib_badge_update": "Actualización {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} copias", +"cw_lib_title_unread": "Título no leído", +"cw_lib_unread_compressed": "Esta imagen está comprimida, así que la consola no puede leer el título que contiene. Se muestra con el ID de título de su nombre de archivo.", +"cw_lib_unread_other": "La consola no pudo leer el título de esta imagen, así que se muestra con el ID de título de su nombre de archivo.", "cw_lib_fw_newer": "Necesita el software del sistema {need}; esta PS5 tiene {have}. Puede que no arranque si no se le hace backport.", "cw_lib_parts": "Contenido ({n})", "cw_files_up_phone": "Subir desde un móvil", diff --git a/client/src/i18n/locales/fa.ts b/client/src/i18n/locales/fa.ts index 1d00f7cb3..83e8685eb 100644 --- a/client/src/i18n/locales/fa.ts +++ b/client/src/i18n/locales/fa.ts @@ -6063,6 +6063,9 @@ c2c_test_deep_bad: "ارسال آزمایشی ۴ KiB نرسید: {detail}", "cw_lib_badge_update": "به‌روزرسانی {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} نسخه", +"cw_lib_title_unread": "عنوان خوانده نشد", +"cw_lib_unread_compressed": "این ایمیج فشرده است، پس کنسول نمی‌تواند عنوان داخل آن را بخواند. با شناسهٔ عنوانِ نام فایلش نمایش داده می‌شود.", +"cw_lib_unread_other": "کنسول نتوانست عنوان داخل این ایمیج را بخواند، پس با شناسهٔ عنوانِ نام فایلش نمایش داده می‌شود.", "cw_lib_fw_newer": "به نرم‌افزار سیستم {need} نیاز دارد؛ این PS5 روی {have} است. ممکن است بدون بک‌پورت اجرا نشود.", "cw_lib_parts": "موارد موجود ({n})", "cw_files_up_phone": "بارگذاری از گوشی", diff --git a/client/src/i18n/locales/fr.ts b/client/src/i18n/locales/fr.ts index 594836157..9105d64ce 100644 --- a/client/src/i18n/locales/fr.ts +++ b/client/src/i18n/locales/fr.ts @@ -5801,6 +5801,9 @@ c2c_test_deep_bad: "L’envoi test de 4 Kio n’est pas arrivé : {detail}", "cw_lib_badge_update": "Mise à jour {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} copies", +"cw_lib_title_unread": "Titre non lu", +"cw_lib_unread_compressed": "Cette image est compressée : la console ne peut pas lire le titre qu'elle contient. Elle est affichée avec l'ID de titre de son nom de fichier.", +"cw_lib_unread_other": "La console n'a pas pu lire le titre contenu dans cette image : elle est affichée avec l'ID de titre de son nom de fichier.", "cw_lib_fw_newer": "Il faut le logiciel système {need} ; cette PS5 est en {have}. Il risque de ne pas démarrer sans backport.", "cw_lib_parts": "Contenu ({n})", "cw_files_up_phone": "Envoyer depuis un téléphone", diff --git a/client/src/i18n/locales/hi.ts b/client/src/i18n/locales/hi.ts index 4025fa8e6..64ea34999 100644 --- a/client/src/i18n/locales/hi.ts +++ b/client/src/i18n/locales/hi.ts @@ -5799,6 +5799,9 @@ c2c_test_deep_bad: "4 KiB का परीक्षण नहीं पहुँ "cw_lib_badge_update": "अपडेट {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} कॉपियाँ", +"cw_lib_title_unread": "शीर्षक नहीं पढ़ा गया", +"cw_lib_unread_compressed": "यह इमेज संपीड़ित है, इसलिए कंसोल इसके अंदर का शीर्षक नहीं पढ़ सकता। इसे फ़ाइल नाम में दिए टाइटल आईडी से दिखाया गया है।", +"cw_lib_unread_other": "कंसोल इस इमेज के अंदर का शीर्षक नहीं पढ़ सका, इसलिए इसे फ़ाइल नाम में दिए टाइटल आईडी से दिखाया गया है।", "cw_lib_fw_newer": "इसे सिस्टम सॉफ़्टवेयर {need} चाहिए; यह PS5 {have} पर है। बैकपोर्ट किए बिना यह शायद शुरू न हो।", "cw_lib_parts": "क्या-क्या है ({n})", "cw_files_up_phone": "फ़ोन से अपलोड", diff --git a/client/src/i18n/locales/hu.ts b/client/src/i18n/locales/hu.ts index a268cb13a..c9edad0cc 100644 --- a/client/src/i18n/locales/hu.ts +++ b/client/src/i18n/locales/hu.ts @@ -6077,6 +6077,9 @@ c2c_test_deep_bad: "A 4 KiB-os tesztküldés nem érkezett meg: {detail}", "cw_lib_badge_update": "Frissítés {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} példány", +"cw_lib_title_unread": "A cím nincs beolvasva", +"cw_lib_unread_compressed": "Ez a képfájl tömörített, ezért a konzol nem tudja beolvasni a benne lévő címet. A fájlnevében szereplő címazonosítóval jelenik meg.", +"cw_lib_unread_other": "A konzol nem tudta beolvasni a képfájlban lévő címet, ezért a fájlnevében szereplő címazonosítóval jelenik meg.", "cw_lib_fw_newer": "{need} rendszerszoftvert igényel; ez a PS5 {have} verziót futtat. Visszaportolás nélkül lehet, hogy nem indul el.", "cw_lib_parts": "Tartalom ({n})", "cw_files_up_phone": "Feltöltés telefonról", diff --git a/client/src/i18n/locales/id.ts b/client/src/i18n/locales/id.ts index 367796be3..c797a3bfb 100644 --- a/client/src/i18n/locales/id.ts +++ b/client/src/i18n/locales/id.ts @@ -5794,6 +5794,9 @@ c2c_test_deep_bad: "Kiriman uji 4 KiB tidak tiba: {detail}", "cw_lib_badge_update": "Pembaruan {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} salinan", +"cw_lib_title_unread": "Judul tidak terbaca", +"cw_lib_unread_compressed": "Image ini terkompresi, jadi konsol tidak bisa membaca judul di dalamnya. Ditampilkan dengan ID judul dari nama filenya.", +"cw_lib_unread_other": "Konsol tidak bisa membaca judul di dalam image ini, jadi ditampilkan dengan ID judul dari nama filenya.", "cw_lib_fw_newer": "Butuh perangkat lunak sistem {need}; PS5 ini memakai {have}. Mungkin tidak mau berjalan kecuali di-backport.", "cw_lib_parts": "Isi ({n})", "cw_files_up_phone": "Unggah dari ponsel", diff --git a/client/src/i18n/locales/it.ts b/client/src/i18n/locales/it.ts index 075af192b..77d20b3e6 100644 --- a/client/src/i18n/locales/it.ts +++ b/client/src/i18n/locales/it.ts @@ -5738,6 +5738,9 @@ c2c_test_deep_bad: "L’invio di prova di 4 KiB non è arrivato: {detail}", "cw_lib_badge_update": "Aggiornamento {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} copie", +"cw_lib_title_unread": "Titolo non letto", +"cw_lib_unread_compressed": "Questa immagine è compressa, quindi la console non può leggerne il titolo. Viene mostrata con l'ID titolo presente nel nome del file.", +"cw_lib_unread_other": "La console non è riuscita a leggere il titolo in questa immagine, quindi viene mostrata con l'ID titolo presente nel nome del file.", "cw_lib_fw_newer": "Richiede il software di sistema {need}; questa PS5 ha {have}. Potrebbe non avviarsi senza backport.", "cw_lib_parts": "Contenuto ({n})", "cw_files_up_phone": "Carica da un telefono", diff --git a/client/src/i18n/locales/ja.ts b/client/src/i18n/locales/ja.ts index d497915c6..6e2b176d9 100644 --- a/client/src/i18n/locales/ja.ts +++ b/client/src/i18n/locales/ja.ts @@ -5804,6 +5804,9 @@ c2c_test_deep_bad: "4 KiB のテスト送信が届きませんでした: {detail "cw_lib_badge_update": "アップデート {version}", "cw_lib_badge_dlc": "DLC {n} 件", "cw_lib_badge_copies": "{n} 個のコピー", +"cw_lib_title_unread": "タイトル未読み取り", +"cw_lib_unread_compressed": "このイメージは圧縮されているため、本体は中のタイトルを読み取れません。ファイル名のタイトル ID で表示しています。", +"cw_lib_unread_other": "本体はこのイメージ内のタイトルを読み取れなかったため、ファイル名のタイトル ID で表示しています。", "cw_lib_fw_newer": "システムソフトウェア {need} が必要です。この PS5 は {have} です。バックポートしないと起動しない場合があります。", "cw_lib_parts": "内容 ({n})", "cw_files_up_phone": "スマホからアップロード", diff --git a/client/src/i18n/locales/ko.ts b/client/src/i18n/locales/ko.ts index 1148df096..6d4f372ca 100644 --- a/client/src/i18n/locales/ko.ts +++ b/client/src/i18n/locales/ko.ts @@ -5802,6 +5802,9 @@ c2c_test_deep_bad: "4 KiB 테스트 전송이 도착하지 않았습니다: {det "cw_lib_badge_update": "업데이트 {version}", "cw_lib_badge_dlc": "DLC {n}개", "cw_lib_badge_copies": "사본 {n}개", +"cw_lib_title_unread": "제목을 읽지 못함", +"cw_lib_unread_compressed": "이 이미지는 압축되어 있어 콘솔이 안의 제목을 읽을 수 없습니다. 파일 이름의 타이틀 ID로 표시됩니다.", +"cw_lib_unread_other": "콘솔이 이 이미지 안의 제목을 읽지 못해 파일 이름의 타이틀 ID로 표시됩니다.", "cw_lib_fw_newer": "시스템 소프트웨어 {need}이(가) 필요합니다. 이 PS5는 {have}입니다. 백포트하지 않으면 실행되지 않을 수 있습니다.", "cw_lib_parts": "구성 ({n})", "cw_files_up_phone": "휴대폰에서 업로드", diff --git a/client/src/i18n/locales/pl.ts b/client/src/i18n/locales/pl.ts index 999872d81..39acbfe20 100644 --- a/client/src/i18n/locales/pl.ts +++ b/client/src/i18n/locales/pl.ts @@ -6022,6 +6022,9 @@ c2c_test_deep_bad: "Testowa wysyłka 4 KiB nie dotarła: {detail}", "cw_lib_badge_update": "Aktualizacja {version}", "cw_lib_badge_dlc": "DLC: {n}", "cw_lib_badge_copies": "Kopie: {n}", +"cw_lib_title_unread": "Tytuł nieodczytany", +"cw_lib_unread_compressed": "Ten obraz jest skompresowany, więc konsola nie może odczytać tytułu w środku. Jest pokazany z identyfikatorem tytułu z nazwy pliku.", +"cw_lib_unread_other": "Konsola nie mogła odczytać tytułu z tego obrazu, więc jest pokazany z identyfikatorem tytułu z nazwy pliku.", "cw_lib_fw_newer": "Wymaga oprogramowania systemowego {need}; ta PS5 ma {have}. Bez backportu może się nie uruchomić.", "cw_lib_parts": "Zawartość ({n})", "cw_files_up_phone": "Wyślij z telefonu", diff --git a/client/src/i18n/locales/pt-BR.ts b/client/src/i18n/locales/pt-BR.ts index 478c0874c..6cc0e700c 100644 --- a/client/src/i18n/locales/pt-BR.ts +++ b/client/src/i18n/locales/pt-BR.ts @@ -5800,6 +5800,9 @@ c2c_test_deep_bad: "O envio de teste de 4 KiB não chegou: {detail}", "cw_lib_badge_update": "Atualização {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} cópias", +"cw_lib_title_unread": "Título não lido", +"cw_lib_unread_compressed": "Esta imagem está compactada, então o console não consegue ler o título dentro dela. Ela aparece com o ID do título do nome do arquivo.", +"cw_lib_unread_other": "O console não conseguiu ler o título dentro desta imagem, então ela aparece com o ID do título do nome do arquivo.", "cw_lib_fw_newer": "Precisa do software do sistema {need}; este PS5 está em {have}. Pode não iniciar sem backport.", "cw_lib_parts": "Conteúdo ({n})", "cw_files_up_phone": "Enviar do celular", diff --git a/client/src/i18n/locales/ru.ts b/client/src/i18n/locales/ru.ts index 16459a381..d73c7acd2 100644 --- a/client/src/i18n/locales/ru.ts +++ b/client/src/i18n/locales/ru.ts @@ -5738,6 +5738,9 @@ c2c_test_deep_bad: "Тестовая отправка 4 КиБ не дошла: "cw_lib_badge_update": "Обновление {version}", "cw_lib_badge_dlc": "DLC: {n}", "cw_lib_badge_copies": "Копий: {n}", +"cw_lib_title_unread": "Название не прочитано", +"cw_lib_unread_compressed": "Этот образ сжат, поэтому консоль не может прочитать название внутри. Он показан по ID игры из имени файла.", +"cw_lib_unread_other": "Консоль не смогла прочитать название внутри этого образа, поэтому он показан по ID игры из имени файла.", "cw_lib_fw_newer": "Требуется системное ПО {need}; на этой PS5 — {have}. Без бэкпорта игра может не запуститься.", "cw_lib_parts": "Состав ({n})", "cw_files_up_phone": "Загрузить с телефона", diff --git a/client/src/i18n/locales/th.ts b/client/src/i18n/locales/th.ts index b5d38bbb1..86b101317 100644 --- a/client/src/i18n/locales/th.ts +++ b/client/src/i18n/locales/th.ts @@ -5792,6 +5792,9 @@ c2c_test_deep_bad: "การส่งทดสอบ 4 KiB ไปไม่ถ "cw_lib_badge_update": "อัปเดต {version}", "cw_lib_badge_dlc": "DLC {n} รายการ", "cw_lib_badge_copies": "{n} สำเนา", +"cw_lib_title_unread": "ไม่ได้อ่านชื่อเกม", +"cw_lib_unread_compressed": "อิมเมจนี้ถูกบีบอัด คอนโซลจึงอ่านชื่อเกมข้างในไม่ได้ จึงแสดงด้วยรหัสเกมจากชื่อไฟล์", +"cw_lib_unread_other": "คอนโซลอ่านชื่อเกมในอิมเมจนี้ไม่ได้ จึงแสดงด้วยรหัสเกมจากชื่อไฟล์", "cw_lib_fw_newer": "ต้องใช้ซอฟต์แวร์ระบบ {need} แต่ PS5 เครื่องนี้เป็น {have} อาจเปิดไม่ได้หากไม่ได้แบ็กพอร์ต", "cw_lib_parts": "รายการที่มี ({n})", "cw_files_up_phone": "อัปโหลดจากโทรศัพท์", diff --git a/client/src/i18n/locales/tr.ts b/client/src/i18n/locales/tr.ts index 6397574b7..8eab5c79d 100644 --- a/client/src/i18n/locales/tr.ts +++ b/client/src/i18n/locales/tr.ts @@ -5792,6 +5792,9 @@ c2c_test_deep_bad: "4 KiB'lik test gönderimi ulaşmadı: {detail}", "cw_lib_badge_update": "Güncelleme {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} kopya", +"cw_lib_title_unread": "Başlık okunamadı", +"cw_lib_unread_compressed": "Bu imaj sıkıştırılmış, bu yüzden konsol içindeki başlığı okuyamıyor. Dosya adındaki başlık kimliğiyle gösteriliyor.", +"cw_lib_unread_other": "Konsol bu imajın içindeki başlığı okuyamadı, bu yüzden dosya adındaki başlık kimliğiyle gösteriliyor.", "cw_lib_fw_newer": "{need} sistem yazılımı gerekiyor; bu PS5'te {have} var. Backport yapılmazsa açılmayabilir.", "cw_lib_parts": "İçerik ({n})", "cw_files_up_phone": "Telefondan yükle", diff --git a/client/src/i18n/locales/vi.ts b/client/src/i18n/locales/vi.ts index d53f5cde5..d01de67c0 100644 --- a/client/src/i18n/locales/vi.ts +++ b/client/src/i18n/locales/vi.ts @@ -5787,6 +5787,9 @@ c2c_test_deep_bad: "Lượt gửi thử 4 KiB không tới: {detail}", "cw_lib_badge_update": "Bản cập nhật {version}", "cw_lib_badge_dlc": "{n} DLC", "cw_lib_badge_copies": "{n} bản sao", +"cw_lib_title_unread": "Chưa đọc được tên", +"cw_lib_unread_compressed": "Ảnh đĩa này được nén nên máy không đọc được tên game bên trong. Nó được hiển thị bằng mã game trong tên tệp.", +"cw_lib_unread_other": "Máy không đọc được tên game bên trong ảnh đĩa này nên nó được hiển thị bằng mã game trong tên tệp.", "cw_lib_fw_newer": "Cần phần mềm hệ thống {need}; PS5 này đang ở {have}. Có thể không chạy nếu chưa backport.", "cw_lib_parts": "Nội dung ({n})", "cw_files_up_phone": "Tải lên từ điện thoại", diff --git a/client/src/i18n/locales/zh-CN.ts b/client/src/i18n/locales/zh-CN.ts index b0bb70c36..e305cf427 100644 --- a/client/src/i18n/locales/zh-CN.ts +++ b/client/src/i18n/locales/zh-CN.ts @@ -5744,6 +5744,9 @@ c2c_test_deep_bad: "4 KiB 测试发送未到达:{detail}", "cw_lib_badge_update": "更新 {version}", "cw_lib_badge_dlc": "{n} 个 DLC", "cw_lib_badge_copies": "{n} 份副本", +"cw_lib_title_unread": "未读取标题", +"cw_lib_unread_compressed": "此镜像已压缩,主机无法读取其中的标题,因此按文件名中的标题 ID 显示。", +"cw_lib_unread_other": "主机无法读取此镜像中的标题,因此按文件名中的标题 ID 显示。", "cw_lib_fw_newer": "需要系统软件 {need};本机为 {have}。未降级移植可能无法启动。", "cw_lib_parts": "包含内容 ({n})", "cw_files_up_phone": "从手机上传", diff --git a/client/src/i18n/locales/zh-TW.ts b/client/src/i18n/locales/zh-TW.ts index 58c7a894b..ecaceae79 100644 --- a/client/src/i18n/locales/zh-TW.ts +++ b/client/src/i18n/locales/zh-TW.ts @@ -5738,6 +5738,9 @@ c2c_test_deep_bad: "4 KiB 測試傳送未抵達:{detail}", "cw_lib_badge_update": "更新 {version}", "cw_lib_badge_dlc": "{n} 個 DLC", "cw_lib_badge_copies": "{n} 份副本", +"cw_lib_title_unread": "未讀取標題", +"cw_lib_unread_compressed": "此映像已壓縮,主機無法讀取其中的標題,因此依檔名中的標題 ID 顯示。", +"cw_lib_unread_other": "主機無法讀取此映像中的標題,因此依檔名中的標題 ID 顯示。", "cw_lib_fw_newer": "需要系統軟體 {need};本機為 {have}。未降級移植可能無法啟動。", "cw_lib_parts": "包含內容 ({n})", "cw_files_up_phone": "從手機上傳", diff --git a/scripts/i18n-source-hashes.json b/scripts/i18n-source-hashes.json index 72b17732c..88cdaaf39 100644 --- a/scripts/i18n-source-hashes.json +++ b/scripts/i18n-source-hashes.json @@ -2606,6 +2606,9 @@ "cw_lib_this_console": "54801fde UBjYcI0SctjbCtnXLHVeadDD0I3lqPlq6fE_tp8h1ewKMIPFI5EJaJKkC9eS", "cw_lib_this_fw": "40198bc8 gP9y4kSmM2-DXONeFlUt_n0hGwnYmShGL67cLfsmsssHhCxm-5F2PYzcsczd", "cw_lib_title": "dc20b3d5 n_RXJrcIYyRajf1cJrzRv9SFfMek8NosVag-lSIyRa1lnEKmRLYWBR9MnPOd", + "cw_lib_title_unread": "7bc59dc2 l3yO4s6fj5q140BvEQc0r6QQSS-CwydgoGdhWjTnnmPt5gjzvLaFvaoYGf2j", + "cw_lib_unread_compressed": "bb526d4c 90gp0EBkG5fMrJBAcB25obdgiXWTkKM3hCs8IA9HBwYnYXvKdZ25RynGoe_Z", + "cw_lib_unread_other": "76be87a5 5-THWsDYClfh3-ucwi_m8RIgcOwXd2pwx5YzFE3CsLu2cp-G2boY34yPYiov", "cw_minion_off_title": "ebcc0754 oOyk7FTVQ20RmFVt1kZseAnFuCdBsoXRCVUPX1wKqL1AIKJ-Zib6wKRSskiZ", "cw_nav_files": "abc7e989 vwpN5fCcz97PhG4x8FkrkjhHUACUACKznDINmBdwRRkIjVCbNuFs-0OZMoRr", "cw_nav_home": "3a786953 v89ky85LuWPz4iSUzFHXBRGpOunOnhSTOA0m5LuMl30yjGRm9GOi-QPg1p4L", From de1950a7ed907e9741ff047e98a70696adfb1c46 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:32:25 -0800 Subject: [PATCH 06/23] FAQ: how Minion names game images on shares (#963) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- FAQ.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index be432ad5b..94182411d 100644 --- a/FAQ.md +++ b/FAQ.md @@ -3492,7 +3492,11 @@ Minion, and shows the address to open. The SMB shares kept on the PS5: add them in Minion's **Files → Network shares**, or from the PC in **Shared Folders → Shares on the PS5**, which adds, edits and removes them and can copy a server you already saved (type the password again: the PS5 keeps its own encrypted copy). Minion -browses them in Files, and **Games → On Drives & Shares** shows the games on them. +browses them in Files, and **Games → On Drives & Shares** shows the games on them. A game image +(`.exfat`, `.ffpkg`, `.ffpfs`) shows the title and cover stored inside it, and copies of one game +on different shares or under different names are one card. A compressed `.ffpfsc` can't be read +on the console: it shows the title id from its file name, tagged **Title not read**. A rescan reads +only the images that are new or changed since the last one. **Q: Can I convert a game on the PS5 itself, without a computer?** Yes: Minion's **Convert** section makes an `.exfat`, `.ffpkg`, `.ffpfs` or a plain folder from a From fe40bfa697f77b0f86b5768cf8dceea54892e0d7 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:32:47 -0800 Subject: [PATCH 07/23] Payloads: show the saved Payload Manager list on On your PS5 again The tab counted the saved payloads but the list could stay hidden: it made its own second read of Payload Manager at the same moment as the tab's, and if that read failed its error replaced the whole list. The list now uses the overview the tab already reads, from its first render, and a later answer clears an earlier failed read. Tests cover 20 saved rows with their actions and the count matching. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- .../PayloadManagerPanel.saved.test.tsx | 83 +++ .../screens/Payloads/PayloadManagerPanel.tsx | 566 +++++++++++++++--- 2 files changed, 552 insertions(+), 97 deletions(-) create mode 100644 client/src/screens/Payloads/PayloadManagerPanel.saved.test.tsx diff --git a/client/src/screens/Payloads/PayloadManagerPanel.saved.test.tsx b/client/src/screens/Payloads/PayloadManagerPanel.saved.test.tsx new file mode 100644 index 000000000..a4d42c1d7 --- /dev/null +++ b/client/src/screens/Payloads/PayloadManagerPanel.saved.test.tsx @@ -0,0 +1,83 @@ +import { renderToStaticMarkup } from "react-dom/server"; +import { describe, expect, it, vi } from "vitest"; + +import type { PmOverview, PmStoredPayload } from "../../api/payloadManager"; +import PayloadManagerPanel from "./PayloadManagerPanel"; +import { payloadCount } from "./hub/pmMerge"; +import { usePmViewStore } from "./hub/pmViewStore"; + +vi.mock("../../state/connection", () => ({ + useConnectionStore: (sel: (s: { host: string }) => unknown) => + sel({ host: "192.168.1.50" }), +})); + +// No DOM here (vitest runs in node): static markup of the "On your PS5" saved list. +const HOST = "192.168.1.50"; +const saved = (i: number): PmStoredPayload => ({ + path: `/data/pldmgr/payloads/local/p${i}/payload-${i}.elf`, + slot: `local/p${i}`, + filename: `payload-${i}.elf`, + folder: `p${i}`, + name: `Payload ${i}`, + version: "", + source: "", + install_source: "", +}); +const overview = (n: number): PmOverview => ({ + present: true, + version: "0.6.0", + payloads: Array.from({ length: n }, (_, i) => saved(i + 1)), + payloadsError: null, + autoload: { enabled: true, delay_s: 0, list: ["local/p1"] }, + autoloadError: null, +}); +const count = (html: string, needle: string) => html.split(needle).length - 1; + +describe("Your payloads on the On your PS5 tab", () => { + it("lists every saved payload from the tab's overview, each with its actions", () => { + usePmViewStore.getState().put(HOST, overview(20)); + const html = renderToStaticMarkup(); + expect(html).toContain('data-testid="pm-saved-list"'); + expect(html).toContain("Your payloads · 20"); + expect(count(html, 'data-testid="pm-row-name"')).toBe(20); + expect(count(html, 'data-testid="pm-row-actions"')).toBe(20); + expect(count(html, "Launch { + usePmViewStore.getState().put(HOST, overview(3)); + const running = { + "/data/pldmgr/payloads/local/p2/payload-2.elf": { + pid: 120, + memoryMib: 4, + ours: false, + canStop: true, + busy: false, + onStop: () => undefined, + variants: [], + webUrl: null, + }, + }; + const html = renderToStaticMarkup( + , + ); + expect(html).toContain("Running · PID 120"); + expect(count(html, "Stop { + const view = overview(20); + usePmViewStore.getState().put(HOST, view); + const html = renderToStaticMarkup(); + const rows = count(html, 'data-testid="pm-row-name"'); + // The report's console: 4 detected cards and 1 also running, plus the saved rows. + const savedRows = view.present ? view.payloads.length : 0; + expect(payloadCount(5, savedRows)).toBe(5 + rows); + expect(rows).toBe(20); + }); +}); diff --git a/client/src/screens/Payloads/PayloadManagerPanel.tsx b/client/src/screens/Payloads/PayloadManagerPanel.tsx index b37fe37fe..2a3f350b8 100644 --- a/client/src/screens/Payloads/PayloadManagerPanel.tsx +++ b/client/src/screens/Payloads/PayloadManagerPanel.tsx @@ -1,7 +1,34 @@ -import { useCallback, useEffect, useRef, useState, type ReactNode } from "react"; -import { ArrowDown, ArrowUp, ExternalLink, Play, Plus, RefreshCw, Search, Skull, Trash2, Upload } from "lucide-react"; +import { + useCallback, + useEffect, + useRef, + useState, + type ReactNode, +} from "react"; +import { + ArrowDown, + ArrowUp, + ExternalLink, + Play, + Plus, + RefreshCw, + Search, + Skull, + Trash2, + Upload, +} from "lucide-react"; -import { Badge, Button, Callout, ErrorCard, Input, OverflowMenu, Select, Spinner, Toggle } from "../../components"; +import { + Badge, + Button, + Callout, + ErrorCard, + Input, + OverflowMenu, + Select, + Spinner, + Toggle, +} from "../../components"; import type { OverflowMenuItem } from "../../components"; import { usePhoneLayout } from "../../lib/phoneLayout"; import { useConfirm } from "../../components/ConfirmDialog"; @@ -44,15 +71,24 @@ import { useTr, type Translator } from "../../state/lang"; import { pushNotification } from "../../state/notifications"; import { withConsolePrefix } from "../../state/roster"; import { humanizeCaught } from "../../lib/humanizeError"; -import { listsHelper, loadBootRecord, storedHelper } from "../../lib/helperAtBoot"; -import { turnOffHelperAtBoot, turnOnHelperAtBoot } from "../../state/helperAtBootRuntime"; -import { usePmView, usePmViewStore } from "./hub/pmViewStore"; +import { + listsHelper, + loadBootRecord, + storedHelper, +} from "../../lib/helperAtBoot"; +import { + turnOffHelperAtBoot, + turnOnHelperAtBoot, +} from "../../state/helperAtBootRuntime"; +import { pmViewKey, usePmView, usePmViewStore } from "./hub/pmViewStore"; /** Move `name` within an autoload list, keeping pauses (`!ms`) where they are. */ export function moveEntry(list: string[], name: string, dir: -1 | 1): string[] { const i = list.indexOf(name); if (i < 0) return list; - const names = list.map((e, idx) => ({ e, idx })).filter((x) => !x.e.startsWith("!")); + const names = list + .map((e, idx) => ({ e, idx })) + .filter((x) => !x.e.startsWith("!")); const pos = names.findIndex((x) => x.idx === i); const swapWith = names[pos + dir]; if (!swapWith) return list; @@ -107,22 +143,35 @@ export const SAVED_FILTER_MIN = 8; /** The saved payloads that `query` names: every word of it found, in any order and any case, in * the payload's name, file name, path, version or source. An empty query keeps them all. */ export function filterSaved< - T extends Pick, + T extends Pick< + PmStoredPayload, + "name" | "filename" | "path" | "version" | "source" + >, >(payloads: readonly T[], query: string): T[] { const words = query.toLowerCase().split(/\s+/).filter(Boolean); if (words.length === 0) return [...payloads]; return payloads.filter((p) => { - const hay = [p.name, p.filename, p.path, p.version, p.source].join("\n").toLowerCase(); + const hay = [p.name, p.filename, p.path, p.version, p.source] + .join("\n") + .toLowerCase(); return words.every((w) => hay.includes(w)); }); } /** A running saved row's origin line. `bootN`: its place in the boot list when that list is * on (a list turned off starts nothing at boot, so no number is promised). */ -export function runningOrigin(tr: Translator, ours: boolean, bootN: number | null): string { +export function runningOrigin( + tr: Translator, + ours: boolean, + bootN: number | null, +): string { if (ours) return tr("hub_origin_ours", undefined, "PS5Upload's own helper"); if (bootN !== null) { - return tr("pm_origin_list_boot", { n: bootN }, `From your Payload Manager list, starts at boot #${bootN}`); + return tr( + "pm_origin_list_boot", + { n: bootN }, + `From your Payload Manager list, starts at boot #${bootN}`, + ); } return tr("pm_origin_list", undefined, "From your Payload Manager list"); } @@ -142,25 +191,42 @@ const SAVED_LIST = "grid gap-1.5 supports-[grid-template-columns:subgrid]:roomy:grid-cols-[minmax(0,1fr)_fit-content(28rem)]"; const SAVED_ROW = "supports-[grid-template-columns:subgrid]:roomy:col-span-2 supports-[grid-template-columns:subgrid]:roomy:grid supports-[grid-template-columns:subgrid]:roomy:grid-cols-subgrid"; -const SAVED_ACTIONS = "supports-[grid-template-columns:subgrid]:roomy:justify-end"; +const SAVED_ACTIONS = + "supports-[grid-template-columns:subgrid]:roomy:justify-end"; + +/** What the saved list shows before its first render: the overview "On your PS5" read. */ +function sharedView(part: PmPanelPart, host: string): PmOverview | null { + return part === "saved" + ? (usePmViewStore.getState().byHost[pmViewKey(host)] ?? null) + : null; +} export default function PayloadManagerPanel({ running, onChanged, part, -}: { running?: Readonly>; onChanged?: () => void; part: PmPanelPart }) { +}: { + running?: Readonly>; + onChanged?: () => void; + part: PmPanelPart; +}) { const tr = useTr(); const host = useConnectionStore((s) => s.host); const { confirm, dialog } = useConfirm(); // A phone gets a compact row per saved payload (`row` below). const phone = usePhoneLayout(); - const [view, setView] = useState(null); + // The saved list starts from the overview "On your PS5" already read for this console. + const [view, setView] = useState(() => + sharedView(part, host), + ); const [error, setError] = useState(null); const [loading, setLoading] = useState(false); const [busy, setBusy] = useState(null); /** The catalogue's current release for each payload this app stored here (native builds: * the catalogue talks to GitHub from the app). */ - const [latest, setLatest] = useState>({}); + const [latest, setLatest] = useState< + Record + >({}); /** Catalogue payloads downloaded to this computer (native builds), to store or match. */ const [inventory, setInventory] = useState([]); const [catalog, setCatalog] = useState([]); @@ -195,16 +261,22 @@ export default function PayloadManagerPanel({ useEffect(() => { genRef.current++; - setView(null); + setView(sharedView(part, host)); setLatest({}); asked.current.clear(); - void refresh(); - }, [refresh]); + // The saved list goes by the overview "On your PS5" reads on each refresh: a second read + // of its own at the same moment can fail against Payload Manager's one-at-a-time server, + // and its error then hid the whole list while the tab still counted it. + if (part !== "saved") void refresh(); + }, [refresh, part, host]); - // "On your PS5" reads the same overview on each refresh: a newer one replaces this. + // "On your PS5" reads the same overview on each refresh: a newer one replaces this, and + // an answer clears an earlier failed read. const shared = usePmView(host); useEffect(() => { - if (shared) setView((cur) => (cur === shared ? cur : shared)); + if (!shared) return; + setView((cur) => (cur === shared ? cur : shared)); + setError(null); }, [shared]); const present = !!view?.present; @@ -226,18 +298,31 @@ export default function PayloadManagerPanel({ if (!isTauriEnv() || !view?.present) return; // Only what this app stored has a known version to compare. Each id is asked once per // console: the answers it fills are not what it waits on. - const ids = new Set(Object.values(pmRecords(hostOf(host))).map((r) => r.id)); + const ids = new Set( + Object.values(pmRecords(hostOf(host))).map((r) => r.id), + ); const gen = genRef.current; for (const id of ids) { if (asked.current.has(id)) continue; asked.current.add(id); payloadsReleases(id) - .then((list) => gen === genRef.current && setLatest((m) => ({ ...m, [id]: defaultRelease(list) }))) - .catch(() => gen === genRef.current && setLatest((m) => ({ ...m, [id]: null }))); + .then( + (list) => + gen === genRef.current && + setLatest((m) => ({ ...m, [id]: defaultRelease(list) })), + ) + .catch( + () => + gen === genRef.current && setLatest((m) => ({ ...m, [id]: null })), + ); } }, [view, host]); - const run = async (key: string, work: () => Promise, failTitle: string) => { + const run = async ( + key: string, + work: () => Promise, + failTitle: string, + ) => { setBusy(key); try { await work(); @@ -259,16 +344,33 @@ export default function PayloadManagerPanel({ await pmLaunch(host, p.path); pushNotification( "success", - withConsolePrefix(host, tr("pm_launched", { name: p.filename }, `Launched ${p.filename}`)), - { body: tr("pm_launched_body", undefined, "Check the PS5 for its notification.") }, + withConsolePrefix( + host, + tr("pm_launched", { name: p.filename }, `Launched ${p.filename}`), + ), + { + body: tr( + "pm_launched_body", + undefined, + "Check the PS5 for its notification.", + ), + }, ); }, - tr("pm_launch_failed", { name: p.filename }, `Couldn't launch ${p.filename}`), + tr( + "pm_launch_failed", + { name: p.filename }, + `Couldn't launch ${p.filename}`, + ), ); const remove = async (p: PmStoredPayload) => { const ok = await confirm({ - title: tr("pm_delete_confirm_title", { name: p.filename }, `Delete ${p.filename} from Payload Manager?`), + title: tr( + "pm_delete_confirm_title", + { name: p.filename }, + `Delete ${p.filename} from Payload Manager?`, + ), message: tr( "pm_delete_confirm_body_v2", undefined, @@ -281,7 +383,11 @@ export default function PayloadManagerPanel({ await run( `delete:${p.path}`, () => pmDelete(host, p.filename), - tr("pm_delete_failed", { name: p.filename }, `Couldn't delete ${p.filename}`), + tr( + "pm_delete_failed", + { name: p.filename }, + `Couldn't delete ${p.filename}`, + ), ); }; @@ -311,7 +417,11 @@ export default function PayloadManagerPanel({ { folder: r.folder }, `Payload Manager already has a "${r.folder}" folder. Storing into it removes the other files there (an older version, usually).`, ), - confirmLabel: tr("payloads_pm_store", undefined, "Store in Payload Manager"), + confirmLabel: tr( + "payloads_pm_store", + undefined, + "Store in Payload Manager", + ), destructive: true, }); if (!ok) return false; @@ -320,9 +430,16 @@ export default function PayloadManagerPanel({ } if (!quiet) pushNotification( - "success", - withConsolePrefix(host, tr("payloads_pm_stored_title", { name: filename }, `Stored ${filename} in Payload Manager`)), - ); + "success", + withConsolePrefix( + host, + tr( + "payloads_pm_stored_title", + { name: filename }, + `Stored ${filename} in Payload Manager`, + ), + ), + ); return true; }; @@ -333,12 +450,20 @@ export default function PayloadManagerPanel({ async () => { const bytes = await file.arrayBuffer(); const h = hostOf(host); - if (await storeConfirmed(file.name, (c) => pmStoreBytes(h, file.name, bytes, c))) { + if ( + await storeConfirmed(file.name, (c) => + pmStoreBytes(h, file.name, bytes, c), + ) + ) { // Not a catalogue payload: no update tracking for it. forgetPmStore(h, file.name); } }, - tr("pm_add_failed", { name: file.name }, `Couldn't store ${file.name} in Payload Manager`), + tr( + "pm_add_failed", + { name: file.name }, + `Couldn't store ${file.name} in Payload Manager`, + ), ); /** A catalogue payload already downloaded to this computer; remembered so updates are offered. */ @@ -350,12 +475,20 @@ export default function PayloadManagerPanel({ "add:catalogue", async () => { const h = hostOf(host); - if (await storeConfirmed(filename, (c) => pmStore(h, filename, local.path, c))) { + if ( + await storeConfirmed(filename, (c) => + pmStore(h, filename, local.path, c), + ) + ) { recordPmStore(h, filename, id, local.version); setPick(""); } }, - tr("pm_add_failed", { name: filename }, `Couldn't store ${filename} in Payload Manager`), + tr( + "pm_add_failed", + { name: filename }, + `Couldn't store ${filename} in Payload Manager`, + ), ); }; @@ -391,38 +524,71 @@ export default function PayloadManagerPanel({ { folder }, `Payload Manager already has a "${folder}" folder. Storing into it removes the other files there (an older version, usually).`, ), - confirmLabel: tr("payloads_pm_store", undefined, "Store in Payload Manager"), + confirmLabel: tr( + "payloads_pm_store", + undefined, + "Store in Payload Manager", + ), destructive: true, }), () => confirm({ - title: tr("helper_boot_list_off_title", undefined, "Payload Manager's boot list is off"), + title: tr( + "helper_boot_list_off_title", + undefined, + "Payload Manager's boot list is off", + ), message: tr( "helper_boot_list_off_confirm", undefined, "While its boot list is off, Payload Manager starts nothing at boot, the helper included. Turn it on?", ), - confirmLabel: tr("helper_boot_turn_on_list", undefined, "Turn on the boot list"), + confirmLabel: tr( + "helper_boot_turn_on_list", + undefined, + "Turn on the boot list", + ), }), ); if (done) pushNotification( "success", - withConsolePrefix(host, tr("helper_boot_on_title", undefined, "The helper now loads at boot")), + withConsolePrefix( + host, + tr( + "helper_boot_on_title", + undefined, + "The helper now loads at boot", + ), + ), ); }, - tr("helper_boot_failed", undefined, "Couldn't change whether the helper loads at boot"), + tr( + "helper_boot_failed", + undefined, + "Couldn't change whether the helper loads at boot", + ), ); if (!host.trim()) { return ( - + ); } if (error) { return ( void refresh()} /> @@ -440,7 +606,14 @@ export default function PayloadManagerPanel({ // The saved list is shown only while Payload Manager answers; its card explains the rest. if (part === "saved") return null; return ( - + {tr( "pm_absent_body_v2", undefined, @@ -463,14 +636,23 @@ export default function PayloadManagerPanel({ const bootRecord = loadBootRecord(host); // On here and stored, but not in the list right now: the next connection puts it back. const helperOn = helperListed || (!!bootRecord && !!helperCopy); - const inList = (p: PmStoredPayload) => listedEntry(autoload?.list, p) !== null; - const stored = view.payloads.filter((p) => p.path.startsWith("/data/pldmgr/")); - const onUsb = view.payloads.filter((p) => !p.path.startsWith("/data/pldmgr/")); + const inList = (p: PmStoredPayload) => + listedEntry(autoload?.list, p) !== null; + const stored = view.payloads.filter((p) => + p.path.startsWith("/data/pldmgr/"), + ); + const onUsb = view.payloads.filter( + (p) => !p.path.startsWith("/data/pldmgr/"), + ); // Only against a list read in full: otherwise every entry would look like it names nothing. - const unmatched = autoload && !view.payloadsError ? unmatchedBootEntries(autoload.list, view.payloads) : []; + const unmatched = + autoload && !view.payloadsError + ? unmatchedBootEntries(autoload.list, view.payloads) + : []; const records = pmRecords(hostOf(host)); - const nameOf = (id: string) => catalog.find((c) => c.id === id)?.display_name ?? id; + const nameOf = (id: string) => + catalog.find((c) => c.id === id)?.display_name ?? id; /** What the tab says about a stored copy: a newer release of the catalogue payload this app * stored there (linked to its page: the app doesn't download payloads), or for one stored by * hand, which catalogue payload it is (Payload Manager keeps no version for it). */ @@ -486,7 +668,9 @@ export default function PayloadManagerPanel({ // The entry that names it now (slot, file name or path), else the one to add. const key = listedEntry(autoload?.list, p) ?? autoloadKey(p); const keys = autoloadKeys(p); - const order = autoload ? autoload.list.filter((e) => !e.startsWith("!")) : []; + const order = autoload + ? autoload.list.filter((e) => !e.startsWith("!")) + : []; const pos = order.indexOf(key); // The helper's own entry goes through "Load the PS5Upload helper at boot", so taking it // out here is the switch turned off, not something the next connection undoes. @@ -498,7 +682,9 @@ export default function PayloadManagerPanel({ ? setHelperAtBoot(!listed) : setAutoload( autoload.enabled, - listed ? autoload.list.filter((e) => !keys.includes(e)) : [...autoload.list, key], + listed + ? autoload.list.filter((e) => !keys.includes(e)) + : [...autoload.list, key], )); }; if (phone) { @@ -508,7 +694,12 @@ export default function PayloadManagerPanel({ const stop = live?.canStop ? live : null; const more: OverflowMenuItem[] = [ ...(live?.webUrl - ? [{ label: tr("hub_open_page", undefined, "Open web page"), onSelect: () => void openExternalUrl(live.webUrl!) }] + ? [ + { + label: tr("hub_open_page", undefined, "Open web page"), + onSelect: () => void openExternalUrl(live.webUrl!), + }, + ] : []), ...(autoload ? [ @@ -525,12 +716,20 @@ export default function PayloadManagerPanel({ ? [ { label: tr("pm_autoload_earlier", undefined, "Load earlier"), - onSelect: () => void setAutoload(autoload.enabled, moveEntry(autoload.list, key, -1)), + onSelect: () => + void setAutoload( + autoload.enabled, + moveEntry(autoload.list, key, -1), + ), disabled: busy !== null || pos <= 0, }, { label: tr("pm_autoload_later", undefined, "Load later"), - onSelect: () => void setAutoload(autoload.enabled, moveEntry(autoload.list, key, 1)), + onSelect: () => + void setAutoload( + autoload.enabled, + moveEntry(autoload.list, key, 1), + ), disabled: busy !== null || pos >= order.length - 1, }, ] @@ -538,7 +737,11 @@ export default function PayloadManagerPanel({ ...(to && recorded && to.html_url ? [ { - label: tr("pu_out_open_page", { version: to.tag }, `${to.tag} is out — open project page`), + label: tr( + "pu_out_open_page", + { version: to.tag }, + `${to.tag} is out — open project page`, + ), onSelect: () => void openExternalUrl(to.html_url), }, ] @@ -574,7 +777,11 @@ export default function PayloadManagerPanel({
{/* A long file name takes the lines it needs, and keeps its own order in a right-to-left language. */} - + {p.name || p.filename} {live && ( @@ -589,7 +796,11 @@ export default function PayloadManagerPanel({ )} {to && recorded && ( - {tr("pm_update_available", { tag: to.tag }, `${to.tag} available`)} + {tr( + "pm_update_available", + { tag: to.tag }, + `${to.tag} available`, + )} )}
@@ -609,7 +820,13 @@ export default function PayloadManagerPanel({ variant={live ? "secondary" : "primary"} size="sm" className="shrink-0" - leftIcon={busy === `launch:${p.path}` ? : } + leftIcon={ + busy === `launch:${p.path}` ? ( + + ) : ( + + ) + } disabled={busy !== null || !!live?.busy} onClick={() => void launch(p)} > @@ -618,7 +835,11 @@ export default function PayloadManagerPanel({ )} @@ -630,11 +851,17 @@ export default function PayloadManagerPanel({ data-pm-card={live?.cardId} className={`flex flex-wrap items-center gap-3 rounded-[var(--radius-card)] border border-[var(--glass-edge)] bg-[var(--color-surface-raised)] px-3.5 py-2.5 text-sm ${SAVED_ROW}`} > -
+
{/* A long file name takes the lines it needs, and keeps its own order in a right-to-left language. */} - + {p.name || p.filename} {p.version && ( @@ -644,12 +871,20 @@ export default function PayloadManagerPanel({ )} {to && recorded && ( - {tr("pm_update_available", { tag: to.tag }, `${to.tag} available`)} + {tr( + "pm_update_available", + { tag: to.tag }, + `${to.tag} available`, + )} )} {!recorded && matchId && ( - {tr("pm_catalogue_match", { name: nameOf(matchId) }, `Catalogue: ${nameOf(matchId)}`)} + {tr( + "pm_catalogue_match", + { name: nameOf(matchId) }, + `Catalogue: ${nameOf(matchId)}`, + )} )} {listed && autoload && ( @@ -659,13 +894,24 @@ export default function PayloadManagerPanel({ )} {live && ( - {tr("pm_running_badge", { pid: live.pid }, `Running · PID ${live.pid}`)} + {tr( + "pm_running_badge", + { pid: live.pid }, + `Running · PID ${live.pid}`, + )} )}
{live && ( -
- {runningOrigin(tr, live.ours, listed && autoload?.enabled ? pos + 1 : null)} +
+ {runningOrigin( + tr, + live.ours, + listed && autoload?.enabled ? pos + 1 : null, + )} {` · ${live.memoryMib.toFixed(1)} MB`}
)} @@ -679,7 +925,10 @@ export default function PayloadManagerPanel({
)} {live?.note} -
+
{p.path}
{p.source && ( @@ -688,7 +937,10 @@ export default function PayloadManagerPanel({
)}
-
+
{live?.webUrl && ( @@ -733,9 +994,18 @@ export default function PayloadManagerPanel({ variant="ghost" size="sm" disabled={busy !== null || pos >= order.length - 1} - onClick={() => void setAutoload(autoload.enabled, moveEntry(autoload.list, key, 1))} + onClick={() => + void setAutoload( + autoload.enabled, + moveEntry(autoload.list, key, 1), + ) + } title={tr("pm_autoload_later", undefined, "Load later")} - aria-label={tr("pm_autoload_later", undefined, "Load later")} + aria-label={tr( + "pm_autoload_later", + undefined, + "Load later", + )} > @@ -755,14 +1025,24 @@ export default function PayloadManagerPanel({ "ps5upload doesn't download payloads. Get the newer file from its project page, then store it here.", )} > - {tr("pu_out_open_page", { version: to.tag }, `${to.tag} is out — open project page`)} + {tr( + "pu_out_open_page", + { version: to.tag }, + `${to.tag} is out — open project page`, + )} )} {/* Running already: launching starts a second copy, so it is not the row's main action. */}
{view.payloadsError ? ( ) : all === 0 ? ( @@ -847,28 +1131,56 @@ export default function PayloadManagerPanel({ } }} leftIcon={} - placeholder={tr("payloads_search_placeholder", undefined, "Search payloads…")} - aria-label={tr("payloads_search", undefined, "Search payloads")} + placeholder={tr( + "payloads_search_placeholder", + undefined, + "Search payloads…", + )} + aria-label={tr( + "payloads_search", + undefined, + "Search payloads", + )} className="text-xs" data-testid="pm-filter" />
{/* Said aloud as it changes: the rows below are what is left. */} - - {q ? tr("cheats_filter_count", { shown, total: all }, `${shown} of ${all}`) : ""} + + {q + ? tr( + "cheats_filter_count", + { shown, total: all }, + `${shown} of ${all}`, + ) + : ""}
)} {q && shown === 0 && (

- {tr("payloads_search_no_match", { query: q }, `No payloads match "${q}".`)} + {tr( + "payloads_search_no_match", + { query: q }, + `No payloads match "${q}".`, + )}

)} - {shownStored.length > 0 &&
    {shownStored.map(row)}
} + {shownStored.length > 0 && ( +
    {shownStored.map(row)}
+ )} {shownUsb.length > 0 && ( <>

- {tr("pm_usb_header", { n: onUsb.length }, `On USB · ${onUsb.length}`)} + {tr( + "pm_usb_header", + { n: onUsb.length }, + `On USB · ${onUsb.length}`, + )}

    {shownUsb.map(row)}
@@ -884,12 +1196,22 @@ export default function PayloadManagerPanel({ {dialog}
- {tr("pm_detected", { version: view.version }, `Payload Manager ${view.version} on the PS5`)} + {tr( + "pm_detected", + { version: view.version }, + `Payload Manager ${view.version} on the PS5`, + )}
)} @@ -1003,7 +1340,13 @@ export default function PayloadManagerPanel({ + {altLabel && onAlt ? ( + + ) : null} diff --git a/client/src/i18n/locales/ar.ts b/client/src/i18n/locales/ar.ts index e4608be72..7dd5da247 100644 --- a/client/src/i18n/locales/ar.ts +++ b/client/src/i18n/locales/ar.ts @@ -5706,6 +5706,14 @@ c2c_test_deep_bad: "لم يصل الإرسال التجريبي بحجم 4 KiB: "cw_games_confirm_uninstall_title": "هل تريد إلغاء تثبيت {name}؟", "cw_games_confirm_uninstall_pkg": "يؤدي هذا إلى إزالة اللعبة من PS5. يمكنك تثبيتها مجددًا لاحقًا من حزمتها.", "cw_games_confirm_uninstall_registered": "يؤدي هذا إلى إزالة اللعبة من الشاشة الرئيسية. يبقى مجلدها أو صورة القرص في مكانه.", +"cw_games_checking_files": "جارٍ فحص ملفات اللعبة…", +"cw_games_confirm_uninstall_choose": "ستُزال اللعبة من الشاشة الرئيسية. يمكن إبقاء ملفاتها أو حذفها لتوفير المساحة: {path}. تبقى البيانات المحفوظة في الحالتين.", +"cw_games_uninstall_only": "إلغاء التثبيت فقط", +"cw_games_uninstall_delete_folder": "إلغاء التثبيت وحذف المجلد", +"cw_games_uninstall_delete_image": "إلغاء التثبيت وحذف الصورة", +"cw_games_size_at_least": "على الأقل {size}", +"cw_games_uninstalled_deleted": "تم إلغاء تثبيت {name} وحذف {path}.", +"cw_games_source_kept": "تم إلغاء تثبيت {name}، لكن {path} لم يُحذف. احذفه من الملفات لتوفير المساحة.", "cw_games_err_launch_refused": "رفض الجهاز تشغيلها. ألعاب homebrew وfake-package تحتاج إلى تشغيل kstuff؛ ولعبة صورة القرص تحتاج أيضًا إلى ShadowMount+.", "cw_games_err_other_running": "هناك لعبة أخرى قيد التشغيل. أغلقها أولًا.", "cw_games_err_running": "أغلق اللعبة قبل إلغاء تثبيتها.", diff --git a/client/src/i18n/locales/bn.ts b/client/src/i18n/locales/bn.ts index 3c62ee3cd..c7fc29e03 100644 --- a/client/src/i18n/locales/bn.ts +++ b/client/src/i18n/locales/bn.ts @@ -5706,6 +5706,14 @@ c2c_test_deep_bad: "4 KiB-এর পরীক্ষামূলক পাঠা "cw_games_confirm_uninstall_title": "{name} আনইনস্টল করবেন?", "cw_games_confirm_uninstall_pkg": "এতে গেমটি PS5 থেকে সরানো হবে। পরে এর প্যাকেজ থেকে আবার ইনস্টল করতে পারবেন।", "cw_games_confirm_uninstall_registered": "এতে গেমটি হোম স্ক্রিন থেকে সরে যাবে। এর ফোল্ডার বা ডিস্ক ইমেজ যেখানে আছে সেখানেই থাকবে।", +"cw_games_checking_files": "গেমের ফাইল দেখা হচ্ছে…", +"cw_games_confirm_uninstall_choose": "গেমটি হোম স্ক্রিন থেকে সরে যাবে। এর ফাইল থাকতে পারে, অথবা জায়গা খালি করতে মুছে ফেলা যায়: {path}। দুই ক্ষেত্রেই সেভ থাকে।", +"cw_games_uninstall_only": "শুধু আনইনস্টল", +"cw_games_uninstall_delete_folder": "আনইনস্টল করে ফোল্ডার মুছুন", +"cw_games_uninstall_delete_image": "আনইনস্টল করে ইমেজ মুছুন", +"cw_games_size_at_least": "অন্তত {size}", +"cw_games_uninstalled_deleted": "{name} আনইনস্টল হয়েছে, এবং {path} মুছে ফেলা হয়েছে।", +"cw_games_source_kept": "{name} আনইনস্টল হয়েছে, কিন্তু {path} মোছা হয়নি। জায়গা খালি করতে Files থেকে মুছুন।", "cw_games_err_launch_refused": "কনসোল এটি চালু করতে অস্বীকার করেছে। homebrew ও fake-package গেমের জন্য kstuff চালু থাকতে হবে; ডিস্ক ইমেজ গেমের জন্য ShadowMount+ও লাগবে।", "cw_games_err_other_running": "অন্য একটি গেম চলছে। আগে সেটি বন্ধ করুন।", "cw_games_err_running": "আনইনস্টল করার আগে গেমটি বন্ধ করুন।", diff --git a/client/src/i18n/locales/de.ts b/client/src/i18n/locales/de.ts index 38ea1390f..039af72c6 100644 --- a/client/src/i18n/locales/de.ts +++ b/client/src/i18n/locales/de.ts @@ -5714,6 +5714,14 @@ c2c_test_deep_bad: "Die 4-KiB-Testsendung ist nicht angekommen: {detail}", "cw_games_confirm_uninstall_title": "{name} deinstallieren?", "cw_games_confirm_uninstall_pkg": "Das Spiel wird von der PS5 entfernt. Du kannst es später aus seinem Paket wieder installieren.", "cw_games_confirm_uninstall_registered": "Das Spiel verschwindet vom Startbildschirm. Sein Ordner oder Disk-Image bleibt, wo es ist.", +"cw_games_checking_files": "Die Dateien des Spiels werden geprüft…", +"cw_games_confirm_uninstall_choose": "Das Spiel verschwindet vom Startbildschirm. Seine Dateien können bleiben oder gelöscht werden, um Platz zu schaffen: {path}. Spielstände bleiben in beiden Fällen erhalten.", +"cw_games_uninstall_only": "Nur deinstallieren", +"cw_games_uninstall_delete_folder": "Deinstallieren und Ordner löschen", +"cw_games_uninstall_delete_image": "Deinstallieren und Image löschen", +"cw_games_size_at_least": "mindestens {size}", +"cw_games_uninstalled_deleted": "{name} deinstalliert und {path} gelöscht.", +"cw_games_source_kept": "{name} deinstalliert, aber {path} wurde nicht gelöscht. Lösche es in Dateien, um Platz zu schaffen.", "cw_games_err_launch_refused": "Die Konsole hat den Start abgelehnt. Homebrew- und Fake-Package-Spiele brauchen ein laufendes kstuff; ein Disk-Image-Spiel braucht zusätzlich ShadowMount+.", "cw_games_err_other_running": "Ein anderes Spiel läuft. Schließe es zuerst.", "cw_games_err_running": "Schließe das Spiel, bevor du es deinstallierst.", diff --git a/client/src/i18n/locales/en.ts b/client/src/i18n/locales/en.ts index 8df1301c0..05500b52c 100644 --- a/client/src/i18n/locales/en.ts +++ b/client/src/i18n/locales/en.ts @@ -2854,6 +2854,14 @@ library_unregistered_unverified: "Unregistered {id}, but the app could not read library_unregistered_smp_returns: "Removed {id} from the home screen, but ShadowMount+ adds it back on its next scan while {image} is in one of its scan folders. Delete or move that image to keep it off.", installed_uninstall_confirm_pkg: "This removes the installed title from the PS5. You can reinstall it later from the package.", +installed_uninstall_confirm_choose: "This takes the game off the home screen. Its files can stay on the drive, or be deleted to free the space. Saves are kept either way.", +installed_uninstall_only: "Uninstall only", +installed_uninstall_keep_detail: "Keep {path}", +installed_uninstall_delete_folder: "Uninstall and delete the game folder", +installed_uninstall_delete_image: "Uninstall and delete the disk image", +installed_uninstall_size_at_least: "at least {size}", +installed_uninstall_not_finished: "the PS5 still lists the game", +installed_uninstall_source_kept:"{name} was uninstalled, but {path} was not deleted ({reason}). Delete it in Files to free the space.", // Humanized error copy — surfaced by lib/humanizeError.ts. {placeholders} // are substituted at runtime; keep them verbatim when translating. @@ -6017,6 +6025,14 @@ fs_tag_folder: "Folder", "cw_games_confirm_uninstall_title": "Uninstall {name}?", "cw_games_confirm_uninstall_pkg": "This removes the game from the PS5. You can install it again later from its package.", "cw_games_confirm_uninstall_registered": "This takes the game off the home screen. Its folder or disk image stays where it is.", +"cw_games_checking_files": "Looking at the game's files…", +"cw_games_confirm_uninstall_choose": "This takes the game off the home screen. Its files can stay, or be deleted to free the space: {path}. Saves are kept either way.", +"cw_games_uninstall_only": "Uninstall only", +"cw_games_uninstall_delete_folder": "Uninstall and delete the folder", +"cw_games_uninstall_delete_image": "Uninstall and delete the image", +"cw_games_size_at_least": "at least {size}", +"cw_games_uninstalled_deleted": "{name} uninstalled, and {path} deleted.", +"cw_games_source_kept": "{name} uninstalled, but {path} was not deleted. Delete it in Files to free the space.", "cw_games_err_launch_refused": "The console refused to start it. Homebrew and fake-package games need kstuff running; a disk-image game also needs ShadowMount+.", "cw_games_err_other_running": "Another game is running. Close it first.", "cw_games_err_running": "Close the game before you uninstall it.", diff --git a/client/src/i18n/locales/es.ts b/client/src/i18n/locales/es.ts index b9b66aa31..34ef1119c 100644 --- a/client/src/i18n/locales/es.ts +++ b/client/src/i18n/locales/es.ts @@ -5659,6 +5659,14 @@ c2c_test_deep_bad: "El envío de prueba de 4 KiB no llegó: {detail}", "cw_games_confirm_uninstall_title": "¿Desinstalar {name}?", "cw_games_confirm_uninstall_pkg": "Esto quita el juego de la PS5. Puedes volver a instalarlo más tarde desde su paquete.", "cw_games_confirm_uninstall_registered": "Esto quita el juego de la pantalla de inicio. Su carpeta o imagen de disco se queda donde está.", +"cw_games_checking_files": "Revisando los archivos del juego…", +"cw_games_confirm_uninstall_choose": "El juego desaparece de la pantalla de inicio. Sus archivos pueden quedarse o borrarse para liberar espacio: {path}. Las partidas guardadas se conservan en ambos casos.", +"cw_games_uninstall_only": "Solo desinstalar", +"cw_games_uninstall_delete_folder": "Desinstalar y borrar la carpeta", +"cw_games_uninstall_delete_image": "Desinstalar y borrar la imagen", +"cw_games_size_at_least": "al menos {size}", +"cw_games_uninstalled_deleted": "{name} desinstalado y {path} borrado.", +"cw_games_source_kept": "{name} desinstalado, pero {path} no se borró. Bórralo en Archivos para liberar espacio.", "cw_games_err_launch_refused": "La consola se negó a iniciarlo. Los juegos homebrew y de paquete falso necesitan kstuff en ejecución; un juego de imagen de disco también necesita ShadowMount+.", "cw_games_err_other_running": "Hay otro juego en ejecución. Ciérralo primero.", "cw_games_err_running": "Cierra el juego antes de desinstalarlo.", diff --git a/client/src/i18n/locales/fa.ts b/client/src/i18n/locales/fa.ts index 83e8685eb..0f02aff4b 100644 --- a/client/src/i18n/locales/fa.ts +++ b/client/src/i18n/locales/fa.ts @@ -5984,6 +5984,14 @@ c2c_test_deep_bad: "ارسال آزمایشی ۴ KiB نرسید: {detail}", "cw_games_confirm_uninstall_title": "{name} حذف نصب شود؟", "cw_games_confirm_uninstall_pkg": "این کار بازی را از PS5 حذف می‌کند. بعداً می‌توانید آن را از بسته‌اش دوباره نصب کنید.", "cw_games_confirm_uninstall_registered": "این کار بازی را از صفحهٔ اصلی برمی‌دارد. پوشه یا ایمیج دیسک آن سر جایش می‌ماند.", +"cw_games_checking_files": "در حال بررسی فایل‌های بازی…", +"cw_games_confirm_uninstall_choose": "بازی از صفحهٔ اصلی برداشته می‌شود. فایل‌های آن می‌توانند بمانند یا برای آزاد کردن فضا حذف شوند: {path}. ذخیره‌ها در هر دو حالت می‌مانند.", +"cw_games_uninstall_only": "فقط حذف نصب", +"cw_games_uninstall_delete_folder": "حذف نصب و پاک کردن پوشه", +"cw_games_uninstall_delete_image": "حذف نصب و پاک کردن ایمیج", +"cw_games_size_at_least": "دست‌کم {size}", +"cw_games_uninstalled_deleted": "{name} حذف نصب شد و {path} پاک شد.", +"cw_games_source_kept": "{name} حذف نصب شد، اما {path} پاک نشد. برای آزاد کردن فضا آن را در فایل‌ها پاک کنید.", "cw_games_err_launch_refused": "کنسول از اجرای آن خودداری کرد. بازی‌های homebrew و fake-package به kstuff در حال اجرا نیاز دارند؛ بازی ایمیج دیسک به ShadowMount+ هم نیاز دارد.", "cw_games_err_other_running": "بازی دیگری در حال اجراست. ابتدا آن را ببندید.", "cw_games_err_running": "پیش از حذف نصب، بازی را ببندید.", diff --git a/client/src/i18n/locales/fr.ts b/client/src/i18n/locales/fr.ts index 9105d64ce..02d940b99 100644 --- a/client/src/i18n/locales/fr.ts +++ b/client/src/i18n/locales/fr.ts @@ -5722,6 +5722,14 @@ c2c_test_deep_bad: "L’envoi test de 4 Kio n’est pas arrivé : {detail}", "cw_games_confirm_uninstall_title": "Désinstaller {name} ?", "cw_games_confirm_uninstall_pkg": "Le jeu est retiré de la PS5. Tu pourras le réinstaller plus tard depuis son paquet.", "cw_games_confirm_uninstall_registered": "Le jeu disparaît de l'écran d'accueil. Son dossier ou son image disque reste où il est.", +"cw_games_checking_files": "Examen des fichiers du jeu…", +"cw_games_confirm_uninstall_choose": "Le jeu disparaît de l'écran d'accueil. Ses fichiers peuvent rester ou être supprimés pour libérer de la place : {path}. Les sauvegardes sont conservées dans les deux cas.", +"cw_games_uninstall_only": "Désinstaller seulement", +"cw_games_uninstall_delete_folder": "Désinstaller et supprimer le dossier", +"cw_games_uninstall_delete_image": "Désinstaller et supprimer l'image", +"cw_games_size_at_least": "au moins {size}", +"cw_games_uninstalled_deleted": "{name} désinstallé et {path} supprimé.", +"cw_games_source_kept": "{name} désinstallé, mais {path} n'a pas été supprimé. Supprimez-le dans Fichiers pour libérer de la place.", "cw_games_err_launch_refused": "La console a refusé de le lancer. Les jeux homebrew et fake-package ont besoin de kstuff ; un jeu en image disque a aussi besoin de ShadowMount+.", "cw_games_err_other_running": "Un autre jeu est en cours. Ferme-le d'abord.", "cw_games_err_running": "Ferme le jeu avant de le désinstaller.", diff --git a/client/src/i18n/locales/hi.ts b/client/src/i18n/locales/hi.ts index 64ea34999..7e7f3ea15 100644 --- a/client/src/i18n/locales/hi.ts +++ b/client/src/i18n/locales/hi.ts @@ -5720,6 +5720,14 @@ c2c_test_deep_bad: "4 KiB का परीक्षण नहीं पहुँ "cw_games_confirm_uninstall_title": "{name} अनइंस्टॉल करें?", "cw_games_confirm_uninstall_pkg": "यह गेम को PS5 से हटा देता है। बाद में आप इसे इसके पैकेज से फिर इंस्टॉल कर सकते हैं।", "cw_games_confirm_uninstall_registered": "यह गेम को होम स्क्रीन से हटा देता है। इसका फ़ोल्डर या डिस्क इमेज अपनी जगह पर रहता है।", +"cw_games_checking_files": "गेम की फ़ाइलें देखी जा रही हैं…", +"cw_games_confirm_uninstall_choose": "गेम होम स्क्रीन से हट जाएगा। उसकी फ़ाइलें रह सकती हैं या जगह खाली करने के लिए मिटाई जा सकती हैं: {path}। सेव दोनों में रहते हैं।", +"cw_games_uninstall_only": "केवल अनइंस्टॉल करें", +"cw_games_uninstall_delete_folder": "अनइंस्टॉल करें और फ़ोल्डर मिटाएँ", +"cw_games_uninstall_delete_image": "अनइंस्टॉल करें और इमेज मिटाएँ", +"cw_games_size_at_least": "कम से कम {size}", +"cw_games_uninstalled_deleted": "{name} अनइंस्टॉल हुआ, और {path} मिटाया गया।", +"cw_games_source_kept": "{name} अनइंस्टॉल हुआ, पर {path} नहीं मिटाया गया। जगह खाली करने के लिए उसे Files में मिटाएँ।", "cw_games_err_launch_refused": "कंसोल ने इसे शुरू करने से मना कर दिया। homebrew और fake-package गेम के लिए kstuff चलना ज़रूरी है; डिस्क इमेज वाले गेम को ShadowMount+ भी चाहिए।", "cw_games_err_other_running": "कोई दूसरा गेम चल रहा है। पहले उसे बंद करें।", "cw_games_err_running": "अनइंस्टॉल करने से पहले गेम बंद करें।", diff --git a/client/src/i18n/locales/hu.ts b/client/src/i18n/locales/hu.ts index c9edad0cc..afdd7ac04 100644 --- a/client/src/i18n/locales/hu.ts +++ b/client/src/i18n/locales/hu.ts @@ -5998,6 +5998,14 @@ c2c_test_deep_bad: "A 4 KiB-os tesztküldés nem érkezett meg: {detail}", "cw_games_confirm_uninstall_title": "Eltávolítod: {name}?", "cw_games_confirm_uninstall_pkg": "A játék lekerül a PS5-ről. Később újratelepítheted a csomagjából.", "cw_games_confirm_uninstall_registered": "A játék lekerül a kezdőképernyőről. A mappája vagy lemezképe a helyén marad.", +"cw_games_checking_files": "A játék fájljainak ellenőrzése…", +"cw_games_confirm_uninstall_choose": "A játék lekerül a kezdőképernyőről. A fájljai maradhatnak, vagy törölhetők a hely felszabadításához: {path}. A mentések mindkét esetben megmaradnak.", +"cw_games_uninstall_only": "Csak eltávolítás", +"cw_games_uninstall_delete_folder": "Eltávolítás és a mappa törlése", +"cw_games_uninstall_delete_image": "Eltávolítás és a lemezkép törlése", +"cw_games_size_at_least": "legalább {size}", +"cw_games_uninstalled_deleted": "{name} eltávolítva, {path} törölve.", +"cw_games_source_kept": "{name} eltávolítva, de {path} nem lett törölve. Töröld a Fájlokban a hely felszabadításához.", "cw_games_err_launch_refused": "A konzol nem indította el. A homebrew és fake-package játékokhoz futó kstuff kell; a lemezképes játékhoz ShadowMount+ is.", "cw_games_err_other_running": "Egy másik játék fut. Előbb zárd be.", "cw_games_err_running": "Zárd be a játékot, mielőtt eltávolítod.", diff --git a/client/src/i18n/locales/id.ts b/client/src/i18n/locales/id.ts index c797a3bfb..7d15d0205 100644 --- a/client/src/i18n/locales/id.ts +++ b/client/src/i18n/locales/id.ts @@ -5715,6 +5715,14 @@ c2c_test_deep_bad: "Kiriman uji 4 KiB tidak tiba: {detail}", "cw_games_confirm_uninstall_title": "Copot {name}?", "cw_games_confirm_uninstall_pkg": "Ini menghapus game dari PS5. Kamu bisa memasangnya lagi nanti dari paketnya.", "cw_games_confirm_uninstall_registered": "Ini menghapus game dari layar beranda. Folder atau image disknya tetap di tempatnya.", +"cw_games_checking_files": "Memeriksa file game…", +"cw_games_confirm_uninstall_choose": "Game dihapus dari layar beranda. Filenya bisa tetap ada atau dihapus untuk mengosongkan ruang: {path}. Data simpanan tetap ada di kedua pilihan.", +"cw_games_uninstall_only": "Hanya copot", +"cw_games_uninstall_delete_folder": "Copot dan hapus folder", +"cw_games_uninstall_delete_image": "Copot dan hapus image", +"cw_games_size_at_least": "setidaknya {size}", +"cw_games_uninstalled_deleted": "{name} dicopot, dan {path} dihapus.", +"cw_games_source_kept": "{name} dicopot, tetapi {path} tidak dihapus. Hapus di Berkas untuk mengosongkan ruang.", "cw_games_err_launch_refused": "Konsol menolak memulainya. Game homebrew dan fake-package butuh kstuff yang berjalan; game dari image disk juga butuh ShadowMount+.", "cw_games_err_other_running": "Game lain sedang berjalan. Tutup dulu.", "cw_games_err_running": "Tutup game sebelum mencopotnya.", diff --git a/client/src/i18n/locales/it.ts b/client/src/i18n/locales/it.ts index 77d20b3e6..db4612fb6 100644 --- a/client/src/i18n/locales/it.ts +++ b/client/src/i18n/locales/it.ts @@ -5659,6 +5659,14 @@ c2c_test_deep_bad: "L’invio di prova di 4 KiB non è arrivato: {detail}", "cw_games_confirm_uninstall_title": "Disinstallare {name}?", "cw_games_confirm_uninstall_pkg": "Il gioco viene rimosso dalla PS5. Potrai reinstallarlo più tardi dal suo pacchetto.", "cw_games_confirm_uninstall_registered": "Il gioco sparisce dalla schermata Home. La sua cartella o immagine disco resta dov'è.", +"cw_games_checking_files": "Controllo dei file del gioco…", +"cw_games_confirm_uninstall_choose": "Il gioco viene tolto dalla schermata iniziale. I suoi file possono restare o essere eliminati per liberare spazio: {path}. I salvataggi restano in entrambi i casi.", +"cw_games_uninstall_only": "Solo disinstalla", +"cw_games_uninstall_delete_folder": "Disinstalla ed elimina la cartella", +"cw_games_uninstall_delete_image": "Disinstalla ed elimina l'immagine", +"cw_games_size_at_least": "almeno {size}", +"cw_games_uninstalled_deleted": "{name} disinstallato e {path} eliminato.", +"cw_games_source_kept": "{name} disinstallato, ma {path} non è stato eliminato. Eliminalo in File per liberare spazio.", "cw_games_err_launch_refused": "La console si è rifiutata di avviarlo. I giochi homebrew e fake-package richiedono kstuff in esecuzione; un gioco su immagine disco richiede anche ShadowMount+.", "cw_games_err_other_running": "È in esecuzione un altro gioco. Chiudilo prima.", "cw_games_err_running": "Chiudi il gioco prima di disinstallarlo.", diff --git a/client/src/i18n/locales/ja.ts b/client/src/i18n/locales/ja.ts index 6e2b176d9..abd6e51d7 100644 --- a/client/src/i18n/locales/ja.ts +++ b/client/src/i18n/locales/ja.ts @@ -5725,6 +5725,14 @@ c2c_test_deep_bad: "4 KiB のテスト送信が届きませんでした: {detail "cw_games_confirm_uninstall_title": "{name}をアンインストールしますか?", "cw_games_confirm_uninstall_pkg": "ゲームをPS5から削除します。あとでパッケージから再インストールできます。", "cw_games_confirm_uninstall_registered": "ゲームをホーム画面から外します。フォルダーやディスクイメージはそのまま残ります。", +"cw_games_checking_files": "ゲームのファイルを確認しています…", +"cw_games_confirm_uninstall_choose": "ゲームをホーム画面から外します。ファイルは残すことも、削除して空き容量を増やすこともできます: {path}。セーブデータはどちらでも残ります。", +"cw_games_uninstall_only": "アンインストールのみ", +"cw_games_uninstall_delete_folder": "アンインストールしてフォルダーを削除", +"cw_games_uninstall_delete_image": "アンインストールしてイメージを削除", +"cw_games_size_at_least": "{size} 以上", +"cw_games_uninstalled_deleted": "{name} をアンインストールし、{path} を削除しました。", +"cw_games_source_kept": "{name} をアンインストールしましたが、{path} は削除されていません。空き容量を増やすにはファイルで削除してください。", "cw_games_err_launch_refused": "本体が起動を拒否しました。homebrewやfake-packageのゲームにはkstuffの実行が必要です。ディスクイメージのゲームにはShadowMount+も必要です。", "cw_games_err_other_running": "別のゲームが実行中です。先にそちらを閉じてください。", "cw_games_err_running": "アンインストールする前にゲームを閉じてください。", diff --git a/client/src/i18n/locales/ko.ts b/client/src/i18n/locales/ko.ts index 6d4f372ca..025d7ad19 100644 --- a/client/src/i18n/locales/ko.ts +++ b/client/src/i18n/locales/ko.ts @@ -5723,6 +5723,14 @@ c2c_test_deep_bad: "4 KiB 테스트 전송이 도착하지 않았습니다: {det "cw_games_confirm_uninstall_title": "{name}을(를) 제거할까요?", "cw_games_confirm_uninstall_pkg": "PS5에서 게임을 제거합니다. 나중에 패키지에서 다시 설치할 수 있습니다.", "cw_games_confirm_uninstall_registered": "홈 화면에서 게임을 내립니다. 폴더나 디스크 이미지는 그대로 남습니다.", +"cw_games_checking_files": "게임 파일을 확인하는 중…", +"cw_games_confirm_uninstall_choose": "게임이 홈 화면에서 사라집니다. 파일은 그대로 두거나 삭제해 공간을 확보할 수 있습니다: {path}. 저장 데이터는 어느 쪽이든 유지됩니다.", +"cw_games_uninstall_only": "제거만", +"cw_games_uninstall_delete_folder": "제거하고 폴더 삭제", +"cw_games_uninstall_delete_image": "제거하고 이미지 삭제", +"cw_games_size_at_least": "최소 {size}", +"cw_games_uninstalled_deleted": "{name} 제거, {path} 삭제 완료.", +"cw_games_source_kept": "{name}은(는) 제거되었지만 {path}은(는) 삭제되지 않았습니다. 공간을 확보하려면 파일에서 삭제하세요.", "cw_games_err_launch_refused": "콘솔이 시작을 거부했습니다. 홈브루와 fake-package 게임은 kstuff가 실행 중이어야 하고, 디스크 이미지 게임은 ShadowMount+도 필요합니다.", "cw_games_err_other_running": "다른 게임이 실행 중입니다. 먼저 그 게임을 닫으세요.", "cw_games_err_running": "제거하기 전에 게임을 닫으세요.", diff --git a/client/src/i18n/locales/pl.ts b/client/src/i18n/locales/pl.ts index 39acbfe20..9a4d104c8 100644 --- a/client/src/i18n/locales/pl.ts +++ b/client/src/i18n/locales/pl.ts @@ -5943,6 +5943,14 @@ c2c_test_deep_bad: "Testowa wysyłka 4 KiB nie dotarła: {detail}", "cw_games_confirm_uninstall_title": "Odinstalować {name}?", "cw_games_confirm_uninstall_pkg": "Gra zostanie usunięta z PS5. Możesz zainstalować ją ponownie później z jej pakietu.", "cw_games_confirm_uninstall_registered": "Gra zniknie z ekranu głównego. Jej folder lub obraz dysku zostaje na miejscu.", +"cw_games_checking_files": "Sprawdzanie plików gry…", +"cw_games_confirm_uninstall_choose": "Gra zniknie z ekranu głównego. Jej pliki mogą zostać albo zostać usunięte, by zwolnić miejsce: {path}. Zapisy gry zostają w obu przypadkach.", +"cw_games_uninstall_only": "Tylko odinstaluj", +"cw_games_uninstall_delete_folder": "Odinstaluj i usuń folder", +"cw_games_uninstall_delete_image": "Odinstaluj i usuń obraz", +"cw_games_size_at_least": "co najmniej {size}", +"cw_games_uninstalled_deleted": "Odinstalowano {name} i usunięto {path}.", +"cw_games_source_kept": "Odinstalowano {name}, ale nie usunięto {path}. Usuń to w Plikach, by zwolnić miejsce.", "cw_games_err_launch_refused": "Konsola odmówiła uruchomienia. Gry homebrew i fake-package wymagają działającego kstuff; gra z obrazu dysku wymaga też ShadowMount+.", "cw_games_err_other_running": "Działa inna gra. Najpierw ją zamknij.", "cw_games_err_running": "Zamknij grę przed odinstalowaniem.", diff --git a/client/src/i18n/locales/pt-BR.ts b/client/src/i18n/locales/pt-BR.ts index 6cc0e700c..a496a3ae7 100644 --- a/client/src/i18n/locales/pt-BR.ts +++ b/client/src/i18n/locales/pt-BR.ts @@ -5721,6 +5721,14 @@ c2c_test_deep_bad: "O envio de teste de 4 KiB não chegou: {detail}", "cw_games_confirm_uninstall_title": "Desinstalar {name}?", "cw_games_confirm_uninstall_pkg": "Isso remove o jogo do PS5. Você pode instalá-lo de novo depois a partir do pacote.", "cw_games_confirm_uninstall_registered": "Isso tira o jogo da tela inicial. A pasta ou imagem de disco continua onde está.", +"cw_games_checking_files": "Verificando os arquivos do jogo…", +"cw_games_confirm_uninstall_choose": "O jogo sai da tela inicial. Os arquivos podem ficar ou ser excluídos para liberar espaço: {path}. Os salvamentos são mantidos nos dois casos.", +"cw_games_uninstall_only": "Só desinstalar", +"cw_games_uninstall_delete_folder": "Desinstalar e excluir a pasta", +"cw_games_uninstall_delete_image": "Desinstalar e excluir a imagem", +"cw_games_size_at_least": "pelo menos {size}", +"cw_games_uninstalled_deleted": "{name} desinstalado e {path} excluído.", +"cw_games_source_kept": "{name} desinstalado, mas {path} não foi excluído. Exclua em Arquivos para liberar espaço.", "cw_games_err_launch_refused": "O console se recusou a iniciá-lo. Jogos homebrew e fake-package precisam do kstuff em execução; um jogo em imagem de disco também precisa do ShadowMount+.", "cw_games_err_other_running": "Outro jogo está em execução. Feche-o primeiro.", "cw_games_err_running": "Feche o jogo antes de desinstalá-lo.", diff --git a/client/src/i18n/locales/ru.ts b/client/src/i18n/locales/ru.ts index d73c7acd2..44ac249ed 100644 --- a/client/src/i18n/locales/ru.ts +++ b/client/src/i18n/locales/ru.ts @@ -5659,6 +5659,14 @@ c2c_test_deep_bad: "Тестовая отправка 4 КиБ не дошла: "cw_games_confirm_uninstall_title": "Удалить {name}?", "cw_games_confirm_uninstall_pkg": "Игра будет удалена с PS5. Позже её можно установить снова из пакета.", "cw_games_confirm_uninstall_registered": "Игра исчезнет с главного экрана. Её папка или образ диска останутся на месте.", +"cw_games_checking_files": "Проверка файлов игры…", +"cw_games_confirm_uninstall_choose": "Игра исчезнет с главного экрана. Её файлы можно оставить или удалить, чтобы освободить место: {path}. Сохранения остаются в любом случае.", +"cw_games_uninstall_only": "Только удалить игру", +"cw_games_uninstall_delete_folder": "Удалить игру и папку", +"cw_games_uninstall_delete_image": "Удалить игру и образ", +"cw_games_size_at_least": "не меньше {size}", +"cw_games_uninstalled_deleted": "{name} удалена, {path} удалён.", +"cw_games_source_kept": "{name} удалена, но {path} не удалён. Удалите его в разделе «Файлы», чтобы освободить место.", "cw_games_err_launch_refused": "Консоль отказалась её запускать. Для homebrew и fake-package игр нужен запущенный kstuff; игре из образа диска нужен ещё и ShadowMount+.", "cw_games_err_other_running": "Запущена другая игра. Сначала закройте её.", "cw_games_err_running": "Закройте игру, прежде чем удалять её.", diff --git a/client/src/i18n/locales/th.ts b/client/src/i18n/locales/th.ts index 86b101317..fb24ab8fa 100644 --- a/client/src/i18n/locales/th.ts +++ b/client/src/i18n/locales/th.ts @@ -5713,6 +5713,14 @@ c2c_test_deep_bad: "การส่งทดสอบ 4 KiB ไปไม่ถ "cw_games_confirm_uninstall_title": "ถอนการติดตั้ง {name} ไหม?", "cw_games_confirm_uninstall_pkg": "การดำเนินการนี้จะลบเกมออกจาก PS5 คุณติดตั้งใหม่ได้ภายหลังจากแพ็กเกจของเกม", "cw_games_confirm_uninstall_registered": "การดำเนินการนี้จะนำเกมออกจากหน้าจอหลัก โฟลเดอร์หรืออิมเมจดิสก์ยังอยู่ที่เดิม", +"cw_games_checking_files": "กำลังตรวจไฟล์ของเกม…", +"cw_games_confirm_uninstall_choose": "เกมจะถูกนำออกจากหน้าโฮม ไฟล์ของเกมจะเก็บไว้หรือลบเพื่อคืนพื้นที่ก็ได้: {path} ข้อมูลเซฟยังอยู่ทั้งสองแบบ", +"cw_games_uninstall_only": "ถอนการติดตั้งอย่างเดียว", +"cw_games_uninstall_delete_folder": "ถอนการติดตั้งและลบโฟลเดอร์", +"cw_games_uninstall_delete_image": "ถอนการติดตั้งและลบอิมเมจ", +"cw_games_size_at_least": "อย่างน้อย {size}", +"cw_games_uninstalled_deleted": "ถอนการติดตั้ง {name} และลบ {path} แล้ว", +"cw_games_source_kept": "ถอนการติดตั้ง {name} แล้ว แต่ยังไม่ได้ลบ {path} ลบได้ในไฟล์เพื่อคืนพื้นที่", "cw_games_err_launch_refused": "เครื่องปฏิเสธการเริ่มเกม เกม homebrew และ fake-package ต้องมี kstuff ทำงานอยู่ ส่วนเกมจากอิมเมจดิสก์ต้องมี ShadowMount+ ด้วย", "cw_games_err_other_running": "มีเกมอื่นทำงานอยู่ ปิดเกมนั้นก่อน", "cw_games_err_running": "ปิดเกมก่อนถอนการติดตั้ง", diff --git a/client/src/i18n/locales/tr.ts b/client/src/i18n/locales/tr.ts index 8eab5c79d..5780b05c5 100644 --- a/client/src/i18n/locales/tr.ts +++ b/client/src/i18n/locales/tr.ts @@ -5713,6 +5713,14 @@ c2c_test_deep_bad: "4 KiB'lik test gönderimi ulaşmadı: {detail}", "cw_games_confirm_uninstall_title": "{name} kaldırılsın mı?", "cw_games_confirm_uninstall_pkg": "Bu, oyunu PS5'ten kaldırır. Daha sonra paketinden yeniden yükleyebilirsin.", "cw_games_confirm_uninstall_registered": "Bu, oyunu ana ekrandan kaldırır. Klasörü veya disk görüntüsü olduğu yerde kalır.", +"cw_games_checking_files": "Oyunun dosyalarına bakılıyor…", +"cw_games_confirm_uninstall_choose": "Oyun ana ekrandan kaldırılır. Dosyaları kalabilir ya da yer açmak için silinebilir: {path}. Kayıtlar her iki durumda da korunur.", +"cw_games_uninstall_only": "Yalnızca kaldır", +"cw_games_uninstall_delete_folder": "Kaldır ve klasörü sil", +"cw_games_uninstall_delete_image": "Kaldır ve kalıbı sil", +"cw_games_size_at_least": "en az {size}", +"cw_games_uninstalled_deleted": "{name} kaldırıldı ve {path} silindi.", +"cw_games_source_kept": "{name} kaldırıldı, ancak {path} silinmedi. Yer açmak için Dosyalar'dan silin.", "cw_games_err_launch_refused": "Konsol başlatmayı reddetti. Homebrew ve fake-package oyunlar için kstuff çalışıyor olmalı; disk görüntüsü oyunları ShadowMount+ da ister.", "cw_games_err_other_running": "Başka bir oyun çalışıyor. Önce onu kapat.", "cw_games_err_running": "Kaldırmadan önce oyunu kapat.", diff --git a/client/src/i18n/locales/vi.ts b/client/src/i18n/locales/vi.ts index d01de67c0..eea8a6499 100644 --- a/client/src/i18n/locales/vi.ts +++ b/client/src/i18n/locales/vi.ts @@ -5708,6 +5708,14 @@ c2c_test_deep_bad: "Lượt gửi thử 4 KiB không tới: {detail}", "cw_games_confirm_uninstall_title": "Gỡ cài đặt {name}?", "cw_games_confirm_uninstall_pkg": "Thao tác này xóa trò chơi khỏi PS5. Bạn có thể cài lại sau từ gói của nó.", "cw_games_confirm_uninstall_registered": "Thao tác này đưa trò chơi ra khỏi màn hình chính. Thư mục hoặc ảnh đĩa của nó vẫn ở nguyên chỗ.", +"cw_games_checking_files": "Đang xem các tệp của trò chơi…", +"cw_games_confirm_uninstall_choose": "Trò chơi sẽ bị gỡ khỏi màn hình chính. Các tệp có thể giữ lại hoặc xóa để giải phóng dung lượng: {path}. Dữ liệu lưu được giữ trong cả hai trường hợp.", +"cw_games_uninstall_only": "Chỉ gỡ cài đặt", +"cw_games_uninstall_delete_folder": "Gỡ cài đặt và xóa thư mục", +"cw_games_uninstall_delete_image": "Gỡ cài đặt và xóa ảnh đĩa", +"cw_games_size_at_least": "ít nhất {size}", +"cw_games_uninstalled_deleted": "Đã gỡ {name} và xóa {path}.", +"cw_games_source_kept": "Đã gỡ {name}, nhưng {path} chưa bị xóa. Hãy xóa trong Tệp để giải phóng dung lượng.", "cw_games_err_launch_refused": "Máy từ chối khởi động. Trò chơi homebrew và fake-package cần kstuff đang chạy; trò chơi từ ảnh đĩa cần thêm ShadowMount+.", "cw_games_err_other_running": "Một trò chơi khác đang chạy. Hãy đóng nó trước.", "cw_games_err_running": "Hãy đóng trò chơi trước khi gỡ cài đặt.", diff --git a/client/src/i18n/locales/zh-CN.ts b/client/src/i18n/locales/zh-CN.ts index e305cf427..ecdaaf67c 100644 --- a/client/src/i18n/locales/zh-CN.ts +++ b/client/src/i18n/locales/zh-CN.ts @@ -5665,6 +5665,14 @@ c2c_test_deep_bad: "4 KiB 测试发送未到达:{detail}", "cw_games_confirm_uninstall_title": "要卸载 {name} 吗?", "cw_games_confirm_uninstall_pkg": "这会把游戏从 PS5 上删除。之后可以用它的安装包重新安装。", "cw_games_confirm_uninstall_registered": "这会把游戏从主屏幕上移除。它的文件夹或磁盘镜像保留在原处。", +"cw_games_checking_files": "正在查看游戏文件…", +"cw_games_confirm_uninstall_choose": "游戏将从主屏幕移除。它的文件可以保留,也可以删除以释放空间:{path}。两种方式都会保留存档。", +"cw_games_uninstall_only": "仅卸载", +"cw_games_uninstall_delete_folder": "卸载并删除文件夹", +"cw_games_uninstall_delete_image": "卸载并删除镜像", +"cw_games_size_at_least": "至少 {size}", +"cw_games_uninstalled_deleted": "已卸载 {name},并删除 {path}。", +"cw_games_source_kept": "已卸载 {name},但 {path} 未删除。请在文件中删除以释放空间。", "cw_games_err_launch_refused": "主机拒绝启动它。自制和 fake-package 游戏需要运行 kstuff;磁盘镜像游戏还需要 ShadowMount+。", "cw_games_err_other_running": "另一个游戏正在运行。请先关闭它。", "cw_games_err_running": "请先关闭游戏再卸载。", diff --git a/client/src/i18n/locales/zh-TW.ts b/client/src/i18n/locales/zh-TW.ts index ecaceae79..f9170a5f0 100644 --- a/client/src/i18n/locales/zh-TW.ts +++ b/client/src/i18n/locales/zh-TW.ts @@ -5659,6 +5659,14 @@ c2c_test_deep_bad: "4 KiB 測試傳送未抵達:{detail}", "cw_games_confirm_uninstall_title": "要解除安裝 {name} 嗎?", "cw_games_confirm_uninstall_pkg": "這會從 PS5 移除遊戲。之後可以用它的安裝包重新安裝。", "cw_games_confirm_uninstall_registered": "這會把遊戲從主畫面移除。它的資料夾或磁碟映像會留在原處。", +"cw_games_checking_files": "正在查看遊戲檔案…", +"cw_games_confirm_uninstall_choose": "遊戲將從主畫面移除。它的檔案可以保留,也可以刪除以釋放空間:{path}。兩種方式都會保留存檔。", +"cw_games_uninstall_only": "僅解除安裝", +"cw_games_uninstall_delete_folder": "解除安裝並刪除資料夾", +"cw_games_uninstall_delete_image": "解除安裝並刪除映像", +"cw_games_size_at_least": "至少 {size}", +"cw_games_uninstalled_deleted": "已解除安裝 {name},並刪除 {path}。", +"cw_games_source_kept": "已解除安裝 {name},但 {path} 未刪除。請在檔案中刪除以釋放空間。", "cw_games_err_launch_refused": "主機拒絕啟動它。自製和 fake-package 遊戲需要執行 kstuff;磁碟映像遊戲還需要 ShadowMount+。", "cw_games_err_other_running": "另一個遊戲正在執行。請先關閉它。", "cw_games_err_running": "請先關閉遊戲再解除安裝。", diff --git a/client/src/screens/GameHub/OnThisPs5Card.tsx b/client/src/screens/GameHub/OnThisPs5Card.tsx index 5c8c9bdf3..a1d347455 100644 --- a/client/src/screens/GameHub/OnThisPs5Card.tsx +++ b/client/src/screens/GameHub/OnThisPs5Card.tsx @@ -15,6 +15,7 @@ import { appdbQuery, appResume, appSuspend, + appUninstallSource, appUnregister, fsChmod, krakenRemove, @@ -51,6 +52,7 @@ import { useCollectionItems, useCollectionLoaded } from "./collectionLink"; import { InstalledKindBadge, installedKindOf } from "./installedKind"; import { readRunningApps } from "./runningAppsRead"; import { SmpNeededWarning, useSmpState } from "./SmpNeeded"; +import { asksAboutSource, uninstallChoices } from "./uninstallChoice"; /** A game installed from a package is gone once uninstalled: say so when the Collection on * this computer (once read) has no copy of it to install again. */ @@ -98,7 +100,7 @@ export function OnThisPs5Card({ }) { const tr = useTr(); const guard = useStaleHostGuard(); - const { confirm, dialog } = useConfirm(); + const { confirm, choose, dialog } = useConfirm(); const kind = installedKindOf(title); // Read for a disk image (is ShadowMount+ there?) and for an installed-looking title, which may // be one Kraken Mount mounts: it leaves no mount.lnk of ours, so it reads as installed. @@ -223,12 +225,41 @@ export function OnThisPs5Card({ } const probe = guard.capture(); const t = title; - const ok = await confirm({ - title: tr( - "installed_uninstall_confirm_title", - { name: t.titleName }, - `Uninstall ${t.titleName}?`, - ), + const confirmTitle = tr( + "installed_uninstall_confirm_title", + { name: t.titleName }, + `Uninstall ${t.titleName}?`, + ); + // A game played from a folder or a disk image: ask whether that goes too. Already gone, or not + // safe to delete: the plain question below. + let deleteSource: string | undefined; + let choices: ReturnType = null; + if (asksAboutSource(t, { kraken: krakenTitle, smp: smpTitle })) { + setBusy("uninstall"); + const src = await appUninstallSource(probe.host, t.titleId); + setBusy(null); + if (probe.isStale()) return; + choices = uninstallChoices(src, tr); + if (choices) { + const picked = await choose({ + title: confirmTitle, + message: tr( + "installed_uninstall_confirm_choose", + undefined, + "This takes the game off the home screen. Its files can stay on the drive, or be deleted to free the space. Saves are kept either way.", + ), + choices, + confirmLabel: tr("installed_uninstall", undefined, "Uninstall"), + destructive: true, + }); + if (picked === null || probe.isStale()) return; + if (picked === "delete") deleteSource = src.path; + } + } + const ok = + !!choices || + (await confirm({ + title: confirmTitle, message: t.system ? tr( "installed_uninstall_confirm_system", @@ -260,16 +291,40 @@ export function OnThisPs5Card({ ) + noCopyWarning(t, tr), confirmLabel: tr("installed_uninstall", undefined, "Uninstall"), destructive: true, - }); + })); if (!ok || probe.isStale()) return; setBusy("uninstall"); setActionError(null); try { - const res = await appUnregister(transferAddr(probe.host), t.titleId); + const res = await appUnregister( + transferAddr(probe.host), + t.titleId, + deleteSource ? { deleteSource } : undefined, + ); audit("app_uninstall", withConsolePrefix(probe.host, t.titleName), { context: t.titleId, }); + if (deleteSource && res.sourceDeleted) { + audit("fs_delete", withConsolePrefix(probe.host, deleteSource), { context: t.titleId }); + } if (probe.isStale()) return; + if (deleteSource && !res.sourceDeleted) { + // Uninstalled, but the files stayed: say so, with why. + pushNotification("warning", withConsolePrefix(probe.host, t.titleName), { + body: tr( + "installed_uninstall_source_kept", + { + name: t.titleName, + path: deleteSource, + reason: + res.sourceError === "uninstall_not_finished" + ? tr("installed_uninstall_not_finished", undefined, "the PS5 still lists the game") + : humanizePs5Error(res.sourceError ?? ""), + }, + "{name} was uninstalled, but {path} was not deleted ({reason}). Delete it in Files to free the space.", + ), + }); + } if (res.unverified) { // #879: app.db could not be read: the removal is not confirmed, so never "done". pushNotification("warning", withConsolePrefix(probe.host, t.titleName), { diff --git a/client/src/screens/GameHub/uninstallChoice.test.ts b/client/src/screens/GameHub/uninstallChoice.test.ts new file mode 100644 index 000000000..6f33e4595 --- /dev/null +++ b/client/src/screens/GameHub/uninstallChoice.test.ts @@ -0,0 +1,71 @@ +import { describe, expect, it } from "vitest"; + +import type { InstalledTitle } from "../../api/ps5"; +import { asksAboutSource, sourceDetail, uninstallChoices } from "./uninstallChoice"; + +// The fallback with its {placeholders} filled, as the real tr does for English. +const tr = ((_k: string, vars: Record | undefined, fb: string) => + fb.replace(/\{(\w+)\}/g, (_m, n: string) => String(vars?.[n] ?? `{${n}}`))) as never; + +const title = (over: Partial): InstalledTitle => ({ + titleId: "PPSA00001", + titleName: "Game", + origin: "registered", + imageBacked: false, + source: "/data/homebrew/Game", + system: false, + ...over, +}); + +const none = { kraken: false, smp: false }; + +describe("which Uninstall asks about the game's files", () => { + it("a folder or disk-image game asks", () => { + expect(asksAboutSource(title({}), none)).toBe(true); + expect(asksAboutSource(title({ imageBacked: true, source: "/mnt/ps5upload/G/x" }), none)).toBe(true); + }); + + it("an installed package, a system title, and other mounters' titles just uninstall", () => { + expect(asksAboutSource(title({ origin: "pkg", source: "" }), none)).toBe(false); + expect(asksAboutSource(title({ source: "" }), none)).toBe(false); + expect(asksAboutSource(title({ system: true }), none)).toBe(false); + expect(asksAboutSource(title({}), { kraken: true, smp: false })).toBe(false); + expect(asksAboutSource(title({}), { kraken: false, smp: true })).toBe(false); + }); +}); + +describe("the Uninstall choices", () => { + it("a folder: Uninstall only first, then delete the folder with its path and size", () => { + const c = uninstallChoices( + { offer: true, kind: "folder", path: "/data/homebrew/Game", bytes: 3 * 1024 ** 3 }, + tr, + ); + expect(c?.map((x) => x.value)).toEqual(["keep", "delete"]); + expect(c?.[0].label).toBe("Uninstall only"); + expect(c?.[1].label).toBe("Uninstall and delete the game folder"); + expect(c?.[1].detail).toBe("/data/homebrew/Game (3.00 GiB)"); + }); + + it("a disk image: offers to delete the image", () => { + const c = uninstallChoices( + { offer: true, kind: "image", path: "/mnt/ext1/Game.ffpkg", mount_point: "/mnt/ps5upload/Game", bytes: 1024 }, + tr, + ); + expect(c?.[1].label).toBe("Uninstall and delete the disk image"); + expect(c?.[1].detail).toBe("/mnt/ext1/Game.ffpkg (1.00 KiB)"); + }); + + it("a size the walk did not finish reads as at least", () => { + expect(sourceDetail({ offer: true, kind: "folder", path: "/p", bytes: 2048, size_partial: true }, tr)).toBe( + "/p (at least 2.00 KiB)", + ); + expect(sourceDetail({ offer: true, kind: "folder", path: "/p" }, tr)).toBe("/p"); + }); + + it("a source already gone or not safe to delete: no question, the plain uninstall", () => { + expect(uninstallChoices({ offer: false, reason: "gone" }, tr)).toBeNull(); + expect(uninstallChoices({ offer: false, reason: "holds_other_game" }, tr)).toBeNull(); + expect(uninstallChoices({ offer: false, reason: "not_registered" }, tr)).toBeNull(); + expect(uninstallChoices({ offer: true, kind: "folder" }, tr)).toBeNull(); + }); +}); diff --git a/client/src/screens/GameHub/uninstallChoice.ts b/client/src/screens/GameHub/uninstallChoice.ts new file mode 100644 index 000000000..a5881a429 --- /dev/null +++ b/client/src/screens/GameHub/uninstallChoice.ts @@ -0,0 +1,44 @@ +import type { InstalledTitle, UninstallSource } from "../../api/ps5"; +import type { ConfirmChoice } from "../../components/ConfirmDialog"; +import { formatBytes } from "../../lib/format"; +import type { useTr } from "../../state/lang"; + +type Tr = ReturnType; + +/** Whether Uninstall first asks the engine what the game plays from: only a title we registered + * from a folder or a disk image. A package install (the console's installer removes its own copy), + * a system title, and a ShadowMount+ or Kraken Mount title (they have their own wording) do not. */ +export function asksAboutSource(t: InstalledTitle, opts: { kraken: boolean; smp: boolean }): boolean { + return !t.system && !opts.kraken && !opts.smp && t.origin === "registered" && !!t.source; +} + +/** "the folder (12.3 GiB)" detail line of the delete choice: the path and what it frees. */ +export function sourceDetail(s: UninstallSource, tr: Tr): string { + const path = s.path ?? ""; + if (typeof s.bytes !== "number") return path; + const size = s.size_partial + ? tr("installed_uninstall_size_at_least", { size: formatBytes(s.bytes) }, "at least {size}") + : formatBytes(s.bytes); + return `${path} (${size})`; +} + +/** The two choices of an Uninstall that can also delete its source, "Uninstall only" first (the + * default); null when there is nothing to ask (the source is gone, or not safe to delete). */ +export function uninstallChoices(s: UninstallSource, tr: Tr): ConfirmChoice[] | null { + if (!s.offer || !s.path || (s.kind !== "folder" && s.kind !== "image")) return null; + return [ + { + value: "keep", + label: tr("installed_uninstall_only", undefined, "Uninstall only"), + detail: tr("installed_uninstall_keep_detail", { path: s.path }, "Keep {path}"), + }, + { + value: "delete", + label: + s.kind === "folder" + ? tr("installed_uninstall_delete_folder", undefined, "Uninstall and delete the game folder") + : tr("installed_uninstall_delete_image", undefined, "Uninstall and delete the disk image"), + detail: sourceDetail(s, tr), + }, + ]; +} diff --git a/client/vite.console.config.ts b/client/vite.console.config.ts index 4e76148b5..6525d7016 100644 --- a/client/vite.console.config.ts +++ b/client/vite.console.config.ts @@ -8,12 +8,13 @@ * be down-levelled and is rejected by the client lint rule. * - The PC app's theme tokens (dark, light, peach, OLED, high contrast) come from src/index.css itself (pcTokens), * not a copy, so the page follows the app's colours. - * - Size budget: the build FAILS over 768 KiB raw or 220 KiB gzip. Ruling R19 raised the gzip + * - Size budget: the build FAILS over 784 KiB raw or 224 KiB gzip. Ruling R19 raised the gzip * cap from 150 KiB when all 21 locales were inlined; since then only English is (consoleStrings). * The page is served gzipped, so the gzip cap is the one that matters; the raw cap went from 640 to * 768 KiB when the Games, Fan, Processes and Clean up sections landed together (7.1.18). The * gzip cap went from 220 to 224 KiB when the converter's own failure and stage sentences landed - * (the page was within 0.1 KiB of 220). + * (the page was within 0.1 KiB of 220). The raw cap went from 768 to 784 KiB when Uninstall + * learned to delete a game's folder or image (the page was 2.8 KiB over; gzip had room). * - Strings: every other locale is emitted next to the page as strings/.json (minified, cw_* * keys only); payload/Makefile gzips each into the ELF (build/webui_strings.c) and the helper * serves them at GET /strings/.json. The page fetches them with ?v= @@ -37,7 +38,7 @@ import react from "@vitejs/plugin-react"; import { splitLangLists } from "./postcss/langLists.mjs"; import { appcacheManifest, serviceWorkerSource } from "./src/console/offline/offlineCopy.ts"; -const RAW_BUDGET = 768 * 1024; +const RAW_BUDGET = 784 * 1024; // 768 until Uninstall could delete a game's folder or image const GZIP_BUDGET = 224 * 1024; // ruling R19 (was 150 KiB), 220 until the converter's sentences const TOKENS_ID = "virtual:pc-tokens.css"; diff --git a/scripts/i18n-known-missing.json b/scripts/i18n-known-missing.json index 2525cd61f..44a58485a 100644 --- a/scripts/i18n-known-missing.json +++ b/scripts/i18n-known-missing.json @@ -3,6 +3,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -75,6 +83,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -151,6 +167,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -235,6 +259,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -313,6 +345,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -387,6 +427,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -464,6 +512,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -540,6 +596,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -621,6 +685,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -704,6 +776,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -787,6 +867,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -860,6 +948,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -935,6 +1031,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1013,6 +1117,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1091,6 +1203,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1168,6 +1288,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1245,6 +1373,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1325,6 +1461,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1404,6 +1548,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1477,6 +1629,14 @@ "missing": [ "err_launch_not_in_database", "fpkg.aboutFake_v3", + "installed_uninstall_confirm_choose", + "installed_uninstall_delete_folder", + "installed_uninstall_delete_image", + "installed_uninstall_keep_detail", + "installed_uninstall_not_finished", + "installed_uninstall_only", + "installed_uninstall_size_at_least", + "installed_uninstall_source_kept", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", diff --git a/scripts/i18n-source-hashes.json b/scripts/i18n-source-hashes.json index 88cdaaf39..84d38bf54 100644 --- a/scripts/i18n-source-hashes.json +++ b/scripts/i18n-source-hashes.json @@ -2425,7 +2425,9 @@ "cw_files_vw_page_prev": "1208ec01 vqlPOiboYm8riOZAwHmHKjbac3dt5gg9RiRqPgtm8rfdCfbst0V-swybmEyV", "cw_files_vw_prev": "a57b08a4 qencSqVIY5M5KNlMLDPmzB_HYEO_xR92A2n59mL5M5Gp-_1q8dSYznvUu9gy", "cw_files_vw_wrap": "6727132a mEeaOj7B9k74f2ZQqSszBaC-MH_efcysQ52kN6Gu2moOBnH46tQ_GrsJaQb7", + "cw_games_checking_files": "654ed3c7 hOXttjG3HoY45nChkmQbsGJgwEv95QO79WtLCScDc4yJ_j3aoP-xAqJPYlOA", "cw_games_closed": "519c8f3c gJ2sL3SCGVSCGW7OW0h5AmMgz5MxMCms1m65fP94txTac2R8JWIBYifoT8FF", + "cw_games_confirm_uninstall_choose": "eb1dbb2c dHdc12HYrEQiYfylm5on2j22HrTw06o-ajXNpO3GYnyM0ia-mTXBWQF2iLr6", "cw_games_confirm_uninstall_pkg": "a6842788 QEnUvEr4H4zeuFr1J5yxtBiH-GuYQkRXq15uFoqraz0_peX2pJ6_TiIprSgQ", "cw_games_confirm_uninstall_registered": "9ce1781d UMyqtyDAa9uCPQsRkhWqPbBXjpuEOc3S1G8j6Ila5Ku-0A4wAXzTwIFDMcW0", "cw_games_confirm_uninstall_title": "1725586d sNGJHx6GlrLcvEAPbGU-AixiK_dzr00fukp7KYln2rLHKz2szTN-FAuJjS3s", @@ -2467,13 +2469,19 @@ "cw_games_search": "cfc027ac BVUjqB0C7QvdviNaFCNdI8qbnuvoCl7_F3BX6H4KMf24iBrufLG5Jg0qKux2", "cw_games_show_icon": "fbc4aa9f D51ReEYKPtLVTWPAs7czMWfwUQm6iJk1IUVVv-VLbxQ-m9VSVzOaatUwjYQi", "cw_games_shown_done": "bc19a96d 1g6X3FCv4YGipx4km2kL7_LdT_-r0XnnHtSyJ2Six257eZrK0c4IiQs1TOFF", + "cw_games_size_at_least": "39234076 EPWmsPpCniWMIvLtk_ovAIq-mH4PbZJdMWXT9f4IvWWLlCnYbfpufUKIHKIH", "cw_games_sort_name": "790e831a qqQZmvHZcrUJ8dEMqCgqo-fbe1cCISdmiWn2snJkSMUGt-DVzLsJPWeUZ1U0", "cw_games_sort_recent": "452ec9f5 QBFcCLlddVTPeVCCCiks3FhXDZjQHHR2EHxtfdV_gs9O3LoiF5b47elkuxsx", + "cw_games_source_kept": "06be57fb Of--gIF7aNsf1MeQryOSOo1bC1BeNPWezyWz9ZNw-_vvjSfzZR9FLBs26X-h", "cw_games_starting": "bbe5fc3b ULeFz0n6M2Gm0ol4AY29C2XejkAR-bPGZXfWS8O2Gml1gIOcz05lwiQ_P9yH", "cw_games_still_present": "3969addc 1fi4PfSC5sBpfaW7U5G9SLxHtGyoOvXX3pNzAIQ9kPYNK1pkpuSi4tF2DCop", "cw_games_title": "d9dae781 ww0jFZ8WSj_4BNUVNPxwMfHnXEEQfH_SRJSru-wSMa1STKCTCTg0m5hHxn5v", "cw_games_uninstall": "fe199528 GC3FikItb3BMBYQARC3paV-oTOx58vBhLq2YPuh3BMvpmvb0uIAGw_BrwZgR", + "cw_games_uninstall_delete_folder": "df54baba 8dGHacksz2RaF9gQxbGyAT_luHz4fDEAf6J-nF94LdiSWP-wPtPZ-FfRyaB8", + "cw_games_uninstall_delete_image": "f4bd95d8 CQUD_mpY77i9-9BHvvTWxjjOhckbwDe6SzWnhSa-o68jlekqKWVs1avn9XQ3", + "cw_games_uninstall_only": "78f7e568 gsIZpBaLOtpG86hW9mkgxqjWMfNEOSGq2yXrrTJcLrFBWKhWVvX0x-kBQGre", "cw_games_uninstalled": "b0e80ff6 mJgzzsRKgj14mEsewb8pSgCU7HYlKtUujmmgvLLj142XiqxOj8JBzhE9snAM", + "cw_games_uninstalled_deleted": "c83dfedc 39zgfbuKInjfY0H-AMncD-VYfIl-DqqPLtHq4H1RYM-IkOgxyryISPHcNov1", "cw_games_view_installed": "f8b32f4e hidRMx7JqZUfl_ZJ2QgiNLe4Qry90cwFk0cTjzvZUfTPLxfYsLp4BWqLbHou", "cw_games_view_library": "9332daaa Kg0RWCpVDIELSxfysHuwZbbmxJx4hoZMxaJLwoo2tT7rowjpCkwt-woDcptv", "cw_help_close": "7d9eb7ac ypD59vuAjrsyMTycR575z3B0wjIMtQ9sJHowALjDyvp6QwwMezGXVTP9Rx_3", @@ -4727,16 +4735,24 @@ "installed_swap_confirm_ok": "07f5a8ca fsMmXOW0iWYKi5W3-szFIb9eN6SftU0a99KOuK4KWk3CMENA9QlIqbHBCWXS", "installed_swap_confirm_title": "16922639 sfFcUKQPtVvZwOW910Rx10V0vE6Ed7skKBpYbgqKZvdoCYDm0plxmF6q48Uw", "installed_uninstall": "fe199528 GC3oYaItb3BMBYQARC3paV-o23S58vBhLq2YPuh3BMvpmvb0uIAGw_BrwZgR", + "installed_uninstall_confirm_choose": "28df86f3 ------------------------------------------------------------", "installed_uninstall_confirm_kraken": "24b5fe76 -fjtrpaugZXjw4I09mJeQyyCMQxp7gduTWCeZZwA1mSKqZYC_ebsqE-LCq0P", "installed_uninstall_confirm_pkg": "edc8bd42 g2_v8fkiDtYosEBUSSxNeTg8r7XHfAeBd_8gKHxbZ-h9rSSRvlW6rUsAdo2I", "installed_uninstall_confirm_registered": "1c57e3aa GgXBebDFf-ZMoqDCQi_hmVZHD3JOR5mW7btkvJYTkRp_474tSbnjGhmhQt-L", "installed_uninstall_confirm_smp": "e348753d xOyogMEz_Y6dyeUH4-N3SRmC14apzpUH2vCMSKJE5v_Q8L42LBQ_UWZG-Hye", "installed_uninstall_confirm_system": "f655c33c recabZVuk_PZ_Pfo-qz-cl6vLZ_N6j1C9VEru-MtPE4aJ_4dT5XU72TaT-gy", "installed_uninstall_confirm_title": "1725586d 9ssJHx6GlrLcbPNPbGU-AixiRhazr0T4zXCMKYln2rLHKCFtzTN-FA5dgt_p", + "installed_uninstall_delete_folder": "9bce7903 ------------------------------------------------------------", + "installed_uninstall_delete_image": "00ec4cfa ------------------------------------------------------------", "installed_uninstall_failed": "05a14e48 yguC9PyAWZ29AfMXDqa_gII_-_owQEIa5UQp2fVm5Bxkz843Loa-VNyMYIgj", + "installed_uninstall_keep_detail": "9cdefb95 ------------------------------------------------------------", "installed_uninstall_no_copy": "ca934a53 SIL0JtkVegALo5eu9fppWmdmGuPvTvNIPl9mb7YHvxZdaiZ_QCbA7PZGM6-W", + "installed_uninstall_not_finished": "cec9c74e ------------------------------------------------------------", + "installed_uninstall_only": "78f7e568 ------------------------------------------------------------", "installed_uninstall_refused": "e072b435 q0Svc7TvP5_FaRMj6NTNFjiL3XUnhsBZzxqLM4DQrdKuVoPTHASFIh2P8l8S", + "installed_uninstall_size_at_least": "39234076 ------------------------------------------------------------", "installed_uninstall_smp_returns": "bfb58284 pIioE0PWk7fOlGJIYwWiiEF2LA7pMVLi88j3W_iSsz4oyAE4AYypFdNbQSC1", + "installed_uninstall_source_kept": "567a5d87 ------------------------------------------------------------", "installed_uninstall_still_present": "2fc7942f 0sFSSBjVuoO42GTKVIUZ8cJZEFQGhXmexUOWO7HCtO__EphcbU-H7KG7zfYq", "installed_uninstall_unverified": "d7632f86 n2N40OoeQ89IE-zXIBDor2M16e7Z0_w9LAheKFuzodL6qqW54pBz_82gVMCe", "job_why_lanes": "910995c7 HrzJDnY0gZtI_KazBO8s_NFOLkiln_AVDkmWFG9WJog_m7GOi5oPSIXTmJ58", From 01fb0ef42a12c93619c708028a87c8d7237f6db8 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:35:02 -0800 Subject: [PATCH 11/23] FAQ: what Uninstall deletes Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- FAQ.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/FAQ.md b/FAQ.md index 94182411d..93d3edc6a 100644 --- a/FAQ.md +++ b/FAQ.md @@ -2215,6 +2215,27 @@ whose title ID can't be read) are counted in a line under the grid; **Show them* with the same actions. To dump an installed game to a drive, open it and use **Dump this game** under **On **. +**Q: When I uninstall a game, are its files deleted too?** +That depends on how the game got onto the PS5: + +- **Installed from a package** (a fake package installed with the PS5's installer): Uninstall + removes it, files and all, as Settings › Storage does. There is nothing else to choose. +- **Played from a game folder or a disk image** (`.ffpkg`, `.exfat`, `.ffpfs`) that you added to + the home screen: Uninstall asks whether to delete that folder or image too, and shows where it is + and how much space it frees. **Uninstall only** (picked to start with) takes the game off the + home screen and keeps its files. **Uninstall and delete** deletes them once the game is + uninstalled; an image is unmounted first. Saves are kept either way. If the folder or image is + already gone, it just uninstalls. +- It only ever deletes the game's own folder or image: never a drive's top level, a top folder of + the internal storage, the PS5's own folders, a folder or image another game on the home screen + also uses, or a folder with another game inside. For those you get the plain question. +- Games that **ShadowMount+** or **Kraken Mount** put on the home screen work as before: Kraken + Mount's Remove deletes its package or folder, and a ShadowMount+ image stays where it is. + +The same choice is in **Games** on the PS5's own page. Through the API or an agent, read +`GET /api/ps5/app/uninstall-source` (`games_uninstall_source`) first, then pass its `path` as +`delete_source` to the uninstall. + **Q: After Rebuild Database my games installed from fake packages are gone from the home screen. Do I have to download them again?** No. Rebuild Database (Safe Mode) removes games installed from fake packages from the home screen and from Settings › Storage, but their files stay on the drive. With the helper running and From 79726beee3801e48a5366a1f1deb46869763c635 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:35:43 -0800 Subject: [PATCH 12/23] =?UTF-8?q?Play=20Together:=20a=20guest's=20plain=20?= =?UTF-8?q?=E2=9C=95=20can=20no=20longer=20put=20the=20host's=20user=20on?= =?UTF-8?q?=20their=20pad?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a guest's pad appears, the PS5 asks who is using it by itself and offers the user in front first: the host's own. A plain ✕ moved that user to the guest's pad and the PS5 ended the host's Remote Play ("Server shutting down"). While a guest picks a user, ✕ now reaches the console only after a move (d-pad or left stick) since their last ✕, and for 20 s after the pick (Add User, Quick Play menus). The first ✕ that goes through is the pick; PS is no longer needed for it. If the PS5 still ends the stream that way while a guest was being asked or had just picked, the end names that player (guest_picked), the guest is told before the bye and their status keeps took_host. While someone picks, the guest status also carries move_first and the name of the user in front. New info logs: the first PS press, a held-back ✕, and the blamed player with how long after the pad was made. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- engine/crates/ps5upload-engine/src/join.rs | 629 ++++++++++++++++-- .../src/join_net/join_tests.rs | 6 +- .../ps5upload-engine/src/rp_stream_api.rs | 38 ++ 3 files changed, 612 insertions(+), 61 deletions(-) diff --git a/engine/crates/ps5upload-engine/src/join.rs b/engine/crates/ps5upload-engine/src/join.rs index 3d724ea66..df0b97ce2 100644 --- a/engine/crates/ps5upload-engine/src/join.rs +++ b/engine/crates/ps5upload-engine/src/join.rs @@ -114,6 +114,22 @@ const WATCH_EVERY: Duration = Duration::from_millis(250); /// off on the host's device that controller sits idle and still takes one of the console's four /// places. No slot, no "Who's using this controller?": it plays as the user the stream signed in. const STREAM_SEAT: u8 = 1; +/// The PS5 ends the host's stream ("Server shutting down") the moment the user it streams as goes +/// to another controller, and "Who's using this controller?" on a guest's pad lists that user. A +/// guest whose pad the console asked about this recently (still picking), or who picked a user +/// this recently, is taken to have picked the host's user when the stream ends that way. +const PICK_BLAME_ASKED: Duration = Duration::from_secs(120); +const PICK_BLAME_PICKED: Duration = Duration::from_secs(10); +/// After a guest's pick on the TV, ✕ still needs a move first this long: the menus after it +/// (Add User, the one-time guest's Quick Play) may offer the host's user again. +const PICK_SETTLE: Duration = Duration::from_secs(20); +/// The d-pad: a press of one moves the console's focus off the user it offered. +const DPAD: u32 = vpad::button::UP | vpad::button::DOWN | vpad::button::LEFT | vpad::button::RIGHT; +/// The left stick this far from its centre moves the focus as the d-pad does. +const STICK_NAV: u8 = 80; +/// How often, while a guest picks a user on the TV, the console's user in front (the host's) is +/// looked up again, for the guest's "don't pick " hint. +const FRONT_USER_EVERY: Duration = Duration::from_secs(30); /// Guest → engine binary kind: one pad state. pub(crate) const KIND_PAD: u8 = 0x01; /// The optional motion block's tag inside a pad frame. @@ -915,6 +931,21 @@ pub(crate) struct Guest { /// While picking: PS was pressed on this pad (the console asks who they are), so the next ✕ /// picks a user and ends the picking. ps_pressed: bool, + /// When their pad was last made with no profile (the console asks who they are). + asked_at: Option, + /// When they last picked a user on the TV (their first ✕ that went through). + picked_at: Option, + /// ✕ needs a move first ([`Party::saw_input`]): while they pick, and until this after the pick. + cross_guard: bool, + settle_until: Option, + /// A move (d-pad, left stick) since their last ✕; ✕ down in their last state; the ✕ press + /// now down goes through. + moved: bool, + cross_down: bool, + cross_open: bool, + /// The PS5 ended the host's stream while they picked a user on the TV: most likely they picked + /// the host's own ([`Party::blame_pick`]). Their page says so from then on. + took_host: bool, /// Seated in the profile the host chose ("Guests play as"): its id and name. The console /// does not ask, and PS and Create are blocked from the start. plays_as: Option<(u32, String)>, @@ -987,6 +1018,8 @@ impl Guest { self.plays_as = Some((*user, name)); self.seat_note = None; self.playing = true; + // Nothing to pick: ✕ is theirs from the first state. + self.cross_guard = false; } // The pad they had: signed in (or not yet) as it was. link::OpenResult::Kept => {} @@ -998,6 +1031,12 @@ impl Guest { }; self.playing = false; self.ps_pressed = false; + self.asked_at = Some(Instant::now()); + // A new pad: the console offers the user in front again, ✕ waits for a move. + self.cross_guard = true; + self.settle_until = None; + self.moved = false; + self.cross_open = false; } } } @@ -1145,6 +1184,10 @@ pub(crate) struct Party { /// (None: no profile chosen, or not asked yet), and when. companion: Option, companion_at: Option, + /// The console's user in front (the one the host's stream plays as): its name, for a picking + /// guest's "don't pick " hint (None: not known), and when it was last looked up. + front_user: Option, + front_at: Option, } /// How guests reach this engine. @@ -1178,6 +1221,8 @@ impl Party { internet: None, companion: None, companion_at: None, + front_user: None, + front_at: None, } } @@ -1298,6 +1343,14 @@ impl Party { left: None, playing: false, ps_pressed: false, + asked_at: None, + picked_at: None, + cross_guard: player != STREAM_SEAT, + settle_until: None, + moved: false, + cross_down: false, + cross_open: false, + took_host: false, plays_as: None, seat: None, seat_note: None, @@ -1466,43 +1519,112 @@ impl Party { return None; // between the stream's controller and their pad: nowhere to go yet } // While picking a user, PS answers "Who's using this controller?"; Create never helps. - let strip = match (self.settings.block_system_buttons, g.playing) { + let mut strip = match (self.settings.block_system_buttons, g.playing) { (false, _) => 0, (true, true) => vpad::button::SYSTEM, (true, false) => vpad::button::CREATE, }; + // A ✕ with no move before it while the TV may be asking who they are: held back, so the + // user the console offers first (the host's own) is never picked by a plain ✕. + if g.cross_guard && !g.cross_open { + strip |= vpad::button::CROSS; + } Some((g.player, strip, &g.pad_token)) } - /// A guest's input, before anything is taken from it: while they pick a user, PS then ✕ - /// (a user picked on "Who's using this controller?") means they are in. The helper does not - /// say when the console signs a user in on the pad; this is the press that does it. Returns a - /// line for the log when they are in. - fn saw_input(&mut self, id: u64, buttons: u32) -> Option { + /// A guest's input, before anything is taken from it (`buttons` with the left stick as the + /// d-pad, [`stick_as_dpad`]); returns a line for the log. + /// + /// On a pad of their own with no profile chosen, the console asks who is using it ("Who's + /// using this controller?", or whether to sign in as the user in front) as soon as it sees the + /// pad, PS or not, with the host's own user offered first. ✕ on it moves the host's user to + /// the guest's pad and the PS5 ends the host's stream. So, while they pick, a ✕ reaches the + /// console only when they moved (d-pad, left stick) since the last ✕: the move takes the + /// console off the user it offered. The first ✕ that goes through is their pick: they are in + /// (PS and Create are taken from then on when the host blocks them), and ✕ keeps needing a + /// move for [`PICK_SETTLE`] more, through the menus that may follow (Add User, Quick Play). + /// The helper does not say when the console signs a user in on the pad; this is the press + /// that does it. + fn saw_input(&mut self, id: u64, buttons: u32, now: Instant) -> Option { let block = self.settings.block_system_buttons; let g = self.guests.iter_mut().find(|g| g.id == id && g.active())?; + let cross = buttons & vpad::button::CROSS != 0; + let new_press = cross && !g.cross_down; + g.cross_down = cross; + g.cross_guard = g.player != STREAM_SEAT + && g.plays_as.is_none() + && (!g.playing || g.settle_until.is_some_and(|u| now < u)); + if !g.cross_guard { + g.cross_open = true; + return None; + } + // Each press goes through or is held back as a whole (a held ✕ never flickers). + if new_press { + g.cross_open = g.moved; + g.moved = false; + } + if buttons & DPAD != 0 { + g.moved = true; + } if g.playing { return None; } - // PS first, in an earlier state; ✕ after it picks, whether PS is still down or not. A ✕ - // with PS held used to count as no pick: the guest was signed in with PS never taken. - let had_ps = g.ps_pressed; - if buttons & vpad::button::PS != 0 { + let first_ps = buttons & vpad::button::PS != 0 && !g.ps_pressed; + if first_ps { g.ps_pressed = true; } - if !(had_ps && buttons & vpad::button::CROSS != 0) { - return None; + if new_press && g.cross_open { + g.playing = true; + g.picked_at = Some(now); + g.settle_until = Some(now + PICK_SETTLE); + return Some(format!( + "join: Player {} picked a user on the TV{}", + g.player, + if block { + "; PS and Create are off for them" + } else { + "" + } + )); } - g.playing = true; - Some(format!( - "join: Player {} picked a user on the TV{}", - g.player, - if block { - "; PS and Create are off for them" - } else { - "" - } - )) + if new_press { + return Some(format!( + "join: Player {}'s ✕ held back: no move since the TV offered a user (the host's own comes first)", + g.player + )); + } + first_ps.then(|| { + format!( + "join: Player {} pressed PS: the TV asks who is using their controller", + g.player + ) + }) + } + + /// The PS5 ended the host's stream the way it does when the user the stream plays as goes to + /// another controller ("Server shutting down", as with a controller at the console, #769). + /// "Who's using this controller?" on a guest's pad lists that user too, so a guest the + /// console was asking about (connected, on a pad of their own, no profile chosen for them, + /// the pad made under [`PICK_BLAME_ASKED`] ago) or who picked a user under + /// [`PICK_BLAME_PICKED`] ago most likely picked it. That guest (the latest to pick, else the + /// latest asked) is marked, so their page tells them; their player, or None when nobody was + /// picking (a controller at the console, another device, the PS5 turned off). + fn blame_pick(&mut self, now: Instant) -> Option { + let recent = + |t: Option, d: Duration| t.is_some_and(|t| now.duration_since(t) <= d); + let g = self + .guests + .iter_mut() + .filter(|g| { + g.active() && g.player != STREAM_SEAT && g.plays_as.is_none() && g.slot_open + }) + .filter(|g| { + recent(g.picked_at, PICK_BLAME_PICKED) + || (!g.playing && g.conn.is_some() && recent(g.asked_at, PICK_BLAME_ASKED)) + }) + .max_by_key(|g| (g.picked_at, g.asked_at))?; + g.took_host = true; + Some(g.player) } /// The stream's controller goes back to the host's side, at once: the guest on it stops @@ -1571,10 +1693,21 @@ impl Party { } } (None, None) => { - // The host's session ended: every guest is told, asks are dropped. + // The host's session ended: every guest is told, asks are dropped. One who most + // likely ended it (picked the host's user on the TV) hears that first, in a + // status with `took_host` (a page from before it reads only the bye). self.host_gone = Some(now); + let told: Vec<(u64, serde_json::Value)> = self + .guests + .iter() + .filter(|g| g.active() && g.took_host) + .filter_map(|g| Some((g.id, self.guest_status(g.id)?))) + .collect(); for g in self.guests.iter_mut().filter(|g| g.active()) { if let Some(c) = g.conn.take() { + if let Some((_, s)) = told.iter().find(|(id, _)| *id == g.id) { + fx.push(Effect::Say(c.tx.clone(), Out::Text(s.clone()))); + } fx.push(Effect::Say(c.tx, Out::Bye("host_stopped"))); } g.away_since = Some(now); @@ -1737,6 +1870,12 @@ impl Party { "plays_as": g.plays_as.as_ref().map(|(_, name)| name), // The host chose a profile for them that could not be used: the TV asks who they are. "seat_note": g.seat_note, + // While they pick a user on the TV, ✕ waits for a move first (`move_first`), and the + // name of the host's own user there (picking it ends the host's stream), or null. + "move_first": g.cross_guard, + "host_user": if g.cross_guard { self.front_user.as_deref() } else { None }, + // The host's stream ended while they picked a user: most likely they picked the host's. + "took_host": g.took_host, "queue": g.stats.queue.load(Ordering::Relaxed), "skipped": g.stats.skipped.load(Ordering::Relaxed), }})) @@ -1755,6 +1894,8 @@ impl Party { "player": g.player, "state": g.state(), "why": g.left.map(|(_, w)| w), + // The host's stream ended while they picked a user on the TV. + "took_host": g.took_host, "since_s": now.duration_since(g.joined_at).as_secs(), "rtt_ms": s.rtt_now(), "rtt_avg_ms": s.rtt_sum.load(Ordering::Relaxed).checked_div(n), @@ -1820,6 +1961,22 @@ pub(crate) fn test_open_party(console: &str) { with_parties(|m| m.insert(host_key(console), p)); } +/// A party with Player 2 connected, the TV asking who is using their pad, for other modules' tests. +#[cfg(test)] +pub(crate) fn test_party_with_picking_guest(console: &str) { + let mut p = Party::new(console, 1, "Desk".into(), Settings::default()); + let Some(id) = p.admit("A", vpad::FIRST_SLOT, Instant::now()).map(|g| g.id) else { + return; + }; + let (tx, _rx) = mpsc::channel(16); + p.attach(id, 1, tx); + if let Some(g) = p.guest_mut(id) { + g.slot_open = true; + g.pad_made(&link::OpenResult::Ok, Some(None)); + } + with_parties(|m| m.insert(host_key(console), p)); +} + #[cfg(test)] pub(crate) fn test_close_party(console: &str) { with_parties(|m| m.remove(&host_key(console))); @@ -1866,6 +2023,36 @@ fn apply(console: &str, fx: Vec) { } } +/// The PS5 ended the host's session on `console` with "Server shutting down" (the user it plays as +/// went to another controller): the Play Together guest who most likely did it, picking the +/// host's user on "Who's using this controller?" ([`Party::blame_pick`]), or None. Called before +/// the session is let go, so the guest is marked before the watch sees the host gone and tells +/// them. Logged with how long ago the TV asked them and they picked. +pub(crate) fn guest_took_host(console: &str) -> Option { + let now = Instant::now(); + let (player, asked, picked) = with_party(&host_key(console), |p| { + let n = p.blame_pick(now)?; + let g = p.guests.iter().find(|g| g.active() && g.player == n)?; + let ago = |t: Option| t.map(|t| now.duration_since(t).as_millis()); + Some((n, ago(g.asked_at), ago(g.picked_at))) + }) + .flatten()?; + let asked = asked.map_or_else( + || "their pad not asked about".to_string(), + |v| format!("their pad made {v} ms before"), + ); + let picked = picked.map_or_else( + || "no pick seen".to_string(), + |v| format!("their pick seen {v} ms before"), + ); + crate::log_at!( + Info, + "together", + "join: the PS5 ended the host's stream on {console} while Player {player} picked a user on the TV ({asked}, {picked}): most likely they picked the host's user" + ); + Some(player) +} + /// The host's side needs the stream's controller now (their picture came back on): the guest on /// it gives it back at once ([`Party::give_back_seat`]) instead of at the next look. pub(crate) fn seat_needed(console: &str, why: &str) { @@ -2114,7 +2301,46 @@ fn spawn_watch(key: String) { return; } keep_companion(&key, &console, now); + keep_front_user(&key, &console, now); + } + }); +} + +/// While a guest picks a user on the TV (connected, on a pad of their own, nothing chosen for +/// them), the console's user in front is looked up every [`FRONT_USER_EVERY`]: the user the +/// host's stream plays as, which "Who's using this controller?" lists too. Its name goes in that +/// guest's status (`host_user`) so their page can say not to pick it. +fn keep_front_user(key: &str, console: &str, now: Instant) { + let due = with_party(key, |p| { + let picking = p + .guests + .iter() + .any(|g| g.active() && !g.playing && g.conn.is_some() && g.player != STREAM_SEAT); + let due = picking + && p.host_gone.is_none() + && p.front_at + .is_none_or(|t| now.duration_since(t) >= FRONT_USER_EVERY); + if due { + p.front_at = Some(now); } + due + }) + .unwrap_or(false); + if !due { + return; + } + let (k, c) = (key.to_string(), console.to_string()); + tokio::spawn(async move { + let c2 = c.clone(); + let r = tokio::task::spawn_blocking(move || link::port_for(&c2).users(&c2)).await; + // Not asked again before FRONT_USER_EVERY either way; an unanswered look keeps the last name. + let Ok(Ok(users)) = r else { return }; + let front = users + .iter() + .find(|u| u.foreground) + .map(|u| u.name.clone()) + .filter(|n| !n.is_empty()); + with_party(&k, |p| p.front_user = front); }); } @@ -3179,13 +3405,34 @@ fn controller_state(st: &PadState) -> ControllerState { } } -/// A guest's pad state to their pad (PS and Create taken while they play). +/// The guest's buttons with the left stick pushed far as the d-pad: what moves the console's +/// focus on its menus ([`Party::saw_input`]). Only for looking at: the pad gets the stick as it is. +fn stick_as_dpad(st: &PadState) -> u32 { + let c = vpad::STICK_CENTER; + let mut b = st.buttons; + if st.lx <= c - STICK_NAV { + b |= vpad::button::LEFT; + } + if st.lx >= c + STICK_NAV { + b |= vpad::button::RIGHT; + } + if st.ly <= c - STICK_NAV { + b |= vpad::button::UP; + } + if st.ly >= c + STICK_NAV { + b |= vpad::button::DOWN; + } + b +} + +/// A guest's pad state to their pad (PS and Create taken while they play, ✕ held back while +/// the TV may offer the host's user: [`Party::saw_input`]). fn forward_pad(key: &str, console: &str, id: u64, gen: u64, mut st: PadState) { let now = Instant::now(); let mut said = None; let mask = with_party(key, |p| { if p.is_current(id, gen) { - said = p.saw_input(id, st.buttons); + said = p.saw_input(id, stick_as_dpad(&st), now); } let m = p .is_current(id, gen) @@ -5861,39 +6108,149 @@ mod tests { p.attach(id, 1, tx); let ps = vpad::button::PS; let cross = vpad::button::CROSS; - // Picking: PS answers "Who's using"; Create is off from the start. - assert_eq!(p.strip_mask(id), Some((2, vpad::button::CREATE))); - // ✕ before any PS is not a pick (the console ignores a pad nobody signed in on) - assert_eq!(p.saw_input(id, cross), None); + let right = vpad::button::RIGHT; + let x_held = vpad::button::CREATE | vpad::button::CROSS; + // Picking: PS answers "Who's using"; Create is off, and ✕ waits for a move. + assert_eq!(p.strip_mask(id), Some((2, x_held))); // Time alone never ends the picking (#720: a guest who closed the picker was locked out) p.tick(t + Duration::from_secs(600), Some(1)); - assert_eq!(p.strip_mask(id), Some((2, vpad::button::CREATE))); - assert_eq!(p.saw_input(id, ps), None); - assert_eq!(p.saw_input(id, 0), None); - let line = p.saw_input(id, cross).expect("PS then ✕ picks a user"); + let t = t + Duration::from_secs(600); + assert!(p.saw_input(id, ps, t).unwrap().contains("pressed PS")); + assert_eq!(p.strip_mask(id), Some((2, x_held)), "PS passes"); + assert_eq!(p.saw_input(id, 0, t), None); + assert_eq!(p.saw_input(id, right, t), None); + assert_eq!(p.saw_input(id, 0, t), None); + let line = p.saw_input(id, cross, t).expect("a move, then ✕ picks"); assert!(line.contains("Player 2 picked a user") && line.contains("PS and Create are off")); - assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); + assert_eq!( + p.strip_mask(id), + Some((2, vpad::button::SYSTEM)), + "the pick's ✕ goes through" + ); assert_eq!(p.guest_status(id).unwrap()["status"]["block_system"], true); - // once in, nothing more to see - assert_eq!(p.saw_input(id, ps | cross), None); + // once in, nothing more to pick + assert_eq!(p.saw_input(id, 0, t + PICK_SETTLE), None); + assert_eq!(p.saw_input(id, ps | cross, t + PICK_SETTLE), None); + assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); p.settings.block_system_buttons = false; assert_eq!(p.strip_mask(id), Some((2, 0))); p.settings.block_system_buttons = true; - // a new pad (helper restart) asks who they are again: one more PS, then ✕ + // a new pad (helper restart) asks who they are again: the old move does not carry over p.reopened(2, &OpenResult::Ok); - assert_eq!(p.strip_mask(id), Some((2, vpad::button::CREATE))); - assert_eq!( - p.saw_input(id, cross), - None, - "the old PS press does not carry over" - ); - p.saw_input(id, ps); - assert!(p.saw_input(id, cross).is_some()); + let t = t + PICK_SETTLE + Duration::from_secs(1); + assert_eq!(p.saw_input(id, 0, t), None); + assert!(p.saw_input(id, cross, t).unwrap().contains("held back")); + assert_eq!(p.strip_mask(id), Some((2, x_held))); + p.saw_input(id, 0, t); + p.saw_input(id, right, t); + assert!(p.saw_input(id, cross, t).unwrap().contains("picked")); assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); p.leave(id, "left", t); assert_eq!(p.strip_mask(id), None); } + /// The owner's report (2026-11-26): the guest's pad came up, the PS5 asked to sign in as the + /// user in front (the host's) and a plain ✕ did it; the PS5 then ended the host's stream. A ✕ + /// with no move before it never reaches the console while the TV may be asking. + #[test] + fn a_plain_cross_on_the_users_the_tv_offers_first_never_reaches_the_console() { + let mut p = party(); + let t = Instant::now(); + let id = admit(&mut p, "A", t); + let (tx, _rx) = conn(); + p.attach(id, 1, tx); + p.guest_mut(id) + .unwrap() + .pad_made(&OpenResult::Ok, Some(None)); + let cross = vpad::button::CROSS; + let held = |p: &Party| p.strip_mask(id).unwrap().1 & cross != 0; + // ✕ straight away, held, pressed again: held back every time, never a pick + for _ in 0..3 { + assert!(p.saw_input(id, cross, t).unwrap().contains("held back")); + assert!(held(&p)); + assert_eq!( + p.saw_input(id, cross, t), + None, + "held down: still held back" + ); + assert!(held(&p)); + assert_eq!(p.saw_input(id, 0, t), None); + } + assert_eq!( + p.guest_status(id).unwrap()["status"]["state"], + "picking_user" + ); + assert_eq!(p.guest_status(id).unwrap()["status"]["move_first"], true); + // a move pressed with the ✕ in the same state does not let that ✕ through + assert!(p + .saw_input(id, cross | vpad::button::DOWN, t) + .unwrap() + .contains("held back")); + assert!(held(&p)); + // the move counted for the next press: released, pressed again, it goes through + assert_eq!(p.saw_input(id, 0, t), None); + assert!(p.saw_input(id, cross, t).unwrap().contains("picked")); + assert!(!held(&p)); + // held across states, it stays through (no flicker that the console reads as a tap) + assert_eq!(p.saw_input(id, cross, t), None); + assert!(!held(&p)); + // the menus after the pick (Add User, Quick Play): ✕ still waits for a move a while + assert_eq!(p.saw_input(id, 0, t), None); + assert_eq!(p.saw_input(id, cross, t + Duration::from_secs(1)), None); + assert!(held(&p), "within PICK_SETTLE a new ✕ needs a move again"); + p.saw_input(id, 0, t + Duration::from_secs(1)); + p.saw_input(id, vpad::button::LEFT, t + Duration::from_secs(2)); + p.saw_input(id, cross, t + Duration::from_secs(2)); + assert!(!held(&p)); + // then ✕ is theirs: a game needs no move before each ✕ + p.saw_input(id, 0, t + PICK_SETTLE); + p.saw_input(id, cross, t + PICK_SETTLE); + assert!(!held(&p)); + assert_eq!(p.guest_status(id).unwrap()["status"]["move_first"], false); + } + + #[test] + fn the_left_stick_counts_as_a_move_but_a_resting_or_drifting_one_does_not() { + let st = |lx: u8, ly: u8| PadState { + lx, + ly, + rx: 128, + ry: 128, + ..Default::default() + }; + assert_eq!(stick_as_dpad(&st(128, 128)), 0); + assert_eq!(stick_as_dpad(&st(150, 100)), 0, "drift is not a move"); + assert_eq!(stick_as_dpad(&st(255, 128)), vpad::button::RIGHT); + assert_eq!(stick_as_dpad(&st(0, 128)), vpad::button::LEFT); + assert_eq!(stick_as_dpad(&st(128, 0)), vpad::button::UP); + assert_eq!(stick_as_dpad(&st(128, 255)), vpad::button::DOWN); + let mut b = st(128, 128); + b.buttons = vpad::button::CROSS; + assert_eq!(stick_as_dpad(&b), vpad::button::CROSS); + } + + /// Nothing to pick, so ✕ is never held: seated in the profile the host chose, or on the + /// host's stream's own controller. + #[test] + fn a_seated_guest_or_one_on_the_streams_controller_keeps_cross() { + let mut p = party(); + let t = Instant::now(); + let id = admit(&mut p, "A", t); + let (tx, _rx) = conn(); + p.attach(id, 1, tx); + p.guest_mut(id) + .unwrap() + .pad_made(&OpenResult::Seated(0x2000), Some(None)); + assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); + assert_eq!(p.saw_input(id, vpad::button::CROSS, t), None); + assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); + let seat = p.admit("B", STREAM_SEAT, t).unwrap().id; + p.guest_mut(seat).unwrap().playing = true; + assert_eq!(p.strip_mask(seat), Some((1, vpad::button::SYSTEM))); + assert_eq!(p.saw_input(seat, vpad::button::CROSS, t), None); + assert_eq!(p.strip_mask(seat), Some((1, vpad::button::SYSTEM))); + } + /// Their pad found as it was (a close the helper never got): the same pad, still signed in. PS /// stays off for a guest who picked (a pad taken for a new one gave it back), and one still /// picking goes on picking. @@ -5907,15 +6264,27 @@ mod tests { p.guest_mut(id) .unwrap() .pad_made(&OpenResult::Kept, Some(None)); - assert_eq!(p.strip_mask(id), Some((2, vpad::button::CREATE))); - assert_eq!(p.saw_input(id, vpad::button::PS), None); - assert!(p.saw_input(id, vpad::button::CROSS).is_some()); + let x_held = vpad::button::CREATE | vpad::button::CROSS; + assert_eq!(p.strip_mask(id), Some((2, x_held))); + assert!(p + .saw_input(id, vpad::button::PS, t) + .unwrap() + .contains("pressed PS")); + p.saw_input(id, vpad::button::RIGHT, t); + assert!(p + .saw_input(id, vpad::button::CROSS, t) + .unwrap() + .contains("picked")); assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); p.guest_mut(id) .unwrap() .pad_made(&OpenResult::Kept, Some(None)); assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); - assert_eq!(p.saw_input(id, vpad::button::PS), None, "nothing to pick"); + assert_eq!( + p.saw_input(id, vpad::button::PS, t + PICK_SETTLE), + None, + "nothing to pick" + ); } /// A guest who keeps PS down while pressing ✕ on "Who's using this controller?" has picked a @@ -5930,17 +6299,150 @@ mod tests { p.attach(id, 1, tx); let ps = vpad::button::PS; let cross = vpad::button::CROSS; - // Both at once, with no PS before: PS only just went down, the picker is not up yet. - assert_eq!(p.saw_input(id, ps | cross), None); - assert_eq!(p.strip_mask(id), Some((2, vpad::button::CREATE))); - assert_eq!(p.saw_input(id, ps), None); + // Both at once, with no move before: held back, not a pick. + assert!(p + .saw_input(id, ps | cross, t) + .unwrap() + .contains("held back")); + assert_eq!( + p.strip_mask(id), + Some((2, vpad::button::CREATE | vpad::button::CROSS)) + ); + assert_eq!(p.saw_input(id, ps | vpad::button::LEFT, t), None); assert!( - p.saw_input(id, ps | cross).is_some(), - "PS, then ✕ with PS still down" + p.saw_input(id, ps | cross, t).unwrap().contains("picked"), + "a move, then ✕ with PS still down" ); assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); } + /// What a guest's socket was told, in order: `text:` for a status, `bye:`. + fn told(fx: &[Effect]) -> Vec { + fx.iter() + .filter_map(|e| match e { + Effect::Say(_, Out::Text(v)) => Some(format!("text:{}", v["status"]["took_host"])), + Effect::Say(_, Out::Bye(w)) => Some(format!("bye:{w}")), + _ => None, + }) + .collect() + } + + /// The PS5 ended the host's stream ("Server shutting down") while a guest's pad was being + /// asked who is using it: that guest most likely put the host's user on it. They are marked, + /// hear it in a status just before the bye, and their page keeps saying so. + #[test] + fn a_guest_picking_when_the_ps5_ends_the_stream_is_told_they_took_the_hosts_user() { + let mut p = party(); + let t = Instant::now(); + let id = admit(&mut p, "A", t); + let (tx, _rx) = conn(); + p.attach(id, 1, tx); + assert_eq!(p.blame_pick(Instant::now()), None, "no pad asked about yet"); + p.guest_mut(id) + .unwrap() + .pad_made(&OpenResult::Ok, Some(None)); + assert_eq!(p.guest_status(id).unwrap()["status"]["took_host"], false); + assert_eq!(p.blame_pick(Instant::now()), Some(2)); + assert_eq!(p.guest_status(id).unwrap()["status"]["took_host"], true); + let (fx, keep) = p.tick(t, None); + assert!(keep); + assert_eq!(told(&fx), vec!["text:true", "bye:host_stopped"]); + // the others hear only the bye + let mut q = party(); + let a = admit(&mut q, "A", t); + let (tx, _rx) = conn(); + q.attach(a, 1, tx); + let (fx, _) = q.tick(t, None); + assert_eq!(told(&fx), vec!["bye:host_stopped"]); + } + + #[test] + fn only_a_guest_the_tv_was_asking_or_who_just_picked_is_blamed() { + let mut p = party(); + let t = Instant::now(); + let id = admit(&mut p, "A", t); + let (tx, _rx) = conn(); + p.attach(id, 1, tx); + p.guest_mut(id) + .unwrap() + .pad_made(&OpenResult::Ok, Some(None)); + let asked = p.guest_mut(id).unwrap().asked_at.unwrap(); + // asked long ago and still "picking" (a pick the engine never saw): not them + assert_eq!( + p.blame_pick(asked + PICK_BLAME_ASKED + Duration::from_secs(1)), + None + ); + // their socket gone: they could not have pressed anything + let now = asked + Duration::from_secs(5); + p.detach(id, 1, now); + assert_eq!(p.blame_pick(now), None); + let (tx, _rx) = conn(); + p.attach(id, 2, tx); + // picked a moment ago: blamed, even past the asked window + p.saw_input(id, vpad::button::RIGHT, now); + assert!(p + .saw_input(id, vpad::button::CROSS, now) + .unwrap() + .contains("picked")); + assert_eq!(p.blame_pick(now + PICK_BLAME_PICKED), Some(2)); + p.guest_mut(id).unwrap().took_host = false; + // in a while, the pick is old and they play: a later end is not theirs + assert_eq!( + p.blame_pick(now + PICK_BLAME_PICKED + Duration::from_secs(1)), + None + ); + // seated in a profile the host chose: nothing was asked + let mut q = party(); + let b = admit(&mut q, "B", t); + let (tx, _rx) = conn(); + q.attach(b, 1, tx); + q.guest_mut(b) + .unwrap() + .pad_made(&OpenResult::Seated(0x2000), Some(None)); + assert_eq!(q.blame_pick(Instant::now()), None); + assert!(!q.guest_mut(b).unwrap().took_host); + } + + /// The module call the stream's end makes: a party with a guest being asked blames them, a + /// console without Play Together has nobody. + #[test] + fn guest_took_host_finds_the_guest_on_that_console_only() { + let console = "10.0.0.77"; + let mut p = Party::new(console, 1, "Desk".into(), Settings::default()); + let id = admit(&mut p, "A", Instant::now()); + let (tx, _rx) = conn(); + p.attach(id, 1, tx); + p.guest_mut(id) + .unwrap() + .pad_made(&OpenResult::Ok, Some(None)); + with_parties(|m| m.insert(host_key(console), p)); + assert_eq!(guest_took_host("10.0.0.78"), None); + assert_eq!(guest_took_host(console), Some(2)); + let marked = with_party(&host_key(console), |p| p.guest_mut(id).unwrap().took_host); + assert_eq!(marked, Some(true)); + with_parties(|m| m.remove(&host_key(console))); + } + + /// The host's user's name reaches a guest only while ✕ waits for a move (they pick a user). + #[test] + fn the_host_users_name_is_in_a_picking_guests_status_only() { + let mut p = party(); + let t = Instant::now(); + let id = admit(&mut p, "A", t); + let (tx, _rx) = conn(); + p.attach(id, 1, tx); + p.front_user = Some("Pat".into()); + let s = p.guest_status(id).unwrap(); + assert_eq!(s["status"]["host_user"], "Pat"); + assert_eq!(s["status"]["move_first"], true); + p.saw_input(id, vpad::button::RIGHT, t); + p.saw_input(id, vpad::button::CROSS, t); + p.saw_input(id, 0, t + PICK_SETTLE); + let s = p.guest_status(id).unwrap(); + assert!(s["status"]["host_user"].is_null()); + assert_eq!(s["status"]["move_first"], false); + } + #[test] fn the_host_stopping_tells_everyone_then_closes_unless_they_play_again() { let mut p = party(); @@ -7168,9 +7670,13 @@ mod tests { // PS and Create taken from the first frame: no picking window assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); assert_eq!(p.guest_status(id).unwrap()["status"]["block_system"], true); - // a reopen not seated again: the TV asks, PS goes through while they pick + // a reopen not seated again: the TV asks, PS goes through while they pick (✕ waits + // for a move) p.reopened(2, &OpenResult::Unseated(unseated::FAILED)); - assert_eq!(p.strip_mask(id), Some((2, vpad::button::CREATE))); + assert_eq!( + p.strip_mask(id), + Some((2, vpad::button::CREATE | vpad::button::CROSS)) + ); let s = p.guest_status(id).unwrap(); assert_eq!(s["status"]["seat_note"], "failed"); assert!(s["status"]["plays_as"].is_null()); @@ -7179,7 +7685,10 @@ mod tests { assert_eq!(p.strip_mask(id), Some((2, vpad::button::SYSTEM))); // no choice at all: as before p.reopened(2, &OpenResult::Ok); - assert_eq!(p.strip_mask(id), Some((2, vpad::button::CREATE))); + assert_eq!( + p.strip_mask(id), + Some((2, vpad::button::CREATE | vpad::button::CROSS)) + ); assert!(p.guest_status(id).unwrap()["status"]["seat_note"].is_null()); } @@ -8247,8 +8756,8 @@ mod tests { assert_eq!(got, (3, true, SeatMove::No, "picking_user")); assert_eq!( with_party(&key, |p| p.strip_mask(a)).unwrap(), - Some((3, vpad::button::CREATE)), - "PS answers 'Who's using this controller?'" + Some((3, vpad::button::CREATE | vpad::button::CROSS)), + "PS answers 'Who's using this controller?', ✕ waits for a move" ); assert!(f.log().contains(&"open3".to_string()), "{:?}", f.log()); diff --git a/engine/crates/ps5upload-engine/src/join_net/join_tests.rs b/engine/crates/ps5upload-engine/src/join_net/join_tests.rs index b14690ed3..451fc33d4 100644 --- a/engine/crates/ps5upload-engine/src/join_net/join_tests.rs +++ b/engine/crates/ps5upload-engine/src/join_net/join_tests.rs @@ -216,8 +216,12 @@ async fn an_internet_guest_joins_over_webrtc_plays_and_gets_the_picture() { assert_eq!(got[1], vec![1, 9, 9, 9]); // Their controller reaches the console. + // (While they pick a user ✕ waits for a move, so the user the TV offers first, the host's, + // is never picked by a plain ✕: a move, then ✕.) use vpad::{app_button as app, button as pad}; - let _ = g.tx.send(GOut::Binary(frame(1, app::CROSS, &[], None))); + let _ = g.tx.send(GOut::Binary(frame(1, app::RIGHT, &[], None))); + let _ = g.tx.send(GOut::Binary(frame(2, 0, &[], None))); + let _ = g.tx.send(GOut::Binary(frame(3, app::CROSS, &[], None))); until("the pad", || { f.states() .iter() diff --git a/engine/crates/ps5upload-engine/src/rp_stream_api.rs b/engine/crates/ps5upload-engine/src/rp_stream_api.rs index b8a40f543..b225d8ef8 100644 --- a/engine/crates/ps5upload-engine/src/rp_stream_api.rs +++ b/engine/crates/ps5upload-engine/src/rp_stream_api.rs @@ -110,6 +110,9 @@ const DEFAULT_KEEP_ALIVE: Duration = Duration::from_secs(60); const MAX_KEEP_ALIVE: Duration = Duration::from_secs(600); /// A start while the console's last session is finishing: asked to look again this soon. const STOPPING_RETRY_S: u64 = 2; +/// What the PS5 says when it ends a session because the user it plays as went to another +/// controller: one at the console (#769), or a Play Together guest's pad picking that user. +const TAKEN_OVER: &str = "Server shutting down"; /// Pad states waiting for the stream thread. const PAD_QUEUE: usize = 256; /// Engine → page binary kind: one DualSense haptics frame (rp_stream `StreamSink::haptics`). @@ -2075,6 +2078,10 @@ fn begin(start: &StartReq, creds: ps5upload_core::rp_session::SessionCreds) -> A }), Err(e) => slot_held_status(&l.host, &e).unwrap_or_else(|| error_status(&e)), }; + // Before the session is let go below: the guest is marked before Play Together sees the + // host gone. + let mut end = end; + note_guest_pick(&l.host, &mut end); // A session that reached the console holds its slot for a while after: remembered, so a // start refused meanwhile is told apart from another device's session. Only a session // that got as far as the console's slot: an end, or one lost mid-stream (an unreachable @@ -2116,6 +2123,18 @@ fn begin(start: &StartReq, creds: ps5upload_core::rp_session::SessionCreds) -> A live } +/// A session `host` ended because the user it played as went to another controller +/// ([`TAKEN_OVER`]): a Play Together guest who put the host's user on their pad ("Who's using this +/// controller?") is the likely one ([`crate::join::guest_took_host`]). The end then says which +/// player (`guest_picked`), and the page starts the stream again. +fn note_guest_pick(host: &str, end: &mut serde_json::Value) { + if end["stage"] == "ended" && end["reason"] == TAKEN_OVER { + if let Some(n) = crate::join::guest_took_host(host) { + end["guest_picked"] = n.into(); + } + } +} + /// A panic's message, when it has one. fn panic_text(p: &Box) -> String { p.downcast_ref::<&str>() @@ -2955,6 +2974,25 @@ mod tests { assert!(!crate::join::needs_session("10.0.77.1")); } + /// "Server shutting down" while a Play Together guest was being asked who is using their pad: + /// the end names their player for the page. Any other end, or no guest picking, names nobody. + #[test] + fn a_takeover_while_a_guest_picks_names_the_guest() { + let host = "10.0.77.9"; + let ended = |reason: &str| serde_json::json!({"stage": "ended", "reason": reason}); + let mut e = ended(TAKEN_OVER); + note_guest_pick(host, &mut e); + assert!(e["guest_picked"].is_null(), "no Play Together: nobody"); + crate::join::test_party_with_picking_guest(host); + let mut other = ended("Remote Play ended"); + note_guest_pick(host, &mut other); + assert!(other["guest_picked"].is_null(), "another reason: nobody"); + let mut e = ended(TAKEN_OVER); + note_guest_pick(host, &mut e); + assert_eq!(e["guest_picked"], 2); + crate::join::test_close_party(host); + } + #[test] fn the_start_and_later_messages_read_the_picture_switch() { let m: ClientMsg = serde_json::from_str(r#"{"picture":false}"#).unwrap(); From e9d426ef3be7249be5328916f6f4e4a51e66efb9 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:35:43 -0800 Subject: [PATCH 13/23] Remote Play: start again by itself when a Play Together friend took your user When the PS5 ends the stream because a friend's controller took the stream's PS5 user (the engine names the player), the app says so and starts the stream again once the PS5 frees its slot. At most once every 3 minutes per console; after that the error names the player and Start is left to you. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- client/src/i18n/locales/de.ts | 6 + client/src/i18n/locales/en.ts | 6 + client/src/lib/remotePlayStream.ts | 12 +- .../src/lib/remotePlayStreamCleanup.test.ts | 14 ++ client/src/screens/Play/streamError.test.ts | 5 + client/src/screens/Play/streamErrors.ts | 8 + client/src/state/remotePlay.guestPick.test.ts | 86 ++++++++++ client/src/state/remotePlay.ts | 37 +++++ scripts/i18n-known-missing.json | 152 +++++++++++++++--- scripts/i18n-source-hashes.json | 6 + 10 files changed, 312 insertions(+), 20 deletions(-) create mode 100644 client/src/state/remotePlay.guestPick.test.ts diff --git a/client/src/i18n/locales/de.ts b/client/src/i18n/locales/de.ts index 039af72c6..9ba393f26 100644 --- a/client/src/i18n/locales/de.ts +++ b/client/src/i18n/locales/de.ts @@ -9496,6 +9496,12 @@ rp_users_add_hint: "Um auch als anderer Benutzer zu spielen, melde dich auf der "two_panes_unverified": "Kopiert, aber das Original bleibt: Die Kopie ließ sich nicht prüfen", "two_panes_not_removed": "Kopiert, aber das Original ließ sich nicht löschen", backup_restore_partial: "{count} Dateien wiederhergestellt; {missed} konnten nicht wiederhergestellt werden", +"rp_err_guest_took_user": "Spieler {n} hat am Fernseher deinen PS5-Benutzer gewählt, deshalb hat die PS5 deinen Stream beendet. Drücke Start, um wieder zu spielen.", +"rp_guest_took_user_restart": "Spieler {n} hat am Fernseher deinen PS5-Benutzer gewählt, deshalb hat die PS5 deinen Stream beendet. Er startet in ein paar Sekunden neu.", +"join_not_host_user": "Wechsle zu „Schnellspiel“, bevor du ✕ drückst. Wähle nicht {user}: Das ist der Benutzer von {host}, und damit endet dessen Spiel.", +"join_not_host_user_unnamed": "Wechsle zu „Schnellspiel“, bevor du ✕ drückst. Wähle nicht den PS5-Benutzer von {host}: Damit endet dessen Spiel.", +"join_took_host": "Das Spiel von {host} wurde beendet, weil dessen PS5-Benutzer auf deinem Controller gewählt wurde. Wechsle diesmal zuerst zu „Schnellspiel“ und drücke dann ✕.", +"join_took_host_away": "Der PS5-Benutzer von {host} wurde auf deinem Controller gewählt, damit endet dessen Spiel. Wenn es weitergeht und der Fernseher fragt, wer du bist, wechsle zuerst zu „Schnellspiel“ und drücke dann ✕.", }; export default de; diff --git a/client/src/i18n/locales/en.ts b/client/src/i18n/locales/en.ts index 05500b52c..fc9ca484c 100644 --- a/client/src/i18n/locales/en.ts +++ b/client/src/i18n/locales/en.ts @@ -9864,6 +9864,12 @@ restore_where_extended: "extended storage", restore_where_internal: "the console's storage", restore_where_m2: "the M.2 drive", restore_where_usb: "USB extended storage", +"rp_err_guest_took_user": "Player {n} picked your PS5 user on the TV, so the PS5 ended your stream. Press Start to play again.", +"rp_guest_took_user_restart": "Player {n} picked your PS5 user on the TV, so the PS5 ended your stream. It starts again in a few seconds.", +"join_not_host_user": "Move to Quick Play before pressing ✕. Don't pick {user}: that's {host}'s user, and it ends their game.", +"join_not_host_user_unnamed": "Move to Quick Play before pressing ✕. Don't pick {host}'s PS5 user: it ends their game.", +"join_took_host": "{host}'s game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.", +"join_took_host_away": "{host}'s PS5 user was picked on your controller, which ends their game. When it's back and the TV asks who you are, move to Quick Play first, then press ✕.", }; export default en; diff --git a/client/src/lib/remotePlayStream.ts b/client/src/lib/remotePlayStream.ts index 8b74a23b5..8ed6f259b 100644 --- a/client/src/lib/remotePlayStream.ts +++ b/client/src/lib/remotePlayStream.ts @@ -691,6 +691,9 @@ export interface StreamError { /** busy_other: the console that is streaming. */ host?: string; detail: string; + /** console_ended: the Play Together player (2-4) who most likely ended it by putting this + * stream's PS5 user on their controller ("Who's using this controller?"). */ + guestPicked?: number; } /** The console waits for the user's sign-in passcode. */ @@ -2251,6 +2254,7 @@ export class RemotePlayStream { wait_s?: number; snapshot?: unknown; reason?: unknown; + guest_picked?: unknown; picture?: unknown; }; try { @@ -2360,7 +2364,13 @@ export class RemotePlayStream { const why = typeof s.reason === "string" ? s.reason : ""; this.endReason ??= why ? `console: ${why}` : "ended"; if (why === "no session") this.o.onError({ code: "no_session", detail: "" }); - else if (why) this.o.onError({ code: "console_ended", detail: why }); + else if (why) { + // A Play Together friend put this stream's PS5 user on their controller (the engine + // says which player when one was picking a user on the TV). + const p = s.guest_picked; + const guestPicked = typeof p === "number" && p >= 2 && p <= 4 ? p : undefined; + this.o.onError({ code: "console_ended", detail: why, ...(guestPicked ? { guestPicked } : {}) }); + } break; } case "error": diff --git a/client/src/lib/remotePlayStreamCleanup.test.ts b/client/src/lib/remotePlayStreamCleanup.test.ts index f1cff146e..63375ab0d 100644 --- a/client/src/lib/remotePlayStreamCleanup.test.ts +++ b/client/src/lib/remotePlayStreamCleanup.test.ts @@ -324,6 +324,20 @@ describe("RemotePlayStream at its end", () => { await flush(); }); + it("names the Play Together player who took the stream's user, when the engine says", async () => { + const a = await opened(); + a.ws.onmessage?.({ data: JSON.stringify({ stage: "ended", reason: "Server shutting down", guest_picked: 2 }) }); + expect(a.errors).toEqual([{ code: "console_ended", detail: "Server shutting down", guestPicked: 2 }]); + a.s.stop(); + await flush(); + // Not a player a guest can be: ignored. + const b = await opened(); + b.ws.onmessage?.({ data: JSON.stringify({ stage: "ended", reason: "Server shutting down", guest_picked: 1 }) }); + expect(b.errors).toEqual([{ code: "console_ended", detail: "Server shutting down" }]); + b.s.stop(); + await flush(); + }); + it("says nothing about a stream the player stopped", async () => { const a = await opened(); a.s.stop(); diff --git a/client/src/screens/Play/streamError.test.ts b/client/src/screens/Play/streamError.test.ts index e77c31ecf..1ef3ba49b 100644 --- a/client/src/screens/Play/streamError.test.ts +++ b/client/src/screens/Play/streamError.test.ts @@ -73,6 +73,11 @@ describe("a session the PS5 handed to something else", () => { expect(m).not.toMatch(/Server shutting down/); }); + it("names the Play Together player who picked the stream's PS5 user on the TV", () => { + const m = streamErrorMessage(tr, { code: "console_ended", detail: "Server shutting down", guestPicked: 3 }); + expect(m).toBe("Player 3 picked your PS5 user on the TV, so the PS5 ended your stream. Press Start to play again."); + }); + it("passes any other reason through as the PS5 gave it", () => { const m = streamErrorMessage(tr, { code: "console_ended", detail: "Remote Play turned off" }); expect(m).toBe("The PS5 ended the stream: Remote Play turned off"); diff --git a/client/src/screens/Play/streamErrors.ts b/client/src/screens/Play/streamErrors.ts index a0b039c31..08f743faf 100644 --- a/client/src/screens/Play/streamErrors.ts +++ b/client/src/screens/Play/streamErrors.ts @@ -29,6 +29,14 @@ export function streamErrorMessage(tr: Tr, e: StreamError): string { "Another device is using Remote Play on this PS5, or the PS5 is still finishing a session. Close Remote Play on that device, then press Start.", ); case "console_ended": + // A Play Together friend put this stream's PS5 user on their controller (shown when the + // stream did not start again by itself). + if (e.guestPicked) + return tr( + "rp_err_guest_took_user", + { n: e.guestPicked }, + `Player ${e.guestPicked} picked your PS5 user on the TV, so the PS5 ended your stream. Press Start to play again.`, + ); // Sony's words for a session taken over (#769): a controller at the PS5, another device, // or the console turned off. Said plainly instead of as a server error. if (/^\s*server shutting down\s*$/i.test(e.detail ?? "")) diff --git a/client/src/state/remotePlay.guestPick.test.ts b/client/src/state/remotePlay.guestPick.test.ts new file mode 100644 index 000000000..3882a4167 --- /dev/null +++ b/client/src/state/remotePlay.guestPick.test.ts @@ -0,0 +1,86 @@ +import { afterEach, describe, expect, it, vi } from "vitest"; +import * as storage from "../lib/safeStorage"; +import type { StreamError, StreamOptions } from "../lib/remotePlayStream"; + +// A Play Together friend put this stream's PS5 user on their controller, so the PS5 ended the +// stream ("Server shutting down"): it starts again by itself, once in a while, and says why. + +const made: StreamOptions[] = []; +vi.mock("../lib/remotePlayStream", async (orig) => { + const real = await orig(); + class FakeStream { + currentPhase = "connecting"; + constructor(readonly o: StreamOptions) { + made.push(o); + } + setVolume() {} + setAudioBuffer() {} + setFit() {} + setReplay() {} + setPicture() {} + setPictureHere() {} + async start() {} + stop() {} + } + return { ...real, RemotePlayStream: FakeStream }; +}); +const startAgain = vi.fn(async () => {}); +vi.mock("./rpQuality", () => ({ useRpQualityStore: { getState: () => ({ startAgain }) } })); +const notes: string[] = []; +vi.mock("./notifications", () => ({ pushNotification: (_k: string, m: string) => notes.push(m) })); + +afterEach(() => { + vi.restoreAllMocks(); + made.length = 0; + notes.length = 0; + startAgain.mockClear(); +}); + +describe("restartsAfterGuestPick", () => { + it("only for a stream that played, ended by a friend the engine named, not again too soon", async () => { + const { restartsAfterGuestPick, GUEST_PICK_RESTART_GAP_MS } = await import("./remotePlay"); + const took = { code: "console_ended", guestPicked: 2 }; + expect(restartsAfterGuestPick(took, true, undefined, 1000)).toBe(true); + expect(restartsAfterGuestPick(took, false, undefined, 1000)).toBe(false); + expect(restartsAfterGuestPick({ code: "console_ended" }, true, undefined, 1000)).toBe(false); + expect(restartsAfterGuestPick({ code: "lost", guestPicked: 2 }, true, undefined, 1000)).toBe(false); + expect(restartsAfterGuestPick(took, true, 1000, 1000 + GUEST_PICK_RESTART_GAP_MS - 1)).toBe(false); + expect(restartsAfterGuestPick(took, true, 1000, 1000 + GUEST_PICK_RESTART_GAP_MS)).toBe(true); + }); +}); + +describe("a stream a friend's controller took", () => { + const begin = async (host: string) => { + const { useRemotePlayStore } = await import("./remotePlay"); + vi.spyOn(storage, "safeSetItem").mockImplementation(() => true); + useRemotePlayStore.setState({ stream: null, error: null, prefs: { ...useRemotePlayStore.getState().prefs, bitrateKbps: 0, dualSense: false } }); + const target = { host, name: "PS5", registKey: "", rpKey: "" }; + await useRemotePlayStore.getState().start(target); + const o = made[made.length - 1]; + o.onPhase("playing"); + return { store: useRemotePlayStore, o, target }; + }; + const took = (o: StreamOptions) => + o.onError({ code: "console_ended", detail: "Server shutting down", guestPicked: 2 } as StreamError); + + it("starts again by itself and says which player, then shows the error the next time", async () => { + const { store, o, target } = await begin("192.168.1.70"); + took(o); + expect(store.getState().error).toBeNull(); + expect(notes[0]).toContain("Player 2 picked your PS5 user"); + await vi.waitFor(() => expect(startAgain).toHaveBeenCalledWith(target, {})); + // Again within a few minutes: left to the player, with the reason. + const again = await begin("192.168.1.70"); + took(again.o); + expect(again.store.getState().error?.guestPicked).toBe(2); + expect(startAgain).toHaveBeenCalledTimes(1); + }); + + it("does nothing new for a takeover nobody in Play Together caused", async () => { + const { store, o } = await begin("192.168.1.71"); + o.onError({ code: "console_ended", detail: "Server shutting down" } as StreamError); + expect(store.getState().error?.code).toBe("console_ended"); + await new Promise((r) => setTimeout(r, 10)); + expect(startAgain).not.toHaveBeenCalled(); + }); +}); diff --git a/client/src/state/remotePlay.ts b/client/src/state/remotePlay.ts index 4cd18270e..33cf5f4e2 100644 --- a/client/src/state/remotePlay.ts +++ b/client/src/state/remotePlay.ts @@ -186,6 +186,25 @@ export function refusedAtBitrate(code: string, askedKbps: number, played: boolea ); } +/** How soon after one automatic start again (a Play Together friend took this stream's user) + * another may come: a second end that quickly is left to the player. */ +export const GUEST_PICK_RESTART_GAP_MS = 3 * 60_000; + +/** When the stream to each console last started again by itself after a friend took its user. */ +const guestPickRestarts = new Map(); + +/** A stream that played was ended by the PS5 because a Play Together friend put its PS5 user on + * their controller (the engine names the player, `guestPicked`): it starts again by itself, + * once per GUEST_PICK_RESTART_GAP_MS for that console. `last` is the last such start (ms). */ +export function restartsAfterGuestPick( + e: { code: string; guestPicked?: number }, + played: boolean, + last: number | undefined, + now: number, +): boolean { + return e.code === "console_ended" && !!e.guestPicked && played && (last === undefined || now - last >= GUEST_PICK_RESTART_GAP_MS); +} + export function loadRpPrefs(): RpPrefs { try { const raw = safeGetItem(PREFS_KEY); @@ -529,6 +548,24 @@ export const useRemotePlayStore = create((set, get) => ({ .catch(() => {}); return; } + if (restartsAfterGuestPick(e, played, guestPickRestarts.get(t.host), Date.now())) { + // A friend's controller took this stream's PS5 user: their pad lets go of it a moment + // after (Play Together), and the stream starts again once the PS5 frees its slot. + guestPickRestarts.set(t.host, Date.now()); + pushNotification( + "warning", + trStatic( + "rp_guest_took_user_restart", + "Player {n} picked your PS5 user on the TV, so the PS5 ended your stream. It starts again in a few seconds.", + { n: String(e.guestPicked) }, + ), + ); + log.warn("remote-play", `the PS5 ended the stream: Player ${e.guestPicked} took its user on the TV; starting again`); + void import("./rpQuality") + .then(({ useRpQualityStore }) => useRpQualityStore.getState().startAgain(t, quality ?? {})) + .catch(() => {}); + return; + } set({ error: e }); }, onLight: (rgb) => get().stream === stream && set({ light: rgb }), diff --git a/scripts/i18n-known-missing.json b/scripts/i18n-known-missing.json index 44a58485a..423c8e2a2 100644 --- a/scripts/i18n-known-missing.json +++ b/scripts/i18n-known-missing.json @@ -63,7 +63,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -143,7 +149,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -319,7 +331,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -405,7 +423,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -487,7 +511,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -572,7 +602,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -656,7 +692,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -745,7 +787,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -836,7 +884,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -927,7 +981,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1008,7 +1068,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1091,7 +1157,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1177,7 +1249,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1263,7 +1341,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1348,7 +1432,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1433,7 +1523,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1521,7 +1617,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1608,7 +1710,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ @@ -1689,7 +1797,13 @@ "restore_where_extended", "restore_where_internal", "restore_where_m2", - "restore_where_usb" + "restore_where_usb", + "rp_err_guest_took_user", + "rp_guest_took_user_restart", + "join_not_host_user", + "join_not_host_user_unnamed", + "join_took_host", + "join_took_host_away" ], "stale": [], "untranslated": [ diff --git a/scripts/i18n-source-hashes.json b/scripts/i18n-source-hashes.json index 84d38bf54..f385aec1d 100644 --- a/scripts/i18n-source-hashes.json +++ b/scripts/i18n-source-hashes.json @@ -4896,6 +4896,8 @@ "join_net_no_webrtc": "f2846808 L582wrIO5IbaQYtQnxcgv6vLFvMHIEDoaG8xq2VnhUoOriDfkTqB5Imo-lNs", "join_net_offer": "d4ec8cc4 Vklp0unKkHZg_aGdEz2vRWTC-g1LkZzQdYQIs5_WUrGysQOdluW5dUj42O5p", "join_no_sound": "2f7d22fe aNOj39I4uo0mBADCcRb4_pjL1j8LQBHFXa3Spp7ioY2mOReAU1m5dLMgVB8y", + "join_not_host_user": "55418723 ------cdl---------------------------------------------------", + "join_not_host_user_unnamed": "cf48a7d8 ------UNb---------------------------------------------------", "join_open_lan": "ee36a7d0 38XNiU4YKWYz_pfn8QhDWEz0M5eOLK9O1yN07ExXs8YTEUU8X7C1-CAv2YsH", "join_open_lan_body": "a7d53a48 zH5I-Qrw2O03udst86ShpSCLGcBNxXneA_Nrw6s7bv4gs7exQ_cI3Xlve0TR", "join_pad_keys": "66c67a5e ZX5m0CFuinOhXfbe2ebEB5Os5V6lazr4FHoov9z-WSVgoj_K6jWZWb488s9s", @@ -4935,6 +4937,8 @@ "join_sound": "cc67901b xXPBWBHH0vmu3cqedBCP5EGYs3zF7urRz1VT2SRfj1qhpF0AC7H9Z3vfvBd1", "join_title": "1a92e990 qAT2LWXTzYac-e-J8UTR4vkIwHMsJCQuLVs8WknPblqlzbcDAOXuL8XqK3xR", "join_title_body": "04329d8d -Za5RfMvdVwBfsnJCPWLj4z-Yachf2cUMy0gucG74jfFLhYW17XFgGtId20Z", + "join_took_host": "961c9ee5 ------oon---------------------------------------------------", + "join_took_host_away": "6583823d ------aOs---------------------------------------------------", "join_tv_back_hint": "8d52d5c5 Eb4MzXp0zxf6QofTRMNs1mVFlZnWvuzSnWrQC1wms7540twKNNBBHxbL8VPW", "join_waiting": "49b80efe Hh4oDjMeKT_vroXnFD8OYlA-A_Ewg8zXQ0gm0c1y2ORenWNT4hniKh49RnKE", "join_waiting_body": "c3e95aa3 KZKGX1qk8fbSWH3z7XnG4vJoHJhILaix11wh_Rx87wuSQbpsWVOvb1cwlqVT", @@ -7384,6 +7388,7 @@ "rp_err_console_ended": "96ac7b8a yvg3BEVK1KgBXt9Ds6yw-3Ey1edBdvJghl6wAoI_9Os_EsBN1FZSQmrt4vT2", "rp_err_console_took_over": "067baa5c xek8UxixAXfn_jxSVt6tLfaN-Qhp0iFVmpKD1A93m68bD0RWYtM5mrg6dD2z", "rp_err_decode": "f6c42deb wRhg2Nc7M9nUbUZsrYlmpG72pCUiA75TXEZwbReZHTXPlqSeQy6VZScwYhwg", + "rp_err_guest_took_user": "1ef1a6e7 ------tYE---------------------------------------------------", "rp_err_held": "2ec5a9dd M5ESEqF9SCvej4qN6y7b3r-AuCqGeQj_VFYZexNR9e5gngwCzKgwehW29tFz", "rp_err_in_use": "95206a2e 4-MlDqmCf3SzzhermUdZGBXzQy4BvvhVZgiiNZ15RINKCn2ysWT2hby3YHQD", "rp_err_keys2": "9edded25 OXGd_kxBdTsOb17DPi9VqOmg-lRCHzpvnHhSpzaD4pUnR1BdilHtnJXQV4lQ", @@ -7436,6 +7441,7 @@ "rp_game_tab_game": "5c412a26 zUjjFZaE_8aGIfkAfIxwM43UXEEez6_SRJSrrl9bmHinLKCTk0U0m5hHxn5v", "rp_game_title": "5c412a26 zUjjFZaE_8aGIfkAfIxwM43UXEEez6_SRJSrrl9bmHinLKCTk0U0m5hHxn5v", "rp_game_unreachable": "eb46c6b3 mAMJb67xXaMCjYXKwY61nQhx06roI3isBlkm3ko4DcsnXPJ6M25KBAIdXh_P", + "rp_guest_took_user_restart": "bcd16218 ------2Ma---------------------------------------------------", "rp_hdr_off": "11af1db6 FphfpTnGW4mkWOHH71ug_2Hvr7Lq0iK-aPIFN_H2HmrIO5JVo6fVH73mqO5g", "rp_hdr_off_started": "1d8e721d lcDjFpA40snso2umJl1NV3GYaiYG44Sanz-w89ivBMtPDbG5owGknPP0TDeT", "rp_hid_touchpad": "7c30480a 0rcIATV8C-lzhHksU-VXhOav-9KyLdsvpe6mnFoXHC3D1zrUhv-bPLULLpaT", From 061f508a1e2f4d612250cdd1617bc091ceeac65d Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:35:43 -0800 Subject: [PATCH 14/23] Play Together guest page: say not to pick the host's user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While the TV may ask who they are, the page says to move to Quick Play before pressing ✕ and names the host's own PS5 user. If the host's game ended because that user was picked, the waiting screen and the next pick say so. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- client/src/join/JoinView.test.ts | 28 +++++++++++- client/src/join/JoinView.tsx | 69 ++++++++++++++++++++++++++--- client/src/lib/joinProtocol.test.ts | 22 ++++++++- client/src/lib/joinProtocol.ts | 10 +++++ 4 files changed, 120 insertions(+), 9 deletions(-) diff --git a/client/src/join/JoinView.test.ts b/client/src/join/JoinView.test.ts index 101930e34..77473fbf7 100644 --- a/client/src/join/JoinView.test.ts +++ b/client/src/join/JoinView.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from "vitest"; -import { backStep, endText, focusWhere, pathLabel, showsGuide } from "./JoinView"; +import { backStep, endText, focusWhere, pathLabel, pickWarning, showsGuide } from "./JoinView"; describe("guest's Back and Esc, for a TV's remote (#926)", () => { const base = { checking: false, guide: false, where: "game" as const, full: false }; @@ -70,3 +70,29 @@ describe("guest page: the host's stream's controller (#687, #720)", () => { } }); }); + +describe("guest page: never the host's own PS5 user (2026-11-26)", () => { + const picking = { state: "picking_user" as const, moveFirst: true, hostUser: "Pat", tookHost: false }; + + it("says to move to Quick Play first and names the host's user while the TV may ask", () => { + expect(pickWarning(tr, picking, "Ann")).toBe( + "Move to Quick Play before pressing ✕. Don't pick Pat: that's Ann's user, and it ends their game.", + ); + // The name not known (yet), or an engine from before it: the host's user all the same. + expect(pickWarning(tr, { ...picking, hostUser: null }, "Ann")).toContain("Don't pick Ann's PS5 user"); + expect(pickWarning(tr, { ...picking, moveFirst: false, hostUser: null }, "Ann")).toContain("Don't pick Ann's PS5 user"); + // In the menus right after their pick (✕ still after a move). + expect(pickWarning(tr, { ...picking, state: "playing" }, "Ann")).toContain("Don't pick Pat"); + }); + + it("says it more firmly once the host's game ended while they picked", () => { + expect(pickWarning(tr, { ...picking, tookHost: true }, "Ann")).toBe( + "Ann's game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.", + ); + }); + + it("says nothing while they play, or with no status yet", () => { + expect(pickWarning(tr, { ...picking, state: "playing", moveFirst: false }, "Ann")).toBeNull(); + expect(pickWarning(tr, null, "Ann")).toBeNull(); + }); +}); diff --git a/client/src/join/JoinView.tsx b/client/src/join/JoinView.tsx index d16d59a68..aca95cb3c 100644 --- a/client/src/join/JoinView.tsx +++ b/client/src/join/JoinView.tsx @@ -2,7 +2,7 @@ import { useEffect, useRef, useState } from "react"; import { Expand, EyeOff, Gamepad2, LogOut, Minimize, MoreHorizontal, RotateCw, Users, Volume2, VolumeX } from "lucide-react"; import type { JoinStage } from "../lib/joinClient"; -import { delayTone, playerColor } from "../lib/joinProtocol"; +import { delayTone, playerColor, type JoinStatus } from "../lib/joinProtocol"; import { safeGetItem, safeSetItem } from "../lib/safeStorage"; import { registerBackDismiss } from "../lib/focusTrap"; import { tvNavActive } from "../lib/tvNav"; @@ -35,6 +35,34 @@ export function showsGuide(o: { player: number; guided: boolean; movedOff: boole /** 42 → "0:42". */ export { clock }; +/** While the TV may ask who is using their controller: the PS5 offers the host's own user first, + * and picking it (even with a plain ✕ on the first question) ends the host's game. What to do + * instead, said more firmly once it happened; null when nothing is being picked. */ +export function pickWarning( + tr: Tr, + s: Pick | null, + host: string, +): string | null { + if (!s || !(s.state === "picking_user" || s.moveFirst)) return null; + if (s.tookHost) + return tr( + "join_took_host", + { host }, + `${host}'s game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.`, + ); + return s.hostUser + ? tr( + "join_not_host_user", + { user: s.hostUser, host }, + `Move to Quick Play before pressing ✕. Don't pick ${s.hostUser}: that's ${host}'s user, and it ends their game.`, + ) + : tr( + "join_not_host_user_unnamed", + { host }, + `Move to Quick Play before pressing ✕. Don't pick ${host}'s PS5 user: it ends their game.`, + ); +} + /** Which way the connection goes, beside the delay: the home network, Tailscale, the internet. */ export function pathLabel(tr: Tr, path: NetPath): string { switch (path) { @@ -668,6 +696,8 @@ export function JoinView({ const onSeat = player === STREAM_SEAT; // Seated in the profile the host chose: nothing to pick on the TV. const playsAs = status?.playsAs ?? null; + // Picking a user on the TV: never the host's own (it ends their game). + const warn = !onSeat && !playsAs ? pickWarning(tr, status, host) : null; const leftS = reconnecting ? (stage.deadline - now) / 1000 : 0; const toggleFull = () => setFullscreen(!full); // A phone in the app, the game in its small box: the buttons go in a bar under the picture @@ -722,6 +752,11 @@ export function JoinView({ {tr("join_picking", undefined, "Press PS, then pick Quick Play on the TV")}
)} + {warn && ( + + {warn} + + )} ); const actions = ( @@ -1000,6 +1035,14 @@ export function JoinView({ {tr("join_picking", undefined, "Press PS, then pick Quick Play on the TV")}

)} + {warn && pickHint && touch && !chrome.shown && !reconnecting && ( +

+ {warn} +

+ )} {showGuide && !playsAs && (
+ {warn &&

{warn}

}

{tr( "join_guide_menus", @@ -1049,13 +1093,24 @@ export function JoinView({ {stage.hostStopped ? ( -

- {tr( - "join_host_away", - { time: clock(leftS) }, - `The host stopped playing — waiting for them to start again (${clock(leftS)})`, + <> +

+ {tr( + "join_host_away", + { time: clock(leftS) }, + `The host stopped playing — waiting for them to start again (${clock(leftS)})`, + )} +

+ {status?.tookHost && ( +

+ {tr( + "join_took_host_away", + { host }, + `${host}'s PS5 user was picked on your controller, which ends their game. When it's back and the TV asks who you are, move to Quick Play first, then press ✕.`, + )} +

)} -

+ ) : ( <>

{tr("join_reconnecting", undefined, "Reconnecting…")}

diff --git a/client/src/lib/joinProtocol.test.ts b/client/src/lib/joinProtocol.test.ts index 92524b4d8..c10aba1eb 100644 --- a/client/src/lib/joinProtocol.test.ts +++ b/client/src/lib/joinProtocol.test.ts @@ -109,7 +109,27 @@ describe("engine messages", () => { readServerMessage('{"status":{"player":3,"state":"picking_user","rtt_ms":42,"host":"Ann","block_system":true}}'), ).toEqual({ kind: "status", - status: { player: 3, state: "picking_user", rttMs: 42, host: "Ann", blockSystem: true, streamSeat: false, playsAs: null, seatNote: null }, + status: { + player: 3, + state: "picking_user", + rttMs: 42, + host: "Ann", + blockSystem: true, + streamSeat: false, + playsAs: null, + seatNote: null, + moveFirst: false, + hostUser: null, + tookHost: false, + }, + }); + // Picking a user: ✕ waits for a move, the host's own PS5 user is named, and whether the host's + // game already ended once while they picked (an engine from before says none of it). + expect( + readServerMessage('{"status":{"player":2,"state":"picking_user","move_first":true,"host_user":"Pat","took_host":true}}'), + ).toMatchObject({ status: { moveFirst: true, hostUser: "Pat", tookHost: true } }); + expect(readServerMessage('{"status":{"player":2,"host_user":"","took_host":"yes","move_first":1}}')).toMatchObject({ + status: { moveFirst: false, hostUser: null, tookHost: false }, }); // Seated in the profile the host chose ("Guests play as"), or told the TV asks instead. expect(readServerMessage('{"status":{"player":2,"state":"playing","plays_as":"Guest 1"}}')).toMatchObject({ diff --git a/client/src/lib/joinProtocol.ts b/client/src/lib/joinProtocol.ts index c5a7a05bd..3d8004cbd 100644 --- a/client/src/lib/joinProtocol.ts +++ b/client/src/lib/joinProtocol.ts @@ -84,6 +84,13 @@ export interface JoinStatus { playsAs: string | null; /** The host chose a profile for them that couldn't be used: the TV asks who they are. */ seatNote: string | null; + /** The TV may be asking who they are: ✕ reaches it only after a move (d-pad or left stick), + * so the user it offers first (the host's own) is never picked by a plain ✕. */ + moveFirst: boolean; + /** While they pick: the name of the host's own PS5 user (picking it ends the host's game). */ + hostUser: string | null; + /** The host's game ended while they picked a user: most likely they picked the host's. */ + tookHost: boolean; } /** The picture as an internet connection's video track (join/rtcTransport): the browser's own @@ -169,6 +176,9 @@ export function readServerMessage(text: string): ServerMessage | null { streamSeat: s.stream_seat === true, playsAs: typeof s.plays_as === "string" && s.plays_as ? s.plays_as : null, seatNote: typeof s.seat_note === "string" && s.seat_note ? s.seat_note : null, + moveFirst: s.move_first === true, + hostUser: typeof s.host_user === "string" && s.host_user ? s.host_user : null, + tookHost: s.took_host === true, }, }; } From 8bcfc721f1aa9abf890d67ed383b0887969ce4c1 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 22:47:58 -0800 Subject: [PATCH 15/23] Guest page: rebuilt with the host-user warning; budget 804 KiB Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- client/vite.join.config.ts | 5 +++-- engine/crates/ps5upload-engine/src/join_page.html | 8 ++++---- site/join/index.html | 8 ++++---- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/client/vite.join.config.ts b/client/vite.join.config.ts index 8c1890e28..2454155d8 100644 --- a/client/vite.join.config.ts +++ b/client/vite.join.config.ts @@ -24,8 +24,9 @@ import { oneLangPerSelector, pageModuleSwap, pageStrings } from "./vite.pagePlug import { pageCss } from "./vite.pageCss"; // 768 KiB in 12.1.0, once the page stopped importing the host's whole Remote Play store for rpInput -// (state/rpInput.ts): kept close, so that does not creep back in. -const RAW_BUDGET = 800 * 1024; +// (state/rpInput.ts): kept close, so that does not creep back in. 804 in 12.6.39: the warning not to +// pick the host's PS5 user took about 2 KiB. +const RAW_BUDGET = 804 * 1024; const OUT = fileURLToPath(new URL("../engine/crates/ps5upload-engine/src/join_page.html", import.meta.url)); /** The same page on the website (https://ps5upload.phantomptr.com/join/, .github/workflows/ * pages.yml), where internet invites open (#room=…&k=…&fp=…&hub=…, join/rtcTransport.ts). */ diff --git a/engine/crates/ps5upload-engine/src/join_page.html b/engine/crates/ps5upload-engine/src/join_page.html index dca7207d2..8feb8daf5 100644 --- a/engine/crates/ps5upload-engine/src/join_page.html +++ b/engine/crates/ps5upload-engine/src/join_page.html @@ -15,8 +15,8 @@ `);for(i=r=0;ri||c[r]!==l[i]){var u=` `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Le=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ie(n):``}function ze(e,t){switch(e.tag){case 26:case 27:case 5:return Ie(e.type);case 16:return Ie(`Lazy`);case 13:return e.child!==t&&t!==null?Ie(`Suspense Fallback`):Ie(`Suspense`);case 19:return Ie(`SuspenseList`);case 0:case 15:return Re(e.type,!1);case 11:return Re(e.type.render,!1);case 1:return Re(e.type,!0);case 31:return Ie(`Activity`);case 30:return Ie(`ViewTransition`);default:return``}}function Be(e){try{var t=``,n=null;do t+=ze(e,n),n=e,e=e.return;while(e);return t}catch(e){return` Error generating stack: `+e.message+` -`+e.stack}}var Ve=Object.prototype.hasOwnProperty,He=t.unstable_scheduleCallback,Ue=t.unstable_cancelCallback,We=t.unstable_shouldYield,Ge=t.unstable_requestPaint,Ke=t.unstable_now,qe=t.unstable_getCurrentPriorityLevel,Je=t.unstable_ImmediatePriority,Ye=t.unstable_UserBlockingPriority,Xe=t.unstable_NormalPriority,Ze=t.unstable_LowPriority,Qe=t.unstable_IdlePriority,$e=t.log,et=t.unstable_setDisableYieldValue,tt=null,nt=null;function rt(e){if(typeof $e==`function`&&et(e),nt&&typeof nt.setStrictMode==`function`)try{nt.setStrictMode(tt,e)}catch{}}var it=Math.clz32?Math.clz32:st,at=Math.log,ot=Math.LN2;function st(e){return e>>>=0,e===0?32:31-(at(e)/ot|0)|0}var ct=256,lt=262144,ut=4194304;function dt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ft(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=dt(n))):i=dt(o):i=dt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=dt(n))):i=dt(o)):i=dt(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function pt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function mt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function vt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function yt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=vr),xr=` `,Sr=!1;function Cr(e,t){switch(e){case`keyup`:return gr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function wr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Tr=!1;function Er(e,t){switch(e){case`compositionend`:return wr(t);case`keypress`:return t.which===32?(Sr=!0,xr):null;case`textInput`:return e=t.data,e===xr&&Sr?null:e;default:return null}}function Dr(e,t){if(Tr)return e===`compositionend`||!_r&&Cr(e,t)?(e=zn(),Rn=Ln=In=null,Tr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Xr(n)}}function Qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $r(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yr(e.document)}return t}function ei(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var ti=Nn&&`documentMode`in document&&11>=document.documentMode,ni=null,ri=null,ii=null,ai=!1;function oi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ai||ni==null||ni!==Yr(r)||(r=ni,`selectionStart`in r&&ei(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ii&&Jr(ii,r)||(ii=r,r=Jf(ri,`onSelect`),0>=o,i-=o,ea=1<<32-it(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),L&&na(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),L&&na(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return L&&na(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),L&&na(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===ie&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case ne:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===ie){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),uo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&ro(l)===r.type){n(e,r.sibling),c=a(r,o.props),uo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===ie?(c=F(o.props.children,e.mode,c,o.key),uo(c,o),c.return=e,e=c):(c=Vi(o.type,o.key,o.props,null,e.mode,c),uo(c,o),c.return=e,e=c)}return s(e);case re:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Wi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=ro(o),_(e,r,o,c)}if(be(o))return h(e,r,o,c);if(_e(o)){if(l=_e(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,lo(o),c);if(o.$$typeof===se)return _(e,r,ka(e,o),c);fo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Hi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{co=0;var i=_(e,t,n,r);return so=null,i}catch(t){if(t===Za||t===$a)throw t;var a=Li(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var mo=po(!0),ho=po(!1),go=!1;function _o(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Pi(e),Ni(e,null,n),t}return Ai(e,r,t,n),Pi(e)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Co=!1;function wo(){if(Co){var e=Ha;if(e!==null)throw e}}function To(e,t,n,r){Co=!1;var i=e.updateQueue;go=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===Va&&(Co=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=E({},d,f);break a;case 2:go=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),od|=o,e.lanes=o,e.memoizedState=d}}function Eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Do(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=A.T,s={};s.types=o===null?null:o.types,A.T=s,fc(e,!1,t,n);try{var c=i(),l=A.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?dc(e,t,Ga(c,r),jd(e)):dc(e,t,r,jd(e))}catch(n){dc(e,t,{then:function(){},status:`rejected`,reason:n},jd())}finally{j.p=a,o!==null&&s.types!==null&&(o.types=s.types),A.T=o}}function tc(){}function nc(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=rc(e).queue;ec(e,a,t,xe,n===null?tc:function(){return ic(e),n(r)})}function rc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:xe,baseState:xe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:xe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ic(e){var t=rc(e);t.next===null&&(t=e.alternate.memoizedState),dc(e,t.next.queue,{},jd())}function ac(){return Oa(sh)}function oc(){return cs().memoizedState}function sc(){return cs().memoizedState}function cc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=jd();e=yo(n);var r=bo(t,e,n);r!==null&&(Pd(r,t,n),xo(r,t,n)),t={cache:Pa()},e.payload=t;return}t=t.return}}function lc(e,t,n){var r=jd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},pc(e)?mc(t,n):(n=ji(e,t,n,r),n!==null&&(Pd(n,e,r),hc(n,t,r)))}function uc(e,t,n){dc(e,t,n,jd())}function dc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(pc(e))mc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,qr(s,o))return Ai(e,t,i,0),q===null&&ki(),!1}catch{}if(n=ji(e,t,i,r),n!==null)return Pd(n,e,r),hc(n,t,r),!0}return!1}function fc(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},pc(e)){if(t)throw Error(i(479))}else t=ji(e,n,r,2),t!==null&&Pd(t,e,2)}function pc(e){var t=e.alternate;return e===B||t!==null&&t===B}function mc(e,t){Ko=Go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}var gc={readContext:Oa,use:ds,useCallback:Qo,useContext:Qo,useEffect:Qo,useImperativeHandle:Qo,useLayoutEffect:Qo,useInsertionEffect:Qo,useMemo:Qo,useReducer:Qo,useRef:Qo,useState:Qo,useDebugValue:Qo,useDeferredValue:Qo,useTransition:Qo,useSyncExternalStore:Qo,useId:Qo,useHostTransitionStatus:Qo,useFormState:Qo,useActionState:Qo,useOptimistic:Qo,useMemoCache:Qo,useCacheRefresh:Qo,useEffectEvent:Qo},_c={readContext:Oa,use:ds,useCallback:function(e,t){return ss().memoizedState=[e,t===void 0?null:t],e},useContext:Oa,useEffect:Vs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),zs(4194308,4,qs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){zs(4,2,e,t)},useMemo:function(e,t){var n=ss();t=t===void 0?null:t;var r=e();if(qo){rt(!0);try{e()}finally{rt(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ss();if(n!==void 0){var i=n(t);if(qo){rt(!0);try{n(t)}finally{rt(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=lc.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=ss();return e={current:e},t.memoizedState=e},useState:function(e){e=Cs(e);var t=e.queue,n=uc.bind(null,B,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ys,useDeferredValue:function(e,t){return Qs(ss(),e,t)},useTransition:function(){var e=Cs(!1);return e=ec.bind(null,B,e.queue,!0,!1),ss().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=B,a=ss();if(L){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),q===null)throw Error(i(349));Y&127||vs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Vs(bs.bind(null,r,o,e),[e]),r.flags|=2048,Ls(9,{destroy:void 0},ys.bind(null,r,o,n,t),null),n},useId:function(){var e=ss(),t=q.identifierPrefix;if(L){var n=ta,r=ea;n=(r&~(1<<32-it(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Jo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[Ot]=t,o[kt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(np(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&hl(t)}}return H(t),t.subtreeFlags&=-33554433,gl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&hl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Oe.current,ma(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=sa,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Ot]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ep(e.nodeValue,n)),e||da(t,!0)}else e=lp(e).createTextNode(r),e[Ot]=t,t.stateNode=e}return H(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=ma(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;H(t),e=!1}else n=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(zo(t),t):(zo(t),null);if(t.flags&128)throw Error(i(558))}return H(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=ma(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;H(t),a=!1}else a=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(zo(t),t):(zo(t),null)}return zo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),vl(t,t.updateQueue),H(t),null);case 4:return je(),e===null&&Wf(t.stateNode.containerInfo),t.flags|=67108864,H(t),null;case 10:return Sa(t.type),H(t),null;case 19:if(Vo(t),r=t.memoizedState,r===null)return H(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)yl(r,!1);else{if(ad!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ho(e),o!==null){for(t.flags|=128,yl(r,!1),e=o.updateQueue,t.updateQueue=e,vl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Bi(n,e),n=n.sibling;return z(t,Bo.current&1|2),L&&na(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ke()>gd&&(t.flags|=128,a=!0,yl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Ho(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,vl(t,e),yl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!L)return H(t),null}else 2*Ke()-r.renderingStartTime>gd&&n!==536870912&&(t.flags|=128,a=!0,yl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ke(),e.sibling=null,o=Bo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||L?z(t,o):(n=o,M(No,t),M(Bo,n),Po===null&&(Po=t)),L&&na(t,r.treeForkCount),e}return H(t),null;case 22:case 23:return zo(t),Mo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(H(t),t.subtreeFlags&6&&(t.flags|=8192)):H(t),n=t.updateQueue,n!==null&&vl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&Te(qa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sa(Na),H(t),null;case 25:return null;case 30:return t.flags|=33554432,H(t),null}throw Error(i(156,t.tag))}function xl(e,t){switch(aa(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(Na),je(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ne(t),null;case 31:if(t.memoizedState!==null){if(zo(t),t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(zo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Vo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return je(),null;case 10:return Sa(t.type),null;case 22:case 23:return zo(t),Mo(),e!==null&&Te(qa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(Na),null;case 25:return null;default:return null}}function Sl(e,t){switch(aa(t),t.tag){case 3:Sa(Na),je();break;case 26:case 27:case 5:Ne(t);break;case 4:je();break;case 31:t.memoizedState!==null&&zo(t);break;case 13:zo(t);break;case 19:Vo(t);break;case 10:Sa(t.type);break;case 22:case 23:zo(t),Mo(),e!==null&&Te(qa);break;case 24:Sa(Na)}}function Cl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function wl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Tl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Do(t,n)}catch(t){Z(e,e.return,t)}}}function El(e,t,n){n.props=wc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Dl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=Si(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);f(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function U(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}}function Ol(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),np(r,t,n),r[Ot]=e,Ht(r),t=r;break a;case`link`:if(o=Gm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=Zr(s,h),v=Zr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,A.T=null,n=wd,wd=null;var o=bd,s=Sd;if(yd=0,xd=bd=null,Sd=0,K&6)throw Error(i(331));var c=K;if(K|=4,Yu(o.current),Vu(o,o.current,s,n),K=c,Df(0,!1),nt&&typeof nt.onPostCommitFiberRoot==`function`)try{nt.onPostCommitFiberRoot(tt,o)}catch{}return!0}finally{j.p=a,A.T=r,uf(e,t)}}function pf(e,t,n){t=Ki(n,t),t=Ac(e.stateNode,t,2),e=bo(e,t,2),e!==null&&(vt(e,2),Ef(e))}function Z(e,t,n){if(e.tag===3)pf(e,e,n);else for(;t!==null;){if(t.tag===3){pf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(vd===null||!vd.has(r))){e=Ki(n,e),n=jc(2),r=bo(t,n,2),r!==null&&(Mc(n,r,t,e),vt(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $u;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(rd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(ad===4||ad===3&&(Y&62914560)===Y&&300>Ke()-md?K&2?cd|=n:Vd(e,0):cd|=n,ud===Y&&(ud=0)),Ef(e)}function gf(e,t){t===0&&(t=gt()),e=Mi(e,t),e!==null&&(vt(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return He(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-it(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Y,a=ft(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||pt(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&hp()&&(e=Tf);for(var t=Ke(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}yd!==0&&yd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=ln(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),Ht(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+ln(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+ln(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+ln(n.imageSizes)+`"]`)):i+=`[href="`+ln(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=E({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[It]=!0,o.onload=o.onerror=function(){Ut(o)}),Ht(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+ln(r)+`"][href="`+ln(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=E({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),Ht(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=Vt(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=E({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Ht(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var a=(a=Oe.current)?bm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=Vt(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=Vt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=Vt(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Pm(e){return`href="`+ln(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[It]){r.loading=1;return}}else t=e.createElement(`link`),t[It]=!0,t.onload=t.onerror=Ut.bind(null,t),np(t,`link`,n),Ht(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+ln(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+ln(n.href)+`"]`);if(r)return t.instance=r,Ht(r),r;var a=E({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ht(r),np(r,`style`,a),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Pm(n.href);var o=e.querySelector(Fm(a));if(o)return t.state.loading|=4,t.instance=o,Ht(o),o;r=Im(n),(a=vm.get(a))&&Hm(r,a),o=(e.ownerDocument||e).createElement(`link`),Ht(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),np(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(a=e.querySelector(zm(o)))?(t.instance=a,Ht(a),a):(r=n,(a=vm.get(o))&&(r=E({},n),Um(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ht(a),np(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ht(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Ht(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=b()}))(),S=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function ee(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:S(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var C=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},w=e=>{let t=C(e);return t.charAt(0).toUpperCase()+t.slice(1)},T=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),E={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function te(e){return e!=null}function ne(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??E.width,a=e.size??e.height??E.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?T(...c):T(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??E[`stroke-width`])*Number(e.size??e.width??E.width)/Number(t.size??t.width??E.width):t.strokeWidth??E[`stroke-width`];return[`svg`,{...Object.entries(E).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&te(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&te(t.width)&&{[r(`width`)]:t.width},...`height`in t&&te(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function re(e,t={}){return ne(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var ie=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},D=u(_(),1),ae=(0,D.createContext)({}),oe=()=>(0,D.useContext)(ae),se=(0,D.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=oe()??{},y=!!c||ie(d),[b,x,S=[]]=re(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:T(v,s),hasA11yProp:y,attributes:d});return(0,D.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,D.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function ce(e,t=[],n=[]){let r=typeof e==`string`?ee(e,t,n):e,i=(0,D.forwardRef)(({className:e,...t},n)=>(0,D.createElement)(se,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=w(r.name)),i}var le={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};le.node;var ue=ce(le),de={name:`expand`,size:24,node:[[`path`,{d:`m15 15 6 6`,key:`1s409w`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}],[`path`,{d:`M21 16v5h-5`,key:`1ck2sf`}],[`path`,{d:`M21 8V3h-5`,key:`1qoq8a`}],[`path`,{d:`M3 16v5h5`,key:`1t08am`}],[`path`,{d:`m3 21 6-6`,key:`wwnumi`}],[`path`,{d:`M3 8V3h5`,key:`1ln10m`}],[`path`,{d:`M9 9 3 3`,key:`v551iv`}]]};de.node;var O=ce(de),fe={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};fe.node;var pe=ce(fe),k={name:`gamepad-2`,size:24,node:[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`,key:`1gktln`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`,key:`qnk9ow`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`,key:`krot7o`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`,key:`1lcuu1`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`,key:`mfqc10`}]]};k.node;var me=ce(k),he={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};he.node;var ge=ce(he),_e={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};_e.node;var ve=ce(_e),ye={name:`minimize`,size:24,node:[[`path`,{d:`M8 3v3a2 2 0 0 1-2 2H3`,key:`hohbtr`}],[`path`,{d:`M21 8h-3a2 2 0 0 1-2-2V3`,key:`5jw1f3`}],[`path`,{d:`M3 16h3a2 2 0 0 1 2 2v3`,key:`198tvr`}],[`path`,{d:`M16 21v-3a2 2 0 0 1 2-2h3`,key:`ph8mxp`}]]};ye.node;var be=ce(ye),A={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};A.node;var j=ce(A),xe={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};xe.node;var Se=ce(xe),Ce={name:`volume-2`,size:24,node:[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]};Ce.node;var we=ce(Ce),Te={name:`volume-x`,size:24,node:[[`path`,{d:`M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z`,key:`1p7khw`}],[`path`,{d:`m16.5 14.5 5-5`,key:`cul3yw`}],[`path`,{d:`m16.5 9.5 5 5`,key:`1akey5`}]]};Te.node;var M=ce(Te),Ee={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Ee.node;var De=ce(Ee),Oe=({"ar":{"usb_skipped_not_payload":"{name}: ليس ملف .elf أو .bin","usb_skipped_unknown":"{id}: لم يعد في قائمة الحمولات","browser_unsupported":"يتطلب هذا تطبيق سطح المكتب. لا يعمل في المتصفح.","video_recovered_notice":"تعطّل «العب» في المرة السابقة أثناء بدء الصورة، لذا يُفك ترميز الصورة الآن بدون بطاقة الرسومات (للتغيير: الإعدادات › النافذة › الرسومات › فك ترميز الفيديو بالعتاد).","video_recovered_title":"يُفك ترميز الصورة الآن برمجيًا","open_in_title":"هل تفتحه في تطبيق PS5Upload؟","open_in_body":"هل لديك تطبيق PS5Upload على هذا الجهاز؟ افتح الرابط فيه، أو تابع في المتصفح.","open_in_app":"فتح في التطبيق","open_in_browser":"المتابعة في المتصفح","open_in_remember":"تذكّر اختياري على هذا الجهاز","open_in_opening":"جارٍ فتح تطبيق PS5Upload…","open_in_not_opened":"لم يحدث شيء؟ ربما التطبيق غير مثبّت على هذا الجهاز.","open_in_again":"حاول مجددًا","pad_8bitdo_no_xinput":"لا يحتوي جهاز 8BitDo هذا على وضع X-input. إذا كان أحد الأزرار خاطئًا، فافحص وحدة التحكم.","pad_8bitdo_how_switch":"اضبط المفتاح في الخلف على X ثم اضغط Start","pad_8bitdo_how_startx":"أطفئه، ثم اضغط مطولًا على Start + X لتشغيله","pad_8bitdo_how_receiver":"استخدم جهاز الاستقبال 2.4G أو كابل USB","pad_8bitdo_how_manual":"يشرح دليله الطريقة","pad_8bitdo_xinput":"للحصول على أفضل نتيجة، بدّل وحدة 8BitDo إلى وضع X-input: {how}.","rp_touch_left_stick":"العصا اليسرى","rp_touch_right_stick":"العصا اليمنى","rp_touch_touchpad":"لوحة اللمس","rp_menu":"القائمة","rp_pad_step_lx":"ادفع العصا اليسرى إلى اليمين","rp_pad_step_ly":"ادفع العصا اليسرى إلى الأسفل","rp_pad_step_rx":"ادفع العصا اليمنى إلى اليمين","rp_pad_step_ry":"ادفع العصا اليمنى إلى الأسفل","join_check_bottom":"اضغط زر الوجه السفلي (✕)","join_check_right":"اضغط زر الوجه الأيمن (○)","join_check_left":"اضغط زر الوجه الأيسر (□)","join_check_top":"اضغط زر الوجه العلوي (△)","rp_pad_press":"اضغط {name}","join_check_saved":"تم الحفظ لوحدة التحكم هذه على هذا الجهاز. جرّبها أدناه.","join_check_title":"افحص وحدة التحكم","join_done":"تم","rp_pads_none":"لم تُرصد أي يد تحكم بعد. وصّل واحدة واضغط أي زر فيها.","rp_pad_mapped":"تلعب بتعيين أزرارك","join_check_unknown":"وحدة التحكم هذه ليست في قائمتنا، لذا قد تكون أزرارها مختلطة. يستغرق إعدادها بضع ثوانٍ.","rp_pad_standard":"معروفة","rp_pad_progress":"{n} من {total}","rp_pad_skip":"تخطٍّ","rp_pad_back":"رجوع","rp_pad_cancel":"إلغاء","join_check_try":"اضغط الأزرار وحرّك العصي: ما تضغطه يضيء.","join_check_redo":"إعادة","join_check_map":"إعداد الأزرار","rp_pad_reset":"إعادة ضبط","join_open_lan_body":"لا يمكنك الوصول إلى الإنترنت؟ إذا كنت على شبكة Wi-Fi نفسها مع صديقك، فافتح اللعبة هناك.","join_open_lan":"افتح على شبكة Wi-Fi هذه","join_path_lan":"الشبكة المنزلية","join_path_internet":"الإنترنت","join_seat_taken":"احتاج {host} إلى استعادة يد التحكم ولم تكن هناك يد تحكم أخرى متاحة على PS5، لذا خرجت من اللعبة. اطلب من {host} أن يسمح لك بالدخول مرة أخرى.","join_refused_key":"انتهت صلاحية هذه الدعوة. اطلب من {host} رابطًا جديدًا.","join_refused_expired":"فقدت مكانك في اللعبة. اطلب من {host} إدخالك مجددًا.","join_refused_full":"اللعبة ممتلئة: يوجد أربعة لاعبين بالفعل.","join_refused_denied":"لم يسمح لك {host} بالدخول هذه المرة.","join_refused_no_answer":"لم يُجب {host} في الوقت المناسب. أخبر {host} ثم حاول مرة أخرى.","join_refused_closed":"{host} لا يستضيف العب معًا الآن.","join_refused_old_helper":"يحتاج PS5 الخاص بـ {host} إلى مساعد محدّث لميزة العب معًا.","join_refused_not_playing":"{host} لا يلعب الآن. اطلب من {host} أن يبدأ اللعب أولًا.","join_refused_unreachable":"لم يتمكن حاسوب {host} من الوصول إلى جهاز PS5. حاول مرة أخرى بعد قليل.","join_refused_slow_down":"رموز خاطئة كثيرة جدًا. انتظر دقيقة ثم حاول مرة أخرى.","join_refused_address":"عنوان هذا الرابط خارج شبكتك المنزلية، لذا لن يستخدمه التطبيق. اطلب من {host} رابطًا يحمل عنوان IP لجهازه.","join_refused_other":"لم يسمح لك {host} بالدخول.","join_ended_kicked":"أخرجك {host} من اللعبة.","join_ended_closed":"أغلق {host} العب معًا.","join_ended_host_stopped":"توقف المضيف عن اللعب.","join_ended_replaced":"فُتحت هذه اللعبة في علامة تبويب أخرى أو على جهاز آخر، لذا توقفت هنا.","join_ended_pad_lost":"فقد PS5 يد التحكم الخاصة بك، لذا خرجت من اللعبة. اطلب من {host} إدخالك مجددًا.","join_ended_gave_up":"لم يعد الاتصال بـ {host} في الوقت المناسب.","join_net_lost":"انقطع الاتصال بـ{host}. تحقق من اتصالك بالإنترنت ثم اطلب مرة أخرى.","join_ended_lost":"تعذّر الوصول إلى {host}. تأكد أنكما على الشبكة نفسها.","join_ended_left":"غادرت اللعبة.","join_net_mismatch":"هذا الرابط لا يطابق المضيف؛ اطلب منه رابطًا جديدًا.","join_net_no_direct":"لا يمكن إنشاء اتصال مباشر من هذه الشبكة (الموجّهان لدى الطرفين صارمان). جرّب Wi-Fi بدلًا من بيانات الجوال، أو اطلب من المضيف تشغيل UPnP.","join_net_no_room":"هذه الدعوة لم تعد مفتوحة. اطلب من {host} رابطًا جديدًا.","join_net_full":"لا يتّسع لعب {host} لصديق آخر الآن. حاول مجددًا بعد لحظة.","join_net_no_hub":"تعذّر الوصول إلى خدمة دعوات PS5Upload. تحقّق من اتصالك بالإنترنت ثم حاول مجددًا.","join_net_offer":"تعذّر على كمبيوتر {host} الاتصال بهذا المتصفح. جرّب متصفحًا آخر.","join_net_no_webrtc":"هذا المتصفح لا يستطيع إنشاء اتصالات مباشرة. جرّب إصدارًا حديثًا من Chrome أو Safari أو Firefox.","join_cancel":"إلغاء","join_host_fallback":"صديقك","join_connecting":"جارٍ الاتصال بـ {host}…","join_waiting":"بانتظار أن يسمح لك {host} بالدخول","join_waiting_body":"يرى {host} اسمك على شاشته ويضغط سماح.","join_retry":"حاول مجددًا","join_again":"اطلب الانضمام مجددًا","join_playing_at":"تلعب لدى {host}","join_you_are":"أنت اللاعب {n}","join_seat_stream":"أنت تلعب بمستخدم PS5 الخاص بـ {host}. لا حاجة لاختيار مستخدم.","join_plays_as":"أنت تلعب باسم {profile}. لا حاجة لاختيار مستخدم.","join_seat_tv_asks":"اختار {host} ملفًا شخصيًا لك، لكن تعذّر استخدامه. سيسألك التلفاز عن هويتك.","join_picking":"اضغط PS، ثم اختر اللعب السريع على التلفاز","join_hide_controls":"إخفاء","join_sound":"اضغط لتشغيل الصوت","rp_unmute":"تشغيل الصوت","rp_mute":"كتم","join_no_sound":"لا يوجد صوت في هذا المتصفح","join_exit_fullscreen":"الخروج من ملء الشاشة","pad_fill":"ملء الشاشة","join_leave":"مغادرة","join_show_controls":"إظهار عناصر التحكم","join_hold_hint":"اضغط مطولاً على الصورة لإظهار الأزرار","pad_watch_no_hevc":"لا يستطيع هذا الجهاز تشغيل صورة هذا البث: الحاسوب يبث بـ HEVC وهذا الجهاز يشغّل H.264 فقط.","pad_watch_decode":"تعذّر تشغيل الصورة هنا.","join_pad_ready":"يد التحكم جاهزة","join_check_unknown_short":"ليست في قائمتنا: قد تكون الأزرار مختلطة.","join_full_to_play":"اضغط على ملء الشاشة للعب بيد التحكم التي على الشاشة.","join_pad_none":"وصّل يد تحكم (USB أو Bluetooth) واضغط أي زر.","join_pad_keys":"أو استخدم لوحة المفاتيح: WASD للتحريك، الأسهم للأزرار الاتجاهية، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"اضغط على زر الرجوع في جهاز التحكم عن بُعد لإظهار الأزرار.","join_block_note":"أوقف {host} زرَّي PS وCreate للأصدقاء.","join_guide_title":"خطوة أخيرة على التلفاز","join_guide_body":"اضغط زر PS مرة واحدة على يد التحكم. يسأل التلفاز «من يستخدم يد التحكم هذه؟». اختر اللعب السريع أو مستخدمك الخاص. لا يحتاج المضيف إلى فعل أي شيء.","join_guide_menus":"في الشاشة الرئيسية لجهاز PS5 يتحكم المضيف وحده بالقوائم؛ يد التحكم الخاصة بك تلعب داخل الألعاب.","join_guide_ok":"فهمت","join_host_away":"توقف المضيف عن اللعب — بانتظار أن يبدأ من جديد ({time})","join_reconnecting":"جارٍ إعادة الاتصال…","join_reconnecting_left":"مكانك محفوظ لمدة {time}.","pad_turn":"أدر الهاتف أفقيًا","join_game_label":"لعبة {host}","join_title":"انضم إلى لعبة صديق","join_title_body":"العب على PS5 الخاص بـ {host} كلاعب 2 أو 3 أو 4.","join_name_label":"اسمك","join_name_hint":"يرى صديقك هذا الاسم عندما تطلب الانضمام.","join_button":"انضمام"},"bn":{"usb_skipped_not_payload":"{name}: .elf বা .bin ফাইল নয়","usb_skipped_unknown":"{id}: আর পেলোড তালিকায় নেই","browser_unsupported":"এর জন্য ডেস্কটপ অ্যাপ দরকার। এটি ব্রাউজারে কাজ করে না।","video_recovered_notice":"গতবার ছবি শুরু করার সময় খেলুন ক্র্যাশ করেছিল, তাই ছবি এখন গ্রাফিক্স কার্ড ছাড়া ডিকোড হয় (বদলাতে সেটিংস › উইন্ডো › গ্রাফিক্স › হার্ডওয়্যার ভিডিও ডিকোডিং)।","video_recovered_title":"ছবি এখন সফটওয়্যারে ডিকোড হয়","open_in_title":"PS5Upload অ্যাপে খুলবেন?","open_in_body":"এই ডিভাইসে PS5Upload অ্যাপ আছে? সেখানে খুলুন, অথবা ব্রাউজারেই চালিয়ে যান।","open_in_app":"অ্যাপে খুলুন","open_in_browser":"ব্রাউজারে চালিয়ে যান","open_in_remember":"এই ডিভাইসে আমার পছন্দ মনে রাখুন","open_in_opening":"PS5Upload অ্যাপ খোলা হচ্ছে…","open_in_not_opened":"কিছু হলো না? হয়তো এই ডিভাইসে অ্যাপটি নেই।","open_in_again":"আবার চেষ্টা করুন","pad_8bitdo_no_xinput":"এই 8BitDo-তে X-input মোড নেই। কোনো বোতাম ভুল হলে কন্ট্রোলারটি পরীক্ষা করুন।","pad_8bitdo_how_switch":"পেছনের সুইচটি X-এ দিন, তারপর Start চাপুন","pad_8bitdo_how_startx":"এটি বন্ধ করুন, তারপর Start + X চেপে ধরে চালু করুন","pad_8bitdo_how_receiver":"এর 2.4G রিসিভার বা একটি USB কেবল ব্যবহার করুন","pad_8bitdo_how_manual":"এর ম্যানুয়ালে উপায় দেওয়া আছে","pad_8bitdo_xinput":"সেরা ফলের জন্য আপনার 8BitDo-কে X-input মোডে নিন: {how}।","rp_touch_left_stick":"বাম স্টিক","rp_touch_right_stick":"ডান স্টিক","rp_touch_touchpad":"টাচপ্যাড","rp_menu":"মেনু","rp_pad_step_lx":"বাম স্টিক ডানে ঠেলুন","rp_pad_step_ly":"বাম স্টিক নিচে ঠেলুন","rp_pad_step_rx":"ডান স্টিক ডানে ঠেলুন","rp_pad_step_ry":"ডান স্টিক নিচে ঠেলুন","join_check_bottom":"নিচের ফেস বোতামটি চাপুন (✕)","join_check_right":"ডান দিকের ফেস বোতামটি চাপুন (○)","join_check_left":"বাঁ দিকের ফেস বোতামটি চাপুন (□)","join_check_top":"উপরের ফেস বোতামটি চাপুন (△)","rp_pad_press":"{name} চাপুন","join_check_saved":"এই ডিভাইসে এই কন্ট্রোলারের জন্য সেভ হয়েছে। নিচে চেষ্টা করে দেখুন।","join_check_title":"আপনার কন্ট্রোলার পরীক্ষা করুন","join_done":"হয়ে গেছে","rp_pads_none":"এখনও কোনো কন্ট্রোলার দেখা যায়নি। একটি সংযুক্ত করে তার যেকোনো বোতাম চাপুন।","rp_pad_mapped":"আপনার ম্যাপিং দিয়ে খেলে","join_check_unknown":"এই কন্ট্রোলারটি আমাদের তালিকায় নেই, তাই এর বোতামগুলো এলোমেলো হতে পারে। সেট আপ করতে কয়েক সেকেন্ড লাগে।","rp_pad_standard":"শনাক্ত হয়েছে","rp_pad_progress":"{total}-এর মধ্যে {n}","rp_pad_skip":"এড়িয়ে যান","rp_pad_back":"পেছনে","rp_pad_cancel":"বাতিল","join_check_try":"বোতাম চাপুন ও স্টিক নাড়ান: যা চাপবেন তা জ্বলে উঠবে।","join_check_redo":"আবার করুন","join_check_map":"বোতাম সেট আপ করুন","rp_pad_reset":"রিসেট","join_open_lan_body":"ইন্টারনেট পাচ্ছেন না? বন্ধুর সাথে একই Wi-Fi-তে থাকলে সেখানেই গেমটি খুলুন।","join_open_lan":"এই Wi-Fi-তে খুলুন","join_path_lan":"হোম নেটওয়ার্ক","join_path_internet":"ইন্টারনেট","join_seat_taken":"{host}-এর নিজের কন্ট্রোলার ফেরত দরকার ছিল এবং PS5-এ আর কোনো কন্ট্রোলার খালি ছিল না, তাই আপনি গেম থেকে বেরিয়ে গেছেন। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_key":"এই আমন্ত্রণের মেয়াদ শেষ। {host}-এর কাছে নতুন লিংক চান।","join_refused_expired":"গেমে আপনার জায়গা চলে গেছে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_full":"গেম পূর্ণ: ইতিমধ্যে চারজন খেলছে।","join_refused_denied":"{host} এবার আপনাকে ঢুকতে দেয়নি।","join_refused_no_answer":"{host} সময়মতো উত্তর দেননি। {host}-কে জানান, তারপর আবার চেষ্টা করুন।","join_refused_closed":"{host} এখন \"একসাথে খেলুন\" চালাচ্ছে না।","join_refused_old_helper":"\"একসাথে খেলুন\"-এর জন্য {host}-এর PS5-এ আপডেট করা হেল্পার দরকার।","join_refused_not_playing":"{host} এখন খেলছে না। {host}-কে আগে খেলা শুরু করতে বলুন।","join_refused_unreachable":"{host}-এর কম্পিউটার তাদের PS5-এ পৌঁছাতে পারেনি। একটু পরে আবার চেষ্টা করুন।","join_refused_slow_down":"অনেক বেশি ভুল কোড। এক মিনিট অপেক্ষা করে আবার চেষ্টা করুন।","join_refused_address":"এই লিঙ্কের ঠিকানা আপনার হোম নেটওয়ার্কের বাইরে, তাই অ্যাপ এটি ব্যবহার করবে না। {host}-এর কাছে তাঁর কম্পিউটারের IP ঠিকানা সহ একটি লিঙ্ক চান।","join_refused_other":"{host} আপনাকে ঢুকতে দেয়নি।","join_ended_kicked":"{host} আপনাকে গেম থেকে বের করে দিয়েছে।","join_ended_closed":"{host} \"একসাথে খেলুন\" বন্ধ করেছে।","join_ended_host_stopped":"হোস্ট খেলা বন্ধ করেছে।","join_ended_replaced":"এই গেমটি অন্য ট্যাব বা ডিভাইসে খোলা হয়েছে, তাই এখানে থেমে গেছে।","join_ended_pad_lost":"PS5 আপনার কন্ট্রোলার হারিয়েছে, তাই আপনি গেমের বাইরে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_ended_gave_up":"{host}-এর সাথে সংযোগ সময়মতো ফিরে আসেনি।","join_net_lost":"{host}-এর সাথে সংযোগ কেটে গেছে। আপনার ইন্টারনেট সংযোগ দেখুন, তারপর আবার অনুরোধ করুন।","join_ended_lost":"{host}-এর কাছে পৌঁছানো যায়নি। আপনারা একই নেটওয়ার্কে আছেন কিনা দেখুন।","join_ended_left":"আপনি গেম ছেড়ে গেছেন।","join_net_mismatch":"এই লিংকটি হোস্টের সঙ্গে মেলে না; তাঁর কাছে নতুন লিংক চান।","join_net_no_direct":"এই নেটওয়ার্ক থেকে সরাসরি সংযোগ সম্ভব নয় (দুই দিকের রাউটারই কড়া)। মোবাইল ডেটার বদলে Wi-Fi চেষ্টা করুন, অথবা হোস্টকে UPnP চালু করতে বলুন।","join_net_no_room":"এই আমন্ত্রণটি আর খোলা নেই। {host}-এর কাছে নতুন লিংক চান।","join_net_full":"{host}-এর গেমে এখন আরেকজন বন্ধুর জায়গা নেই। একটু পরে আবার চেষ্টা করুন।","join_net_no_hub":"PS5Upload আমন্ত্রণ পরিষেবায় পৌঁছানো যায়নি। ইন্টারনেট সংযোগ দেখে আবার চেষ্টা করুন।","join_net_offer":"{host}-এর কম্পিউটার এই ব্রাউজারের সঙ্গে সংযোগ করতে পারেনি। অন্য ব্রাউজার চেষ্টা করুন।","join_net_no_webrtc":"এই ব্রাউজার সরাসরি সংযোগ করতে পারে না। Chrome, Safari বা Firefox-এর নতুন সংস্করণ চেষ্টা করুন।","join_cancel":"বাতিল","join_host_fallback":"আপনার বন্ধু","join_connecting":"{host}-এর সাথে সংযোগ হচ্ছে…","join_waiting":"{host} আপনাকে ঢুকতে দেওয়ার অপেক্ষায়","join_waiting_body":"{host} তার স্ক্রিনে আপনার নাম দেখে \"অনুমতি দিন\" চাপবে।","join_retry":"আবার চেষ্টা করুন","join_again":"আবার যোগ দিতে অনুরোধ করুন","join_playing_at":"{host}-এর কাছে খেলছেন","join_you_are":"আপনি প্লেয়ার {n}","join_seat_stream":"আপনি {host}-এর PS5 ইউজার হিসেবে খেলছেন। ইউজার বাছার দরকার নেই।","join_plays_as":"আপনি {profile} হিসেবে খেলছেন। কাউকে বেছে নিতে হবে না।","join_seat_tv_asks":"{host} আপনার জন্য একটি প্রোফাইল বেছে রেখেছিল, কিন্তু সেটা ব্যবহার করা যায়নি। টিভি জিজ্ঞেস করবে আপনি কে।","join_picking":"PS চাপুন, তারপর টিভিতে দ্রুত খেলা বেছে নিন","join_hide_controls":"লুকান","join_sound":"শব্দের জন্য ট্যাপ করুন","rp_unmute":"শব্দ চালু","rp_mute":"নিঃশব্দ","join_no_sound":"এই ব্রাউজারে শব্দ নেই","join_exit_fullscreen":"ফুল স্ক্রিন থেকে বের হন","pad_fill":"পূর্ণ স্ক্রিন","join_leave":"ছেড়ে যান","join_show_controls":"নিয়ন্ত্রণগুলি দেখান","join_hold_hint":"বোতামগুলো দেখাতে ছবিতে চেপে ধরে রাখুন","pad_watch_no_hevc":"এই ডিভাইস এই স্ট্রিমের ছবি চালাতে পারে না: কম্পিউটার HEVC-তে স্ট্রিম করে, আর এই ডিভাইস শুধু H.264 চালায়।","pad_watch_decode":"ছবিটি এখানে চালানো যায়নি।","join_pad_ready":"আপনার কন্ট্রোলার প্রস্তুত","join_check_unknown_short":"আমাদের তালিকায় নেই: বোতামগুলো এলোমেলো হতে পারে।","join_full_to_play":"অন-স্ক্রিন কন্ট্রোলার দিয়ে খেলতে ফুল স্ক্রিনে ট্যাপ করুন।","join_pad_none":"একটি কন্ট্রোলার সংযুক্ত করুন (USB বা Bluetooth) এবং যেকোনো বোতাম চাপুন।","join_pad_keys":"অথবা কিবোর্ড ব্যবহার করুন: WASD নড়াচড়া, তীর চিহ্ন D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"বোতামগুলো দেখতে রিমোটে Back চাপুন।","join_block_note":"{host} বন্ধুদের জন্য PS ও Create বন্ধ করে রেখেছে।","join_guide_title":"টিভিতে আর একটি ধাপ","join_guide_body":"আপনার কন্ট্রোলারে একবার PS চাপুন। টিভি জিজ্ঞেস করবে \"এই কন্ট্রোলার কে ব্যবহার করছে?\"। দ্রুত খেলা বা নিজের ইউজার বেছে নিন। হোস্টকে কিছু করতে হবে না।","join_guide_menus":"PS5-এর হোম স্ক্রিনে শুধু হোস্ট মেনু চালাতে পারে; আপনার কন্ট্রোলার গেমের ভেতরে খেলে।","join_guide_ok":"বুঝেছি","join_host_away":"হোস্ট খেলা বন্ধ করেছে — আবার শুরু করার অপেক্ষায় ({time})","join_reconnecting":"আবার সংযোগ হচ্ছে…","join_reconnecting_left":"আপনার জায়গা {time} ধরে রাখা থাকবে।","pad_turn":"ফোনটি আড়াআড়ি ঘোরান","join_game_label":"{host}-এর গেম","join_title":"বন্ধুর গেমে যোগ দিন","join_title_body":"{host}-এর PS5-এ প্লেয়ার 2, 3 বা 4 হিসেবে খেলুন।","join_name_label":"আপনার নাম","join_name_hint":"যোগ দিতে অনুরোধ করলে আপনার বন্ধু এটি দেখবে।","join_button":"যোগ দিন"},"de":{"usb_skipped_not_payload":"{name}: keine .elf- oder .bin-Datei","usb_skipped_unknown":"{id}: nicht mehr in der Payload-Liste","browser_unsupported":"Dafür brauchst du die Desktop-App. Im Browser funktioniert das nicht.","video_recovered_notice":"Play ist beim letzten Mal beim Starten des Bildes abgestürzt, daher wird das Bild jetzt ohne Grafikkarte dekodiert (ändern unter Einstellungen › Fenster › Grafik › Hardware-Videodekodierung).","video_recovered_title":"Bild wird jetzt per Software dekodiert","open_in_title":"In der PS5Upload-App öffnen?","open_in_body":"Hast du die PS5Upload-App auf diesem Gerät? Öffne dies dort oder mach im Browser weiter.","open_in_app":"In der App öffnen","open_in_browser":"Im Browser weiter","open_in_remember":"Meine Wahl auf diesem Gerät merken","open_in_opening":"PS5Upload-App wird geöffnet …","open_in_not_opened":"Nichts passiert? Die App ist vielleicht nicht auf diesem Gerät.","open_in_again":"Erneut versuchen","pad_8bitdo_no_xinput":"Dieser 8BitDo hat keinen X-input-Modus. Wenn eine Taste falsch ist, prüfe den Controller.","pad_8bitdo_how_switch":"stell den Schalter auf der Rückseite auf X und drück dann Start","pad_8bitdo_how_startx":"schalte ihn aus und halte dann Start + X gedrückt, um ihn einzuschalten","pad_8bitdo_how_receiver":"nutze seinen 2.4G-Empfänger oder ein USB-Kabel","pad_8bitdo_how_manual":"wie, steht in seiner Anleitung","pad_8bitdo_xinput":"Für das beste Ergebnis schalte deinen 8BitDo in den X-input-Modus: {how}.","rp_touch_left_stick":"Linker Stick","rp_touch_right_stick":"Rechter Stick","rp_menu":"Menü","rp_pad_step_lx":"Drücke den linken Stick nach rechts","rp_pad_step_ly":"Drücke den linken Stick nach unten","rp_pad_step_rx":"Drücke den rechten Stick nach rechts","rp_pad_step_ry":"Drücke den rechten Stick nach unten","join_check_bottom":"Drück die untere Aktionstaste (✕)","join_check_right":"Drück die rechte Aktionstaste (○)","join_check_left":"Drück die linke Aktionstaste (□)","join_check_top":"Drück die obere Aktionstaste (△)","rp_pad_press":"Drücke {name}","join_check_saved":"Für diesen Controller auf diesem Gerät gespeichert. Probier es unten aus.","join_check_title":"Controller prüfen","join_done":"Fertig","rp_pads_none":"Noch kein Controller erkannt. Schließe einen an und drücke eine beliebige Taste darauf.","rp_pad_mapped":"Spielt mit deiner Belegung","join_check_unknown":"Dieser Controller ist nicht auf unserer Liste, die Tasten könnten also vertauscht sein. Das Einrichten dauert nur ein paar Sekunden.","rp_pad_standard":"Erkannt","rp_pad_progress":"{n} von {total}","rp_pad_skip":"Überspringen","rp_pad_back":"Zurück","rp_pad_cancel":"Abbrechen","join_check_try":"Drück Tasten und beweg die Sticks: Was du drückst, leuchtet auf.","join_check_redo":"Neu einrichten","join_check_map":"Tasten einrichten","rp_pad_reset":"Zurücksetzen","join_open_lan_body":"Kein Internet? Wenn du im selben WLAN wie dein Freund bist, öffne das Spiel dort.","join_open_lan":"In diesem WLAN öffnen","join_path_lan":"Heimnetz","join_seat_taken":"{host} brauchte seinen Controller zurück, und auf der PS5 war kein anderer Controller frei, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_refused_key":"Diese Einladung ist abgelaufen. Bitte {host} um einen neuen Link.","join_refused_expired":"Dein Platz im Spiel ist verloren. Bitte {host}, dich wieder hereinzulassen.","join_refused_full":"Das Spiel ist voll: Es sind schon vier Spieler da.","join_refused_denied":"{host} hat dich diesmal nicht reingelassen.","join_refused_no_answer":"{host} hat nicht rechtzeitig geantwortet. Sag {host} Bescheid und versuche es noch einmal.","join_refused_closed":"{host} bietet gerade kein „Zusammen spielen“ an.","join_refused_old_helper":"Die PS5 von {host} braucht einen aktuellen Helfer für „Zusammen spielen“.","join_refused_not_playing":"{host} spielt gerade nicht. Bitte {host}, zuerst Spielen zu starten.","join_refused_unreachable":"Der Computer von {host} hat die PS5 nicht erreicht. Versuch es gleich noch einmal.","join_refused_slow_down":"Zu viele falsche Codes. Warte eine Minute und versuch es dann noch einmal.","join_refused_address":"Die Adresse dieses Links liegt außerhalb deines Heimnetzes, daher verwendet die App sie nicht. Bitte {host} um einen Link mit der IP-Adresse des Computers.","join_refused_other":"{host} hat dich nicht reingelassen.","join_ended_kicked":"{host} hat dich aus dem Spiel genommen.","join_ended_closed":"{host} hat „Zusammen spielen“ beendet.","join_ended_host_stopped":"Der Gastgeber hat aufgehört zu spielen.","join_ended_replaced":"Dieses Spiel wurde in einem anderen Tab oder auf einem anderen Gerät geöffnet, daher wurde es hier beendet.","join_ended_pad_lost":"Die PS5 hat deinen Controller verloren, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_ended_gave_up":"Die Verbindung zu {host} kam nicht rechtzeitig zurück.","join_net_lost":"Die Verbindung zu {host} ist abgebrochen. Prüfe deine Internetverbindung und frage dann erneut.","join_ended_lost":"{host} nicht erreichbar. Prüfe, ob ihr im selben Netzwerk seid.","join_ended_left":"Du hast das Spiel verlassen.","join_net_mismatch":"Dieser Link passt nicht zum Gastgeber. Bitte ihn um einen neuen.","join_net_no_direct":"Von diesem Netzwerk aus ist keine direkte Verbindung möglich (die Router beider Seiten sind streng). Versuche WLAN statt mobiler Daten oder bitte den Gastgeber, UPnP einzuschalten.","join_net_no_room":"Diese Einladung ist nicht mehr offen. Bitte {host} um einen neuen Link.","join_net_full":"Im Spiel von {host} ist gerade kein Platz für einen weiteren Freund. Versuche es gleich noch einmal.","join_net_no_hub":"Der Einladungsdienst von PS5Upload ist nicht erreichbar. Prüfe deine Internetverbindung und versuche es dann erneut.","join_net_offer":"Der Computer von {host} konnte sich nicht mit diesem Browser verbinden. Versuche einen anderen Browser.","join_net_no_webrtc":"Dieser Browser kann keine direkten Verbindungen herstellen. Versuche ein aktuelles Chrome, Safari oder Firefox.","join_cancel":"Abbrechen","join_host_fallback":"dein Freund","join_connecting":"Verbinde mit {host}…","join_waiting":"Warte, bis {host} dich reinlässt","join_waiting_body":"{host} sieht deinen Namen auf dem Bildschirm und tippt auf „Zulassen“.","join_retry":"Erneut versuchen","join_again":"Erneut zum Mitspielen anfragen","join_playing_at":"Du spielst bei {host}","join_you_are":"Du bist Spieler {n}","join_seat_stream":"Du spielst als PS5-Benutzer von {host}. Du musst keinen wählen.","join_plays_as":"Du spielst als {profile}. Du musst keinen wählen.","join_seat_tv_asks":"{host} hat ein Profil für dich gewählt, aber es konnte nicht genutzt werden. Der Fernseher fragt, wer du bist.","join_picking":"PS drücken, dann am Fernseher „Schnellspiel“ wählen","join_hide_controls":"Ausblenden","join_sound":"Für Ton tippen","rp_unmute":"Ton an","rp_mute":"Stumm","join_no_sound":"Kein Ton in diesem Browser","join_exit_fullscreen":"Vollbild verlassen","pad_fill":"Vollbild","join_leave":"Verlassen","join_show_controls":"Steuerelemente einblenden","join_hold_hint":"Bild gedrückt halten, um die Tasten einzublenden","pad_watch_no_hevc":"Dieses Gerät kann das Bild dieses Streams nicht abspielen: Der Computer streamt HEVC, dieses Gerät kann nur H.264.","pad_watch_decode":"Das Bild konnte hier nicht abgespielt werden.","join_pad_ready":"Dein Controller ist bereit","join_check_unknown_short":"Nicht auf unserer Liste: Tasten könnten vertauscht sein.","join_full_to_play":"Tippe auf Vollbild, um mit dem Bildschirm-Controller zu spielen.","join_pad_none":"Schließe einen Controller an (USB oder Bluetooth) und drücke eine beliebige Taste.","join_pad_keys":"Oder nutze die Tastatur: WASD bewegen, Pfeiltasten Steuerkreuz, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Drücke auf der Fernbedienung Zurück, um die Schaltflächen einzublenden.","join_block_note":"{host} hat PS und Create für Freunde ausgeschaltet.","join_guide_title":"Noch ein Schritt am Fernseher","join_guide_body":"Drücke einmal PS auf deinem Controller. Der Fernseher fragt „Wer benutzt diesen Controller?“. Wähle „Schnellspiel“ oder deinen eigenen Benutzer. Der Gastgeber muss nichts tun.","join_guide_menus":"Auf dem Startbildschirm der PS5 steuert nur der Gastgeber die Menüs; dein Controller spielt in den Spielen.","join_guide_ok":"Verstanden","join_host_away":"Der Gastgeber hat aufgehört zu spielen – wir warten, bis er wieder anfängt ({time})","join_reconnecting":"Verbinde neu…","join_reconnecting_left":"Dein Platz wird {time} lang freigehalten.","pad_turn":"Dreh das Handy quer","join_game_label":"Spiel von {host}","join_title":"Bei Freunden mitspielen","join_title_body":"Spiele auf der PS5 von {host} als Spieler 2, 3 oder 4.","join_name_label":"Dein Name","join_name_hint":"Das sieht dein Freund, wenn du zum Mitspielen anfragst.","join_button":"Mitspielen"},"en":{"usb_skipped_not_payload":"{name}: not an .elf or .bin file","usb_skipped_unknown":"{id}: not in the payload list any more","browser_unsupported":"This needs the desktop app. It does not work in the browser.","video_recovered_notice":"Play crashed while starting the picture last time, so the picture is now decoded without the graphics card (Settings › Window › Graphics › Hardware video decoding to change it).","video_recovered_title":"Picture now decoded in software","open_in_title":"Open in the PS5Upload app?","open_in_body":"Have the PS5Upload app on this device? Open this there, or carry on in the browser.","open_in_app":"Open in the app","open_in_browser":"Continue in browser","open_in_remember":"Remember my choice on this device","open_in_opening":"Opening the PS5Upload app…","open_in_not_opened":"Nothing happened? The app may not be on this device.","open_in_again":"Try again","pad_8bitdo_no_xinput":"This 8BitDo has no X-input mode. If a button is wrong, check the controller.","pad_8bitdo_how_switch":"set the switch on the back to X, then press Start","pad_8bitdo_how_startx":"turn it off, then hold Start + X to turn it on","pad_8bitdo_how_receiver":"use its 2.4G receiver or a USB cable","pad_8bitdo_how_manual":"its manual says how","pad_8bitdo_xinput":"For the best result, switch your 8BitDo to X-input mode: {how}.","rp_touch_left_stick":"Left stick","rp_touch_right_stick":"Right stick","rp_touch_touchpad":"Touchpad","rp_menu":"Menu","rp_pad_step_lx":"Push the left stick right","rp_pad_step_ly":"Push the left stick down","rp_pad_step_rx":"Push the right stick right","rp_pad_step_ry":"Push the right stick down","join_check_bottom":"Press the bottom face button (✕)","join_check_right":"Press the right face button (○)","join_check_left":"Press the left face button (□)","join_check_top":"Press the top face button (△)","rp_pad_press":"Press {name}","join_check_saved":"Saved for this controller on this device. Try it below.","join_check_title":"Check your controller","join_done":"Done","rp_pads_none":"No controller seen yet. Connect one and press any button on it.","rp_pad_mapped":"Plays with your mapping","join_check_unknown":"This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.","rp_pad_standard":"Recognized","rp_pad_progress":"{n} of {total}","rp_pad_skip":"Skip","rp_pad_back":"Back","rp_pad_cancel":"Cancel","join_check_try":"Press buttons and move the sticks: what you press lights up.","join_check_redo":"Redo","join_check_map":"Set up the buttons","rp_pad_reset":"Reset","join_open_lan_body":"Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.","join_open_lan":"Open on this Wi-Fi","join_path_lan":"Home network","join_path_tailscale":"Tailscale","join_path_internet":"Internet","join_seat_taken":"{host} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask {host} to let you in again.","join_refused_key":"This invite has expired. Ask {host} for a new link.","join_refused_expired":"Your place in the game was lost. Ask {host} to let you in again.","join_refused_full":"The game is full: four players already.","join_refused_denied":"{host} didn't let you in this time.","join_refused_no_answer":"{host} didn't answer in time. Tell {host}, then try again.","join_refused_closed":"{host} isn't hosting Play Together right now.","join_refused_old_helper":"{host}'s PS5 needs an updated helper for Play Together.","join_refused_not_playing":"{host} isn't playing right now. Ask {host} to start Play first.","join_refused_unreachable":"{host}'s computer couldn't reach their PS5. Try again in a moment.","join_refused_slow_down":"Too many wrong codes. Wait a minute, then try again.","join_refused_address":"This link's address is outside your home network, so the app will not use it. Ask {host} for a link with their computer's IP address.","join_refused_other":"{host} didn't let you in.","join_ended_kicked":"{host} took you out of the game.","join_ended_closed":"{host} closed Play Together.","join_ended_host_stopped":"The host stopped playing.","join_ended_replaced":"This game was opened in another tab or on another device, so it stopped here.","join_ended_pad_lost":"The PS5 lost your controller, so you're out of the game. Ask {host} to let you in again.","join_ended_gave_up":"The connection to {host} didn't come back in time.","join_net_lost":"The connection to {host} dropped. Check your internet connection, then ask again.","join_ended_lost":"Couldn't reach {host}. Check that you're on the same network.","join_ended_left":"You left the game.","join_net_mismatch":"This link doesn't match the host; ask them for a new one.","join_net_no_direct":"A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.","join_net_no_room":"This invite isn't open any more. Ask {host} for a new link.","join_net_full":"{host}'s game has no room for another friend right now. Try again in a moment.","join_net_no_hub":"Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.","join_net_offer":"{host}'s computer couldn't connect to this browser. Try another browser.","join_net_no_webrtc":"This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.","join_cancel":"Cancel","join_host_fallback":"your friend","join_connecting":"Connecting to {host}…","join_waiting":"Waiting for {host} to let you in","join_waiting_body":"{host} sees your name on their screen and taps Allow.","join_retry":"Try again","join_again":"Ask to join again","join_playing_at":"Playing at {host}'s","join_you_are":"You are Player {n}","join_seat_stream":"You're playing as {host}'s PS5 user. No need to pick one.","join_plays_as":"You're playing as {profile}. No need to pick one.","join_seat_tv_asks":"{host} chose a profile for you, but it couldn't be used. The TV will ask who you are.","join_picking":"Press PS, then pick Quick Play on the TV","join_hide_controls":"Hide","join_sound":"Tap for sound","rp_unmute":"Sound on","rp_mute":"Mute","join_no_sound":"No sound in this browser","join_exit_fullscreen":"Leave full screen","pad_fill":"Full screen","join_leave":"Leave","join_show_controls":"Show controls","join_hold_hint":"Press and hold the picture to show the buttons","pad_watch_no_hevc":"This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.","pad_watch_decode":"The picture could not be played here.","join_pad_ready":"Your controller is ready","join_check_unknown_short":"Not on our list: buttons may be mixed up.","join_full_to_play":"Tap full screen to play with the on-screen controller.","join_pad_none":"Connect a controller (USB or Bluetooth) and press any button.","join_pad_keys":"Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Press Back on the remote for the buttons.","join_block_note":"{host} turned off PS and Create for friends.","join_guide_title":"One more step on the TV","join_guide_body":"On your controller, press PS once. The TV asks \"Who's using this controller?\". Pick Quick Play or your own user. The host doesn't need to do anything.","join_guide_menus":"On the PS5's home screen only the host controls the menus; your controller plays inside games.","join_guide_ok":"Got it","join_host_away":"The host stopped playing — waiting for them to start again ({time})","join_reconnecting":"Reconnecting…","join_reconnecting_left":"Your place is kept for {time}.","pad_turn":"Turn the phone sideways","join_game_label":"{host}'s game","join_title":"Join a friend's game","join_title_body":"Play on {host}'s PS5 as Player 2, 3 or 4.","join_name_label":"Your name","join_name_hint":"Your friend sees this when you ask to join.","join_button":"Join"},"es":{"usb_skipped_not_payload":"{name}: no es un archivo .elf ni .bin","usb_skipped_unknown":"{id}: ya no está en la lista de payloads","browser_unsupported":"Esto necesita la aplicación de escritorio. No funciona en el navegador.","video_recovered_notice":"Play se cerró al iniciar la imagen la última vez, así que ahora la imagen se decodifica sin la tarjeta gráfica (cámbialo en Configuración › Ventana › Gráficos › Decodificación de vídeo por hardware).","video_recovered_title":"La imagen ahora se decodifica por software","open_in_title":"¿Abrir en la app PS5Upload?","open_in_body":"¿Tienes la app PS5Upload en este dispositivo? Ábrelo ahí o sigue en el navegador.","open_in_app":"Abrir en la app","open_in_browser":"Seguir en el navegador","open_in_remember":"Recordar mi elección en este dispositivo","open_in_opening":"Abriendo la app PS5Upload…","open_in_not_opened":"¿No pasó nada? Puede que la app no esté en este dispositivo.","open_in_again":"Reintentar","pad_8bitdo_no_xinput":"Este 8BitDo no tiene modo X-input. Si un botón no va bien, comprueba el mando.","pad_8bitdo_how_switch":"pon el interruptor de atrás en X y pulsa Start","pad_8bitdo_how_startx":"apágalo y luego mantén Start + X para encenderlo","pad_8bitdo_how_receiver":"usa su receptor 2.4G o un cable USB","pad_8bitdo_how_manual":"su manual explica cómo","pad_8bitdo_xinput":"Para el mejor resultado, pon tu 8BitDo en modo X-input: {how}.","rp_touch_left_stick":"Joystick izquierdo","rp_touch_right_stick":"Joystick derecho","rp_touch_touchpad":"Panel táctil","rp_menu":"Menú","rp_pad_step_lx":"Mueve el stick izquierdo a la derecha","rp_pad_step_ly":"Mueve el stick izquierdo hacia abajo","rp_pad_step_rx":"Mueve el stick derecho a la derecha","rp_pad_step_ry":"Mueve el stick derecho hacia abajo","join_check_bottom":"Pulsa el botón de acción de abajo (✕)","join_check_right":"Pulsa el botón de acción de la derecha (○)","join_check_left":"Pulsa el botón de acción de la izquierda (□)","join_check_top":"Pulsa el botón de acción de arriba (△)","rp_pad_press":"Pulsa {name}","join_check_saved":"Guardado para este mando en este dispositivo. Pruébalo abajo.","join_check_title":"Comprueba tu mando","join_done":"Listo","rp_pads_none":"Aún no se ve ningún mando. Conecta uno y pulsa cualquier botón.","rp_pad_mapped":"Juega con tu asignación","join_check_unknown":"Este mando no está en nuestra lista, así que sus botones pueden estar cambiados. Configurarlo lleva unos segundos.","rp_pad_standard":"Reconocido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Omitir","rp_pad_back":"Atrás","rp_pad_cancel":"Cancelar","join_check_try":"Pulsa botones y mueve los sticks: lo que pulses se ilumina.","join_check_redo":"Rehacer","join_check_map":"Configurar los botones","rp_pad_reset":"Restablecer","join_open_lan_body":"¿Sin internet? Si estás en el mismo Wi-Fi que tu amigo, abre la partida desde ahí.","join_open_lan":"Abrir en este Wi-Fi","join_path_lan":"Red doméstica","join_seat_taken":"{host} necesitaba recuperar su mando y no había otro mando libre en la PS5, así que has salido de la partida. Pide a {host} que te deje entrar otra vez.","join_refused_key":"Esta invitación ha caducado. Pide a {host} un enlace nuevo.","join_refused_expired":"Perdiste tu sitio en la partida. Pide a {host} que te deje entrar de nuevo.","join_refused_full":"La partida está llena: ya hay cuatro jugadores.","join_refused_denied":"{host} no te dejó entrar esta vez.","join_refused_no_answer":"{host} no respondió a tiempo. Avisa a {host} e inténtalo de nuevo.","join_refused_closed":"{host} no está ofreciendo Jugar juntos ahora mismo.","join_refused_old_helper":"La PS5 de {host} necesita un ayudante actualizado para Jugar juntos.","join_refused_not_playing":"{host} no está jugando ahora. Pide a {host} que inicie Jugar primero.","join_refused_unreachable":"El ordenador de {host} no pudo conectar con su PS5. Inténtalo de nuevo en un momento.","join_refused_slow_down":"Demasiados códigos incorrectos. Espera un minuto y vuelve a intentarlo.","join_refused_address":"La dirección de este enlace está fuera de tu red doméstica, así que la aplicación no la usará. Pide a {host} un enlace con la dirección IP de su equipo.","join_refused_other":"{host} no te dejó entrar.","join_ended_kicked":"{host} te sacó de la partida.","join_ended_closed":"{host} cerró Jugar juntos.","join_ended_host_stopped":"El anfitrión dejó de jugar.","join_ended_replaced":"Esta partida se abrió en otra pestaña o en otro dispositivo, así que terminó aquí.","join_ended_pad_lost":"La PS5 perdió tu mando, así que estás fuera de la partida. Pide a {host} que te deje entrar de nuevo.","join_ended_gave_up":"La conexión con {host} no volvió a tiempo.","join_net_lost":"Se cortó la conexión con {host}. Revisa tu conexión a internet y vuelve a pedirlo.","join_ended_lost":"No se pudo contactar con {host}. Comprueba que estéis en la misma red.","join_ended_left":"Saliste de la partida.","join_net_mismatch":"Este enlace no coincide con el anfitrión; pídele uno nuevo.","join_net_no_direct":"No es posible una conexión directa desde esta red (los routers de ambos lados son estrictos). Prueba con Wi-Fi en lugar de datos móviles o pide al anfitrión que active UPnP.","join_net_no_room":"Esta invitación ya no está abierta. Pide a {host} un enlace nuevo.","join_net_full":"La partida de {host} no tiene sitio para otro amigo ahora mismo. Inténtalo de nuevo en un momento.","join_net_no_hub":"No se pudo contactar con el servicio de invitaciones de PS5Upload. Comprueba tu conexión a internet e inténtalo de nuevo.","join_net_offer":"El ordenador de {host} no pudo conectar con este navegador. Prueba con otro navegador.","join_net_no_webrtc":"Este navegador no puede hacer conexiones directas. Prueba una versión reciente de Chrome, Safari o Firefox.","join_cancel":"Cancelar","join_host_fallback":"tu amigo","join_connecting":"Conectando con {host}…","join_waiting":"Esperando a que {host} te deje entrar","join_waiting_body":"{host} ve tu nombre en su pantalla y toca Permitir.","join_retry":"Reintentar","join_again":"Pedir unirme otra vez","join_playing_at":"Jugando en casa de {host}","join_you_are":"Eres el Jugador {n}","join_seat_stream":"Juegas con el usuario de PS5 de {host}. No hace falta elegir uno.","join_plays_as":"Juegas como {profile}. No hace falta elegir uno.","join_seat_tv_asks":"{host} eligió un perfil para ti, pero no se pudo usar. La TV te preguntará quién eres.","join_picking":"Pulsa PS y luego elige Juego rápido en la tele","join_hide_controls":"Ocultar","join_sound":"Activar sonido","rp_unmute":"Activar sonido","rp_mute":"Silenciar","join_no_sound":"Sin sonido en este navegador","join_exit_fullscreen":"Salir de pantalla completa","pad_fill":"Pantalla completa","join_leave":"Salir","join_show_controls":"Mostrar controles","join_hold_hint":"Mantén pulsada la imagen para mostrar los botones","pad_watch_no_hevc":"Este dispositivo no puede reproducir la imagen de este stream: el ordenador emite en HEVC y este dispositivo solo reproduce H.264.","pad_watch_decode":"La imagen no se pudo reproducir aquí.","join_pad_ready":"Tu mando está listo","join_check_unknown_short":"No está en nuestra lista: los botones pueden estar cambiados.","join_full_to_play":"Toca pantalla completa para jugar con el mando en pantalla.","join_pad_none":"Conecta un mando (USB o Bluetooth) y pulsa cualquier botón.","join_pad_keys":"O usa el teclado: WASD para moverte, flechas cruceta, Enter ✕, Retroceso ○, Q □, E △, Tab Options.","join_tv_back_hint":"Pulsa Atrás en el mando a distancia para ver los botones.","join_block_note":"{host} desactivó PS y Create para los amigos.","join_guide_title":"Un paso más en la tele","join_guide_body":"Pulsa PS una vez en tu mando. La tele pregunta «¿Quién usa este mando?». Elige Juego rápido o tu propio usuario. El anfitrión no tiene que hacer nada.","join_guide_menus":"En la pantalla de inicio de la PS5 solo el anfitrión controla los menús; tu mando juega dentro de los juegos.","join_guide_ok":"Entendido","join_host_away":"El anfitrión dejó de jugar: esperando a que vuelva a empezar ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Tu sitio se guarda durante {time}.","pad_turn":"Gira el móvil en horizontal","join_game_label":"Partida de {host}","join_title":"Unirse a la partida de un amigo","join_title_body":"Juega en la PS5 de {host} como Jugador 2, 3 o 4.","join_name_label":"Tu nombre","join_name_hint":"Tu amigo lo verá cuando pidas unirte.","join_button":"Unirme"},"fa":{"usb_skipped_not_payload":"{name}: فایل .elf یا .bin نیست","usb_skipped_unknown":"{id}: دیگر در فهرست پیلودها نیست","browser_unsupported":"این کار به برنامه رومیزی نیاز دارد. در مرورگر کار نمی‌کند.","video_recovered_notice":"دفعهٔ پیش «بازی» هنگام شروع تصویر از کار افتاد، پس تصویر اکنون بدون کارت گرافیک رمزگشایی می‌شود (برای تغییر: تنظیمات › پنجره › گرافیک › رمزگشایی ویدیو با سخت‌افزار).","video_recovered_title":"تصویر اکنون با نرم‌افزار رمزگشایی می‌شود","open_in_title":"در برنامهٔ PS5Upload باز شود؟","open_in_body":"برنامهٔ PS5Upload روی این دستگاه هست؟ این را آنجا باز کنید، یا در مرورگر ادامه دهید.","open_in_app":"باز کردن در برنامه","open_in_browser":"ادامه در مرورگر","open_in_remember":"انتخابم را روی این دستگاه به خاطر بسپار","open_in_opening":"در حال باز کردن برنامهٔ PS5Upload…","open_in_not_opened":"اتفاقی نیفتاد؟ شاید برنامه روی این دستگاه نیست.","open_in_again":"دوباره امتحان کنید","pad_8bitdo_no_xinput":"این 8BitDo حالت X-input ندارد. اگر دکمه‌ای اشتباه است، کنترلر را بررسی کنید.","pad_8bitdo_how_switch":"کلید پشت را روی X بگذارید، سپس Start را بزنید","pad_8bitdo_how_startx":"آن را خاموش کنید، سپس Start + X را نگه دارید تا روشن شود","pad_8bitdo_how_receiver":"از گیرنده 2.4G آن یا کابل USB استفاده کنید","pad_8bitdo_how_manual":"دفترچه راهنمای آن روش را می‌گوید","pad_8bitdo_xinput":"برای بهترین نتیجه، 8BitDo خود را به حالت X-input ببرید: {how}.","rp_touch_left_stick":"استیک چپ","rp_touch_right_stick":"استیک راست","rp_touch_touchpad":"صفحه لمسی","rp_menu":"منو","rp_pad_step_lx":"استیک چپ را به راست فشار دهید","rp_pad_step_ly":"استیک چپ را به پایین فشار دهید","rp_pad_step_rx":"استیک راست را به راست فشار دهید","rp_pad_step_ry":"استیک راست را به پایین فشار دهید","join_check_bottom":"دکمهٔ پایینی را بزنید (✕)","join_check_right":"دکمهٔ سمت راست را بزنید (○)","join_check_left":"دکمهٔ سمت چپ را بزنید (□)","join_check_top":"دکمهٔ بالایی را بزنید (△)","rp_pad_press":"{name} را فشار دهید","join_check_saved":"برای این کنترلر روی این دستگاه ذخیره شد. پایین امتحانش کنید.","join_check_title":"کنترلر خود را بررسی کنید","join_done":"تمام","rp_pads_none":"هنوز دسته‌ای دیده نشده. یکی وصل کنید و یکی از دکمه‌هایش را فشار دهید.","rp_pad_mapped":"با نگاشت شما بازی می‌کند","join_check_unknown":"این کنترلر در فهرست ما نیست، پس ممکن است دکمه‌هایش جابه‌جا باشند. تنظیم آن چند ثانیه طول می‌کشد.","rp_pad_standard":"شناخته شد","rp_pad_progress":"{n} از {total}","rp_pad_skip":"رد کردن","rp_pad_back":"بازگشت","rp_pad_cancel":"لغو","join_check_try":"دکمه‌ها را بزنید و استیک‌ها را حرکت دهید: هر چه بزنید روشن می‌شود.","join_check_redo":"انجام دوباره","join_check_map":"تنظیم دکمه‌ها","rp_pad_reset":"بازنشانی","join_open_lan_body":"به اینترنت دسترسی ندارید؟ اگر با دوستتان روی یک Wi-Fi هستید، بازی را آنجا باز کنید.","join_open_lan":"باز کردن روی همین Wi-Fi","join_path_lan":"شبکهٔ خانگی","join_path_internet":"اینترنت","join_seat_taken":"{host} دستهٔ خودش را لازم داشت و دستهٔ آزاد دیگری روی PS5 نبود، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_refused_key":"این دعوت منقضی شده است. از {host} پیوند جدید بخواهید.","join_refused_expired":"جای شما در بازی از دست رفت. از {host} بخواهید دوباره راهتان بدهد.","join_refused_full":"بازی پر است: چهار بازیکن از قبل هستند.","join_refused_denied":"{host} این بار اجازهٔ ورود نداد.","join_refused_no_answer":"{host} به‌موقع پاسخ نداد. به {host} خبر دهید و دوباره امتحان کنید.","join_refused_closed":"{host} الان «بازی با هم» را میزبانی نمی‌کند.","join_refused_old_helper":"PS5 {host} برای «بازی با هم» به دستیار به‌روز نیاز دارد.","join_refused_not_playing":"{host} الان بازی نمی‌کند. از {host} بخواهید اول بازی را شروع کند.","join_refused_unreachable":"رایانهٔ {host} به PS5 دسترسی پیدا نکرد. کمی بعد دوباره امتحان کنید.","join_refused_slow_down":"تعداد کدهای اشتباه زیاد است. یک دقیقه صبر کنید و دوباره امتحان کنید.","join_refused_address":"نشانی این پیوند بیرون از شبکه خانگی شماست، پس برنامه از آن استفاده نمی‌کند. از {host} پیوندی با نشانی IP رایانه‌اش بخواهید.","join_refused_other":"{host} اجازهٔ ورود نداد.","join_ended_kicked":"{host} شما را از بازی بیرون کرد.","join_ended_closed":"{host} «بازی با هم» را بست.","join_ended_host_stopped":"میزبان بازی را متوقف کرد.","join_ended_replaced":"این بازی در زبانه یا دستگاه دیگری باز شد، پس اینجا متوقف شد.","join_ended_pad_lost":"PS5 دستهٔ شما را از دست داد، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_ended_gave_up":"اتصال به {host} به‌موقع برنگشت.","join_net_lost":"اتصال به {host} قطع شد. اتصال اینترنت خود را بررسی کنید و دوباره درخواست دهید.","join_ended_lost":"دسترسی به {host} ممکن نشد. بررسی کنید روی یک شبکه باشید.","join_ended_left":"از بازی خارج شدید.","join_net_mismatch":"این پیوند با میزبان جور نیست؛ از او پیوند تازه‌ای بخواهید.","join_net_no_direct":"اتصال مستقیم از این شبکه ممکن نیست (روترهای هر دو طرف سخت‌گیرند). به‌جای داده همراه Wi-Fi را امتحان کنید یا از میزبان بخواهید UPnP را روشن کند.","join_net_no_room":"این دعوت دیگر باز نیست. از {host} پیوند تازه‌ای بخواهید.","join_net_full":"بازی {host} اکنون جای دوست دیگری ندارد. کمی بعد دوباره امتحان کنید.","join_net_no_hub":"دسترسی به سرویس دعوت PS5Upload ممکن نشد. اتصال اینترنت را بررسی کنید و دوباره امتحان کنید.","join_net_offer":"رایانه {host} نتوانست به این مرورگر وصل شود. مرورگر دیگری را امتحان کنید.","join_net_no_webrtc":"این مرورگر نمی‌تواند اتصال مستقیم برقرار کند. نسخه تازه Chrome، Safari یا Firefox را امتحان کنید.","join_cancel":"لغو","join_host_fallback":"دوستتان","join_connecting":"در حال اتصال به {host}…","join_waiting":"منتظر اجازهٔ ورود از {host}","join_waiting_body":"{host} نام شما را روی صفحه‌اش می‌بیند و «اجازه» را می‌زند.","join_retry":"دوباره امتحان کنید","join_again":"دوباره درخواست پیوستن","join_playing_at":"در حال بازی پیش {host}","join_you_are":"شما بازیکن {n} هستید","join_seat_stream":"شما با کاربر PS5 {host} بازی می‌کنید. لازم نیست کاربری انتخاب کنید.","join_plays_as":"شما با {profile} بازی می‌کنید. نیازی به انتخاب نیست.","join_seat_tv_asks":"{host} پروفایلی برای شما انتخاب کرد، اما نشد از آن استفاده کرد. تلویزیون می‌پرسد شما کیستید.","join_picking":"PS را بزنید، سپس روی تلویزیون «بازی سریع» را انتخاب کنید","join_hide_controls":"پنهان کردن","join_sound":"برای صدا ضربه بزنید","rp_unmute":"صدا روشن","rp_mute":"بی‌صدا","join_no_sound":"در این مرورگر صدا پخش نمی‌شود","join_exit_fullscreen":"خروج از تمام‌صفحه","pad_fill":"تمام‌صفحه","join_leave":"خروج","join_show_controls":"نمایش کنترل‌ها","join_hold_hint":"برای نمایش دکمه‌ها، تصویر را لمس کرده و نگه دارید","pad_watch_no_hevc":"این دستگاه نمی‌تواند تصویر این استریم را پخش کند: کامپیوتر HEVC می‌فرستد و این دستگاه فقط H.264 پخش می‌کند.","pad_watch_decode":"تصویر اینجا پخش نشد.","join_pad_ready":"دستهٔ شما آماده است","join_check_unknown_short":"در فهرست ما نیست: ممکن است دکمه‌ها جابه‌جا باشند.","join_full_to_play":"برای بازی با دسته روی صفحه، تمام‌صفحه را بزنید.","join_pad_none":"یک دسته وصل کنید (USB یا Bluetooth) و هر دکمه‌ای را بزنید.","join_pad_keys":"یا از صفحه‌کلید استفاده کنید: WASD حرکت، کلیدهای جهت D-pad، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"برای دیدن دکمه‌ها، روی کنترل از راه دور دکمهٔ بازگشت را بزنید.","join_block_note":"{host} دکمه‌های PS و Create را برای دوستان خاموش کرده است.","join_guide_title":"یک قدم دیگر روی تلویزیون","join_guide_body":"یک بار PS را روی دسته‌تان بزنید. تلویزیون می‌پرسد «چه کسی از این دسته استفاده می‌کند؟». «بازی سریع» یا کاربر خودتان را انتخاب کنید. میزبان لازم نیست کاری بکند.","join_guide_menus":"در صفحه اصلی PS5 فقط میزبان منوها را کنترل می‌کند؛ دسته شما داخل بازی‌ها بازی می‌کند.","join_guide_ok":"متوجه شدم","join_host_away":"میزبان بازی را متوقف کرد — در انتظار شروع دوباره ({time})","join_reconnecting":"در حال اتصال دوباره…","join_reconnecting_left":"جای شما تا {time} نگه داشته می‌شود.","pad_turn":"گوشی را افقی کنید","join_game_label":"بازی {host}","join_title":"پیوستن به بازی یک دوست","join_title_body":"روی PS5 {host} به‌عنوان بازیکن ۲، ۳ یا ۴ بازی کنید.","join_name_label":"نام شما","join_name_hint":"وقتی درخواست پیوستن بدهید، دوستتان این را می‌بیند.","join_button":"پیوستن"},"fr":{"usb_skipped_not_payload":"{name} : pas un fichier .elf ou .bin","usb_skipped_unknown":"{id} : n'est plus dans la liste des payloads","browser_unsupported":"Il faut l'application de bureau. Cela ne fonctionne pas dans le navigateur.","video_recovered_notice":"Play a planté au démarrage de l'image la dernière fois : l'image est donc maintenant décodée sans la carte graphique (modifiable dans Paramètres › Fenêtre › Graphismes › Décodage vidéo matériel).","video_recovered_title":"Image désormais décodée par logiciel","open_in_title":"Ouvrir dans l’app PS5Upload ?","open_in_body":"Vous avez l’app PS5Upload sur cet appareil ? Ouvrez ceci dedans, ou continuez dans le navigateur.","open_in_app":"Ouvrir dans l’app","open_in_browser":"Continuer dans le navigateur","open_in_remember":"Retenir mon choix sur cet appareil","open_in_opening":"Ouverture de l’app PS5Upload…","open_in_not_opened":"Rien ne s’est passé ? L’app n’est peut-être pas sur cet appareil.","open_in_again":"Réessayer","pad_8bitdo_no_xinput":"Cette manette 8BitDo n'a pas de mode X-input. Si un bouton ne correspond pas, vérifiez la manette.","pad_8bitdo_how_switch":"mettez l'interrupteur à l'arrière sur X, puis appuyez sur Start","pad_8bitdo_how_startx":"éteignez-la, puis maintenez Start + X pour l'allumer","pad_8bitdo_how_receiver":"utilisez son récepteur 2.4G ou un câble USB","pad_8bitdo_how_manual":"son manuel explique comment","pad_8bitdo_xinput":"Pour un meilleur résultat, passez votre 8BitDo en mode X-input : {how}.","rp_touch_left_stick":"Joystick gauche","rp_touch_right_stick":"Joystick droit","rp_touch_touchpad":"Pavé tactile","rp_pad_step_lx":"Poussez le stick gauche vers la droite","rp_pad_step_ly":"Poussez le stick gauche vers le bas","rp_pad_step_rx":"Poussez le stick droit vers la droite","rp_pad_step_ry":"Poussez le stick droit vers le bas","join_check_bottom":"Appuyez sur le bouton du bas (✕)","join_check_right":"Appuyez sur le bouton de droite (○)","join_check_left":"Appuyez sur le bouton de gauche (□)","join_check_top":"Appuyez sur le bouton du haut (△)","rp_pad_press":"Appuyez sur {name}","join_check_saved":"Enregistré pour cette manette sur cet appareil. Essayez-la ci-dessous.","join_check_title":"Vérifier la manette","join_done":"Terminé","rp_pads_none":"Aucune manette détectée. Connectez-en une et appuyez sur n'importe quel bouton.","rp_pad_mapped":"Joue avec votre configuration","join_check_unknown":"Cette manette n'est pas dans notre liste, ses boutons peuvent donc être inversés. La configurer ne prend que quelques secondes.","rp_pad_standard":"Reconnue","rp_pad_progress":"{n} sur {total}","rp_pad_skip":"Passer","rp_pad_back":"Retour","rp_pad_cancel":"Annuler","join_check_try":"Appuyez sur des boutons et bougez les sticks : ce que vous pressez s'allume.","join_check_redo":"Refaire","join_check_map":"Configurer les boutons","rp_pad_reset":"Réinitialiser","join_open_lan_body":"Pas d'accès à Internet ? Si vous êtes sur le même Wi-Fi que votre ami, ouvrez la partie par là.","join_open_lan":"Ouvrir sur ce Wi-Fi","join_path_lan":"Réseau domestique","join_seat_taken":"{host} avait besoin de récupérer sa manette et aucune autre manette n'était libre sur la PS5 : vous avez quitté la partie. Demandez à {host} de vous laisser revenir.","join_refused_key":"Cette invitation a expiré. Demandez un nouveau lien à {host}.","join_refused_expired":"Votre place dans la partie est perdue. Demandez à {host} de vous laisser revenir.","join_refused_full":"La partie est pleine : il y a déjà quatre joueurs.","join_refused_denied":"{host} ne vous a pas laissé entrer cette fois.","join_refused_no_answer":"{host} n'a pas répondu à temps. Prévenez {host}, puis réessayez.","join_refused_closed":"{host} n'organise pas de Jouer ensemble pour le moment.","join_refused_old_helper":"La PS5 de {host} a besoin d'un assistant à jour pour Jouer ensemble.","join_refused_not_playing":"{host} ne joue pas en ce moment. Demandez d'abord à {host} de lancer Jouer.","join_refused_unreachable":"L'ordinateur de {host} n'a pas pu joindre sa PS5. Réessayez dans un instant.","join_refused_slow_down":"Trop de codes erronés. Attendez une minute, puis réessayez.","join_refused_address":"L'adresse de ce lien est hors de ton réseau domestique, l'application ne l'utilisera donc pas. Demande à {host} un lien avec l'adresse IP de son ordinateur.","join_refused_other":"{host} ne vous a pas laissé entrer.","join_ended_kicked":"{host} vous a retiré de la partie.","join_ended_closed":"{host} a fermé Jouer ensemble.","join_ended_host_stopped":"L'hôte a arrêté de jouer.","join_ended_replaced":"Cette partie a été ouverte dans un autre onglet ou sur un autre appareil, elle s'est donc arrêtée ici.","join_ended_pad_lost":"La PS5 a perdu votre manette, vous êtes donc sorti de la partie. Demandez à {host} de vous laisser revenir.","join_ended_gave_up":"La connexion à {host} n'est pas revenue à temps.","join_net_lost":"La connexion à {host} a été coupée. Vérifiez votre connexion Internet, puis redemandez.","join_ended_lost":"Impossible de joindre {host}. Vérifiez que vous êtes sur le même réseau.","join_ended_left":"Vous avez quitté la partie.","join_net_mismatch":"Ce lien ne correspond pas à l'hôte ; demandez-lui-en un nouveau.","join_net_no_direct":"Une connexion directe est impossible depuis ce réseau (les routeurs des deux côtés sont stricts). Essayez le Wi-Fi plutôt que les données mobiles, ou demandez à l'hôte d'activer l'UPnP.","join_net_no_room":"Cette invitation n'est plus ouverte. Demandez un nouveau lien à {host}.","join_net_full":"La partie de {host} n'a pas de place pour un autre ami pour le moment. Réessayez dans un instant.","join_net_no_hub":"Impossible de joindre le service d'invitations de PS5Upload. Vérifiez votre connexion internet, puis réessayez.","join_net_offer":"L'ordinateur de {host} n'a pas pu se connecter à ce navigateur. Essayez un autre navigateur.","join_net_no_webrtc":"Ce navigateur ne peut pas établir de connexions directes. Essayez une version récente de Chrome, Safari ou Firefox.","join_cancel":"Annuler","join_host_fallback":"votre ami","join_connecting":"Connexion à {host}…","join_waiting":"En attente que {host} vous laisse entrer","join_waiting_body":"{host} voit votre nom à l'écran et appuie sur Autoriser.","join_retry":"Réessayer","join_again":"Redemander à rejoindre","join_playing_at":"En jeu chez {host}","join_you_are":"Vous êtes le joueur {n}","join_seat_stream":"Vous jouez avec l'utilisateur PS5 de {host}. Inutile d'en choisir un.","join_plays_as":"Vous jouez en tant que {profile}. Inutile d'en choisir un.","join_seat_tv_asks":"{host} a choisi un profil pour vous, mais il n'a pas pu être utilisé. La TV va vous demander qui vous êtes.","join_picking":"Appuyez sur PS, puis choisissez Jeu rapide sur la télé","join_hide_controls":"Masquer","join_sound":"Touchez pour le son","rp_unmute":"Son activé","rp_mute":"Couper le son","join_no_sound":"Pas de son dans ce navigateur","join_exit_fullscreen":"Quitter le plein écran","pad_fill":"Plein écran","join_leave":"Quitter","join_show_controls":"Afficher les commandes","join_hold_hint":"Maintenez l'image appuyée pour afficher les boutons","pad_watch_no_hevc":"Cet appareil ne peut pas lire l'image de ce stream : l'ordinateur diffuse en HEVC et cet appareil ne lit que le H.264.","pad_watch_decode":"L'image n'a pas pu être lue ici.","join_pad_ready":"Votre manette est prête","join_check_unknown_short":"Pas dans notre liste : les boutons peuvent être inversés.","join_full_to_play":"Touchez plein écran pour jouer avec la manette à l'écran.","join_pad_none":"Branchez une manette (USB ou Bluetooth) et appuyez sur un bouton.","join_pad_keys":"Ou utilisez le clavier : ZQSD/WASD pour bouger, flèches croix directionnelle, Entrée ✕, Retour arrière ○, Q □, E △, Tab Options.","join_tv_back_hint":"Appuyez sur Retour sur la télécommande pour afficher les boutons.","join_block_note":"{host} a désactivé PS et Create pour les amis.","join_guide_title":"Encore une étape sur la télé","join_guide_body":"Appuyez une fois sur PS sur votre manette. La télé demande « Qui utilise cette manette ? ». Choisissez Jeu rapide ou votre propre utilisateur. L'hôte n'a rien à faire.","join_guide_menus":"Sur l'écran d'accueil de la PS5, seul l'hôte contrôle les menus ; votre manette joue dans les jeux.","join_guide_ok":"Compris","join_host_away":"L'hôte a arrêté de jouer — en attente de sa reprise ({time})","join_reconnecting":"Reconnexion…","join_reconnecting_left":"Votre place est gardée pendant {time}.","pad_turn":"Tournez le téléphone à l'horizontale","join_game_label":"Partie de {host}","join_title":"Rejoindre la partie d'un ami","join_title_body":"Jouez sur la PS5 de {host} en tant que joueur 2, 3 ou 4.","join_name_label":"Votre nom","join_name_hint":"Votre ami le verra quand vous demanderez à rejoindre.","join_button":"Rejoindre"},"hi":{"usb_skipped_not_payload":"{name}: .elf या .bin फ़ाइल नहीं है","usb_skipped_unknown":"{id}: अब पेलोड सूची में नहीं है","browser_unsupported":"इसके लिए डेस्कटॉप ऐप चाहिए। यह ब्राउज़र में काम नहीं करता।","video_recovered_notice":"पिछली बार तस्वीर शुरू करते समय खेलें क्रैश हो गया था, इसलिए तस्वीर अब ग्राफ़िक्स कार्ड के बिना डिकोड होती है (बदलने के लिए सेटिंग्स › विंडो › ग्राफ़िक्स › हार्डवेयर वीडियो डिकोडिंग)।","video_recovered_title":"तस्वीर अब सॉफ़्टवेयर से डिकोड होती है","open_in_title":"PS5Upload ऐप में खोलें?","open_in_body":"क्या इस डिवाइस पर PS5Upload ऐप है? इसे वहाँ खोलें, या ब्राउज़र में ही जारी रखें।","open_in_app":"ऐप में खोलें","open_in_browser":"ब्राउज़र में जारी रखें","open_in_remember":"इस डिवाइस पर मेरी पसंद याद रखें","open_in_opening":"PS5Upload ऐप खुल रहा है…","open_in_not_opened":"कुछ नहीं हुआ? शायद इस डिवाइस पर ऐप नहीं है।","open_in_again":"फिर कोशिश करें","pad_8bitdo_no_xinput":"इस 8BitDo में X-input मोड नहीं है। अगर कोई बटन गलत है, तो कंट्रोलर जाँचें।","pad_8bitdo_how_switch":"पीछे का स्विच X पर करें, फिर Start दबाएँ","pad_8bitdo_how_startx":"इसे बंद करें, फिर Start + X दबाकर रखें ताकि यह चालू हो","pad_8bitdo_how_receiver":"इसका 2.4G रिसीवर या USB केबल इस्तेमाल करें","pad_8bitdo_how_manual":"इसकी मैनुअल में तरीका दिया है","pad_8bitdo_xinput":"सबसे अच्छे नतीजे के लिए अपने 8BitDo को X-input मोड में करें: {how}।","rp_touch_left_stick":"बायाँ स्टिक","rp_touch_right_stick":"दायाँ स्टिक","rp_touch_touchpad":"टचपैड","rp_menu":"मेनू","rp_pad_step_lx":"बायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ly":"बायाँ स्टिक नीचे धकेलें","rp_pad_step_rx":"दायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ry":"दायाँ स्टिक नीचे धकेलें","join_check_bottom":"नीचे वाला फ़ेस बटन दबाएँ (✕)","join_check_right":"दाईं ओर वाला फ़ेस बटन दबाएँ (○)","join_check_left":"बाईं ओर वाला फ़ेस बटन दबाएँ (□)","join_check_top":"ऊपर वाला फ़ेस बटन दबाएँ (△)","rp_pad_press":"{name} दबाएँ","join_check_saved":"इस डिवाइस पर इस कंट्रोलर के लिए सेव हो गया। नीचे आज़माएँ।","join_check_title":"अपना कंट्रोलर जाँचें","join_done":"हो गया","rp_pads_none":"अभी तक कोई कंट्रोलर नहीं दिखा। एक कनेक्ट करें और उस पर कोई भी बटन दबाएँ।","rp_pad_mapped":"आपकी मैपिंग से खेलता है","join_check_unknown":"यह कंट्रोलर हमारी सूची में नहीं है, इसलिए इसके बटन आपस में बदले हो सकते हैं। सेट अप करने में कुछ सेकंड लगते हैं।","rp_pad_standard":"पहचाना गया","rp_pad_progress":"{total} में से {n}","rp_pad_skip":"छोड़ें","rp_pad_back":"वापस","rp_pad_cancel":"रद्द करें","join_check_try":"बटन दबाएँ और स्टिक हिलाएँ: जो दबाएँगे वह जल उठेगा।","join_check_redo":"फिर से करें","join_check_map":"बटन सेट करें","rp_pad_reset":"रीसेट करें","join_open_lan_body":"इंटरनेट नहीं मिल रहा? अगर आप दोस्त वाले Wi-Fi पर ही हैं, तो गेम वहीं खोलें।","join_open_lan":"इसी Wi-Fi पर खोलें","join_path_lan":"होम नेटवर्क","join_path_internet":"इंटरनेट","join_seat_taken":"{host} को अपना कंट्रोलर वापस चाहिए था और PS5 पर कोई दूसरा कंट्रोलर खाली नहीं था, इसलिए आप गेम से बाहर हो गए। {host} से फिर से अंदर आने देने को कहें।","join_refused_key":"इस न्योते की समय-सीमा खत्म हो गई है। {host} से नया लिंक माँगें।","join_refused_expired":"गेम में आपकी जगह चली गई। {host} से फिर अंदर लेने को कहें।","join_refused_full":"गेम भर गया है: पहले से चार प्लेयर हैं।","join_refused_denied":"{host} ने इस बार आपको अंदर नहीं आने दिया।","join_refused_no_answer":"{host} ने समय पर जवाब नहीं दिया। {host} को बताएँ, फिर कोशिश करें।","join_refused_closed":"{host} अभी 'साथ खेलें' नहीं चला रहे हैं।","join_refused_old_helper":"'साथ खेलें' के लिए {host} के PS5 को अपडेटेड हेल्पर चाहिए।","join_refused_not_playing":"{host} अभी नहीं खेल रहे हैं। {host} से पहले खेलें शुरू करने को कहें।","join_refused_unreachable":"{host} का कंप्यूटर उनके PS5 तक नहीं पहुँच सका। थोड़ी देर में फिर कोशिश करें।","join_refused_slow_down":"बहुत सारे गलत कोड। एक मिनट रुकें, फिर कोशिश करें।","join_refused_address":"इस लिंक का पता आपके होम नेटवर्क से बाहर है, इसलिए ऐप इसका उपयोग नहीं करेगा। {host} से उनके कंप्यूटर के IP पते वाला लिंक माँगें।","join_refused_other":"{host} ने आपको अंदर नहीं आने दिया।","join_ended_kicked":"{host} ने आपको गेम से हटा दिया।","join_ended_closed":"{host} ने 'साथ खेलें' बंद कर दिया।","join_ended_host_stopped":"होस्ट ने खेलना बंद कर दिया।","join_ended_replaced":"यह गेम किसी दूसरे टैब या डिवाइस पर खुल गया, इसलिए यहाँ रुक गया।","join_ended_pad_lost":"PS5 ने आपका कंट्रोलर खो दिया, इसलिए आप गेम से बाहर हैं। {host} से फिर अंदर लेने को कहें।","join_ended_gave_up":"{host} से कनेक्शन समय पर वापस नहीं आया।","join_net_lost":"{host} से कनेक्शन टूट गया। अपना इंटरनेट कनेक्शन जाँचें, फिर दोबारा पूछें।","join_ended_lost":"{host} तक नहीं पहुँच सके। देखें कि आप एक ही नेटवर्क पर हैं।","join_ended_left":"आपने गेम छोड़ दिया।","join_net_mismatch":"यह लिंक होस्ट से मेल नहीं खाता; उनसे नया लिंक माँगें।","join_net_no_direct":"इस नेटवर्क से सीधा कनेक्शन संभव नहीं है (दोनों तरफ़ के राउटर सख़्त हैं)। मोबाइल डेटा की जगह Wi-Fi आज़माएँ, या होस्ट से UPnP चालू करने को कहें।","join_net_no_room":"यह न्योता अब खुला नहीं है। {host} से नया लिंक माँगें।","join_net_full":"{host} के गेम में अभी एक और दोस्त की जगह नहीं है। थोड़ी देर में फिर कोशिश करें।","join_net_no_hub":"PS5Upload न्योता सेवा तक नहीं पहुँच सके। अपना इंटरनेट कनेक्शन जाँचें, फिर कोशिश करें।","join_net_offer":"{host} का कंप्यूटर इस ब्राउज़र से कनेक्ट नहीं हो सका। कोई दूसरा ब्राउज़र आज़माएँ।","join_net_no_webrtc":"यह ब्राउज़र सीधे कनेक्शन नहीं बना सकता। Chrome, Safari या Firefox का नया संस्करण आज़माएँ।","join_cancel":"रद्द करें","join_host_fallback":"आपका दोस्त","join_connecting":"{host} से जुड़ रहे हैं…","join_waiting":"{host} के अंदर आने देने का इंतज़ार","join_waiting_body":"{host} अपनी स्क्रीन पर आपका नाम देखकर 'अनुमति दें' पर टैप करेंगे।","join_retry":"फिर कोशिश करें","join_again":"फिर से जुड़ने के लिए पूछें","join_playing_at":"{host} के यहाँ खेल रहे हैं","join_you_are":"आप प्लेयर {n} हैं","join_seat_stream":"आप {host} के PS5 यूज़र के रूप में खेल रहे हैं। यूज़र चुनने की ज़रूरत नहीं।","join_plays_as":"आप {profile} के रूप में खेल रहे हैं। कुछ चुनने की ज़रूरत नहीं।","join_seat_tv_asks":"{host} ने आपके लिए एक प्रोफ़ाइल चुनी थी, पर वह इस्तेमाल नहीं हो सकी। टीवी पूछेगा कि आप कौन हैं।","join_picking":"PS दबाएँ, फिर TV पर क्विक प्ले चुनें","join_hide_controls":"छिपाएँ","join_sound":"आवाज़ के लिए टैप करें","rp_unmute":"ध्वनि चालू","rp_mute":"म्यूट","join_no_sound":"इस ब्राउज़र में आवाज़ नहीं है","join_exit_fullscreen":"फ़ुल स्क्रीन से बाहर निकलें","pad_fill":"फ़ुल स्क्रीन","join_leave":"छोड़ें","join_show_controls":"कंट्रोल दिखाएं","join_hold_hint":"बटन दिखाने के लिए तस्वीर को दबाकर रखें","pad_watch_no_hevc":"यह डिवाइस इस स्ट्रीम की तस्वीर नहीं चला सकता: कंप्यूटर HEVC में स्ट्रीम करता है और यह डिवाइस सिर्फ़ H.264 चलाता है।","pad_watch_decode":"तस्वीर यहाँ नहीं चल सकी।","join_pad_ready":"आपका कंट्रोलर तैयार है","join_check_unknown_short":"हमारी सूची में नहीं: बटन बदले हुए हो सकते हैं।","join_full_to_play":"ऑन-स्क्रीन कंट्रोलर से खेलने के लिए फ़ुल स्क्रीन पर टैप करें।","join_pad_none":"कंट्रोलर जोड़ें (USB या Bluetooth) और कोई भी बटन दबाएँ।","join_pad_keys":"या कीबोर्ड इस्तेमाल करें: WASD चलना, ऐरो D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"बटन देखने के लिए रिमोट पर Back दबाएँ।","join_block_note":"{host} ने दोस्तों के लिए PS और Create बंद कर दिए हैं।","join_guide_title":"TV पर एक और कदम","join_guide_body":"अपने कंट्रोलर पर एक बार PS दबाएँ। TV पूछेगा \"यह कंट्रोलर कौन इस्तेमाल कर रहा है?\"। क्विक प्ले या अपना यूज़र चुनें। होस्ट को कुछ नहीं करना है।","join_guide_menus":"PS5 की होम स्क्रीन पर सिर्फ़ होस्ट मेन्यू चलाता है; आपका कंट्रोलर गेम के अंदर खेलता है।","join_guide_ok":"ठीक है","join_host_away":"होस्ट ने खेलना बंद कर दिया — उनके फिर से शुरू करने का इंतज़ार ({time})","join_reconnecting":"फिर से जुड़ रहे हैं…","join_reconnecting_left":"आपकी जगह {time} तक रखी जाएगी।","pad_turn":"फ़ोन को आड़ा घुमाएँ","join_game_label":"{host} का गेम","join_title":"दोस्त के गेम में जुड़ें","join_title_body":"{host} के PS5 पर प्लेयर 2, 3 या 4 बनकर खेलें।","join_name_label":"आपका नाम","join_name_hint":"जुड़ने के लिए पूछने पर आपका दोस्त यह देखेगा।","join_button":"जुड़ें"},"hu":{"usb_skipped_not_payload":"{name}: nem .elf vagy .bin fájl","usb_skipped_unknown":"{id}: már nincs a payloadok listáján","browser_unsupported":"Ehhez az asztali alkalmazás kell. Böngészőben nem működik.","video_recovered_notice":"Legutóbb a Play összeomlott a kép indításakor, ezért a kép mostantól videokártya nélkül dekódolódik (módosítás: Beállítások › Ablak › Grafika › Hardveres videódekódolás).","video_recovered_title":"A kép mostantól szoftveresen dekódolódik","open_in_title":"Megnyitod a PS5Upload appban?","open_in_body":"Megvan a PS5Upload app ezen az eszközön? Nyisd meg ott, vagy folytasd a böngészőben.","open_in_app":"Megnyitás az appban","open_in_browser":"Folytatás a böngészőben","open_in_remember":"Választásom megjegyzése ezen az eszközön","open_in_opening":"A PS5Upload app megnyitása…","open_in_not_opened":"Nem történt semmi? Lehet, hogy az app nincs ezen az eszközön.","open_in_again":"Újra","pad_8bitdo_no_xinput":"Ennek a 8BitDo-nak nincs X-input módja. Ha egy gomb rossz, ellenőrizd a kontrollert.","pad_8bitdo_how_switch":"állítsd a hátsó kapcsolót X-re, majd nyomd meg a Start gombot","pad_8bitdo_how_startx":"kapcsold ki, majd a Start + X nyomva tartásával kapcsold be","pad_8bitdo_how_receiver":"használd a 2.4G vevőjét vagy egy USB-kábelt","pad_8bitdo_how_manual":"a kézikönyve leírja, hogyan","pad_8bitdo_xinput":"A legjobb eredményért kapcsold a 8BitDo-t X-input módba: {how}.","rp_touch_left_stick":"Bal kar","rp_touch_right_stick":"Jobb kar","rp_touch_touchpad":"Érintőpad","rp_menu":"Menü","rp_pad_step_lx":"Told a bal kart jobbra","rp_pad_step_ly":"Told a bal kart lefelé","rp_pad_step_rx":"Told a jobb kart jobbra","rp_pad_step_ry":"Told a jobb kart lefelé","join_check_bottom":"Nyomd meg az alsó előlapi gombot (✕)","join_check_right":"Nyomd meg a jobb oldali előlapi gombot (○)","join_check_left":"Nyomd meg a bal oldali előlapi gombot (□)","join_check_top":"Nyomd meg a felső előlapi gombot (△)","rp_pad_press":"Nyomd meg: {name}","join_check_saved":"Elmentve ehhez a kontrollerhez ezen az eszközön. Próbáld ki lent.","join_check_title":"Kontroller ellenőrzése","join_done":"Kész","rp_pads_none":"Még nem látható kontroller. Csatlakoztass egyet, és nyomd meg bármelyik gombját.","rp_pad_mapped":"A saját kiosztásoddal játszik","join_check_unknown":"Ez a kontroller nincs a listánkon, így a gombjai összekeveredhetnek. A beállítás csak pár másodperc.","rp_pad_standard":"Felismerve","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Kihagyás","rp_pad_back":"Vissza","rp_pad_cancel":"Mégse","join_check_try":"Nyomj gombokat és mozgasd a karokat: amit megnyomsz, az felvillan.","join_check_redo":"Újra","join_check_map":"Gombok beállítása","rp_pad_reset":"Visszaállítás","join_open_lan_body":"Nem éred el az internetet? Ha ugyanazon a Wi-Fin vagy, mint a barátod, ott nyisd meg a játékot.","join_open_lan":"Megnyitás ezen a Wi-Fin","join_path_lan":"Otthoni hálózat","join_seat_taken":"{host} visszakérte a kontrollerét, és a PS5-ön nem volt más szabad kontroller, ezért kikerültél a játékból. Kérd meg {host} játékost, hogy engedjen be újra.","join_refused_key":"Ez a meghívó lejárt. Kérj új linket tőle: {host}.","join_refused_expired":"Elveszett a helyed a játékban. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_refused_full":"A játék megtelt: már négy játékos van bent.","join_refused_denied":"{host} most nem engedett be.","join_refused_no_answer":"{host} nem válaszolt időben. Szólj neki ({host}), majd próbáld újra.","join_refused_closed":"{host} most nem indított Közös játékot.","join_refused_old_helper":"{host} PS5-jének frissített segédprogram kell a Közös játékhoz.","join_refused_not_playing":"{host} most nem játszik. Kérd meg, hogy előbb indítsa el a Játékot ({host}).","join_refused_unreachable":"{host} számítógépe nem érte el a PS5-öt. Próbáld újra egy kicsit később.","join_refused_slow_down":"Túl sok hibás kód. Várj egy percet, aztán próbáld újra.","join_refused_address":"A hivatkozás címe kívül esik az otthoni hálózatodon, ezért az alkalmazás nem használja. Kérj {host} felhasználótól olyan hivatkozást, amely a számítógépe IP-címét tartalmazza.","join_refused_other":"{host} nem engedett be.","join_ended_kicked":"{host} kivett a játékból.","join_ended_closed":"{host} bezárta a Közös játékot.","join_ended_host_stopped":"A házigazda abbahagyta a játékot.","join_ended_replaced":"Ezt a játékot egy másik lapon vagy eszközön nyitották meg, ezért itt leállt.","join_ended_pad_lost":"A PS5 elvesztette a kontrollered, ezért kikerültél a játékból. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_ended_gave_up":"A kapcsolat {host} felé nem állt helyre időben.","join_net_lost":"Megszakadt a kapcsolat ezzel: {host}. Ellenőrizd az internetkapcsolatod, aztán kérd újra.","join_ended_lost":"{host} nem érhető el. Ellenőrizd, hogy ugyanazon a hálózaton vagytok-e.","join_ended_left":"Kiléptél a játékból.","join_net_mismatch":"Ez a link nem egyezik a házigazdával; kérj tőle újat.","join_net_no_direct":"Erről a hálózatról nem lehet közvetlen kapcsolatot létrehozni (mindkét oldal routere szigorú). Próbáld Wi-Fi-vel mobilnet helyett, vagy kérd meg a házigazdát, hogy kapcsolja be az UPnP-t.","join_net_no_room":"Ez a meghívó már nem érvényes. Kérj új linket {host} felhasználótól.","join_net_full":"{host} játékában most nincs hely egy újabb barátnak. Próbáld újra egy kicsit később.","join_net_no_hub":"A PS5Upload meghívószolgáltatása nem érhető el. Ellenőrizd az internetkapcsolatot, majd próbáld újra.","join_net_offer":"{host} számítógépe nem tudott kapcsolódni ehhez a böngészőhöz. Próbálj ki egy másik böngészőt.","join_net_no_webrtc":"Ez a böngésző nem tud közvetlen kapcsolatot létrehozni. Próbáld egy friss Chrome-mal, Safarival vagy Firefoxszal.","join_cancel":"Mégse","join_host_fallback":"a barátod","join_connecting":"Csatlakozás ehhez: {host}…","join_waiting":"Várakozás, amíg {host} beenged","join_waiting_body":"{host} látja a neved a képernyőjén, és az Engedélyezésre koppint.","join_retry":"Újra","join_again":"Csatlakozás kérése újra","join_playing_at":"Játék itt: {host}","join_you_are":"Te vagy a(z) {n}. játékos","join_seat_stream":"{host} PS5-felhasználójaként játszol. Nem kell felhasználót választanod.","join_plays_as":"{profile} néven játszol. Nem kell választanod.","join_seat_tv_asks":"{host} választott neked egy profilt, de nem lehetett használni. A tévé megkérdezi, ki vagy.","join_picking":"Nyomd meg a PS gombot, aztán a tévén válaszd a Gyors játékot","join_hide_controls":"Elrejtés","join_sound":"Koppints a hanghoz","rp_unmute":"Hang be","rp_mute":"Némítás","join_no_sound":"Ebben a böngészőben nincs hang","join_exit_fullscreen":"Kilépés a teljes képernyőből","pad_fill":"Teljes képernyő","join_leave":"Kilépés","join_show_controls":"Vezérlők megjelenítése","join_hold_hint":"A gombok megjelenítéséhez tartsd lenyomva a képet","pad_watch_no_hevc":"Ez az eszköz nem tudja lejátszani ennek a streamnek a képét: a számítógép HEVC-ben streamel, ez az eszköz csak H.264-et játszik le.","pad_watch_decode":"A képet itt nem sikerült lejátszani.","join_pad_ready":"A kontrollered készen áll","join_check_unknown_short":"Nincs a listánkon: a gombok összekeveredhetnek.","join_full_to_play":"Koppints a Teljes képernyő gombra, hogy a képernyős kontrollerrel játssz.","join_pad_none":"Csatlakoztass egy kontrollert (USB vagy Bluetooth), és nyomj meg egy gombot.","join_pad_keys":"Vagy használd a billentyűzetet: WASD mozgás, nyilak D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"A gombokhoz nyomd meg a távirányítón a Vissza gombot.","join_block_note":"{host} kikapcsolta a PS és Create gombot a barátoknak.","join_guide_title":"Még egy lépés a tévén","join_guide_body":"Nyomd meg egyszer a PS gombot a kontrollereden. A tévé megkérdezi: „Ki használja ezt a kontrollert?”. Válaszd a Gyors játékot vagy a saját felhasználódat. A házigazdának semmit sem kell tennie.","join_guide_menus":"A PS5 kezdőképernyőjén csak a házigazda kezeli a menüket; a te kontrollered a játékokban működik.","join_guide_ok":"Értem","join_host_away":"A házigazda abbahagyta a játékot – várjuk, hogy újra elkezdje ({time})","join_reconnecting":"Újracsatlakozás…","join_reconnecting_left":"A helyed még {time} ideig fenntartjuk.","pad_turn":"Fordítsd el a telefont fekvőre","join_game_label":"{host} játéka","join_title":"Csatlakozás egy barát játékához","join_title_body":"Játssz {host} PS5-jén 2., 3. vagy 4. játékosként.","join_name_label":"A neved","join_name_hint":"A barátod ezt látja, amikor csatlakozni szeretnél.","join_button":"Csatlakozás"},"id":{"usb_skipped_not_payload":"{name}: bukan file .elf atau .bin","usb_skipped_unknown":"{id}: tidak ada lagi di daftar payload","browser_unsupported":"Ini memerlukan aplikasi desktop. Tidak berfungsi di browser.","video_recovered_notice":"Terakhir kali Play crash saat memulai gambar, jadi gambar kini didekode tanpa kartu grafis (ubah di Pengaturan › Jendela › Grafis › Dekode video perangkat keras).","video_recovered_title":"Gambar kini didekode oleh perangkat lunak","open_in_title":"Buka di aplikasi PS5Upload?","open_in_body":"Punya aplikasi PS5Upload di perangkat ini? Buka di sana, atau lanjutkan di browser.","open_in_app":"Buka di aplikasi","open_in_browser":"Lanjutkan di browser","open_in_remember":"Ingat pilihan saya di perangkat ini","open_in_opening":"Membuka aplikasi PS5Upload…","open_in_not_opened":"Tidak terjadi apa-apa? Mungkin aplikasinya tidak ada di perangkat ini.","open_in_again":"Coba lagi","pad_8bitdo_no_xinput":"8BitDo ini tidak punya mode X-input. Jika ada tombol yang salah, periksa kontrolernya.","pad_8bitdo_how_switch":"geser sakelar di belakang ke X, lalu tekan Start","pad_8bitdo_how_startx":"matikan, lalu tahan Start + X untuk menyalakannya","pad_8bitdo_how_receiver":"gunakan receiver 2.4G-nya atau kabel USB","pad_8bitdo_how_manual":"caranya ada di buku panduannya","pad_8bitdo_xinput":"Untuk hasil terbaik, ubah 8BitDo kamu ke mode X-input: {how}.","rp_touch_left_stick":"Stik kiri","rp_touch_right_stick":"Stik kanan","rp_pad_step_lx":"Dorong stik kiri ke kanan","rp_pad_step_ly":"Dorong stik kiri ke bawah","rp_pad_step_rx":"Dorong stik kanan ke kanan","rp_pad_step_ry":"Dorong stik kanan ke bawah","join_check_bottom":"Tekan tombol muka bawah (✕)","join_check_right":"Tekan tombol muka kanan (○)","join_check_left":"Tekan tombol muka kiri (□)","join_check_top":"Tekan tombol muka atas (△)","rp_pad_press":"Tekan {name}","join_check_saved":"Disimpan untuk kontroler ini di perangkat ini. Coba di bawah.","join_check_title":"Periksa kontrolermu","join_done":"Selesai","rp_pads_none":"Belum ada kontroler terdeteksi. Sambungkan satu dan tekan tombol apa saja.","rp_pad_mapped":"Bermain dengan pemetaan Anda","join_check_unknown":"Kontroler ini tidak ada di daftar kami, jadi tombolnya bisa tertukar. Mengaturnya hanya butuh beberapa detik.","rp_pad_standard":"Dikenali","rp_pad_progress":"{n} dari {total}","rp_pad_skip":"Lewati","rp_pad_back":"Kembali","rp_pad_cancel":"Batal","join_check_try":"Tekan tombol dan gerakkan stik: yang kamu tekan akan menyala.","join_check_redo":"Ulangi","join_check_map":"Atur tombol","rp_pad_reset":"Atur ulang","join_open_lan_body":"Tidak bisa ke internet? Kalau kamu di Wi-Fi yang sama dengan temanmu, buka game-nya di sana.","join_open_lan":"Buka di Wi-Fi ini","join_path_lan":"Jaringan rumah","join_seat_taken":"{host} membutuhkan kontrolernya kembali dan tidak ada kontroler lain yang kosong di PS5, jadi Anda keluar dari permainan. Minta {host} untuk mengizinkan Anda masuk lagi.","join_refused_key":"Undangan ini sudah kedaluwarsa. Minta tautan baru ke {host}.","join_refused_expired":"Tempat Anda di permainan hilang. Minta {host} untuk memasukkan Anda lagi.","join_refused_full":"Game sudah penuh: sudah ada empat pemain.","join_refused_denied":"{host} tidak mengizinkan Anda masuk kali ini.","join_refused_no_answer":"{host} tidak menjawab tepat waktu. Beri tahu {host}, lalu coba lagi.","join_refused_closed":"{host} sedang tidak membuka Main Bareng.","join_refused_old_helper":"PS5 milik {host} perlu helper terbaru untuk Main Bareng.","join_refused_not_playing":"{host} sedang tidak main. Minta {host} memulai Main dulu.","join_refused_unreachable":"Komputer {host} tidak bisa menjangkau PS5-nya. Coba lagi sebentar lagi.","join_refused_slow_down":"Terlalu banyak kode yang salah. Tunggu satu menit, lalu coba lagi.","join_refused_address":"Alamat tautan ini berada di luar jaringan rumah Anda, jadi aplikasi tidak akan memakainya. Minta {host} tautan dengan alamat IP komputernya.","join_refused_other":"{host} tidak mengizinkan Anda masuk.","join_ended_kicked":"{host} mengeluarkan Anda dari game.","join_ended_closed":"{host} menutup Main Bareng.","join_ended_host_stopped":"Host berhenti main.","join_ended_replaced":"Permainan ini dibuka di tab atau perangkat lain, jadi berhenti di sini.","join_ended_pad_lost":"PS5 kehilangan kontroler Anda, jadi Anda keluar dari permainan. Minta {host} untuk memasukkan Anda lagi.","join_ended_gave_up":"Koneksi ke {host} tidak pulih tepat waktu.","join_net_lost":"Koneksi ke {host} terputus. Periksa koneksi internetmu, lalu minta lagi.","join_ended_lost":"Tidak bisa menjangkau {host}. Pastikan Anda di jaringan yang sama.","join_ended_left":"Anda keluar dari game.","join_net_mismatch":"Tautan ini tidak cocok dengan host; minta tautan baru kepadanya.","join_net_no_direct":"Koneksi langsung tidak mungkin dari jaringan ini (router kedua pihak ketat). Coba Wi-Fi alih-alih data seluler, atau minta host menyalakan UPnP.","join_net_no_room":"Undangan ini sudah tidak terbuka. Minta tautan baru kepada {host}.","join_net_full":"Permainan {host} tidak punya tempat untuk teman lain sekarang. Coba lagi sebentar lagi.","join_net_no_hub":"Tidak bisa menjangkau layanan undangan PS5Upload. Periksa koneksi internet Anda, lalu coba lagi.","join_net_offer":"Komputer {host} tidak bisa terhubung ke browser ini. Coba browser lain.","join_net_no_webrtc":"Browser ini tidak bisa membuat koneksi langsung. Coba Chrome, Safari, atau Firefox versi terbaru.","join_cancel":"Batal","join_host_fallback":"teman Anda","join_connecting":"Menghubungkan ke {host}…","join_waiting":"Menunggu {host} mengizinkan Anda masuk","join_waiting_body":"{host} melihat nama Anda di layarnya lalu mengetuk Izinkan.","join_retry":"Coba lagi","join_again":"Minta bergabung lagi","join_playing_at":"Main di tempat {host}","join_you_are":"Anda Pemain {n}","join_seat_stream":"Anda bermain sebagai pengguna PS5 {host}. Tidak perlu memilih pengguna.","join_plays_as":"Anda bermain sebagai {profile}. Tidak perlu memilih.","join_seat_tv_asks":"{host} memilihkan profil untuk Anda, tetapi tidak bisa dipakai. TV akan menanyakan siapa Anda.","join_picking":"Tekan PS, lalu pilih Main Cepat di TV","join_hide_controls":"Sembunyikan","join_sound":"Ketuk untuk suara","rp_unmute":"Suara aktif","rp_mute":"Bisukan","join_no_sound":"Tidak ada suara di browser ini","join_exit_fullscreen":"Keluar dari layar penuh","pad_fill":"Layar penuh","join_leave":"Keluar","join_show_controls":"Tampilkan kontrol","join_hold_hint":"Tekan dan tahan gambar untuk menampilkan tombol","pad_watch_no_hevc":"Perangkat ini tidak bisa memutar gambar stream ini: komputer mengirim HEVC, dan perangkat ini hanya memutar H.264.","pad_watch_decode":"Gambar tidak dapat diputar di sini.","join_pad_ready":"Kontroler Anda siap","join_check_unknown_short":"Tidak ada di daftar kami: tombol bisa tertukar.","join_full_to_play":"Ketuk Layar penuh untuk main dengan kontroler di layar.","join_pad_none":"Hubungkan kontroler (USB atau Bluetooth) lalu tekan tombol apa saja.","join_pad_keys":"Atau pakai keyboard: WASD gerak, panah D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Tekan Kembali di remote untuk menampilkan tombol.","join_block_note":"{host} mematikan PS dan Create untuk teman.","join_guide_title":"Satu langkah lagi di TV","join_guide_body":"Tekan PS sekali di kontroler Anda. TV bertanya \"Siapa yang memakai kontroler ini?\". Pilih Main Cepat atau pengguna Anda sendiri. Tuan rumah tidak perlu melakukan apa pun.","join_guide_menus":"Di layar beranda PS5 hanya host yang mengendalikan menu; kontroler Anda berfungsi di dalam game.","join_guide_ok":"Mengerti","join_host_away":"Host berhenti main — menunggu mereka mulai lagi ({time})","join_reconnecting":"Menyambung ulang…","join_reconnecting_left":"Tempat Anda disimpan selama {time}.","pad_turn":"Miringkan ponsel ke samping","join_game_label":"Game {host}","join_title":"Gabung ke game teman","join_title_body":"Main di PS5 milik {host} sebagai Pemain 2, 3, atau 4.","join_name_label":"Nama Anda","join_name_hint":"Teman Anda melihat nama ini saat Anda minta bergabung.","join_button":"Gabung"},"it":{"usb_skipped_not_payload":"{name}: non è un file .elf o .bin","usb_skipped_unknown":"{id}: non è più nell'elenco dei payload","browser_unsupported":"Serve l'app desktop. Non funziona nel browser.","video_recovered_notice":"L'ultima volta Play si è chiuso all'avvio dell'immagine, quindi ora l'immagine è decodificata senza la scheda grafica (modificabile in Impostazioni › Finestra › Grafica › Decodifica video hardware).","video_recovered_title":"Immagine ora decodificata via software","open_in_title":"Aprire nell’app PS5Upload?","open_in_body":"Hai l’app PS5Upload su questo dispositivo? Aprilo lì, oppure continua nel browser.","open_in_app":"Apri nell’app","open_in_browser":"Continua nel browser","open_in_remember":"Ricorda la mia scelta su questo dispositivo","open_in_opening":"Apertura dell’app PS5Upload…","open_in_not_opened":"Non è successo niente? Forse l’app non è su questo dispositivo.","open_in_again":"Riprova","pad_8bitdo_no_xinput":"Questo 8BitDo non ha la modalità X-input. Se un tasto è sbagliato, controlla il controller.","pad_8bitdo_how_switch":"porta l'interruttore sul retro su X, poi premi Start","pad_8bitdo_how_startx":"spegnilo, poi tieni premuto Start + X per accenderlo","pad_8bitdo_how_receiver":"usa il suo ricevitore 2.4G o un cavo USB","pad_8bitdo_how_manual":"il suo manuale spiega come","pad_8bitdo_xinput":"Per il risultato migliore, passa il tuo 8BitDo in modalità X-input: {how}.","rp_touch_left_stick":"Levetta sinistra","rp_touch_right_stick":"Levetta destra","rp_pad_step_lx":"Spingi la levetta sinistra a destra","rp_pad_step_ly":"Spingi la levetta sinistra in basso","rp_pad_step_rx":"Spingi la levetta destra a destra","rp_pad_step_ry":"Spingi la levetta destra in basso","join_check_bottom":"Premi il tasto frontale in basso (✕)","join_check_right":"Premi il tasto frontale a destra (○)","join_check_left":"Premi il tasto frontale a sinistra (□)","join_check_top":"Premi il tasto frontale in alto (△)","rp_pad_press":"Premi {name}","join_check_saved":"Salvato per questo controller su questo dispositivo. Provalo qui sotto.","join_check_title":"Controlla il controller","join_done":"Fatto","rp_pads_none":"Nessun controller rilevato. Collegane uno e premi un tasto qualsiasi.","rp_pad_mapped":"Gioca con la tua mappatura","join_check_unknown":"Questo controller non è nel nostro elenco, quindi i tasti potrebbero essere scambiati. Configurarlo richiede pochi secondi.","rp_pad_standard":"Riconosciuto","rp_pad_progress":"{n} di {total}","rp_pad_skip":"Salta","rp_pad_back":"Indietro","rp_pad_cancel":"Annulla","join_check_try":"Premi i tasti e muovi le levette: ciò che premi si illumina.","join_check_redo":"Rifai","join_check_map":"Configura i tasti","rp_pad_reset":"Ripristina","join_open_lan_body":"Niente Internet? Se sei sullo stesso Wi-Fi del tuo amico, apri la partita da lì.","join_open_lan":"Apri su questo Wi-Fi","join_path_lan":"Rete domestica","join_seat_taken":"{host} aveva bisogno di riavere il suo controller e sulla PS5 non c'era un altro controller libero, quindi sei uscito dalla partita. Chiedi a {host} di farti entrare di nuovo.","join_refused_key":"Questo invito è scaduto. Chiedi a {host} un nuovo link.","join_refused_expired":"Il tuo posto nella partita è perso. Chiedi a {host} di farti rientrare.","join_refused_full":"La partita è piena: ci sono già quattro giocatori.","join_refused_denied":"Stavolta {host} non ti ha fatto entrare.","join_refused_no_answer":"{host} non ha risposto in tempo. Avvisa {host}, poi riprova.","join_refused_closed":"Al momento {host} non sta ospitando Gioca insieme.","join_refused_old_helper":"La PS5 di {host} ha bisogno di un helper aggiornato per Gioca insieme.","join_refused_not_playing":"{host} non sta giocando ora. Chiedi prima a {host} di avviare Gioca.","join_refused_unreachable":"Il computer di {host} non è riuscito a raggiungere la PS5. Riprova tra poco.","join_refused_slow_down":"Troppi codici errati. Aspetta un minuto e riprova.","join_refused_address":"L'indirizzo di questo link è fuori dalla tua rete domestica, quindi l'app non lo userà. Chiedi a {host} un link con l'indirizzo IP del suo computer.","join_refused_other":"{host} non ti ha fatto entrare.","join_ended_kicked":"{host} ti ha tolto dalla partita.","join_ended_closed":"{host} ha chiuso Gioca insieme.","join_ended_host_stopped":"L'host ha smesso di giocare.","join_ended_replaced":"Questa partita è stata aperta in un'altra scheda o su un altro dispositivo, quindi qui si è fermata.","join_ended_pad_lost":"La PS5 ha perso il tuo controller, quindi sei fuori dalla partita. Chiedi a {host} di farti rientrare.","join_ended_gave_up":"La connessione con {host} non è tornata in tempo.","join_net_lost":"La connessione con {host} si è interrotta. Controlla la connessione Internet, poi chiedi di nuovo.","join_ended_lost":"Impossibile raggiungere {host}. Controlla di essere sulla stessa rete.","join_ended_left":"Sei uscito dalla partita.","join_net_mismatch":"Questo link non corrisponde all'host; chiedigliene uno nuovo.","join_net_no_direct":"Da questa rete non è possibile una connessione diretta (i router di entrambi i lati sono restrittivi). Prova il Wi-Fi invece dei dati mobili, oppure chiedi all'host di attivare UPnP.","join_net_no_room":"Questo invito non è più aperto. Chiedi a {host} un nuovo link.","join_net_full":"La partita di {host} non ha posto per un altro amico in questo momento. Riprova tra poco.","join_net_no_hub":"Impossibile raggiungere il servizio inviti di PS5Upload. Controlla la connessione a internet, poi riprova.","join_net_offer":"Il computer di {host} non è riuscito a connettersi a questo browser. Prova un altro browser.","join_net_no_webrtc":"Questo browser non può creare connessioni dirette. Prova una versione recente di Chrome, Safari o Firefox.","join_cancel":"Annulla","join_host_fallback":"il tuo amico","join_connecting":"Connessione a {host}…","join_waiting":"In attesa che {host} ti faccia entrare","join_waiting_body":"{host} vede il tuo nome sullo schermo e tocca Consenti.","join_retry":"Riprova","join_again":"Chiedi di nuovo di entrare","join_playing_at":"Giochi da {host}","join_you_are":"Sei il Giocatore {n}","join_seat_stream":"Stai giocando con l'utente PS5 di {host}. Non serve sceglierne uno.","join_plays_as":"Stai giocando come {profile}. Non devi sceglierne uno.","join_seat_tv_asks":"{host} ha scelto un profilo per te, ma non si è potuto usare. La TV ti chiederà chi sei.","join_picking":"Premi PS, poi scegli Gioco rapido sulla TV","join_hide_controls":"Nascondi","join_sound":"Tocca per l'audio","rp_unmute":"Audio attivo","rp_mute":"Muto","join_no_sound":"Nessun suono in questo browser","join_exit_fullscreen":"Esci da schermo intero","pad_fill":"Schermo intero","join_leave":"Esci","join_show_controls":"Mostra i comandi","join_hold_hint":"Tieni premuto sull'immagine per mostrare i pulsanti","pad_watch_no_hevc":"Questo dispositivo non può riprodurre l'immagine di questo stream: il computer trasmette in HEVC e questo dispositivo riproduce solo H.264.","pad_watch_decode":"Non è stato possibile riprodurre l'immagine qui.","join_pad_ready":"Il tuo controller è pronto","join_check_unknown_short":"Non è nel nostro elenco: i tasti potrebbero essere scambiati.","join_full_to_play":"Tocca schermo intero per giocare con il controller a schermo.","join_pad_none":"Collega un controller (USB o Bluetooth) e premi un tasto qualsiasi.","join_pad_keys":"Oppure usa la tastiera: WASD per muoverti, frecce croce direzionale, Invio ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Premi Indietro sul telecomando per vedere i pulsanti.","join_block_note":"{host} ha disattivato PS e Create per gli amici.","join_guide_title":"Ancora un passo sulla TV","join_guide_body":"Premi PS una volta sul controller. La TV chiede \"Chi sta usando questo controller?\". Scegli Gioco rapido o il tuo utente. L'host non deve fare nulla.","join_guide_menus":"Nella schermata iniziale della PS5 solo chi ospita controlla i menu; il tuo controller gioca dentro i giochi.","join_guide_ok":"Ho capito","join_host_away":"L'host ha smesso di giocare: in attesa che ricominci ({time})","join_reconnecting":"Riconnessione…","join_reconnecting_left":"Il tuo posto resta riservato per {time}.","pad_turn":"Ruota il telefono in orizzontale","join_game_label":"Partita di {host}","join_title":"Unisciti alla partita di un amico","join_title_body":"Gioca sulla PS5 di {host} come Giocatore 2, 3 o 4.","join_name_label":"Il tuo nome","join_name_hint":"Il tuo amico lo vede quando chiedi di entrare.","join_button":"Unisciti"},"ja":{"usb_skipped_not_payload":"{name}:.elf または .bin ファイルではありません","usb_skipped_unknown":"{id}: ペイロード一覧にありません","browser_unsupported":"デスクトップアプリが必要です。ブラウザーでは動作しません。","video_recovered_notice":"前回 Play が映像の開始中にクラッシュしたため、映像をグラフィックカードを使わずにデコードするようにしました(設定 › ウィンドウ › グラフィック › ハードウェア映像デコード で変更できます)。","video_recovered_title":"映像はソフトウェアでデコードされます","open_in_title":"PS5Upload アプリで開きますか?","open_in_body":"この端末に PS5Upload アプリがあれば、アプリで開けます。ブラウザーのまま続けることもできます。","open_in_app":"アプリで開く","open_in_browser":"ブラウザーで続ける","open_in_remember":"この端末で選択を記憶する","open_in_opening":"PS5Upload アプリを開いています…","open_in_not_opened":"何も起きませんか?この端末にアプリが入っていないかもしれません。","open_in_again":"再試行","pad_8bitdo_no_xinput":"この 8BitDo には X-input モードがありません。ボタンが違う場合はコントローラーを確認してください。","pad_8bitdo_how_switch":"背面のスイッチを X にして Start を押す","pad_8bitdo_how_startx":"電源を切り、Start + X を押したまま電源を入れる","pad_8bitdo_how_receiver":"付属の 2.4G レシーバーか USB ケーブルを使う","pad_8bitdo_how_manual":"方法は取扱説明書にあります","pad_8bitdo_xinput":"最適に使うには、8BitDo を X-input モードにしてください: {how}。","rp_touch_left_stick":"左スティック","rp_touch_right_stick":"右スティック","rp_touch_touchpad":"タッチパッド","rp_menu":"メニュー","rp_pad_step_lx":"左スティックを右に倒してください","rp_pad_step_ly":"左スティックを下に倒してください","rp_pad_step_rx":"右スティックを右に倒してください","rp_pad_step_ry":"右スティックを下に倒してください","join_check_bottom":"下のボタンを押してください (✕)","join_check_right":"右のボタンを押してください (○)","join_check_left":"左のボタンを押してください (□)","join_check_top":"上のボタンを押してください (△)","rp_pad_press":"{name} を押してください","join_check_saved":"このデバイスでこのコントローラー用に保存しました。下で試してください。","join_check_title":"コントローラーを確認","join_done":"完了","rp_pads_none":"コントローラーがまだ見つかりません。接続して、いずれかのボタンを押してください。","rp_pad_mapped":"あなたの割り当てで操作します","join_check_unknown":"このコントローラーは一覧にないため、ボタンが入れ替わっている可能性があります。設定は数秒で終わります。","rp_pad_standard":"認識済み","rp_pad_progress":"{n} / {total}","rp_pad_skip":"スキップ","rp_pad_back":"戻る","rp_pad_cancel":"キャンセル","join_check_try":"ボタンを押したりスティックを動かしたりしてください。押したものが光ります。","join_check_redo":"やり直す","join_check_map":"ボタンを設定","rp_pad_reset":"リセット","join_open_lan_body":"インターネットにつながりませんか?友だちと同じ Wi-Fi にいるなら、そこでゲームを開いてください。","join_open_lan":"この Wi-Fi で開く","join_path_lan":"ホームネットワーク","join_path_internet":"インターネット","join_seat_taken":"{host}が自分のコントローラーを必要とし、PS5に空いているコントローラーがほかになかったため、ゲームから退出しました。もう一度入れてもらうよう{host}に頼んでください。","join_refused_key":"この招待は期限切れです。{host}さんに新しいリンクをもらってください。","join_refused_expired":"ゲームの席がなくなりました。{host} さんにもう一度入れてもらってください。","join_refused_full":"満員です:すでに4人がプレイしています。","join_refused_denied":"今回は{host}さんに参加を許可されませんでした。","join_refused_no_answer":"{host} さんが時間内に応答しませんでした。{host} さんに伝えてから、もう一度お試しください。","join_refused_closed":"{host}さんは今「いっしょにプレイ」を開いていません。","join_refused_old_helper":"「いっしょにプレイ」を使うには、{host}さんのPS5のヘルパーを更新する必要があります。","join_refused_not_playing":"{host}さんは今プレイしていません。先に{host}さんにプレイを始めてもらってください。","join_refused_unreachable":"{host}さんのコンピューターがPS5に接続できませんでした。少ししてからもう一度お試しください。","join_refused_slow_down":"間違ったコードが多すぎます。1分待ってからもう一度お試しください。","join_refused_address":"このリンクのアドレスはホームネットワークの外にあるため、アプリは使用しません。{host} にコンピューターの IP アドレスのリンクを頼んでください。","join_refused_other":"{host}さんに参加を許可されませんでした。","join_ended_kicked":"{host}さんにゲームから外されました。","join_ended_closed":"{host}さんが「いっしょにプレイ」を終了しました。","join_ended_host_stopped":"ホストがプレイをやめました。","join_ended_replaced":"このゲームが別のタブまたは別のデバイスで開かれたため、ここでは終了しました。","join_ended_pad_lost":"PS5 があなたのコントローラーを見失ったため、ゲームから外れました。{host} さんにもう一度入れてもらってください。","join_ended_gave_up":"{host}さんとの接続が時間内に戻りませんでした。","join_net_lost":"{host} との接続が切れました。インターネット接続を確認してから、もう一度お願いしてください。","join_ended_lost":"{host}さんに接続できませんでした。同じネットワークにいるか確認してください。","join_ended_left":"ゲームから退出しました。","join_net_mismatch":"このリンクはホストと一致しません。ホストに新しいリンクをもらってください。","join_net_no_direct":"このネットワークからは直接接続できません(双方のルーターが厳しい設定です)。モバイルデータではなく Wi-Fi を試すか、ホストに UPnP をオンにしてもらってください。","join_net_no_room":"この招待はもう有効ではありません。{host}さんに新しいリンクをもらってください。","join_net_full":"{host}さんのゲームには今これ以上友だちが入れません。少ししてからもう一度お試しください。","join_net_no_hub":"PS5Upload の招待サービスに接続できませんでした。インターネット接続を確認して、もう一度お試しください。","join_net_offer":"{host}さんのコンピューターがこのブラウザーに接続できませんでした。別のブラウザーをお試しください。","join_net_no_webrtc":"このブラウザーは直接接続ができません。最新の Chrome、Safari、Firefox をお試しください。","join_cancel":"キャンセル","join_host_fallback":"フレンド","join_connecting":"{host}さんに接続中…","join_waiting":"{host}さんの許可を待っています","join_waiting_body":"{host}さんの画面にあなたの名前が表示され、「許可」をタップすると参加できます。","join_retry":"再試行","join_again":"もう一度参加をリクエスト","join_playing_at":"{host}さんのPS5でプレイ中","join_you_are":"あなたはプレイヤー{n}です","join_seat_stream":"{host}のPS5ユーザーとしてプレイしています。ユーザーを選ぶ必要はありません。","join_plays_as":"{profile}としてプレイしています。選ぶ必要はありません。","join_seat_tv_asks":"{host}があなた用のプロフィールを選びましたが、使えませんでした。テレビで誰がプレイするかを聞かれます。","join_picking":"PSボタンを押して、テレビで「クイックプレイ」を選んでください","join_hide_controls":"隠す","join_sound":"タップして音を出す","rp_unmute":"音声オン","rp_mute":"ミュート","join_no_sound":"このブラウザーでは音声を再生できません","join_exit_fullscreen":"全画面を終了","pad_fill":"全画面","join_leave":"退出","join_show_controls":"操作ボタンを表示","join_hold_hint":"画面を長押しするとボタンが表示されます","pad_watch_no_hevc":"この端末ではこの配信の映像を再生できません。PC は HEVC で配信していますが、この端末は H.264 のみ再生できます。","pad_watch_decode":"ここでは映像を再生できませんでした。","join_pad_ready":"コントローラーの準備ができました","join_check_unknown_short":"一覧にありません: ボタンが入れ替わっている可能性があります。","join_full_to_play":"全画面をタップすると、画面上のコントローラーでプレイできます。","join_pad_none":"コントローラーをつないで(USBまたはBluetooth)、いずれかのボタンを押してください。","join_pad_keys":"キーボードでも遊べます:WASDで移動、矢印キーで方向キー、Enter ✕、Backspace ○、Q □、E △、Tab OPTIONS。","join_tv_back_hint":"ボタンを表示するには、リモコンの戻るを押してください。","join_block_note":"{host}さんがフレンドのPSボタンとCreateボタンを無効にしています。","join_guide_title":"テレビであと1ステップ","join_guide_body":"コントローラーのPSボタンを1回押してください。テレビに「このコントローラーを使うのは誰ですか?」と表示されます。クイックプレイか自分のユーザーを選んでください。ホストの操作は不要です。","join_guide_menus":"PS5のホーム画面でメニューを操作できるのはホストだけです。あなたのコントローラーはゲームの中で使えます。","join_guide_ok":"OK","join_host_away":"ホストがプレイをやめました — 再開を待っています({time})","join_reconnecting":"再接続中…","join_reconnecting_left":"あと{time}は枠が確保されています。","pad_turn":"スマホを横向きにしてください","join_game_label":"{host}さんのゲーム","join_title":"フレンドのゲームに参加","join_title_body":"{host}さんのPS5でプレイヤー2・3・4として遊べます。","join_name_label":"あなたの名前","join_name_hint":"参加をリクエストすると、フレンドにこの名前が表示されます。","join_button":"参加"},"ko":{"usb_skipped_not_payload":"{name}: .elf 또는 .bin 파일이 아님","usb_skipped_unknown":"{id}: 더 이상 페이로드 목록에 없습니다","browser_unsupported":"데스크톱 앱이 필요합니다. 브라우저에서는 작동하지 않습니다.","video_recovered_notice":"지난번 화면을 시작하는 중에 Play가 충돌하여, 이제 그래픽 카드 없이 화면을 디코딩합니다(설정 › 창 › 그래픽 › 하드웨어 영상 디코딩에서 변경).","video_recovered_title":"이제 화면을 소프트웨어로 디코딩합니다","open_in_title":"PS5Upload 앱에서 열까요?","open_in_body":"이 기기에 PS5Upload 앱이 있나요? 앱에서 열거나 브라우저에서 계속하세요.","open_in_app":"앱에서 열기","open_in_browser":"브라우저에서 계속","open_in_remember":"이 기기에서 선택 기억하기","open_in_opening":"PS5Upload 앱을 여는 중…","open_in_not_opened":"아무 일도 없나요? 이 기기에 앱이 없을 수 있습니다.","open_in_again":"다시 시도","pad_8bitdo_no_xinput":"이 8BitDo에는 X-input 모드가 없습니다. 버튼이 다르게 동작하면 컨트롤러를 확인하세요.","pad_8bitdo_how_switch":"뒷면 스위치를 X로 놓고 Start를 누르세요","pad_8bitdo_how_startx":"전원을 끈 다음 Start + X를 누른 채로 켜세요","pad_8bitdo_how_receiver":"2.4G 수신기나 USB 케이블을 사용하세요","pad_8bitdo_how_manual":"방법은 설명서에 있습니다","pad_8bitdo_xinput":"가장 잘 동작하도록 8BitDo를 X-input 모드로 바꾸세요: {how}.","rp_touch_left_stick":"왼쪽 스틱","rp_touch_right_stick":"오른쪽 스틱","rp_touch_touchpad":"터치패드","rp_menu":"메뉴","rp_pad_step_lx":"왼쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ly":"왼쪽 스틱을 아래로 미세요","rp_pad_step_rx":"오른쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ry":"오른쪽 스틱을 아래로 미세요","join_check_bottom":"아래쪽 버튼을 누르세요 (✕)","join_check_right":"오른쪽 버튼을 누르세요 (○)","join_check_left":"왼쪽 버튼을 누르세요 (□)","join_check_top":"위쪽 버튼을 누르세요 (△)","rp_pad_press":"{name} 버튼을 누르세요","join_check_saved":"이 기기에서 이 컨트롤러용으로 저장했습니다. 아래에서 시험해 보세요.","join_check_title":"컨트롤러 확인","join_done":"완료","rp_pads_none":"아직 컨트롤러가 보이지 않습니다. 컨트롤러를 연결하고 아무 버튼이나 누르세요.","rp_pad_mapped":"내 버튼 설정으로 플레이","join_check_unknown":"이 컨트롤러는 목록에 없어서 버튼이 뒤바뀌어 있을 수 있습니다. 설정은 몇 초면 됩니다.","rp_pad_standard":"인식됨","rp_pad_progress":"{n} / {total}","rp_pad_skip":"건너뛰기","rp_pad_back":"뒤로","rp_pad_cancel":"취소","join_check_try":"버튼을 누르고 스틱을 움직여 보세요. 누른 것이 켜집니다.","join_check_redo":"다시 하기","join_check_map":"버튼 설정","rp_pad_reset":"초기화","join_open_lan_body":"인터넷에 연결되지 않나요? 친구와 같은 Wi-Fi에 있다면 거기서 게임을 여세요.","join_open_lan":"이 Wi-Fi에서 열기","join_path_lan":"홈 네트워크","join_path_internet":"인터넷","join_seat_taken":"{host} 님이 컨트롤러를 다시 써야 했는데 PS5에 남은 컨트롤러가 없어서 게임에서 나왔어요. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_key":"초대가 만료됐어요. {host} 님에게 새 링크를 요청하세요.","join_refused_expired":"게임 자리를 잃었습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_full":"게임이 꽉 찼어요. 이미 4명이 플레이 중이에요.","join_refused_denied":"이번에는 {host} 님이 참여를 허용하지 않았어요.","join_refused_no_answer":"{host} 님이 제시간에 응답하지 않았습니다. {host} 님에게 알린 뒤 다시 시도하세요.","join_refused_closed":"{host} 님은 지금 함께 플레이를 열고 있지 않아요.","join_refused_old_helper":"함께 플레이를 하려면 {host} 님의 PS5 헬퍼를 업데이트해야 해요.","join_refused_not_playing":"{host} 님은 지금 플레이 중이 아니에요. {host} 님에게 먼저 플레이를 시작해 달라고 하세요.","join_refused_unreachable":"{host} 님의 컴퓨터가 PS5에 연결하지 못했어요. 잠시 후 다시 시도하세요.","join_refused_slow_down":"잘못된 코드를 너무 많이 입력했어요. 1분 후에 다시 시도하세요.","join_refused_address":"이 링크의 주소는 홈 네트워크 밖에 있어 앱에서 사용하지 않습니다. {host}에게 컴퓨터의 IP 주소가 있는 링크를 요청하세요.","join_refused_other":"{host} 님이 참여를 허용하지 않았어요.","join_ended_kicked":"{host} 님이 나를 게임에서 내보냈어요.","join_ended_closed":"{host} 님이 함께 플레이를 닫았어요.","join_ended_host_stopped":"호스트가 플레이를 멈췄어요.","join_ended_replaced":"이 게임이 다른 탭이나 다른 기기에서 열려서 여기서는 멈췄습니다.","join_ended_pad_lost":"PS5가 컨트롤러를 잃어서 게임에서 나왔습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_ended_gave_up":"{host} 님과의 연결이 제때 돌아오지 않았어요.","join_net_lost":"{host}와의 연결이 끊겼어요. 인터넷 연결을 확인한 다음 다시 요청하세요.","join_ended_lost":"{host} 님에게 연결할 수 없어요. 같은 네트워크에 있는지 확인하세요.","join_ended_left":"게임에서 나왔어요.","join_net_mismatch":"이 링크는 호스트와 일치하지 않아요. 새 링크를 요청하세요.","join_net_no_direct":"이 네트워크에서는 직접 연결할 수 없어요(양쪽 공유기가 모두 엄격해요). 모바일 데이터 대신 Wi-Fi를 쓰거나 호스트에게 UPnP를 켜 달라고 하세요.","join_net_no_room":"이 초대는 더 이상 열려 있지 않아요. {host} 님에게 새 링크를 요청하세요.","join_net_full":"{host} 님의 게임에 지금은 친구가 더 들어갈 자리가 없어요. 잠시 후 다시 시도하세요.","join_net_no_hub":"PS5Upload 초대 서비스에 연결할 수 없어요. 인터넷 연결을 확인한 뒤 다시 시도하세요.","join_net_offer":"{host} 님의 컴퓨터가 이 브라우저에 연결하지 못했어요. 다른 브라우저를 써 보세요.","join_net_no_webrtc":"이 브라우저는 직접 연결을 할 수 없어요. 최신 Chrome, Safari 또는 Firefox를 써 보세요.","join_cancel":"취소","join_host_fallback":"친구","join_connecting":"{host} 님에게 연결 중…","join_waiting":"{host} 님이 허용하기를 기다리는 중","join_waiting_body":"{host} 님 화면에 내 이름이 보이고, 허용을 누르면 들어갈 수 있어요.","join_retry":"다시 시도","join_again":"다시 참여 요청","join_playing_at":"{host} 님의 PS5에서 플레이 중","join_you_are":"나는 플레이어 {n}","join_seat_stream":"{host} 님의 PS5 사용자로 플레이하고 있어요. 사용자를 고를 필요가 없어요.","join_plays_as":"{profile}(으)로 플레이하고 있어요. 고를 필요가 없어요.","join_seat_tv_asks":"{host} 님이 프로필을 골라 두었지만 쓸 수 없었어요. TV에서 누구인지 물어볼 거예요.","join_picking":"PS 버튼을 누른 다음 TV에서 빠른 플레이를 선택하세요","join_hide_controls":"숨기기","join_sound":"눌러서 소리 켜기","rp_unmute":"소리 켜기","rp_mute":"음소거","join_no_sound":"이 브라우저에서는 소리가 나오지 않습니다","join_exit_fullscreen":"전체 화면 종료","pad_fill":"전체 화면","join_leave":"나가기","join_show_controls":"컨트롤 표시","join_hold_hint":"화면을 길게 누르면 버튼이 표시됩니다","pad_watch_no_hevc":"이 기기는 이 스트림의 화면을 재생할 수 없습니다. 컴퓨터는 HEVC로 스트리밍하고 이 기기는 H.264만 재생합니다.","pad_watch_decode":"여기서 화면을 재생할 수 없었습니다.","join_pad_ready":"컨트롤러가 준비됐어요","join_check_unknown_short":"목록에 없음: 버튼이 뒤바뀌어 있을 수 있습니다.","join_full_to_play":"전체 화면을 탭하면 화면 컨트롤러로 플레이할 수 있어요.","join_pad_none":"컨트롤러를 연결(USB 또는 Bluetooth)하고 아무 버튼이나 누르세요.","join_pad_keys":"키보드로도 할 수 있어요: WASD 이동, 방향키 D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"버튼을 보려면 리모컨의 뒤로 버튼을 누르세요.","join_block_note":"{host} 님이 친구의 PS 및 Create 버튼을 막아 두었어요.","join_guide_title":"TV에서 한 단계만 더","join_guide_body":"컨트롤러의 PS 버튼을 한 번 누르세요. TV에 \"이 컨트롤러를 누가 사용하나요?\"가 나타나요. 빠른 플레이나 내 사용자를 선택하세요. 호스트는 아무것도 하지 않아도 돼요.","join_guide_menus":"PS5 홈 화면에서는 호스트만 메뉴를 조작할 수 있어요. 내 컨트롤러는 게임 안에서 플레이합니다.","join_guide_ok":"알겠어요","join_host_away":"호스트가 플레이를 멈췄어요 — 다시 시작하기를 기다리는 중 ({time})","join_reconnecting":"다시 연결 중…","join_reconnecting_left":"{time} 동안 자리가 유지돼요.","pad_turn":"휴대폰을 가로로 돌리세요","join_game_label":"{host} 님의 게임","join_title":"친구 게임에 참여","join_title_body":"{host} 님의 PS5에서 플레이어 2, 3, 4로 플레이하세요.","join_name_label":"내 이름","join_name_hint":"참여를 요청하면 친구에게 이 이름이 보여요.","join_button":"참여"},"pl":{"usb_skipped_not_payload":"{name}: to nie jest plik .elf ani .bin","usb_skipped_unknown":"{id}: nie ma już na liście payloadów","browser_unsupported":"To wymaga aplikacji na komputer. W przeglądarce nie działa.","video_recovered_notice":"Ostatnio Play zawiesił się przy uruchamianiu obrazu, więc obraz jest teraz dekodowany bez karty graficznej (zmień w Ustawienia › Okno › Grafika › Sprzętowe dekodowanie wideo).","video_recovered_title":"Obraz jest teraz dekodowany programowo","open_in_title":"Otworzyć w aplikacji PS5Upload?","open_in_body":"Masz aplikację PS5Upload na tym urządzeniu? Otwórz to w niej albo kontynuuj w przeglądarce.","open_in_app":"Otwórz w aplikacji","open_in_browser":"Kontynuuj w przeglądarce","open_in_remember":"Zapamiętaj mój wybór na tym urządzeniu","open_in_opening":"Otwieranie aplikacji PS5Upload…","open_in_not_opened":"Nic się nie stało? Aplikacji może nie być na tym urządzeniu.","open_in_again":"Spróbuj ponownie","pad_8bitdo_no_xinput":"Ten 8BitDo nie ma trybu X-input. Jeśli któryś przycisk działa źle, sprawdź kontroler.","pad_8bitdo_how_switch":"ustaw przełącznik z tyłu na X, a potem naciśnij Start","pad_8bitdo_how_startx":"wyłącz go, a potem przytrzymaj Start + X, aby go włączyć","pad_8bitdo_how_receiver":"użyj jego odbiornika 2.4G lub kabla USB","pad_8bitdo_how_manual":"instrukcja podaje, jak to zrobić","pad_8bitdo_xinput":"Aby działał najlepiej, przełącz 8BitDo w tryb X-input: {how}.","rp_touch_left_stick":"Lewa gałka","rp_touch_right_stick":"Prawa gałka","rp_touch_touchpad":"Panel dotykowy","rp_pad_step_lx":"Wychyl lewą gałkę w prawo","rp_pad_step_ly":"Wychyl lewą gałkę w dół","rp_pad_step_rx":"Wychyl prawą gałkę w prawo","rp_pad_step_ry":"Wychyl prawą gałkę w dół","join_check_bottom":"Naciśnij dolny przycisk (✕)","join_check_right":"Naciśnij prawy przycisk (○)","join_check_left":"Naciśnij lewy przycisk (□)","join_check_top":"Naciśnij górny przycisk (△)","rp_pad_press":"Naciśnij {name}","join_check_saved":"Zapisano dla tego kontrolera na tym urządzeniu. Wypróbuj poniżej.","join_check_title":"Sprawdź kontroler","join_done":"Gotowe","rp_pads_none":"Nie wykryto jeszcze kontrolera. Podłącz go i naciśnij dowolny przycisk.","rp_pad_mapped":"Gra z twoim mapowaniem","join_check_unknown":"Tego kontrolera nie ma na naszej liście, więc przyciski mogą być pomieszane. Konfiguracja zajmuje kilka sekund.","rp_pad_standard":"Rozpoznany","rp_pad_progress":"{n} z {total}","rp_pad_skip":"Pomiń","rp_pad_back":"Wstecz","rp_pad_cancel":"Anuluj","join_check_try":"Naciskaj przyciski i ruszaj gałkami: to, co naciśniesz, się podświetli.","join_check_redo":"Powtórz","join_check_map":"Ustaw przyciski","rp_pad_reset":"Resetuj","join_open_lan_body":"Brak internetu? Jeśli jesteś w tej samej sieci Wi-Fi co znajomy, otwórz grę tam.","join_open_lan":"Otwórz w tej sieci Wi-Fi","join_path_lan":"Sieć domowa","join_seat_taken":"{host} potrzebował z powrotem swojego kontrolera, a na PS5 nie było innego wolnego kontrolera, więc wypadasz z gry. Poproś {host}, żeby wpuścił Cię ponownie.","join_refused_key":"To zaproszenie wygasło. Poproś {host} o nowy link.","join_refused_expired":"Twoje miejsce w grze przepadło. Poproś {host} o ponowne wpuszczenie.","join_refused_full":"Brak miejsc: gra już czterech graczy.","join_refused_denied":"{host} tym razem cię nie wpuścił.","join_refused_no_answer":"{host}: brak odpowiedzi na czas. Daj znać ({host}) i spróbuj ponownie.","join_refused_closed":"{host} nie prowadzi teraz Graj razem.","join_refused_old_helper":"PS5 {host} potrzebuje zaktualizowanego pomocnika do Graj razem.","join_refused_not_playing":"{host} teraz nie gra. Poproś {host}, żeby najpierw uruchomił Graj.","join_refused_unreachable":"Komputer {host} nie mógł połączyć się z PS5. Spróbuj ponownie za chwilę.","join_refused_slow_down":"Zbyt wiele błędnych kodów. Odczekaj minutę i spróbuj ponownie.","join_refused_address":"Adres tego linku jest poza Twoją siecią domową, więc aplikacja go nie użyje. Poproś {host} o link z adresem IP komputera.","join_refused_other":"{host} cię nie wpuścił.","join_ended_kicked":"{host} usunął cię z gry.","join_ended_closed":"{host} zamknął Graj razem.","join_ended_host_stopped":"Gospodarz przestał grać.","join_ended_replaced":"Tę grę otwarto w innej karcie lub na innym urządzeniu, więc tu się zatrzymała.","join_ended_pad_lost":"PS5 straciła Twój kontroler, więc wypadasz z gry. Poproś {host} o ponowne wpuszczenie.","join_ended_gave_up":"Połączenie z {host} nie wróciło na czas.","join_net_lost":"Połączenie z {host} zostało przerwane. Sprawdź połączenie internetowe i poproś ponownie.","join_ended_lost":"Nie można połączyć się z {host}. Sprawdź, czy jesteście w tej samej sieci.","join_ended_left":"Opuściłeś grę.","join_net_mismatch":"Ten link nie pasuje do gospodarza; poproś go o nowy.","join_net_no_direct":"Z tej sieci nie da się nawiązać bezpośredniego połączenia (routery po obu stronach są restrykcyjne). Spróbuj Wi-Fi zamiast danych komórkowych albo poproś gospodarza o włączenie UPnP.","join_net_no_room":"To zaproszenie nie jest już otwarte. Poproś {host} o nowy link.","join_net_full":"W grze {host} nie ma teraz miejsca dla kolejnego znajomego. Spróbuj ponownie za chwilę.","join_net_no_hub":"Nie można połączyć się z usługą zaproszeń PS5Upload. Sprawdź połączenie z internetem i spróbuj ponownie.","join_net_offer":"Komputer {host} nie mógł połączyć się z tą przeglądarką. Spróbuj innej przeglądarki.","join_net_no_webrtc":"Ta przeglądarka nie potrafi nawiązywać bezpośrednich połączeń. Spróbuj aktualnego Chrome, Safari lub Firefoksa.","join_cancel":"Anuluj","join_host_fallback":"twój znajomy","join_connecting":"Łączenie z {host}…","join_waiting":"Czekasz, aż {host} cię wpuści","join_waiting_body":"{host} widzi twoje imię na ekranie i stuka Zezwól.","join_retry":"Spróbuj ponownie","join_again":"Poproś ponownie o dołączenie","join_playing_at":"Grasz u {host}","join_you_are":"Jesteś Graczem {n}","join_seat_stream":"Grasz jako użytkownik PS5 gospodarza {host}. Nie musisz nikogo wybierać.","join_plays_as":"Grasz jako {profile}. Nie musisz niczego wybierać.","join_seat_tv_asks":"{host} wybrał dla ciebie profil, ale nie dało się go użyć. Telewizor zapyta, kim jesteś.","join_picking":"Naciśnij PS, a potem wybierz Szybką grę na telewizorze","join_hide_controls":"Ukryj","join_sound":"Włącz dźwięk","rp_unmute":"Dźwięk wł.","rp_mute":"Wycisz","join_no_sound":"Brak dźwięku w tej przeglądarce","join_exit_fullscreen":"Wyjdź z pełnego ekranu","pad_fill":"Pełny ekran","join_leave":"Wyjdź","join_show_controls":"Pokaż przyciski","join_hold_hint":"Przytrzymaj obraz, aby pokazać przyciski","pad_watch_no_hevc":"To urządzenie nie odtworzy obrazu tego streamu: komputer nadaje w HEVC, a to urządzenie odtwarza tylko H.264.","pad_watch_decode":"Nie udało się tu odtworzyć obrazu.","join_pad_ready":"Twój kontroler jest gotowy","join_check_unknown_short":"Nie ma go na liście: przyciski mogą być pomieszane.","join_full_to_play":"Stuknij Pełny ekran, aby grać kontrolerem ekranowym.","join_pad_none":"Podłącz kontroler (USB lub Bluetooth) i naciśnij dowolny przycisk.","join_pad_keys":"Albo użyj klawiatury: WASD ruch, strzałki krzyżak, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Naciśnij Wstecz na pilocie, aby pokazać przyciski.","join_block_note":"{host} wyłączył PS i Create dla znajomych.","join_guide_title":"Jeszcze jeden krok na telewizorze","join_guide_body":"Naciśnij raz PS na kontrolerze. Telewizor zapyta „Kto używa tego kontrolera?”. Wybierz Szybką grę albo swojego użytkownika. Gospodarz nie musi nic robić.","join_guide_menus":"Na ekranie głównym PS5 menu steruje tylko gospodarz; twój kontroler działa w grach.","join_guide_ok":"Rozumiem","join_host_away":"Gospodarz przestał grać — czekamy, aż zacznie znowu ({time})","join_reconnecting":"Ponowne łączenie…","join_reconnecting_left":"Twoje miejsce czeka jeszcze {time}.","pad_turn":"Obróć telefon poziomo","join_game_label":"Gra {host}","join_title":"Dołącz do gry znajomego","join_title_body":"Graj na PS5 {host} jako Gracz 2, 3 lub 4.","join_name_label":"Twoje imię","join_name_hint":"Znajomy zobaczy je, gdy poprosisz o dołączenie.","join_button":"Dołącz"},"pt-BR":{"usb_skipped_not_payload":"{name}: não é um arquivo .elf ou .bin","usb_skipped_unknown":"{id}: não está mais na lista de payloads","browser_unsupported":"Isso precisa do aplicativo para desktop. Não funciona no navegador.","video_recovered_notice":"O Play travou ao iniciar a imagem da última vez, então a imagem agora é decodificada sem a placa de vídeo (altere em Configurações › Janela › Gráficos › Decodificação de vídeo por hardware).","video_recovered_title":"Imagem agora decodificada por software","open_in_title":"Abrir no app PS5Upload?","open_in_body":"Tem o app PS5Upload neste aparelho? Abra por ele ou continue no navegador.","open_in_app":"Abrir no app","open_in_browser":"Continuar no navegador","open_in_remember":"Lembrar minha escolha neste aparelho","open_in_opening":"Abrindo o app PS5Upload…","open_in_not_opened":"Nada aconteceu? Talvez o app não esteja neste aparelho.","open_in_again":"Tentar de novo","pad_8bitdo_no_xinput":"Este 8BitDo não tem modo X-input. Se algum botão estiver errado, verifique o controle.","pad_8bitdo_how_switch":"coloque a chave de trás em X e aperte Start","pad_8bitdo_how_startx":"desligue e depois segure Start + X para ligar","pad_8bitdo_how_receiver":"use o receptor 2.4G dele ou um cabo USB","pad_8bitdo_how_manual":"o manual dele explica como","pad_8bitdo_xinput":"Para o melhor resultado, coloque seu 8BitDo no modo X-input: {how}.","rp_touch_left_stick":"Analógico esquerdo","rp_touch_right_stick":"Analógico direito","rp_pad_step_lx":"Mova o analógico esquerdo para a direita","rp_pad_step_ly":"Mova o analógico esquerdo para baixo","rp_pad_step_rx":"Mova o analógico direito para a direita","rp_pad_step_ry":"Mova o analógico direito para baixo","join_check_bottom":"Aperte o botão de baixo (✕)","join_check_right":"Aperte o botão da direita (○)","join_check_left":"Aperte o botão da esquerda (□)","join_check_top":"Aperte o botão de cima (△)","rp_pad_press":"Pressione {name}","join_check_saved":"Salvo para este controle neste aparelho. Teste abaixo.","join_check_title":"Verificar seu controle","join_done":"Concluído","rp_pads_none":"Nenhum controle detectado ainda. Conecte um e pressione qualquer botão nele.","rp_pad_mapped":"Joga com o seu mapeamento","join_check_unknown":"Este controle não está na nossa lista, então os botões podem estar trocados. Configurar leva poucos segundos.","rp_pad_standard":"Reconhecido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Pular","rp_pad_back":"Voltar","rp_pad_cancel":"Cancelar","join_check_try":"Aperte botões e mova os analógicos: o que você apertar acende.","join_check_redo":"Refazer","join_check_map":"Configurar os botões","rp_pad_reset":"Redefinir","join_open_lan_body":"Sem internet? Se você está no mesmo Wi-Fi que seu amigo, abra o jogo por lá.","join_open_lan":"Abrir neste Wi-Fi","join_path_lan":"Rede doméstica","join_seat_taken":"{host} precisou do controle de volta e não havia outro controle livre no PS5, então você saiu do jogo. Peça para {host} deixar você entrar de novo.","join_refused_key":"Este convite expirou. Peça um novo link a {host}.","join_refused_expired":"Seu lugar no jogo foi perdido. Peça a {host} para deixar você entrar de novo.","join_refused_full":"O jogo está cheio: já tem quatro jogadores.","join_refused_denied":"{host} não deixou você entrar desta vez.","join_refused_no_answer":"{host} não respondeu a tempo. Avise {host} e tente de novo.","join_refused_closed":"{host} não está com o Jogar juntos aberto agora.","join_refused_old_helper":"O PS5 de {host} precisa de um auxiliar atualizado para o Jogar juntos.","join_refused_not_playing":"{host} não está jogando agora. Peça para {host} iniciar o Jogar primeiro.","join_refused_unreachable":"O computador de {host} não conseguiu acessar o PS5. Tente de novo daqui a pouco.","join_refused_slow_down":"Muitos códigos errados. Espere um minuto e tente de novo.","join_refused_address":"O endereço deste link está fora da sua rede doméstica, então o aplicativo não vai usá-lo. Peça a {host} um link com o endereço IP do computador.","join_refused_other":"{host} não deixou você entrar.","join_ended_kicked":"{host} tirou você do jogo.","join_ended_closed":"{host} fechou o Jogar juntos.","join_ended_host_stopped":"O anfitrião parou de jogar.","join_ended_replaced":"Este jogo foi aberto em outra aba ou em outro dispositivo, então parou aqui.","join_ended_pad_lost":"O PS5 perdeu seu controle, então você saiu do jogo. Peça a {host} para deixar você entrar de novo.","join_ended_gave_up":"A conexão com {host} não voltou a tempo.","join_net_lost":"A conexão com {host} caiu. Verifique sua conexão de internet e peça de novo.","join_ended_lost":"Não foi possível alcançar {host}. Verifique se vocês estão na mesma rede.","join_ended_left":"Você saiu do jogo.","join_net_mismatch":"Este link não corresponde ao anfitrião; peça um novo a ele.","join_net_no_direct":"Não é possível uma conexão direta a partir desta rede (os roteadores dos dois lados são restritos). Tente o Wi-Fi em vez dos dados móveis ou peça ao anfitrião para ativar o UPnP.","join_net_no_room":"Este convite não está mais aberto. Peça a {host} um novo link.","join_net_full":"O jogo de {host} não tem lugar para mais um amigo agora. Tente de novo daqui a pouco.","join_net_no_hub":"Não foi possível alcançar o serviço de convites do PS5Upload. Verifique sua conexão com a internet e tente de novo.","join_net_offer":"O computador de {host} não conseguiu se conectar a este navegador. Tente outro navegador.","join_net_no_webrtc":"Este navegador não consegue fazer conexões diretas. Tente uma versão recente do Chrome, Safari ou Firefox.","join_cancel":"Cancelar","join_host_fallback":"seu amigo","join_connecting":"Conectando a {host}…","join_waiting":"Esperando {host} deixar você entrar","join_waiting_body":"{host} vê seu nome na tela e toca em Permitir.","join_retry":"Tentar de novo","join_again":"Pedir para entrar de novo","join_playing_at":"Jogando na casa de {host}","join_you_are":"Você é o Jogador {n}","join_seat_stream":"Você está jogando com o usuário do PS5 de {host}. Não precisa escolher um.","join_plays_as":"Você está jogando como {profile}. Não precisa escolher.","join_seat_tv_asks":"{host} escolheu um perfil para você, mas não foi possível usá-lo. A TV vai perguntar quem você é.","join_picking":"Aperte PS e depois escolha Jogo rápido na TV","join_hide_controls":"Ocultar","join_sound":"Ativar som","rp_unmute":"Ativar som","rp_mute":"Silenciar","join_no_sound":"Sem som neste navegador","join_exit_fullscreen":"Sair da tela cheia","pad_fill":"Tela cheia","join_leave":"Sair","join_show_controls":"Mostrar controles","join_hold_hint":"Toque e segure a imagem para mostrar os botões","pad_watch_no_hevc":"Este aparelho não reproduz a imagem deste stream: o computador transmite em HEVC e este aparelho reproduz apenas H.264.","pad_watch_decode":"Não foi possível reproduzir a imagem aqui.","join_pad_ready":"Seu controle está pronto","join_check_unknown_short":"Não está na nossa lista: os botões podem estar trocados.","join_full_to_play":"Toque em tela cheia para jogar com o controle na tela.","join_pad_none":"Conecte um controle (USB ou Bluetooth) e aperte qualquer botão.","join_pad_keys":"Ou use o teclado: WASD move, setas direcional, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Aperte Voltar no controle remoto para ver os botões.","join_block_note":"{host} desativou PS e Create para amigos.","join_guide_title":"Mais um passo na TV","join_guide_body":"Aperte PS uma vez no seu controle. A TV pergunta \"Quem está usando este controle?\". Escolha Jogo rápido ou o seu próprio usuário. O anfitrião não precisa fazer nada.","join_guide_menus":"Na tela inicial do PS5 só o anfitrião controla os menus; seu controle joga dentro dos jogos.","join_guide_ok":"Entendi","join_host_away":"O anfitrião parou de jogar — esperando ele começar de novo ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Seu lugar fica guardado por {time}.","pad_turn":"Vire o celular na horizontal","join_game_label":"Jogo de {host}","join_title":"Entrar no jogo de um amigo","join_title_body":"Jogue no PS5 de {host} como Jogador 2, 3 ou 4.","join_name_label":"Seu nome","join_name_hint":"Seu amigo vê isto quando você pede para entrar.","join_button":"Entrar"},"ru":{"usb_skipped_not_payload":"{name}: не файл .elf или .bin","usb_skipped_unknown":"{id}: больше нет в списке пейлоадов","browser_unsupported":"Для этого нужно настольное приложение. В браузере это не работает.","video_recovered_notice":"В прошлый раз Play упал при запуске картинки, поэтому теперь картинка декодируется без видеокарты (изменить: Настройки › Окно › Графика › Аппаратное декодирование видео).","video_recovered_title":"Картинка теперь декодируется программно","open_in_title":"Открыть в приложении PS5Upload?","open_in_body":"Приложение PS5Upload есть на этом устройстве? Откройте это там или продолжите в браузере.","open_in_app":"Открыть в приложении","open_in_browser":"Продолжить в браузере","open_in_remember":"Запомнить выбор на этом устройстве","open_in_opening":"Открываем приложение PS5Upload…","open_in_not_opened":"Ничего не произошло? Возможно, приложения нет на этом устройстве.","open_in_again":"Повторить","pad_8bitdo_no_xinput":"У этого 8BitDo нет режима X-input. Если кнопка срабатывает не так, проверьте контроллер.","pad_8bitdo_how_switch":"переведите переключатель сзади в положение X, затем нажмите Start","pad_8bitdo_how_startx":"выключите его, затем включите, удерживая Start + X","pad_8bitdo_how_receiver":"используйте его приёмник 2.4G или кабель USB","pad_8bitdo_how_manual":"как это сделать, сказано в его инструкции","pad_8bitdo_xinput":"Для лучшего результата переключите 8BitDo в режим X-input: {how}.","rp_touch_left_stick":"Левый стик","rp_touch_right_stick":"Правый стик","rp_touch_touchpad":"Сенсорная панель","rp_menu":"Меню","rp_pad_step_lx":"Отклоните левый стик вправо","rp_pad_step_ly":"Отклоните левый стик вниз","rp_pad_step_rx":"Отклоните правый стик вправо","rp_pad_step_ry":"Отклоните правый стик вниз","join_check_bottom":"Нажмите нижнюю кнопку (✕)","join_check_right":"Нажмите правую кнопку (○)","join_check_left":"Нажмите левую кнопку (□)","join_check_top":"Нажмите верхнюю кнопку (△)","rp_pad_press":"Нажмите {name}","join_check_saved":"Сохранено для этого контроллера на этом устройстве. Попробуйте ниже.","join_check_title":"Проверить контроллер","join_done":"Готово","rp_pads_none":"Контроллер пока не найден. Подключите его и нажмите любую кнопку.","rp_pad_mapped":"Играет с вашей раскладкой","join_check_unknown":"Этого контроллера нет в нашем списке, поэтому кнопки могут быть перепутаны. Настройка займёт несколько секунд.","rp_pad_standard":"Распознан","rp_pad_progress":"{n} из {total}","rp_pad_skip":"Пропустить","rp_pad_back":"Назад","rp_pad_cancel":"Отмена","join_check_try":"Нажимайте кнопки и двигайте стики: нажатое подсвечивается.","join_check_redo":"Заново","join_check_map":"Настроить кнопки","rp_pad_reset":"Сбросить","join_open_lan_body":"Нет доступа к интернету? Если вы в той же сети Wi-Fi, что и друг, откройте игру там.","join_open_lan":"Открыть в этой сети Wi-Fi","join_path_lan":"Домашняя сеть","join_path_internet":"Интернет","join_seat_taken":"{host} понадобился его контроллер, а других свободных контроллеров на PS5 не было, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_refused_key":"Срок приглашения истёк. Попросите у {host} новую ссылку.","join_refused_expired":"Ваше место в игре потеряно. Попросите {host} впустить вас снова.","join_refused_full":"Мест нет: уже играют четверо.","join_refused_denied":"{host} в этот раз вас не впустил.","join_refused_no_answer":"{host} не ответил вовремя. Сообщите {host} и попробуйте ещё раз.","join_refused_closed":"{host} сейчас не проводит «Совместную игру».","join_refused_old_helper":"Для «Совместной игры» на PS5 {host} нужен обновлённый помощник.","join_refused_not_playing":"{host} сейчас не играет. Попросите {host} сначала запустить Игру.","join_refused_unreachable":"Компьютер {host} не смог связаться с PS5. Попробуйте ещё раз чуть позже.","join_refused_slow_down":"Слишком много неверных кодов. Подождите минуту и попробуйте снова.","join_refused_address":"Адрес этой ссылки находится вне вашей домашней сети, поэтому приложение его не использует. Попросите {host} дать ссылку с IP-адресом компьютера.","join_refused_other":"{host} вас не впустил.","join_ended_kicked":"{host} убрал вас из игры.","join_ended_closed":"{host} закрыл «Совместную игру».","join_ended_host_stopped":"Хост перестал играть.","join_ended_replaced":"Эту игру открыли в другой вкладке или на другом устройстве, поэтому здесь она остановилась.","join_ended_pad_lost":"PS5 потеряла ваш контроллер, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_ended_gave_up":"Соединение с {host} не восстановилось вовремя.","join_net_lost":"Соединение с {host} прервалось. Проверьте подключение к интернету и попросите ещё раз.","join_ended_lost":"Не удалось связаться с {host}. Проверьте, что вы в одной сети.","join_ended_left":"Вы вышли из игры.","join_net_mismatch":"Эта ссылка не совпадает с хостом; попросите у него новую.","join_net_no_direct":"Из этой сети прямое подключение невозможно (роутеры с обеих сторон строгие). Попробуйте Wi-Fi вместо мобильного интернета или попросите хоста включить UPnP.","join_net_no_room":"Это приглашение больше не действует. Попросите у {host} новую ссылку.","join_net_full":"В игре {host} сейчас нет места для ещё одного друга. Попробуйте чуть позже.","join_net_no_hub":"Не удалось связаться со службой приглашений PS5Upload. Проверьте подключение к интернету и попробуйте снова.","join_net_offer":"Компьютер {host} не смог подключиться к этому браузеру. Попробуйте другой браузер.","join_net_no_webrtc":"Этот браузер не умеет устанавливать прямые подключения. Попробуйте свежую версию Chrome, Safari или Firefox.","join_cancel":"Отмена","join_host_fallback":"ваш друг","join_connecting":"Подключение к {host}…","join_waiting":"Ждём, пока {host} вас впустит","join_waiting_body":"{host} видит ваше имя на экране и нажимает «Разрешить».","join_retry":"Повторить","join_again":"Снова попроситься в игру","join_playing_at":"Игра у {host}","join_you_are":"Вы — Игрок {n}","join_seat_stream":"Вы играете под пользователем PS5 хоста {host}. Выбирать пользователя не нужно.","join_plays_as":"Вы играете как {profile}. Выбирать никого не нужно.","join_seat_tv_asks":"{host} выбрал для вас профиль, но использовать его не удалось. Телевизор спросит, кто вы.","join_picking":"Нажмите PS, затем выберите «Быстрая игра» на телевизоре","join_hide_controls":"Скрыть","join_sound":"Включить звук","rp_unmute":"Включить звук","rp_mute":"Без звука","join_no_sound":"В этом браузере нет звука","join_exit_fullscreen":"Выйти из полноэкранного режима","pad_fill":"Во весь экран","join_leave":"Выйти","join_show_controls":"Показать кнопки","join_hold_hint":"Нажмите и удерживайте изображение, чтобы показать кнопки","pad_watch_no_hevc":"Это устройство не может показать картинку этой трансляции: компьютер передаёт HEVC, а устройство воспроизводит только H.264.","pad_watch_decode":"Картинку не удалось воспроизвести здесь.","join_pad_ready":"Ваш контроллер готов","join_check_unknown_short":"Нет в нашем списке: кнопки могут быть перепутаны.","join_full_to_play":"Нажмите «Во весь экран», чтобы играть с экранным контроллером.","join_pad_none":"Подключите контроллер (USB или Bluetooth) и нажмите любую кнопку.","join_pad_keys":"Или играйте с клавиатуры: WASD — движение, стрелки — крестовина, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Нажмите «Назад» на пульте, чтобы показать кнопки.","join_block_note":"{host} отключил PS и Create для друзей.","join_guide_title":"Ещё один шаг на телевизоре","join_guide_body":"Нажмите PS на контроллере один раз. Телевизор спросит «Кто использует этот контроллер?». Выберите «Быстрая игра» или своего пользователя. Хосту ничего делать не нужно.","join_guide_menus":"На главном экране PS5 меню управляет только хост; ваш контроллер работает внутри игр.","join_guide_ok":"Понятно","join_host_away":"Хост перестал играть — ждём, когда он начнёт снова ({time})","join_reconnecting":"Переподключение…","join_reconnecting_left":"Ваше место сохраняется ещё {time}.","pad_turn":"Поверните телефон горизонтально","join_game_label":"Игра {host}","join_title":"Присоединиться к игре друга","join_title_body":"Играйте на PS5 {host} как Игрок 2, 3 или 4.","join_name_label":"Ваше имя","join_name_hint":"Друг увидит его, когда вы попроситесь в игру.","join_button":"Войти"},"th":{"usb_skipped_not_payload":"{name}: ไม่ใช่ไฟล์ .elf หรือ .bin","usb_skipped_unknown":"{id}: ไม่อยู่ในรายการเพย์โหลดแล้ว","browser_unsupported":"ต้องใช้แอปเดสก์ท็อป ใช้ในเบราว์เซอร์ไม่ได้","video_recovered_notice":"ครั้งก่อนหน้าเล่นล่มขณะเริ่มภาพ ตอนนี้จึงถอดรหัสภาพโดยไม่ใช้การ์ดจอ (เปลี่ยนได้ที่ การตั้งค่า › หน้าต่าง › กราฟิก › ถอดรหัสวิดีโอด้วยฮาร์ดแวร์)","video_recovered_title":"ตอนนี้ถอดรหัสภาพด้วยซอฟต์แวร์","open_in_title":"เปิดในแอป PS5Upload ไหม","open_in_body":"มีแอป PS5Upload ในอุปกรณ์นี้ไหม เปิดในแอป หรือใช้ต่อในเบราว์เซอร์ก็ได้","open_in_app":"เปิดในแอป","open_in_browser":"ใช้ต่อในเบราว์เซอร์","open_in_remember":"จำตัวเลือกของฉันในอุปกรณ์นี้","open_in_opening":"กำลังเปิดแอป PS5Upload…","open_in_not_opened":"ไม่มีอะไรเกิดขึ้นใช่ไหม อุปกรณ์นี้อาจไม่มีแอป","open_in_again":"ลองอีกครั้ง","pad_8bitdo_no_xinput":"8BitDo รุ่นนี้ไม่มีโหมด X-input หากปุ่มใดทำงานผิด ให้ตรวจสอบคอนโทรลเลอร์","pad_8bitdo_how_switch":"เลื่อนสวิตช์ด้านหลังไปที่ X แล้วกด Start","pad_8bitdo_how_startx":"ปิดเครื่อง แล้วกด Start + X ค้างไว้เพื่อเปิด","pad_8bitdo_how_receiver":"ใช้ตัวรับสัญญาณ 2.4G หรือสาย USB","pad_8bitdo_how_manual":"ดูวิธีได้ในคู่มือ","pad_8bitdo_xinput":"เพื่อผลลัพธ์ที่ดีที่สุด ให้เปลี่ยน 8BitDo เป็นโหมด X-input: {how}","rp_touch_left_stick":"สติกซ้าย","rp_touch_right_stick":"สติกขวา","rp_touch_touchpad":"ทัชแพด","rp_menu":"เมนู","rp_pad_step_lx":"ดันอนาล็อกซ้ายไปทางขวา","rp_pad_step_ly":"ดันอนาล็อกซ้ายลง","rp_pad_step_rx":"ดันอนาล็อกขวาไปทางขวา","rp_pad_step_ry":"ดันอนาล็อกขวาลง","join_check_bottom":"กดปุ่มด้านล่าง (✕)","join_check_right":"กดปุ่มด้านขวา (○)","join_check_left":"กดปุ่มด้านซ้าย (□)","join_check_top":"กดปุ่มด้านบน (△)","rp_pad_press":"กด {name}","join_check_saved":"บันทึกสำหรับคอนโทรลเลอร์นี้บนอุปกรณ์นี้แล้ว ลองใช้ด้านล่าง","join_check_title":"ตรวจสอบคอนโทรลเลอร์","join_done":"เสร็จสิ้น","rp_pads_none":"ยังไม่พบคอนโทรลเลอร์ เชื่อมต่อแล้วกดปุ่มใดก็ได้บนคอนโทรลเลอร์","rp_pad_mapped":"เล่นตามการกำหนดปุ่มของคุณ","join_check_unknown":"คอนโทรลเลอร์นี้ไม่อยู่ในรายการของเรา ปุ่มจึงอาจสลับกัน การตั้งค่าใช้เวลาเพียงไม่กี่วินาที","rp_pad_standard":"รู้จักแล้ว","rp_pad_progress":"{n} จาก {total}","rp_pad_skip":"ข้าม","rp_pad_back":"ย้อนกลับ","rp_pad_cancel":"ยกเลิก","join_check_try":"กดปุ่มและขยับสติ๊ก: ปุ่มที่กดจะสว่างขึ้น","join_check_redo":"ทำใหม่","join_check_map":"ตั้งค่าปุ่ม","rp_pad_reset":"รีเซ็ต","join_open_lan_body":"เข้าอินเทอร์เน็ตไม่ได้? ถ้าคุณอยู่บน Wi-Fi เดียวกับเพื่อน ให้เปิดเกมที่นั่น","join_open_lan":"เปิดบน Wi-Fi นี้","join_path_lan":"เครือข่ายในบ้าน","join_path_internet":"อินเทอร์เน็ต","join_seat_taken":"{host} ต้องใช้คอนโทรลเลอร์ของตัวเองคืน และไม่มีคอนโทรลเลอร์อื่นว่างบน PS5 คุณจึงออกจากเกม ขอให้ {host} ให้คุณเข้าอีกครั้ง","join_refused_key":"คำเชิญนี้หมดอายุแล้ว ขอลิงก์ใหม่จาก {host}","join_refused_expired":"ที่ของคุณในเกมหายไปแล้ว ขอให้ {host} ให้เข้าใหม่","join_refused_full":"เกมเต็มแล้ว: มีผู้เล่นครบสี่คน","join_refused_denied":"{host} ไม่ได้ให้คุณเข้าในครั้งนี้","join_refused_no_answer":"{host} ไม่ตอบทันเวลา แจ้ง {host} แล้วลองอีกครั้ง","join_refused_closed":"ตอนนี้ {host} ไม่ได้เปิดเล่นด้วยกัน","join_refused_old_helper":"PS5 ของ {host} ต้องอัปเดตตัวช่วยเพื่อเล่นด้วยกัน","join_refused_not_playing":"ตอนนี้ {host} ไม่ได้เล่นอยู่ ขอให้ {host} เริ่มเล่นก่อน","join_refused_unreachable":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับ PS5 ไม่ได้ ลองใหม่อีกครั้งในอีกสักครู่","join_refused_slow_down":"ใส่รหัสผิดหลายครั้งเกินไป รอหนึ่งนาทีแล้วลองใหม่","join_refused_address":"ที่อยู่ของลิงก์นี้อยู่นอกเครือข่ายภายในบ้าน แอปจึงไม่ใช้ ขอลิงก์ที่มีที่อยู่ IP ของคอมพิวเตอร์จาก {host}","join_refused_other":"{host} ไม่ได้ให้คุณเข้า","join_ended_kicked":"{host} นำคุณออกจากเกม","join_ended_closed":"{host} ปิดเล่นด้วยกันแล้ว","join_ended_host_stopped":"โฮสต์หยุดเล่นแล้ว","join_ended_replaced":"เกมนี้ถูกเปิดในแท็บอื่นหรืออุปกรณ์อื่น จึงหยุดที่นี่","join_ended_pad_lost":"PS5 ทำคอนโทรลเลอร์ของคุณหาย คุณจึงออกจากเกม ขอให้ {host} ให้เข้าใหม่","join_ended_gave_up":"การเชื่อมต่อกับ {host} ไม่กลับมาทันเวลา","join_net_lost":"การเชื่อมต่อกับ {host} หลุด ตรวจสอบการเชื่อมต่ออินเทอร์เน็ต แล้วขอเข้าร่วมอีกครั้ง","join_ended_lost":"ติดต่อ {host} ไม่ได้ ตรวจสอบว่าอยู่ในเครือข่ายเดียวกัน","join_ended_left":"คุณออกจากเกมแล้ว","join_net_mismatch":"ลิงก์นี้ไม่ตรงกับโฮสต์ ขอลิงก์ใหม่จากเขา","join_net_no_direct":"เชื่อมต่อโดยตรงจากเครือข่ายนี้ไม่ได้ (เราเตอร์ทั้งสองฝั่งเข้มงวด) ลองใช้ Wi-Fi แทนเน็ตมือถือ หรือขอให้โฮสต์เปิด UPnP","join_net_no_room":"คำเชิญนี้ปิดไปแล้ว ขอลิงก์ใหม่จาก {host}","join_net_full":"เกมของ {host} ไม่มีที่ว่างสำหรับเพื่อนเพิ่มในตอนนี้ ลองใหม่อีกสักครู่","join_net_no_hub":"ติดต่อบริการคำเชิญของ PS5Upload ไม่ได้ ตรวจสอบการเชื่อมต่ออินเทอร์เน็ตแล้วลองใหม่","join_net_offer":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับเบราว์เซอร์นี้ไม่ได้ ลองเบราว์เซอร์อื่น","join_net_no_webrtc":"เบราว์เซอร์นี้เชื่อมต่อโดยตรงไม่ได้ ลองใช้ Chrome, Safari หรือ Firefox เวอร์ชันล่าสุด","join_cancel":"ยกเลิก","join_host_fallback":"เพื่อนของคุณ","join_connecting":"กำลังเชื่อมต่อกับ {host}…","join_waiting":"กำลังรอ {host} ให้คุณเข้า","join_waiting_body":"{host} จะเห็นชื่อคุณบนหน้าจอและแตะอนุญาต","join_retry":"ลองอีกครั้ง","join_again":"ขอเข้าร่วมอีกครั้ง","join_playing_at":"กำลังเล่นที่บ้าน {host}","join_you_are":"คุณคือผู้เล่น {n}","join_seat_stream":"คุณกำลังเล่นด้วยผู้ใช้ PS5 ของ {host} ไม่ต้องเลือกผู้ใช้","join_plays_as":"คุณกำลังเล่นในนาม {profile} ไม่ต้องเลือกอะไร","join_seat_tv_asks":"{host} เลือกโปรไฟล์ไว้ให้คุณ แต่ใช้ไม่ได้ ทีวีจะถามว่าคุณเป็นใคร","join_picking":"กด PS แล้วเลือกเล่นด่วนบนทีวี","join_hide_controls":"ซ่อน","join_sound":"แตะเพื่อเปิดเสียง","rp_unmute":"เปิดเสียง","rp_mute":"ปิดเสียง","join_no_sound":"เบราว์เซอร์นี้ไม่มีเสียง","join_exit_fullscreen":"ออกจากเต็มจอ","pad_fill":"เต็มจอ","join_leave":"ออก","join_show_controls":"แสดงปุ่มควบคุม","join_hold_hint":"กดค้างที่ภาพเพื่อแสดงปุ่ม","pad_watch_no_hevc":"อุปกรณ์นี้เล่นภาพของสตรีมนี้ไม่ได้: คอมพิวเตอร์สตรีมเป็น HEVC แต่อุปกรณ์นี้เล่นได้แค่ H.264","pad_watch_decode":"เล่นภาพที่นี่ไม่ได้","join_pad_ready":"คอนโทรลเลอร์ของคุณพร้อมแล้ว","join_check_unknown_short":"ไม่อยู่ในรายการ: ปุ่มอาจสลับกัน","join_full_to_play":"แตะเต็มหน้าจอเพื่อเล่นด้วยคอนโทรลเลอร์บนหน้าจอ","join_pad_none":"เชื่อมต่อคอนโทรลเลอร์ (USB หรือ Bluetooth) แล้วกดปุ่มใดก็ได้","join_pad_keys":"หรือใช้คีย์บอร์ด: WASD เคลื่อนที่, ลูกศร D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options","join_tv_back_hint":"กดปุ่มย้อนกลับบนรีโมตเพื่อแสดงปุ่ม","join_block_note":"{host} ปิดปุ่ม PS และ Create สำหรับเพื่อน","join_guide_title":"อีกขั้นตอนเดียวบนทีวี","join_guide_body":"กด PS บนคอนโทรลเลอร์หนึ่งครั้ง ทีวีจะถามว่า \"ใครกำลังใช้คอนโทรลเลอร์นี้?\" เลือกเล่นด่วนหรือผู้ใช้ของคุณเอง เจ้าของเกมไม่ต้องทำอะไร","join_guide_menus":"บนหน้าจอหลักของ PS5 มีแค่โฮสต์ที่ควบคุมเมนูได้ คอนโทรลเลอร์ของคุณใช้เล่นในเกม","join_guide_ok":"เข้าใจแล้ว","join_host_away":"โฮสต์หยุดเล่นแล้ว — กำลังรอให้เริ่มเล่นอีกครั้ง ({time})","join_reconnecting":"กำลังเชื่อมต่อใหม่…","join_reconnecting_left":"ที่ของคุณจะถูกเก็บไว้ {time}","pad_turn":"หมุนมือถือเป็นแนวนอน","join_game_label":"เกมของ {host}","join_title":"เข้าร่วมเกมของเพื่อน","join_title_body":"เล่นบน PS5 ของ {host} เป็นผู้เล่น 2, 3 หรือ 4","join_name_label":"ชื่อของคุณ","join_name_hint":"เพื่อนจะเห็นชื่อนี้เมื่อคุณขอเข้าร่วม","join_button":"เข้าร่วม"},"tr":{"usb_skipped_not_payload":"{name}: .elf veya .bin dosyası değil","usb_skipped_unknown":"{id}: artık payload listesinde değil","browser_unsupported":"Bunun için masaüstü uygulaması gerekir. Tarayıcıda çalışmaz.","video_recovered_notice":"Play geçen sefer görüntüyü başlatırken çöktü, bu yüzden görüntü artık ekran kartı olmadan çözülüyor (değiştirmek için Ayarlar › Pencere › Grafik › Donanımsal video çözme).","video_recovered_title":"Görüntü artık yazılımla çözülüyor","open_in_title":"PS5Upload uygulamasında açılsın mı?","open_in_body":"Bu cihazda PS5Upload uygulaması var mı? Bunu orada aç ya da tarayıcıda devam et.","open_in_app":"Uygulamada aç","open_in_browser":"Tarayıcıda devam et","open_in_remember":"Bu cihazda seçimimi hatırla","open_in_opening":"PS5Upload uygulaması açılıyor…","open_in_not_opened":"Bir şey olmadı mı? Uygulama bu cihazda olmayabilir.","open_in_again":"Tekrar dene","pad_8bitdo_no_xinput":"Bu 8BitDo'nun X-input modu yok. Bir tuş yanlışsa kumandayı kontrol et.","pad_8bitdo_how_switch":"arkadaki düğmeyi X'e getir, sonra Start'a bas","pad_8bitdo_how_startx":"kapat, sonra açmak için Start + X'e basılı tut","pad_8bitdo_how_receiver":"2.4G alıcısını ya da bir USB kablosu kullan","pad_8bitdo_how_manual":"nasıl yapılacağı kılavuzunda yazıyor","pad_8bitdo_xinput":"En iyi sonuç için 8BitDo'nu X-input moduna al: {how}.","rp_touch_left_stick":"Sol çubuk","rp_touch_right_stick":"Sağ çubuk","rp_touch_touchpad":"Dokunmatik yüzey","rp_menu":"Menü","rp_pad_step_lx":"Sol çubuğu sağa itin","rp_pad_step_ly":"Sol çubuğu aşağı itin","rp_pad_step_rx":"Sağ çubuğu sağa itin","rp_pad_step_ry":"Sağ çubuğu aşağı itin","join_check_bottom":"Alttaki yüz tuşuna bas (✕)","join_check_right":"Sağdaki yüz tuşuna bas (○)","join_check_left":"Soldaki yüz tuşuna bas (□)","join_check_top":"Üstteki yüz tuşuna bas (△)","rp_pad_press":"{name} tuşuna basın","join_check_saved":"Bu cihazda bu kumanda için kaydedildi. Aşağıda dene.","join_check_title":"Kumandanı kontrol et","join_done":"Tamam","rp_pads_none":"Henüz kumanda görülmedi. Bir tane bağlayın ve herhangi bir tuşuna basın.","rp_pad_mapped":"Sizin eşlemenizle oynuyor","join_check_unknown":"Bu kumanda listemizde yok, bu yüzden tuşları karışık olabilir. Ayarlamak birkaç saniye sürer.","rp_pad_standard":"Tanındı","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Atla","rp_pad_back":"Geri","rp_pad_cancel":"İptal","join_check_try":"Tuşlara bas ve çubukları oynat: bastığın şey yanar.","join_check_redo":"Yeniden yap","join_check_map":"Tuşları ayarla","rp_pad_reset":"Sıfırla","join_open_lan_body":"İnternete ulaşamıyor musun? Arkadaşınla aynı Wi-Fi'daysan oyunu orada aç.","join_open_lan":"Bu Wi-Fi'da aç","join_path_lan":"Ev ağı","join_path_internet":"İnternet","join_seat_taken":"{host} kumandasını geri istedi ve PS5'te boş başka kumanda yoktu, bu yüzden oyundan çıktın. {host} adlı kişiden seni tekrar almasını iste.","join_refused_key":"Bu davetin süresi doldu. {host} kullanıcısından yeni bir bağlantı iste.","join_refused_expired":"Oyundaki yerin gitti. {host} seni yeniden alsın diye iste.","join_refused_full":"Oyun dolu: zaten dört oyuncu var.","join_refused_denied":"{host} bu sefer seni içeri almadı.","join_refused_no_answer":"{host} zamanında yanıt vermedi. {host} kişisine haber ver, sonra yeniden dene.","join_refused_closed":"{host} şu anda Birlikte Oyna açmıyor.","join_refused_old_helper":"Birlikte Oyna için {host} adlı kişinin PS5'inde yardımcının güncellenmesi gerekiyor.","join_refused_not_playing":"{host} şu anda oynamıyor. Önce Oyna'yı başlatmasını {host} kullanıcısından iste.","join_refused_unreachable":"{host} adlı kişinin bilgisayarı PS5'e ulaşamadı. Biraz sonra tekrar dene.","join_refused_slow_down":"Çok fazla yanlış kod. Bir dakika bekle, sonra tekrar dene.","join_refused_address":"Bu bağlantının adresi ev ağınızın dışında olduğundan uygulama bunu kullanmaz. {host} kullanıcısından bilgisayarının IP adresini içeren bir bağlantı isteyin.","join_refused_other":"{host} seni içeri almadı.","join_ended_kicked":"{host} seni oyundan çıkardı.","join_ended_closed":"{host}, Birlikte Oyna'yı kapattı.","join_ended_host_stopped":"Ev sahibi oynamayı bıraktı.","join_ended_replaced":"Bu oyun başka bir sekmede veya cihazda açıldı, bu yüzden burada durdu.","join_ended_pad_lost":"PS5 kumandanı kaybetti, bu yüzden oyundan çıktın. {host} seni yeniden alsın diye iste.","join_ended_gave_up":"{host} ile bağlantı zamanında geri gelmedi.","join_net_lost":"{host} ile bağlantı koptu. İnternet bağlantını kontrol et, sonra yeniden iste.","join_ended_lost":"{host} kullanıcısına ulaşılamadı. Aynı ağda olduğunuzu kontrol et.","join_ended_left":"Oyundan ayrıldın.","join_net_mismatch":"Bu bağlantı ev sahibiyle eşleşmiyor; ondan yeni bir bağlantı iste.","join_net_no_direct":"Bu ağdan doğrudan bağlantı mümkün değil (iki tarafın yönlendiricisi de katı). Mobil veri yerine Wi-Fi dene ya da ev sahibinden UPnP'yi açmasını iste.","join_net_no_room":"Bu davet artık açık değil. {host} kullanıcısından yeni bir bağlantı iste.","join_net_full":"{host} kullanıcısının oyununda şu an başka bir arkadaşa yer yok. Biraz sonra tekrar dene.","join_net_no_hub":"PS5Upload davet hizmetine ulaşılamadı. İnternet bağlantını kontrol et, sonra tekrar dene.","join_net_offer":"{host} kullanıcısının bilgisayarı bu tarayıcıya bağlanamadı. Başka bir tarayıcı dene.","join_net_no_webrtc":"Bu tarayıcı doğrudan bağlantı kuramıyor. Güncel bir Chrome, Safari veya Firefox dene.","join_cancel":"İptal","join_host_fallback":"arkadaşın","join_connecting":"Bağlanılıyor: {host}…","join_waiting":"{host} seni içeri alsın diye bekleniyor","join_waiting_body":"{host} adını ekranında görür ve İzin ver'e dokunur.","join_retry":"Tekrar dene","join_again":"Tekrar katılmak iste","join_playing_at":"Oynadığın yer: {host}","join_you_are":"Sen {n}. Oyuncusun","join_seat_stream":"{host} adlı kişinin PS5 kullanıcısıyla oynuyorsun. Kullanıcı seçmene gerek yok.","join_plays_as":"{profile} olarak oynuyorsunuz. Seçim yapmanıza gerek yok.","join_seat_tv_asks":"{host} sizin için bir profil seçti ama kullanılamadı. TV kim olduğunuzu soracak.","join_picking":"PS'ye bas, sonra televizyonda Hızlı Oyna'yı seç","join_hide_controls":"Gizle","join_sound":"Ses için dokun","rp_unmute":"Sesi aç","rp_mute":"Sessiz","join_no_sound":"Bu tarayıcıda ses yok","join_exit_fullscreen":"Tam ekrandan çık","pad_fill":"Tam ekran","join_leave":"Ayrıl","join_show_controls":"Kontrolleri göster","join_hold_hint":"Düğmeleri göstermek için görüntüye basılı tut","pad_watch_no_hevc":"Bu cihaz bu yayının görüntüsünü oynatamıyor: bilgisayar HEVC yayınlıyor, bu cihaz yalnızca H.264 oynatıyor.","pad_watch_decode":"Görüntü burada oynatılamadı.","join_pad_ready":"Kumandan hazır","join_check_unknown_short":"Listemizde yok: tuşlar karışık olabilir.","join_full_to_play":"Ekran kumandasıyla oynamak için Tam ekran'a dokun.","join_pad_none":"Bir kumanda bağla (USB veya Bluetooth) ve herhangi bir tuşa bas.","join_pad_keys":"Ya da klavyeyi kullan: WASD hareket, ok tuşları yön tuşları, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Düğmeleri görmek için kumandada Geri'ye bas.","join_block_note":"{host}, arkadaşlar için PS ve Create tuşlarını kapattı.","join_guide_title":"Televizyonda bir adım daha","join_guide_body":"Kumandandaki PS tuşuna bir kez bas. Televizyon \"Bu kumandayı kim kullanıyor?\" diye sorar. Hızlı Oyna'yı ya da kendi kullanıcını seç. Ev sahibinin bir şey yapması gerekmez.","join_guide_menus":"PS5 ana ekranında menüleri yalnızca ev sahibi kontrol eder; senin kumandan oyunların içinde çalışır.","join_guide_ok":"Anladım","join_host_away":"Ev sahibi oynamayı bıraktı — yeniden başlaması bekleniyor ({time})","join_reconnecting":"Yeniden bağlanıyor…","join_reconnecting_left":"Yerin {time} boyunca tutuluyor.","pad_turn":"Telefonu yan çevirin","join_game_label":"{host} adlı kişinin oyunu","join_title":"Bir arkadaşının oyununa katıl","join_title_body":"{host} adlı kişinin PS5'inde 2., 3. veya 4. Oyuncu olarak oyna.","join_name_label":"Adın","join_name_hint":"Katılmak istediğinde arkadaşın bunu görür.","join_button":"Katıl"},"vi":{"usb_skipped_not_payload":"{name}: không phải tệp .elf hoặc .bin","usb_skipped_unknown":"{id}: không còn trong danh sách payload","browser_unsupported":"Việc này cần ứng dụng máy tính. Không hoạt động trong trình duyệt.","video_recovered_notice":"Lần trước Play bị sập khi bắt đầu hình, nên giờ hình được giải mã không dùng card đồ họa (đổi trong Cài đặt › Cửa sổ › Đồ họa › Giải mã video bằng phần cứng).","video_recovered_title":"Hình giờ được giải mã bằng phần mềm","open_in_title":"Mở trong ứng dụng PS5Upload?","open_in_body":"Thiết bị này có ứng dụng PS5Upload? Mở trong ứng dụng, hoặc tiếp tục trên trình duyệt.","open_in_app":"Mở trong ứng dụng","open_in_browser":"Tiếp tục trên trình duyệt","open_in_remember":"Nhớ lựa chọn của tôi trên thiết bị này","open_in_opening":"Đang mở ứng dụng PS5Upload…","open_in_not_opened":"Không có gì xảy ra? Có thể thiết bị này chưa có ứng dụng.","open_in_again":"Thử lại","pad_8bitdo_no_xinput":"8BitDo này không có chế độ X-input. Nếu có nút sai, hãy kiểm tra tay cầm.","pad_8bitdo_how_switch":"gạt công tắc phía sau sang X, rồi nhấn Start","pad_8bitdo_how_startx":"tắt tay cầm, rồi giữ Start + X để bật lại","pad_8bitdo_how_receiver":"dùng bộ thu 2.4G của nó hoặc cáp USB","pad_8bitdo_how_manual":"cách làm có trong sách hướng dẫn","pad_8bitdo_xinput":"Để chơi tốt nhất, hãy chuyển 8BitDo sang chế độ X-input: {how}.","rp_touch_left_stick":"Cần trái","rp_touch_right_stick":"Cần phải","rp_touch_touchpad":"Bàn di cảm ứng","rp_pad_step_lx":"Đẩy cần trái sang phải","rp_pad_step_ly":"Đẩy cần trái xuống dưới","rp_pad_step_rx":"Đẩy cần phải sang phải","rp_pad_step_ry":"Đẩy cần phải xuống dưới","join_check_bottom":"Nhấn nút mặt phía dưới (✕)","join_check_right":"Nhấn nút mặt bên phải (○)","join_check_left":"Nhấn nút mặt bên trái (□)","join_check_top":"Nhấn nút mặt phía trên (△)","rp_pad_press":"Nhấn {name}","join_check_saved":"Đã lưu cho tay cầm này trên thiết bị này. Thử ngay bên dưới.","join_check_title":"Kiểm tra tay cầm","join_done":"Xong","rp_pads_none":"Chưa thấy tay cầm nào. Hãy kết nối một tay cầm và nhấn nút bất kỳ.","rp_pad_mapped":"Chơi theo cách gán nút của bạn","join_check_unknown":"Tay cầm này không có trong danh sách của chúng tôi nên các nút có thể bị lẫn. Thiết lập chỉ mất vài giây.","rp_pad_standard":"Đã nhận diện","rp_pad_progress":"{n}/{total}","rp_pad_skip":"Bỏ qua","rp_pad_back":"Quay lại","rp_pad_cancel":"Hủy","join_check_try":"Nhấn nút và di chuyển cần: nút bạn nhấn sẽ sáng lên.","join_check_redo":"Làm lại","join_check_map":"Thiết lập nút","rp_pad_reset":"Đặt lại","join_open_lan_body":"Không vào được internet? Nếu bạn dùng cùng Wi-Fi với bạn mình, hãy mở trò chơi ở đó.","join_open_lan":"Mở trên Wi-Fi này","join_path_lan":"Mạng nhà","join_seat_taken":"{host} cần lấy lại tay cầm và trên PS5 không còn tay cầm nào trống, nên bạn đã rời trò chơi. Hãy nhờ {host} cho bạn vào lại.","join_refused_key":"Lời mời này đã hết hạn. Hãy xin {host} liên kết mới.","join_refused_expired":"Bạn đã mất chỗ trong trò chơi. Hãy nhờ {host} cho vào lại.","join_refused_full":"Trò chơi đã đủ người: đã có bốn người chơi.","join_refused_denied":"Lần này {host} chưa cho bạn vào.","join_refused_no_answer":"{host} không trả lời kịp. Hãy báo {host}, rồi thử lại.","join_refused_closed":"{host} hiện không mở Chơi cùng nhau.","join_refused_old_helper":"PS5 của {host} cần cập nhật trình trợ giúp để Chơi cùng nhau.","join_refused_not_playing":"{host} hiện không chơi. Hãy nhờ {host} bắt đầu Chơi trước.","join_refused_unreachable":"Máy tính của {host} không kết nối được với PS5. Hãy thử lại sau giây lát.","join_refused_slow_down":"Nhập sai mã quá nhiều lần. Hãy đợi một phút rồi thử lại.","join_refused_address":"Địa chỉ của liên kết này nằm ngoài mạng gia đình nên ứng dụng sẽ không dùng. Hãy nhờ {host} gửi liên kết có địa chỉ IP của máy tính.","join_refused_other":"{host} không cho bạn vào.","join_ended_kicked":"{host} đã mời bạn ra khỏi trò chơi.","join_ended_closed":"{host} đã đóng Chơi cùng nhau.","join_ended_host_stopped":"Chủ phòng đã dừng chơi.","join_ended_replaced":"Trò chơi này đã được mở ở tab khác hoặc thiết bị khác, nên đã dừng ở đây.","join_ended_pad_lost":"PS5 đã mất tay cầm của bạn, nên bạn đã ra khỏi trò chơi. Hãy nhờ {host} cho vào lại.","join_ended_gave_up":"Kết nối tới {host} không trở lại kịp.","join_net_lost":"Kết nối tới {host} đã bị ngắt. Hãy kiểm tra kết nối internet, rồi xin vào lại.","join_ended_lost":"Không liên lạc được với {host}. Hãy kiểm tra hai bên có cùng mạng không.","join_ended_left":"Bạn đã rời trò chơi.","join_net_mismatch":"Liên kết này không khớp với chủ phòng; hãy xin họ một liên kết mới.","join_net_no_direct":"Không thể kết nối trực tiếp từ mạng này (bộ định tuyến của cả hai bên đều chặt). Hãy thử Wi-Fi thay cho dữ liệu di động, hoặc nhờ chủ phòng bật UPnP.","join_net_no_room":"Lời mời này không còn mở. Hãy xin {host} một liên kết mới.","join_net_full":"Trò chơi của {host} hiện không còn chỗ cho thêm một người bạn. Hãy thử lại sau giây lát.","join_net_no_hub":"Không liên lạc được với dịch vụ lời mời của PS5Upload. Hãy kiểm tra kết nối internet rồi thử lại.","join_net_offer":"Máy tính của {host} không kết nối được với trình duyệt này. Hãy thử trình duyệt khác.","join_net_no_webrtc":"Trình duyệt này không thể tạo kết nối trực tiếp. Hãy thử Chrome, Safari hoặc Firefox bản mới.","join_cancel":"Hủy","join_host_fallback":"bạn của bạn","join_connecting":"Đang kết nối tới {host}…","join_waiting":"Đang chờ {host} cho bạn vào","join_waiting_body":"{host} sẽ thấy tên bạn trên màn hình và chạm Cho phép.","join_retry":"Thử lại","join_again":"Xin vào lại","join_playing_at":"Đang chơi ở chỗ {host}","join_you_are":"Bạn là Người chơi {n}","join_seat_stream":"Bạn đang chơi bằng người dùng PS5 của {host}. Không cần chọn người dùng.","join_plays_as":"Bạn đang chơi bằng {profile}. Không cần chọn.","join_seat_tv_asks":"{host} đã chọn một hồ sơ cho bạn nhưng không dùng được. TV sẽ hỏi bạn là ai.","join_picking":"Bấm PS, rồi chọn Chơi nhanh trên TV","join_hide_controls":"Ẩn","join_sound":"Chạm để bật tiếng","rp_unmute":"Bật âm thanh","rp_mute":"Tắt tiếng","join_no_sound":"Trình duyệt này không phát được âm thanh","join_exit_fullscreen":"Thoát toàn màn hình","pad_fill":"Toàn màn hình","join_leave":"Rời đi","join_show_controls":"Hiện các nút điều khiển","join_hold_hint":"Nhấn giữ hình ảnh để hiện các nút","pad_watch_no_hevc":"Thiết bị này không phát được hình của stream này: máy tính truyền HEVC, còn thiết bị này chỉ phát H.264.","pad_watch_decode":"Không phát được hình ở đây.","join_pad_ready":"Tay cầm của bạn đã sẵn sàng","join_check_unknown_short":"Không có trong danh sách: các nút có thể bị lẫn.","join_full_to_play":"Chạm toàn màn hình để chơi bằng tay cầm trên màn hình.","join_pad_none":"Kết nối tay cầm (USB hoặc Bluetooth) rồi bấm nút bất kỳ.","join_pad_keys":"Hoặc dùng bàn phím: WASD di chuyển, phím mũi tên D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Nhấn Quay lại trên điều khiển từ xa để hiện các nút.","join_block_note":"{host} đã tắt PS và Create với bạn bè.","join_guide_title":"Thêm một bước trên TV","join_guide_body":"Bấm PS một lần trên tay cầm. TV sẽ hỏi \"Ai đang dùng tay cầm này?\". Chọn Chơi nhanh hoặc người dùng của bạn. Chủ phòng không cần làm gì.","join_guide_menus":"Trên màn hình chính PS5 chỉ chủ phòng điều khiển menu; tay cầm của bạn chơi bên trong trò chơi.","join_guide_ok":"Đã hiểu","join_host_away":"Chủ phòng đã dừng chơi — đang chờ họ chơi lại ({time})","join_reconnecting":"Đang kết nối lại…","join_reconnecting_left":"Chỗ của bạn được giữ trong {time}.","pad_turn":"Xoay ngang điện thoại","join_game_label":"Trò chơi của {host}","join_title":"Vào trò chơi của bạn bè","join_title_body":"Chơi trên PS5 của {host} với vai Người chơi 2, 3 hoặc 4.","join_name_label":"Tên của bạn","join_name_hint":"Bạn bè sẽ thấy tên này khi bạn xin vào.","join_button":"Vào chơi"},"zh-CN":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 文件","usb_skipped_unknown":"{id}:已不在 Payload 列表中","browser_unsupported":"这需要桌面应用,无法在浏览器中使用。","video_recovered_notice":"上次 Play 在开始显示画面时崩溃,因此画面现在不使用显卡解码(可在 设置 › 窗口 › 图形 › 硬件视频解码 中更改)。","video_recovered_title":"画面现由软件解码","open_in_title":"在 PS5Upload 应用中打开?","open_in_body":"这台设备装了 PS5Upload 应用?可以在应用中打开,或继续使用浏览器。","open_in_app":"在应用中打开","open_in_browser":"继续使用浏览器","open_in_remember":"在此设备上记住我的选择","open_in_opening":"正在打开 PS5Upload 应用…","open_in_not_opened":"没有反应?这台设备可能没有安装应用。","open_in_again":"重试","pad_8bitdo_no_xinput":"这款 8BitDo 没有 X-input 模式。如果有按键不对,请检查手柄。","pad_8bitdo_how_switch":"把背面的开关拨到 X,然后按 Start","pad_8bitdo_how_startx":"先关机,然后按住 Start + X 开机","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 线","pad_8bitdo_how_manual":"方法见其说明书","pad_8bitdo_xinput":"为获得最佳效果,请将 8BitDo 切换到 X-input 模式:{how}。","rp_touch_left_stick":"左摇杆","rp_touch_right_stick":"右摇杆","rp_touch_touchpad":"触摸板","rp_menu":"菜单","rp_pad_step_lx":"将左摇杆推向右","rp_pad_step_ly":"将左摇杆推向下","rp_pad_step_rx":"将右摇杆推向右","rp_pad_step_ry":"将右摇杆推向下","join_check_bottom":"按下方的功能键 (✕)","join_check_right":"按右侧的功能键 (○)","join_check_left":"按左侧的功能键 (□)","join_check_top":"按上方的功能键 (△)","rp_pad_press":"按 {name}","join_check_saved":"已在此设备上为这个手柄保存。可在下方试用。","join_check_title":"检查你的手柄","join_done":"完成","rp_pads_none":"还没有检测到手柄。请连接一个手柄并按任意按钮。","rp_pad_mapped":"使用你的按键映射","join_check_unknown":"这个手柄不在我们的列表中,按键可能会错位。设置只需几秒钟。","rp_pad_standard":"已识别","rp_pad_progress":"{n}/{total}","rp_pad_skip":"跳过","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按键、推动摇杆:按下的部分会亮起。","join_check_redo":"重新设置","join_check_map":"设置按键","rp_pad_reset":"重置","join_open_lan_body":"连不上互联网?如果你和朋友在同一个 Wi-Fi 上,就在那里打开游戏。","join_open_lan":"在此 Wi-Fi 上打开","join_path_lan":"家庭网络","join_path_internet":"互联网","join_seat_taken":"{host} 需要收回手柄,而 PS5 上没有其他空闲手柄,所以你已退出游戏。请 {host} 再次让你加入。","join_refused_key":"此邀请已过期。请向 {host} 要一个新链接。","join_refused_expired":"你在游戏中的位置已失去。请让 {host} 再次放你进去。","join_refused_full":"游戏已满:已经有四名玩家。","join_refused_denied":"{host} 这次没有让你加入。","join_refused_no_answer":"{host} 没有及时响应。请告诉 {host},然后重试。","join_refused_closed":"{host} 目前没有开启一起畅玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起畅玩。","join_refused_not_playing":"{host} 现在没在玩。请让 {host} 先开始畅玩。","join_refused_unreachable":"{host} 的电脑无法连接到其 PS5。请稍后再试。","join_refused_slow_down":"错误的代码太多。请等一分钟后再试。","join_refused_address":"此链接的地址不在你的家庭网络内,因此应用不会使用它。请向 {host} 索取包含其电脑 IP 地址的链接。","join_refused_other":"{host} 没有让你加入。","join_ended_kicked":"{host} 已将你移出游戏。","join_ended_closed":"{host} 已关闭一起畅玩。","join_ended_host_stopped":"房主已停止游戏。","join_ended_replaced":"这场游戏在另一个标签页或另一台设备上打开了,所以这里已停止。","join_ended_pad_lost":"PS5 丢失了你的手柄,所以你已退出游戏。请让 {host} 再次放你进去。","join_ended_gave_up":"与 {host} 的连接未能及时恢复。","join_net_lost":"与 {host} 的连接已断开。请检查你的互联网连接,然后重新请求。","join_ended_lost":"无法连接到 {host}。请检查你们是否在同一网络。","join_ended_left":"你已离开游戏。","join_net_mismatch":"此链接与主机不匹配;请向对方要一个新链接。","join_net_no_direct":"无法从此网络直接连接(双方的路由器都很严格)。请改用 Wi-Fi 而不是移动数据,或请主机打开 UPnP。","join_net_no_room":"此邀请已失效。请向 {host} 要一个新链接。","join_net_full":"{host} 的游戏现在没有位置再加一位朋友。请稍后再试。","join_net_no_hub":"无法连接 PS5Upload 邀请服务。请检查网络连接后重试。","join_net_offer":"{host} 的电脑无法连接到此浏览器。请换一个浏览器试试。","join_net_no_webrtc":"此浏览器无法建立直接连接。请使用较新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在连接 {host}…","join_waiting":"正在等待 {host} 让你加入","join_waiting_body":"{host} 会在屏幕上看到你的名字并点按“允许”。","join_retry":"重试","join_again":"再次请求加入","join_playing_at":"正在 {host} 那里玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 用户身份游玩,无需选择用户。","join_plays_as":"你正在以 {profile} 的身份游玩,无需选择。","join_seat_tv_asks":"{host} 为你选择了个人资料,但无法使用。电视会询问你是谁。","join_picking":"按 PS 键,然后在电视上选择“快速游戏”","join_hide_controls":"隐藏","join_sound":"点按开启声音","rp_unmute":"开启声音","rp_mute":"静音","join_no_sound":"此浏览器无法播放声音","join_exit_fullscreen":"退出全屏","pad_fill":"全屏","join_leave":"离开","join_show_controls":"显示控制按钮","join_hold_hint":"长按画面以显示按钮","pad_watch_no_hevc":"此设备无法播放这个串流的画面:电脑以 HEVC 串流,而此设备只能播放 H.264。","pad_watch_decode":"无法在这里播放画面。","join_pad_ready":"你的手柄已就绪","join_check_unknown_short":"不在我们的列表中:按键可能错位。","join_full_to_play":"点按全屏,即可用屏幕手柄游玩。","join_pad_none":"连接手柄(USB 或 Bluetooth),然后按任意键。","join_pad_keys":"也可以用键盘:WASD 移动,方向键为十字键,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遥控器上的返回键显示按钮。","join_block_note":"{host} 已为好友关闭 PS 和 Create 键。","join_guide_title":"电视上还差一步","join_guide_body":"在手柄上按一次 PS 键。电视会询问“谁在使用这个手柄?”。选择“快速游戏”或你自己的用户。主机玩家无需任何操作。","join_guide_menus":"在 PS5 主屏幕上只有房主能操作菜单;你的手柄在游戏里使用。","join_guide_ok":"知道了","join_host_away":"房主已停止游戏 — 正在等待对方重新开始({time})","join_reconnecting":"正在重新连接…","join_reconnecting_left":"你的位置会保留 {time}。","pad_turn":"请横放手机","join_game_label":"{host} 的游戏","join_title":"加入好友的游戏","join_title_body":"在 {host} 的 PS5 上作为玩家 2、3 或 4 游玩。","join_name_label":"你的名字","join_name_hint":"你请求加入时,好友会看到这个名字。","join_button":"加入"},"zh-TW":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 檔案","usb_skipped_unknown":"{id}:已不在 Payload 清單中","browser_unsupported":"這需要桌面應用程式,無法在瀏覽器中使用。","video_recovered_notice":"上次 Play 在開始顯示畫面時當掉,因此畫面現在不使用顯示卡解碼(可在 設定 › 視窗 › 圖形 › 硬體視訊解碼 中變更)。","video_recovered_title":"畫面現改由軟體解碼","open_in_title":"在 PS5Upload 應用程式中開啟?","open_in_body":"這台裝置有 PS5Upload 應用程式?可以在應用程式中開啟,或繼續使用瀏覽器。","open_in_app":"在應用程式中開啟","open_in_browser":"繼續使用瀏覽器","open_in_remember":"在此裝置上記住我的選擇","open_in_opening":"正在開啟 PS5Upload 應用程式…","open_in_not_opened":"沒有反應?這台裝置可能沒有安裝應用程式。","open_in_again":"重試","pad_8bitdo_no_xinput":"這款 8BitDo 沒有 X-input 模式。如果有按鍵不對,請檢查控制器。","pad_8bitdo_how_switch":"把背面的開關撥到 X,然後按 Start","pad_8bitdo_how_startx":"先關機,然後按住 Start + X 開機","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 線","pad_8bitdo_how_manual":"方法請見其說明書","pad_8bitdo_xinput":"為獲得最佳效果,請將 8BitDo 切換到 X-input 模式:{how}。","rp_touch_left_stick":"左類比搖桿","rp_touch_right_stick":"右類比搖桿","rp_touch_touchpad":"觸控板","rp_menu":"選單","rp_pad_step_lx":"將左類比搖桿推向右","rp_pad_step_ly":"將左類比搖桿推向下","rp_pad_step_rx":"將右類比搖桿推向右","rp_pad_step_ry":"將右類比搖桿推向下","join_check_bottom":"按下方的功能鍵 (✕)","join_check_right":"按右側的功能鍵 (○)","join_check_left":"按左側的功能鍵 (□)","join_check_top":"按上方的功能鍵 (△)","rp_pad_press":"按下 {name}","join_check_saved":"已在此裝置上為這個控制器儲存。可在下方試用。","join_check_title":"檢查你的控制器","join_done":"完成","rp_pads_none":"尚未偵測到控制器。請連接一個控制器並按下任一按鈕。","rp_pad_mapped":"使用你的按鍵對應","join_check_unknown":"這個控制器不在我們的清單中,按鍵可能會錯位。設定只需幾秒鐘。","rp_pad_standard":"已辨識","rp_pad_progress":"{n}/{total}","rp_pad_skip":"略過","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按鍵、推動搖桿:按下的部分會亮起。","join_check_redo":"重新設定","join_check_map":"設定按鍵","rp_pad_reset":"重設","join_open_lan_body":"連不上網際網路?如果你和朋友在同一個 Wi-Fi 上,就在那裡開啟遊戲。","join_open_lan":"在此 Wi-Fi 上開啟","join_path_lan":"家用網路","join_path_internet":"網際網路","join_seat_taken":"{host} 需要收回控制器,而 PS5 上沒有其他空閒的控制器,所以你已離開遊戲。請 {host} 再次讓你加入。","join_refused_key":"此邀請已過期。請向 {host} 要一個新連結。","join_refused_expired":"你在遊戲中的位置已失去。請讓 {host} 再次放你進去。","join_refused_full":"遊戲已滿:已經有四名玩家。","join_refused_denied":"{host} 這次沒有讓你加入。","join_refused_no_answer":"{host} 沒有及時回應。請告訴 {host},然後再試一次。","join_refused_closed":"{host} 目前沒有開啟一起暢玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起暢玩。","join_refused_not_playing":"{host} 現在沒在玩。請讓 {host} 先開始暢玩。","join_refused_unreachable":"{host} 的電腦無法連線到其 PS5。請稍後再試。","join_refused_slow_down":"錯誤的代碼太多。請等一分鐘後再試。","join_refused_address":"此連結的位址不在你的家用網路內,因此應用程式不會使用它。請向 {host} 索取包含其電腦 IP 位址的連結。","join_refused_other":"{host} 沒有讓你加入。","join_ended_kicked":"{host} 已將你移出遊戲。","join_ended_closed":"{host} 已關閉一起暢玩。","join_ended_host_stopped":"房主已停止遊戲。","join_ended_replaced":"這場遊戲在另一個分頁或另一台裝置上開啟了,所以這裡已停止。","join_ended_pad_lost":"PS5 遺失了你的控制器,所以你已退出遊戲。請讓 {host} 再次放你進去。","join_ended_gave_up":"與 {host} 的連線未能及時恢復。","join_net_lost":"與 {host} 的連線已中斷。請檢查你的網際網路連線,然後重新要求。","join_ended_lost":"無法連線到 {host}。請確認你們是否在同一個網路。","join_ended_left":"你已離開遊戲。","join_net_mismatch":"這個連結與主機不符;請向對方要一個新連結。","join_net_no_direct":"無法從這個網路直接連線(雙方的路由器都很嚴格)。請改用 Wi-Fi 而非行動數據,或請主機開啟 UPnP。","join_net_no_room":"這個邀請已失效。請向 {host} 要一個新連結。","join_net_full":"{host} 的遊戲目前沒有位置再加一位朋友。請稍後再試。","join_net_no_hub":"無法連線到 PS5Upload 邀請服務。請檢查網路連線後再試一次。","join_net_offer":"{host} 的電腦無法連線到這個瀏覽器。請換個瀏覽器試試。","join_net_no_webrtc":"這個瀏覽器無法建立直接連線。請使用較新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在連線到 {host}…","join_waiting":"正在等待 {host} 讓你加入","join_waiting_body":"{host} 會在螢幕上看到你的名字並點選「允許」。","join_retry":"重試","join_again":"再次要求加入","join_playing_at":"正在 {host} 那裡玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 使用者身分遊玩,不需要選擇使用者。","join_plays_as":"你正以 {profile} 的身分遊玩,無需選擇。","join_seat_tv_asks":"{host} 為你選了一個個人檔案,但無法使用。電視會詢問你是誰。","join_picking":"按下 PS,然後在電視上選擇「快速遊玩」","join_hide_controls":"隱藏","join_sound":"點一下開啟聲音","rp_unmute":"開啟聲音","rp_mute":"靜音","join_no_sound":"此瀏覽器無法播放聲音","join_exit_fullscreen":"離開全螢幕","pad_fill":"全螢幕","join_leave":"離開","join_show_controls":"顯示控制項","join_hold_hint":"長按畫面以顯示按鈕","pad_watch_no_hevc":"此裝置無法播放這個串流的畫面:電腦以 HEVC 串流,而此裝置只能播放 H.264。","pad_watch_decode":"無法在這裡播放畫面。","join_pad_ready":"你的控制器已就緒","join_check_unknown_short":"不在我們的清單中:按鍵可能錯位。","join_full_to_play":"點一下全螢幕,即可用螢幕上的控制器遊玩。","join_pad_none":"連接控制器(USB 或 Bluetooth),然後按任意按鈕。","join_pad_keys":"也可以用鍵盤:WASD 移動,方向鍵為十字鍵,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遙控器上的返回鍵以顯示按鈕。","join_block_note":"{host} 已為好友關閉 PS 和 Create 按鈕。","join_guide_title":"電視上還差一步","join_guide_body":"在控制器上按一次 PS 按鈕。電視會詢問「誰在使用這支控制器?」。選擇「快速遊玩」或你自己的使用者。主持人不需要任何操作。","join_guide_menus":"在 PS5 主畫面上只有房主能操作選單;你的控制器在遊戲裡使用。","join_guide_ok":"知道了","join_host_away":"房主已停止遊戲 — 正在等待對方重新開始({time})","join_reconnecting":"正在重新連線…","join_reconnecting_left":"你的位置會保留 {time}。","pad_turn":"請橫放手機","join_game_label":"{host} 的遊戲","join_title":"加入好友的遊戲","join_title_body":"在 {host} 的 PS5 上以玩家 2、3 或 4 的身分遊玩。","join_name_label":"你的名字","join_name_hint":"你要求加入時,好友會看到這個名字。","join_button":"加入"}}),ke=new Set([`ar`,`fa`]);function Ae(){let e=Object.keys(Oe);try{let t=localStorage.getItem(`ps5upload.lang`);if(t&&e.includes(t))return t}catch{}let t=typeof navigator>`u`?[]:[...navigator.languages??[],navigator.language];for(let n of t){if(!n)continue;if(e.includes(n))return n;let t=n.split(`-`)[0],r=e.find(e=>e===t);if(r)return r;if(t===`zh`)return/TW|HK|MO|Hant/i.test(n)?`zh-TW`:`zh-CN`;let i=e.find(e=>e.split(`-`)[0]===t);if(i)return i}return`en`}var je=Ae();typeof document<`u`&&(document.documentElement.lang=je,document.documentElement.dir=ke.has(je)?`rtl`:`ltr`);var Me=Oe[je]??{},Ne=Oe.en??{},Pe=(e,t)=>t?e.replace(/\{(\w+)\}/g,(e,n)=>n in t?String(t[n]):e):e,Fe=((e,t,n)=>{let r=typeof t==`string`?void 0:t,i=typeof t==`string`?t:n;return Pe(Me[e]??Ne[e]??i??e,r)});function Ie(){return Fe}var Le=4e3;function Re(e,t,n=`lan`){let r=new URLSearchParams(e.replace(/^#/,``)).get(n);if(!r)return null;try{let e=new URL(r),n=e.origin+e.pathname;return/^https?:$/.test(e.protocol)&&r===n&&RegExp(`/${t}/?$`).test(e.pathname)?n:null}catch{return null}}function ze(e,t){return t.key?`${e}#i=${encodeURIComponent(t.key)}`:t.watch?`${e}#w=1`:e}function Be(e,t=Le,n=typeof WebSocket>`u`?void 0:WebSocket){return new Promise(r=>{try{let i=new n(e),a=e=>{clearTimeout(o),i.onopen=i.onclose=i.onerror=null,i.close(),r(e)},o=setTimeout(()=>a(!1),t);i.onopen=()=>a(!0),i.onclose=i.onerror=()=>a(!1)}catch{r(!1)}})}var Ve=[`mismatch`,`no_direct`,`no_room`,`net_full`,`no_hub`,`offer`,`no_webrtc`],He=4100;function Ue(e){if(!e||e.code!==4100||typeof e.reason!=`string`||!e.reason.startsWith(`net:`))return null;let t=e.reason.slice(4);return Ve.includes(t)?t:null}var We=new Set([`key`,`expired`,`full`,`denied`,`no_answer`,`closed`,`old_helper`,`not_playing`,`unreachable`,`slow_down`,`address`,`seat_taken`]),Ge={kicked:`kicked`,host_stopped:`host_stopped`,replaced:`replaced`,lost:`pad_lost`,seat_taken:`seat_taken`},Ke=new Set([`asking`,`picking_user`,`playing`,`reconnecting`,`left`]),qe=e=>Math.max(0,Math.min(255,Math.round(Number(e)||0)));function Je(e){let t;try{let n=JSON.parse(e);if(!n||typeof n!=`object`)return null;t=n}catch{return null}if(typeof t.pong==`number`)return{kind:`pong`,t:t.pong};if(t.stage===`asking`)return{kind:`asking`};if(t.stage===`waiting`)return{kind:`waiting`};if(t.stage===`joined`&&typeof t.player==`number`&&typeof t.token==`string`)return{kind:`joined`,player:t.player,token:t.token,hevc:t.hevc===!0,track:t.track===!0,audio:t.audio===!0};if(t.stage===`refused`){let e=String(t.why??``);return{kind:`refused`,why:We.has(e)?e:`refused`}}if(typeof t.bye==`string`)return{kind:`bye`,why:Object.prototype.hasOwnProperty.call(Ge,t.bye)?Ge[t.bye]:`closed`};if(t.status&&typeof t.status==`object`){let e=t.status,n=typeof e.state==`string`&&Ke.has(e.state)?e.state:null;return{kind:`status`,status:{player:typeof e.player==`number`?e.player:0,state:n,rttMs:typeof e.rtt_ms==`number`?e.rtt_ms:null,host:typeof e.host==`string`&&e.host?e.host:null,blockSystem:e.block_system===!0,streamSeat:e.stream_seat===!0,playsAs:typeof e.plays_as==`string`&&e.plays_as?e.plays_as:null,seatNote:typeof e.seat_note==`string`&&e.seat_note?e.seat_note:null}}}let n=Array.isArray(t.rumble)?[qe(t.rumble[0]),qe(t.rumble[1])]:null,r=Array.isArray(t.light)?[qe(t.light[0]),qe(t.light[1]),qe(t.light[2])]:null;return n||r?{kind:`feedback`,rumble:n,light:r}:null}function Ye(e){return Math.max(-32768,Math.min(32767,Math.round(e)))+32768>>8}function Xe([e,t]){return[Math.max(0,Math.min(1919,Math.round(e))),Math.max(0,Math.min(1079,Math.round(t*1079/941)))]}function Ze(e,t){let n=t.touch?[[0,...Xe(t.touch)]]:[],r=t.motion??null,i=16+n.length*5+(r?25:0),a=new ArrayBuffer(i),o=new DataView(a),s=0;o.setUint8(s++,1),o.setUint32(s,e>>>0,!0),s+=4,o.setUint32(s,t.buttons>>>0,!0),s+=4;for(let e of[t.lx,t.ly,t.rx,t.ry])o.setUint8(s++,Ye(e));o.setUint8(s++,qe(t.l2)),o.setUint8(s++,qe(t.r2)),o.setUint8(s++,n.length);for(let[e,t,r]of n)o.setUint8(s++,e),o.setUint16(s,t,!0),s+=2,o.setUint16(s,r,!0),s+=2;if(r){o.setUint8(s++,2);for(let e of[...r.gyro,...r.accel])o.setFloat32(s,e/1e3,!0),s+=4}return new Uint8Array(a)}function Qe(e){return Math.min(4e3,250*2**Math.max(0,Math.min(e,10)))}var $e=6e4,et=6e4;function tt(e){return e&&/^[0-9A-Fa-f]{2}(:[0-9A-Fa-f]{2}){31}$/.test(e)?e.toUpperCase():null}function nt(e){let t=new URLSearchParams(e.replace(/^#/,``)),n=t.get(`room`)??``,r=t.get(`k`)??``,i=t.get(`fp`)??``,a=t.get(`hub`)??``;return!/^[A-Za-z0-9_-]{22}$/.test(n)||!/^[A-Za-z0-9_-]{8,128}$/.test(r)||!tt(i)||!/^([A-Za-z0-9.-]{1,253}|\[[0-9A-Fa-f:.]{2,45}\])(:\d{1,5})?$/.test(a)?null:{room:n,key:r,fp:i.toUpperCase(),hub:a}}function rt(e){return`ps5upload://join?link=${encodeURIComponent(e)}`}function it(e){return e==null||!Number.isFinite(e)?`none`:e<60?`good`:e<120?`fair`:`slow`}function at(e){switch(e){case 1:return[0,0,255];case 2:return[255,0,0];case 3:return[0,255,0];default:return[255,0,255]}}var ot=(e,t)=>`#version 300 es +`+e.stack}}var Ve=Object.prototype.hasOwnProperty,He=t.unstable_scheduleCallback,Ue=t.unstable_cancelCallback,We=t.unstable_shouldYield,Ge=t.unstable_requestPaint,Ke=t.unstable_now,qe=t.unstable_getCurrentPriorityLevel,Je=t.unstable_ImmediatePriority,Ye=t.unstable_UserBlockingPriority,Xe=t.unstable_NormalPriority,Ze=t.unstable_LowPriority,Qe=t.unstable_IdlePriority,$e=t.log,et=t.unstable_setDisableYieldValue,tt=null,nt=null;function rt(e){if(typeof $e==`function`&&et(e),nt&&typeof nt.setStrictMode==`function`)try{nt.setStrictMode(tt,e)}catch{}}var it=Math.clz32?Math.clz32:st,at=Math.log,ot=Math.LN2;function st(e){return e>>>=0,e===0?32:31-(at(e)/ot|0)|0}var ct=256,lt=262144,ut=4194304;function dt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ft(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=dt(n))):i=dt(o):i=dt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=dt(n))):i=dt(o)):i=dt(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function pt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function mt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function vt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function yt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=vr),xr=` `,Sr=!1;function Cr(e,t){switch(e){case`keyup`:return gr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function wr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Tr=!1;function Er(e,t){switch(e){case`compositionend`:return wr(t);case`keypress`:return t.which===32?(Sr=!0,xr):null;case`textInput`:return e=t.data,e===xr&&Sr?null:e;default:return null}}function Dr(e,t){if(Tr)return e===`compositionend`||!_r&&Cr(e,t)?(e=zn(),Rn=Ln=In=null,Tr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Xr(n)}}function Qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $r(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yr(e.document)}return t}function ei(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var ti=Nn&&`documentMode`in document&&11>=document.documentMode,ni=null,ri=null,ii=null,ai=!1;function oi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ai||ni==null||ni!==Yr(r)||(r=ni,`selectionStart`in r&&ei(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ii&&Jr(ii,r)||(ii=r,r=Jf(ri,`onSelect`),0>=o,i-=o,ea=1<<32-it(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),L&&na(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),L&&na(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return L&&na(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),L&&na(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===ie&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case ne:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===ie){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),uo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&ro(l)===r.type){n(e,r.sibling),c=a(r,o.props),uo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===ie?(c=F(o.props.children,e.mode,c,o.key),uo(c,o),c.return=e,e=c):(c=Vi(o.type,o.key,o.props,null,e.mode,c),uo(c,o),c.return=e,e=c)}return s(e);case re:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Wi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=ro(o),_(e,r,o,c)}if(be(o))return h(e,r,o,c);if(_e(o)){if(l=_e(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,lo(o),c);if(o.$$typeof===se)return _(e,r,ka(e,o),c);fo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Hi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{co=0;var i=_(e,t,n,r);return so=null,i}catch(t){if(t===Za||t===$a)throw t;var a=Li(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var mo=po(!0),ho=po(!1),go=!1;function _o(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Pi(e),Ni(e,null,n),t}return Ai(e,r,t,n),Pi(e)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Co=!1;function wo(){if(Co){var e=Ha;if(e!==null)throw e}}function To(e,t,n,r){Co=!1;var i=e.updateQueue;go=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===Va&&(Co=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=E({},d,f);break a;case 2:go=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),od|=o,e.lanes=o,e.memoizedState=d}}function Eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Do(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=A.T,s={};s.types=o===null?null:o.types,A.T=s,dc(e,!1,t,n);try{var c=i(),l=A.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?uc(e,t,Ga(c,r),jd(e)):uc(e,t,r,jd(e))}catch(n){uc(e,t,{then:function(){},status:`rejected`,reason:n},jd())}finally{j.p=a,o!==null&&s.types!==null&&(o.types=s.types),A.T=o}}function ec(){}function tc(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=nc(e).queue;$s(e,a,t,xe,n===null?ec:function(){return rc(e),n(r)})}function nc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:xe,baseState:xe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fs,lastRenderedState:xe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rc(e){var t=nc(e);t.next===null&&(t=e.alternate.memoizedState),uc(e,t.next.queue,{},jd())}function ic(){return Oa(sh)}function ac(){return ss().memoizedState}function oc(){return ss().memoizedState}function sc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=jd();e=yo(n);var r=bo(t,e,n);r!==null&&(Pd(r,t,n),xo(r,t,n)),t={cache:Pa()},e.payload=t;return}t=t.return}}function cc(e,t,n){var r=jd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},fc(e)?pc(t,n):(n=ji(e,t,n,r),n!==null&&(Pd(n,e,r),mc(n,t,r)))}function lc(e,t,n){uc(e,t,n,jd())}function uc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(fc(e))pc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,qr(s,o))return Ai(e,t,i,0),q===null&&ki(),!1}catch{}if(n=ji(e,t,i,r),n!==null)return Pd(n,e,r),mc(n,t,r),!0}return!1}function dc(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},fc(e)){if(t)throw Error(i(479))}else t=ji(e,n,r,2),t!==null&&Pd(t,e,2)}function fc(e){var t=e.alternate;return e===B||t!==null&&t===B}function pc(e,t){Ko=Go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}var hc={readContext:Oa,use:us,useCallback:H,useContext:H,useEffect:H,useImperativeHandle:H,useLayoutEffect:H,useInsertionEffect:H,useMemo:H,useReducer:H,useRef:H,useState:H,useDebugValue:H,useDeferredValue:H,useTransition:H,useSyncExternalStore:H,useId:H,useHostTransitionStatus:H,useFormState:H,useActionState:H,useOptimistic:H,useMemoCache:H,useCacheRefresh:H,useEffectEvent:H},gc={readContext:Oa,use:us,useCallback:function(e,t){return os().memoizedState=[e,t===void 0?null:t],e},useContext:Oa,useEffect:Bs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Rs(4194308,4,Ks.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Rs(4194308,4,e,t)},useInsertionEffect:function(e,t){Rs(4,2,e,t)},useMemo:function(e,t){var n=os();t=t===void 0?null:t;var r=e();if(qo){rt(!0);try{e()}finally{rt(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=os();if(n!==void 0){var i=n(t);if(qo){rt(!0);try{n(t)}finally{rt(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=cc.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=os();return e={current:e},t.memoizedState=e},useState:function(e){e=Ss(e);var t=e.queue,n=lc.bind(null,B,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Js,useDeferredValue:function(e,t){return Zs(os(),e,t)},useTransition:function(){var e=Ss(!1);return e=$s.bind(null,B,e.queue,!0,!1),os().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=B,a=os();if(L){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),q===null)throw Error(i(349));Y&127||_s(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Bs(ys.bind(null,r,o,e),[e]),r.flags|=2048,Is(9,{destroy:void 0},vs.bind(null,r,o,n,t),null),n},useId:function(){var e=os(),t=q.identifierPrefix;if(L){var n=ta,r=ea;n=(r&~(1<<32-it(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Jo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[Ot]=t,o[kt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(np(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&ml(t)}}return U(t),t.subtreeFlags&=-33554433,hl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&ml(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Oe.current,ma(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=sa,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Ot]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ep(e.nodeValue,n)),e||da(t,!0)}else e=lp(e).createTextNode(r),e[Ot]=t,t.stateNode=e}return U(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=ma(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;U(t),e=!1}else n=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(zo(t),t):(zo(t),null);if(t.flags&128)throw Error(i(558))}return U(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=ma(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;U(t),a=!1}else a=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(zo(t),t):(zo(t),null)}return zo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),_l(t,t.updateQueue),U(t),null);case 4:return je(),e===null&&Wf(t.stateNode.containerInfo),t.flags|=67108864,U(t),null;case 10:return Sa(t.type),U(t),null;case 19:if(Vo(t),r=t.memoizedState,r===null)return U(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)vl(r,!1);else{if(ad!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ho(e),o!==null){for(t.flags|=128,vl(r,!1),e=o.updateQueue,t.updateQueue=e,_l(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Bi(n,e),n=n.sibling;return z(t,Bo.current&1|2),L&&na(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ke()>gd&&(t.flags|=128,a=!0,vl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Ho(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,_l(t,e),vl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!L)return U(t),null}else 2*Ke()-r.renderingStartTime>gd&&n!==536870912&&(t.flags|=128,a=!0,vl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ke(),e.sibling=null,o=Bo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||L?z(t,o):(n=o,M(No,t),M(Bo,n),Po===null&&(Po=t)),L&&na(t,r.treeForkCount),e}return U(t),null;case 22:case 23:return zo(t),Mo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(U(t),t.subtreeFlags&6&&(t.flags|=8192)):U(t),n=t.updateQueue,n!==null&&_l(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&Te(qa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sa(Na),U(t),null;case 25:return null;case 30:return t.flags|=33554432,U(t),null}throw Error(i(156,t.tag))}function bl(e,t){switch(aa(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(Na),je(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ne(t),null;case 31:if(t.memoizedState!==null){if(zo(t),t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(zo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Vo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return je(),null;case 10:return Sa(t.type),null;case 22:case 23:return zo(t),Mo(),e!==null&&Te(qa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(Na),null;case 25:return null;default:return null}}function xl(e,t){switch(aa(t),t.tag){case 3:Sa(Na),je();break;case 26:case 27:case 5:Ne(t);break;case 4:je();break;case 31:t.memoizedState!==null&&zo(t);break;case 13:zo(t);break;case 19:Vo(t);break;case 10:Sa(t.type);break;case 22:case 23:zo(t),Mo(),e!==null&&Te(qa);break;case 24:Sa(Na)}}function Sl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Cl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function wl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Do(t,n)}catch(t){Z(e,e.return,t)}}}function Tl(e,t,n){n.props=Cc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function El(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=Si(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);f(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function Dl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}}function Ol(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),np(r,t,n),r[Ot]=e,Ht(r),t=r;break a;case`link`:if(o=Gm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=Zr(s,h),v=Zr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,A.T=null,n=wd,wd=null;var o=bd,s=Sd;if(yd=0,xd=bd=null,Sd=0,K&6)throw Error(i(331));var c=K;if(K|=4,Yu(o.current),Vu(o,o.current,s,n),K=c,Df(0,!1),nt&&typeof nt.onPostCommitFiberRoot==`function`)try{nt.onPostCommitFiberRoot(tt,o)}catch{}return!0}finally{j.p=a,A.T=r,uf(e,t)}}function pf(e,t,n){t=Ki(n,t),t=kc(e.stateNode,t,2),e=bo(e,t,2),e!==null&&(vt(e,2),Ef(e))}function Z(e,t,n){if(e.tag===3)pf(e,e,n);else for(;t!==null;){if(t.tag===3){pf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(vd===null||!vd.has(r))){e=Ki(n,e),n=Ac(2),r=bo(t,n,2),r!==null&&(jc(n,r,t,e),vt(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $u;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(rd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(ad===4||ad===3&&(Y&62914560)===Y&&300>Ke()-md?K&2?cd|=n:Vd(e,0):cd|=n,ud===Y&&(ud=0)),Ef(e)}function gf(e,t){t===0&&(t=gt()),e=Mi(e,t),e!==null&&(vt(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return He(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-it(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Y,a=ft(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||pt(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&hp()&&(e=Tf);for(var t=Ke(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}yd!==0&&yd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=ln(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),Ht(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+ln(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+ln(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+ln(n.imageSizes)+`"]`)):i+=`[href="`+ln(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=E({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[It]=!0,o.onload=o.onerror=function(){Ut(o)}),Ht(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+ln(r)+`"][href="`+ln(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=E({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),Ht(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=Vt(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=E({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Ht(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var a=(a=Oe.current)?bm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=Vt(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=Vt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=Vt(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Pm(e){return`href="`+ln(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[It]){r.loading=1;return}}else t=e.createElement(`link`),t[It]=!0,t.onload=t.onerror=Ut.bind(null,t),np(t,`link`,n),Ht(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+ln(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+ln(n.href)+`"]`);if(r)return t.instance=r,Ht(r),r;var a=E({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ht(r),np(r,`style`,a),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Pm(n.href);var o=e.querySelector(Fm(a));if(o)return t.state.loading|=4,t.instance=o,Ht(o),o;r=Im(n),(a=vm.get(a))&&Hm(r,a),o=(e.ownerDocument||e).createElement(`link`),Ht(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),np(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(a=e.querySelector(zm(o)))?(t.instance=a,Ht(a),a):(r=n,(a=vm.get(o))&&(r=E({},n),Um(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ht(a),np(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ht(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Ht(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=b()}))(),S=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function ee(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:S(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var C=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},w=e=>{let t=C(e);return t.charAt(0).toUpperCase()+t.slice(1)},T=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),E={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function te(e){return e!=null}function ne(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??E.width,a=e.size??e.height??E.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?T(...c):T(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??E[`stroke-width`])*Number(e.size??e.width??E.width)/Number(t.size??t.width??E.width):t.strokeWidth??E[`stroke-width`];return[`svg`,{...Object.entries(E).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&te(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&te(t.width)&&{[r(`width`)]:t.width},...`height`in t&&te(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function re(e,t={}){return ne(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var ie=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},D=u(_(),1),ae=(0,D.createContext)({}),oe=()=>(0,D.useContext)(ae),se=(0,D.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=oe()??{},y=!!c||ie(d),[b,x,S=[]]=re(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:T(v,s),hasA11yProp:y,attributes:d});return(0,D.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,D.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function ce(e,t=[],n=[]){let r=typeof e==`string`?ee(e,t,n):e,i=(0,D.forwardRef)(({className:e,...t},n)=>(0,D.createElement)(se,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=w(r.name)),i}var le={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};le.node;var ue=ce(le),de={name:`expand`,size:24,node:[[`path`,{d:`m15 15 6 6`,key:`1s409w`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}],[`path`,{d:`M21 16v5h-5`,key:`1ck2sf`}],[`path`,{d:`M21 8V3h-5`,key:`1qoq8a`}],[`path`,{d:`M3 16v5h5`,key:`1t08am`}],[`path`,{d:`m3 21 6-6`,key:`wwnumi`}],[`path`,{d:`M3 8V3h5`,key:`1ln10m`}],[`path`,{d:`M9 9 3 3`,key:`v551iv`}]]};de.node;var O=ce(de),fe={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};fe.node;var pe=ce(fe),k={name:`gamepad-2`,size:24,node:[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`,key:`1gktln`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`,key:`qnk9ow`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`,key:`krot7o`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`,key:`1lcuu1`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`,key:`mfqc10`}]]};k.node;var me=ce(k),he={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};he.node;var ge=ce(he),_e={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};_e.node;var ve=ce(_e),ye={name:`minimize`,size:24,node:[[`path`,{d:`M8 3v3a2 2 0 0 1-2 2H3`,key:`hohbtr`}],[`path`,{d:`M21 8h-3a2 2 0 0 1-2-2V3`,key:`5jw1f3`}],[`path`,{d:`M3 16h3a2 2 0 0 1 2 2v3`,key:`198tvr`}],[`path`,{d:`M16 21v-3a2 2 0 0 1 2-2h3`,key:`ph8mxp`}]]};ye.node;var be=ce(ye),A={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};A.node;var j=ce(A),xe={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};xe.node;var Se=ce(xe),Ce={name:`volume-2`,size:24,node:[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]};Ce.node;var we=ce(Ce),Te={name:`volume-x`,size:24,node:[[`path`,{d:`M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z`,key:`1p7khw`}],[`path`,{d:`m16.5 14.5 5-5`,key:`cul3yw`}],[`path`,{d:`m16.5 9.5 5 5`,key:`1akey5`}]]};Te.node;var M=ce(Te),Ee={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Ee.node;var De=ce(Ee),Oe=({"ar":{"usb_skipped_not_payload":"{name}: ليس ملف .elf أو .bin","usb_skipped_unknown":"{id}: لم يعد في قائمة الحمولات","browser_unsupported":"يتطلب هذا تطبيق سطح المكتب. لا يعمل في المتصفح.","video_recovered_notice":"تعطّل «العب» في المرة السابقة أثناء بدء الصورة، لذا يُفك ترميز الصورة الآن بدون بطاقة الرسومات (للتغيير: الإعدادات › النافذة › الرسومات › فك ترميز الفيديو بالعتاد).","video_recovered_title":"يُفك ترميز الصورة الآن برمجيًا","open_in_title":"هل تفتحه في تطبيق PS5Upload؟","open_in_body":"هل لديك تطبيق PS5Upload على هذا الجهاز؟ افتح الرابط فيه، أو تابع في المتصفح.","open_in_app":"فتح في التطبيق","open_in_browser":"المتابعة في المتصفح","open_in_remember":"تذكّر اختياري على هذا الجهاز","open_in_opening":"جارٍ فتح تطبيق PS5Upload…","open_in_not_opened":"لم يحدث شيء؟ ربما التطبيق غير مثبّت على هذا الجهاز.","open_in_again":"حاول مجددًا","pad_8bitdo_no_xinput":"لا يحتوي جهاز 8BitDo هذا على وضع X-input. إذا كان أحد الأزرار خاطئًا، فافحص وحدة التحكم.","pad_8bitdo_how_switch":"اضبط المفتاح في الخلف على X ثم اضغط Start","pad_8bitdo_how_startx":"أطفئه، ثم اضغط مطولًا على Start + X لتشغيله","pad_8bitdo_how_receiver":"استخدم جهاز الاستقبال 2.4G أو كابل USB","pad_8bitdo_how_manual":"يشرح دليله الطريقة","pad_8bitdo_xinput":"للحصول على أفضل نتيجة، بدّل وحدة 8BitDo إلى وضع X-input: {how}.","rp_touch_left_stick":"العصا اليسرى","rp_touch_right_stick":"العصا اليمنى","rp_touch_touchpad":"لوحة اللمس","rp_menu":"القائمة","rp_pad_step_lx":"ادفع العصا اليسرى إلى اليمين","rp_pad_step_ly":"ادفع العصا اليسرى إلى الأسفل","rp_pad_step_rx":"ادفع العصا اليمنى إلى اليمين","rp_pad_step_ry":"ادفع العصا اليمنى إلى الأسفل","join_check_bottom":"اضغط زر الوجه السفلي (✕)","join_check_right":"اضغط زر الوجه الأيمن (○)","join_check_left":"اضغط زر الوجه الأيسر (□)","join_check_top":"اضغط زر الوجه العلوي (△)","rp_pad_press":"اضغط {name}","join_check_saved":"تم الحفظ لوحدة التحكم هذه على هذا الجهاز. جرّبها أدناه.","join_check_title":"افحص وحدة التحكم","join_done":"تم","rp_pads_none":"لم تُرصد أي يد تحكم بعد. وصّل واحدة واضغط أي زر فيها.","rp_pad_mapped":"تلعب بتعيين أزرارك","join_check_unknown":"وحدة التحكم هذه ليست في قائمتنا، لذا قد تكون أزرارها مختلطة. يستغرق إعدادها بضع ثوانٍ.","rp_pad_standard":"معروفة","rp_pad_progress":"{n} من {total}","rp_pad_skip":"تخطٍّ","rp_pad_back":"رجوع","rp_pad_cancel":"إلغاء","join_check_try":"اضغط الأزرار وحرّك العصي: ما تضغطه يضيء.","join_check_redo":"إعادة","join_check_map":"إعداد الأزرار","rp_pad_reset":"إعادة ضبط","join_open_lan_body":"لا يمكنك الوصول إلى الإنترنت؟ إذا كنت على شبكة Wi-Fi نفسها مع صديقك، فافتح اللعبة هناك.","join_open_lan":"افتح على شبكة Wi-Fi هذه","join_path_lan":"الشبكة المنزلية","join_path_internet":"الإنترنت","join_seat_taken":"احتاج {host} إلى استعادة يد التحكم ولم تكن هناك يد تحكم أخرى متاحة على PS5، لذا خرجت من اللعبة. اطلب من {host} أن يسمح لك بالدخول مرة أخرى.","join_refused_key":"انتهت صلاحية هذه الدعوة. اطلب من {host} رابطًا جديدًا.","join_refused_expired":"فقدت مكانك في اللعبة. اطلب من {host} إدخالك مجددًا.","join_refused_full":"اللعبة ممتلئة: يوجد أربعة لاعبين بالفعل.","join_refused_denied":"لم يسمح لك {host} بالدخول هذه المرة.","join_refused_no_answer":"لم يُجب {host} في الوقت المناسب. أخبر {host} ثم حاول مرة أخرى.","join_refused_closed":"{host} لا يستضيف العب معًا الآن.","join_refused_old_helper":"يحتاج PS5 الخاص بـ {host} إلى مساعد محدّث لميزة العب معًا.","join_refused_not_playing":"{host} لا يلعب الآن. اطلب من {host} أن يبدأ اللعب أولًا.","join_refused_unreachable":"لم يتمكن حاسوب {host} من الوصول إلى جهاز PS5. حاول مرة أخرى بعد قليل.","join_refused_slow_down":"رموز خاطئة كثيرة جدًا. انتظر دقيقة ثم حاول مرة أخرى.","join_refused_address":"عنوان هذا الرابط خارج شبكتك المنزلية، لذا لن يستخدمه التطبيق. اطلب من {host} رابطًا يحمل عنوان IP لجهازه.","join_refused_other":"لم يسمح لك {host} بالدخول.","join_ended_kicked":"أخرجك {host} من اللعبة.","join_ended_closed":"أغلق {host} العب معًا.","join_ended_host_stopped":"توقف المضيف عن اللعب.","join_ended_replaced":"فُتحت هذه اللعبة في علامة تبويب أخرى أو على جهاز آخر، لذا توقفت هنا.","join_ended_pad_lost":"فقد PS5 يد التحكم الخاصة بك، لذا خرجت من اللعبة. اطلب من {host} إدخالك مجددًا.","join_ended_gave_up":"لم يعد الاتصال بـ {host} في الوقت المناسب.","join_net_lost":"انقطع الاتصال بـ{host}. تحقق من اتصالك بالإنترنت ثم اطلب مرة أخرى.","join_ended_lost":"تعذّر الوصول إلى {host}. تأكد أنكما على الشبكة نفسها.","join_ended_left":"غادرت اللعبة.","join_net_mismatch":"هذا الرابط لا يطابق المضيف؛ اطلب منه رابطًا جديدًا.","join_net_no_direct":"لا يمكن إنشاء اتصال مباشر من هذه الشبكة (الموجّهان لدى الطرفين صارمان). جرّب Wi-Fi بدلًا من بيانات الجوال، أو اطلب من المضيف تشغيل UPnP.","join_net_no_room":"هذه الدعوة لم تعد مفتوحة. اطلب من {host} رابطًا جديدًا.","join_net_full":"لا يتّسع لعب {host} لصديق آخر الآن. حاول مجددًا بعد لحظة.","join_net_no_hub":"تعذّر الوصول إلى خدمة دعوات PS5Upload. تحقّق من اتصالك بالإنترنت ثم حاول مجددًا.","join_net_offer":"تعذّر على كمبيوتر {host} الاتصال بهذا المتصفح. جرّب متصفحًا آخر.","join_net_no_webrtc":"هذا المتصفح لا يستطيع إنشاء اتصالات مباشرة. جرّب إصدارًا حديثًا من Chrome أو Safari أو Firefox.","join_cancel":"إلغاء","join_host_fallback":"صديقك","join_connecting":"جارٍ الاتصال بـ {host}…","join_waiting":"بانتظار أن يسمح لك {host} بالدخول","join_waiting_body":"يرى {host} اسمك على شاشته ويضغط سماح.","join_retry":"حاول مجددًا","join_again":"اطلب الانضمام مجددًا","join_playing_at":"تلعب لدى {host}","join_you_are":"أنت اللاعب {n}","join_seat_stream":"أنت تلعب بمستخدم PS5 الخاص بـ {host}. لا حاجة لاختيار مستخدم.","join_plays_as":"أنت تلعب باسم {profile}. لا حاجة لاختيار مستخدم.","join_seat_tv_asks":"اختار {host} ملفًا شخصيًا لك، لكن تعذّر استخدامه. سيسألك التلفاز عن هويتك.","join_picking":"اضغط PS، ثم اختر اللعب السريع على التلفاز","join_hide_controls":"إخفاء","join_sound":"اضغط لتشغيل الصوت","rp_unmute":"تشغيل الصوت","rp_mute":"كتم","join_no_sound":"لا يوجد صوت في هذا المتصفح","join_exit_fullscreen":"الخروج من ملء الشاشة","pad_fill":"ملء الشاشة","join_leave":"مغادرة","join_show_controls":"إظهار عناصر التحكم","join_hold_hint":"اضغط مطولاً على الصورة لإظهار الأزرار","pad_watch_no_hevc":"لا يستطيع هذا الجهاز تشغيل صورة هذا البث: الحاسوب يبث بـ HEVC وهذا الجهاز يشغّل H.264 فقط.","pad_watch_decode":"تعذّر تشغيل الصورة هنا.","join_pad_ready":"يد التحكم جاهزة","join_check_unknown_short":"ليست في قائمتنا: قد تكون الأزرار مختلطة.","join_full_to_play":"اضغط على ملء الشاشة للعب بيد التحكم التي على الشاشة.","join_pad_none":"وصّل يد تحكم (USB أو Bluetooth) واضغط أي زر.","join_pad_keys":"أو استخدم لوحة المفاتيح: WASD للتحريك، الأسهم للأزرار الاتجاهية، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"اضغط على زر الرجوع في جهاز التحكم عن بُعد لإظهار الأزرار.","join_block_note":"أوقف {host} زرَّي PS وCreate للأصدقاء.","join_guide_title":"خطوة أخيرة على التلفاز","join_guide_body":"اضغط زر PS مرة واحدة على يد التحكم. يسأل التلفاز «من يستخدم يد التحكم هذه؟». اختر اللعب السريع أو مستخدمك الخاص. لا يحتاج المضيف إلى فعل أي شيء.","join_guide_menus":"في الشاشة الرئيسية لجهاز PS5 يتحكم المضيف وحده بالقوائم؛ يد التحكم الخاصة بك تلعب داخل الألعاب.","join_guide_ok":"فهمت","join_host_away":"توقف المضيف عن اللعب — بانتظار أن يبدأ من جديد ({time})","join_reconnecting":"جارٍ إعادة الاتصال…","join_reconnecting_left":"مكانك محفوظ لمدة {time}.","pad_turn":"أدر الهاتف أفقيًا","join_game_label":"لعبة {host}","join_title":"انضم إلى لعبة صديق","join_title_body":"العب على PS5 الخاص بـ {host} كلاعب 2 أو 3 أو 4.","join_name_label":"اسمك","join_name_hint":"يرى صديقك هذا الاسم عندما تطلب الانضمام.","join_button":"انضمام"},"bn":{"usb_skipped_not_payload":"{name}: .elf বা .bin ফাইল নয়","usb_skipped_unknown":"{id}: আর পেলোড তালিকায় নেই","browser_unsupported":"এর জন্য ডেস্কটপ অ্যাপ দরকার। এটি ব্রাউজারে কাজ করে না।","video_recovered_notice":"গতবার ছবি শুরু করার সময় খেলুন ক্র্যাশ করেছিল, তাই ছবি এখন গ্রাফিক্স কার্ড ছাড়া ডিকোড হয় (বদলাতে সেটিংস › উইন্ডো › গ্রাফিক্স › হার্ডওয়্যার ভিডিও ডিকোডিং)।","video_recovered_title":"ছবি এখন সফটওয়্যারে ডিকোড হয়","open_in_title":"PS5Upload অ্যাপে খুলবেন?","open_in_body":"এই ডিভাইসে PS5Upload অ্যাপ আছে? সেখানে খুলুন, অথবা ব্রাউজারেই চালিয়ে যান।","open_in_app":"অ্যাপে খুলুন","open_in_browser":"ব্রাউজারে চালিয়ে যান","open_in_remember":"এই ডিভাইসে আমার পছন্দ মনে রাখুন","open_in_opening":"PS5Upload অ্যাপ খোলা হচ্ছে…","open_in_not_opened":"কিছু হলো না? হয়তো এই ডিভাইসে অ্যাপটি নেই।","open_in_again":"আবার চেষ্টা করুন","pad_8bitdo_no_xinput":"এই 8BitDo-তে X-input মোড নেই। কোনো বোতাম ভুল হলে কন্ট্রোলারটি পরীক্ষা করুন।","pad_8bitdo_how_switch":"পেছনের সুইচটি X-এ দিন, তারপর Start চাপুন","pad_8bitdo_how_startx":"এটি বন্ধ করুন, তারপর Start + X চেপে ধরে চালু করুন","pad_8bitdo_how_receiver":"এর 2.4G রিসিভার বা একটি USB কেবল ব্যবহার করুন","pad_8bitdo_how_manual":"এর ম্যানুয়ালে উপায় দেওয়া আছে","pad_8bitdo_xinput":"সেরা ফলের জন্য আপনার 8BitDo-কে X-input মোডে নিন: {how}।","rp_touch_left_stick":"বাম স্টিক","rp_touch_right_stick":"ডান স্টিক","rp_touch_touchpad":"টাচপ্যাড","rp_menu":"মেনু","rp_pad_step_lx":"বাম স্টিক ডানে ঠেলুন","rp_pad_step_ly":"বাম স্টিক নিচে ঠেলুন","rp_pad_step_rx":"ডান স্টিক ডানে ঠেলুন","rp_pad_step_ry":"ডান স্টিক নিচে ঠেলুন","join_check_bottom":"নিচের ফেস বোতামটি চাপুন (✕)","join_check_right":"ডান দিকের ফেস বোতামটি চাপুন (○)","join_check_left":"বাঁ দিকের ফেস বোতামটি চাপুন (□)","join_check_top":"উপরের ফেস বোতামটি চাপুন (△)","rp_pad_press":"{name} চাপুন","join_check_saved":"এই ডিভাইসে এই কন্ট্রোলারের জন্য সেভ হয়েছে। নিচে চেষ্টা করে দেখুন।","join_check_title":"আপনার কন্ট্রোলার পরীক্ষা করুন","join_done":"হয়ে গেছে","rp_pads_none":"এখনও কোনো কন্ট্রোলার দেখা যায়নি। একটি সংযুক্ত করে তার যেকোনো বোতাম চাপুন।","rp_pad_mapped":"আপনার ম্যাপিং দিয়ে খেলে","join_check_unknown":"এই কন্ট্রোলারটি আমাদের তালিকায় নেই, তাই এর বোতামগুলো এলোমেলো হতে পারে। সেট আপ করতে কয়েক সেকেন্ড লাগে।","rp_pad_standard":"শনাক্ত হয়েছে","rp_pad_progress":"{total}-এর মধ্যে {n}","rp_pad_skip":"এড়িয়ে যান","rp_pad_back":"পেছনে","rp_pad_cancel":"বাতিল","join_check_try":"বোতাম চাপুন ও স্টিক নাড়ান: যা চাপবেন তা জ্বলে উঠবে।","join_check_redo":"আবার করুন","join_check_map":"বোতাম সেট আপ করুন","rp_pad_reset":"রিসেট","join_open_lan_body":"ইন্টারনেট পাচ্ছেন না? বন্ধুর সাথে একই Wi-Fi-তে থাকলে সেখানেই গেমটি খুলুন।","join_open_lan":"এই Wi-Fi-তে খুলুন","join_path_lan":"হোম নেটওয়ার্ক","join_path_internet":"ইন্টারনেট","join_seat_taken":"{host}-এর নিজের কন্ট্রোলার ফেরত দরকার ছিল এবং PS5-এ আর কোনো কন্ট্রোলার খালি ছিল না, তাই আপনি গেম থেকে বেরিয়ে গেছেন। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_key":"এই আমন্ত্রণের মেয়াদ শেষ। {host}-এর কাছে নতুন লিংক চান।","join_refused_expired":"গেমে আপনার জায়গা চলে গেছে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_full":"গেম পূর্ণ: ইতিমধ্যে চারজন খেলছে।","join_refused_denied":"{host} এবার আপনাকে ঢুকতে দেয়নি।","join_refused_no_answer":"{host} সময়মতো উত্তর দেননি। {host}-কে জানান, তারপর আবার চেষ্টা করুন।","join_refused_closed":"{host} এখন \"একসাথে খেলুন\" চালাচ্ছে না।","join_refused_old_helper":"\"একসাথে খেলুন\"-এর জন্য {host}-এর PS5-এ আপডেট করা হেল্পার দরকার।","join_refused_not_playing":"{host} এখন খেলছে না। {host}-কে আগে খেলা শুরু করতে বলুন।","join_refused_unreachable":"{host}-এর কম্পিউটার তাদের PS5-এ পৌঁছাতে পারেনি। একটু পরে আবার চেষ্টা করুন।","join_refused_slow_down":"অনেক বেশি ভুল কোড। এক মিনিট অপেক্ষা করে আবার চেষ্টা করুন।","join_refused_address":"এই লিঙ্কের ঠিকানা আপনার হোম নেটওয়ার্কের বাইরে, তাই অ্যাপ এটি ব্যবহার করবে না। {host}-এর কাছে তাঁর কম্পিউটারের IP ঠিকানা সহ একটি লিঙ্ক চান।","join_refused_other":"{host} আপনাকে ঢুকতে দেয়নি।","join_ended_kicked":"{host} আপনাকে গেম থেকে বের করে দিয়েছে।","join_ended_closed":"{host} \"একসাথে খেলুন\" বন্ধ করেছে।","join_ended_host_stopped":"হোস্ট খেলা বন্ধ করেছে।","join_ended_replaced":"এই গেমটি অন্য ট্যাব বা ডিভাইসে খোলা হয়েছে, তাই এখানে থেমে গেছে।","join_ended_pad_lost":"PS5 আপনার কন্ট্রোলার হারিয়েছে, তাই আপনি গেমের বাইরে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_ended_gave_up":"{host}-এর সাথে সংযোগ সময়মতো ফিরে আসেনি।","join_net_lost":"{host}-এর সাথে সংযোগ কেটে গেছে। আপনার ইন্টারনেট সংযোগ দেখুন, তারপর আবার অনুরোধ করুন।","join_ended_lost":"{host}-এর কাছে পৌঁছানো যায়নি। আপনারা একই নেটওয়ার্কে আছেন কিনা দেখুন।","join_ended_left":"আপনি গেম ছেড়ে গেছেন।","join_net_mismatch":"এই লিংকটি হোস্টের সঙ্গে মেলে না; তাঁর কাছে নতুন লিংক চান।","join_net_no_direct":"এই নেটওয়ার্ক থেকে সরাসরি সংযোগ সম্ভব নয় (দুই দিকের রাউটারই কড়া)। মোবাইল ডেটার বদলে Wi-Fi চেষ্টা করুন, অথবা হোস্টকে UPnP চালু করতে বলুন।","join_net_no_room":"এই আমন্ত্রণটি আর খোলা নেই। {host}-এর কাছে নতুন লিংক চান।","join_net_full":"{host}-এর গেমে এখন আরেকজন বন্ধুর জায়গা নেই। একটু পরে আবার চেষ্টা করুন।","join_net_no_hub":"PS5Upload আমন্ত্রণ পরিষেবায় পৌঁছানো যায়নি। ইন্টারনেট সংযোগ দেখে আবার চেষ্টা করুন।","join_net_offer":"{host}-এর কম্পিউটার এই ব্রাউজারের সঙ্গে সংযোগ করতে পারেনি। অন্য ব্রাউজার চেষ্টা করুন।","join_net_no_webrtc":"এই ব্রাউজার সরাসরি সংযোগ করতে পারে না। Chrome, Safari বা Firefox-এর নতুন সংস্করণ চেষ্টা করুন।","join_cancel":"বাতিল","join_host_fallback":"আপনার বন্ধু","join_connecting":"{host}-এর সাথে সংযোগ হচ্ছে…","join_waiting":"{host} আপনাকে ঢুকতে দেওয়ার অপেক্ষায়","join_waiting_body":"{host} তার স্ক্রিনে আপনার নাম দেখে \"অনুমতি দিন\" চাপবে।","join_retry":"আবার চেষ্টা করুন","join_again":"আবার যোগ দিতে অনুরোধ করুন","join_playing_at":"{host}-এর কাছে খেলছেন","join_you_are":"আপনি প্লেয়ার {n}","join_seat_stream":"আপনি {host}-এর PS5 ইউজার হিসেবে খেলছেন। ইউজার বাছার দরকার নেই।","join_plays_as":"আপনি {profile} হিসেবে খেলছেন। কাউকে বেছে নিতে হবে না।","join_seat_tv_asks":"{host} আপনার জন্য একটি প্রোফাইল বেছে রেখেছিল, কিন্তু সেটা ব্যবহার করা যায়নি। টিভি জিজ্ঞেস করবে আপনি কে।","join_picking":"PS চাপুন, তারপর টিভিতে দ্রুত খেলা বেছে নিন","join_hide_controls":"লুকান","join_sound":"শব্দের জন্য ট্যাপ করুন","rp_unmute":"শব্দ চালু","rp_mute":"নিঃশব্দ","join_no_sound":"এই ব্রাউজারে শব্দ নেই","join_exit_fullscreen":"ফুল স্ক্রিন থেকে বের হন","pad_fill":"পূর্ণ স্ক্রিন","join_leave":"ছেড়ে যান","join_show_controls":"নিয়ন্ত্রণগুলি দেখান","join_hold_hint":"বোতামগুলো দেখাতে ছবিতে চেপে ধরে রাখুন","pad_watch_no_hevc":"এই ডিভাইস এই স্ট্রিমের ছবি চালাতে পারে না: কম্পিউটার HEVC-তে স্ট্রিম করে, আর এই ডিভাইস শুধু H.264 চালায়।","pad_watch_decode":"ছবিটি এখানে চালানো যায়নি।","join_pad_ready":"আপনার কন্ট্রোলার প্রস্তুত","join_check_unknown_short":"আমাদের তালিকায় নেই: বোতামগুলো এলোমেলো হতে পারে।","join_full_to_play":"অন-স্ক্রিন কন্ট্রোলার দিয়ে খেলতে ফুল স্ক্রিনে ট্যাপ করুন।","join_pad_none":"একটি কন্ট্রোলার সংযুক্ত করুন (USB বা Bluetooth) এবং যেকোনো বোতাম চাপুন।","join_pad_keys":"অথবা কিবোর্ড ব্যবহার করুন: WASD নড়াচড়া, তীর চিহ্ন D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"বোতামগুলো দেখতে রিমোটে Back চাপুন।","join_block_note":"{host} বন্ধুদের জন্য PS ও Create বন্ধ করে রেখেছে।","join_guide_title":"টিভিতে আর একটি ধাপ","join_guide_body":"আপনার কন্ট্রোলারে একবার PS চাপুন। টিভি জিজ্ঞেস করবে \"এই কন্ট্রোলার কে ব্যবহার করছে?\"। দ্রুত খেলা বা নিজের ইউজার বেছে নিন। হোস্টকে কিছু করতে হবে না।","join_guide_menus":"PS5-এর হোম স্ক্রিনে শুধু হোস্ট মেনু চালাতে পারে; আপনার কন্ট্রোলার গেমের ভেতরে খেলে।","join_guide_ok":"বুঝেছি","join_host_away":"হোস্ট খেলা বন্ধ করেছে — আবার শুরু করার অপেক্ষায় ({time})","join_reconnecting":"আবার সংযোগ হচ্ছে…","join_reconnecting_left":"আপনার জায়গা {time} ধরে রাখা থাকবে।","pad_turn":"ফোনটি আড়াআড়ি ঘোরান","join_game_label":"{host}-এর গেম","join_title":"বন্ধুর গেমে যোগ দিন","join_title_body":"{host}-এর PS5-এ প্লেয়ার 2, 3 বা 4 হিসেবে খেলুন।","join_name_label":"আপনার নাম","join_name_hint":"যোগ দিতে অনুরোধ করলে আপনার বন্ধু এটি দেখবে।","join_button":"যোগ দিন"},"de":{"usb_skipped_not_payload":"{name}: keine .elf- oder .bin-Datei","usb_skipped_unknown":"{id}: nicht mehr in der Payload-Liste","browser_unsupported":"Dafür brauchst du die Desktop-App. Im Browser funktioniert das nicht.","video_recovered_notice":"Play ist beim letzten Mal beim Starten des Bildes abgestürzt, daher wird das Bild jetzt ohne Grafikkarte dekodiert (ändern unter Einstellungen › Fenster › Grafik › Hardware-Videodekodierung).","video_recovered_title":"Bild wird jetzt per Software dekodiert","open_in_title":"In der PS5Upload-App öffnen?","open_in_body":"Hast du die PS5Upload-App auf diesem Gerät? Öffne dies dort oder mach im Browser weiter.","open_in_app":"In der App öffnen","open_in_browser":"Im Browser weiter","open_in_remember":"Meine Wahl auf diesem Gerät merken","open_in_opening":"PS5Upload-App wird geöffnet …","open_in_not_opened":"Nichts passiert? Die App ist vielleicht nicht auf diesem Gerät.","open_in_again":"Erneut versuchen","pad_8bitdo_no_xinput":"Dieser 8BitDo hat keinen X-input-Modus. Wenn eine Taste falsch ist, prüfe den Controller.","pad_8bitdo_how_switch":"stell den Schalter auf der Rückseite auf X und drück dann Start","pad_8bitdo_how_startx":"schalte ihn aus und halte dann Start + X gedrückt, um ihn einzuschalten","pad_8bitdo_how_receiver":"nutze seinen 2.4G-Empfänger oder ein USB-Kabel","pad_8bitdo_how_manual":"wie, steht in seiner Anleitung","pad_8bitdo_xinput":"Für das beste Ergebnis schalte deinen 8BitDo in den X-input-Modus: {how}.","rp_touch_left_stick":"Linker Stick","rp_touch_right_stick":"Rechter Stick","rp_menu":"Menü","rp_pad_step_lx":"Drücke den linken Stick nach rechts","rp_pad_step_ly":"Drücke den linken Stick nach unten","rp_pad_step_rx":"Drücke den rechten Stick nach rechts","rp_pad_step_ry":"Drücke den rechten Stick nach unten","join_check_bottom":"Drück die untere Aktionstaste (✕)","join_check_right":"Drück die rechte Aktionstaste (○)","join_check_left":"Drück die linke Aktionstaste (□)","join_check_top":"Drück die obere Aktionstaste (△)","rp_pad_press":"Drücke {name}","join_check_saved":"Für diesen Controller auf diesem Gerät gespeichert. Probier es unten aus.","join_check_title":"Controller prüfen","join_done":"Fertig","rp_pads_none":"Noch kein Controller erkannt. Schließe einen an und drücke eine beliebige Taste darauf.","rp_pad_mapped":"Spielt mit deiner Belegung","join_check_unknown":"Dieser Controller ist nicht auf unserer Liste, die Tasten könnten also vertauscht sein. Das Einrichten dauert nur ein paar Sekunden.","rp_pad_standard":"Erkannt","rp_pad_progress":"{n} von {total}","rp_pad_skip":"Überspringen","rp_pad_back":"Zurück","rp_pad_cancel":"Abbrechen","join_check_try":"Drück Tasten und beweg die Sticks: Was du drückst, leuchtet auf.","join_check_redo":"Neu einrichten","join_check_map":"Tasten einrichten","rp_pad_reset":"Zurücksetzen","join_open_lan_body":"Kein Internet? Wenn du im selben WLAN wie dein Freund bist, öffne das Spiel dort.","join_open_lan":"In diesem WLAN öffnen","join_took_host":"Das Spiel von {host} wurde beendet, weil dessen PS5-Benutzer auf deinem Controller gewählt wurde. Wechsle diesmal zuerst zu „Schnellspiel“ und drücke dann ✕.","join_not_host_user":"Wechsle zu „Schnellspiel“, bevor du ✕ drückst. Wähle nicht {user}: Das ist der Benutzer von {host}, und damit endet dessen Spiel.","join_not_host_user_unnamed":"Wechsle zu „Schnellspiel“, bevor du ✕ drückst. Wähle nicht den PS5-Benutzer von {host}: Damit endet dessen Spiel.","join_path_lan":"Heimnetz","join_seat_taken":"{host} brauchte seinen Controller zurück, und auf der PS5 war kein anderer Controller frei, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_refused_key":"Diese Einladung ist abgelaufen. Bitte {host} um einen neuen Link.","join_refused_expired":"Dein Platz im Spiel ist verloren. Bitte {host}, dich wieder hereinzulassen.","join_refused_full":"Das Spiel ist voll: Es sind schon vier Spieler da.","join_refused_denied":"{host} hat dich diesmal nicht reingelassen.","join_refused_no_answer":"{host} hat nicht rechtzeitig geantwortet. Sag {host} Bescheid und versuche es noch einmal.","join_refused_closed":"{host} bietet gerade kein „Zusammen spielen“ an.","join_refused_old_helper":"Die PS5 von {host} braucht einen aktuellen Helfer für „Zusammen spielen“.","join_refused_not_playing":"{host} spielt gerade nicht. Bitte {host}, zuerst Spielen zu starten.","join_refused_unreachable":"Der Computer von {host} hat die PS5 nicht erreicht. Versuch es gleich noch einmal.","join_refused_slow_down":"Zu viele falsche Codes. Warte eine Minute und versuch es dann noch einmal.","join_refused_address":"Die Adresse dieses Links liegt außerhalb deines Heimnetzes, daher verwendet die App sie nicht. Bitte {host} um einen Link mit der IP-Adresse des Computers.","join_refused_other":"{host} hat dich nicht reingelassen.","join_ended_kicked":"{host} hat dich aus dem Spiel genommen.","join_ended_closed":"{host} hat „Zusammen spielen“ beendet.","join_ended_host_stopped":"Der Gastgeber hat aufgehört zu spielen.","join_ended_replaced":"Dieses Spiel wurde in einem anderen Tab oder auf einem anderen Gerät geöffnet, daher wurde es hier beendet.","join_ended_pad_lost":"Die PS5 hat deinen Controller verloren, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_ended_gave_up":"Die Verbindung zu {host} kam nicht rechtzeitig zurück.","join_net_lost":"Die Verbindung zu {host} ist abgebrochen. Prüfe deine Internetverbindung und frage dann erneut.","join_ended_lost":"{host} nicht erreichbar. Prüfe, ob ihr im selben Netzwerk seid.","join_ended_left":"Du hast das Spiel verlassen.","join_net_mismatch":"Dieser Link passt nicht zum Gastgeber. Bitte ihn um einen neuen.","join_net_no_direct":"Von diesem Netzwerk aus ist keine direkte Verbindung möglich (die Router beider Seiten sind streng). Versuche WLAN statt mobiler Daten oder bitte den Gastgeber, UPnP einzuschalten.","join_net_no_room":"Diese Einladung ist nicht mehr offen. Bitte {host} um einen neuen Link.","join_net_full":"Im Spiel von {host} ist gerade kein Platz für einen weiteren Freund. Versuche es gleich noch einmal.","join_net_no_hub":"Der Einladungsdienst von PS5Upload ist nicht erreichbar. Prüfe deine Internetverbindung und versuche es dann erneut.","join_net_offer":"Der Computer von {host} konnte sich nicht mit diesem Browser verbinden. Versuche einen anderen Browser.","join_net_no_webrtc":"Dieser Browser kann keine direkten Verbindungen herstellen. Versuche ein aktuelles Chrome, Safari oder Firefox.","join_cancel":"Abbrechen","join_host_fallback":"dein Freund","join_connecting":"Verbinde mit {host}…","join_waiting":"Warte, bis {host} dich reinlässt","join_waiting_body":"{host} sieht deinen Namen auf dem Bildschirm und tippt auf „Zulassen“.","join_retry":"Erneut versuchen","join_again":"Erneut zum Mitspielen anfragen","join_playing_at":"Du spielst bei {host}","join_you_are":"Du bist Spieler {n}","join_seat_stream":"Du spielst als PS5-Benutzer von {host}. Du musst keinen wählen.","join_plays_as":"Du spielst als {profile}. Du musst keinen wählen.","join_seat_tv_asks":"{host} hat ein Profil für dich gewählt, aber es konnte nicht genutzt werden. Der Fernseher fragt, wer du bist.","join_picking":"PS drücken, dann am Fernseher „Schnellspiel“ wählen","join_hide_controls":"Ausblenden","join_sound":"Für Ton tippen","rp_unmute":"Ton an","rp_mute":"Stumm","join_no_sound":"Kein Ton in diesem Browser","join_exit_fullscreen":"Vollbild verlassen","pad_fill":"Vollbild","join_leave":"Verlassen","join_show_controls":"Steuerelemente einblenden","join_hold_hint":"Bild gedrückt halten, um die Tasten einzublenden","pad_watch_no_hevc":"Dieses Gerät kann das Bild dieses Streams nicht abspielen: Der Computer streamt HEVC, dieses Gerät kann nur H.264.","pad_watch_decode":"Das Bild konnte hier nicht abgespielt werden.","join_pad_ready":"Dein Controller ist bereit","join_check_unknown_short":"Nicht auf unserer Liste: Tasten könnten vertauscht sein.","join_full_to_play":"Tippe auf Vollbild, um mit dem Bildschirm-Controller zu spielen.","join_pad_none":"Schließe einen Controller an (USB oder Bluetooth) und drücke eine beliebige Taste.","join_pad_keys":"Oder nutze die Tastatur: WASD bewegen, Pfeiltasten Steuerkreuz, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Drücke auf der Fernbedienung Zurück, um die Schaltflächen einzublenden.","join_block_note":"{host} hat PS und Create für Freunde ausgeschaltet.","join_guide_title":"Noch ein Schritt am Fernseher","join_guide_body":"Drücke einmal PS auf deinem Controller. Der Fernseher fragt „Wer benutzt diesen Controller?“. Wähle „Schnellspiel“ oder deinen eigenen Benutzer. Der Gastgeber muss nichts tun.","join_guide_menus":"Auf dem Startbildschirm der PS5 steuert nur der Gastgeber die Menüs; dein Controller spielt in den Spielen.","join_guide_ok":"Verstanden","join_host_away":"Der Gastgeber hat aufgehört zu spielen – wir warten, bis er wieder anfängt ({time})","join_took_host_away":"Der PS5-Benutzer von {host} wurde auf deinem Controller gewählt, damit endet dessen Spiel. Wenn es weitergeht und der Fernseher fragt, wer du bist, wechsle zuerst zu „Schnellspiel“ und drücke dann ✕.","join_reconnecting":"Verbinde neu…","join_reconnecting_left":"Dein Platz wird {time} lang freigehalten.","pad_turn":"Dreh das Handy quer","join_game_label":"Spiel von {host}","join_title":"Bei Freunden mitspielen","join_title_body":"Spiele auf der PS5 von {host} als Spieler 2, 3 oder 4.","join_name_label":"Dein Name","join_name_hint":"Das sieht dein Freund, wenn du zum Mitspielen anfragst.","join_button":"Mitspielen"},"en":{"usb_skipped_not_payload":"{name}: not an .elf or .bin file","usb_skipped_unknown":"{id}: not in the payload list any more","browser_unsupported":"This needs the desktop app. It does not work in the browser.","video_recovered_notice":"Play crashed while starting the picture last time, so the picture is now decoded without the graphics card (Settings › Window › Graphics › Hardware video decoding to change it).","video_recovered_title":"Picture now decoded in software","open_in_title":"Open in the PS5Upload app?","open_in_body":"Have the PS5Upload app on this device? Open this there, or carry on in the browser.","open_in_app":"Open in the app","open_in_browser":"Continue in browser","open_in_remember":"Remember my choice on this device","open_in_opening":"Opening the PS5Upload app…","open_in_not_opened":"Nothing happened? The app may not be on this device.","open_in_again":"Try again","pad_8bitdo_no_xinput":"This 8BitDo has no X-input mode. If a button is wrong, check the controller.","pad_8bitdo_how_switch":"set the switch on the back to X, then press Start","pad_8bitdo_how_startx":"turn it off, then hold Start + X to turn it on","pad_8bitdo_how_receiver":"use its 2.4G receiver or a USB cable","pad_8bitdo_how_manual":"its manual says how","pad_8bitdo_xinput":"For the best result, switch your 8BitDo to X-input mode: {how}.","rp_touch_left_stick":"Left stick","rp_touch_right_stick":"Right stick","rp_touch_touchpad":"Touchpad","rp_menu":"Menu","rp_pad_step_lx":"Push the left stick right","rp_pad_step_ly":"Push the left stick down","rp_pad_step_rx":"Push the right stick right","rp_pad_step_ry":"Push the right stick down","join_check_bottom":"Press the bottom face button (✕)","join_check_right":"Press the right face button (○)","join_check_left":"Press the left face button (□)","join_check_top":"Press the top face button (△)","rp_pad_press":"Press {name}","join_check_saved":"Saved for this controller on this device. Try it below.","join_check_title":"Check your controller","join_done":"Done","rp_pads_none":"No controller seen yet. Connect one and press any button on it.","rp_pad_mapped":"Plays with your mapping","join_check_unknown":"This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.","rp_pad_standard":"Recognized","rp_pad_progress":"{n} of {total}","rp_pad_skip":"Skip","rp_pad_back":"Back","rp_pad_cancel":"Cancel","join_check_try":"Press buttons and move the sticks: what you press lights up.","join_check_redo":"Redo","join_check_map":"Set up the buttons","rp_pad_reset":"Reset","join_open_lan_body":"Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.","join_open_lan":"Open on this Wi-Fi","join_took_host":"{host}'s game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.","join_not_host_user":"Move to Quick Play before pressing ✕. Don't pick {user}: that's {host}'s user, and it ends their game.","join_not_host_user_unnamed":"Move to Quick Play before pressing ✕. Don't pick {host}'s PS5 user: it ends their game.","join_path_lan":"Home network","join_path_tailscale":"Tailscale","join_path_internet":"Internet","join_seat_taken":"{host} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask {host} to let you in again.","join_refused_key":"This invite has expired. Ask {host} for a new link.","join_refused_expired":"Your place in the game was lost. Ask {host} to let you in again.","join_refused_full":"The game is full: four players already.","join_refused_denied":"{host} didn't let you in this time.","join_refused_no_answer":"{host} didn't answer in time. Tell {host}, then try again.","join_refused_closed":"{host} isn't hosting Play Together right now.","join_refused_old_helper":"{host}'s PS5 needs an updated helper for Play Together.","join_refused_not_playing":"{host} isn't playing right now. Ask {host} to start Play first.","join_refused_unreachable":"{host}'s computer couldn't reach their PS5. Try again in a moment.","join_refused_slow_down":"Too many wrong codes. Wait a minute, then try again.","join_refused_address":"This link's address is outside your home network, so the app will not use it. Ask {host} for a link with their computer's IP address.","join_refused_other":"{host} didn't let you in.","join_ended_kicked":"{host} took you out of the game.","join_ended_closed":"{host} closed Play Together.","join_ended_host_stopped":"The host stopped playing.","join_ended_replaced":"This game was opened in another tab or on another device, so it stopped here.","join_ended_pad_lost":"The PS5 lost your controller, so you're out of the game. Ask {host} to let you in again.","join_ended_gave_up":"The connection to {host} didn't come back in time.","join_net_lost":"The connection to {host} dropped. Check your internet connection, then ask again.","join_ended_lost":"Couldn't reach {host}. Check that you're on the same network.","join_ended_left":"You left the game.","join_net_mismatch":"This link doesn't match the host; ask them for a new one.","join_net_no_direct":"A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.","join_net_no_room":"This invite isn't open any more. Ask {host} for a new link.","join_net_full":"{host}'s game has no room for another friend right now. Try again in a moment.","join_net_no_hub":"Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.","join_net_offer":"{host}'s computer couldn't connect to this browser. Try another browser.","join_net_no_webrtc":"This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.","join_cancel":"Cancel","join_host_fallback":"your friend","join_connecting":"Connecting to {host}…","join_waiting":"Waiting for {host} to let you in","join_waiting_body":"{host} sees your name on their screen and taps Allow.","join_retry":"Try again","join_again":"Ask to join again","join_playing_at":"Playing at {host}'s","join_you_are":"You are Player {n}","join_seat_stream":"You're playing as {host}'s PS5 user. No need to pick one.","join_plays_as":"You're playing as {profile}. No need to pick one.","join_seat_tv_asks":"{host} chose a profile for you, but it couldn't be used. The TV will ask who you are.","join_picking":"Press PS, then pick Quick Play on the TV","join_hide_controls":"Hide","join_sound":"Tap for sound","rp_unmute":"Sound on","rp_mute":"Mute","join_no_sound":"No sound in this browser","join_exit_fullscreen":"Leave full screen","pad_fill":"Full screen","join_leave":"Leave","join_show_controls":"Show controls","join_hold_hint":"Press and hold the picture to show the buttons","pad_watch_no_hevc":"This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.","pad_watch_decode":"The picture could not be played here.","join_pad_ready":"Your controller is ready","join_check_unknown_short":"Not on our list: buttons may be mixed up.","join_full_to_play":"Tap full screen to play with the on-screen controller.","join_pad_none":"Connect a controller (USB or Bluetooth) and press any button.","join_pad_keys":"Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Press Back on the remote for the buttons.","join_block_note":"{host} turned off PS and Create for friends.","join_guide_title":"One more step on the TV","join_guide_body":"On your controller, press PS once. The TV asks \"Who's using this controller?\". Pick Quick Play or your own user. The host doesn't need to do anything.","join_guide_menus":"On the PS5's home screen only the host controls the menus; your controller plays inside games.","join_guide_ok":"Got it","join_host_away":"The host stopped playing — waiting for them to start again ({time})","join_took_host_away":"{host}'s PS5 user was picked on your controller, which ends their game. When it's back and the TV asks who you are, move to Quick Play first, then press ✕.","join_reconnecting":"Reconnecting…","join_reconnecting_left":"Your place is kept for {time}.","pad_turn":"Turn the phone sideways","join_game_label":"{host}'s game","join_title":"Join a friend's game","join_title_body":"Play on {host}'s PS5 as Player 2, 3 or 4.","join_name_label":"Your name","join_name_hint":"Your friend sees this when you ask to join.","join_button":"Join"},"es":{"usb_skipped_not_payload":"{name}: no es un archivo .elf ni .bin","usb_skipped_unknown":"{id}: ya no está en la lista de payloads","browser_unsupported":"Esto necesita la aplicación de escritorio. No funciona en el navegador.","video_recovered_notice":"Play se cerró al iniciar la imagen la última vez, así que ahora la imagen se decodifica sin la tarjeta gráfica (cámbialo en Configuración › Ventana › Gráficos › Decodificación de vídeo por hardware).","video_recovered_title":"La imagen ahora se decodifica por software","open_in_title":"¿Abrir en la app PS5Upload?","open_in_body":"¿Tienes la app PS5Upload en este dispositivo? Ábrelo ahí o sigue en el navegador.","open_in_app":"Abrir en la app","open_in_browser":"Seguir en el navegador","open_in_remember":"Recordar mi elección en este dispositivo","open_in_opening":"Abriendo la app PS5Upload…","open_in_not_opened":"¿No pasó nada? Puede que la app no esté en este dispositivo.","open_in_again":"Reintentar","pad_8bitdo_no_xinput":"Este 8BitDo no tiene modo X-input. Si un botón no va bien, comprueba el mando.","pad_8bitdo_how_switch":"pon el interruptor de atrás en X y pulsa Start","pad_8bitdo_how_startx":"apágalo y luego mantén Start + X para encenderlo","pad_8bitdo_how_receiver":"usa su receptor 2.4G o un cable USB","pad_8bitdo_how_manual":"su manual explica cómo","pad_8bitdo_xinput":"Para el mejor resultado, pon tu 8BitDo en modo X-input: {how}.","rp_touch_left_stick":"Joystick izquierdo","rp_touch_right_stick":"Joystick derecho","rp_touch_touchpad":"Panel táctil","rp_menu":"Menú","rp_pad_step_lx":"Mueve el stick izquierdo a la derecha","rp_pad_step_ly":"Mueve el stick izquierdo hacia abajo","rp_pad_step_rx":"Mueve el stick derecho a la derecha","rp_pad_step_ry":"Mueve el stick derecho hacia abajo","join_check_bottom":"Pulsa el botón de acción de abajo (✕)","join_check_right":"Pulsa el botón de acción de la derecha (○)","join_check_left":"Pulsa el botón de acción de la izquierda (□)","join_check_top":"Pulsa el botón de acción de arriba (△)","rp_pad_press":"Pulsa {name}","join_check_saved":"Guardado para este mando en este dispositivo. Pruébalo abajo.","join_check_title":"Comprueba tu mando","join_done":"Listo","rp_pads_none":"Aún no se ve ningún mando. Conecta uno y pulsa cualquier botón.","rp_pad_mapped":"Juega con tu asignación","join_check_unknown":"Este mando no está en nuestra lista, así que sus botones pueden estar cambiados. Configurarlo lleva unos segundos.","rp_pad_standard":"Reconocido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Omitir","rp_pad_back":"Atrás","rp_pad_cancel":"Cancelar","join_check_try":"Pulsa botones y mueve los sticks: lo que pulses se ilumina.","join_check_redo":"Rehacer","join_check_map":"Configurar los botones","rp_pad_reset":"Restablecer","join_open_lan_body":"¿Sin internet? Si estás en el mismo Wi-Fi que tu amigo, abre la partida desde ahí.","join_open_lan":"Abrir en este Wi-Fi","join_path_lan":"Red doméstica","join_seat_taken":"{host} necesitaba recuperar su mando y no había otro mando libre en la PS5, así que has salido de la partida. Pide a {host} que te deje entrar otra vez.","join_refused_key":"Esta invitación ha caducado. Pide a {host} un enlace nuevo.","join_refused_expired":"Perdiste tu sitio en la partida. Pide a {host} que te deje entrar de nuevo.","join_refused_full":"La partida está llena: ya hay cuatro jugadores.","join_refused_denied":"{host} no te dejó entrar esta vez.","join_refused_no_answer":"{host} no respondió a tiempo. Avisa a {host} e inténtalo de nuevo.","join_refused_closed":"{host} no está ofreciendo Jugar juntos ahora mismo.","join_refused_old_helper":"La PS5 de {host} necesita un ayudante actualizado para Jugar juntos.","join_refused_not_playing":"{host} no está jugando ahora. Pide a {host} que inicie Jugar primero.","join_refused_unreachable":"El ordenador de {host} no pudo conectar con su PS5. Inténtalo de nuevo en un momento.","join_refused_slow_down":"Demasiados códigos incorrectos. Espera un minuto y vuelve a intentarlo.","join_refused_address":"La dirección de este enlace está fuera de tu red doméstica, así que la aplicación no la usará. Pide a {host} un enlace con la dirección IP de su equipo.","join_refused_other":"{host} no te dejó entrar.","join_ended_kicked":"{host} te sacó de la partida.","join_ended_closed":"{host} cerró Jugar juntos.","join_ended_host_stopped":"El anfitrión dejó de jugar.","join_ended_replaced":"Esta partida se abrió en otra pestaña o en otro dispositivo, así que terminó aquí.","join_ended_pad_lost":"La PS5 perdió tu mando, así que estás fuera de la partida. Pide a {host} que te deje entrar de nuevo.","join_ended_gave_up":"La conexión con {host} no volvió a tiempo.","join_net_lost":"Se cortó la conexión con {host}. Revisa tu conexión a internet y vuelve a pedirlo.","join_ended_lost":"No se pudo contactar con {host}. Comprueba que estéis en la misma red.","join_ended_left":"Saliste de la partida.","join_net_mismatch":"Este enlace no coincide con el anfitrión; pídele uno nuevo.","join_net_no_direct":"No es posible una conexión directa desde esta red (los routers de ambos lados son estrictos). Prueba con Wi-Fi en lugar de datos móviles o pide al anfitrión que active UPnP.","join_net_no_room":"Esta invitación ya no está abierta. Pide a {host} un enlace nuevo.","join_net_full":"La partida de {host} no tiene sitio para otro amigo ahora mismo. Inténtalo de nuevo en un momento.","join_net_no_hub":"No se pudo contactar con el servicio de invitaciones de PS5Upload. Comprueba tu conexión a internet e inténtalo de nuevo.","join_net_offer":"El ordenador de {host} no pudo conectar con este navegador. Prueba con otro navegador.","join_net_no_webrtc":"Este navegador no puede hacer conexiones directas. Prueba una versión reciente de Chrome, Safari o Firefox.","join_cancel":"Cancelar","join_host_fallback":"tu amigo","join_connecting":"Conectando con {host}…","join_waiting":"Esperando a que {host} te deje entrar","join_waiting_body":"{host} ve tu nombre en su pantalla y toca Permitir.","join_retry":"Reintentar","join_again":"Pedir unirme otra vez","join_playing_at":"Jugando en casa de {host}","join_you_are":"Eres el Jugador {n}","join_seat_stream":"Juegas con el usuario de PS5 de {host}. No hace falta elegir uno.","join_plays_as":"Juegas como {profile}. No hace falta elegir uno.","join_seat_tv_asks":"{host} eligió un perfil para ti, pero no se pudo usar. La TV te preguntará quién eres.","join_picking":"Pulsa PS y luego elige Juego rápido en la tele","join_hide_controls":"Ocultar","join_sound":"Activar sonido","rp_unmute":"Activar sonido","rp_mute":"Silenciar","join_no_sound":"Sin sonido en este navegador","join_exit_fullscreen":"Salir de pantalla completa","pad_fill":"Pantalla completa","join_leave":"Salir","join_show_controls":"Mostrar controles","join_hold_hint":"Mantén pulsada la imagen para mostrar los botones","pad_watch_no_hevc":"Este dispositivo no puede reproducir la imagen de este stream: el ordenador emite en HEVC y este dispositivo solo reproduce H.264.","pad_watch_decode":"La imagen no se pudo reproducir aquí.","join_pad_ready":"Tu mando está listo","join_check_unknown_short":"No está en nuestra lista: los botones pueden estar cambiados.","join_full_to_play":"Toca pantalla completa para jugar con el mando en pantalla.","join_pad_none":"Conecta un mando (USB o Bluetooth) y pulsa cualquier botón.","join_pad_keys":"O usa el teclado: WASD para moverte, flechas cruceta, Enter ✕, Retroceso ○, Q □, E △, Tab Options.","join_tv_back_hint":"Pulsa Atrás en el mando a distancia para ver los botones.","join_block_note":"{host} desactivó PS y Create para los amigos.","join_guide_title":"Un paso más en la tele","join_guide_body":"Pulsa PS una vez en tu mando. La tele pregunta «¿Quién usa este mando?». Elige Juego rápido o tu propio usuario. El anfitrión no tiene que hacer nada.","join_guide_menus":"En la pantalla de inicio de la PS5 solo el anfitrión controla los menús; tu mando juega dentro de los juegos.","join_guide_ok":"Entendido","join_host_away":"El anfitrión dejó de jugar: esperando a que vuelva a empezar ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Tu sitio se guarda durante {time}.","pad_turn":"Gira el móvil en horizontal","join_game_label":"Partida de {host}","join_title":"Unirse a la partida de un amigo","join_title_body":"Juega en la PS5 de {host} como Jugador 2, 3 o 4.","join_name_label":"Tu nombre","join_name_hint":"Tu amigo lo verá cuando pidas unirte.","join_button":"Unirme"},"fa":{"usb_skipped_not_payload":"{name}: فایل .elf یا .bin نیست","usb_skipped_unknown":"{id}: دیگر در فهرست پیلودها نیست","browser_unsupported":"این کار به برنامه رومیزی نیاز دارد. در مرورگر کار نمی‌کند.","video_recovered_notice":"دفعهٔ پیش «بازی» هنگام شروع تصویر از کار افتاد، پس تصویر اکنون بدون کارت گرافیک رمزگشایی می‌شود (برای تغییر: تنظیمات › پنجره › گرافیک › رمزگشایی ویدیو با سخت‌افزار).","video_recovered_title":"تصویر اکنون با نرم‌افزار رمزگشایی می‌شود","open_in_title":"در برنامهٔ PS5Upload باز شود؟","open_in_body":"برنامهٔ PS5Upload روی این دستگاه هست؟ این را آنجا باز کنید، یا در مرورگر ادامه دهید.","open_in_app":"باز کردن در برنامه","open_in_browser":"ادامه در مرورگر","open_in_remember":"انتخابم را روی این دستگاه به خاطر بسپار","open_in_opening":"در حال باز کردن برنامهٔ PS5Upload…","open_in_not_opened":"اتفاقی نیفتاد؟ شاید برنامه روی این دستگاه نیست.","open_in_again":"دوباره امتحان کنید","pad_8bitdo_no_xinput":"این 8BitDo حالت X-input ندارد. اگر دکمه‌ای اشتباه است، کنترلر را بررسی کنید.","pad_8bitdo_how_switch":"کلید پشت را روی X بگذارید، سپس Start را بزنید","pad_8bitdo_how_startx":"آن را خاموش کنید، سپس Start + X را نگه دارید تا روشن شود","pad_8bitdo_how_receiver":"از گیرنده 2.4G آن یا کابل USB استفاده کنید","pad_8bitdo_how_manual":"دفترچه راهنمای آن روش را می‌گوید","pad_8bitdo_xinput":"برای بهترین نتیجه، 8BitDo خود را به حالت X-input ببرید: {how}.","rp_touch_left_stick":"استیک چپ","rp_touch_right_stick":"استیک راست","rp_touch_touchpad":"صفحه لمسی","rp_menu":"منو","rp_pad_step_lx":"استیک چپ را به راست فشار دهید","rp_pad_step_ly":"استیک چپ را به پایین فشار دهید","rp_pad_step_rx":"استیک راست را به راست فشار دهید","rp_pad_step_ry":"استیک راست را به پایین فشار دهید","join_check_bottom":"دکمهٔ پایینی را بزنید (✕)","join_check_right":"دکمهٔ سمت راست را بزنید (○)","join_check_left":"دکمهٔ سمت چپ را بزنید (□)","join_check_top":"دکمهٔ بالایی را بزنید (△)","rp_pad_press":"{name} را فشار دهید","join_check_saved":"برای این کنترلر روی این دستگاه ذخیره شد. پایین امتحانش کنید.","join_check_title":"کنترلر خود را بررسی کنید","join_done":"تمام","rp_pads_none":"هنوز دسته‌ای دیده نشده. یکی وصل کنید و یکی از دکمه‌هایش را فشار دهید.","rp_pad_mapped":"با نگاشت شما بازی می‌کند","join_check_unknown":"این کنترلر در فهرست ما نیست، پس ممکن است دکمه‌هایش جابه‌جا باشند. تنظیم آن چند ثانیه طول می‌کشد.","rp_pad_standard":"شناخته شد","rp_pad_progress":"{n} از {total}","rp_pad_skip":"رد کردن","rp_pad_back":"بازگشت","rp_pad_cancel":"لغو","join_check_try":"دکمه‌ها را بزنید و استیک‌ها را حرکت دهید: هر چه بزنید روشن می‌شود.","join_check_redo":"انجام دوباره","join_check_map":"تنظیم دکمه‌ها","rp_pad_reset":"بازنشانی","join_open_lan_body":"به اینترنت دسترسی ندارید؟ اگر با دوستتان روی یک Wi-Fi هستید، بازی را آنجا باز کنید.","join_open_lan":"باز کردن روی همین Wi-Fi","join_path_lan":"شبکهٔ خانگی","join_path_internet":"اینترنت","join_seat_taken":"{host} دستهٔ خودش را لازم داشت و دستهٔ آزاد دیگری روی PS5 نبود، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_refused_key":"این دعوت منقضی شده است. از {host} پیوند جدید بخواهید.","join_refused_expired":"جای شما در بازی از دست رفت. از {host} بخواهید دوباره راهتان بدهد.","join_refused_full":"بازی پر است: چهار بازیکن از قبل هستند.","join_refused_denied":"{host} این بار اجازهٔ ورود نداد.","join_refused_no_answer":"{host} به‌موقع پاسخ نداد. به {host} خبر دهید و دوباره امتحان کنید.","join_refused_closed":"{host} الان «بازی با هم» را میزبانی نمی‌کند.","join_refused_old_helper":"PS5 {host} برای «بازی با هم» به دستیار به‌روز نیاز دارد.","join_refused_not_playing":"{host} الان بازی نمی‌کند. از {host} بخواهید اول بازی را شروع کند.","join_refused_unreachable":"رایانهٔ {host} به PS5 دسترسی پیدا نکرد. کمی بعد دوباره امتحان کنید.","join_refused_slow_down":"تعداد کدهای اشتباه زیاد است. یک دقیقه صبر کنید و دوباره امتحان کنید.","join_refused_address":"نشانی این پیوند بیرون از شبکه خانگی شماست، پس برنامه از آن استفاده نمی‌کند. از {host} پیوندی با نشانی IP رایانه‌اش بخواهید.","join_refused_other":"{host} اجازهٔ ورود نداد.","join_ended_kicked":"{host} شما را از بازی بیرون کرد.","join_ended_closed":"{host} «بازی با هم» را بست.","join_ended_host_stopped":"میزبان بازی را متوقف کرد.","join_ended_replaced":"این بازی در زبانه یا دستگاه دیگری باز شد، پس اینجا متوقف شد.","join_ended_pad_lost":"PS5 دستهٔ شما را از دست داد، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_ended_gave_up":"اتصال به {host} به‌موقع برنگشت.","join_net_lost":"اتصال به {host} قطع شد. اتصال اینترنت خود را بررسی کنید و دوباره درخواست دهید.","join_ended_lost":"دسترسی به {host} ممکن نشد. بررسی کنید روی یک شبکه باشید.","join_ended_left":"از بازی خارج شدید.","join_net_mismatch":"این پیوند با میزبان جور نیست؛ از او پیوند تازه‌ای بخواهید.","join_net_no_direct":"اتصال مستقیم از این شبکه ممکن نیست (روترهای هر دو طرف سخت‌گیرند). به‌جای داده همراه Wi-Fi را امتحان کنید یا از میزبان بخواهید UPnP را روشن کند.","join_net_no_room":"این دعوت دیگر باز نیست. از {host} پیوند تازه‌ای بخواهید.","join_net_full":"بازی {host} اکنون جای دوست دیگری ندارد. کمی بعد دوباره امتحان کنید.","join_net_no_hub":"دسترسی به سرویس دعوت PS5Upload ممکن نشد. اتصال اینترنت را بررسی کنید و دوباره امتحان کنید.","join_net_offer":"رایانه {host} نتوانست به این مرورگر وصل شود. مرورگر دیگری را امتحان کنید.","join_net_no_webrtc":"این مرورگر نمی‌تواند اتصال مستقیم برقرار کند. نسخه تازه Chrome، Safari یا Firefox را امتحان کنید.","join_cancel":"لغو","join_host_fallback":"دوستتان","join_connecting":"در حال اتصال به {host}…","join_waiting":"منتظر اجازهٔ ورود از {host}","join_waiting_body":"{host} نام شما را روی صفحه‌اش می‌بیند و «اجازه» را می‌زند.","join_retry":"دوباره امتحان کنید","join_again":"دوباره درخواست پیوستن","join_playing_at":"در حال بازی پیش {host}","join_you_are":"شما بازیکن {n} هستید","join_seat_stream":"شما با کاربر PS5 {host} بازی می‌کنید. لازم نیست کاربری انتخاب کنید.","join_plays_as":"شما با {profile} بازی می‌کنید. نیازی به انتخاب نیست.","join_seat_tv_asks":"{host} پروفایلی برای شما انتخاب کرد، اما نشد از آن استفاده کرد. تلویزیون می‌پرسد شما کیستید.","join_picking":"PS را بزنید، سپس روی تلویزیون «بازی سریع» را انتخاب کنید","join_hide_controls":"پنهان کردن","join_sound":"برای صدا ضربه بزنید","rp_unmute":"صدا روشن","rp_mute":"بی‌صدا","join_no_sound":"در این مرورگر صدا پخش نمی‌شود","join_exit_fullscreen":"خروج از تمام‌صفحه","pad_fill":"تمام‌صفحه","join_leave":"خروج","join_show_controls":"نمایش کنترل‌ها","join_hold_hint":"برای نمایش دکمه‌ها، تصویر را لمس کرده و نگه دارید","pad_watch_no_hevc":"این دستگاه نمی‌تواند تصویر این استریم را پخش کند: کامپیوتر HEVC می‌فرستد و این دستگاه فقط H.264 پخش می‌کند.","pad_watch_decode":"تصویر اینجا پخش نشد.","join_pad_ready":"دستهٔ شما آماده است","join_check_unknown_short":"در فهرست ما نیست: ممکن است دکمه‌ها جابه‌جا باشند.","join_full_to_play":"برای بازی با دسته روی صفحه، تمام‌صفحه را بزنید.","join_pad_none":"یک دسته وصل کنید (USB یا Bluetooth) و هر دکمه‌ای را بزنید.","join_pad_keys":"یا از صفحه‌کلید استفاده کنید: WASD حرکت، کلیدهای جهت D-pad، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"برای دیدن دکمه‌ها، روی کنترل از راه دور دکمهٔ بازگشت را بزنید.","join_block_note":"{host} دکمه‌های PS و Create را برای دوستان خاموش کرده است.","join_guide_title":"یک قدم دیگر روی تلویزیون","join_guide_body":"یک بار PS را روی دسته‌تان بزنید. تلویزیون می‌پرسد «چه کسی از این دسته استفاده می‌کند؟». «بازی سریع» یا کاربر خودتان را انتخاب کنید. میزبان لازم نیست کاری بکند.","join_guide_menus":"در صفحه اصلی PS5 فقط میزبان منوها را کنترل می‌کند؛ دسته شما داخل بازی‌ها بازی می‌کند.","join_guide_ok":"متوجه شدم","join_host_away":"میزبان بازی را متوقف کرد — در انتظار شروع دوباره ({time})","join_reconnecting":"در حال اتصال دوباره…","join_reconnecting_left":"جای شما تا {time} نگه داشته می‌شود.","pad_turn":"گوشی را افقی کنید","join_game_label":"بازی {host}","join_title":"پیوستن به بازی یک دوست","join_title_body":"روی PS5 {host} به‌عنوان بازیکن ۲، ۳ یا ۴ بازی کنید.","join_name_label":"نام شما","join_name_hint":"وقتی درخواست پیوستن بدهید، دوستتان این را می‌بیند.","join_button":"پیوستن"},"fr":{"usb_skipped_not_payload":"{name} : pas un fichier .elf ou .bin","usb_skipped_unknown":"{id} : n'est plus dans la liste des payloads","browser_unsupported":"Il faut l'application de bureau. Cela ne fonctionne pas dans le navigateur.","video_recovered_notice":"Play a planté au démarrage de l'image la dernière fois : l'image est donc maintenant décodée sans la carte graphique (modifiable dans Paramètres › Fenêtre › Graphismes › Décodage vidéo matériel).","video_recovered_title":"Image désormais décodée par logiciel","open_in_title":"Ouvrir dans l’app PS5Upload ?","open_in_body":"Vous avez l’app PS5Upload sur cet appareil ? Ouvrez ceci dedans, ou continuez dans le navigateur.","open_in_app":"Ouvrir dans l’app","open_in_browser":"Continuer dans le navigateur","open_in_remember":"Retenir mon choix sur cet appareil","open_in_opening":"Ouverture de l’app PS5Upload…","open_in_not_opened":"Rien ne s’est passé ? L’app n’est peut-être pas sur cet appareil.","open_in_again":"Réessayer","pad_8bitdo_no_xinput":"Cette manette 8BitDo n'a pas de mode X-input. Si un bouton ne correspond pas, vérifiez la manette.","pad_8bitdo_how_switch":"mettez l'interrupteur à l'arrière sur X, puis appuyez sur Start","pad_8bitdo_how_startx":"éteignez-la, puis maintenez Start + X pour l'allumer","pad_8bitdo_how_receiver":"utilisez son récepteur 2.4G ou un câble USB","pad_8bitdo_how_manual":"son manuel explique comment","pad_8bitdo_xinput":"Pour un meilleur résultat, passez votre 8BitDo en mode X-input : {how}.","rp_touch_left_stick":"Joystick gauche","rp_touch_right_stick":"Joystick droit","rp_touch_touchpad":"Pavé tactile","rp_pad_step_lx":"Poussez le stick gauche vers la droite","rp_pad_step_ly":"Poussez le stick gauche vers le bas","rp_pad_step_rx":"Poussez le stick droit vers la droite","rp_pad_step_ry":"Poussez le stick droit vers le bas","join_check_bottom":"Appuyez sur le bouton du bas (✕)","join_check_right":"Appuyez sur le bouton de droite (○)","join_check_left":"Appuyez sur le bouton de gauche (□)","join_check_top":"Appuyez sur le bouton du haut (△)","rp_pad_press":"Appuyez sur {name}","join_check_saved":"Enregistré pour cette manette sur cet appareil. Essayez-la ci-dessous.","join_check_title":"Vérifier la manette","join_done":"Terminé","rp_pads_none":"Aucune manette détectée. Connectez-en une et appuyez sur n'importe quel bouton.","rp_pad_mapped":"Joue avec votre configuration","join_check_unknown":"Cette manette n'est pas dans notre liste, ses boutons peuvent donc être inversés. La configurer ne prend que quelques secondes.","rp_pad_standard":"Reconnue","rp_pad_progress":"{n} sur {total}","rp_pad_skip":"Passer","rp_pad_back":"Retour","rp_pad_cancel":"Annuler","join_check_try":"Appuyez sur des boutons et bougez les sticks : ce que vous pressez s'allume.","join_check_redo":"Refaire","join_check_map":"Configurer les boutons","rp_pad_reset":"Réinitialiser","join_open_lan_body":"Pas d'accès à Internet ? Si vous êtes sur le même Wi-Fi que votre ami, ouvrez la partie par là.","join_open_lan":"Ouvrir sur ce Wi-Fi","join_path_lan":"Réseau domestique","join_seat_taken":"{host} avait besoin de récupérer sa manette et aucune autre manette n'était libre sur la PS5 : vous avez quitté la partie. Demandez à {host} de vous laisser revenir.","join_refused_key":"Cette invitation a expiré. Demandez un nouveau lien à {host}.","join_refused_expired":"Votre place dans la partie est perdue. Demandez à {host} de vous laisser revenir.","join_refused_full":"La partie est pleine : il y a déjà quatre joueurs.","join_refused_denied":"{host} ne vous a pas laissé entrer cette fois.","join_refused_no_answer":"{host} n'a pas répondu à temps. Prévenez {host}, puis réessayez.","join_refused_closed":"{host} n'organise pas de Jouer ensemble pour le moment.","join_refused_old_helper":"La PS5 de {host} a besoin d'un assistant à jour pour Jouer ensemble.","join_refused_not_playing":"{host} ne joue pas en ce moment. Demandez d'abord à {host} de lancer Jouer.","join_refused_unreachable":"L'ordinateur de {host} n'a pas pu joindre sa PS5. Réessayez dans un instant.","join_refused_slow_down":"Trop de codes erronés. Attendez une minute, puis réessayez.","join_refused_address":"L'adresse de ce lien est hors de ton réseau domestique, l'application ne l'utilisera donc pas. Demande à {host} un lien avec l'adresse IP de son ordinateur.","join_refused_other":"{host} ne vous a pas laissé entrer.","join_ended_kicked":"{host} vous a retiré de la partie.","join_ended_closed":"{host} a fermé Jouer ensemble.","join_ended_host_stopped":"L'hôte a arrêté de jouer.","join_ended_replaced":"Cette partie a été ouverte dans un autre onglet ou sur un autre appareil, elle s'est donc arrêtée ici.","join_ended_pad_lost":"La PS5 a perdu votre manette, vous êtes donc sorti de la partie. Demandez à {host} de vous laisser revenir.","join_ended_gave_up":"La connexion à {host} n'est pas revenue à temps.","join_net_lost":"La connexion à {host} a été coupée. Vérifiez votre connexion Internet, puis redemandez.","join_ended_lost":"Impossible de joindre {host}. Vérifiez que vous êtes sur le même réseau.","join_ended_left":"Vous avez quitté la partie.","join_net_mismatch":"Ce lien ne correspond pas à l'hôte ; demandez-lui-en un nouveau.","join_net_no_direct":"Une connexion directe est impossible depuis ce réseau (les routeurs des deux côtés sont stricts). Essayez le Wi-Fi plutôt que les données mobiles, ou demandez à l'hôte d'activer l'UPnP.","join_net_no_room":"Cette invitation n'est plus ouverte. Demandez un nouveau lien à {host}.","join_net_full":"La partie de {host} n'a pas de place pour un autre ami pour le moment. Réessayez dans un instant.","join_net_no_hub":"Impossible de joindre le service d'invitations de PS5Upload. Vérifiez votre connexion internet, puis réessayez.","join_net_offer":"L'ordinateur de {host} n'a pas pu se connecter à ce navigateur. Essayez un autre navigateur.","join_net_no_webrtc":"Ce navigateur ne peut pas établir de connexions directes. Essayez une version récente de Chrome, Safari ou Firefox.","join_cancel":"Annuler","join_host_fallback":"votre ami","join_connecting":"Connexion à {host}…","join_waiting":"En attente que {host} vous laisse entrer","join_waiting_body":"{host} voit votre nom à l'écran et appuie sur Autoriser.","join_retry":"Réessayer","join_again":"Redemander à rejoindre","join_playing_at":"En jeu chez {host}","join_you_are":"Vous êtes le joueur {n}","join_seat_stream":"Vous jouez avec l'utilisateur PS5 de {host}. Inutile d'en choisir un.","join_plays_as":"Vous jouez en tant que {profile}. Inutile d'en choisir un.","join_seat_tv_asks":"{host} a choisi un profil pour vous, mais il n'a pas pu être utilisé. La TV va vous demander qui vous êtes.","join_picking":"Appuyez sur PS, puis choisissez Jeu rapide sur la télé","join_hide_controls":"Masquer","join_sound":"Touchez pour le son","rp_unmute":"Son activé","rp_mute":"Couper le son","join_no_sound":"Pas de son dans ce navigateur","join_exit_fullscreen":"Quitter le plein écran","pad_fill":"Plein écran","join_leave":"Quitter","join_show_controls":"Afficher les commandes","join_hold_hint":"Maintenez l'image appuyée pour afficher les boutons","pad_watch_no_hevc":"Cet appareil ne peut pas lire l'image de ce stream : l'ordinateur diffuse en HEVC et cet appareil ne lit que le H.264.","pad_watch_decode":"L'image n'a pas pu être lue ici.","join_pad_ready":"Votre manette est prête","join_check_unknown_short":"Pas dans notre liste : les boutons peuvent être inversés.","join_full_to_play":"Touchez plein écran pour jouer avec la manette à l'écran.","join_pad_none":"Branchez une manette (USB ou Bluetooth) et appuyez sur un bouton.","join_pad_keys":"Ou utilisez le clavier : ZQSD/WASD pour bouger, flèches croix directionnelle, Entrée ✕, Retour arrière ○, Q □, E △, Tab Options.","join_tv_back_hint":"Appuyez sur Retour sur la télécommande pour afficher les boutons.","join_block_note":"{host} a désactivé PS et Create pour les amis.","join_guide_title":"Encore une étape sur la télé","join_guide_body":"Appuyez une fois sur PS sur votre manette. La télé demande « Qui utilise cette manette ? ». Choisissez Jeu rapide ou votre propre utilisateur. L'hôte n'a rien à faire.","join_guide_menus":"Sur l'écran d'accueil de la PS5, seul l'hôte contrôle les menus ; votre manette joue dans les jeux.","join_guide_ok":"Compris","join_host_away":"L'hôte a arrêté de jouer — en attente de sa reprise ({time})","join_reconnecting":"Reconnexion…","join_reconnecting_left":"Votre place est gardée pendant {time}.","pad_turn":"Tournez le téléphone à l'horizontale","join_game_label":"Partie de {host}","join_title":"Rejoindre la partie d'un ami","join_title_body":"Jouez sur la PS5 de {host} en tant que joueur 2, 3 ou 4.","join_name_label":"Votre nom","join_name_hint":"Votre ami le verra quand vous demanderez à rejoindre.","join_button":"Rejoindre"},"hi":{"usb_skipped_not_payload":"{name}: .elf या .bin फ़ाइल नहीं है","usb_skipped_unknown":"{id}: अब पेलोड सूची में नहीं है","browser_unsupported":"इसके लिए डेस्कटॉप ऐप चाहिए। यह ब्राउज़र में काम नहीं करता।","video_recovered_notice":"पिछली बार तस्वीर शुरू करते समय खेलें क्रैश हो गया था, इसलिए तस्वीर अब ग्राफ़िक्स कार्ड के बिना डिकोड होती है (बदलने के लिए सेटिंग्स › विंडो › ग्राफ़िक्स › हार्डवेयर वीडियो डिकोडिंग)।","video_recovered_title":"तस्वीर अब सॉफ़्टवेयर से डिकोड होती है","open_in_title":"PS5Upload ऐप में खोलें?","open_in_body":"क्या इस डिवाइस पर PS5Upload ऐप है? इसे वहाँ खोलें, या ब्राउज़र में ही जारी रखें।","open_in_app":"ऐप में खोलें","open_in_browser":"ब्राउज़र में जारी रखें","open_in_remember":"इस डिवाइस पर मेरी पसंद याद रखें","open_in_opening":"PS5Upload ऐप खुल रहा है…","open_in_not_opened":"कुछ नहीं हुआ? शायद इस डिवाइस पर ऐप नहीं है।","open_in_again":"फिर कोशिश करें","pad_8bitdo_no_xinput":"इस 8BitDo में X-input मोड नहीं है। अगर कोई बटन गलत है, तो कंट्रोलर जाँचें।","pad_8bitdo_how_switch":"पीछे का स्विच X पर करें, फिर Start दबाएँ","pad_8bitdo_how_startx":"इसे बंद करें, फिर Start + X दबाकर रखें ताकि यह चालू हो","pad_8bitdo_how_receiver":"इसका 2.4G रिसीवर या USB केबल इस्तेमाल करें","pad_8bitdo_how_manual":"इसकी मैनुअल में तरीका दिया है","pad_8bitdo_xinput":"सबसे अच्छे नतीजे के लिए अपने 8BitDo को X-input मोड में करें: {how}।","rp_touch_left_stick":"बायाँ स्टिक","rp_touch_right_stick":"दायाँ स्टिक","rp_touch_touchpad":"टचपैड","rp_menu":"मेनू","rp_pad_step_lx":"बायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ly":"बायाँ स्टिक नीचे धकेलें","rp_pad_step_rx":"दायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ry":"दायाँ स्टिक नीचे धकेलें","join_check_bottom":"नीचे वाला फ़ेस बटन दबाएँ (✕)","join_check_right":"दाईं ओर वाला फ़ेस बटन दबाएँ (○)","join_check_left":"बाईं ओर वाला फ़ेस बटन दबाएँ (□)","join_check_top":"ऊपर वाला फ़ेस बटन दबाएँ (△)","rp_pad_press":"{name} दबाएँ","join_check_saved":"इस डिवाइस पर इस कंट्रोलर के लिए सेव हो गया। नीचे आज़माएँ।","join_check_title":"अपना कंट्रोलर जाँचें","join_done":"हो गया","rp_pads_none":"अभी तक कोई कंट्रोलर नहीं दिखा। एक कनेक्ट करें और उस पर कोई भी बटन दबाएँ।","rp_pad_mapped":"आपकी मैपिंग से खेलता है","join_check_unknown":"यह कंट्रोलर हमारी सूची में नहीं है, इसलिए इसके बटन आपस में बदले हो सकते हैं। सेट अप करने में कुछ सेकंड लगते हैं।","rp_pad_standard":"पहचाना गया","rp_pad_progress":"{total} में से {n}","rp_pad_skip":"छोड़ें","rp_pad_back":"वापस","rp_pad_cancel":"रद्द करें","join_check_try":"बटन दबाएँ और स्टिक हिलाएँ: जो दबाएँगे वह जल उठेगा।","join_check_redo":"फिर से करें","join_check_map":"बटन सेट करें","rp_pad_reset":"रीसेट करें","join_open_lan_body":"इंटरनेट नहीं मिल रहा? अगर आप दोस्त वाले Wi-Fi पर ही हैं, तो गेम वहीं खोलें।","join_open_lan":"इसी Wi-Fi पर खोलें","join_path_lan":"होम नेटवर्क","join_path_internet":"इंटरनेट","join_seat_taken":"{host} को अपना कंट्रोलर वापस चाहिए था और PS5 पर कोई दूसरा कंट्रोलर खाली नहीं था, इसलिए आप गेम से बाहर हो गए। {host} से फिर से अंदर आने देने को कहें।","join_refused_key":"इस न्योते की समय-सीमा खत्म हो गई है। {host} से नया लिंक माँगें।","join_refused_expired":"गेम में आपकी जगह चली गई। {host} से फिर अंदर लेने को कहें।","join_refused_full":"गेम भर गया है: पहले से चार प्लेयर हैं।","join_refused_denied":"{host} ने इस बार आपको अंदर नहीं आने दिया।","join_refused_no_answer":"{host} ने समय पर जवाब नहीं दिया। {host} को बताएँ, फिर कोशिश करें।","join_refused_closed":"{host} अभी 'साथ खेलें' नहीं चला रहे हैं।","join_refused_old_helper":"'साथ खेलें' के लिए {host} के PS5 को अपडेटेड हेल्पर चाहिए।","join_refused_not_playing":"{host} अभी नहीं खेल रहे हैं। {host} से पहले खेलें शुरू करने को कहें।","join_refused_unreachable":"{host} का कंप्यूटर उनके PS5 तक नहीं पहुँच सका। थोड़ी देर में फिर कोशिश करें।","join_refused_slow_down":"बहुत सारे गलत कोड। एक मिनट रुकें, फिर कोशिश करें।","join_refused_address":"इस लिंक का पता आपके होम नेटवर्क से बाहर है, इसलिए ऐप इसका उपयोग नहीं करेगा। {host} से उनके कंप्यूटर के IP पते वाला लिंक माँगें।","join_refused_other":"{host} ने आपको अंदर नहीं आने दिया।","join_ended_kicked":"{host} ने आपको गेम से हटा दिया।","join_ended_closed":"{host} ने 'साथ खेलें' बंद कर दिया।","join_ended_host_stopped":"होस्ट ने खेलना बंद कर दिया।","join_ended_replaced":"यह गेम किसी दूसरे टैब या डिवाइस पर खुल गया, इसलिए यहाँ रुक गया।","join_ended_pad_lost":"PS5 ने आपका कंट्रोलर खो दिया, इसलिए आप गेम से बाहर हैं। {host} से फिर अंदर लेने को कहें।","join_ended_gave_up":"{host} से कनेक्शन समय पर वापस नहीं आया।","join_net_lost":"{host} से कनेक्शन टूट गया। अपना इंटरनेट कनेक्शन जाँचें, फिर दोबारा पूछें।","join_ended_lost":"{host} तक नहीं पहुँच सके। देखें कि आप एक ही नेटवर्क पर हैं।","join_ended_left":"आपने गेम छोड़ दिया।","join_net_mismatch":"यह लिंक होस्ट से मेल नहीं खाता; उनसे नया लिंक माँगें।","join_net_no_direct":"इस नेटवर्क से सीधा कनेक्शन संभव नहीं है (दोनों तरफ़ के राउटर सख़्त हैं)। मोबाइल डेटा की जगह Wi-Fi आज़माएँ, या होस्ट से UPnP चालू करने को कहें।","join_net_no_room":"यह न्योता अब खुला नहीं है। {host} से नया लिंक माँगें।","join_net_full":"{host} के गेम में अभी एक और दोस्त की जगह नहीं है। थोड़ी देर में फिर कोशिश करें।","join_net_no_hub":"PS5Upload न्योता सेवा तक नहीं पहुँच सके। अपना इंटरनेट कनेक्शन जाँचें, फिर कोशिश करें।","join_net_offer":"{host} का कंप्यूटर इस ब्राउज़र से कनेक्ट नहीं हो सका। कोई दूसरा ब्राउज़र आज़माएँ।","join_net_no_webrtc":"यह ब्राउज़र सीधे कनेक्शन नहीं बना सकता। Chrome, Safari या Firefox का नया संस्करण आज़माएँ।","join_cancel":"रद्द करें","join_host_fallback":"आपका दोस्त","join_connecting":"{host} से जुड़ रहे हैं…","join_waiting":"{host} के अंदर आने देने का इंतज़ार","join_waiting_body":"{host} अपनी स्क्रीन पर आपका नाम देखकर 'अनुमति दें' पर टैप करेंगे।","join_retry":"फिर कोशिश करें","join_again":"फिर से जुड़ने के लिए पूछें","join_playing_at":"{host} के यहाँ खेल रहे हैं","join_you_are":"आप प्लेयर {n} हैं","join_seat_stream":"आप {host} के PS5 यूज़र के रूप में खेल रहे हैं। यूज़र चुनने की ज़रूरत नहीं।","join_plays_as":"आप {profile} के रूप में खेल रहे हैं। कुछ चुनने की ज़रूरत नहीं।","join_seat_tv_asks":"{host} ने आपके लिए एक प्रोफ़ाइल चुनी थी, पर वह इस्तेमाल नहीं हो सकी। टीवी पूछेगा कि आप कौन हैं।","join_picking":"PS दबाएँ, फिर TV पर क्विक प्ले चुनें","join_hide_controls":"छिपाएँ","join_sound":"आवाज़ के लिए टैप करें","rp_unmute":"ध्वनि चालू","rp_mute":"म्यूट","join_no_sound":"इस ब्राउज़र में आवाज़ नहीं है","join_exit_fullscreen":"फ़ुल स्क्रीन से बाहर निकलें","pad_fill":"फ़ुल स्क्रीन","join_leave":"छोड़ें","join_show_controls":"कंट्रोल दिखाएं","join_hold_hint":"बटन दिखाने के लिए तस्वीर को दबाकर रखें","pad_watch_no_hevc":"यह डिवाइस इस स्ट्रीम की तस्वीर नहीं चला सकता: कंप्यूटर HEVC में स्ट्रीम करता है और यह डिवाइस सिर्फ़ H.264 चलाता है।","pad_watch_decode":"तस्वीर यहाँ नहीं चल सकी।","join_pad_ready":"आपका कंट्रोलर तैयार है","join_check_unknown_short":"हमारी सूची में नहीं: बटन बदले हुए हो सकते हैं।","join_full_to_play":"ऑन-स्क्रीन कंट्रोलर से खेलने के लिए फ़ुल स्क्रीन पर टैप करें।","join_pad_none":"कंट्रोलर जोड़ें (USB या Bluetooth) और कोई भी बटन दबाएँ।","join_pad_keys":"या कीबोर्ड इस्तेमाल करें: WASD चलना, ऐरो D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"बटन देखने के लिए रिमोट पर Back दबाएँ।","join_block_note":"{host} ने दोस्तों के लिए PS और Create बंद कर दिए हैं।","join_guide_title":"TV पर एक और कदम","join_guide_body":"अपने कंट्रोलर पर एक बार PS दबाएँ। TV पूछेगा \"यह कंट्रोलर कौन इस्तेमाल कर रहा है?\"। क्विक प्ले या अपना यूज़र चुनें। होस्ट को कुछ नहीं करना है।","join_guide_menus":"PS5 की होम स्क्रीन पर सिर्फ़ होस्ट मेन्यू चलाता है; आपका कंट्रोलर गेम के अंदर खेलता है।","join_guide_ok":"ठीक है","join_host_away":"होस्ट ने खेलना बंद कर दिया — उनके फिर से शुरू करने का इंतज़ार ({time})","join_reconnecting":"फिर से जुड़ रहे हैं…","join_reconnecting_left":"आपकी जगह {time} तक रखी जाएगी।","pad_turn":"फ़ोन को आड़ा घुमाएँ","join_game_label":"{host} का गेम","join_title":"दोस्त के गेम में जुड़ें","join_title_body":"{host} के PS5 पर प्लेयर 2, 3 या 4 बनकर खेलें।","join_name_label":"आपका नाम","join_name_hint":"जुड़ने के लिए पूछने पर आपका दोस्त यह देखेगा।","join_button":"जुड़ें"},"hu":{"usb_skipped_not_payload":"{name}: nem .elf vagy .bin fájl","usb_skipped_unknown":"{id}: már nincs a payloadok listáján","browser_unsupported":"Ehhez az asztali alkalmazás kell. Böngészőben nem működik.","video_recovered_notice":"Legutóbb a Play összeomlott a kép indításakor, ezért a kép mostantól videokártya nélkül dekódolódik (módosítás: Beállítások › Ablak › Grafika › Hardveres videódekódolás).","video_recovered_title":"A kép mostantól szoftveresen dekódolódik","open_in_title":"Megnyitod a PS5Upload appban?","open_in_body":"Megvan a PS5Upload app ezen az eszközön? Nyisd meg ott, vagy folytasd a böngészőben.","open_in_app":"Megnyitás az appban","open_in_browser":"Folytatás a böngészőben","open_in_remember":"Választásom megjegyzése ezen az eszközön","open_in_opening":"A PS5Upload app megnyitása…","open_in_not_opened":"Nem történt semmi? Lehet, hogy az app nincs ezen az eszközön.","open_in_again":"Újra","pad_8bitdo_no_xinput":"Ennek a 8BitDo-nak nincs X-input módja. Ha egy gomb rossz, ellenőrizd a kontrollert.","pad_8bitdo_how_switch":"állítsd a hátsó kapcsolót X-re, majd nyomd meg a Start gombot","pad_8bitdo_how_startx":"kapcsold ki, majd a Start + X nyomva tartásával kapcsold be","pad_8bitdo_how_receiver":"használd a 2.4G vevőjét vagy egy USB-kábelt","pad_8bitdo_how_manual":"a kézikönyve leírja, hogyan","pad_8bitdo_xinput":"A legjobb eredményért kapcsold a 8BitDo-t X-input módba: {how}.","rp_touch_left_stick":"Bal kar","rp_touch_right_stick":"Jobb kar","rp_touch_touchpad":"Érintőpad","rp_menu":"Menü","rp_pad_step_lx":"Told a bal kart jobbra","rp_pad_step_ly":"Told a bal kart lefelé","rp_pad_step_rx":"Told a jobb kart jobbra","rp_pad_step_ry":"Told a jobb kart lefelé","join_check_bottom":"Nyomd meg az alsó előlapi gombot (✕)","join_check_right":"Nyomd meg a jobb oldali előlapi gombot (○)","join_check_left":"Nyomd meg a bal oldali előlapi gombot (□)","join_check_top":"Nyomd meg a felső előlapi gombot (△)","rp_pad_press":"Nyomd meg: {name}","join_check_saved":"Elmentve ehhez a kontrollerhez ezen az eszközön. Próbáld ki lent.","join_check_title":"Kontroller ellenőrzése","join_done":"Kész","rp_pads_none":"Még nem látható kontroller. Csatlakoztass egyet, és nyomd meg bármelyik gombját.","rp_pad_mapped":"A saját kiosztásoddal játszik","join_check_unknown":"Ez a kontroller nincs a listánkon, így a gombjai összekeveredhetnek. A beállítás csak pár másodperc.","rp_pad_standard":"Felismerve","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Kihagyás","rp_pad_back":"Vissza","rp_pad_cancel":"Mégse","join_check_try":"Nyomj gombokat és mozgasd a karokat: amit megnyomsz, az felvillan.","join_check_redo":"Újra","join_check_map":"Gombok beállítása","rp_pad_reset":"Visszaállítás","join_open_lan_body":"Nem éred el az internetet? Ha ugyanazon a Wi-Fin vagy, mint a barátod, ott nyisd meg a játékot.","join_open_lan":"Megnyitás ezen a Wi-Fin","join_path_lan":"Otthoni hálózat","join_seat_taken":"{host} visszakérte a kontrollerét, és a PS5-ön nem volt más szabad kontroller, ezért kikerültél a játékból. Kérd meg {host} játékost, hogy engedjen be újra.","join_refused_key":"Ez a meghívó lejárt. Kérj új linket tőle: {host}.","join_refused_expired":"Elveszett a helyed a játékban. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_refused_full":"A játék megtelt: már négy játékos van bent.","join_refused_denied":"{host} most nem engedett be.","join_refused_no_answer":"{host} nem válaszolt időben. Szólj neki ({host}), majd próbáld újra.","join_refused_closed":"{host} most nem indított Közös játékot.","join_refused_old_helper":"{host} PS5-jének frissített segédprogram kell a Közös játékhoz.","join_refused_not_playing":"{host} most nem játszik. Kérd meg, hogy előbb indítsa el a Játékot ({host}).","join_refused_unreachable":"{host} számítógépe nem érte el a PS5-öt. Próbáld újra egy kicsit később.","join_refused_slow_down":"Túl sok hibás kód. Várj egy percet, aztán próbáld újra.","join_refused_address":"A hivatkozás címe kívül esik az otthoni hálózatodon, ezért az alkalmazás nem használja. Kérj {host} felhasználótól olyan hivatkozást, amely a számítógépe IP-címét tartalmazza.","join_refused_other":"{host} nem engedett be.","join_ended_kicked":"{host} kivett a játékból.","join_ended_closed":"{host} bezárta a Közös játékot.","join_ended_host_stopped":"A házigazda abbahagyta a játékot.","join_ended_replaced":"Ezt a játékot egy másik lapon vagy eszközön nyitották meg, ezért itt leállt.","join_ended_pad_lost":"A PS5 elvesztette a kontrollered, ezért kikerültél a játékból. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_ended_gave_up":"A kapcsolat {host} felé nem állt helyre időben.","join_net_lost":"Megszakadt a kapcsolat ezzel: {host}. Ellenőrizd az internetkapcsolatod, aztán kérd újra.","join_ended_lost":"{host} nem érhető el. Ellenőrizd, hogy ugyanazon a hálózaton vagytok-e.","join_ended_left":"Kiléptél a játékból.","join_net_mismatch":"Ez a link nem egyezik a házigazdával; kérj tőle újat.","join_net_no_direct":"Erről a hálózatról nem lehet közvetlen kapcsolatot létrehozni (mindkét oldal routere szigorú). Próbáld Wi-Fi-vel mobilnet helyett, vagy kérd meg a házigazdát, hogy kapcsolja be az UPnP-t.","join_net_no_room":"Ez a meghívó már nem érvényes. Kérj új linket {host} felhasználótól.","join_net_full":"{host} játékában most nincs hely egy újabb barátnak. Próbáld újra egy kicsit később.","join_net_no_hub":"A PS5Upload meghívószolgáltatása nem érhető el. Ellenőrizd az internetkapcsolatot, majd próbáld újra.","join_net_offer":"{host} számítógépe nem tudott kapcsolódni ehhez a böngészőhöz. Próbálj ki egy másik böngészőt.","join_net_no_webrtc":"Ez a böngésző nem tud közvetlen kapcsolatot létrehozni. Próbáld egy friss Chrome-mal, Safarival vagy Firefoxszal.","join_cancel":"Mégse","join_host_fallback":"a barátod","join_connecting":"Csatlakozás ehhez: {host}…","join_waiting":"Várakozás, amíg {host} beenged","join_waiting_body":"{host} látja a neved a képernyőjén, és az Engedélyezésre koppint.","join_retry":"Újra","join_again":"Csatlakozás kérése újra","join_playing_at":"Játék itt: {host}","join_you_are":"Te vagy a(z) {n}. játékos","join_seat_stream":"{host} PS5-felhasználójaként játszol. Nem kell felhasználót választanod.","join_plays_as":"{profile} néven játszol. Nem kell választanod.","join_seat_tv_asks":"{host} választott neked egy profilt, de nem lehetett használni. A tévé megkérdezi, ki vagy.","join_picking":"Nyomd meg a PS gombot, aztán a tévén válaszd a Gyors játékot","join_hide_controls":"Elrejtés","join_sound":"Koppints a hanghoz","rp_unmute":"Hang be","rp_mute":"Némítás","join_no_sound":"Ebben a böngészőben nincs hang","join_exit_fullscreen":"Kilépés a teljes képernyőből","pad_fill":"Teljes képernyő","join_leave":"Kilépés","join_show_controls":"Vezérlők megjelenítése","join_hold_hint":"A gombok megjelenítéséhez tartsd lenyomva a képet","pad_watch_no_hevc":"Ez az eszköz nem tudja lejátszani ennek a streamnek a képét: a számítógép HEVC-ben streamel, ez az eszköz csak H.264-et játszik le.","pad_watch_decode":"A képet itt nem sikerült lejátszani.","join_pad_ready":"A kontrollered készen áll","join_check_unknown_short":"Nincs a listánkon: a gombok összekeveredhetnek.","join_full_to_play":"Koppints a Teljes képernyő gombra, hogy a képernyős kontrollerrel játssz.","join_pad_none":"Csatlakoztass egy kontrollert (USB vagy Bluetooth), és nyomj meg egy gombot.","join_pad_keys":"Vagy használd a billentyűzetet: WASD mozgás, nyilak D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"A gombokhoz nyomd meg a távirányítón a Vissza gombot.","join_block_note":"{host} kikapcsolta a PS és Create gombot a barátoknak.","join_guide_title":"Még egy lépés a tévén","join_guide_body":"Nyomd meg egyszer a PS gombot a kontrollereden. A tévé megkérdezi: „Ki használja ezt a kontrollert?”. Válaszd a Gyors játékot vagy a saját felhasználódat. A házigazdának semmit sem kell tennie.","join_guide_menus":"A PS5 kezdőképernyőjén csak a házigazda kezeli a menüket; a te kontrollered a játékokban működik.","join_guide_ok":"Értem","join_host_away":"A házigazda abbahagyta a játékot – várjuk, hogy újra elkezdje ({time})","join_reconnecting":"Újracsatlakozás…","join_reconnecting_left":"A helyed még {time} ideig fenntartjuk.","pad_turn":"Fordítsd el a telefont fekvőre","join_game_label":"{host} játéka","join_title":"Csatlakozás egy barát játékához","join_title_body":"Játssz {host} PS5-jén 2., 3. vagy 4. játékosként.","join_name_label":"A neved","join_name_hint":"A barátod ezt látja, amikor csatlakozni szeretnél.","join_button":"Csatlakozás"},"id":{"usb_skipped_not_payload":"{name}: bukan file .elf atau .bin","usb_skipped_unknown":"{id}: tidak ada lagi di daftar payload","browser_unsupported":"Ini memerlukan aplikasi desktop. Tidak berfungsi di browser.","video_recovered_notice":"Terakhir kali Play crash saat memulai gambar, jadi gambar kini didekode tanpa kartu grafis (ubah di Pengaturan › Jendela › Grafis › Dekode video perangkat keras).","video_recovered_title":"Gambar kini didekode oleh perangkat lunak","open_in_title":"Buka di aplikasi PS5Upload?","open_in_body":"Punya aplikasi PS5Upload di perangkat ini? Buka di sana, atau lanjutkan di browser.","open_in_app":"Buka di aplikasi","open_in_browser":"Lanjutkan di browser","open_in_remember":"Ingat pilihan saya di perangkat ini","open_in_opening":"Membuka aplikasi PS5Upload…","open_in_not_opened":"Tidak terjadi apa-apa? Mungkin aplikasinya tidak ada di perangkat ini.","open_in_again":"Coba lagi","pad_8bitdo_no_xinput":"8BitDo ini tidak punya mode X-input. Jika ada tombol yang salah, periksa kontrolernya.","pad_8bitdo_how_switch":"geser sakelar di belakang ke X, lalu tekan Start","pad_8bitdo_how_startx":"matikan, lalu tahan Start + X untuk menyalakannya","pad_8bitdo_how_receiver":"gunakan receiver 2.4G-nya atau kabel USB","pad_8bitdo_how_manual":"caranya ada di buku panduannya","pad_8bitdo_xinput":"Untuk hasil terbaik, ubah 8BitDo kamu ke mode X-input: {how}.","rp_touch_left_stick":"Stik kiri","rp_touch_right_stick":"Stik kanan","rp_pad_step_lx":"Dorong stik kiri ke kanan","rp_pad_step_ly":"Dorong stik kiri ke bawah","rp_pad_step_rx":"Dorong stik kanan ke kanan","rp_pad_step_ry":"Dorong stik kanan ke bawah","join_check_bottom":"Tekan tombol muka bawah (✕)","join_check_right":"Tekan tombol muka kanan (○)","join_check_left":"Tekan tombol muka kiri (□)","join_check_top":"Tekan tombol muka atas (△)","rp_pad_press":"Tekan {name}","join_check_saved":"Disimpan untuk kontroler ini di perangkat ini. Coba di bawah.","join_check_title":"Periksa kontrolermu","join_done":"Selesai","rp_pads_none":"Belum ada kontroler terdeteksi. Sambungkan satu dan tekan tombol apa saja.","rp_pad_mapped":"Bermain dengan pemetaan Anda","join_check_unknown":"Kontroler ini tidak ada di daftar kami, jadi tombolnya bisa tertukar. Mengaturnya hanya butuh beberapa detik.","rp_pad_standard":"Dikenali","rp_pad_progress":"{n} dari {total}","rp_pad_skip":"Lewati","rp_pad_back":"Kembali","rp_pad_cancel":"Batal","join_check_try":"Tekan tombol dan gerakkan stik: yang kamu tekan akan menyala.","join_check_redo":"Ulangi","join_check_map":"Atur tombol","rp_pad_reset":"Atur ulang","join_open_lan_body":"Tidak bisa ke internet? Kalau kamu di Wi-Fi yang sama dengan temanmu, buka game-nya di sana.","join_open_lan":"Buka di Wi-Fi ini","join_path_lan":"Jaringan rumah","join_seat_taken":"{host} membutuhkan kontrolernya kembali dan tidak ada kontroler lain yang kosong di PS5, jadi Anda keluar dari permainan. Minta {host} untuk mengizinkan Anda masuk lagi.","join_refused_key":"Undangan ini sudah kedaluwarsa. Minta tautan baru ke {host}.","join_refused_expired":"Tempat Anda di permainan hilang. Minta {host} untuk memasukkan Anda lagi.","join_refused_full":"Game sudah penuh: sudah ada empat pemain.","join_refused_denied":"{host} tidak mengizinkan Anda masuk kali ini.","join_refused_no_answer":"{host} tidak menjawab tepat waktu. Beri tahu {host}, lalu coba lagi.","join_refused_closed":"{host} sedang tidak membuka Main Bareng.","join_refused_old_helper":"PS5 milik {host} perlu helper terbaru untuk Main Bareng.","join_refused_not_playing":"{host} sedang tidak main. Minta {host} memulai Main dulu.","join_refused_unreachable":"Komputer {host} tidak bisa menjangkau PS5-nya. Coba lagi sebentar lagi.","join_refused_slow_down":"Terlalu banyak kode yang salah. Tunggu satu menit, lalu coba lagi.","join_refused_address":"Alamat tautan ini berada di luar jaringan rumah Anda, jadi aplikasi tidak akan memakainya. Minta {host} tautan dengan alamat IP komputernya.","join_refused_other":"{host} tidak mengizinkan Anda masuk.","join_ended_kicked":"{host} mengeluarkan Anda dari game.","join_ended_closed":"{host} menutup Main Bareng.","join_ended_host_stopped":"Host berhenti main.","join_ended_replaced":"Permainan ini dibuka di tab atau perangkat lain, jadi berhenti di sini.","join_ended_pad_lost":"PS5 kehilangan kontroler Anda, jadi Anda keluar dari permainan. Minta {host} untuk memasukkan Anda lagi.","join_ended_gave_up":"Koneksi ke {host} tidak pulih tepat waktu.","join_net_lost":"Koneksi ke {host} terputus. Periksa koneksi internetmu, lalu minta lagi.","join_ended_lost":"Tidak bisa menjangkau {host}. Pastikan Anda di jaringan yang sama.","join_ended_left":"Anda keluar dari game.","join_net_mismatch":"Tautan ini tidak cocok dengan host; minta tautan baru kepadanya.","join_net_no_direct":"Koneksi langsung tidak mungkin dari jaringan ini (router kedua pihak ketat). Coba Wi-Fi alih-alih data seluler, atau minta host menyalakan UPnP.","join_net_no_room":"Undangan ini sudah tidak terbuka. Minta tautan baru kepada {host}.","join_net_full":"Permainan {host} tidak punya tempat untuk teman lain sekarang. Coba lagi sebentar lagi.","join_net_no_hub":"Tidak bisa menjangkau layanan undangan PS5Upload. Periksa koneksi internet Anda, lalu coba lagi.","join_net_offer":"Komputer {host} tidak bisa terhubung ke browser ini. Coba browser lain.","join_net_no_webrtc":"Browser ini tidak bisa membuat koneksi langsung. Coba Chrome, Safari, atau Firefox versi terbaru.","join_cancel":"Batal","join_host_fallback":"teman Anda","join_connecting":"Menghubungkan ke {host}…","join_waiting":"Menunggu {host} mengizinkan Anda masuk","join_waiting_body":"{host} melihat nama Anda di layarnya lalu mengetuk Izinkan.","join_retry":"Coba lagi","join_again":"Minta bergabung lagi","join_playing_at":"Main di tempat {host}","join_you_are":"Anda Pemain {n}","join_seat_stream":"Anda bermain sebagai pengguna PS5 {host}. Tidak perlu memilih pengguna.","join_plays_as":"Anda bermain sebagai {profile}. Tidak perlu memilih.","join_seat_tv_asks":"{host} memilihkan profil untuk Anda, tetapi tidak bisa dipakai. TV akan menanyakan siapa Anda.","join_picking":"Tekan PS, lalu pilih Main Cepat di TV","join_hide_controls":"Sembunyikan","join_sound":"Ketuk untuk suara","rp_unmute":"Suara aktif","rp_mute":"Bisukan","join_no_sound":"Tidak ada suara di browser ini","join_exit_fullscreen":"Keluar dari layar penuh","pad_fill":"Layar penuh","join_leave":"Keluar","join_show_controls":"Tampilkan kontrol","join_hold_hint":"Tekan dan tahan gambar untuk menampilkan tombol","pad_watch_no_hevc":"Perangkat ini tidak bisa memutar gambar stream ini: komputer mengirim HEVC, dan perangkat ini hanya memutar H.264.","pad_watch_decode":"Gambar tidak dapat diputar di sini.","join_pad_ready":"Kontroler Anda siap","join_check_unknown_short":"Tidak ada di daftar kami: tombol bisa tertukar.","join_full_to_play":"Ketuk Layar penuh untuk main dengan kontroler di layar.","join_pad_none":"Hubungkan kontroler (USB atau Bluetooth) lalu tekan tombol apa saja.","join_pad_keys":"Atau pakai keyboard: WASD gerak, panah D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Tekan Kembali di remote untuk menampilkan tombol.","join_block_note":"{host} mematikan PS dan Create untuk teman.","join_guide_title":"Satu langkah lagi di TV","join_guide_body":"Tekan PS sekali di kontroler Anda. TV bertanya \"Siapa yang memakai kontroler ini?\". Pilih Main Cepat atau pengguna Anda sendiri. Tuan rumah tidak perlu melakukan apa pun.","join_guide_menus":"Di layar beranda PS5 hanya host yang mengendalikan menu; kontroler Anda berfungsi di dalam game.","join_guide_ok":"Mengerti","join_host_away":"Host berhenti main — menunggu mereka mulai lagi ({time})","join_reconnecting":"Menyambung ulang…","join_reconnecting_left":"Tempat Anda disimpan selama {time}.","pad_turn":"Miringkan ponsel ke samping","join_game_label":"Game {host}","join_title":"Gabung ke game teman","join_title_body":"Main di PS5 milik {host} sebagai Pemain 2, 3, atau 4.","join_name_label":"Nama Anda","join_name_hint":"Teman Anda melihat nama ini saat Anda minta bergabung.","join_button":"Gabung"},"it":{"usb_skipped_not_payload":"{name}: non è un file .elf o .bin","usb_skipped_unknown":"{id}: non è più nell'elenco dei payload","browser_unsupported":"Serve l'app desktop. Non funziona nel browser.","video_recovered_notice":"L'ultima volta Play si è chiuso all'avvio dell'immagine, quindi ora l'immagine è decodificata senza la scheda grafica (modificabile in Impostazioni › Finestra › Grafica › Decodifica video hardware).","video_recovered_title":"Immagine ora decodificata via software","open_in_title":"Aprire nell’app PS5Upload?","open_in_body":"Hai l’app PS5Upload su questo dispositivo? Aprilo lì, oppure continua nel browser.","open_in_app":"Apri nell’app","open_in_browser":"Continua nel browser","open_in_remember":"Ricorda la mia scelta su questo dispositivo","open_in_opening":"Apertura dell’app PS5Upload…","open_in_not_opened":"Non è successo niente? Forse l’app non è su questo dispositivo.","open_in_again":"Riprova","pad_8bitdo_no_xinput":"Questo 8BitDo non ha la modalità X-input. Se un tasto è sbagliato, controlla il controller.","pad_8bitdo_how_switch":"porta l'interruttore sul retro su X, poi premi Start","pad_8bitdo_how_startx":"spegnilo, poi tieni premuto Start + X per accenderlo","pad_8bitdo_how_receiver":"usa il suo ricevitore 2.4G o un cavo USB","pad_8bitdo_how_manual":"il suo manuale spiega come","pad_8bitdo_xinput":"Per il risultato migliore, passa il tuo 8BitDo in modalità X-input: {how}.","rp_touch_left_stick":"Levetta sinistra","rp_touch_right_stick":"Levetta destra","rp_pad_step_lx":"Spingi la levetta sinistra a destra","rp_pad_step_ly":"Spingi la levetta sinistra in basso","rp_pad_step_rx":"Spingi la levetta destra a destra","rp_pad_step_ry":"Spingi la levetta destra in basso","join_check_bottom":"Premi il tasto frontale in basso (✕)","join_check_right":"Premi il tasto frontale a destra (○)","join_check_left":"Premi il tasto frontale a sinistra (□)","join_check_top":"Premi il tasto frontale in alto (△)","rp_pad_press":"Premi {name}","join_check_saved":"Salvato per questo controller su questo dispositivo. Provalo qui sotto.","join_check_title":"Controlla il controller","join_done":"Fatto","rp_pads_none":"Nessun controller rilevato. Collegane uno e premi un tasto qualsiasi.","rp_pad_mapped":"Gioca con la tua mappatura","join_check_unknown":"Questo controller non è nel nostro elenco, quindi i tasti potrebbero essere scambiati. Configurarlo richiede pochi secondi.","rp_pad_standard":"Riconosciuto","rp_pad_progress":"{n} di {total}","rp_pad_skip":"Salta","rp_pad_back":"Indietro","rp_pad_cancel":"Annulla","join_check_try":"Premi i tasti e muovi le levette: ciò che premi si illumina.","join_check_redo":"Rifai","join_check_map":"Configura i tasti","rp_pad_reset":"Ripristina","join_open_lan_body":"Niente Internet? Se sei sullo stesso Wi-Fi del tuo amico, apri la partita da lì.","join_open_lan":"Apri su questo Wi-Fi","join_path_lan":"Rete domestica","join_seat_taken":"{host} aveva bisogno di riavere il suo controller e sulla PS5 non c'era un altro controller libero, quindi sei uscito dalla partita. Chiedi a {host} di farti entrare di nuovo.","join_refused_key":"Questo invito è scaduto. Chiedi a {host} un nuovo link.","join_refused_expired":"Il tuo posto nella partita è perso. Chiedi a {host} di farti rientrare.","join_refused_full":"La partita è piena: ci sono già quattro giocatori.","join_refused_denied":"Stavolta {host} non ti ha fatto entrare.","join_refused_no_answer":"{host} non ha risposto in tempo. Avvisa {host}, poi riprova.","join_refused_closed":"Al momento {host} non sta ospitando Gioca insieme.","join_refused_old_helper":"La PS5 di {host} ha bisogno di un helper aggiornato per Gioca insieme.","join_refused_not_playing":"{host} non sta giocando ora. Chiedi prima a {host} di avviare Gioca.","join_refused_unreachable":"Il computer di {host} non è riuscito a raggiungere la PS5. Riprova tra poco.","join_refused_slow_down":"Troppi codici errati. Aspetta un minuto e riprova.","join_refused_address":"L'indirizzo di questo link è fuori dalla tua rete domestica, quindi l'app non lo userà. Chiedi a {host} un link con l'indirizzo IP del suo computer.","join_refused_other":"{host} non ti ha fatto entrare.","join_ended_kicked":"{host} ti ha tolto dalla partita.","join_ended_closed":"{host} ha chiuso Gioca insieme.","join_ended_host_stopped":"L'host ha smesso di giocare.","join_ended_replaced":"Questa partita è stata aperta in un'altra scheda o su un altro dispositivo, quindi qui si è fermata.","join_ended_pad_lost":"La PS5 ha perso il tuo controller, quindi sei fuori dalla partita. Chiedi a {host} di farti rientrare.","join_ended_gave_up":"La connessione con {host} non è tornata in tempo.","join_net_lost":"La connessione con {host} si è interrotta. Controlla la connessione Internet, poi chiedi di nuovo.","join_ended_lost":"Impossibile raggiungere {host}. Controlla di essere sulla stessa rete.","join_ended_left":"Sei uscito dalla partita.","join_net_mismatch":"Questo link non corrisponde all'host; chiedigliene uno nuovo.","join_net_no_direct":"Da questa rete non è possibile una connessione diretta (i router di entrambi i lati sono restrittivi). Prova il Wi-Fi invece dei dati mobili, oppure chiedi all'host di attivare UPnP.","join_net_no_room":"Questo invito non è più aperto. Chiedi a {host} un nuovo link.","join_net_full":"La partita di {host} non ha posto per un altro amico in questo momento. Riprova tra poco.","join_net_no_hub":"Impossibile raggiungere il servizio inviti di PS5Upload. Controlla la connessione a internet, poi riprova.","join_net_offer":"Il computer di {host} non è riuscito a connettersi a questo browser. Prova un altro browser.","join_net_no_webrtc":"Questo browser non può creare connessioni dirette. Prova una versione recente di Chrome, Safari o Firefox.","join_cancel":"Annulla","join_host_fallback":"il tuo amico","join_connecting":"Connessione a {host}…","join_waiting":"In attesa che {host} ti faccia entrare","join_waiting_body":"{host} vede il tuo nome sullo schermo e tocca Consenti.","join_retry":"Riprova","join_again":"Chiedi di nuovo di entrare","join_playing_at":"Giochi da {host}","join_you_are":"Sei il Giocatore {n}","join_seat_stream":"Stai giocando con l'utente PS5 di {host}. Non serve sceglierne uno.","join_plays_as":"Stai giocando come {profile}. Non devi sceglierne uno.","join_seat_tv_asks":"{host} ha scelto un profilo per te, ma non si è potuto usare. La TV ti chiederà chi sei.","join_picking":"Premi PS, poi scegli Gioco rapido sulla TV","join_hide_controls":"Nascondi","join_sound":"Tocca per l'audio","rp_unmute":"Audio attivo","rp_mute":"Muto","join_no_sound":"Nessun suono in questo browser","join_exit_fullscreen":"Esci da schermo intero","pad_fill":"Schermo intero","join_leave":"Esci","join_show_controls":"Mostra i comandi","join_hold_hint":"Tieni premuto sull'immagine per mostrare i pulsanti","pad_watch_no_hevc":"Questo dispositivo non può riprodurre l'immagine di questo stream: il computer trasmette in HEVC e questo dispositivo riproduce solo H.264.","pad_watch_decode":"Non è stato possibile riprodurre l'immagine qui.","join_pad_ready":"Il tuo controller è pronto","join_check_unknown_short":"Non è nel nostro elenco: i tasti potrebbero essere scambiati.","join_full_to_play":"Tocca schermo intero per giocare con il controller a schermo.","join_pad_none":"Collega un controller (USB o Bluetooth) e premi un tasto qualsiasi.","join_pad_keys":"Oppure usa la tastiera: WASD per muoverti, frecce croce direzionale, Invio ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Premi Indietro sul telecomando per vedere i pulsanti.","join_block_note":"{host} ha disattivato PS e Create per gli amici.","join_guide_title":"Ancora un passo sulla TV","join_guide_body":"Premi PS una volta sul controller. La TV chiede \"Chi sta usando questo controller?\". Scegli Gioco rapido o il tuo utente. L'host non deve fare nulla.","join_guide_menus":"Nella schermata iniziale della PS5 solo chi ospita controlla i menu; il tuo controller gioca dentro i giochi.","join_guide_ok":"Ho capito","join_host_away":"L'host ha smesso di giocare: in attesa che ricominci ({time})","join_reconnecting":"Riconnessione…","join_reconnecting_left":"Il tuo posto resta riservato per {time}.","pad_turn":"Ruota il telefono in orizzontale","join_game_label":"Partita di {host}","join_title":"Unisciti alla partita di un amico","join_title_body":"Gioca sulla PS5 di {host} come Giocatore 2, 3 o 4.","join_name_label":"Il tuo nome","join_name_hint":"Il tuo amico lo vede quando chiedi di entrare.","join_button":"Unisciti"},"ja":{"usb_skipped_not_payload":"{name}:.elf または .bin ファイルではありません","usb_skipped_unknown":"{id}: ペイロード一覧にありません","browser_unsupported":"デスクトップアプリが必要です。ブラウザーでは動作しません。","video_recovered_notice":"前回 Play が映像の開始中にクラッシュしたため、映像をグラフィックカードを使わずにデコードするようにしました(設定 › ウィンドウ › グラフィック › ハードウェア映像デコード で変更できます)。","video_recovered_title":"映像はソフトウェアでデコードされます","open_in_title":"PS5Upload アプリで開きますか?","open_in_body":"この端末に PS5Upload アプリがあれば、アプリで開けます。ブラウザーのまま続けることもできます。","open_in_app":"アプリで開く","open_in_browser":"ブラウザーで続ける","open_in_remember":"この端末で選択を記憶する","open_in_opening":"PS5Upload アプリを開いています…","open_in_not_opened":"何も起きませんか?この端末にアプリが入っていないかもしれません。","open_in_again":"再試行","pad_8bitdo_no_xinput":"この 8BitDo には X-input モードがありません。ボタンが違う場合はコントローラーを確認してください。","pad_8bitdo_how_switch":"背面のスイッチを X にして Start を押す","pad_8bitdo_how_startx":"電源を切り、Start + X を押したまま電源を入れる","pad_8bitdo_how_receiver":"付属の 2.4G レシーバーか USB ケーブルを使う","pad_8bitdo_how_manual":"方法は取扱説明書にあります","pad_8bitdo_xinput":"最適に使うには、8BitDo を X-input モードにしてください: {how}。","rp_touch_left_stick":"左スティック","rp_touch_right_stick":"右スティック","rp_touch_touchpad":"タッチパッド","rp_menu":"メニュー","rp_pad_step_lx":"左スティックを右に倒してください","rp_pad_step_ly":"左スティックを下に倒してください","rp_pad_step_rx":"右スティックを右に倒してください","rp_pad_step_ry":"右スティックを下に倒してください","join_check_bottom":"下のボタンを押してください (✕)","join_check_right":"右のボタンを押してください (○)","join_check_left":"左のボタンを押してください (□)","join_check_top":"上のボタンを押してください (△)","rp_pad_press":"{name} を押してください","join_check_saved":"このデバイスでこのコントローラー用に保存しました。下で試してください。","join_check_title":"コントローラーを確認","join_done":"完了","rp_pads_none":"コントローラーがまだ見つかりません。接続して、いずれかのボタンを押してください。","rp_pad_mapped":"あなたの割り当てで操作します","join_check_unknown":"このコントローラーは一覧にないため、ボタンが入れ替わっている可能性があります。設定は数秒で終わります。","rp_pad_standard":"認識済み","rp_pad_progress":"{n} / {total}","rp_pad_skip":"スキップ","rp_pad_back":"戻る","rp_pad_cancel":"キャンセル","join_check_try":"ボタンを押したりスティックを動かしたりしてください。押したものが光ります。","join_check_redo":"やり直す","join_check_map":"ボタンを設定","rp_pad_reset":"リセット","join_open_lan_body":"インターネットにつながりませんか?友だちと同じ Wi-Fi にいるなら、そこでゲームを開いてください。","join_open_lan":"この Wi-Fi で開く","join_path_lan":"ホームネットワーク","join_path_internet":"インターネット","join_seat_taken":"{host}が自分のコントローラーを必要とし、PS5に空いているコントローラーがほかになかったため、ゲームから退出しました。もう一度入れてもらうよう{host}に頼んでください。","join_refused_key":"この招待は期限切れです。{host}さんに新しいリンクをもらってください。","join_refused_expired":"ゲームの席がなくなりました。{host} さんにもう一度入れてもらってください。","join_refused_full":"満員です:すでに4人がプレイしています。","join_refused_denied":"今回は{host}さんに参加を許可されませんでした。","join_refused_no_answer":"{host} さんが時間内に応答しませんでした。{host} さんに伝えてから、もう一度お試しください。","join_refused_closed":"{host}さんは今「いっしょにプレイ」を開いていません。","join_refused_old_helper":"「いっしょにプレイ」を使うには、{host}さんのPS5のヘルパーを更新する必要があります。","join_refused_not_playing":"{host}さんは今プレイしていません。先に{host}さんにプレイを始めてもらってください。","join_refused_unreachable":"{host}さんのコンピューターがPS5に接続できませんでした。少ししてからもう一度お試しください。","join_refused_slow_down":"間違ったコードが多すぎます。1分待ってからもう一度お試しください。","join_refused_address":"このリンクのアドレスはホームネットワークの外にあるため、アプリは使用しません。{host} にコンピューターの IP アドレスのリンクを頼んでください。","join_refused_other":"{host}さんに参加を許可されませんでした。","join_ended_kicked":"{host}さんにゲームから外されました。","join_ended_closed":"{host}さんが「いっしょにプレイ」を終了しました。","join_ended_host_stopped":"ホストがプレイをやめました。","join_ended_replaced":"このゲームが別のタブまたは別のデバイスで開かれたため、ここでは終了しました。","join_ended_pad_lost":"PS5 があなたのコントローラーを見失ったため、ゲームから外れました。{host} さんにもう一度入れてもらってください。","join_ended_gave_up":"{host}さんとの接続が時間内に戻りませんでした。","join_net_lost":"{host} との接続が切れました。インターネット接続を確認してから、もう一度お願いしてください。","join_ended_lost":"{host}さんに接続できませんでした。同じネットワークにいるか確認してください。","join_ended_left":"ゲームから退出しました。","join_net_mismatch":"このリンクはホストと一致しません。ホストに新しいリンクをもらってください。","join_net_no_direct":"このネットワークからは直接接続できません(双方のルーターが厳しい設定です)。モバイルデータではなく Wi-Fi を試すか、ホストに UPnP をオンにしてもらってください。","join_net_no_room":"この招待はもう有効ではありません。{host}さんに新しいリンクをもらってください。","join_net_full":"{host}さんのゲームには今これ以上友だちが入れません。少ししてからもう一度お試しください。","join_net_no_hub":"PS5Upload の招待サービスに接続できませんでした。インターネット接続を確認して、もう一度お試しください。","join_net_offer":"{host}さんのコンピューターがこのブラウザーに接続できませんでした。別のブラウザーをお試しください。","join_net_no_webrtc":"このブラウザーは直接接続ができません。最新の Chrome、Safari、Firefox をお試しください。","join_cancel":"キャンセル","join_host_fallback":"フレンド","join_connecting":"{host}さんに接続中…","join_waiting":"{host}さんの許可を待っています","join_waiting_body":"{host}さんの画面にあなたの名前が表示され、「許可」をタップすると参加できます。","join_retry":"再試行","join_again":"もう一度参加をリクエスト","join_playing_at":"{host}さんのPS5でプレイ中","join_you_are":"あなたはプレイヤー{n}です","join_seat_stream":"{host}のPS5ユーザーとしてプレイしています。ユーザーを選ぶ必要はありません。","join_plays_as":"{profile}としてプレイしています。選ぶ必要はありません。","join_seat_tv_asks":"{host}があなた用のプロフィールを選びましたが、使えませんでした。テレビで誰がプレイするかを聞かれます。","join_picking":"PSボタンを押して、テレビで「クイックプレイ」を選んでください","join_hide_controls":"隠す","join_sound":"タップして音を出す","rp_unmute":"音声オン","rp_mute":"ミュート","join_no_sound":"このブラウザーでは音声を再生できません","join_exit_fullscreen":"全画面を終了","pad_fill":"全画面","join_leave":"退出","join_show_controls":"操作ボタンを表示","join_hold_hint":"画面を長押しするとボタンが表示されます","pad_watch_no_hevc":"この端末ではこの配信の映像を再生できません。PC は HEVC で配信していますが、この端末は H.264 のみ再生できます。","pad_watch_decode":"ここでは映像を再生できませんでした。","join_pad_ready":"コントローラーの準備ができました","join_check_unknown_short":"一覧にありません: ボタンが入れ替わっている可能性があります。","join_full_to_play":"全画面をタップすると、画面上のコントローラーでプレイできます。","join_pad_none":"コントローラーをつないで(USBまたはBluetooth)、いずれかのボタンを押してください。","join_pad_keys":"キーボードでも遊べます:WASDで移動、矢印キーで方向キー、Enter ✕、Backspace ○、Q □、E △、Tab OPTIONS。","join_tv_back_hint":"ボタンを表示するには、リモコンの戻るを押してください。","join_block_note":"{host}さんがフレンドのPSボタンとCreateボタンを無効にしています。","join_guide_title":"テレビであと1ステップ","join_guide_body":"コントローラーのPSボタンを1回押してください。テレビに「このコントローラーを使うのは誰ですか?」と表示されます。クイックプレイか自分のユーザーを選んでください。ホストの操作は不要です。","join_guide_menus":"PS5のホーム画面でメニューを操作できるのはホストだけです。あなたのコントローラーはゲームの中で使えます。","join_guide_ok":"OK","join_host_away":"ホストがプレイをやめました — 再開を待っています({time})","join_reconnecting":"再接続中…","join_reconnecting_left":"あと{time}は枠が確保されています。","pad_turn":"スマホを横向きにしてください","join_game_label":"{host}さんのゲーム","join_title":"フレンドのゲームに参加","join_title_body":"{host}さんのPS5でプレイヤー2・3・4として遊べます。","join_name_label":"あなたの名前","join_name_hint":"参加をリクエストすると、フレンドにこの名前が表示されます。","join_button":"参加"},"ko":{"usb_skipped_not_payload":"{name}: .elf 또는 .bin 파일이 아님","usb_skipped_unknown":"{id}: 더 이상 페이로드 목록에 없습니다","browser_unsupported":"데스크톱 앱이 필요합니다. 브라우저에서는 작동하지 않습니다.","video_recovered_notice":"지난번 화면을 시작하는 중에 Play가 충돌하여, 이제 그래픽 카드 없이 화면을 디코딩합니다(설정 › 창 › 그래픽 › 하드웨어 영상 디코딩에서 변경).","video_recovered_title":"이제 화면을 소프트웨어로 디코딩합니다","open_in_title":"PS5Upload 앱에서 열까요?","open_in_body":"이 기기에 PS5Upload 앱이 있나요? 앱에서 열거나 브라우저에서 계속하세요.","open_in_app":"앱에서 열기","open_in_browser":"브라우저에서 계속","open_in_remember":"이 기기에서 선택 기억하기","open_in_opening":"PS5Upload 앱을 여는 중…","open_in_not_opened":"아무 일도 없나요? 이 기기에 앱이 없을 수 있습니다.","open_in_again":"다시 시도","pad_8bitdo_no_xinput":"이 8BitDo에는 X-input 모드가 없습니다. 버튼이 다르게 동작하면 컨트롤러를 확인하세요.","pad_8bitdo_how_switch":"뒷면 스위치를 X로 놓고 Start를 누르세요","pad_8bitdo_how_startx":"전원을 끈 다음 Start + X를 누른 채로 켜세요","pad_8bitdo_how_receiver":"2.4G 수신기나 USB 케이블을 사용하세요","pad_8bitdo_how_manual":"방법은 설명서에 있습니다","pad_8bitdo_xinput":"가장 잘 동작하도록 8BitDo를 X-input 모드로 바꾸세요: {how}.","rp_touch_left_stick":"왼쪽 스틱","rp_touch_right_stick":"오른쪽 스틱","rp_touch_touchpad":"터치패드","rp_menu":"메뉴","rp_pad_step_lx":"왼쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ly":"왼쪽 스틱을 아래로 미세요","rp_pad_step_rx":"오른쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ry":"오른쪽 스틱을 아래로 미세요","join_check_bottom":"아래쪽 버튼을 누르세요 (✕)","join_check_right":"오른쪽 버튼을 누르세요 (○)","join_check_left":"왼쪽 버튼을 누르세요 (□)","join_check_top":"위쪽 버튼을 누르세요 (△)","rp_pad_press":"{name} 버튼을 누르세요","join_check_saved":"이 기기에서 이 컨트롤러용으로 저장했습니다. 아래에서 시험해 보세요.","join_check_title":"컨트롤러 확인","join_done":"완료","rp_pads_none":"아직 컨트롤러가 보이지 않습니다. 컨트롤러를 연결하고 아무 버튼이나 누르세요.","rp_pad_mapped":"내 버튼 설정으로 플레이","join_check_unknown":"이 컨트롤러는 목록에 없어서 버튼이 뒤바뀌어 있을 수 있습니다. 설정은 몇 초면 됩니다.","rp_pad_standard":"인식됨","rp_pad_progress":"{n} / {total}","rp_pad_skip":"건너뛰기","rp_pad_back":"뒤로","rp_pad_cancel":"취소","join_check_try":"버튼을 누르고 스틱을 움직여 보세요. 누른 것이 켜집니다.","join_check_redo":"다시 하기","join_check_map":"버튼 설정","rp_pad_reset":"초기화","join_open_lan_body":"인터넷에 연결되지 않나요? 친구와 같은 Wi-Fi에 있다면 거기서 게임을 여세요.","join_open_lan":"이 Wi-Fi에서 열기","join_path_lan":"홈 네트워크","join_path_internet":"인터넷","join_seat_taken":"{host} 님이 컨트롤러를 다시 써야 했는데 PS5에 남은 컨트롤러가 없어서 게임에서 나왔어요. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_key":"초대가 만료됐어요. {host} 님에게 새 링크를 요청하세요.","join_refused_expired":"게임 자리를 잃었습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_full":"게임이 꽉 찼어요. 이미 4명이 플레이 중이에요.","join_refused_denied":"이번에는 {host} 님이 참여를 허용하지 않았어요.","join_refused_no_answer":"{host} 님이 제시간에 응답하지 않았습니다. {host} 님에게 알린 뒤 다시 시도하세요.","join_refused_closed":"{host} 님은 지금 함께 플레이를 열고 있지 않아요.","join_refused_old_helper":"함께 플레이를 하려면 {host} 님의 PS5 헬퍼를 업데이트해야 해요.","join_refused_not_playing":"{host} 님은 지금 플레이 중이 아니에요. {host} 님에게 먼저 플레이를 시작해 달라고 하세요.","join_refused_unreachable":"{host} 님의 컴퓨터가 PS5에 연결하지 못했어요. 잠시 후 다시 시도하세요.","join_refused_slow_down":"잘못된 코드를 너무 많이 입력했어요. 1분 후에 다시 시도하세요.","join_refused_address":"이 링크의 주소는 홈 네트워크 밖에 있어 앱에서 사용하지 않습니다. {host}에게 컴퓨터의 IP 주소가 있는 링크를 요청하세요.","join_refused_other":"{host} 님이 참여를 허용하지 않았어요.","join_ended_kicked":"{host} 님이 나를 게임에서 내보냈어요.","join_ended_closed":"{host} 님이 함께 플레이를 닫았어요.","join_ended_host_stopped":"호스트가 플레이를 멈췄어요.","join_ended_replaced":"이 게임이 다른 탭이나 다른 기기에서 열려서 여기서는 멈췄습니다.","join_ended_pad_lost":"PS5가 컨트롤러를 잃어서 게임에서 나왔습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_ended_gave_up":"{host} 님과의 연결이 제때 돌아오지 않았어요.","join_net_lost":"{host}와의 연결이 끊겼어요. 인터넷 연결을 확인한 다음 다시 요청하세요.","join_ended_lost":"{host} 님에게 연결할 수 없어요. 같은 네트워크에 있는지 확인하세요.","join_ended_left":"게임에서 나왔어요.","join_net_mismatch":"이 링크는 호스트와 일치하지 않아요. 새 링크를 요청하세요.","join_net_no_direct":"이 네트워크에서는 직접 연결할 수 없어요(양쪽 공유기가 모두 엄격해요). 모바일 데이터 대신 Wi-Fi를 쓰거나 호스트에게 UPnP를 켜 달라고 하세요.","join_net_no_room":"이 초대는 더 이상 열려 있지 않아요. {host} 님에게 새 링크를 요청하세요.","join_net_full":"{host} 님의 게임에 지금은 친구가 더 들어갈 자리가 없어요. 잠시 후 다시 시도하세요.","join_net_no_hub":"PS5Upload 초대 서비스에 연결할 수 없어요. 인터넷 연결을 확인한 뒤 다시 시도하세요.","join_net_offer":"{host} 님의 컴퓨터가 이 브라우저에 연결하지 못했어요. 다른 브라우저를 써 보세요.","join_net_no_webrtc":"이 브라우저는 직접 연결을 할 수 없어요. 최신 Chrome, Safari 또는 Firefox를 써 보세요.","join_cancel":"취소","join_host_fallback":"친구","join_connecting":"{host} 님에게 연결 중…","join_waiting":"{host} 님이 허용하기를 기다리는 중","join_waiting_body":"{host} 님 화면에 내 이름이 보이고, 허용을 누르면 들어갈 수 있어요.","join_retry":"다시 시도","join_again":"다시 참여 요청","join_playing_at":"{host} 님의 PS5에서 플레이 중","join_you_are":"나는 플레이어 {n}","join_seat_stream":"{host} 님의 PS5 사용자로 플레이하고 있어요. 사용자를 고를 필요가 없어요.","join_plays_as":"{profile}(으)로 플레이하고 있어요. 고를 필요가 없어요.","join_seat_tv_asks":"{host} 님이 프로필을 골라 두었지만 쓸 수 없었어요. TV에서 누구인지 물어볼 거예요.","join_picking":"PS 버튼을 누른 다음 TV에서 빠른 플레이를 선택하세요","join_hide_controls":"숨기기","join_sound":"눌러서 소리 켜기","rp_unmute":"소리 켜기","rp_mute":"음소거","join_no_sound":"이 브라우저에서는 소리가 나오지 않습니다","join_exit_fullscreen":"전체 화면 종료","pad_fill":"전체 화면","join_leave":"나가기","join_show_controls":"컨트롤 표시","join_hold_hint":"화면을 길게 누르면 버튼이 표시됩니다","pad_watch_no_hevc":"이 기기는 이 스트림의 화면을 재생할 수 없습니다. 컴퓨터는 HEVC로 스트리밍하고 이 기기는 H.264만 재생합니다.","pad_watch_decode":"여기서 화면을 재생할 수 없었습니다.","join_pad_ready":"컨트롤러가 준비됐어요","join_check_unknown_short":"목록에 없음: 버튼이 뒤바뀌어 있을 수 있습니다.","join_full_to_play":"전체 화면을 탭하면 화면 컨트롤러로 플레이할 수 있어요.","join_pad_none":"컨트롤러를 연결(USB 또는 Bluetooth)하고 아무 버튼이나 누르세요.","join_pad_keys":"키보드로도 할 수 있어요: WASD 이동, 방향키 D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"버튼을 보려면 리모컨의 뒤로 버튼을 누르세요.","join_block_note":"{host} 님이 친구의 PS 및 Create 버튼을 막아 두었어요.","join_guide_title":"TV에서 한 단계만 더","join_guide_body":"컨트롤러의 PS 버튼을 한 번 누르세요. TV에 \"이 컨트롤러를 누가 사용하나요?\"가 나타나요. 빠른 플레이나 내 사용자를 선택하세요. 호스트는 아무것도 하지 않아도 돼요.","join_guide_menus":"PS5 홈 화면에서는 호스트만 메뉴를 조작할 수 있어요. 내 컨트롤러는 게임 안에서 플레이합니다.","join_guide_ok":"알겠어요","join_host_away":"호스트가 플레이를 멈췄어요 — 다시 시작하기를 기다리는 중 ({time})","join_reconnecting":"다시 연결 중…","join_reconnecting_left":"{time} 동안 자리가 유지돼요.","pad_turn":"휴대폰을 가로로 돌리세요","join_game_label":"{host} 님의 게임","join_title":"친구 게임에 참여","join_title_body":"{host} 님의 PS5에서 플레이어 2, 3, 4로 플레이하세요.","join_name_label":"내 이름","join_name_hint":"참여를 요청하면 친구에게 이 이름이 보여요.","join_button":"참여"},"pl":{"usb_skipped_not_payload":"{name}: to nie jest plik .elf ani .bin","usb_skipped_unknown":"{id}: nie ma już na liście payloadów","browser_unsupported":"To wymaga aplikacji na komputer. W przeglądarce nie działa.","video_recovered_notice":"Ostatnio Play zawiesił się przy uruchamianiu obrazu, więc obraz jest teraz dekodowany bez karty graficznej (zmień w Ustawienia › Okno › Grafika › Sprzętowe dekodowanie wideo).","video_recovered_title":"Obraz jest teraz dekodowany programowo","open_in_title":"Otworzyć w aplikacji PS5Upload?","open_in_body":"Masz aplikację PS5Upload na tym urządzeniu? Otwórz to w niej albo kontynuuj w przeglądarce.","open_in_app":"Otwórz w aplikacji","open_in_browser":"Kontynuuj w przeglądarce","open_in_remember":"Zapamiętaj mój wybór na tym urządzeniu","open_in_opening":"Otwieranie aplikacji PS5Upload…","open_in_not_opened":"Nic się nie stało? Aplikacji może nie być na tym urządzeniu.","open_in_again":"Spróbuj ponownie","pad_8bitdo_no_xinput":"Ten 8BitDo nie ma trybu X-input. Jeśli któryś przycisk działa źle, sprawdź kontroler.","pad_8bitdo_how_switch":"ustaw przełącznik z tyłu na X, a potem naciśnij Start","pad_8bitdo_how_startx":"wyłącz go, a potem przytrzymaj Start + X, aby go włączyć","pad_8bitdo_how_receiver":"użyj jego odbiornika 2.4G lub kabla USB","pad_8bitdo_how_manual":"instrukcja podaje, jak to zrobić","pad_8bitdo_xinput":"Aby działał najlepiej, przełącz 8BitDo w tryb X-input: {how}.","rp_touch_left_stick":"Lewa gałka","rp_touch_right_stick":"Prawa gałka","rp_touch_touchpad":"Panel dotykowy","rp_pad_step_lx":"Wychyl lewą gałkę w prawo","rp_pad_step_ly":"Wychyl lewą gałkę w dół","rp_pad_step_rx":"Wychyl prawą gałkę w prawo","rp_pad_step_ry":"Wychyl prawą gałkę w dół","join_check_bottom":"Naciśnij dolny przycisk (✕)","join_check_right":"Naciśnij prawy przycisk (○)","join_check_left":"Naciśnij lewy przycisk (□)","join_check_top":"Naciśnij górny przycisk (△)","rp_pad_press":"Naciśnij {name}","join_check_saved":"Zapisano dla tego kontrolera na tym urządzeniu. Wypróbuj poniżej.","join_check_title":"Sprawdź kontroler","join_done":"Gotowe","rp_pads_none":"Nie wykryto jeszcze kontrolera. Podłącz go i naciśnij dowolny przycisk.","rp_pad_mapped":"Gra z twoim mapowaniem","join_check_unknown":"Tego kontrolera nie ma na naszej liście, więc przyciski mogą być pomieszane. Konfiguracja zajmuje kilka sekund.","rp_pad_standard":"Rozpoznany","rp_pad_progress":"{n} z {total}","rp_pad_skip":"Pomiń","rp_pad_back":"Wstecz","rp_pad_cancel":"Anuluj","join_check_try":"Naciskaj przyciski i ruszaj gałkami: to, co naciśniesz, się podświetli.","join_check_redo":"Powtórz","join_check_map":"Ustaw przyciski","rp_pad_reset":"Resetuj","join_open_lan_body":"Brak internetu? Jeśli jesteś w tej samej sieci Wi-Fi co znajomy, otwórz grę tam.","join_open_lan":"Otwórz w tej sieci Wi-Fi","join_path_lan":"Sieć domowa","join_seat_taken":"{host} potrzebował z powrotem swojego kontrolera, a na PS5 nie było innego wolnego kontrolera, więc wypadasz z gry. Poproś {host}, żeby wpuścił Cię ponownie.","join_refused_key":"To zaproszenie wygasło. Poproś {host} o nowy link.","join_refused_expired":"Twoje miejsce w grze przepadło. Poproś {host} o ponowne wpuszczenie.","join_refused_full":"Brak miejsc: gra już czterech graczy.","join_refused_denied":"{host} tym razem cię nie wpuścił.","join_refused_no_answer":"{host}: brak odpowiedzi na czas. Daj znać ({host}) i spróbuj ponownie.","join_refused_closed":"{host} nie prowadzi teraz Graj razem.","join_refused_old_helper":"PS5 {host} potrzebuje zaktualizowanego pomocnika do Graj razem.","join_refused_not_playing":"{host} teraz nie gra. Poproś {host}, żeby najpierw uruchomił Graj.","join_refused_unreachable":"Komputer {host} nie mógł połączyć się z PS5. Spróbuj ponownie za chwilę.","join_refused_slow_down":"Zbyt wiele błędnych kodów. Odczekaj minutę i spróbuj ponownie.","join_refused_address":"Adres tego linku jest poza Twoją siecią domową, więc aplikacja go nie użyje. Poproś {host} o link z adresem IP komputera.","join_refused_other":"{host} cię nie wpuścił.","join_ended_kicked":"{host} usunął cię z gry.","join_ended_closed":"{host} zamknął Graj razem.","join_ended_host_stopped":"Gospodarz przestał grać.","join_ended_replaced":"Tę grę otwarto w innej karcie lub na innym urządzeniu, więc tu się zatrzymała.","join_ended_pad_lost":"PS5 straciła Twój kontroler, więc wypadasz z gry. Poproś {host} o ponowne wpuszczenie.","join_ended_gave_up":"Połączenie z {host} nie wróciło na czas.","join_net_lost":"Połączenie z {host} zostało przerwane. Sprawdź połączenie internetowe i poproś ponownie.","join_ended_lost":"Nie można połączyć się z {host}. Sprawdź, czy jesteście w tej samej sieci.","join_ended_left":"Opuściłeś grę.","join_net_mismatch":"Ten link nie pasuje do gospodarza; poproś go o nowy.","join_net_no_direct":"Z tej sieci nie da się nawiązać bezpośredniego połączenia (routery po obu stronach są restrykcyjne). Spróbuj Wi-Fi zamiast danych komórkowych albo poproś gospodarza o włączenie UPnP.","join_net_no_room":"To zaproszenie nie jest już otwarte. Poproś {host} o nowy link.","join_net_full":"W grze {host} nie ma teraz miejsca dla kolejnego znajomego. Spróbuj ponownie za chwilę.","join_net_no_hub":"Nie można połączyć się z usługą zaproszeń PS5Upload. Sprawdź połączenie z internetem i spróbuj ponownie.","join_net_offer":"Komputer {host} nie mógł połączyć się z tą przeglądarką. Spróbuj innej przeglądarki.","join_net_no_webrtc":"Ta przeglądarka nie potrafi nawiązywać bezpośrednich połączeń. Spróbuj aktualnego Chrome, Safari lub Firefoksa.","join_cancel":"Anuluj","join_host_fallback":"twój znajomy","join_connecting":"Łączenie z {host}…","join_waiting":"Czekasz, aż {host} cię wpuści","join_waiting_body":"{host} widzi twoje imię na ekranie i stuka Zezwól.","join_retry":"Spróbuj ponownie","join_again":"Poproś ponownie o dołączenie","join_playing_at":"Grasz u {host}","join_you_are":"Jesteś Graczem {n}","join_seat_stream":"Grasz jako użytkownik PS5 gospodarza {host}. Nie musisz nikogo wybierać.","join_plays_as":"Grasz jako {profile}. Nie musisz niczego wybierać.","join_seat_tv_asks":"{host} wybrał dla ciebie profil, ale nie dało się go użyć. Telewizor zapyta, kim jesteś.","join_picking":"Naciśnij PS, a potem wybierz Szybką grę na telewizorze","join_hide_controls":"Ukryj","join_sound":"Włącz dźwięk","rp_unmute":"Dźwięk wł.","rp_mute":"Wycisz","join_no_sound":"Brak dźwięku w tej przeglądarce","join_exit_fullscreen":"Wyjdź z pełnego ekranu","pad_fill":"Pełny ekran","join_leave":"Wyjdź","join_show_controls":"Pokaż przyciski","join_hold_hint":"Przytrzymaj obraz, aby pokazać przyciski","pad_watch_no_hevc":"To urządzenie nie odtworzy obrazu tego streamu: komputer nadaje w HEVC, a to urządzenie odtwarza tylko H.264.","pad_watch_decode":"Nie udało się tu odtworzyć obrazu.","join_pad_ready":"Twój kontroler jest gotowy","join_check_unknown_short":"Nie ma go na liście: przyciski mogą być pomieszane.","join_full_to_play":"Stuknij Pełny ekran, aby grać kontrolerem ekranowym.","join_pad_none":"Podłącz kontroler (USB lub Bluetooth) i naciśnij dowolny przycisk.","join_pad_keys":"Albo użyj klawiatury: WASD ruch, strzałki krzyżak, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Naciśnij Wstecz na pilocie, aby pokazać przyciski.","join_block_note":"{host} wyłączył PS i Create dla znajomych.","join_guide_title":"Jeszcze jeden krok na telewizorze","join_guide_body":"Naciśnij raz PS na kontrolerze. Telewizor zapyta „Kto używa tego kontrolera?”. Wybierz Szybką grę albo swojego użytkownika. Gospodarz nie musi nic robić.","join_guide_menus":"Na ekranie głównym PS5 menu steruje tylko gospodarz; twój kontroler działa w grach.","join_guide_ok":"Rozumiem","join_host_away":"Gospodarz przestał grać — czekamy, aż zacznie znowu ({time})","join_reconnecting":"Ponowne łączenie…","join_reconnecting_left":"Twoje miejsce czeka jeszcze {time}.","pad_turn":"Obróć telefon poziomo","join_game_label":"Gra {host}","join_title":"Dołącz do gry znajomego","join_title_body":"Graj na PS5 {host} jako Gracz 2, 3 lub 4.","join_name_label":"Twoje imię","join_name_hint":"Znajomy zobaczy je, gdy poprosisz o dołączenie.","join_button":"Dołącz"},"pt-BR":{"usb_skipped_not_payload":"{name}: não é um arquivo .elf ou .bin","usb_skipped_unknown":"{id}: não está mais na lista de payloads","browser_unsupported":"Isso precisa do aplicativo para desktop. Não funciona no navegador.","video_recovered_notice":"O Play travou ao iniciar a imagem da última vez, então a imagem agora é decodificada sem a placa de vídeo (altere em Configurações › Janela › Gráficos › Decodificação de vídeo por hardware).","video_recovered_title":"Imagem agora decodificada por software","open_in_title":"Abrir no app PS5Upload?","open_in_body":"Tem o app PS5Upload neste aparelho? Abra por ele ou continue no navegador.","open_in_app":"Abrir no app","open_in_browser":"Continuar no navegador","open_in_remember":"Lembrar minha escolha neste aparelho","open_in_opening":"Abrindo o app PS5Upload…","open_in_not_opened":"Nada aconteceu? Talvez o app não esteja neste aparelho.","open_in_again":"Tentar de novo","pad_8bitdo_no_xinput":"Este 8BitDo não tem modo X-input. Se algum botão estiver errado, verifique o controle.","pad_8bitdo_how_switch":"coloque a chave de trás em X e aperte Start","pad_8bitdo_how_startx":"desligue e depois segure Start + X para ligar","pad_8bitdo_how_receiver":"use o receptor 2.4G dele ou um cabo USB","pad_8bitdo_how_manual":"o manual dele explica como","pad_8bitdo_xinput":"Para o melhor resultado, coloque seu 8BitDo no modo X-input: {how}.","rp_touch_left_stick":"Analógico esquerdo","rp_touch_right_stick":"Analógico direito","rp_pad_step_lx":"Mova o analógico esquerdo para a direita","rp_pad_step_ly":"Mova o analógico esquerdo para baixo","rp_pad_step_rx":"Mova o analógico direito para a direita","rp_pad_step_ry":"Mova o analógico direito para baixo","join_check_bottom":"Aperte o botão de baixo (✕)","join_check_right":"Aperte o botão da direita (○)","join_check_left":"Aperte o botão da esquerda (□)","join_check_top":"Aperte o botão de cima (△)","rp_pad_press":"Pressione {name}","join_check_saved":"Salvo para este controle neste aparelho. Teste abaixo.","join_check_title":"Verificar seu controle","join_done":"Concluído","rp_pads_none":"Nenhum controle detectado ainda. Conecte um e pressione qualquer botão nele.","rp_pad_mapped":"Joga com o seu mapeamento","join_check_unknown":"Este controle não está na nossa lista, então os botões podem estar trocados. Configurar leva poucos segundos.","rp_pad_standard":"Reconhecido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Pular","rp_pad_back":"Voltar","rp_pad_cancel":"Cancelar","join_check_try":"Aperte botões e mova os analógicos: o que você apertar acende.","join_check_redo":"Refazer","join_check_map":"Configurar os botões","rp_pad_reset":"Redefinir","join_open_lan_body":"Sem internet? Se você está no mesmo Wi-Fi que seu amigo, abra o jogo por lá.","join_open_lan":"Abrir neste Wi-Fi","join_path_lan":"Rede doméstica","join_seat_taken":"{host} precisou do controle de volta e não havia outro controle livre no PS5, então você saiu do jogo. Peça para {host} deixar você entrar de novo.","join_refused_key":"Este convite expirou. Peça um novo link a {host}.","join_refused_expired":"Seu lugar no jogo foi perdido. Peça a {host} para deixar você entrar de novo.","join_refused_full":"O jogo está cheio: já tem quatro jogadores.","join_refused_denied":"{host} não deixou você entrar desta vez.","join_refused_no_answer":"{host} não respondeu a tempo. Avise {host} e tente de novo.","join_refused_closed":"{host} não está com o Jogar juntos aberto agora.","join_refused_old_helper":"O PS5 de {host} precisa de um auxiliar atualizado para o Jogar juntos.","join_refused_not_playing":"{host} não está jogando agora. Peça para {host} iniciar o Jogar primeiro.","join_refused_unreachable":"O computador de {host} não conseguiu acessar o PS5. Tente de novo daqui a pouco.","join_refused_slow_down":"Muitos códigos errados. Espere um minuto e tente de novo.","join_refused_address":"O endereço deste link está fora da sua rede doméstica, então o aplicativo não vai usá-lo. Peça a {host} um link com o endereço IP do computador.","join_refused_other":"{host} não deixou você entrar.","join_ended_kicked":"{host} tirou você do jogo.","join_ended_closed":"{host} fechou o Jogar juntos.","join_ended_host_stopped":"O anfitrião parou de jogar.","join_ended_replaced":"Este jogo foi aberto em outra aba ou em outro dispositivo, então parou aqui.","join_ended_pad_lost":"O PS5 perdeu seu controle, então você saiu do jogo. Peça a {host} para deixar você entrar de novo.","join_ended_gave_up":"A conexão com {host} não voltou a tempo.","join_net_lost":"A conexão com {host} caiu. Verifique sua conexão de internet e peça de novo.","join_ended_lost":"Não foi possível alcançar {host}. Verifique se vocês estão na mesma rede.","join_ended_left":"Você saiu do jogo.","join_net_mismatch":"Este link não corresponde ao anfitrião; peça um novo a ele.","join_net_no_direct":"Não é possível uma conexão direta a partir desta rede (os roteadores dos dois lados são restritos). Tente o Wi-Fi em vez dos dados móveis ou peça ao anfitrião para ativar o UPnP.","join_net_no_room":"Este convite não está mais aberto. Peça a {host} um novo link.","join_net_full":"O jogo de {host} não tem lugar para mais um amigo agora. Tente de novo daqui a pouco.","join_net_no_hub":"Não foi possível alcançar o serviço de convites do PS5Upload. Verifique sua conexão com a internet e tente de novo.","join_net_offer":"O computador de {host} não conseguiu se conectar a este navegador. Tente outro navegador.","join_net_no_webrtc":"Este navegador não consegue fazer conexões diretas. Tente uma versão recente do Chrome, Safari ou Firefox.","join_cancel":"Cancelar","join_host_fallback":"seu amigo","join_connecting":"Conectando a {host}…","join_waiting":"Esperando {host} deixar você entrar","join_waiting_body":"{host} vê seu nome na tela e toca em Permitir.","join_retry":"Tentar de novo","join_again":"Pedir para entrar de novo","join_playing_at":"Jogando na casa de {host}","join_you_are":"Você é o Jogador {n}","join_seat_stream":"Você está jogando com o usuário do PS5 de {host}. Não precisa escolher um.","join_plays_as":"Você está jogando como {profile}. Não precisa escolher.","join_seat_tv_asks":"{host} escolheu um perfil para você, mas não foi possível usá-lo. A TV vai perguntar quem você é.","join_picking":"Aperte PS e depois escolha Jogo rápido na TV","join_hide_controls":"Ocultar","join_sound":"Ativar som","rp_unmute":"Ativar som","rp_mute":"Silenciar","join_no_sound":"Sem som neste navegador","join_exit_fullscreen":"Sair da tela cheia","pad_fill":"Tela cheia","join_leave":"Sair","join_show_controls":"Mostrar controles","join_hold_hint":"Toque e segure a imagem para mostrar os botões","pad_watch_no_hevc":"Este aparelho não reproduz a imagem deste stream: o computador transmite em HEVC e este aparelho reproduz apenas H.264.","pad_watch_decode":"Não foi possível reproduzir a imagem aqui.","join_pad_ready":"Seu controle está pronto","join_check_unknown_short":"Não está na nossa lista: os botões podem estar trocados.","join_full_to_play":"Toque em tela cheia para jogar com o controle na tela.","join_pad_none":"Conecte um controle (USB ou Bluetooth) e aperte qualquer botão.","join_pad_keys":"Ou use o teclado: WASD move, setas direcional, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Aperte Voltar no controle remoto para ver os botões.","join_block_note":"{host} desativou PS e Create para amigos.","join_guide_title":"Mais um passo na TV","join_guide_body":"Aperte PS uma vez no seu controle. A TV pergunta \"Quem está usando este controle?\". Escolha Jogo rápido ou o seu próprio usuário. O anfitrião não precisa fazer nada.","join_guide_menus":"Na tela inicial do PS5 só o anfitrião controla os menus; seu controle joga dentro dos jogos.","join_guide_ok":"Entendi","join_host_away":"O anfitrião parou de jogar — esperando ele começar de novo ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Seu lugar fica guardado por {time}.","pad_turn":"Vire o celular na horizontal","join_game_label":"Jogo de {host}","join_title":"Entrar no jogo de um amigo","join_title_body":"Jogue no PS5 de {host} como Jogador 2, 3 ou 4.","join_name_label":"Seu nome","join_name_hint":"Seu amigo vê isto quando você pede para entrar.","join_button":"Entrar"},"ru":{"usb_skipped_not_payload":"{name}: не файл .elf или .bin","usb_skipped_unknown":"{id}: больше нет в списке пейлоадов","browser_unsupported":"Для этого нужно настольное приложение. В браузере это не работает.","video_recovered_notice":"В прошлый раз Play упал при запуске картинки, поэтому теперь картинка декодируется без видеокарты (изменить: Настройки › Окно › Графика › Аппаратное декодирование видео).","video_recovered_title":"Картинка теперь декодируется программно","open_in_title":"Открыть в приложении PS5Upload?","open_in_body":"Приложение PS5Upload есть на этом устройстве? Откройте это там или продолжите в браузере.","open_in_app":"Открыть в приложении","open_in_browser":"Продолжить в браузере","open_in_remember":"Запомнить выбор на этом устройстве","open_in_opening":"Открываем приложение PS5Upload…","open_in_not_opened":"Ничего не произошло? Возможно, приложения нет на этом устройстве.","open_in_again":"Повторить","pad_8bitdo_no_xinput":"У этого 8BitDo нет режима X-input. Если кнопка срабатывает не так, проверьте контроллер.","pad_8bitdo_how_switch":"переведите переключатель сзади в положение X, затем нажмите Start","pad_8bitdo_how_startx":"выключите его, затем включите, удерживая Start + X","pad_8bitdo_how_receiver":"используйте его приёмник 2.4G или кабель USB","pad_8bitdo_how_manual":"как это сделать, сказано в его инструкции","pad_8bitdo_xinput":"Для лучшего результата переключите 8BitDo в режим X-input: {how}.","rp_touch_left_stick":"Левый стик","rp_touch_right_stick":"Правый стик","rp_touch_touchpad":"Сенсорная панель","rp_menu":"Меню","rp_pad_step_lx":"Отклоните левый стик вправо","rp_pad_step_ly":"Отклоните левый стик вниз","rp_pad_step_rx":"Отклоните правый стик вправо","rp_pad_step_ry":"Отклоните правый стик вниз","join_check_bottom":"Нажмите нижнюю кнопку (✕)","join_check_right":"Нажмите правую кнопку (○)","join_check_left":"Нажмите левую кнопку (□)","join_check_top":"Нажмите верхнюю кнопку (△)","rp_pad_press":"Нажмите {name}","join_check_saved":"Сохранено для этого контроллера на этом устройстве. Попробуйте ниже.","join_check_title":"Проверить контроллер","join_done":"Готово","rp_pads_none":"Контроллер пока не найден. Подключите его и нажмите любую кнопку.","rp_pad_mapped":"Играет с вашей раскладкой","join_check_unknown":"Этого контроллера нет в нашем списке, поэтому кнопки могут быть перепутаны. Настройка займёт несколько секунд.","rp_pad_standard":"Распознан","rp_pad_progress":"{n} из {total}","rp_pad_skip":"Пропустить","rp_pad_back":"Назад","rp_pad_cancel":"Отмена","join_check_try":"Нажимайте кнопки и двигайте стики: нажатое подсвечивается.","join_check_redo":"Заново","join_check_map":"Настроить кнопки","rp_pad_reset":"Сбросить","join_open_lan_body":"Нет доступа к интернету? Если вы в той же сети Wi-Fi, что и друг, откройте игру там.","join_open_lan":"Открыть в этой сети Wi-Fi","join_path_lan":"Домашняя сеть","join_path_internet":"Интернет","join_seat_taken":"{host} понадобился его контроллер, а других свободных контроллеров на PS5 не было, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_refused_key":"Срок приглашения истёк. Попросите у {host} новую ссылку.","join_refused_expired":"Ваше место в игре потеряно. Попросите {host} впустить вас снова.","join_refused_full":"Мест нет: уже играют четверо.","join_refused_denied":"{host} в этот раз вас не впустил.","join_refused_no_answer":"{host} не ответил вовремя. Сообщите {host} и попробуйте ещё раз.","join_refused_closed":"{host} сейчас не проводит «Совместную игру».","join_refused_old_helper":"Для «Совместной игры» на PS5 {host} нужен обновлённый помощник.","join_refused_not_playing":"{host} сейчас не играет. Попросите {host} сначала запустить Игру.","join_refused_unreachable":"Компьютер {host} не смог связаться с PS5. Попробуйте ещё раз чуть позже.","join_refused_slow_down":"Слишком много неверных кодов. Подождите минуту и попробуйте снова.","join_refused_address":"Адрес этой ссылки находится вне вашей домашней сети, поэтому приложение его не использует. Попросите {host} дать ссылку с IP-адресом компьютера.","join_refused_other":"{host} вас не впустил.","join_ended_kicked":"{host} убрал вас из игры.","join_ended_closed":"{host} закрыл «Совместную игру».","join_ended_host_stopped":"Хост перестал играть.","join_ended_replaced":"Эту игру открыли в другой вкладке или на другом устройстве, поэтому здесь она остановилась.","join_ended_pad_lost":"PS5 потеряла ваш контроллер, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_ended_gave_up":"Соединение с {host} не восстановилось вовремя.","join_net_lost":"Соединение с {host} прервалось. Проверьте подключение к интернету и попросите ещё раз.","join_ended_lost":"Не удалось связаться с {host}. Проверьте, что вы в одной сети.","join_ended_left":"Вы вышли из игры.","join_net_mismatch":"Эта ссылка не совпадает с хостом; попросите у него новую.","join_net_no_direct":"Из этой сети прямое подключение невозможно (роутеры с обеих сторон строгие). Попробуйте Wi-Fi вместо мобильного интернета или попросите хоста включить UPnP.","join_net_no_room":"Это приглашение больше не действует. Попросите у {host} новую ссылку.","join_net_full":"В игре {host} сейчас нет места для ещё одного друга. Попробуйте чуть позже.","join_net_no_hub":"Не удалось связаться со службой приглашений PS5Upload. Проверьте подключение к интернету и попробуйте снова.","join_net_offer":"Компьютер {host} не смог подключиться к этому браузеру. Попробуйте другой браузер.","join_net_no_webrtc":"Этот браузер не умеет устанавливать прямые подключения. Попробуйте свежую версию Chrome, Safari или Firefox.","join_cancel":"Отмена","join_host_fallback":"ваш друг","join_connecting":"Подключение к {host}…","join_waiting":"Ждём, пока {host} вас впустит","join_waiting_body":"{host} видит ваше имя на экране и нажимает «Разрешить».","join_retry":"Повторить","join_again":"Снова попроситься в игру","join_playing_at":"Игра у {host}","join_you_are":"Вы — Игрок {n}","join_seat_stream":"Вы играете под пользователем PS5 хоста {host}. Выбирать пользователя не нужно.","join_plays_as":"Вы играете как {profile}. Выбирать никого не нужно.","join_seat_tv_asks":"{host} выбрал для вас профиль, но использовать его не удалось. Телевизор спросит, кто вы.","join_picking":"Нажмите PS, затем выберите «Быстрая игра» на телевизоре","join_hide_controls":"Скрыть","join_sound":"Включить звук","rp_unmute":"Включить звук","rp_mute":"Без звука","join_no_sound":"В этом браузере нет звука","join_exit_fullscreen":"Выйти из полноэкранного режима","pad_fill":"Во весь экран","join_leave":"Выйти","join_show_controls":"Показать кнопки","join_hold_hint":"Нажмите и удерживайте изображение, чтобы показать кнопки","pad_watch_no_hevc":"Это устройство не может показать картинку этой трансляции: компьютер передаёт HEVC, а устройство воспроизводит только H.264.","pad_watch_decode":"Картинку не удалось воспроизвести здесь.","join_pad_ready":"Ваш контроллер готов","join_check_unknown_short":"Нет в нашем списке: кнопки могут быть перепутаны.","join_full_to_play":"Нажмите «Во весь экран», чтобы играть с экранным контроллером.","join_pad_none":"Подключите контроллер (USB или Bluetooth) и нажмите любую кнопку.","join_pad_keys":"Или играйте с клавиатуры: WASD — движение, стрелки — крестовина, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Нажмите «Назад» на пульте, чтобы показать кнопки.","join_block_note":"{host} отключил PS и Create для друзей.","join_guide_title":"Ещё один шаг на телевизоре","join_guide_body":"Нажмите PS на контроллере один раз. Телевизор спросит «Кто использует этот контроллер?». Выберите «Быстрая игра» или своего пользователя. Хосту ничего делать не нужно.","join_guide_menus":"На главном экране PS5 меню управляет только хост; ваш контроллер работает внутри игр.","join_guide_ok":"Понятно","join_host_away":"Хост перестал играть — ждём, когда он начнёт снова ({time})","join_reconnecting":"Переподключение…","join_reconnecting_left":"Ваше место сохраняется ещё {time}.","pad_turn":"Поверните телефон горизонтально","join_game_label":"Игра {host}","join_title":"Присоединиться к игре друга","join_title_body":"Играйте на PS5 {host} как Игрок 2, 3 или 4.","join_name_label":"Ваше имя","join_name_hint":"Друг увидит его, когда вы попроситесь в игру.","join_button":"Войти"},"th":{"usb_skipped_not_payload":"{name}: ไม่ใช่ไฟล์ .elf หรือ .bin","usb_skipped_unknown":"{id}: ไม่อยู่ในรายการเพย์โหลดแล้ว","browser_unsupported":"ต้องใช้แอปเดสก์ท็อป ใช้ในเบราว์เซอร์ไม่ได้","video_recovered_notice":"ครั้งก่อนหน้าเล่นล่มขณะเริ่มภาพ ตอนนี้จึงถอดรหัสภาพโดยไม่ใช้การ์ดจอ (เปลี่ยนได้ที่ การตั้งค่า › หน้าต่าง › กราฟิก › ถอดรหัสวิดีโอด้วยฮาร์ดแวร์)","video_recovered_title":"ตอนนี้ถอดรหัสภาพด้วยซอฟต์แวร์","open_in_title":"เปิดในแอป PS5Upload ไหม","open_in_body":"มีแอป PS5Upload ในอุปกรณ์นี้ไหม เปิดในแอป หรือใช้ต่อในเบราว์เซอร์ก็ได้","open_in_app":"เปิดในแอป","open_in_browser":"ใช้ต่อในเบราว์เซอร์","open_in_remember":"จำตัวเลือกของฉันในอุปกรณ์นี้","open_in_opening":"กำลังเปิดแอป PS5Upload…","open_in_not_opened":"ไม่มีอะไรเกิดขึ้นใช่ไหม อุปกรณ์นี้อาจไม่มีแอป","open_in_again":"ลองอีกครั้ง","pad_8bitdo_no_xinput":"8BitDo รุ่นนี้ไม่มีโหมด X-input หากปุ่มใดทำงานผิด ให้ตรวจสอบคอนโทรลเลอร์","pad_8bitdo_how_switch":"เลื่อนสวิตช์ด้านหลังไปที่ X แล้วกด Start","pad_8bitdo_how_startx":"ปิดเครื่อง แล้วกด Start + X ค้างไว้เพื่อเปิด","pad_8bitdo_how_receiver":"ใช้ตัวรับสัญญาณ 2.4G หรือสาย USB","pad_8bitdo_how_manual":"ดูวิธีได้ในคู่มือ","pad_8bitdo_xinput":"เพื่อผลลัพธ์ที่ดีที่สุด ให้เปลี่ยน 8BitDo เป็นโหมด X-input: {how}","rp_touch_left_stick":"สติกซ้าย","rp_touch_right_stick":"สติกขวา","rp_touch_touchpad":"ทัชแพด","rp_menu":"เมนู","rp_pad_step_lx":"ดันอนาล็อกซ้ายไปทางขวา","rp_pad_step_ly":"ดันอนาล็อกซ้ายลง","rp_pad_step_rx":"ดันอนาล็อกขวาไปทางขวา","rp_pad_step_ry":"ดันอนาล็อกขวาลง","join_check_bottom":"กดปุ่มด้านล่าง (✕)","join_check_right":"กดปุ่มด้านขวา (○)","join_check_left":"กดปุ่มด้านซ้าย (□)","join_check_top":"กดปุ่มด้านบน (△)","rp_pad_press":"กด {name}","join_check_saved":"บันทึกสำหรับคอนโทรลเลอร์นี้บนอุปกรณ์นี้แล้ว ลองใช้ด้านล่าง","join_check_title":"ตรวจสอบคอนโทรลเลอร์","join_done":"เสร็จสิ้น","rp_pads_none":"ยังไม่พบคอนโทรลเลอร์ เชื่อมต่อแล้วกดปุ่มใดก็ได้บนคอนโทรลเลอร์","rp_pad_mapped":"เล่นตามการกำหนดปุ่มของคุณ","join_check_unknown":"คอนโทรลเลอร์นี้ไม่อยู่ในรายการของเรา ปุ่มจึงอาจสลับกัน การตั้งค่าใช้เวลาเพียงไม่กี่วินาที","rp_pad_standard":"รู้จักแล้ว","rp_pad_progress":"{n} จาก {total}","rp_pad_skip":"ข้าม","rp_pad_back":"ย้อนกลับ","rp_pad_cancel":"ยกเลิก","join_check_try":"กดปุ่มและขยับสติ๊ก: ปุ่มที่กดจะสว่างขึ้น","join_check_redo":"ทำใหม่","join_check_map":"ตั้งค่าปุ่ม","rp_pad_reset":"รีเซ็ต","join_open_lan_body":"เข้าอินเทอร์เน็ตไม่ได้? ถ้าคุณอยู่บน Wi-Fi เดียวกับเพื่อน ให้เปิดเกมที่นั่น","join_open_lan":"เปิดบน Wi-Fi นี้","join_path_lan":"เครือข่ายในบ้าน","join_path_internet":"อินเทอร์เน็ต","join_seat_taken":"{host} ต้องใช้คอนโทรลเลอร์ของตัวเองคืน และไม่มีคอนโทรลเลอร์อื่นว่างบน PS5 คุณจึงออกจากเกม ขอให้ {host} ให้คุณเข้าอีกครั้ง","join_refused_key":"คำเชิญนี้หมดอายุแล้ว ขอลิงก์ใหม่จาก {host}","join_refused_expired":"ที่ของคุณในเกมหายไปแล้ว ขอให้ {host} ให้เข้าใหม่","join_refused_full":"เกมเต็มแล้ว: มีผู้เล่นครบสี่คน","join_refused_denied":"{host} ไม่ได้ให้คุณเข้าในครั้งนี้","join_refused_no_answer":"{host} ไม่ตอบทันเวลา แจ้ง {host} แล้วลองอีกครั้ง","join_refused_closed":"ตอนนี้ {host} ไม่ได้เปิดเล่นด้วยกัน","join_refused_old_helper":"PS5 ของ {host} ต้องอัปเดตตัวช่วยเพื่อเล่นด้วยกัน","join_refused_not_playing":"ตอนนี้ {host} ไม่ได้เล่นอยู่ ขอให้ {host} เริ่มเล่นก่อน","join_refused_unreachable":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับ PS5 ไม่ได้ ลองใหม่อีกครั้งในอีกสักครู่","join_refused_slow_down":"ใส่รหัสผิดหลายครั้งเกินไป รอหนึ่งนาทีแล้วลองใหม่","join_refused_address":"ที่อยู่ของลิงก์นี้อยู่นอกเครือข่ายภายในบ้าน แอปจึงไม่ใช้ ขอลิงก์ที่มีที่อยู่ IP ของคอมพิวเตอร์จาก {host}","join_refused_other":"{host} ไม่ได้ให้คุณเข้า","join_ended_kicked":"{host} นำคุณออกจากเกม","join_ended_closed":"{host} ปิดเล่นด้วยกันแล้ว","join_ended_host_stopped":"โฮสต์หยุดเล่นแล้ว","join_ended_replaced":"เกมนี้ถูกเปิดในแท็บอื่นหรืออุปกรณ์อื่น จึงหยุดที่นี่","join_ended_pad_lost":"PS5 ทำคอนโทรลเลอร์ของคุณหาย คุณจึงออกจากเกม ขอให้ {host} ให้เข้าใหม่","join_ended_gave_up":"การเชื่อมต่อกับ {host} ไม่กลับมาทันเวลา","join_net_lost":"การเชื่อมต่อกับ {host} หลุด ตรวจสอบการเชื่อมต่ออินเทอร์เน็ต แล้วขอเข้าร่วมอีกครั้ง","join_ended_lost":"ติดต่อ {host} ไม่ได้ ตรวจสอบว่าอยู่ในเครือข่ายเดียวกัน","join_ended_left":"คุณออกจากเกมแล้ว","join_net_mismatch":"ลิงก์นี้ไม่ตรงกับโฮสต์ ขอลิงก์ใหม่จากเขา","join_net_no_direct":"เชื่อมต่อโดยตรงจากเครือข่ายนี้ไม่ได้ (เราเตอร์ทั้งสองฝั่งเข้มงวด) ลองใช้ Wi-Fi แทนเน็ตมือถือ หรือขอให้โฮสต์เปิด UPnP","join_net_no_room":"คำเชิญนี้ปิดไปแล้ว ขอลิงก์ใหม่จาก {host}","join_net_full":"เกมของ {host} ไม่มีที่ว่างสำหรับเพื่อนเพิ่มในตอนนี้ ลองใหม่อีกสักครู่","join_net_no_hub":"ติดต่อบริการคำเชิญของ PS5Upload ไม่ได้ ตรวจสอบการเชื่อมต่ออินเทอร์เน็ตแล้วลองใหม่","join_net_offer":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับเบราว์เซอร์นี้ไม่ได้ ลองเบราว์เซอร์อื่น","join_net_no_webrtc":"เบราว์เซอร์นี้เชื่อมต่อโดยตรงไม่ได้ ลองใช้ Chrome, Safari หรือ Firefox เวอร์ชันล่าสุด","join_cancel":"ยกเลิก","join_host_fallback":"เพื่อนของคุณ","join_connecting":"กำลังเชื่อมต่อกับ {host}…","join_waiting":"กำลังรอ {host} ให้คุณเข้า","join_waiting_body":"{host} จะเห็นชื่อคุณบนหน้าจอและแตะอนุญาต","join_retry":"ลองอีกครั้ง","join_again":"ขอเข้าร่วมอีกครั้ง","join_playing_at":"กำลังเล่นที่บ้าน {host}","join_you_are":"คุณคือผู้เล่น {n}","join_seat_stream":"คุณกำลังเล่นด้วยผู้ใช้ PS5 ของ {host} ไม่ต้องเลือกผู้ใช้","join_plays_as":"คุณกำลังเล่นในนาม {profile} ไม่ต้องเลือกอะไร","join_seat_tv_asks":"{host} เลือกโปรไฟล์ไว้ให้คุณ แต่ใช้ไม่ได้ ทีวีจะถามว่าคุณเป็นใคร","join_picking":"กด PS แล้วเลือกเล่นด่วนบนทีวี","join_hide_controls":"ซ่อน","join_sound":"แตะเพื่อเปิดเสียง","rp_unmute":"เปิดเสียง","rp_mute":"ปิดเสียง","join_no_sound":"เบราว์เซอร์นี้ไม่มีเสียง","join_exit_fullscreen":"ออกจากเต็มจอ","pad_fill":"เต็มจอ","join_leave":"ออก","join_show_controls":"แสดงปุ่มควบคุม","join_hold_hint":"กดค้างที่ภาพเพื่อแสดงปุ่ม","pad_watch_no_hevc":"อุปกรณ์นี้เล่นภาพของสตรีมนี้ไม่ได้: คอมพิวเตอร์สตรีมเป็น HEVC แต่อุปกรณ์นี้เล่นได้แค่ H.264","pad_watch_decode":"เล่นภาพที่นี่ไม่ได้","join_pad_ready":"คอนโทรลเลอร์ของคุณพร้อมแล้ว","join_check_unknown_short":"ไม่อยู่ในรายการ: ปุ่มอาจสลับกัน","join_full_to_play":"แตะเต็มหน้าจอเพื่อเล่นด้วยคอนโทรลเลอร์บนหน้าจอ","join_pad_none":"เชื่อมต่อคอนโทรลเลอร์ (USB หรือ Bluetooth) แล้วกดปุ่มใดก็ได้","join_pad_keys":"หรือใช้คีย์บอร์ด: WASD เคลื่อนที่, ลูกศร D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options","join_tv_back_hint":"กดปุ่มย้อนกลับบนรีโมตเพื่อแสดงปุ่ม","join_block_note":"{host} ปิดปุ่ม PS และ Create สำหรับเพื่อน","join_guide_title":"อีกขั้นตอนเดียวบนทีวี","join_guide_body":"กด PS บนคอนโทรลเลอร์หนึ่งครั้ง ทีวีจะถามว่า \"ใครกำลังใช้คอนโทรลเลอร์นี้?\" เลือกเล่นด่วนหรือผู้ใช้ของคุณเอง เจ้าของเกมไม่ต้องทำอะไร","join_guide_menus":"บนหน้าจอหลักของ PS5 มีแค่โฮสต์ที่ควบคุมเมนูได้ คอนโทรลเลอร์ของคุณใช้เล่นในเกม","join_guide_ok":"เข้าใจแล้ว","join_host_away":"โฮสต์หยุดเล่นแล้ว — กำลังรอให้เริ่มเล่นอีกครั้ง ({time})","join_reconnecting":"กำลังเชื่อมต่อใหม่…","join_reconnecting_left":"ที่ของคุณจะถูกเก็บไว้ {time}","pad_turn":"หมุนมือถือเป็นแนวนอน","join_game_label":"เกมของ {host}","join_title":"เข้าร่วมเกมของเพื่อน","join_title_body":"เล่นบน PS5 ของ {host} เป็นผู้เล่น 2, 3 หรือ 4","join_name_label":"ชื่อของคุณ","join_name_hint":"เพื่อนจะเห็นชื่อนี้เมื่อคุณขอเข้าร่วม","join_button":"เข้าร่วม"},"tr":{"usb_skipped_not_payload":"{name}: .elf veya .bin dosyası değil","usb_skipped_unknown":"{id}: artık payload listesinde değil","browser_unsupported":"Bunun için masaüstü uygulaması gerekir. Tarayıcıda çalışmaz.","video_recovered_notice":"Play geçen sefer görüntüyü başlatırken çöktü, bu yüzden görüntü artık ekran kartı olmadan çözülüyor (değiştirmek için Ayarlar › Pencere › Grafik › Donanımsal video çözme).","video_recovered_title":"Görüntü artık yazılımla çözülüyor","open_in_title":"PS5Upload uygulamasında açılsın mı?","open_in_body":"Bu cihazda PS5Upload uygulaması var mı? Bunu orada aç ya da tarayıcıda devam et.","open_in_app":"Uygulamada aç","open_in_browser":"Tarayıcıda devam et","open_in_remember":"Bu cihazda seçimimi hatırla","open_in_opening":"PS5Upload uygulaması açılıyor…","open_in_not_opened":"Bir şey olmadı mı? Uygulama bu cihazda olmayabilir.","open_in_again":"Tekrar dene","pad_8bitdo_no_xinput":"Bu 8BitDo'nun X-input modu yok. Bir tuş yanlışsa kumandayı kontrol et.","pad_8bitdo_how_switch":"arkadaki düğmeyi X'e getir, sonra Start'a bas","pad_8bitdo_how_startx":"kapat, sonra açmak için Start + X'e basılı tut","pad_8bitdo_how_receiver":"2.4G alıcısını ya da bir USB kablosu kullan","pad_8bitdo_how_manual":"nasıl yapılacağı kılavuzunda yazıyor","pad_8bitdo_xinput":"En iyi sonuç için 8BitDo'nu X-input moduna al: {how}.","rp_touch_left_stick":"Sol çubuk","rp_touch_right_stick":"Sağ çubuk","rp_touch_touchpad":"Dokunmatik yüzey","rp_menu":"Menü","rp_pad_step_lx":"Sol çubuğu sağa itin","rp_pad_step_ly":"Sol çubuğu aşağı itin","rp_pad_step_rx":"Sağ çubuğu sağa itin","rp_pad_step_ry":"Sağ çubuğu aşağı itin","join_check_bottom":"Alttaki yüz tuşuna bas (✕)","join_check_right":"Sağdaki yüz tuşuna bas (○)","join_check_left":"Soldaki yüz tuşuna bas (□)","join_check_top":"Üstteki yüz tuşuna bas (△)","rp_pad_press":"{name} tuşuna basın","join_check_saved":"Bu cihazda bu kumanda için kaydedildi. Aşağıda dene.","join_check_title":"Kumandanı kontrol et","join_done":"Tamam","rp_pads_none":"Henüz kumanda görülmedi. Bir tane bağlayın ve herhangi bir tuşuna basın.","rp_pad_mapped":"Sizin eşlemenizle oynuyor","join_check_unknown":"Bu kumanda listemizde yok, bu yüzden tuşları karışık olabilir. Ayarlamak birkaç saniye sürer.","rp_pad_standard":"Tanındı","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Atla","rp_pad_back":"Geri","rp_pad_cancel":"İptal","join_check_try":"Tuşlara bas ve çubukları oynat: bastığın şey yanar.","join_check_redo":"Yeniden yap","join_check_map":"Tuşları ayarla","rp_pad_reset":"Sıfırla","join_open_lan_body":"İnternete ulaşamıyor musun? Arkadaşınla aynı Wi-Fi'daysan oyunu orada aç.","join_open_lan":"Bu Wi-Fi'da aç","join_path_lan":"Ev ağı","join_path_internet":"İnternet","join_seat_taken":"{host} kumandasını geri istedi ve PS5'te boş başka kumanda yoktu, bu yüzden oyundan çıktın. {host} adlı kişiden seni tekrar almasını iste.","join_refused_key":"Bu davetin süresi doldu. {host} kullanıcısından yeni bir bağlantı iste.","join_refused_expired":"Oyundaki yerin gitti. {host} seni yeniden alsın diye iste.","join_refused_full":"Oyun dolu: zaten dört oyuncu var.","join_refused_denied":"{host} bu sefer seni içeri almadı.","join_refused_no_answer":"{host} zamanında yanıt vermedi. {host} kişisine haber ver, sonra yeniden dene.","join_refused_closed":"{host} şu anda Birlikte Oyna açmıyor.","join_refused_old_helper":"Birlikte Oyna için {host} adlı kişinin PS5'inde yardımcının güncellenmesi gerekiyor.","join_refused_not_playing":"{host} şu anda oynamıyor. Önce Oyna'yı başlatmasını {host} kullanıcısından iste.","join_refused_unreachable":"{host} adlı kişinin bilgisayarı PS5'e ulaşamadı. Biraz sonra tekrar dene.","join_refused_slow_down":"Çok fazla yanlış kod. Bir dakika bekle, sonra tekrar dene.","join_refused_address":"Bu bağlantının adresi ev ağınızın dışında olduğundan uygulama bunu kullanmaz. {host} kullanıcısından bilgisayarının IP adresini içeren bir bağlantı isteyin.","join_refused_other":"{host} seni içeri almadı.","join_ended_kicked":"{host} seni oyundan çıkardı.","join_ended_closed":"{host}, Birlikte Oyna'yı kapattı.","join_ended_host_stopped":"Ev sahibi oynamayı bıraktı.","join_ended_replaced":"Bu oyun başka bir sekmede veya cihazda açıldı, bu yüzden burada durdu.","join_ended_pad_lost":"PS5 kumandanı kaybetti, bu yüzden oyundan çıktın. {host} seni yeniden alsın diye iste.","join_ended_gave_up":"{host} ile bağlantı zamanında geri gelmedi.","join_net_lost":"{host} ile bağlantı koptu. İnternet bağlantını kontrol et, sonra yeniden iste.","join_ended_lost":"{host} kullanıcısına ulaşılamadı. Aynı ağda olduğunuzu kontrol et.","join_ended_left":"Oyundan ayrıldın.","join_net_mismatch":"Bu bağlantı ev sahibiyle eşleşmiyor; ondan yeni bir bağlantı iste.","join_net_no_direct":"Bu ağdan doğrudan bağlantı mümkün değil (iki tarafın yönlendiricisi de katı). Mobil veri yerine Wi-Fi dene ya da ev sahibinden UPnP'yi açmasını iste.","join_net_no_room":"Bu davet artık açık değil. {host} kullanıcısından yeni bir bağlantı iste.","join_net_full":"{host} kullanıcısının oyununda şu an başka bir arkadaşa yer yok. Biraz sonra tekrar dene.","join_net_no_hub":"PS5Upload davet hizmetine ulaşılamadı. İnternet bağlantını kontrol et, sonra tekrar dene.","join_net_offer":"{host} kullanıcısının bilgisayarı bu tarayıcıya bağlanamadı. Başka bir tarayıcı dene.","join_net_no_webrtc":"Bu tarayıcı doğrudan bağlantı kuramıyor. Güncel bir Chrome, Safari veya Firefox dene.","join_cancel":"İptal","join_host_fallback":"arkadaşın","join_connecting":"Bağlanılıyor: {host}…","join_waiting":"{host} seni içeri alsın diye bekleniyor","join_waiting_body":"{host} adını ekranında görür ve İzin ver'e dokunur.","join_retry":"Tekrar dene","join_again":"Tekrar katılmak iste","join_playing_at":"Oynadığın yer: {host}","join_you_are":"Sen {n}. Oyuncusun","join_seat_stream":"{host} adlı kişinin PS5 kullanıcısıyla oynuyorsun. Kullanıcı seçmene gerek yok.","join_plays_as":"{profile} olarak oynuyorsunuz. Seçim yapmanıza gerek yok.","join_seat_tv_asks":"{host} sizin için bir profil seçti ama kullanılamadı. TV kim olduğunuzu soracak.","join_picking":"PS'ye bas, sonra televizyonda Hızlı Oyna'yı seç","join_hide_controls":"Gizle","join_sound":"Ses için dokun","rp_unmute":"Sesi aç","rp_mute":"Sessiz","join_no_sound":"Bu tarayıcıda ses yok","join_exit_fullscreen":"Tam ekrandan çık","pad_fill":"Tam ekran","join_leave":"Ayrıl","join_show_controls":"Kontrolleri göster","join_hold_hint":"Düğmeleri göstermek için görüntüye basılı tut","pad_watch_no_hevc":"Bu cihaz bu yayının görüntüsünü oynatamıyor: bilgisayar HEVC yayınlıyor, bu cihaz yalnızca H.264 oynatıyor.","pad_watch_decode":"Görüntü burada oynatılamadı.","join_pad_ready":"Kumandan hazır","join_check_unknown_short":"Listemizde yok: tuşlar karışık olabilir.","join_full_to_play":"Ekran kumandasıyla oynamak için Tam ekran'a dokun.","join_pad_none":"Bir kumanda bağla (USB veya Bluetooth) ve herhangi bir tuşa bas.","join_pad_keys":"Ya da klavyeyi kullan: WASD hareket, ok tuşları yön tuşları, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Düğmeleri görmek için kumandada Geri'ye bas.","join_block_note":"{host}, arkadaşlar için PS ve Create tuşlarını kapattı.","join_guide_title":"Televizyonda bir adım daha","join_guide_body":"Kumandandaki PS tuşuna bir kez bas. Televizyon \"Bu kumandayı kim kullanıyor?\" diye sorar. Hızlı Oyna'yı ya da kendi kullanıcını seç. Ev sahibinin bir şey yapması gerekmez.","join_guide_menus":"PS5 ana ekranında menüleri yalnızca ev sahibi kontrol eder; senin kumandan oyunların içinde çalışır.","join_guide_ok":"Anladım","join_host_away":"Ev sahibi oynamayı bıraktı — yeniden başlaması bekleniyor ({time})","join_reconnecting":"Yeniden bağlanıyor…","join_reconnecting_left":"Yerin {time} boyunca tutuluyor.","pad_turn":"Telefonu yan çevirin","join_game_label":"{host} adlı kişinin oyunu","join_title":"Bir arkadaşının oyununa katıl","join_title_body":"{host} adlı kişinin PS5'inde 2., 3. veya 4. Oyuncu olarak oyna.","join_name_label":"Adın","join_name_hint":"Katılmak istediğinde arkadaşın bunu görür.","join_button":"Katıl"},"vi":{"usb_skipped_not_payload":"{name}: không phải tệp .elf hoặc .bin","usb_skipped_unknown":"{id}: không còn trong danh sách payload","browser_unsupported":"Việc này cần ứng dụng máy tính. Không hoạt động trong trình duyệt.","video_recovered_notice":"Lần trước Play bị sập khi bắt đầu hình, nên giờ hình được giải mã không dùng card đồ họa (đổi trong Cài đặt › Cửa sổ › Đồ họa › Giải mã video bằng phần cứng).","video_recovered_title":"Hình giờ được giải mã bằng phần mềm","open_in_title":"Mở trong ứng dụng PS5Upload?","open_in_body":"Thiết bị này có ứng dụng PS5Upload? Mở trong ứng dụng, hoặc tiếp tục trên trình duyệt.","open_in_app":"Mở trong ứng dụng","open_in_browser":"Tiếp tục trên trình duyệt","open_in_remember":"Nhớ lựa chọn của tôi trên thiết bị này","open_in_opening":"Đang mở ứng dụng PS5Upload…","open_in_not_opened":"Không có gì xảy ra? Có thể thiết bị này chưa có ứng dụng.","open_in_again":"Thử lại","pad_8bitdo_no_xinput":"8BitDo này không có chế độ X-input. Nếu có nút sai, hãy kiểm tra tay cầm.","pad_8bitdo_how_switch":"gạt công tắc phía sau sang X, rồi nhấn Start","pad_8bitdo_how_startx":"tắt tay cầm, rồi giữ Start + X để bật lại","pad_8bitdo_how_receiver":"dùng bộ thu 2.4G của nó hoặc cáp USB","pad_8bitdo_how_manual":"cách làm có trong sách hướng dẫn","pad_8bitdo_xinput":"Để chơi tốt nhất, hãy chuyển 8BitDo sang chế độ X-input: {how}.","rp_touch_left_stick":"Cần trái","rp_touch_right_stick":"Cần phải","rp_touch_touchpad":"Bàn di cảm ứng","rp_pad_step_lx":"Đẩy cần trái sang phải","rp_pad_step_ly":"Đẩy cần trái xuống dưới","rp_pad_step_rx":"Đẩy cần phải sang phải","rp_pad_step_ry":"Đẩy cần phải xuống dưới","join_check_bottom":"Nhấn nút mặt phía dưới (✕)","join_check_right":"Nhấn nút mặt bên phải (○)","join_check_left":"Nhấn nút mặt bên trái (□)","join_check_top":"Nhấn nút mặt phía trên (△)","rp_pad_press":"Nhấn {name}","join_check_saved":"Đã lưu cho tay cầm này trên thiết bị này. Thử ngay bên dưới.","join_check_title":"Kiểm tra tay cầm","join_done":"Xong","rp_pads_none":"Chưa thấy tay cầm nào. Hãy kết nối một tay cầm và nhấn nút bất kỳ.","rp_pad_mapped":"Chơi theo cách gán nút của bạn","join_check_unknown":"Tay cầm này không có trong danh sách của chúng tôi nên các nút có thể bị lẫn. Thiết lập chỉ mất vài giây.","rp_pad_standard":"Đã nhận diện","rp_pad_progress":"{n}/{total}","rp_pad_skip":"Bỏ qua","rp_pad_back":"Quay lại","rp_pad_cancel":"Hủy","join_check_try":"Nhấn nút và di chuyển cần: nút bạn nhấn sẽ sáng lên.","join_check_redo":"Làm lại","join_check_map":"Thiết lập nút","rp_pad_reset":"Đặt lại","join_open_lan_body":"Không vào được internet? Nếu bạn dùng cùng Wi-Fi với bạn mình, hãy mở trò chơi ở đó.","join_open_lan":"Mở trên Wi-Fi này","join_path_lan":"Mạng nhà","join_seat_taken":"{host} cần lấy lại tay cầm và trên PS5 không còn tay cầm nào trống, nên bạn đã rời trò chơi. Hãy nhờ {host} cho bạn vào lại.","join_refused_key":"Lời mời này đã hết hạn. Hãy xin {host} liên kết mới.","join_refused_expired":"Bạn đã mất chỗ trong trò chơi. Hãy nhờ {host} cho vào lại.","join_refused_full":"Trò chơi đã đủ người: đã có bốn người chơi.","join_refused_denied":"Lần này {host} chưa cho bạn vào.","join_refused_no_answer":"{host} không trả lời kịp. Hãy báo {host}, rồi thử lại.","join_refused_closed":"{host} hiện không mở Chơi cùng nhau.","join_refused_old_helper":"PS5 của {host} cần cập nhật trình trợ giúp để Chơi cùng nhau.","join_refused_not_playing":"{host} hiện không chơi. Hãy nhờ {host} bắt đầu Chơi trước.","join_refused_unreachable":"Máy tính của {host} không kết nối được với PS5. Hãy thử lại sau giây lát.","join_refused_slow_down":"Nhập sai mã quá nhiều lần. Hãy đợi một phút rồi thử lại.","join_refused_address":"Địa chỉ của liên kết này nằm ngoài mạng gia đình nên ứng dụng sẽ không dùng. Hãy nhờ {host} gửi liên kết có địa chỉ IP của máy tính.","join_refused_other":"{host} không cho bạn vào.","join_ended_kicked":"{host} đã mời bạn ra khỏi trò chơi.","join_ended_closed":"{host} đã đóng Chơi cùng nhau.","join_ended_host_stopped":"Chủ phòng đã dừng chơi.","join_ended_replaced":"Trò chơi này đã được mở ở tab khác hoặc thiết bị khác, nên đã dừng ở đây.","join_ended_pad_lost":"PS5 đã mất tay cầm của bạn, nên bạn đã ra khỏi trò chơi. Hãy nhờ {host} cho vào lại.","join_ended_gave_up":"Kết nối tới {host} không trở lại kịp.","join_net_lost":"Kết nối tới {host} đã bị ngắt. Hãy kiểm tra kết nối internet, rồi xin vào lại.","join_ended_lost":"Không liên lạc được với {host}. Hãy kiểm tra hai bên có cùng mạng không.","join_ended_left":"Bạn đã rời trò chơi.","join_net_mismatch":"Liên kết này không khớp với chủ phòng; hãy xin họ một liên kết mới.","join_net_no_direct":"Không thể kết nối trực tiếp từ mạng này (bộ định tuyến của cả hai bên đều chặt). Hãy thử Wi-Fi thay cho dữ liệu di động, hoặc nhờ chủ phòng bật UPnP.","join_net_no_room":"Lời mời này không còn mở. Hãy xin {host} một liên kết mới.","join_net_full":"Trò chơi của {host} hiện không còn chỗ cho thêm một người bạn. Hãy thử lại sau giây lát.","join_net_no_hub":"Không liên lạc được với dịch vụ lời mời của PS5Upload. Hãy kiểm tra kết nối internet rồi thử lại.","join_net_offer":"Máy tính của {host} không kết nối được với trình duyệt này. Hãy thử trình duyệt khác.","join_net_no_webrtc":"Trình duyệt này không thể tạo kết nối trực tiếp. Hãy thử Chrome, Safari hoặc Firefox bản mới.","join_cancel":"Hủy","join_host_fallback":"bạn của bạn","join_connecting":"Đang kết nối tới {host}…","join_waiting":"Đang chờ {host} cho bạn vào","join_waiting_body":"{host} sẽ thấy tên bạn trên màn hình và chạm Cho phép.","join_retry":"Thử lại","join_again":"Xin vào lại","join_playing_at":"Đang chơi ở chỗ {host}","join_you_are":"Bạn là Người chơi {n}","join_seat_stream":"Bạn đang chơi bằng người dùng PS5 của {host}. Không cần chọn người dùng.","join_plays_as":"Bạn đang chơi bằng {profile}. Không cần chọn.","join_seat_tv_asks":"{host} đã chọn một hồ sơ cho bạn nhưng không dùng được. TV sẽ hỏi bạn là ai.","join_picking":"Bấm PS, rồi chọn Chơi nhanh trên TV","join_hide_controls":"Ẩn","join_sound":"Chạm để bật tiếng","rp_unmute":"Bật âm thanh","rp_mute":"Tắt tiếng","join_no_sound":"Trình duyệt này không phát được âm thanh","join_exit_fullscreen":"Thoát toàn màn hình","pad_fill":"Toàn màn hình","join_leave":"Rời đi","join_show_controls":"Hiện các nút điều khiển","join_hold_hint":"Nhấn giữ hình ảnh để hiện các nút","pad_watch_no_hevc":"Thiết bị này không phát được hình của stream này: máy tính truyền HEVC, còn thiết bị này chỉ phát H.264.","pad_watch_decode":"Không phát được hình ở đây.","join_pad_ready":"Tay cầm của bạn đã sẵn sàng","join_check_unknown_short":"Không có trong danh sách: các nút có thể bị lẫn.","join_full_to_play":"Chạm toàn màn hình để chơi bằng tay cầm trên màn hình.","join_pad_none":"Kết nối tay cầm (USB hoặc Bluetooth) rồi bấm nút bất kỳ.","join_pad_keys":"Hoặc dùng bàn phím: WASD di chuyển, phím mũi tên D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Nhấn Quay lại trên điều khiển từ xa để hiện các nút.","join_block_note":"{host} đã tắt PS và Create với bạn bè.","join_guide_title":"Thêm một bước trên TV","join_guide_body":"Bấm PS một lần trên tay cầm. TV sẽ hỏi \"Ai đang dùng tay cầm này?\". Chọn Chơi nhanh hoặc người dùng của bạn. Chủ phòng không cần làm gì.","join_guide_menus":"Trên màn hình chính PS5 chỉ chủ phòng điều khiển menu; tay cầm của bạn chơi bên trong trò chơi.","join_guide_ok":"Đã hiểu","join_host_away":"Chủ phòng đã dừng chơi — đang chờ họ chơi lại ({time})","join_reconnecting":"Đang kết nối lại…","join_reconnecting_left":"Chỗ của bạn được giữ trong {time}.","pad_turn":"Xoay ngang điện thoại","join_game_label":"Trò chơi của {host}","join_title":"Vào trò chơi của bạn bè","join_title_body":"Chơi trên PS5 của {host} với vai Người chơi 2, 3 hoặc 4.","join_name_label":"Tên của bạn","join_name_hint":"Bạn bè sẽ thấy tên này khi bạn xin vào.","join_button":"Vào chơi"},"zh-CN":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 文件","usb_skipped_unknown":"{id}:已不在 Payload 列表中","browser_unsupported":"这需要桌面应用,无法在浏览器中使用。","video_recovered_notice":"上次 Play 在开始显示画面时崩溃,因此画面现在不使用显卡解码(可在 设置 › 窗口 › 图形 › 硬件视频解码 中更改)。","video_recovered_title":"画面现由软件解码","open_in_title":"在 PS5Upload 应用中打开?","open_in_body":"这台设备装了 PS5Upload 应用?可以在应用中打开,或继续使用浏览器。","open_in_app":"在应用中打开","open_in_browser":"继续使用浏览器","open_in_remember":"在此设备上记住我的选择","open_in_opening":"正在打开 PS5Upload 应用…","open_in_not_opened":"没有反应?这台设备可能没有安装应用。","open_in_again":"重试","pad_8bitdo_no_xinput":"这款 8BitDo 没有 X-input 模式。如果有按键不对,请检查手柄。","pad_8bitdo_how_switch":"把背面的开关拨到 X,然后按 Start","pad_8bitdo_how_startx":"先关机,然后按住 Start + X 开机","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 线","pad_8bitdo_how_manual":"方法见其说明书","pad_8bitdo_xinput":"为获得最佳效果,请将 8BitDo 切换到 X-input 模式:{how}。","rp_touch_left_stick":"左摇杆","rp_touch_right_stick":"右摇杆","rp_touch_touchpad":"触摸板","rp_menu":"菜单","rp_pad_step_lx":"将左摇杆推向右","rp_pad_step_ly":"将左摇杆推向下","rp_pad_step_rx":"将右摇杆推向右","rp_pad_step_ry":"将右摇杆推向下","join_check_bottom":"按下方的功能键 (✕)","join_check_right":"按右侧的功能键 (○)","join_check_left":"按左侧的功能键 (□)","join_check_top":"按上方的功能键 (△)","rp_pad_press":"按 {name}","join_check_saved":"已在此设备上为这个手柄保存。可在下方试用。","join_check_title":"检查你的手柄","join_done":"完成","rp_pads_none":"还没有检测到手柄。请连接一个手柄并按任意按钮。","rp_pad_mapped":"使用你的按键映射","join_check_unknown":"这个手柄不在我们的列表中,按键可能会错位。设置只需几秒钟。","rp_pad_standard":"已识别","rp_pad_progress":"{n}/{total}","rp_pad_skip":"跳过","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按键、推动摇杆:按下的部分会亮起。","join_check_redo":"重新设置","join_check_map":"设置按键","rp_pad_reset":"重置","join_open_lan_body":"连不上互联网?如果你和朋友在同一个 Wi-Fi 上,就在那里打开游戏。","join_open_lan":"在此 Wi-Fi 上打开","join_path_lan":"家庭网络","join_path_internet":"互联网","join_seat_taken":"{host} 需要收回手柄,而 PS5 上没有其他空闲手柄,所以你已退出游戏。请 {host} 再次让你加入。","join_refused_key":"此邀请已过期。请向 {host} 要一个新链接。","join_refused_expired":"你在游戏中的位置已失去。请让 {host} 再次放你进去。","join_refused_full":"游戏已满:已经有四名玩家。","join_refused_denied":"{host} 这次没有让你加入。","join_refused_no_answer":"{host} 没有及时响应。请告诉 {host},然后重试。","join_refused_closed":"{host} 目前没有开启一起畅玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起畅玩。","join_refused_not_playing":"{host} 现在没在玩。请让 {host} 先开始畅玩。","join_refused_unreachable":"{host} 的电脑无法连接到其 PS5。请稍后再试。","join_refused_slow_down":"错误的代码太多。请等一分钟后再试。","join_refused_address":"此链接的地址不在你的家庭网络内,因此应用不会使用它。请向 {host} 索取包含其电脑 IP 地址的链接。","join_refused_other":"{host} 没有让你加入。","join_ended_kicked":"{host} 已将你移出游戏。","join_ended_closed":"{host} 已关闭一起畅玩。","join_ended_host_stopped":"房主已停止游戏。","join_ended_replaced":"这场游戏在另一个标签页或另一台设备上打开了,所以这里已停止。","join_ended_pad_lost":"PS5 丢失了你的手柄,所以你已退出游戏。请让 {host} 再次放你进去。","join_ended_gave_up":"与 {host} 的连接未能及时恢复。","join_net_lost":"与 {host} 的连接已断开。请检查你的互联网连接,然后重新请求。","join_ended_lost":"无法连接到 {host}。请检查你们是否在同一网络。","join_ended_left":"你已离开游戏。","join_net_mismatch":"此链接与主机不匹配;请向对方要一个新链接。","join_net_no_direct":"无法从此网络直接连接(双方的路由器都很严格)。请改用 Wi-Fi 而不是移动数据,或请主机打开 UPnP。","join_net_no_room":"此邀请已失效。请向 {host} 要一个新链接。","join_net_full":"{host} 的游戏现在没有位置再加一位朋友。请稍后再试。","join_net_no_hub":"无法连接 PS5Upload 邀请服务。请检查网络连接后重试。","join_net_offer":"{host} 的电脑无法连接到此浏览器。请换一个浏览器试试。","join_net_no_webrtc":"此浏览器无法建立直接连接。请使用较新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在连接 {host}…","join_waiting":"正在等待 {host} 让你加入","join_waiting_body":"{host} 会在屏幕上看到你的名字并点按“允许”。","join_retry":"重试","join_again":"再次请求加入","join_playing_at":"正在 {host} 那里玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 用户身份游玩,无需选择用户。","join_plays_as":"你正在以 {profile} 的身份游玩,无需选择。","join_seat_tv_asks":"{host} 为你选择了个人资料,但无法使用。电视会询问你是谁。","join_picking":"按 PS 键,然后在电视上选择“快速游戏”","join_hide_controls":"隐藏","join_sound":"点按开启声音","rp_unmute":"开启声音","rp_mute":"静音","join_no_sound":"此浏览器无法播放声音","join_exit_fullscreen":"退出全屏","pad_fill":"全屏","join_leave":"离开","join_show_controls":"显示控制按钮","join_hold_hint":"长按画面以显示按钮","pad_watch_no_hevc":"此设备无法播放这个串流的画面:电脑以 HEVC 串流,而此设备只能播放 H.264。","pad_watch_decode":"无法在这里播放画面。","join_pad_ready":"你的手柄已就绪","join_check_unknown_short":"不在我们的列表中:按键可能错位。","join_full_to_play":"点按全屏,即可用屏幕手柄游玩。","join_pad_none":"连接手柄(USB 或 Bluetooth),然后按任意键。","join_pad_keys":"也可以用键盘:WASD 移动,方向键为十字键,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遥控器上的返回键显示按钮。","join_block_note":"{host} 已为好友关闭 PS 和 Create 键。","join_guide_title":"电视上还差一步","join_guide_body":"在手柄上按一次 PS 键。电视会询问“谁在使用这个手柄?”。选择“快速游戏”或你自己的用户。主机玩家无需任何操作。","join_guide_menus":"在 PS5 主屏幕上只有房主能操作菜单;你的手柄在游戏里使用。","join_guide_ok":"知道了","join_host_away":"房主已停止游戏 — 正在等待对方重新开始({time})","join_reconnecting":"正在重新连接…","join_reconnecting_left":"你的位置会保留 {time}。","pad_turn":"请横放手机","join_game_label":"{host} 的游戏","join_title":"加入好友的游戏","join_title_body":"在 {host} 的 PS5 上作为玩家 2、3 或 4 游玩。","join_name_label":"你的名字","join_name_hint":"你请求加入时,好友会看到这个名字。","join_button":"加入"},"zh-TW":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 檔案","usb_skipped_unknown":"{id}:已不在 Payload 清單中","browser_unsupported":"這需要桌面應用程式,無法在瀏覽器中使用。","video_recovered_notice":"上次 Play 在開始顯示畫面時當掉,因此畫面現在不使用顯示卡解碼(可在 設定 › 視窗 › 圖形 › 硬體視訊解碼 中變更)。","video_recovered_title":"畫面現改由軟體解碼","open_in_title":"在 PS5Upload 應用程式中開啟?","open_in_body":"這台裝置有 PS5Upload 應用程式?可以在應用程式中開啟,或繼續使用瀏覽器。","open_in_app":"在應用程式中開啟","open_in_browser":"繼續使用瀏覽器","open_in_remember":"在此裝置上記住我的選擇","open_in_opening":"正在開啟 PS5Upload 應用程式…","open_in_not_opened":"沒有反應?這台裝置可能沒有安裝應用程式。","open_in_again":"重試","pad_8bitdo_no_xinput":"這款 8BitDo 沒有 X-input 模式。如果有按鍵不對,請檢查控制器。","pad_8bitdo_how_switch":"把背面的開關撥到 X,然後按 Start","pad_8bitdo_how_startx":"先關機,然後按住 Start + X 開機","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 線","pad_8bitdo_how_manual":"方法請見其說明書","pad_8bitdo_xinput":"為獲得最佳效果,請將 8BitDo 切換到 X-input 模式:{how}。","rp_touch_left_stick":"左類比搖桿","rp_touch_right_stick":"右類比搖桿","rp_touch_touchpad":"觸控板","rp_menu":"選單","rp_pad_step_lx":"將左類比搖桿推向右","rp_pad_step_ly":"將左類比搖桿推向下","rp_pad_step_rx":"將右類比搖桿推向右","rp_pad_step_ry":"將右類比搖桿推向下","join_check_bottom":"按下方的功能鍵 (✕)","join_check_right":"按右側的功能鍵 (○)","join_check_left":"按左側的功能鍵 (□)","join_check_top":"按上方的功能鍵 (△)","rp_pad_press":"按下 {name}","join_check_saved":"已在此裝置上為這個控制器儲存。可在下方試用。","join_check_title":"檢查你的控制器","join_done":"完成","rp_pads_none":"尚未偵測到控制器。請連接一個控制器並按下任一按鈕。","rp_pad_mapped":"使用你的按鍵對應","join_check_unknown":"這個控制器不在我們的清單中,按鍵可能會錯位。設定只需幾秒鐘。","rp_pad_standard":"已辨識","rp_pad_progress":"{n}/{total}","rp_pad_skip":"略過","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按鍵、推動搖桿:按下的部分會亮起。","join_check_redo":"重新設定","join_check_map":"設定按鍵","rp_pad_reset":"重設","join_open_lan_body":"連不上網際網路?如果你和朋友在同一個 Wi-Fi 上,就在那裡開啟遊戲。","join_open_lan":"在此 Wi-Fi 上開啟","join_path_lan":"家用網路","join_path_internet":"網際網路","join_seat_taken":"{host} 需要收回控制器,而 PS5 上沒有其他空閒的控制器,所以你已離開遊戲。請 {host} 再次讓你加入。","join_refused_key":"此邀請已過期。請向 {host} 要一個新連結。","join_refused_expired":"你在遊戲中的位置已失去。請讓 {host} 再次放你進去。","join_refused_full":"遊戲已滿:已經有四名玩家。","join_refused_denied":"{host} 這次沒有讓你加入。","join_refused_no_answer":"{host} 沒有及時回應。請告訴 {host},然後再試一次。","join_refused_closed":"{host} 目前沒有開啟一起暢玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起暢玩。","join_refused_not_playing":"{host} 現在沒在玩。請讓 {host} 先開始暢玩。","join_refused_unreachable":"{host} 的電腦無法連線到其 PS5。請稍後再試。","join_refused_slow_down":"錯誤的代碼太多。請等一分鐘後再試。","join_refused_address":"此連結的位址不在你的家用網路內,因此應用程式不會使用它。請向 {host} 索取包含其電腦 IP 位址的連結。","join_refused_other":"{host} 沒有讓你加入。","join_ended_kicked":"{host} 已將你移出遊戲。","join_ended_closed":"{host} 已關閉一起暢玩。","join_ended_host_stopped":"房主已停止遊戲。","join_ended_replaced":"這場遊戲在另一個分頁或另一台裝置上開啟了,所以這裡已停止。","join_ended_pad_lost":"PS5 遺失了你的控制器,所以你已退出遊戲。請讓 {host} 再次放你進去。","join_ended_gave_up":"與 {host} 的連線未能及時恢復。","join_net_lost":"與 {host} 的連線已中斷。請檢查你的網際網路連線,然後重新要求。","join_ended_lost":"無法連線到 {host}。請確認你們是否在同一個網路。","join_ended_left":"你已離開遊戲。","join_net_mismatch":"這個連結與主機不符;請向對方要一個新連結。","join_net_no_direct":"無法從這個網路直接連線(雙方的路由器都很嚴格)。請改用 Wi-Fi 而非行動數據,或請主機開啟 UPnP。","join_net_no_room":"這個邀請已失效。請向 {host} 要一個新連結。","join_net_full":"{host} 的遊戲目前沒有位置再加一位朋友。請稍後再試。","join_net_no_hub":"無法連線到 PS5Upload 邀請服務。請檢查網路連線後再試一次。","join_net_offer":"{host} 的電腦無法連線到這個瀏覽器。請換個瀏覽器試試。","join_net_no_webrtc":"這個瀏覽器無法建立直接連線。請使用較新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在連線到 {host}…","join_waiting":"正在等待 {host} 讓你加入","join_waiting_body":"{host} 會在螢幕上看到你的名字並點選「允許」。","join_retry":"重試","join_again":"再次要求加入","join_playing_at":"正在 {host} 那裡玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 使用者身分遊玩,不需要選擇使用者。","join_plays_as":"你正以 {profile} 的身分遊玩,無需選擇。","join_seat_tv_asks":"{host} 為你選了一個個人檔案,但無法使用。電視會詢問你是誰。","join_picking":"按下 PS,然後在電視上選擇「快速遊玩」","join_hide_controls":"隱藏","join_sound":"點一下開啟聲音","rp_unmute":"開啟聲音","rp_mute":"靜音","join_no_sound":"此瀏覽器無法播放聲音","join_exit_fullscreen":"離開全螢幕","pad_fill":"全螢幕","join_leave":"離開","join_show_controls":"顯示控制項","join_hold_hint":"長按畫面以顯示按鈕","pad_watch_no_hevc":"此裝置無法播放這個串流的畫面:電腦以 HEVC 串流,而此裝置只能播放 H.264。","pad_watch_decode":"無法在這裡播放畫面。","join_pad_ready":"你的控制器已就緒","join_check_unknown_short":"不在我們的清單中:按鍵可能錯位。","join_full_to_play":"點一下全螢幕,即可用螢幕上的控制器遊玩。","join_pad_none":"連接控制器(USB 或 Bluetooth),然後按任意按鈕。","join_pad_keys":"也可以用鍵盤:WASD 移動,方向鍵為十字鍵,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遙控器上的返回鍵以顯示按鈕。","join_block_note":"{host} 已為好友關閉 PS 和 Create 按鈕。","join_guide_title":"電視上還差一步","join_guide_body":"在控制器上按一次 PS 按鈕。電視會詢問「誰在使用這支控制器?」。選擇「快速遊玩」或你自己的使用者。主持人不需要任何操作。","join_guide_menus":"在 PS5 主畫面上只有房主能操作選單;你的控制器在遊戲裡使用。","join_guide_ok":"知道了","join_host_away":"房主已停止遊戲 — 正在等待對方重新開始({time})","join_reconnecting":"正在重新連線…","join_reconnecting_left":"你的位置會保留 {time}。","pad_turn":"請橫放手機","join_game_label":"{host} 的遊戲","join_title":"加入好友的遊戲","join_title_body":"在 {host} 的 PS5 上以玩家 2、3 或 4 的身分遊玩。","join_name_label":"你的名字","join_name_hint":"你要求加入時,好友會看到這個名字。","join_button":"加入"}}),ke=new Set([`ar`,`fa`]);function Ae(){let e=Object.keys(Oe);try{let t=localStorage.getItem(`ps5upload.lang`);if(t&&e.includes(t))return t}catch{}let t=typeof navigator>`u`?[]:[...navigator.languages??[],navigator.language];for(let n of t){if(!n)continue;if(e.includes(n))return n;let t=n.split(`-`)[0],r=e.find(e=>e===t);if(r)return r;if(t===`zh`)return/TW|HK|MO|Hant/i.test(n)?`zh-TW`:`zh-CN`;let i=e.find(e=>e.split(`-`)[0]===t);if(i)return i}return`en`}var je=Ae();typeof document<`u`&&(document.documentElement.lang=je,document.documentElement.dir=ke.has(je)?`rtl`:`ltr`);var Me=Oe[je]??{},Ne=Oe.en??{},Pe=(e,t)=>t?e.replace(/\{(\w+)\}/g,(e,n)=>n in t?String(t[n]):e):e,Fe=((e,t,n)=>{let r=typeof t==`string`?void 0:t,i=typeof t==`string`?t:n;return Pe(Me[e]??Ne[e]??i??e,r)});function Ie(){return Fe}var Le=4e3;function Re(e,t,n=`lan`){let r=new URLSearchParams(e.replace(/^#/,``)).get(n);if(!r)return null;try{let e=new URL(r),n=e.origin+e.pathname;return/^https?:$/.test(e.protocol)&&r===n&&RegExp(`/${t}/?$`).test(e.pathname)?n:null}catch{return null}}function ze(e,t){return t.key?`${e}#i=${encodeURIComponent(t.key)}`:t.watch?`${e}#w=1`:e}function Be(e,t=Le,n=typeof WebSocket>`u`?void 0:WebSocket){return new Promise(r=>{try{let i=new n(e),a=e=>{clearTimeout(o),i.onopen=i.onclose=i.onerror=null,i.close(),r(e)},o=setTimeout(()=>a(!1),t);i.onopen=()=>a(!0),i.onclose=i.onerror=()=>a(!1)}catch{r(!1)}})}var Ve=[`mismatch`,`no_direct`,`no_room`,`net_full`,`no_hub`,`offer`,`no_webrtc`],He=4100;function Ue(e){if(!e||e.code!==4100||typeof e.reason!=`string`||!e.reason.startsWith(`net:`))return null;let t=e.reason.slice(4);return Ve.includes(t)?t:null}var We=new Set([`key`,`expired`,`full`,`denied`,`no_answer`,`closed`,`old_helper`,`not_playing`,`unreachable`,`slow_down`,`address`,`seat_taken`]),Ge={kicked:`kicked`,host_stopped:`host_stopped`,replaced:`replaced`,lost:`pad_lost`,seat_taken:`seat_taken`},Ke=new Set([`asking`,`picking_user`,`playing`,`reconnecting`,`left`]),qe=e=>Math.max(0,Math.min(255,Math.round(Number(e)||0)));function Je(e){let t;try{let n=JSON.parse(e);if(!n||typeof n!=`object`)return null;t=n}catch{return null}if(typeof t.pong==`number`)return{kind:`pong`,t:t.pong};if(t.stage===`asking`)return{kind:`asking`};if(t.stage===`waiting`)return{kind:`waiting`};if(t.stage===`joined`&&typeof t.player==`number`&&typeof t.token==`string`)return{kind:`joined`,player:t.player,token:t.token,hevc:t.hevc===!0,track:t.track===!0,audio:t.audio===!0};if(t.stage===`refused`){let e=String(t.why??``);return{kind:`refused`,why:We.has(e)?e:`refused`}}if(typeof t.bye==`string`)return{kind:`bye`,why:Object.prototype.hasOwnProperty.call(Ge,t.bye)?Ge[t.bye]:`closed`};if(t.status&&typeof t.status==`object`){let e=t.status,n=typeof e.state==`string`&&Ke.has(e.state)?e.state:null;return{kind:`status`,status:{player:typeof e.player==`number`?e.player:0,state:n,rttMs:typeof e.rtt_ms==`number`?e.rtt_ms:null,host:typeof e.host==`string`&&e.host?e.host:null,blockSystem:e.block_system===!0,streamSeat:e.stream_seat===!0,playsAs:typeof e.plays_as==`string`&&e.plays_as?e.plays_as:null,seatNote:typeof e.seat_note==`string`&&e.seat_note?e.seat_note:null,moveFirst:e.move_first===!0,hostUser:typeof e.host_user==`string`&&e.host_user?e.host_user:null,tookHost:e.took_host===!0}}}let n=Array.isArray(t.rumble)?[qe(t.rumble[0]),qe(t.rumble[1])]:null,r=Array.isArray(t.light)?[qe(t.light[0]),qe(t.light[1]),qe(t.light[2])]:null;return n||r?{kind:`feedback`,rumble:n,light:r}:null}function Ye(e){return Math.max(-32768,Math.min(32767,Math.round(e)))+32768>>8}function Xe([e,t]){return[Math.max(0,Math.min(1919,Math.round(e))),Math.max(0,Math.min(1079,Math.round(t*1079/941)))]}function Ze(e,t){let n=t.touch?[[0,...Xe(t.touch)]]:[],r=t.motion??null,i=16+n.length*5+(r?25:0),a=new ArrayBuffer(i),o=new DataView(a),s=0;o.setUint8(s++,1),o.setUint32(s,e>>>0,!0),s+=4,o.setUint32(s,t.buttons>>>0,!0),s+=4;for(let e of[t.lx,t.ly,t.rx,t.ry])o.setUint8(s++,Ye(e));o.setUint8(s++,qe(t.l2)),o.setUint8(s++,qe(t.r2)),o.setUint8(s++,n.length);for(let[e,t,r]of n)o.setUint8(s++,e),o.setUint16(s,t,!0),s+=2,o.setUint16(s,r,!0),s+=2;if(r){o.setUint8(s++,2);for(let e of[...r.gyro,...r.accel])o.setFloat32(s,e/1e3,!0),s+=4}return new Uint8Array(a)}function Qe(e){return Math.min(4e3,250*2**Math.max(0,Math.min(e,10)))}var $e=6e4,et=6e4;function tt(e){return e&&/^[0-9A-Fa-f]{2}(:[0-9A-Fa-f]{2}){31}$/.test(e)?e.toUpperCase():null}function nt(e){let t=new URLSearchParams(e.replace(/^#/,``)),n=t.get(`room`)??``,r=t.get(`k`)??``,i=t.get(`fp`)??``,a=t.get(`hub`)??``;return!/^[A-Za-z0-9_-]{22}$/.test(n)||!/^[A-Za-z0-9_-]{8,128}$/.test(r)||!tt(i)||!/^([A-Za-z0-9.-]{1,253}|\[[0-9A-Fa-f:.]{2,45}\])(:\d{1,5})?$/.test(a)?null:{room:n,key:r,fp:i.toUpperCase(),hub:a}}function rt(e){return`ps5upload://join?link=${encodeURIComponent(e)}`}function it(e){return e==null||!Number.isFinite(e)?`none`:e<60?`good`:e<120?`fair`:`slow`}function at(e){switch(e){case 1:return[0,0,255];case 2:return[255,0,0];case 3:return[0,255,0];default:return[255,0,255]}}var ot=(e,t)=>`#version 300 es precision mediump float; in vec2 uv; out vec4 o; @@ -268,9 +268,9 @@ ã/¸Äyf"Ÿ5TàyÊ0îEê²Þ—€m6ëÞè6ðÏâ§9ž¬„k=}¼àt<ž‚¦Mdžç6"p_î3, oO3p"pw÷´/(1ñøs.íA/&ÏUÃ_X™ÍpÕ1hÌ80E’Qö„ ow÷!x.™AÜ"¢j+惡¦¶®ä“R–ow÷!xꔊpn…â#ðù z AÍp\Ž0N˜HJê´ªØ^U -I€wu¸öôú!3å6³‹âVq£³¹´RN£%y10º:pŠ#\:J:b9Hµ7h_Ž:¢I9 _¼™µV,þ <`});var E={a:v};this.setModule=t=>{e.setModule(bi,t)},this.getModule=()=>e.getModule(bi),this.instantiate=()=>(this.getModule().then(e=>WebAssembly.instantiate(e,E)).then(e=>{let t=e.exports;y(t),a=t.g,o(),T(t),n()}),this.ready=new Promise(e=>{n=e}).then(()=>{this.HEAP=a.buffer,this.malloc=x,this.free=C,this.opus_frame_decoder_create=b,this.opus_frame_decode_float_deinterleaved=S,this.opus_frame_decoder_destroy=ee}),this)}var xi=o((()=>{}));function Si(e={}){Si.errors||Object.defineProperties(Si,{errors:{value:new Map([[-1,`OPUS_BAD_ARG: One or more invalid/out of range arguments`],[-2,`OPUS_BUFFER_TOO_SMALL: Not enough bytes allocated in the buffer`],[-3,`OPUS_INTERNAL_ERROR: An internal error was detected`],[-4,`OPUS_INVALID_PACKET: The compressed data passed is corrupted`],[-5,`OPUS_UNIMPLEMENTED: Invalid/unsupported request number`],[-6,`OPUS_INVALID_STATE: An encoder or decoder structure is invalid or already freed`],[-7,`OPUS_ALLOC_FAIL: Memory allocation has failed`]])}}),this._init=()=>new this._WASMAudioDecoderCommon(this).instantiate(this._EmscriptenWASM,this._module).then(e=>{this._common=e,this._inputBytes=0,this._outputSamples=0,this._frameNumber=0,this._input=this._common.allocateTypedArray(this._inputSize,Uint8Array),this._output=this._common.allocateTypedArray(this._outputChannels*this._outputChannelSize,Float32Array);let t=this._common.allocateTypedArray(this._channels,Uint8Array);t.buf.set(this._channelMappingTable),this._decoder=this._common.wasm.opus_frame_decoder_create(this._sampleRate,this._channels,this._streamCount,this._coupledStreamCount,t.ptr,this._preSkip,this._forceStereo)}),Object.defineProperty(this,"ready",{enumerable:!0,get:()=>this._ready}),this.reset=()=>(this.free(),this._init()),this.free=()=>{this._common.free(),this._common.wasm.opus_frame_decoder_destroy(this._decoder),this._common.wasm.free(this._decoder)},this._decode=e=>{if(!(e instanceof Uint8Array))throw Error(`Data to decode must be Uint8Array. Instead got `+typeof e);this._input.buf.set(e);let t=this._common.wasm.opus_frame_decode_float_deinterleaved(this._decoder,this._input.ptr,e.length,this._output.ptr),n;return t<0&&(n=`libopus `+t+` `+(Si.errors.get(t)||`Unknown Error`),console.error(n),t=0),{outputBuffer:this._common.getOutputChannels(this._output.buf,this._outputChannels,t),samplesDecoded:t,error:n}},this.decodeFrame=e=>{let t=[],n=this._decode(e);return n.error&&this._common.addError(t,n.error,e.length,this._frameNumber,this._inputBytes,this._outputSamples),this._frameNumber++,this._inputBytes+=e.length,this._outputSamples+=n.samplesDecoded,this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(t,[n.outputBuffer],this._outputChannels,n.samplesDecoded,this._sampleRate)},this.decodeFrames=e=>{let t=[],n=[],r=0,i=0;for(;itypeof e==`number`,n=e.sampleRate,r=e.channels,i=e.streamCount,a=e.coupledStreamCount,o=e.channelMappingTable,s=e.preSkip,c=+!!e.forceStereo;if(r>2&&(!t(i)||!t(a)||!Array.isArray(o)))throw Error(`Invalid Opus Decoder Options for multichannel decoding.`);return this._sampleRate=[8e3,12e3,16e3,24e3,48e3].includes(n)?n:48e3,this._channels=t(r)?r:2,this._streamCount=t(i)?i:1,this._coupledStreamCount=t(a)?a:this._channels-1,this._channelMappingTable=o||(this._channels===2?[0,1]:[0]),this._preSkip=s||0,this._forceStereo=r<=8&&r!=2?c:0,this._inputSize=3840*this._channels,this._outputChannelSize=5760,this._outputChannels=this._forceStereo?2:this._channels,this._ready=this._init(),this}var Ci=o((()=>{yi(),xi()})),wi,Ti=o((()=>{yi(),xi(),Ci(),wi=class extends hi{constructor(e){super(e,`opus-decoder`,Si,bi)}async decodeFrame(e){return this.postToDecoder(`decodeFrame`,e)}async decodeFrames(e){return this.postToDecoder(`decodeFrames`,e)}}})),Ei=c({OpusDecoder:()=>Si,OpusDecoderWebWorker:()=>wi}),Di=o((()=>{Ci(),Ti(),yi(),_i(Si,`OpusDecoder`),_i(wi,`OpusDecoderWebWorker`)})),Oi=[8e3,12e3,16e3,24e3,48e3],ki=null;function Ai(){return ki??=Xn(()=>Promise.resolve().then(()=>(Di(),Ei)),__VITE_PRELOAD__,import.meta.url).catch(e=>{throw ki=null,e}),ki}function ji(){return typeof WebAssembly==`object`&&typeof WebAssembly.instantiate==`function`}function Mi(e,t,n,r){return{numberOfFrames:t,numberOfChannels:e.length,sampleRate:n,timestamp:r,format:`f32-planar`,duration:Math.round(t/n*1e6),copyTo(n,r){n.set(e[r.planeIndex].subarray(0,t))},close(){}}}var Ni=class{constructor(e,t=Ai){this.init=e,this.load=t,this.state=`unconfigured`,this.dec=null,this.pending=[]}configure(e){if(this.state===`closed`)throw Error(`the decoder is closed`);if(!ji())throw Error(`no WebAssembly here`);let t=e.sampleRate;if(!Oi.includes(t))throw Error(`Opus does not decode at ${t} Hz`);let n=e.numberOfChannels;if(n<1||n>2)throw Error(`${n} channels: only mono and stereo are decoded`);this.state=`configured`,this.load().then(async e=>{if(this.state===`closed`)return;let r=new e.OpusDecoder({channels:n,sampleRate:t});if(await r.ready,this.state!==`configured`){r.free();return}this.dec=r;let i=this.pending;this.pending=[];for(let e of i)this.state===`configured`&&this.run(e)}).catch(e=>this.fail(e))}decode(e){if(this.state!==`configured`)return;let t=e;if(this.dec)return this.run(t);this.pending.push({timestamp:t.timestamp,data:t.data.slice()}),this.pending.length>50&&this.pending.shift()}run(e){let t=this.dec;if(!t)return;let n;try{n=t.decodeFrame(e.data)}catch(e){return this.fail(e)}n.samplesDecoded&&n.channelData.length&&this.init.output(Mi(n.channelData,n.samplesDecoded,n.sampleRate,e.timestamp))}fail(e){if(this.state===`closed`)return;this.close();let t=e instanceof Error?e:Error(String(e));queueMicrotask(()=>this.init.error(t))}close(){this.state=`closed`,this.pending=[];let e=this.dec;this.dec=null;try{e?.free()}catch{}}},Pi={makeDecoder:e=>new Ni(e),makeChunk:e=>({type:e.type,timestamp:e.timestamp,data:e.data instanceof Uint8Array?e.data:new Uint8Array(e.data)})};function Fi(e,t){for(let n=0;n+3>1&63;if(t>=16&&t<=21)return!0;if(t<16)return!1}else{let t=e[n+3]&31;if(t===5)return!0;if(t===1)return!1}}return!1}function Ii(e){for(let t=0;t+6e.toString(16).padStart(2,`0`);return`avc1.${n(e[t+4])}${n(e[t+5])}${n(e[t+6])}`}return`avc1.4d4028`}var Li=[`hev1.1.6.L153.B0`,`hvc1.1.6.L153.B0`,`hev1.2.4.L153.B0`,`hvc1.2.4.L153.B0`,`hev1.1.6.L150.90`];async function Ri(e,t){if(typeof VideoDecoder>`u`)return null;for(let n of Li)try{if((await VideoDecoder.isConfigSupported({codec:n,codedWidth:e,codedHeight:t})).supported)return n}catch{}return null}function zi(e){let t=[];for(let n=0;n+2{let i=r+1n&&e[i-1]===0;)i--;return e.subarray(n,i)}).filter(e=>e.length>0)}var Bi=(e,t)=>t?e[0]>>1&63:e[0]&31;function Vi(e,...t){let n=8+t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);new DataView(r.buffer).setUint32(0,n);for(let t=0;t<4;t++)r[4+t]=e.charCodeAt(t);let i=8;for(let e of t)r.set(e,i),i+=e.length;return r}function F(...e){let t=new Uint8Array(e.reduce((e,[,t])=>e+t,0)),n=0;for(let[r,i]of e){for(let e=i-1;e>=0;e--)t[n+i-1-e]=Math.floor(r/2**(8*e))&255;n+=i}return t}var Hi=(e,t,n,...r)=>Vi(e,F([t,1],[n,3]),...r),Ui=F([65536,4],[0,4],[0,4],[0,4],[65536,4],[0,4],[0,4],[0,4],[1073741824,4]);function Wi(e){let t=e.handler===`vide`,n=Vi(`ftyp`,new TextEncoder().encode(`isom`),F([1,4]),new TextEncoder().encode(`isomiso6mp41`)),r=Vi(`moov`,Hi(`mvhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[65536,4],[256,2],[0,2],[0,4],[0,4]),Ui,new Uint8Array(24),F([2,4])),Vi(`trak`,Hi(`tkhd`,0,3,F([0,4],[0,4],[1,4],[0,4],[0,4],[0,4],[0,4],[0,2],[0,2],[t?0:256,2],[0,2]),Ui,F([(e.width??0)*65536,4],[(e.height??0)*65536,4])),Vi(`mdia`,Hi(`mdhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[21956,2],[0,2])),Hi(`hdlr`,0,0,F([0,4]),new TextEncoder().encode(e.handler),new Uint8Array(12),F([0,1])),Vi(`minf`,t?Hi(`vmhd`,0,1,new Uint8Array(8)):Hi(`smhd`,0,0,F([0,4])),Vi(`dinf`,Hi(`dref`,0,0,F([1,4]),Hi(`url `,0,1))),Vi(`stbl`,Hi(`stsd`,0,0,F([1,4]),e.sampleEntry),Hi(`stts`,0,0,F([0,4])),Hi(`stsc`,0,0,F([0,4])),Hi(`stsz`,0,0,F([0,4],[0,4])),Hi(`stco`,0,0,F([0,4])))))),Vi(`mvex`,Hi(`trex`,0,0,F([1,4],[1,4],[0,4],[0,4],[0,4])))),i=new Uint8Array(n.length+r.length);return i.set(n,0),i.set(r,n.length),i}function Gi(e,t,n,r,i){let a=i?33554432:16842752,o=e=>Hi(`trun`,0,1793,F([1,4],[e,4],[n,4],[r.length,4],[a,4])),s=e=>Vi(`traf`,Hi(`tfhd`,0,131072,F([1,4])),Hi(`tfdt`,1,0,F([t,8])),o(e)),c=Hi(`mfhd`,0,0,F([e,4])),l=Vi(`moof`,c,s(0)).length,u=Vi(`moof`,c,s(l+8)),d=Vi(`mdat`,r),f=new Uint8Array(u.length+d.length);return f.set(u,0),f.set(d,u.length),f}function Ki(e,t,n=!1){let r=t?[35,...n?[32,33,34]:[]]:[9,...n?[7,8]:[]],i=zi(e).filter(e=>!r.includes(Bi(e,t))),a=new Uint8Array(i.reduce((e,t)=>e+4+t.length,0)),o=new DataView(a.buffer),s=0;for(let e of i)o.setUint32(s,e.length),a.set(e,s+4),s+=4+e.length;return a}var qi=e=>e.toString(16).padStart(2,`0`),Ji=e=>{let t=new Uint8Array(2+e.length);return t[0]=e.length>>8,t[1]=e.length&255,t.set(e,2),t},Yi=e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t};function Xi(e){let t=zi(e),n=t.filter(e=>Bi(e,!1)===7),r=t.filter(e=>Bi(e,!1)===8);return!n.length||!r.length||n[0].length<4?null:Yi([F([1,1],[n[0][1],1],[n[0][2],1],[n[0][3],1],[255,1],[224|n.length,1]),...n.map(Ji),F([r.length,1]),...r.map(Ji)])}function Zi(e,t,n){let r=zi(e),i=e=>r.filter(n=>Bi(n,t)===e),a=(e,t)=>Vi(e,new Uint8Array(6),F([1,2],[0,16],[n.w,2],[n.h,2],[4718592,4],[4718592,4],[0,4],[1,2]),new Uint8Array(32),F([24,2],[65535,2]),t);if(!t){let t=i(7),r=Xi(e);return r?{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`avc1`,Vi(`avcC`,r)),width:n.w,height:n.h}),mime:`video/mp4; codecs="avc1.${qi(t[0][1])}${qi(t[0][2])}${qi(t[0][3])}"`}:null}let o=i(32),s=i(33),c=i(34);if(!o.length||!s.length||!c.length)return null;let l=Xr(s[0]);if(l.length<15)return null;let u=l.subarray(3,15),d=u[0]&31,f=d===2?2:0,p=(e,t)=>Yi([F([128|e,1],[t.length,2]),...t.map(Ji)]),m=Vi(`hvcC`,F([1,1]),u,F([61440,2],[252,1],[253,1],[248|f,1],[248|f,1],[0,2],[15,1],[3,1]),p(32,o),p(33,s),p(34,c)),h=[``,`A`,`B`,`C`][u[0]>>6],g=0,_=(u[1]<<24|u[2]<<16|u[3]<<8|u[4])>>>0;for(let e=0;e<32;e++)_&1<>>0).toString(16),`${u[0]&32?`H`:`L`}${u[11]}`,...v.map(e=>e.toString(16))].join(`.`);return{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`hvc1`,m),width:n.w,height:n.h}),mime:`video/mp4; codecs="${y}"`}}function Qi(e,t,n,r,i,a){return Gi(e,t,n,Ki(r,i),a)}function $i(e,t){let n=Vi(`dOps`,F([0,1],[e,1],[312,2],[t,4],[0,2],[0,1]));return Wi({handler:`soun`,timescale:48e3,sampleEntry:Vi(`Opus`,new Uint8Array(6),F([1,2],[0,8],[e,2],[16,2],[0,4],[3145728e3,4]),n)})}function ea(e){if(!e.length)return 960;let t=e[0]>>3,n=t<12?[480,960,1920,2880][t%4]:t<16?[480,960][t%2]:[120,240,480,960][t%4],r=e[0]&3,i=r===0?1:r===3?(e[1]??1)&63:2;return n*Math.max(1,i)}function ta(e,t,n){return Gi(e,t,ea(n),n,!0)}var na={watch:30,player:4},ra={watch:{seek:.5,speed:1/0,target:.05},player:{seek:.15,speed:.06,target:.02}},ia={seek:.8,speed:.25,target:.12};function aa(e,t,n){let r=typeof n==`string`?ra[n]:n;return e>r.seek?{seekTo:t-r.target,rate:1}:e>r.speed?{seekTo:null,rate:1.1}:{seekTo:null,rate:1}}function oa(e,t=`watch`,n){return typeof VideoDecoder<`u`?new ha(e,t,n):new ka(e,t,n)}var sa=class{constructor(e,t=()=>performance.now()){this.ask=e,this.now=t,this.last=-1/0}waiting(){if(!this.ask)return;let e=this.now();e-this.last<1e3||(this.last=e,this.ask())}};function I(e){return e.length<3?null:{index:e[0]<<8|e[1],packet:e.subarray(2)}}var L=class{constructor(){this.last=-1}take(e){if(this.last>=0){let t=e-this.last&65535;if(t===0||t>=32768)return!1}return this.last=e,!0}reset(){this.last=-1}};function ca(e){if(e.length>=10)return e;let t=new Uint8Array(10);t.set(e.subarray(0,6));let n=new DataView(t.buffer);return n.setUint32(6,Math.round(n.getUint32(2)/100)||480),t}function la(e,t){return{snd:e,snd_decoded:t.decoded,snd_concealed:t.concealed,snd_underruns:t.underruns,snd_dropped:t.dropped}}var ua=class{constructor(e,t=.2){this.min=e,this.max=t,this.next=0,this.calmSince=0,this.minLead=1/0,this.windowAt=0,this.underruns=0,this.dropped=0,this.cushion=e}at(e,t){this.next0&&(this.underruns++,this.cushion=Math.min(this.max,this.cushion+.02)),this.calmSince=e,this.next=e+this.cushion,this.minLead=1/0,this.windowAt=e):e-this.calmSince>10&&this.cushion>this.min&&(this.cushion=Math.max(this.min,this.cushion-.01),this.calmSince=e);let n=this.next-e;if(n>this.cushion+.15)return this.dropped++,null;if(this.minLead=Math.min(this.minLead,n),e-this.windowAt>=.25){let t=this.minLead>this.cushion+da;if(this.minLead=1/0,this.windowAt=e,t)return this.dropped++,null}let r=this.next;return this.next+=t,r}reset(){this.next=0}},da=.02;async function fa(e,t){try{return typeof AudioDecoder>`u`?!1:!!(await AudioDecoder.isConfigSupported({codec:`opus`,sampleRate:e,numberOfChannels:t})).supported}catch{return!1}}var pa=class{constructor(e,t=()=>performance.now()){this.decoder=e,this.now=t,this.n={frames:0,dropped:0,late:0,stalls:0,stall_ms:0,worst_stall_ms:0,key_waits:0},this.a=0,this.d=0,this.w=!1,this.q=[],this.sum=0,this.cnt=0,this.codec=``}get frames(){return this.n.frames}arrived(){let e=this.now();this.a&&e-this.a>50&&this.n.late++,this.a=e}drop(){this.n.dropped++,this.w||this.n.key_waits++,this.w=!0}decoding(){this.w=!1,this.q.push(this.now())>64&&this.q.shift()}drawn(e=!1){let t=this.now(),n=e?this.q.shift():void 0;n!==void 0&&(this.sum+=t-n,this.cnt++);let r=this.d?t-this.d:0;r>100&&this.stall(r),this.d=t,this.n.frames++}stall(e){this.n.stalls++,this.n.stall_ms+=e,this.n.worst_stall_ms=Math.max(this.n.worst_stall_ms,e)}snapshot(){let e=this.d?this.now()-this.d:0,t={...this.n,decoder:this.decoder};this.codec&&(t.codec=this.codec),e>100&&(t.stalls=this.n.stalls+1,t.stall_ms=this.n.stall_ms+e,t.worst_stall_ms=Math.max(this.n.worst_stall_ms,e));for(let e of[`stall_ms`,`worst_stall_ms`])t[e]=Math.round(t[e]);return t.decode_ms=this.cnt?Math.round(this.sum/this.cnt*10)/10:0,this.sum=this.cnt=0,t}},ma=[`pointerup`,`touchend`,`click`,`keydown`],ha=class{get element(){if(!this.wrap){let e=document.createElement(`div`);e.className=`h-full w-full`,e.append(this.canvas),this.mse&&e.append(this.mse.element),this.wrap=e}return this.wrap}get stats(){return this.mse?.stats??this.ownStats}soundReport(){return this.soundOn?this.mseSound?this.mseSound.report():la(this.soundWasm?`wasm`:`webcodecs`,this.soundStats):null}constructor(e,t=`watch`,n){this.onProblem=e,this.latency=t,this.onNeedKey=n,this.canvas=document.createElement(`canvas`),this.wrap=null,this.mse=null,this.failsNoPicture=0,this.ctx=this.canvas.getContext(`2d`,{alpha:!1}),this.hevc=!1,this.header=null,this.spsRect=null,this.software=!1,this.video=null,this.opening=!1,this.stopped=!1,this.sawKey=!1,this.ownStats=new pa(`webcodecs`),this.problemShown=!1,this.ts=0,this.pipe=null,this.audioGen=0,this.actx=null,this.soundOn=!1,this.unarm=null,this.mseSound=null,this.audioHeader=null,this.soundWasm=!1,this.onSoundFail=null,this.muted=!1,this.keyAsk=new sa(n),this.clock=new ua(t===`player`?.05:.08),typeof AudioDecoder>`u`&&va()&&(this.mseSound=new ya(t,()=>this.mseSoundFailed())),this.canvas.className=`block h-full w-full object-contain`,this.canvas.dataset.testid=`watch-canvas`}setHevc(e){this.hevc=e,this.header&&(this.spsRect=ni(this.header,e)),this.mse?.setHevc(e)}get onMse(){return!!this.mse}decodeFailed(){if(this.mse||this.ownStats.frames>0||++this.failsNoPicture<3||!xa())return!1;let e=new ka(this.onProblem,this.latency,this.onNeedKey);e.setHevc(this.hevc),e.markProblemShown(),this.mse=e;let t=this.video;this.video=null;try{t?.close()}catch{}return this.canvas.style&&(this.canvas.style.display=`none`),this.wrap?.append(e.element),this.header&&e.onMessage(new Uint8Array([0,...this.header]).buffer),this.onNeedKey?.(),!0}startSound(){this.soundOn=!0,ga(),this.mseSound?this.mseSound.start():this.openContext()}openContext(){try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{})}catch{this.onSoundFail?.()}}get sound(){return this.soundOn}setMuted(e){this.muted=e,this.mseSound?.setMuted(e)}resumeSound(){if(!this.soundOn)return;if(this.mseSound)return this.mseSound.resume();let e=this.actx;e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}get soundStats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped,cushionMs:Math.round(this.clock.cushion*1e3)}}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}onMessage(e){let t=new Uint8Array(e);if(t.length<1||this.stopped)return;let n=t[0],r=t.subarray(1);if(this.mse&&(n===0||n===1))return n===0&&(this.header=r.slice()),this.mse.onMessage(e);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?this.openAudio(r.slice()):n===4&&this.onAudio(r)}async openVideo(e){if(this.header=e,this.spsRect=ni(e,this.hevc),!this.opening){this.opening=!0;try{let t=this.hevc?await Aa(e):Ii(e);if(this.mse||this.stopped)return;if(!t){this.problemShown=!0,this.onProblem(`no_hevc`);return}this.ownStats.codec=t;let n=this.hevc?void 0:Xi(e)??void 0;try{this.video?.close()}catch{}let r=new VideoDecoder({output:e=>{let t=this.realVisible(e),n=this.canvas;(n.width!==t.displayWidth||n.height!==t.displayHeight)&&(n.width=t.displayWidth,n.height=t.displayHeight),this.ctx?.drawImage(t,0,0,n.width,n.height),this.ownStats.drawn(!0),t.close(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))},error:()=>{this.video===r&&(this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()||this.rebuild())}}),i={codec:t,optimizeForLatency:!0};n&&(i.description=n),this.software&&(i.hardwareAcceleration=`prefer-software`),r.configure(i),this.video=r,this.sawKey=!1}catch{this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()}finally{this.opening=!1}}}realVisible(e){let t=this.spsRect,n=ri(e,t);if(n)try{let t=new VideoFrame(e,{visibleRect:{x:n.x,y:n.y,width:n.w,height:n.h},displayWidth:n.w,displayHeight:n.h});return e.close(),t}catch{return e}let r=e.visibleRect;if(t&&r&&!this.software&&(r.width{if(this.video===e){try{e?.close()}catch{}this.rebuild(),this.onNeedKey?.()}})}return e}rebuild(){this.mse||this.stopped||(this.video=null,this.sawKey=!1,this.header&&this.openVideo(this.header).then(()=>this.keyAsk.waiting()))}onVideo(e){let t=this.video;if(t?.state===`closed`){this.opening||this.rebuild();return}if(!t||t.state!==`configured`)return;let n=Fi(e,this.hevc);if(this.ownStats.arrived(),!this.sawKey&&!n)return this.ownStats.drop(),this.keyAsk.waiting();if(!n&&t.decodeQueueSize>na[this.latency])return this.sawKey=!1,this.ownStats.drop(),this.keyAsk.waiting();this.sawKey=!0;let r=e;this.hevc?n&&this.header&&(r=new Uint8Array(this.header.length+e.length),r.set(this.header,0),r.set(e,this.header.length)):r=Ki(e,!1,!0),this.ts+=16667,this.ownStats.decoding(),t.decode(new EncodedVideoChunk({type:n?`key`:`delta`,timestamp:this.ts,data:r}))}openAudio(e){if(e.length<6)return;let t=++this.audioGen;if(this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.audioHeader=e,this.mseSound)return this.mseSound.setHeader(e);let n=e[0];fa(new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2),n).then(n=>{if(t!==this.audioGen)return;if(!n)return va()?this.soundThroughMse(e):this.soundThroughWasm(e);let r=new si((e,t)=>this.play(e,t,r.sampleRate));try{r.header(ca(e)),this.pipe=r}catch{this.soundThroughMse(e)}})}soundThroughMse(e){this.pipe=null,this.mseSound||(this.mseSound=new ya(this.latency,()=>this.mseSoundFailed()),this.soundOn&&this.mseSound.start()),this.mseSound.setHeader(e)}soundThroughWasm(e){this.pipe?.reset(),this.soundWasm=!0;let t=new si((e,n)=>this.play(e,n,t.sampleRate),Pi,()=>{this.pipe===t&&(this.pipe=null),this.onSoundFail?.()});this.pipe=t,t.header(ca(e))}mseSoundFailed(){let e=this.mseSound;e&&(this.mseSound=null,e.stop(),this.soundOn&&(this.openContext(),this.actx&&this.actx.state!==`running`&&this.armResume()),this.audioHeader&&this.soundThroughWasm(this.audioHeader))}onAudio(e){if(this.mseSound)return this.mseSound.frame(e);this.soundOn&&this.pipe&&this.pipe.packet(e)}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a)}stop(){this.stopped=!0;try{this.video?.close()}catch{}this.mse?.stop(),this.audioGen++,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.mseSound?.stop()}};function ga(){try{let e=navigator.audioSession;e&&e.type!==`playback`&&(e.type=`playback`)}catch{}}function _a(e,t){try{return e.isTypeSupported(t)}catch{return!1}}function va(){let e=typeof window>`u`?null:xa();return!!e&&(_a(e,`audio/mp4; codecs="Opus"`)||_a(e,`audio/mp4; codecs="opus"`))}var ya=class{constructor(e,t,n=document.createElement(`audio`)){this.onFail=t,this.header=null,this.time=0,this.on=!1,this.failed=!1,this.order=new L,this.el=n,this.track=new Ta(n,()=>this.fail(),e===`player`?ia:e)}get playing(){return this.on&&!this.failed}report(){return{snd:`mse`,snd_jumps:this.track.seeks}}setHeader(e){this.header=e,this.on&&this.open()}start(){if(!this.on&&(this.on=!0,this.header&&this.open(),!this.failed))try{this.el.play()?.catch?.(()=>{})}catch{}}frame(e){if(!this.on||this.failed||!this.track.ready&&!this.track.backlog)return;let t=I(e);if(!t||!this.order.take(t.index))return;let n=ta(this.track.nextSeq(),this.time,t.packet);this.time+=ea(t.packet),this.track.push(n)}setMuted(e){this.el.muted=e}resume(){if(this.playing&&this.el.paused)try{this.el.play()?.catch?.(()=>{})}catch{}}stop(){this.on=!1,this.track.close()}open(){let e=this.header;if(!e||e.length<6||this.failed)return;let t=e[0],n=$i(t,new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2));this.track.open(`audio/mp4; codecs="Opus"`,n)||this.track.open(`audio/mp4; codecs="opus"`,n)?(this.time=0,this.order.reset()):this.fail()}fail(){this.failed||(this.failed=!0,this.onFail())}},ba=class{constructor(e,t,n=Pi){this.onFail=t,this.codecs=n,this.actx=null,this.pipe=null,this.header=null,this.on=!1,this.failed=!1,this.muted=!1,this.unarm=null,this.played=!1,this.clock=new ua(e===`player`?.05:.08)}get playing(){return this.on&&!this.failed}get stats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped}}start(){if(!this.failed){this.on=!0,ga();try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{}),this.actx.state!==`running`&&this.armResume()}catch{return this.fail()}this.header&&!this.pipe&&this.open()}}setHeader(e){e.length<6||(this.header=e,this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.on&&this.open())}frame(e){this.on&&!this.failed&&this.pipe?.packet(e)}setMuted(e){this.muted=e}resume(){let e=this.actx;this.playing&&e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}stop(){this.on=!1,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.actx=null}open(){let e=this.header;if(!e||this.failed)return;let t=new si((e,n)=>this.play(e,n,t.sampleRate),this.codecs,()=>{this.pipe===t&&this.fail()});this.pipe=t,t.header(ca(e))}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a),this.played=!0}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}fail(){this.failed||(this.failed=!0,this.stop(),this.onFail())}};function xa(){let e=window;return e.ManagedMediaSource??e.MediaSource??null}var Sa=10,Ca=3;function wa(e,t,n,r=Ca){let i=null;for(let a of e)a>t&&a<=n-r&&(i=a);return i}var Ta=class{constructor(e,t,n=`watch`,r,i=()=>performance.now()){this.el=e,this.onError=t,this.latency=n,this.onNeedKey=r,this.now=i,this.ms=null,this.sb=null,this.queue=[],this.mime=``,this.seq=1,this.ready=!1,this.dropped=!1,this.keys=null,this.seeks=0,this.maxLagS=0,this.fromZero=0,this.trims=0,this.lastJump=null,this.trimAt=-1,this.trimFrom=-1,this.keyAt=-1,this.attached=null,r&&(this.keys=[])}setEdge(e){this.latency=e}markKey(e){this.keys?.push(e),this.keyAt=this.now()}open(e,t){let n=xa();if(!n||!_a(n,e))return!1;this.close();let r=new n;return this.ms=r,this.mime=e,this.queue=[t],this.seq=1,this.ready=!1,this.keys&&=[],r.addEventListener(`sourceopen`,()=>{if(this.ms===r)try{let e=r.addSourceBuffer(this.mime);e.mode=`segments`,e.addEventListener(`updateend`,()=>this.pump()),e.addEventListener(`error`,()=>this.onError()),this.sb=e,this.ready=!0,this.pump()}catch{this.onError()}}),`ManagedMediaSource`in window&&n===window.ManagedMediaSource&&(this.el.disableRemotePlayback=!0),this.attached=Ea(this.el,r),!0}nextSeq(){return this.seq++}get backlog(){return this.queue.length}push(e){this.queue.push(e),this.pump()}pump(){let e=this.sb;if(!e||e.updating||!this.ready)return;let t=this.el;if(e.buffered.length){let n=e.buffered.end(e.buffered.length-1),r=e.buffered.start(0),i=n-t.currentTime,a=aa(i,n,this.latency);if(a.seekTo!==null){this.seeks++,this.maxLagS=Math.max(this.maxLagS,i);let o=this.now(),s=e=>e<0?-1:Math.round(o-e);t.currentTime<.05&&r>1&&this.fromZero++,this.lastJump={at:t.currentTime,start:r,end:n,ranges:e.buffered.length,readyState:t.readyState,paused:t.paused,seeking:t.seeking,sinceTrimMs:s(this.trimAt),trimFrom:this.trimFrom,sinceKeyMs:s(this.keyAt)},t.currentTime=Math.max(r,a.seekTo)}if(t.playbackRate!==a.rate&&(t.playbackRate=a.rate),t.currentTime-r>Sa&&this.trim(e,r))return}let n=this.queue.shift();if(n){try{e.appendBuffer(n)}catch{this.dropped=!0}t.paused&&t.play().catch(()=>{})}}trim(e,t){let n=this.el.currentTime,r=n-Ca;if(this.keys){if(r=wa(this.keys,t,n),r===null)return(this.keys[this.keys.length-1]??-1/0)<=n-Ca&&this.onNeedKey?.(),!1;let e=r;this.keys=this.keys.filter(t=>t>=e),r-=.001}try{return e.remove(t,r),this.trims++,this.trimAt=this.now(),this.trimFrom=n,!0}catch{return!1}}close(){this.ready=!1,this.sb=null,this.queue=[];let e=this.ms;if(this.ms=null,e&&e.readyState===`open`)try{e.endOfStream()}catch{}if(this.attached===`object`)try{this.el.srcObject=null}catch{}this.attached=null,this.el.src?.startsWith(`blob:`)&&URL.revokeObjectURL(this.el.src),this.el.removeAttribute(`src`)}};function Ea(e,t){if(`srcObject`in e)try{return e.srcObject=t,`object`}catch{}return e.src=URL.createObjectURL(t),`url`}var Da=1e4,Oa=class{constructor(e=3,t=Da,n=()=>performance.now()){this.max=e,this.windowMs=t,this.now=n,this.at=[]}fail(){let e=this.now();return this.at=this.at.filter(t=>e-t=this.max}clear(){this.at=[]}},ka=class{constructor(e,t=`watch`,n,r){this.onProblem=e,this.latency=t,this.wasm=null,this.audioHeader=null,this.muted=!1,this.gaveUp=!1,this.reopening=!1,this.failedWhileOpening=!1,this.wrap=document.createElement(`div`),this.hevc=!1,this.header=null,this.sawKey=!1,this.stats=new pa(`mse`),this.problemShown=!1,this.vTime=0,this.vLast=0,this.soundOn=!1,this.onSoundFail=null,this.onGiveUp=null,this.keyAsk=new sa(n),this.fails=new Oa(3,Da,r);let i=document.createElement(`video`);i.muted=!0,i.autoplay=!0,i.playsInline=!0,i.className=`block h-full w-full object-contain`,i.dataset.testid=`watch-video`,this.audio=new ya(t,()=>this.soundThroughWasm()),this.wrap.className=`h-full w-full`,this.wrap.append(i,this.audio.el),this.video=new Ta(i,()=>this.showProblem(),t,()=>this.keyAsk.waiting()),i.addEventListener(`error`,()=>this.restartVideo()),i.addEventListener(`playing`,()=>{this.fails.clear(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))})}markProblemShown(){this.problemShown=!0}showProblem(){this.problemShown||(this.problemShown=!0,this.onProblem(`decode`))}restartVideo(){if(this.gaveUp)return;if(this.reopening){this.failedWhileOpening=!0;return}if(this.showProblem(),this.fails.fail()){this.gaveUp=!0,this.video.close(),this.onGiveUp?.();return}let e=this.header;if(e){this.header=null,this.reopening=!0,this.failedWhileOpening=!1;try{this.openVideo(e)}finally{this.reopening=!1}this.sawKey=!1,this.keyAsk.waiting(),this.failedWhileOpening&&(this.failedWhileOpening=!1,this.restartVideo())}}get failed(){return this.gaveUp}setVideoEdge(e){this.video.setEdge(e)}get videoSeeks(){return{seeks:this.video.seeks,maxLagMs:Math.round(this.video.maxLagS*1e3),fromZero:this.video.fromZero,trims:this.video.trims,lastJump:this.video.lastJump}}get element(){return this.wrap}resume(){let e=this.video.el;e.paused&&e.play()?.catch?.(()=>{})}setHevc(e){this.hevc=e}startSound(){if(this.soundOn=!0,this.wasm)return this.wasm.start();if(!va())return this.soundThroughWasm();this.audio.start()}soundThroughWasm(){if(this.wasm)return;this.audio.stop();let e=new ba(this.latency,()=>this.onSoundFail?.());this.wasm=e,e.setMuted(this.muted),this.audioHeader&&e.setHeader(this.audioHeader),this.soundOn&&e.start()}resumeSound(){this.soundOn&&(this.wasm?this.wasm.resume():this.audio.resume())}setMuted(e){this.muted=e,this.audio.setMuted(e),this.wasm?.setMuted(e)}soundReport(){return this.soundOn?this.wasm?la(`wasm`,this.wasm.stats):this.audio.report():null}get soundPlaying(){return this.wasm?this.wasm.played:this.audio.playing}get sound(){return this.soundOn}onMessage(e){let t=new Uint8Array(e);if(t.length<1)return;let n=t[0],r=t.subarray(1);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?(this.audioHeader=r.slice(),(this.wasm??this.audio).setHeader(this.audioHeader)):n===4&&(this.wasm??this.audio).frame(r)}openVideo(e){let t=!!this.header&&this.header.length===e.length&&this.header.every((t,n)=>t===e[n]);if(t&&this.video.ready)return;if(this.gaveUp){if(t)return;this.gaveUp=!1,this.fails.clear()}this.header=e;let n=ni(e,this.hevc)??{w:1920,h:1080},r=Zi(e,this.hevc,n);r&&(this.stats.codec=/codecs="([^"]+)"/.exec(r.mime)?.[1]??``,this.video.open(r.mime,r.init)?(this.sawKey=!1,this.vTime=0,this.vLast=0):(this.problemShown=!0,this.onProblem(this.hevc?`no_hevc`:`decode`)))}onVideo(e){if(!this.video.ready&&!this.video.backlog)return;let t=Fi(e,this.hevc);if(this.video.dropped&&(this.video.dropped=!1,this.sawKey=!1),this.stats.arrived(),!this.sawKey&&!t)return this.stats.drop(),this.keyAsk.waiting();if(!t&&this.video.backlog>na[this.latency])return this.sawKey=!1,this.stats.drop(),this.keyAsk.waiting();this.sawKey=!0,this.stats.drawn();let n=performance.now(),r=this.vLast?Math.min(9e3,Math.max(750,Math.round((n-this.vLast)*90))):1500;this.vLast=n,t&&this.video.markKey(this.vTime/9e4),this.video.push(Qi(this.video.nextSeq(),this.vTime,r,e,this.hevc,t)),this.vTime+=r}stop(){this.video.close(),this.audio.stop(),this.wasm?.stop()}};async function Aa(e){let t=ii(e);if(t&&typeof VideoDecoder<`u`)try{if((await VideoDecoder.isConfigSupported({codec:t,codedWidth:1920,codedHeight:1080})).supported)return t}catch{}return Ri(1920,1080)}var R={CROSS:1,CIRCLE:2,SQUARE:4,TRIANGLE:8,LEFT:16,RIGHT:32,UP:64,DOWN:128,L1:256,R1:512,L3:1024,R3:2048,OPTIONS:4096,SHARE:8192,TOUCHPAD:16384,PS:32768},ja={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};function Ma(e,t){let n=e=>Math.max(0,Math.min(1,e));return[Math.round(n(e)*1919),Math.round(n(t)*941)]}var Na={ArrowUp:{button:R.UP},ArrowDown:{button:R.DOWN},ArrowLeft:{button:R.LEFT},ArrowRight:{button:R.RIGHT},Enter:{button:R.CROSS},Space:{button:R.CROSS},Backspace:{button:R.CIRCLE},Escape:{button:R.CIRCLE},KeyQ:{button:R.SQUARE},KeyE:{button:R.TRIANGLE},KeyZ:{button:R.L1},KeyC:{button:R.R1},Digit1:{trigger:`l2`},Digit3:{trigger:`r2`},KeyF:{button:R.L3},KeyG:{button:R.R3},Tab:{button:R.OPTIONS},Backquote:{button:R.SHARE},KeyH:{button:R.PS},KeyT:{button:R.TOUCHPAD},KeyW:{stick:`ly`,dir:-1},KeyS:{stick:`ly`,dir:1},KeyA:{stick:`lx`,dir:-1},KeyD:{stick:`lx`,dir:1},KeyI:{stick:`ry`,dir:-1},KeyK:{stick:`ry`,dir:1},KeyJ:{stick:`rx`,dir:-1},KeyL:{stick:`rx`,dir:1}};R.UP,R.DOWN,R.LEFT,R.RIGHT,R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD;var Pa=e=>Math.max(-32768,Math.min(32767,Math.round(e)));function Fa(e,t=Na){let n={...ja};for(let r of e){let e=t[r];e&&(`button`in e?n.buttons|=e.button:`stick`in e?n[e.stick]=Pa(n[e.stick]+e.dir*32767):n[e.trigger]=255)}return n}var Ia=[R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,0,0,R.SHARE,R.OPTIONS,R.L3,R.R3,R.UP,R.DOWN,R.LEFT,R.RIGHT,R.PS,R.TOUCHPAD];function La(e){return Math.abs(e)<=1.01?Math.round((e+1)*3.5)%8:null}var Ra=[0,1,1,1,0,-1,-1,-1],za=[-1,-1,0,1,1,1,0,-1];function Ba(e,t){let n=e.axes[t.a]??0;if(t.hat){let e=La(n);return e===null?0:(t.hat===`x`?Ra:za)[e]}return t.inv?-n:n}var Va={buttons:Ia.flatMap((e,t)=>e?[[e,{b:t}]]:[]),l2:{b:6},r2:{b:7},lx:{a:0},ly:{a:1},rx:{a:2},ry:{a:3}};function Ha(e,t,n=!1){if(`b`in t){let r=e.buttons[t.b];return r?n&&r.value>0?Math.min(1,r.value):Math.max(+!!r.pressed,r.value):0}if(`h`in t){let n=La(e.axes[t.h]??9);if(n===null)return 0;let r=(n-t.at+8)%8;return+(r===0||r===1||r===7)}let r=e.axes[t.a];if(r===void 0)return 0;let i=t.rest??0;return Math.min(1,Math.max(0,(r-i)/(t.d-i)))}function Ua(e){if(e.mapping===`standard`)return Va;let t=Wa.get(e.id);if(t)return t;let n=e.axes.findIndex(e=>Math.abs(e)>1.05);if(n<0)return Va;let r={...Va,buttons:[...Va.buttons,[R.UP,{h:n,at:0}],[R.RIGHT,{h:n,at:2}],[R.DOWN,{h:n,at:4}],[R.LEFT,{h:n,at:6}]]};return Wa.set(e.id,r),r}var Wa=new Map;function Ga(e,t=Ua){let n={...ja},r=e=>Math.abs(e)<.08?0:Pa(e*32767),i=(e,t)=>Math.abs(t)>Math.abs(e)?t:e,a=(e,t)=>t?r(Ba(e,t)):0;for(let r of e){if(!r||!r.connected)continue;let e=t(r);for(let[t,i]of e.buttons)Ha(r,i)>.5&&(n.buttons|=t);e.l2&&(n.l2=Math.max(n.l2,Math.round(Ha(r,e.l2,!0)*255))),e.r2&&(n.r2=Math.max(n.r2,Math.round(Ha(r,e.r2,!0)*255))),n.lx=i(n.lx,a(r,e.lx)),n.ly=i(n.ly,a(r,e.ly)),n.rx=i(n.rx,a(r,e.rx)),n.ry=i(n.ry,a(r,e.ry))}return n}function Ka(e,t){return{buttons:e.buttons|t.buttons,l2:Math.max(e.l2,t.l2),r2:Math.max(e.r2,t.r2),lx:Pa(e.lx+t.lx),ly:Pa(e.ly+t.ly),rx:Pa(e.rx+t.rx),ry:Pa(e.ry+t.ry),touch:e.touch??t.touch??null,motion:e.motion??t.motion??null}}function qa(e,t,n,r=()=>globalThis.navigator?.getGamepads?.()??[]){let i=e=>e?.vibrationActuator;for(let a of e.some(i)?e:r()){let e=i(a);e&&(t===0&&n===0?e.reset?.():e.playEffect?.(`dual-rumble`,{duration:1e3,strongMagnitude:t/255,weakMagnitude:n/255}))}}var Ja=new Map;function Ya(e,t){return{id:`${e.id} (app)`,index:3+e.slot,connected:!0,mapping:`standard`,timestamp:0,axes:e.axes,buttons:e.buttons.map(e=>({pressed:e>.5,touched:e>0,value:e})),vibrationActuator:t?.vibrationActuator??null,hapticActuators:t?.hapticActuators??[]}}function Xa(e){let t=e?.getGamepads?.()??[];return Ja.size===0||t.some(e=>!!e?.connected)?[...t]:[...Ja.values()].sort((e,t)=>e.slot-t.slot).map(e=>Ya(e))}var Za=`b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,,,,,,,a0,a1(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,,,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b3,b0,b1,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1(b1,b0,b2,b3,,b7,a3,a4,,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,b4,b5,,b9,,,b12,b14,b15,b13,,,a0,a1,a5~,a2~(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,,,b7,b5,b4,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b3,b4,b6,b5,b7,b2,b8,,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b9,b10,b2,b8,,,h0.1,h0.4,h0.8,h0.2,b5,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b5,b7,b2,,b8,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b12,b13,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b14,b13,b15,b12,b10,b11,b8,b9,b0,b3,b1,b2,b4,b6,b7,b5,b16,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,a2,a5,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,,,b8,b9,,,b12,b13,b15,b14,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,b11,b12,b13,b14,b15,b16,b10,,a0,a1,a2,a3(b0,b1,b3,b2,,b6,a2,a5,,b7,,,b8,b9,b10,b11,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,,,b8,b9,,,b10,b11,b12,b13,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,,,b13,b8,b10,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,,,b12,b9,b11,,,,,,,,hx,hy(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,b14,b15,b16,b17,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,,,,b2,,b4,,b5,,,h0.1,h0.4,h0.8,h0.2,b6(b0,b1,b2,b3,b12,b4,b13,b5,b14,b6,b15,b7,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b1,b3,b0,b2,b13,b5,b12,b4,,b6,,,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b33,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b16,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b15,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,,,,,b8,,a0,a1,a3,a4(b1,b0,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,,h0.1,h0.4,h0.8,h0.2,b12,b13(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b12,b13,b14,b15,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b14,b13,b14,b13,,,a0,a1,a3,a4(b1,b0,b2,b3,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b2,b3,b1,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b10(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,+a2,+a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,a2,a5,b6,b7,,,h0.1,h0.4,h0.8,h0.2,b8(b1,b2,,,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b21,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,b13,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,a5,a4,,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b7,b6,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b7,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a5,a4,b9,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b22,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a3,b6,b7,b9,,b12,b14,b15,b13,b8,,a0,a1(b3,b4,b5,b6,b7,b8,a9,a8,b11,b12,b14,b15,b16,b17,b18,b19,b13,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b7,b9,b6,b8,b10,b11,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b4,b3,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b3,b1,b4,,b10,a5,a4,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,,,,,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b10,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a4,+a4,-a3,+a3(b4,b8,b0,b12,b16,b20,b24,b28,b32,b36,b40,b44,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a8,a12(b8,b12,b0,b4,b16,b20,b24,b28,b32,b36,,,h0.1,h0.4,h0.8,h0.2,b44,,a0,a4,a8,a12(b4,b0,b8,b12,,b28,a12,a16,,b36,,,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a20,a8(b1,b2,b0,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b4,b0,b8,b12,,b28,a12,a16,,b36,,,b48,b56,b60,b52,,,a0,a4,a20,a8(b1,b2,,,b7,b5,a3,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a5,b9,b8,b6,b7,b11,b12,b13,b14,b10,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,,,b5,b8,,,-a1,+a1,-a0,+a0,b2(b0,b1,b2,b3,b4,b5,b6,b15,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b13,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,a5,a4,b12,b13,b15,b16,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,-a1,+a1,-a0,+a0,b2(b0,b1,b3,b4,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,b8,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a31(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,b6,b7,b16,b15,b8,b9,b10,b11,b13,b12,b17,,a0,a1~,a2,a3~(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a4(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b33,b5,,,b6,b7,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b2,,,,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b2,,,b6,,b9,b7,,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a2(b2,b1,b3,b0,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b4,,b6,,b2,b7,b9,,,b2,b14,b15,b13(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b5,b7,b2,b10,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,a5~,a2~,b2,b8,b8,b5,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b4,,b9,b10,b6,b7,b8,,b5,b2,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b5,b4,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b2,b6,b7,b4,b5,b8,b9,b11,b12,b13,b14,b15,b16,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b16,b19,b17,b18,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b8,b9,b6,b7,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b10,b5,b11,b7,b8,b9,b4,b6,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b5,b7,b4,b6,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b13,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b0,b4,b2,b1,b3,b6,,,b11,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a2,a5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b9,b10,a4,a5,b4,b6,b7,b8,b11,b12,b13,b14,,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b3,b2,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,b11,b14,b12,b13,b10,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,a4,a3,,,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b6,b7,b9,b10,b12,b13,b14,b15,b16,b17,b19,b20,h0.1,h0.4,h0.8,h0.2,b18,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,,,,,,,b7,b6,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,a0,a1(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a5(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a3,a4(b1,b0,b4,b3,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a5`.split(`(`),Qa={l00790006:0,l00790011:1,l00790016:2,l00790122:3,l00790126:4,l00791800:5,l00791803:6,l0079181a:7,l0079181b:8,l0079181c:9,l00791830:10,l00791843:11,l00791844:12,l00791845:11,l00791846:13,l007918d2:7,l007918d4:14,l0079954e:15,l046dc20a:16,l046dc211:17,l046dc216:5,l046dc218:5,l046dc219:5,l046dc21a:18,l046dc21d:14,l046dc21e:14,l046dc21f:14,l046dcad1:5,l046dcad2:5,l04b4010a:19,l04b42411:20,l04b42412:21,l054c0268:22,l054c05c4:23,l054c09cc:24,l054c0ba0:24,l054c0cda:25,l054c0ce6:24,l054c0df2:24,l054c0e5f:24,l054c1337:26,l057e0330:27,l057e0337:28,l057e1337:29,l057e2006:30,l057e2007:31,l057e2008:32,l057e2009:33,l057e2017:34,l057e201e:35,l057e2069:36,l057e2073:37,l05ac022d:38,l05ac055b:39,l05ac057a:40,l05ac061a:41,l0e6f0109:42,l0e6f011e:7,l0e6f011f:14,l0e6f0128:5,l0e6f012f:7,l0e6f0130:7,l0e6f0131:14,l0e6f0139:14,l0e6f0146:43,l0e6f0164:14,l0e6f0180:7,l0e6f0181:7,l0e6f0184:7,l0e6f0185:44,l0e6f0187:7,l0e6f0188:7,l0e6f0203:45,l0e6f0207:46,l0e6f0213:14,l0e6f0214:7,l0e6f02a7:14,l0e6f02a8:47,l0e6f02b2:48,l0e6f02b8:14,l0e6f02c8:14,l0e6f02d7:49,l0e6f02d8:14,l0e6f02da:14,l0e6f02ef:14,l0e6f02f1:14,l0e6f0301:14,l0e6f0315:14,l0e6f0401:14,l0e6f0413:14,l0e6f1112:50,l0e6f1113:51,l0e6ff501:14,l0f0d0009:7,l0f0d0010:42,l0f0d0011:7,l0f0d0016:52,l0f0d0022:42,l0f0d004d:7,l0f0d005e:53,l0f0d005f:54,l0f0d0066:24,l0f0d0067:14,l0f0d006a:8,l0f0d006b:7,l0f0d006d:55,l0f0d006e:7,l0f0d0084:8,l0f0d0085:7,l0f0d0086:47,l0f0d0087:56,l0f0d0088:57,l0f0d0092:58,l0f0d00aa:39,l0f0d00c1:7,l0f0d00ee:59,l0f0d00f6:60,l0f0d00fb:39,l0f0d0137:61,l0f0d0138:62,l0f0d0150:14,l0f0d0185:14,l0f0d0196:63,l0f0d01ab:63,l15320401:24,l15320402:7,l15320705:64,l15320900:65,l15320a03:14,l15320a14:14,l15320a29:14,l15321000:8,l15321008:66,l1532100a:59,l1532100b:24,l15321100:24,l18d19400:65,l20d60dad:67,l20d62002:68,l20d62005:14,l20d6200b:14,l20d6200f:69,l20d62065:14,l20d62802:14,l20d64001:70,l20d64002:70,l20d64005:14,l20d66271:71,l20d6792a:24,l20d689e5:71,l20d6a710:5,l20d6a711:7,l20d6a712:7,l20d6a713:7,l20d6a714:7,l20d6ca6d:7,l24c65300:14,l24c6531a:14,l24c6541a:14,l24c6543a:14,l24c6581a:14,l24c65b02:14,l24c65d04:14,l24c6891a:63,l24c6891b:63,l24c6892a:72,l24c6892b:63,l24c6fafe:14,l27f80bbf:63,l28de1102:73,l28de1105:73,l28de1106:73,l28de1142:73,l28de11fc:43,l28de11ff:14,l28de1201:73,l28de1202:73,l28de1205:74,l2dc80651:75,l2dc81003:76,l2dc81080:76,l2dc82000:14,l2dc82003:14,l2dc8200a:77,l2dc82019:14,l2dc82025:14,l2dc82101:63,l2dc82830:78,l2dc82862:79,l2dc82865:79,l2dc82869:80,l2dc8286a:81,l2dc83010:82,l2dc83011:63,l2dc83012:63,l2dc83013:63,l2dc83015:63,l2dc83016:63,l2dc83017:63,l2dc83019:83,l2dc8301b:63,l2dc8301d:63,l2dc83100:84,l2dc83101:85,l2dc83102:85,l2dc83103:85,l2dc83104:85,l2dc83106:14,l2dc8310a:14,l2dc8310b:14,l2dc83230:86,l2dc83810:79,l2dc83820:87,l2dc85006:88,l2dc85101:89,l2dc85103:86,l2dc85104:90,l2dc85107:91,l2dc85108:91,l2dc85109:90,l2dc85111:92,l2dc85112:82,l2dc86000:92,l2dc86001:93,l2dc86002:92,l2dc86006:82,l2dc86007:94,l2dc86009:82,l2dc86012:63,l2dc86100:87,l2dc86101:93,l2dc86102:92,l2dc86728:95,l2dc89000:96,l2dc89001:96,l2dc89012:93,l2dc89015:79,l2dc89018:78,l2dc89020:97,l2dc89025:98,l2dc8ab21:78,l35371004:14,l35371007:63,l3537100b:14,l35371046:63,l35371058:63,l35371094:63,l35371097:63,l358a0102:63,l358a0202:63,l358a0203:63,l358a0204:63,m00790006:99,m00790011:100,m00791800:101,m00791803:102,m0079181c:41,m00791843:103,m00791844:104,m00791846:105,m007918d2:39,m0079954e:106,m046dc216:5,m046dc218:5,m046dc219:5,m046dc21a:18,m046dc21f:107,m04b4010a:108,m04b42411:20,m04b42412:20,m054c0268:22,m054c05c4:24,m054c09cc:24,m054c0ba0:24,m054c0cda:25,m054c0ce6:24,m054c0df2:24,m054c0e5f:24,m054c1337:26,m057e2006:30,m057e2007:31,m057e2009:60,m057e2017:109,m057e2069:36,m057e2073:37,m05ac061a:41,m0e6f0109:42,m0e6f0184:110,m0e6f0187:5,m0e6f0201:107,m0e6f0203:45,m0e6f0207:46,m0e6f0401:107,m0f0d002d:54,m0f0d004d:7,m0f0d005e:111,m0f0d005f:7,m0f0d0066:24,m0f0d006e:7,m0f0d0084:8,m0f0d0085:7,m0f0d0087:112,m0f0d0088:57,m0f0d0092:58,m0f0d00aa:39,m0f0d00c1:7,m0f0d00ee:113,m0f0d00f6:3,m0f0d0138:62,m0f0d0200:7,m15320401:24,m15320402:7,m15320705:64,m15320900:65,m15320a03:107,m15321000:8,m15321100:24,m18d19400:65,m20d66271:71,m20d6792a:24,m20d6a710:7,m20d6a711:44,m20d6ca6d:7,m24c6543a:107,m24c65d04:107,m24c6891a:114,m24c6891b:63,m24c6892a:64,m24c6892b:63,m24c6fafe:107,m2dc80651:115,m2dc82820:116,m2dc82830:78,m2dc82840:78,m2dc82865:87,m2dc82869:80,m2dc8286a:81,m2dc83011:63,m2dc83012:63,m2dc83013:63,m2dc83015:117,m2dc83016:63,m2dc83017:118,m2dc83019:83,m2dc8301b:63,m2dc8301d:63,m2dc83100:9,m2dc83101:85,m2dc83102:85,m2dc83103:85,m2dc83104:85,m2dc83105:84,m2dc83230:119,m2dc83810:94,m2dc85006:120,m2dc85101:89,m2dc85103:86,m2dc85104:90,m2dc85107:121,m2dc85108:122,m2dc85109:90,m2dc85111:82,m2dc85112:82,m2dc86001:79,m2dc86002:85,m2dc86006:82,m2dc86009:123,m2dc86101:85,m2dc86102:85,m2dc86728:95,m2dc89000:96,m2dc89001:79,m2dc89012:78,m2dc89015:124,m2dc89018:78,m2dc89020:125,m2dc89025:126,m2dc89026:127,m2dc8ab12:116,m35371022:63,m35371041:63,m35371046:63,m35371104:63,m358a0102:63,m358a0201:128,m358a0202:128,m358a0203:128,m358a0204:63,w00790002:129,w00790007:129,w0079000a:129,w00790016:18,w00790122:99,w00790126:130,w00791804:131,w0079181a:7,w0079181b:113,w00791824:132,w00791830:133,w00791845:11,w00791847:12,w0079184f:134,w00791879:135,w0079188f:136,w007918ae:137,w007918d4:138,w046dc209:139,w046dc20a:16,w046dc20b:140,w046dc211:141,w046dc21d:138,w046dc21e:142,w046dc242:142,w046dca84:143,w046dca88:143,w046dcad1:5,w046dcad2:7,w04b42410:144,w04b4c681:130,w054c05c5:145,w057e0330:146,w05ac022d:144,w05ac033d:147,w05ac044d:147,w05ac055b:39,w05ac057a:148,w0e6f0003:149,w0e6f0111:7,w0e6f0114:7,w0e6f0119:7,w0e6f011a:7,w0e6f011e:7,w0e6f011f:150,w0e6f0124:42,w0e6f0128:7,w0e6f012f:7,w0e6f0130:7,w0e6f0132:7,w0e6f0146:138,w0e6f0164:151,w0e6f0180:7,w0e6f0181:7,w0e6f0185:44,w0e6f0188:7,w0e6f0189:7,w0e6f0214:7,w0e6f0301:138,w0e6f1113:51,w0e6f6302:7,w0f0d0009:7,w0f0d000a:152,w0f0d000c:153,w0f0d000d:154,w0f0d0010:155,w0f0d0011:57,w0f0d0013:155,w0f0d001b:152,w0f0d0021:155,w0f0d0022:54,w0f0d0025:42,w0f0d0026:155,w0f0d0027:42,w0f0d0032:155,w0f0d003d:156,w0f0d0040:157,w0f0d0042:155,w0f0d0049:7,w0f0d004b:155,w0f0d0051:155,w0f0d0054:7,w0f0d0055:8,w0f0d005b:113,w0f0d005c:7,w0f0d0064:155,w0f0d0067:70,w0f0d006a:8,w0f0d006b:7,w0f0d006f:158,w0f0d0070:57,w0f0d007b:155,w0f0d008a:8,w0f0d008b:7,w0f0d008c:138,w0f0d009c:8,w0f0d00a0:159,w0f0d00a5:160,w0f0d00a6:111,w0f0d00ad:161,w0f0d00ae:142,w0f0d00af:162,w0f0d00c0:138,w0f0d00c9:5,w0f0d00d8:163,w0f0d00dc:138,w0f0d0101:5,w0f0d0104:142,w0f0d0123:144,w0f0d0137:164,w0f0d0162:165,w0f0d0164:166,w0f0d0196:134,w0f0d0202:167,w0f0d1011:168,w153202a6:169,w15320300:170,w15320707:147,w15320a14:138,w15321004:145,w15321007:145,w15321009:145,w1532100a:5,w18d12c40:171,w20d60060:7,w20d60dad:142,w20d6319f:7,w20d64026:134,w20d64033:134,w20d6571d:7,w20d6576d:7,w20d65795:7,w20d657c7:7,w20d657e5:7,w20d689e5:172,w20d6a712:7,w20d6a713:7,w20d6a714:7,w20d6a720:7,w24c6531a:153,w24c65b02:138,w27f80bbf:173,w28de11fc:70,w28de11ff:174,w2dc802e0:175,w2dc81003:176,w2dc81080:176,w2dc82100:144,w2dc82810:177,w2dc82862:78,w2dc83000:78,w2dc83001:178,w2dc8301c:134,w2dc8310a:134,w2dc83820:179,w2dc85001:180,w2dc86000:79,w2dc86003:123,w2dc86012:134,w2dc86100:85,w2dc86103:123,w2dc8ab11:179,w2dc8ab20:178,w2dc8ab21:78,w35371004:138,w35371007:134,w35371094:134,w35371116:134},$a=e=>e.toLowerCase().padStart(4,`0`);function eo(e){let t=/^(.*?)\s*\((?:[^()]*?\s)?Vendor:\s*([0-9a-f]{1,4})\s+Product:\s*([0-9a-f]{1,4})\s*\)\s*$/i.exec(e);if(t)return{vendor:$a(t[2]),product:$a(t[3]),name:t[1].trim()};let n=/^([0-9a-f]{1,4})-([0-9a-f]{1,4})-(.*)$/i.exec(e.trim());return n?{vendor:$a(n[1]),product:$a(n[2]),name:n[3].trim()}:null}function to(e){return(eo(e)?.name??e.replace(/\s*\((?:XInput\s*)?STANDARD GAMEPAD\)\s*$/i,``)).trim()||e}function no(e=globalThis.navigator){let t=e?.userAgent??``;return/Android|iPhone|iPad|iPod/i.test(t)?null:/Macintosh|Mac OS X/i.test(t)?(e?.maxTouchPoints??0)>1?null:`m`:/Windows/i.test(t)?`w`:/Linux|CrOS|X11/i.test(t)?`l`:null}function ro(e,t){if(!t)return null;let n=t===`l`?[`l`]:[`m`,`w`];for(let t of n){let n=Qa[`${t}${e.vendor}${e.product}`];if(n!==void 0)return Za[n]??null}return null}function io(e){return e.mapping!==`standard`&&eo(e.id)?.vendor===`2dc8`}var ao={6003:`switch`,6006:`switch`,6103:`switch`,3010:`switch`,6001:`startx`,6002:`startx`,6101:`startx`,6102:`startx`,3011:`receiver`,3012:`receiver`,3013:`receiver`,3015:`receiver`,3016:`receiver`,3017:`receiver`,"301b":`receiver`,"301c":`receiver`,"301d":`receiver`,6012:`receiver`,5112:`none`,9020:`none`};function oo(e){let t=eo(e);return t&&ao[t.product]||`manual`}var so={1:0,2:2,4:4,8:6};function co(e){let t=0,n=!1;for(let r of e){let e=/a(\d+)/.exec(r);e&&(t=Math.max(t,Number(e[1])+1)),r.startsWith(`h`)&&(n=!0)}return{n:t,hat:n}}function lo(e,t,n){let{n:r,hat:i}=co(t),a=Ia.length,o=e.axes.findIndex(e=>Math.abs(e)>1.05),s=e=>e;if(i&&o<0)return n===`l`&&e.axes.length>=r+2?{hat:-1,hatXY:r,axis:s}:null;if(!(i?o>r:n!==`l`&&e.axes.length>=r+2))return{hat:o,hatXY:-1,axis:s};if(r<=4)return{hat:o,hatXY:-1,axis:e=>[0,1,2,5][e]??e};let c=t[a+2]?.replace(`~`,``)===`a2`&&t[a+3]?.replace(`~`,``)===`a3`,l=[t[6],t[7]].every(e=>/^a[45]~?$/.test(e??``));return r===6&&c&&l?{hat:o,hatXY:-1,axis:e=>[0,1,2,5,3,4][e]??e}:{hat:o,hatXY:-1,axis:s}}function uo(e,t){let n=/^b(\d+)$/.exec(e);if(n)return{b:Number(n[1])};if(n=/^([+-]?)a(\d+)(~?)$/.exec(e),n){let e=t.axis(Number(n[2]));return n[1]===`+`?{a:e,d:1}:n[1]===`-`?{a:e,d:-1}:n[3]?{a:e,d:-1,rest:1}:{a:e,d:1,rest:-1}}if(n=/^h0\.(\d)$/.exec(e),n){let e=so[n[1]];if(e===void 0)return null;if(t.hat>=0)return{h:t.hat,at:e};if(t.hatXY>=0)return e===0?{a:t.hatXY+1,d:-1}:e===4?{a:t.hatXY+1,d:1}:e===6?{a:t.hatXY,d:-1}:{a:t.hatXY,d:1}}return null}function fo(e,t){let n=/^a(\d+)(~?)$/.exec(e);if(n)return n[2]?{a:t.axis(Number(n[1])),inv:!0}:{a:t.axis(Number(n[1]))};if(e===`hx`||e===`hy`){if(t.hat>=0)return{a:t.hat,hat:e===`hx`?`x`:`y`};if(t.hatXY>=0)return{a:t.hatXY+ +(e===`hy`)}}return null}function po(e,t,n){let r=e.split(`,`),i=lo(t,r,n);if(!i)return null;let a={buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null};for(let e=0;eArray.isArray(e)&&e.length===2&&typeof e[0]==`number`&&_o(e[1]))&&[t.l2,t.r2,t.lx,t.ly,t.rx,t.ry].every(_o)}function yo(){try{let e=Lt(go),t=e?JSON.parse(e):null;return!t||typeof t!=`object`||Array.isArray(t)?{}:Object.fromEntries(Object.entries(t).filter(e=>vo(e[1])))}catch{return{}}}function bo(e,t){let n=yo();return t?n[e]=t:delete n[e],It(go,JSON.stringify(n)),xo=n,n}var xo=null;function So(e){return xo??=yo(),xo[e.id]??To(xo,e.id)??ho(e)??Ua(e)}function Co(e){return xo??=yo(),xo[e.id]?`saved`:e.mapping===`standard`?`standard`:ho(e)?`known`:`guess`}function wo(e){return ho(e)??Ua(e)}function To(e,t){if(!t.endsWith(` (app)`))return null;let n=t.slice(0,-6).trim().toLowerCase();if(!n)return null;let r=Object.keys(e).filter(e=>{let t=e.trim().toLowerCase();return t===n||t.includes(n)}),i=r.find(e=>e.trim().toLowerCase()===n)??(r.length===1?r[0]:null);return i?(xo=bo(t,e[i]),e[i]):null}function Eo(e){return{buttons:e.buttons.map(e=>Math.max(+!!e.pressed,e.value)),axes:[...e.axes]}}function Do(e,t){let n=null;if(t.buttons.forEach((t,r)=>{let i=t-(e.buttons[r]??0);t>.5&&i>.5&&(!n||i>n.amount)&&(n={src:{b:r},amount:i})}),n)return n.src;for(let n=0;n1.05?La(t.axes[n]):null;if(r!==null)return{h:n,at:r}}return t.axes.forEach((t,r)=>{let i=e.axes[r]??0,a=t-i;if(!(Math.abs(a)<.6)&&(!n||Math.abs(a)>n.amount)){let e=a>0?1:-1;n={src:Math.abs(i)>.5?{a:r,d:e,rest:i}:{a:r,d:e},amount:Math.abs(a)}}}),n?n.src:null}function Oo(e,t){let n=null;if(t.axes.forEach((t,r)=>{let i=t-(e.axes[r]??0);Math.abs(i)>=.6&&(!n||Math.abs(i)>Math.abs(n.moved))&&(n={a:r,moved:i})}),!n)return null;let r=n;return r.moved>0?{a:r.a}:{a:r.a,inv:!0}}var ko=[{kind:`button`,bit:R.CROSS,name:`✕`},{kind:`button`,bit:R.CIRCLE,name:`○`},{kind:`button`,bit:R.SQUARE,name:`□`},{kind:`button`,bit:R.TRIANGLE,name:`△`},{kind:`button`,bit:R.UP,name:`↑`},{kind:`button`,bit:R.DOWN,name:`↓`},{kind:`button`,bit:R.LEFT,name:`←`},{kind:`button`,bit:R.RIGHT,name:`→`},{kind:`button`,bit:R.L1,name:`L1`},{kind:`button`,bit:R.R1,name:`R1`},{kind:`trigger`,which:`l2`,name:`L2`},{kind:`trigger`,which:`r2`,name:`R2`},{kind:`button`,bit:R.L3,name:`L3`},{kind:`button`,bit:R.R3,name:`R3`},{kind:`button`,bit:R.OPTIONS,name:`Options`},{kind:`button`,bit:R.SHARE,name:`Create`},{kind:`button`,bit:R.PS,name:`PS`},{kind:`button`,bit:R.TOUCHPAD,name:`Touchpad`},{kind:`axis`,which:`lx`,name:`L →`},{kind:`axis`,which:`ly`,name:`L ↓`},{kind:`axis`,which:`rx`,name:`R →`},{kind:`axis`,which:`ry`,name:`R ↓`}];function Ao(){return{buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null}}function jo(e,t,n){return t.kind===`button`?{...e,buttons:[...e.buttons.filter(([e])=>e!==t.bit),[t.bit,n]]}:(t.kind,{...e,[t.which]:n})}function Mo(e,t=Va){let n=new Set(e.buttons.map(([e])=>e)),r=e=>`b`in e?`b${e.b}`:`h`in e?`h${e.h}.${e.at}`:`a${e.a}${e.d}`,i=new Set([...e.buttons.map(([,e])=>r(e)),...[e.l2,e.r2].filter(e=>!!e).map(r)]);return{buttons:[...e.buttons,...t.buttons.filter(([e,t])=>!n.has(e)&&!i.has(r(t)))],l2:e.l2??t.l2,r2:e.r2??t.r2,lx:e.lx??t.lx,ly:e.ly??t.ly,rx:e.rx??t.rx,ry:e.ry??t.ry}}var No=ko.filter(e=>e.kind!==`button`||![R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD].includes(e.bit));function Po(e,t){return t.buttons.every((t,n)=>Math.abs(t-(e.buttons[n]??0))<.3)&&t.axes.every((t,n)=>Math.abs(t-(e.axes[n]??0))<.3)}var Fo=class{constructor(e=ko){this.steps=e,this.step=0,this.prof=Ao(),this.rest=null,this.waiting=!0}get done(){return this.step>=this.steps.length}get current(){return this.steps[this.step]??null}feed(e){if(this.done)return!1;if(!this.rest)return this.rest=e,this.waiting=!1,!1;if(this.waiting)return Po(this.rest,e)&&(this.waiting=!1),!1;let t=this.steps[this.step],n=t.kind===`axis`?Oo(this.rest,e):Do(this.rest,e);return n?(this.prof=jo(this.prof,t,n),this.go(this.step+1),!0):!1}skip(){this.go(this.step+1)}back(){this.step>0&&this.go(this.step-1)}go(e){this.waiting=!0,this.step=Math.min(e,this.steps.length)}profile(e=Va){return Mo(this.prof,e)}};function Io(e,t){return e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry&&(e.touch?.[0]??-1)===(t.touch?.[0]??-1)&&(e.touch?.[1]??-1)===(t.touch?.[1]??-1)&&(e.motion?.t??-1)===(t.motion?.t??-1)}function Lo(){try{return typeof sessionStorage<`u`?sessionStorage:null}catch{return null}}var Ro=e=>`ps5upload.join.token.${e??`app`}`,zo=class{constructor(e){this.o=e,this.ws=null,this.stage={kind:`connecting`},this.token=null,this.player=0,this.last={...ja},this.lastSent=0,this.neutral=!1,this.stopped=!1,this.attempt=0,this.deadline=0,this.raf=0,this.keepalive=null,this.pinger=null,this.retry=null,this.lastHeard=0,this.hostAway=!1,this.pings=0,this.now=e.now??(()=>Date.now()),this.storage=e.storage===void 0?Lo():e.storage,this.WS=e.WebSocketImpl??WebSocket,this.seq=this.now()>>>0;try{this.token=this.storage?.getItem(this.key)??null}catch{this.token=null}}get key(){return Ro(this.o.invite??this.o.code??null)}get current(){return this.stage}get socket(){return this.ws}get resumeToken(){return this.token}setStage(e){this.stage=e,this.o.onStage(e)}start(){if(this.stopped=!1,this.setStage({kind:`connecting`}),this.connect(),this.stopped)return;let e=()=>{this.sendPad(!1),this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e)};this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e),this.keepalive=setInterval(()=>this.sendPad(!1),100),this.pinger=setInterval(()=>this.ping(),1e3)}connect(){let e;try{e=new this.WS(this.o.url)}catch{this.dropped();return}this.ws=e,e.binaryType=`arraybuffer`,e.onopen=()=>{if(this.ws!==e)return;this.lastHeard=this.now();let t={name:this.o.name};this.o.invite&&(t.invite=this.o.invite),this.o.code&&(t.code=this.o.code),this.token&&(t.resume=this.token),e.send(JSON.stringify({hello:t}))},e.onmessage=t=>{this.ws===e&&(this.lastHeard=this.now(),typeof t.data==`string`?this.onText(t.data):t.data instanceof ArrayBuffer&&this.stage.kind===`joined`&&this.o.onFrame?.(t.data))},e.onclose=t=>{if(this.ws!==e)return;this.ws=null;let n=Ue(t);n===`mismatch`?(this.forgetToken(),this.finish({kind:`ended`,why:n})):n&&this.stage.kind!==`joined`&&this.stage.kind!==`reconnecting`?this.finish({kind:`ended`,why:n}):this.dropped()},e.onerror=()=>{}}onText(e){let t=Je(e);if(t)switch(t.kind){case`pong`:{let e=this.now()-t.t;e>=0&&e<6e4&&this.o.onRtt?.(e);return}case`asking`:this.stage.kind!==`reconnecting`&&this.setStage({kind:`asking`});return;case`waiting`:this.hostAway||(this.hostAway=!0,this.deadline=this.now()+et),this.attempt=0,this.setStage(this.reconnectingStage());return;case`joined`:this.token=t.token,this.player=t.player,this.attempt=0,this.hostAway=!1;try{this.storage?.setItem(this.key,t.token)}catch{}{let e=t.track&&this.ws?.media||null;this.o.onCodec?.(t.hevc,e,!!e&&t.audio&&!!e.audio)}this.setStage({kind:`joined`,player:t.player,hevc:t.hevc}),this.sendPad(!0);return;case`refused`:this.forgetToken(),this.hostAway&&t.why!==`seat_taken`?this.finish({kind:`ended`,why:`host_stopped`}):this.finish({kind:`refused`,why:t.why});return;case`bye`:if(t.why===`host_stopped`&&this.token){this.hostWait();return}this.forgetToken(),this.finish({kind:`ended`,why:t.why});return;case`status`:this.stage.kind===`joined`&&t.status.player>0&&t.status.player!==this.stage.player&&(this.player=t.status.player,this.setStage({...this.stage,player:t.status.player})),this.o.onStatus?.(t.status);return;case`feedback`:t.rumble&&this.o.onRumble?.(t.rumble[0],t.rumble[1]),t.light&&this.o.onLight?.(t.light);return}}hostWait(){this.hostAway=!0,this.deadline=this.now()+et,this.attempt=0;let e=this.ws;this.ws=null;try{e?.close()}catch{}this.scheduleRetry()}reconnectingStage(){return{kind:`reconnecting`,player:this.player,attempt:this.attempt,deadline:this.deadline,...this.hostAway?{hostStopped:!0}:{}}}giveUp(){this.forgetToken(),this.finish({kind:`ended`,why:this.hostAway?`host_stopped`:`gave_up`})}dropped(){if(this.stopped)return;let e=this.stage;e.kind===`joined`||e.kind===`reconnecting`&&this.token?(e.kind===`joined`&&(this.deadline=this.now()+$e),this.scheduleRetry()):this.finish({kind:`ended`,why:`lost`})}scheduleRetry(){if(this.stopped)return;if(this.now()>=this.deadline){this.giveUp();return}let e=Qe(this.attempt);this.setStage(this.reconnectingStage()),this.attempt+=1,this.retry&&clearTimeout(this.retry),this.retry=setTimeout(()=>{this.retry=null,this.stopped||(this.now()>=this.deadline?this.giveUp():this.connect())},e)}forgetToken(){this.token=null;try{this.storage?.removeItem(this.key)}catch{}}ping(){if(this.hostAway&&!this.stopped&&this.now()>=this.deadline+5e3||!this.stopped&&this.stage.kind===`reconnecting`&&this.now()>=this.deadline+5e3){this.giveUp();return}let e=this.ws;if(e&&e.readyState===this.WS.OPEN){if(this.stage.kind===`joined`&&this.now()-this.lastHeard>3500){this.ws=null;try{e.close()}catch{}this.dropped()}else if(e.send(JSON.stringify({ping:this.now()})),this.stage.kind===`joined`&&this.o.readStats&&++this.pings%2==0){let t=this.o.readStats();t&&e.send(JSON.stringify({stats:t}))}}}setNeutral(e){this.neutral!==e&&(this.neutral=e,this.sendPad(!0))}sendPad(e){let t=this.ws;if(!t||t.readyState!==this.WS.OPEN||this.stage.kind!==`joined`)return;let n=this.neutral?{...ja,touch:null,motion:null}:this.o.readPad(),r=this.now();!e&&Io(n,this.last)&&r-this.lastSent<100||(this.last=n,this.lastSent=r,this.seq=this.seq+1>>>0,t.send(Ze(this.seq,n)))}clearTimers(){(this.o.cancelRaf??(e=>window.cancelAnimationFrame(e)))(this.raf),this.keepalive&&clearInterval(this.keepalive),this.pinger&&clearInterval(this.pinger),this.retry&&clearTimeout(this.retry),this.keepalive=this.pinger=this.retry=null}finish(e){this.stopped=!0,this.clearTimers();let t=this.ws;this.ws=null;try{t?.close()}catch{}this.setStage(e)}askKeyframe(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&e.send(JSON.stringify({keyframe:!0}))}leave(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&(this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),e.send(JSON.stringify({leave:1}))),this.forgetToken(),this.finish({kind:`ended`,why:`left`})}stop(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),this.stopped=!0,this.clearTimers(),this.ws=null;try{e?.close()}catch{}}},Bo=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),z=s(((e,t)=>{t.exports=Bo()}))(),Vo=`ps5upload.openIn`,Ho=`ps5upload.openIn.tab`;function Uo(){try{return sessionStorage.getItem(Ho)===`browser`}catch{return!1}}function B(){try{sessionStorage.setItem(Ho,`browser`)}catch{}}function V(e){return e===`browser`?`browser`:e===`app`?`opening`:`ask`}function Wo({appLink:e,children:t}){let n=Ie(),[r,i]=(0,D.useState)(()=>Uo()?`browser`:V(Lt(Vo))),[a,o]=(0,D.useState)(!1);if((0,D.useEffect)(()=>{r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&(location.href=e)},[]),r===`browser`)return(0,z.jsx)(z.Fragment,{children:t});let s=()=>{a&&It(Vo,`app`),i(`opening`),location.href=e},c=()=>{r===`ask`&&a?It(Vo,`browser`):r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&Rt(Vo),B(),i(`browser`)};return(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`open-in-gate`,"data-join-ui":``,children:(0,z.jsx)(`div`,{className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,children:r===`ask`?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_title`,void 0,`Open in the PS5Upload app?`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_body`,void 0,`Have the PS5Upload app on this device? Open this there, or carry on in the browser.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:s,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-app`,children:n(`open_in_app`,void 0,`Open in the app`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)}),(0,z.jsxs)(`label`,{className:`flex items-center justify-center gap-2 text-xs text-white/60`,children:[(0,z.jsx)(`input`,{type:`checkbox`,checked:a,onChange:e=>o(e.target.checked),"data-testid":`open-in-remember`}),n(`open_in_remember`,void 0,`Remember my choice on this device`)]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_opening`,void 0,`Opening the PS5Upload app…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_not_opened`,void 0,`Nothing happened? The app may not be on this device.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>location.href=e,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-again`,children:n(`open_in_again`,void 0,`Try again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)})]})})})}var Go=[`a[href]`,`button:not([disabled])`,`input:not([disabled]):not([type='hidden'])`,`select:not([disabled])`,`textarea:not([disabled])`,`summary`,`[contenteditable='true']`,`[tabindex]`].map(e=>`${e}:not([tabindex='-1'])`).join(`, `),Ko=new Set,qo=[];function Jo(){for(let e of Ko)e()}function Yo(){return qo.length}function Xo(e){return qo.push(e),Jo(),()=>{let t=qo.lastIndexOf(e);t!==-1&&qo.splice(t,1),Jo()}}function Zo(e,t,n){switch(n){case`down`:return t.top-e.bottom;case`up`:return e.top-t.bottom;case`right`:return t.left-e.right;case`left`:return e.left-t.right}}function Qo(e,t,n){let r=(e.left+e.right)/2,i=(e.top+e.bottom)/2,a=(t.left+t.right)/2,o=(t.top+t.bottom)/2;switch(n){case`down`:return o>i&&t.top>=e.top+1;case`up`:return or&&t.left>=e.left+1;case`left`:return a0?{gap:0,overlap:c}:{gap:-c,overlap:0}}function es(e,t,n){let r=null,i=1/0,a=!1;for(let o of t){if(!Qo(e,o.rect,n))continue;let t=Math.max(0,Zo(e,o.rect,n)),s=$o(e,o.rect,n),c=s.overlap>0;if(a&&!c)continue;let l=c?t-s.overlap/1e6:Math.hypot(t,2*s.gap);(c&&!a||l`u`?void 0:window){try{return!!e?.PS5UploadTv?.isTv()}catch{return!1}}function is(e=typeof document>`u`?void 0:document){return e?.documentElement.dataset.tv===`1`}function as(e,t){if(!e)return!1;if(e.closest(`[data-own-arrows]`))return!0;let n=e.tagName;if(n===`TEXTAREA`||e.isContentEditable)return!0;let r=t===`left`||t===`right`;if(n===`INPUT`){let t=(e.type||`text`).toLowerCase();if(t===`range`||ns.test(t))return r}return!1}var os=`[aria-modal="true"], [role="dialog"], [role="alertdialog"]`;function ss(e){let t=e.activeElement?.closest(os);if(t)return t;if(Yo()>0){let t=e.querySelectorAll(os);if(t.length)return t[t.length-1]}return e}function cs(e){let t=[];return e.querySelectorAll(Go).forEach(e=>{if(e.closest(`[inert], [aria-hidden='true']`)||e.disabled)return;let n=e.getBoundingClientRect();n.width<=0||n.height<=0||t.push({el:e,rect:n})}),t}function ls(e){return(e.find(e=>e.el.getAttribute(`aria-current`)===`page`)??e[0])?.el??null}function us(e,t=document){let n=ts[e.key];if(!n||e.defaultPrevented||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return!1;let r=t.activeElement;if(as(r,n))return!1;let i=cs(ss(t));if(!i.length)return!1;let a=i.find(e=>e.el===r),o=a?es(a.rect,i.filter(e=>e!==a),n):ls(i);return o?(e.preventDefault(),o.focus(),typeof o.scrollIntoView==`function`&&o.scrollIntoView({block:`nearest`,inline:`nearest`}),!0):!1}var ds=!1;function fs(e){ds||(ds=!0,e.addEventListener(`keydown`,t=>void us(t,e.document)))}function ps(e=typeof window>`u`?void 0:window){e&&(rs(e)&&(e.document.documentElement.dataset.tv=`1`),fs(e))}function ms({id:e,className:t}){let n=Ie(),r=oo(e);if(r===`none`)return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_no_xinput`,void 0,`This 8BitDo has no X-input mode. If a button is wrong, check the controller.`)});let i=r===`switch`?n(`pad_8bitdo_how_switch`,void 0,`set the switch on the back to X, then press Start`):r===`startx`?n(`pad_8bitdo_how_startx`,void 0,`turn it off, then hold Start + X to turn it on`):r===`receiver`?n(`pad_8bitdo_how_receiver`,void 0,`use its 2.4G receiver or a USB cable`):n(`pad_8bitdo_how_manual`,void 0,`its manual says how`);return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_xinput`,{how:i},`For the best result, switch your 8BitDo to X-input mode: ${i}.`)})}var hs=new Set,gs={held:new Set,touch:null,touchPad:ja,mapping:!1,get paused(){return hs.size>0},motion:null},_s={s:.85,m:1,l:1.15},vs=.25;function ys(e){return typeof e!=`number`||!Number.isFinite(e)?1:Math.min(1,Math.max(vs,e))}var bs={overlay:{width:844,height:390},deck:{width:390,height:480}},xs=.7,Ss=1.4;function Cs(e,t,n,r){let i=_s[e]??1;if(!(t>0)||!(n>0))return i;let a=r?bs.deck:bs.overlay,o=Math.min(Ss,Math.max(xs,Math.min(t/a.width,n/a.height)));return Math.round(o*i*1e3)/1e3}var ws=34;function Ts(e,t){return t>0&&8+Math.max(112*e,90)+156*e+124*e+Math.max(56*e,44)+ws>t}function Es(e,t,n){let r=e/32767,i=t/32767,a=Math.hypot(r,i),o=a>1?1/a:1;return{dx:r*o*n,dy:i*o*n}}var Ds=`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,Os=32767,ks=12;function As({stream:e,layout:t=`overlay`,opacity:n=1,size:r=`m`,deckTop:i=`0px`,onMenu:a}){let o=Ie(),s=(0,D.useRef)(new Map),c=(0,D.useRef)({...ja}),[l,u]=(0,D.useState)({...ja}),[d,f]=(0,D.useState)({l:!1,r:!1,touchpad:!1}),p=(0,D.useRef)(null),[m,h]=(0,D.useState)({width:0,height:0});(0,D.useEffect)(()=>{let e=p.current;if(!e)return;let t=()=>{let t=e.getBoundingClientRect();h(e=>e.width===t.width&&e.height===t.height?e:{width:t.width,height:t.height})};if(t(),typeof ResizeObserver>`u`)return window.addEventListener(`resize`,t),()=>window.removeEventListener(`resize`,t);let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,D.useEffect)(()=>()=>{gs.touchPad={...ja}},[]);let g=()=>{let t={...ja,touch:null},n={l:!1,r:!1,touchpad:!1};for(let e of s.current.values())e.kind===`stick`&&(n[e.which]=!0),e.kind===`touchpad`&&(n.touchpad=!0),e.kind===`button`&&(t.buttons|=e.bit),e.kind===`trigger`&&(t[e.which]=255),e.kind===`touchpad`&&e.pressed&&(t.buttons|=R.TOUCHPAD);t.lx=c.current.lx,t.ly=c.current.ly,t.rx=c.current.rx,t.ry=c.current.ry,t.touch=c.current.touch??null,gs.touchPad=t,e?.sendPad(),u(t),f(e=>e.l===n.l&&e.r===n.r&&e.touchpad===n.touchpad?e:n)},_=(e,t,n)=>{let r=Math.max(-1,Math.min(1,(t-e.cx)/e.radius)),i=Math.max(-1,Math.min(1,(n-e.cy)/e.radius));c.current[e.which===`l`?`lx`:`rx`]=Math.round(r*Os),c.current[e.which===`l`?`ly`:`ry`]=Math.round(i*Os)},v=(e,t)=>{e.preventDefault(),e.stopPropagation();let n=e.currentTarget;try{n.setPointerCapture(e.pointerId)}catch{}let r=t(n);s.current.set(e.pointerId,r),r.kind===`stick`&&_(r,e.clientX,e.clientY),r.kind===`touchpad`&&(c.current.touch=Ma((e.clientX-r.rect.left)/r.rect.width,(e.clientY-r.rect.top)/r.rect.height)),navigator.vibrate?.(8),g()},y=e=>{let t=s.current.get(e.pointerId);if(t){if(e.stopPropagation(),t.kind===`stick`)_(t,e.clientX,e.clientY);else if(t.kind===`touchpad`)c.current.touch=Ma((e.clientX-t.rect.left)/t.rect.width,(e.clientY-t.rect.top)/t.rect.height),t.pressed&&Math.hypot(e.clientX-t.x0,e.clientY-t.y0)>ks&&(t.pressed=!1);else return;g()}},b=e=>{let t=s.current.get(e.pointerId);t&&(e.stopPropagation(),s.current.delete(e.pointerId),t.kind===`stick`&&(c.current[t.which===`l`?`lx`:`rx`]=0,c.current[t.which===`l`?`ly`:`ry`]=0),t.kind===`touchpad`&&(c.current.touch=null),g())},x=e=>e.stopPropagation(),S={onPointerMove:y,onPointerUp:b,onPointerCancel:b,onClick:x,onDoubleClick:x},ee=e=>(l.buttons&e)!==0,C=e=>`border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.35)] transition-colors duration-75 ${e?`border-white bg-white/50`:`border-white/70 bg-white/10`}`,w=`text-white [text-shadow:0_1px_2px_rgba(0,0,0,0.6)]`,T={filter:`drop-shadow(0 0 1.5px rgba(0,0,0,0.5))`},E=e=>({stroke:e?`#fff`:`rgba(255,255,255,0.75)`,fill:e?`rgba(255,255,255,0.5)`:`rgba(255,255,255,0.1)`}),te=`pointer-events-auto flex touch-none select-none items-center justify-center bg-transparent p-0`,ne={minHeight:`calc(44px / var(--k))`,minWidth:`calc(44px / var(--k))`},re=(e,t,n,r)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`button`,bit:t})),...S,className:`${te} ${n}`,style:ne,children:r}),ie=(e,t,n,r)=>(0,z.jsx)(`span`,{className:`flex h-[32px] w-[76px] items-center justify-center text-[13px] font-semibold tracking-wide ${w} ${C(t)}`,style:{borderRadius:r?n===`l`?`16px 9px 9px 9px`:`9px 16px 9px 9px`:`9px`},children:e}),ae=(e,t,n,r)=>re(e,t,`h-[44px] w-[84px]`,ie(e,ee(t),n,r)),oe=(e,t,n)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`trigger`,which:t})),...S,className:`${te} h-[44px] w-[84px]`,style:ne,children:ie(e,l[t]>0,n,!0)}),se=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsx)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:(0,z.jsxs)(`g`,{transform:`rotate(${n} 26 26)`,strokeWidth:`1.5`,strokeLinejoin:`round`,...E(ee(t)),children:[(0,z.jsx)(`path`,{d:`M10 9 Q10 3 16 3 L36 3 Q42 3 42 9 L42 30 Q42 34.5 38.5 38 L29.5 47 Q26 50.5 22.5 47 L13.5 38 Q10 34.5 10 30 Z`}),(0,z.jsx)(`path`,{d:`M20.5 23 L26 17 L31.5 23`,fill:`none`,stroke:`#fff`,strokeLinecap:`round`,strokeWidth:`1.8`})]})})),ce=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsxs)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:[(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`22.5`,strokeWidth:`1.5`,...E(ee(t))}),(0,z.jsx)(`g`,{fill:`none`,stroke:`#fff`,strokeWidth:`1.8`,strokeLinejoin:`round`,strokeLinecap:`round`,children:n})]})),le=(e,t)=>re(e,t,`h-[44px] min-w-[64px] px-[4px]`,(0,z.jsx)(`span`,{className:`flex h-[24px] items-center rounded-full px-[10px] text-[10px] font-semibold uppercase tracking-wider ${w} ${C(ee(t))}`,children:e})),ue=(e,t)=>re(e,t,`h-[44px] w-[44px]`,(0,z.jsx)(`span`,{className:`flex h-[36px] w-[36px] items-center justify-center rounded-full text-[11px] font-bold ${w} ${C(ee(t))}`,children:e})),de=e=>{let{dx:t,dy:n}=Es(e===`l`?l.lx:l.rx,e===`l`?l.ly:l.ry,34),r=d[e];return(0,z.jsx)(`div`,{"aria-label":e===`l`?o(`rp_touch_left_stick`,void 0,`Left stick`):o(`rp_touch_right_stick`,void 0,`Right stick`),onPointerDown:t=>v(t,t=>{let n=t.getBoundingClientRect();return{kind:`stick`,which:e,cx:n.left+n.width/2,cy:n.top+n.height/2,radius:n.width/2}}),...S,className:`pointer-events-auto relative h-[124px] w-[124px] touch-none rounded-full border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${r?`border-white/80 bg-white/[0.12]`:`border-white/45 bg-white/[0.05]`}`,children:(0,z.jsx)(`div`,{className:`absolute left-1/2 top-1/2 h-[54px] w-[54px] rounded-full ${C(r)}`,style:{transform:`translate(calc(-50% + ${t}px), calc(-50% + ${n}px))`}})})},O=t===`deck`,fe=Cs(r,m.width,m.height,O),pe=e=>`${e}px * var(--k)`,k=`max(12px, env(safe-area-inset-left))`,me=`max(12px, env(safe-area-inset-right))`,he=`max(12px, env(safe-area-inset-bottom))`,ge=O?`8px`:t===`overlay-bar`?`3.5rem`:`max(10px, env(safe-area-inset-top))`,_e=(e,t,n=0)=>t?n?`calc(${e} + max(${pe(t)}, ${n}px))`:`calc(${e} + ${pe(t)})`:e,ye=(e,t)=>({position:`absolute`,...t,transform:`scale(var(--k))`,transformOrigin:e}),be=O&&Ts(fe,m.height),A=O?void 0:`58%`,j=e=>O?{top:_e(ge,be?96:112,be?72:90),[e]:e===`left`?k:me}:{top:A,translate:`0 -50%`,[e]:e===`left`?k:me},xe=e=>({bottom:be?he:_e(he,O?56:0,44),[e]:be?`calc(${e===`left`?k:me} + 8px + max(${pe(80)}, 44px))`:_e(e===`left`?k:me,O?40:168)}),Se=!!a&&!O;return(0,z.jsxs)(`div`,{ref:p,className:`pointer-events-none absolute z-10 select-none [-webkit-touch-callout:none] ${O?`inset-x-0 bottom-0`:`inset-0`}`,style:{top:O?i:void 0,"--k":fe},"data-testid":`rp-touch`,"data-layout":t,"data-scale":fe,onContextMenu:e=>e.preventDefault(),children:[(0,z.jsxs)(`div`,{className:`absolute inset-0`,style:{opacity:ys(n)},children:[(0,z.jsx)(`div`,{style:ye(`top left`,{top:ge,left:k}),children:(0,z.jsxs)(`div`,{className:`ms-[8px] flex flex-col`,style:{rotate:O?void 0:`6deg`,transformOrigin:`top left`},children:[oe(`L2`,`l2`,`l`),ae(`L1`,R.L1,`l`,!1)]})}),(0,z.jsx)(`div`,{style:ye(`top right`,{top:ge,right:me}),children:(0,z.jsxs)(`div`,{className:`me-[8px] flex flex-col items-end`,style:{rotate:O?void 0:`-6deg`,transformOrigin:`top right`},children:[oe(`R2`,`r2`,`r`),ae(`R1`,R.R1,`r`,!1)]})}),(0,z.jsx)(`div`,{"aria-label":o(`rp_touch_touchpad`,void 0,`Touchpad`),onPointerDown:e=>v(e,t=>({kind:`touchpad`,rect:t.getBoundingClientRect(),x0:e.clientX,y0:e.clientY,pressed:!0})),...S,className:`pointer-events-auto absolute touch-none rounded-2xl border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${d.touchpad?`border-white/80 bg-white/25`:`border-white/40 bg-white/[0.05]`}`,style:O?{top:_e(ge,6),left:_e(k,104),right:_e(me,104),height:`max(44px, calc(${pe(64)}))`}:{top:ge,left:`50%`,translate:`-50% 0`,width:`min(calc(${pe(250)}), 34vw)`,height:`max(44px, calc(${pe(56)}))`}}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top left`:`left center`,j(`left`)),children:[(0,z.jsx)(`span`,{}),se(`↑`,R.UP,0),(0,z.jsx)(`span`,{}),se(`←`,R.LEFT,-90),(0,z.jsx)(`span`,{}),se(`→`,R.RIGHT,90),(0,z.jsx)(`span`,{}),se(`↓`,R.DOWN,180),(0,z.jsx)(`span`,{})]}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top right`:`right center`,j(`right`)),children:[(0,z.jsx)(`span`,{}),ce(`△`,R.TRIANGLE,(0,z.jsx)(`path`,{d:`M26 16.5 L35 32 L17 32 Z`})),(0,z.jsx)(`span`,{}),ce(`□`,R.SQUARE,(0,z.jsx)(`rect`,{x:`18`,y:`18`,width:`16`,height:`16`,rx:`1`})),(0,z.jsx)(`span`,{}),ce(`○`,R.CIRCLE,(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`8.5`})),(0,z.jsx)(`span`,{}),ce(`✕`,R.CROSS,(0,z.jsx)(`path`,{d:`M19 19 L33 33 M33 19 L19 33`})),(0,z.jsx)(`span`,{})]}),(0,z.jsx)(`div`,{style:ye(`bottom left`,xe(`left`)),children:de(`l`)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,xe(`right`)),children:de(`r`)}),(0,z.jsx)(`div`,{style:ye(`bottom left`,{bottom:he,left:k}),children:le(`Create`,R.SHARE)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,{bottom:he,right:me}),children:le(`Options`,R.OPTIONS)}),(0,z.jsx)(`div`,{style:ye(`bottom center`,{bottom:be?_e(he,124,88):_e(he,Se?48:0,48),left:Ds,translate:`-50% 0`}),children:ue(`PS`,R.PS)})]}),Se&&(0,z.jsx)(`div`,{style:{...ye(`bottom center`,{bottom:he,left:`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,translate:`-50% 0`}),opacity:Math.max(.7,ys(n))},children:(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),a?.()},onDoubleClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),"aria-label":o(`rp_menu`,void 0,`Menu`),"aria-haspopup":`dialog`,className:`${te} h-[44px] w-[56px]`,style:ne,"data-testid":`rp-menu-handle`,children:(0,z.jsx)(`span`,{className:`flex h-[26px] w-[44px] items-center justify-center rounded-full ${w} ${C(!1)}`,children:(0,z.jsx)(ve,{size:15,strokeWidth:2,"aria-hidden":!0})})})})]})}var js=`data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAYZbW9vdgAAAGxtdmhkAAAAAAAAAAAAAAAAAAAfQAAAfQAAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAmt0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAABAAAAAAAAfQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAABAAAAAQAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAH0AAAAAAAABAAAAAAHjbWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAABAAAABAABVxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAABjm1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAU5zdGJsAAAAunN0c2QAAAAAAAAAAQAAAKphdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABAAEABIAAAASAAAAAAAAAABFExhdmM2My4xLjEwMiBsaWJ4MjY0AAAAAAAAAAAAAAAAGP//AAAAMGF2Y0MBQsAK/+EAF2dCwAqmEXsBEAAAAwAQAAADACDxImEYAQAGaMhCAZSyAAAAEHBhc3AAAAABAAAAAQAAABRidHJ0AAAAAAAABUAAAAAAAAAAGHN0dHMAAAAAAAAAAQAAAAQAAEAAAAAAFHN0c3MAAAAAAAAAAQAAAAEAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAJHN0c3oAAAAAAAAAAAAAAAQAAAKCAAAACgAAAAoAAAAKAAAAIHN0Y28AAAAAAAAABAAABlwAAAj+AAAJKAAACVIAAALZdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAgAAAAAAAH0AAAAAAAAAAAAAAAABAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAB9AAAABAAAAQAAAAACUW1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAAH0AAAIEAVcQAAAAAAC1oZGxyAAAAAAAAAABzb3VuAAAAAAAAAAAAAAAAU291bmRIYW5kbGVyAAAAAfxtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAcBzdGJsAAAAfnN0c2QAAAAAAAAAAQAAAG5tcDRhAAAAAAAAAAEAAAAAAAAAAAABABAAAAAAH0AAAAAAADZlc2RzAAAAAAOAgIAlAAIABICAgBdAFQAAAAAAH0AAAAEcBYCAgAUViFblAAaAgIABAgAAABRidHJ0AAAAAAAAH0AAAAEcAAAAIHN0dHMAAAAAAAAAAgAAACAAAAQAAAAAAQAAAQAAAAAoc3RzYwAAAAAAAAACAAAAAQAAAAEAAAABAAAAAgAAAAgAAAABAAAAmHN0c3oAAAAAAAAAAAAAACEAAAATAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAkc3RjbwAAAAAAAAAFAAAGSQAACN4AAAkIAAAJMgAACVwAAAAac2dwZAEAAAByb2xsAAAAAgAAAAH//wAAABxzYmdwAAAAAHJvbGwAAAABAAAAIQAAAAEAAABhdWR0YQAAAFltZXRhAAAAAAAAACFoZGxyAAAAAAAAAABtZGlyYXBwbAAAAAAAAAAAAAAAACxpbHN0AAAAJKl0b28AAAAcZGF0YQAAAAEAAAAATGF2ZjYzLjEuMTAyAAAACGZyZWUAAAM7bWRhdNwATGF2YzYzLjEuMTAyAAIwQA4AAAJvBgX//2vcRem95tlIt5Ys2CDZI+7veDI2NCAtIGNvcmUgMTY1IHIzMjIyIGIzNTYwNWEgLSBILjI2NC9NUEVHLTQgQVZDIGNvZGVjIC0gQ29weWxlZnQgMjAwMy0yMDI1IC0gaHR0cDovL3d3dy52aWRlb2xhbi5vcmcveDI2NC5odG1sIC0gb3B0aW9uczogY2FiYWM9MCByZWY9MTYgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDEzMSBtZT11bWggc3VibWU9MTAgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0yNCBjaHJvbWFfbWU9MSB0cmVsbGlzPTIgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz0xIGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9pbnRyYT0wIGJmcmFtZXM9MCB3ZWlnaHRwPTAga2V5aW50PTQga2V5aW50X21pbj0xIHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NCByYz1jcmYgbWJ0cmVlPTEgY3JmPTUxLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IGlwX3JhdGlvPTEuNDAgYXE9MToxLjAwAIAAAAALZYiCAv5MUAAQv8ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmhwF/UABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmioBb1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmjsBX1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBw==`,Ms=null,Ns=null;function Ps(e){e.play().catch(()=>{if(Ns||Ms!==e)return;let t=()=>{Fs(),Ms===e&&e.play().catch(()=>{})};window.addEventListener(`pointerdown`,t,{capture:!0}),Ns=()=>window.removeEventListener(`pointerdown`,t,{capture:!0})})}function Fs(){Ns?.(),Ns=null}function Is(){if(typeof document<`u`){if(!Ms){let e=document.createElement(`video`);e.muted=!0,e.loop=!0,e.playsInline=!0,e.setAttribute(`playsinline`,``),e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`data-testid`,`keep-screen-video`),e.style.cssText=`position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none`,e.src=js,document.body.appendChild(e),Ms=e}Ps(Ms)}}function Ls(){Fs(),Ms&&=(Ms.pause(),Ms.removeAttribute(`src`),Ms.remove(),null)}function Rs(){return typeof navigator>`u`?null:navigator.wakeLock??null}function zs(){return dt()||!Pn()}var Bs=new Set,Vs=null,Hs=Promise.resolve(),Us=!1;async function Ws(){if(Bs.size===0||Vs&&!Vs.released)return;let e=Rs();if(!e)dt()&&Is();else try{let t=await e.request(`screen`);t.addEventListener(`release`,()=>{Vs===t&&(Vs=null)}),Vs=t}catch{}}async function Gs(){Ls();let e=Vs;if(Vs=null,e&&!e.released)try{await e.release()}catch{}}function Ks(){Us||typeof document>`u`||(Us=!0,document.addEventListener(`visibilitychange`,()=>{document.visibilityState===`visible`&&Bs.size>0&&(Hs=Hs.then(Ws))}))}function qs(e,t){if(!zs())return;Ks();let n=Bs.size>0;t?Bs.add(e):Bs.delete(e);let r=Bs.size>0;n!==r&&(Hs=Hs.then(r?Ws:Gs))}var Js=new Set;function Ys(){if(typeof window<`u`)return window.PS5UploadPad}function Xs(e,t){let n=Js.size>0;t?Js.add(e):Js.delete(e);let r=Js.size>0;if(n!==r)try{Ys()?.setActive(r)}catch{}}var Zs=class e{constructor(e){this.receiver=e,this.last=null,this.was={}}get frames(){return Number(this.last?.frames??0)}static report(e,t){let n=t=>e[t]??0,r=e=>n(e)-(t[e]??0),i=(e,t)=>r(t)>0?Math.round(r(e)/r(t)*1e4)/10:0;return{frames:n(`framesDecoded`),dropped:n(`framesDropped`),stalls:n(`freezeCount`),stall_ms:Math.round(n(`totalFreezesDuration`)*1e3),decode_ms:i(`totalDecodeTime`,`framesDecoded`),jitter_ms:i(`jitterBufferDelay`,`jitterBufferEmittedCount`),nacks:n(`nackCount`),plis:n(`pliCount`),decoder:`track`}}snapshot(){return this.receiver.getStats().then(t=>{t.forEach(t=>{t.type===`inbound-rtp`&&t.kind===`video`&&(this.last=e.report(t,this.was),this.was={...t})})}).catch(()=>{}),this.last}},Qs=class{constructor(e){this.inner=e,this.video=document.createElement(`video`),this.wrap=document.createElement(`div`),this.media=null,this.trackStats=null,this.audio=!1,this.soundOn=!1,this.muted=!1;let t=this.video;t.muted=t.autoplay=t.playsInline=!0,t.className=`block h-full w-full object-contain`,t.dataset.testid=`track-video`,this.wrap.className=`h-full w-full`,this.wrap.append(t,e.element),this.setTrack(null)}get element(){return this.wrap}get stats(){return this.trackStats??this.inner.stats}setTrack(e,t=!1){this.media=e,this.audio=!!e&&t,this.applySound(),this.trackStats=e?new Zs(e.receiver):null,this.video.style.display=e?``:`none`,this.inner.element.style.display=e?`none`:``,this.video.srcObject!==(e?.stream??null)&&(this.video.srcObject=e?.stream??null),e&&this.play()}play(){try{this.video.play()?.catch?.(()=>{})}catch{}}onMessage(e){let t=new Uint8Array(e)[0];this.media&&t<=1||(!this.audio||t!==3&&t!==4)&&this.inner.onMessage(e)}applySound(){this.video.muted=!(this.audio&&this.soundOn&&!this.muted)}setHevc(e){this.inner.setHevc(e)}set onSoundFail(e){this.inner.onSoundFail=e}soundReport(){return this.inner.soundReport()}startSound(){this.inner.startSound(),this.soundOn=!0,this.applySound(),this.media&&this.play()}setMuted(e){this.inner.setMuted(e),this.muted=e,this.applySound()}resumeSound(){this.inner.resumeSound(),this.media&&this.video.paused&&this.play()}stop(){this.inner.stop(),this.video.srcObject=null}},$s=`ps5upload.join.muted`,ec=5e3,tc=Object.fromEntries(Object.entries(Na).filter(([e])=>e!==`Escape`)),nc=new Set;function rc(e){if(!(e.code in tc)||e.ctrlKey||e.metaKey||e.altKey)return!1;let t=e.target;if(e.code===`Tab`&&(e.shiftKey||ic(t)))return!1;let n=t?.tagName;return!(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`||t?.isContentEditable||ic(t))}function ic(e){let t=e?.tagName;if(t===`BUTTON`||t===`A`)return!0;let n=e?.getAttribute?.(`role`);return n===`button`||n===`link`||n===`menuitem`||n===`tab`||n===`switch`}var ac=!1;function oc(e){ac=e}function sc(e,t,n=null){if(!e||e.frames===0&&!t)return null;let r=e.snapshot();return r&&{...r,...t?{problem:t}:{},...n??{}}}function cc(){if(ac)return{...ja};let e=Ga(Xa(typeof navigator>`u`?void 0:navigator),So),t=gs.touchPad;return{...Ka(Ka(e,Fa(nc,tc)),t),touch:t.touch??null,motion:gs.motion??null}}var lc=class{constructor(e){this.opts=e,this.player=null,this.listeners=new Set,this.cleanups=[],this.subscribe=e=>(this.listeners.add(e),()=>this.listeners.delete(e)),this.snap={stage:{kind:`connecting`},status:null,rttMs:null,light:null,problem:null,sound:!1,noSound:!1,host:e.host,muted:dc(),path:null},this.client=new zo({url:e.url,invite:e.invite,code:e.code??null,name:e.name,WebSocketImpl:e.transport,readPad:cc,onStage:e=>{this.set({stage:e}),e.kind===`joined`&&this.readPath(),(e.kind===`refused`||e.kind===`ended`)&&this.teardown()},onStatus:e=>this.set({status:e,host:e.host??this.snap.host}),onRtt:e=>this.set({rttMs:e}),onFrame:e=>this.picture().onMessage(e),readStats:()=>sc(this.player?.stats??null,this.snap.problem,this.player?.soundReport()??null),onCodec:(e,t,n)=>{let r=this.picture();r.setHevc(e),r instanceof Qs&&(r.setTrack(t,!!n),t&&this.snap.problem&&this.set({problem:null}))},onRumble:(e,t)=>{let n=Xa(typeof navigator>`u`?void 0:navigator);qa(n,e,t),n.some(e=>e?.connected)||navigator.vibrate?.(e||t?200:0)},onLight:e=>this.set({light:e})})}picture(){if(!this.player){let e=oa(e=>this.set({problem:e}),`player`,()=>this.client.askKeyframe());this.player=this.opts.transport?new Qs(e):e,this.player.onSoundFail=()=>this.set({noSound:!0}),this.player.setMuted(this.snap.muted)}return this.player}async readPath(){let e=this.client.socket,t=this.opts.path??null;if(e?.netPath)try{t=await e.netPath()??this.opts.path??null}catch{t=null}t!==this.snap.path&&this.set({path:t})}get element(){return this.picture().element}start(){let e=()=>{document.visibilityState===`hidden`?nc.clear():this.player?.resumeSound(),this.client.setNeutral(document.visibilityState===`hidden`)},t=()=>{nc.clear(),this.client.setNeutral(!0)},n=e=>{this.client.current.kind===`joined`&&rc(e)&&(!this.opts.keysLive||this.opts.keysLive())&&(e.preventDefault(),nc.add(e.code))},r=e=>{nc.delete(e.code)&&rc(e)&&e.preventDefault()};window.addEventListener(`keydown`,n),window.addEventListener(`keyup`,r);let i=()=>{this.client.setNeutral(document.visibilityState===`hidden`),document.visibilityState!==`hidden`&&this.player?.resumeSound()};document.addEventListener(`visibilitychange`,e),window.addEventListener(`blur`,t),window.addEventListener(`focus`,i);let a=setInterval(()=>{this.client.current.kind===`joined`&&this.readPath()},ec);this.cleanups.push(()=>{clearInterval(a),document.removeEventListener(`visibilitychange`,e),window.removeEventListener(`blur`,t),window.removeEventListener(`focus`,i),window.removeEventListener(`keydown`,n),window.removeEventListener(`keyup`,r),nc.clear()}),this.client.start()}setMuted(e){this.player?.setMuted(e);try{localStorage.setItem($s,e?`1`:`0`)}catch{}this.set({muted:e})}startSound(){this.snap.sound||(this.picture().startSound(),this.set({sound:!0}))}leave(){this.client.leave(),this.teardown()}stop(){this.client.stop(),this.teardown()}teardown(){for(let e of this.cleanups.splice(0))e();gs.touchPad={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};let e=this.player;this.player=null,e&&(e.stop(),e.element.remove())}sendPad(){this.client.sendPad(!1)}get snapshot(){return this.snap}set(e){this.snap={...this.snap,...e};for(let e of this.listeners)e()}};function uc(e){return(0,D.useSyncExternalStore)(e.subscribe,()=>e.snapshot)}function dc(){try{return typeof localStorage<`u`&&localStorage.getItem($s)===`1`}catch{return!1}}function fc(e){let t=()=>{let t=e.snapshot.stage.kind,n=t!==`refused`&&t!==`ended`;qs(`play-together`,n),Xs(`play-together`,n)};t();let n=e.subscribe(t);return()=>{n(),qs(`play-together`,!1),Xs(`play-together`,!1)}}var pc=3e3,mc=class{constructor(e,t=pc){this.onChange=e,this.delay=t,this.enabled=!1,this.pinned=!1,this.sticky=!1,this.shown=!0,this.timer=null}get visible(){return!this.enabled||this.pinned||this.shown}set(e,t,n=!1){let r=this.enabled&&!this.pinned,i=this.enabled,a=this.sticky;this.enabled=e,this.pinned=t,this.sticky=n,!e||t?(this.stop(),this.show(!0)):n?(this.stop(),!i||!a?this.show(!1):r||this.show(!0)):(!r||a)&&(this.show(!0),this.arm())}poke(){this.show(!0),this.enabled&&!this.pinned&&!this.sticky&&this.arm()}toggle(){this.visible?this.hide():this.poke()}hide(){this.enabled&&!this.pinned&&(this.stop(),this.show(!1))}dispose(){this.stop()}arm(){this.stop(),this.timer=setTimeout(()=>{this.timer=null,this.show(!1)},this.delay)}stop(){this.timer!==null&&clearTimeout(this.timer),this.timer=null}show(e){this.shown!==e&&(this.shown=e,this.onChange(e))}};function hc(e,t,n=!1){let[r,i]=(0,D.useState)(!0),a=(0,D.useRef)(null);(0,D.useEffect)(()=>{let e=new mc(i);return a.current=e,()=>{e.dispose(),a.current=null}},[]),(0,D.useEffect)(()=>{a.current?.set(e,t,n)},[e,t,n]);let o=(0,D.useCallback)(()=>a.current?.poke(),[]),s=(0,D.useCallback)(()=>a.current?.hide(),[]),c=(0,D.useCallback)(()=>a.current?.toggle(),[]);return{shown:!e||t||r,poke:o,hide:s,toggle:c}}var gc=3e4,_c=class{constructor(e,t=gc){this.onChange=e,this.ms=t,this.picking=!1,this.over=!1,this.timer=null}get shown(){return this.picking&&!this.over}set(e){e!==this.picking&&(this.picking=e,this.over=!1,this.stop(),e&&(this.timer=setTimeout(()=>{this.timer=null,this.over=!0,this.onChange()},this.ms)))}stop(){this.timer&&clearTimeout(this.timer),this.timer=null}reset(){this.stop(),this.picking=!1,this.over=!1}};function vc(e){let[,t]=(0,D.useState)(0),[n]=(0,D.useState)(()=>new _c(()=>t(e=>e+1)));return(0,D.useEffect)(()=>{n.set(e),t(e=>e+1)},[n,e]),(0,D.useEffect)(()=>()=>n.reset(),[n]),n.shown}var yc=()=>Xa(typeof navigator>`u`?void 0:navigator).filter(e=>!!e?.connected);function bc(e,t){if(t.kind===`axis`)return t.which===`lx`?e(`rp_pad_step_lx`,void 0,`Push the left stick right`):t.which===`ly`?e(`rp_pad_step_ly`,void 0,`Push the left stick down`):t.which===`rx`?e(`rp_pad_step_rx`,void 0,`Push the right stick right`):e(`rp_pad_step_ry`,void 0,`Push the right stick down`);if(t.kind===`button`){if(t.bit===R.CROSS)return e(`join_check_bottom`,void 0,`Press the bottom face button (✕)`);if(t.bit===R.CIRCLE)return e(`join_check_right`,void 0,`Press the right face button (○)`);if(t.bit===R.SQUARE)return e(`join_check_left`,void 0,`Press the left face button (□)`);if(t.bit===R.TRIANGLE)return e(`join_check_top`,void 0,`Press the top face button (△)`)}return e(`rp_pad_press`,{name:t.name},`Press ${t.name}`)}function xc(e,t){let n=(0,D.useRef)(t);(0,D.useEffect)(()=>{n.current=t}),(0,D.useEffect)(()=>{if(e===null)return;let t=0,r=()=>{n.current(yc().find(t=>t.index===e)??null),t=window.requestAnimationFrame(r)};return t=window.requestAnimationFrame(r),()=>window.cancelAnimationFrame(t)},[e])}var Sc=[[R.CROSS,`✕`],[R.CIRCLE,`○`],[R.SQUARE,`□`],[R.TRIANGLE,`△`],[R.UP,`↑`],[R.DOWN,`↓`],[R.LEFT,`←`],[R.RIGHT,`→`],[R.L1,`L1`],[R.R1,`R1`],[R.L3,`L3`],[R.R3,`R3`],[R.SHARE,`Create`],[R.OPTIONS,`Options`],[R.PS,`PS`],[R.TOUCHPAD,`Touchpad`]];function Cc({pad:e}){let t=e=>`flex h-8 min-w-8 items-center justify-center rounded-md px-1.5 text-xs font-medium ${e?`bg-white text-black`:`bg-white/10 text-white/70`}`,n=(e,t,n)=>(0,z.jsxs)(`span`,{className:`relative flex h-12 w-12 items-center justify-center rounded-full bg-white/10 text-[10px] text-white/50`,children:[n,(0,z.jsx)(`span`,{className:`absolute h-3 w-3 rounded-full bg-white`,style:{left:`calc(50% + ${e/32767*18}px - 6px)`,top:`calc(50% + ${t/32767*18}px - 6px)`}})]});return(0,z.jsxs)(`div`,{className:`space-y-2`,"data-testid":`join-pad-test`,"data-buttons":e.buttons,children:[(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[Sc.map(([n,r])=>(0,z.jsx)(`span`,{className:t((e.buttons&n)!==0),"data-on":(e.buttons&n)===0?`0`:`1`,children:r},n)),(0,z.jsx)(`span`,{className:t(e.l2>30),children:`L2`}),(0,z.jsx)(`span`,{className:t(e.r2>30),children:`R2`})]}),(0,z.jsxs)(`div`,{className:`flex gap-3`,children:[n(e.lx,e.ly,`L`),n(e.rx,e.ry,`R`)]})]})}function wc({onClose:e}){let t=Ie(),[n,r]=(0,D.useState)(()=>yc().map(e=>({index:e.index,id:e.id}))),[i,a]=(0,D.useState)(()=>yc()[0]?.index??null),[o,s]=(0,D.useState)(ja),[c,l]=(0,D.useState)(null),[u,d]=(0,D.useState)(0),[f,p]=(0,D.useState)(yo),[m,h]=(0,D.useState)(null),[g,_]=(0,D.useState)(null),v=(0,D.useRef)(null);(0,D.useEffect)(()=>(oc(!0),()=>oc(!1)),[]),(0,D.useEffect)(()=>{(v.current?.querySelector(`[data-testid="join-pad-learn-start"]`)??v.current?.querySelector(`[data-testid="join-pad-check-close"]`))?.focus({preventScroll:!0})},[]),(0,D.useEffect)(()=>{let e=document.activeElement;e&&e!==document.body||v.current?.querySelector(`button:not([disabled])`)?.focus({preventScroll:!0})},[c,u]),(0,D.useEffect)(()=>{let e=()=>{let e=yc();r(t=>t.length===e.length&&t.every((t,n)=>t.id===e[n].id&&t.index===e[n].index)?t:e.map(e=>({index:e.index,id:e.id}))),a(t=>t!==null&&e.some(e=>e.index===t)?t:e[0]?.index??null)},t=window.setInterval(e,500);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(t),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),xc(i,e=>{if(_(t=>t?.id===e?.id?t:e),!e)return;if(c){c.feed(Eo(e))&&y(c,e);return}let t=Ga([e],So);s(e=>e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry?e:t)});let y=(e,n)=>{if(!e.done)return d(e.step);let r=n?.id??g?.id;l(null),r&&(p(bo(r,e.profile(n?wo(n):void 0))),h(t(`join_check_saved`,void 0,`Saved for this controller on this device. Try it below.`)))},b=()=>{h(null),d(0),l(new Fo(No))},x=g,S=x?Co(x):null,ee=!!(x&&f[x.id]);return(0,z.jsx)(`div`,{ref:v,role:`dialog`,"aria-modal":`true`,"aria-label":t(`join_check_title`,void 0,`Check your controller`),className:`absolute inset-0 z-40 flex items-center justify-center bg-black/70 p-4 backdrop-blur-sm`,"data-testid":`join-pad-check`,onPointerDown:e=>e.stopPropagation(),children:(0,z.jsxs)(`div`,{className:`w-[min(26rem,100%)] space-y-3 rounded-2xl border border-white/10 bg-neutral-900/95 p-4 text-sm text-white shadow-2xl`,children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,z.jsx)(me,{size:16,className:`text-white/70`}),(0,z.jsx)(`p`,{className:`flex-1 font-semibold`,children:t(`join_check_title`,void 0,`Check your controller`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,"aria-label":t(`join_done`,void 0,`Done`),className:`flex h-8 w-8 items-center justify-center rounded-full bg-white/10 hover:bg-white/20`,"data-testid":`join-pad-check-close`,children:(0,z.jsx)(De,{size:15})})]}),x?(0,z.jsxs)(z.Fragment,{children:[n.length>1&&(0,z.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:n.map(e=>(0,z.jsx)(`button`,{type:`button`,disabled:!!c,onClick:()=>a(e.index),className:`rounded-full px-2.5 py-1 text-xs ${e.index===i?`bg-white text-black`:`bg-white/10`}`,children:to(e.id)},`${e.index}-${e.id}`))}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`p`,{className:`truncate font-medium`,"data-testid":`join-pad-check-name`,children:to(x.id)}),(0,z.jsx)(`p`,{className:`text-xs text-white/60`,"data-testid":`join-pad-check-kind`,"data-kind":S??``,children:S===`saved`?t(`rp_pad_mapped`,void 0,`Plays with your mapping`):S===`guess`?t(`join_check_unknown`,void 0,`This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.`):t(`rp_pad_standard`,void 0,`Recognized`)}),io(x)&&(0,z.jsx)(ms,{id:x.id,className:`mt-1 block text-xs text-amber-200/90`})]}),c?(0,z.jsxs)(`div`,{className:`space-y-3`,"data-testid":`join-pad-learn`,children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`rp_pad_progress`,{n:u+1,total:c.steps.length},`${u+1} of ${c.steps.length}`)}),(0,z.jsx)(`p`,{className:`text-lg font-semibold`,"data-testid":`join-pad-learn-step`,children:c.current?bc(t,c.current):``}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.skip(),y(c,x)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-learn-skip`,children:t(`rp_pad_skip`,void 0,`Skip`)}),u>0&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.back(),d(c.step)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,children:t(`rp_pad_back`,void 0,`Back`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>l(null),className:`rounded-full px-3 py-1.5 text-xs text-white/70 hover:bg-white/10`,children:t(`rp_pad_cancel`,void 0,`Cancel`)})]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`join_check_try`,void 0,`Press buttons and move the sticks: what you press lights up.`)}),(0,z.jsx)(Cc,{pad:o}),m&&(0,z.jsx)(`p`,{className:`text-xs text-emerald-300`,role:`status`,children:m}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:b,className:`rounded-full bg-white px-3 py-1.5 text-xs font-medium text-black`,"data-testid":`join-pad-learn-start`,children:ee?t(`join_check_redo`,void 0,`Redo`):t(`join_check_map`,void 0,`Set up the buttons`)}),ee&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{p(bo(x.id,null)),h(null)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-reset`,children:t(`rp_pad_reset`,void 0,`Reset`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-check-done`,children:t(`join_done`,void 0,`Done`)})]})]})]}):(0,z.jsx)(`p`,{className:`text-white/70`,children:t(`rp_pads_none`,void 0,`No controller seen yet. Connect one and press any button on it.`)})]})})}function Tc(e,t){let[n,r]=(0,D.useState)(!1);return(0,D.useEffect)(()=>{if(!e||!t)return;let n=!0;return Be(e,Le).then(e=>{n&&!e&&r(!0)}),()=>{n=!1}},[e,t]),n}function Ec({href:e}){let t=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center`,"data-testid":`open-on-wifi`,children:[(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t(`join_open_lan_body`,void 0,`Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.`)}),(0,z.jsx)(`a`,{href:e,rel:`noreferrer`,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`open-on-wifi-link`,children:t(`join_open_lan`,void 0,`Open on this Wi-Fi`)})]})}function Dc(e){let t=Math.max(0,Math.ceil(e));return`${Math.floor(t/60)}:${String(t%60).padStart(2,`0`)}`}var Oc=`ps5upload.join.guided`,kc=1;function Ac(e){return e.player!==kc&&(!e.guided||e.movedOff)&&!e.reconnecting}function jc(e,t){switch(t){case`lan`:return e(`join_path_lan`,void 0,`Home network`);case`tailscale`:return e(`join_path_tailscale`,void 0,`Tailscale`);default:return e(`join_path_internet`,void 0,`Internet`)}}function Mc(e,t){return e(`join_seat_taken`,{host:t},`${t} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask ${t} to let you in again.`)}function Nc(e,t,n,r=!1){if(t.kind===`refused`)switch(t.why){case`key`:return e(`join_refused_key`,{host:n},`This invite has expired. Ask ${n} for a new link.`);case`expired`:return e(`join_refused_expired`,{host:n},`Your place in the game was lost. Ask ${n} to let you in again.`);case`full`:return e(`join_refused_full`,void 0,`The game is full: four players already.`);case`denied`:return e(`join_refused_denied`,{host:n},`${n} didn't let you in this time.`);case`no_answer`:return e(`join_refused_no_answer`,{host:n},`${n} didn't answer in time. Tell ${n}, then try again.`);case`closed`:return e(`join_refused_closed`,{host:n},`${n} isn't hosting Play Together right now.`);case`old_helper`:return e(`join_refused_old_helper`,{host:n},`${n}'s PS5 needs an updated helper for Play Together.`);case`not_playing`:return e(`join_refused_not_playing`,{host:n},`${n} isn't playing right now. Ask ${n} to start Play first.`);case`unreachable`:return e(`join_refused_unreachable`,{host:n},`${n}'s computer couldn't reach their PS5. Try again in a moment.`);case`slow_down`:return e(`join_refused_slow_down`,void 0,`Too many wrong codes. Wait a minute, then try again.`);case`address`:return e(`join_refused_address`,{host:n},`This link's address is outside your home network, so the app will not use it. Ask ${n} for a link with their computer's IP address.`);case`seat_taken`:return Mc(e,n);default:return e(`join_refused_other`,{host:n},`${n} didn't let you in.`)}if(t.kind===`ended`)switch(t.why){case`kicked`:return e(`join_ended_kicked`,{host:n},`${n} took you out of the game.`);case`closed`:return e(`join_ended_closed`,{host:n},`${n} closed Play Together.`);case`host_stopped`:return e(`join_ended_host_stopped`,void 0,`The host stopped playing.`);case`replaced`:return e(`join_ended_replaced`,void 0,`This game was opened in another tab or on another device, so it stopped here.`);case`pad_lost`:return e(`join_ended_pad_lost`,{host:n},`The PS5 lost your controller, so you're out of the game. Ask ${n} to let you in again.`);case`gave_up`:return e(`join_ended_gave_up`,{host:n},`The connection to ${n} didn't come back in time.`);case`lost`:return r?e(`join_net_lost`,{host:n},`The connection to ${n} dropped. Check your internet connection, then ask again.`):e(`join_ended_lost`,{host:n},`Couldn't reach ${n}. Check that you're on the same network.`);case`left`:return e(`join_ended_left`,void 0,`You left the game.`);case`seat_taken`:return Mc(e,n);case`mismatch`:return e(`join_net_mismatch`,void 0,`This link doesn't match the host; ask them for a new one.`);case`no_direct`:return e(`join_net_no_direct`,void 0,`A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.`);case`no_room`:return e(`join_net_no_room`,{host:n},`This invite isn't open any more. Ask ${n} for a new link.`);case`net_full`:return e(`join_net_full`,{host:n},`${n}'s game has no room for another friend right now. Try again in a moment.`);case`no_hub`:return e(`join_net_no_hub`,void 0,`Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.`);case`offer`:return e(`join_net_offer`,{host:n},`${n}'s computer couldn't connect to this browser. Try another browser.`);case`no_webrtc`:return e(`join_net_no_webrtc`,void 0,`This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.`)}return``}function Pc(e){let[t,n]=(0,D.useState)(()=>Date.now());return(0,D.useEffect)(()=>{if(!e)return;n(Date.now());let t=window.setInterval(()=>n(Date.now()),500);return()=>window.clearInterval(t)},[e]),t}function Fc(){let[e,t]=(0,D.useState)({ready:!1,pressed:!1,id:null,kind:null,weak8BitDo:!1});return(0,D.useEffect)(()=>{let e=()=>{let e=Xa(typeof navigator>`u`?void 0:navigator).find(e=>!!e?.connected),n=!!e,r=n?cc():null,i=!!r&&(r.buttons!==0||r.l2>30||r.r2>30),a=e?.id??null,o=e?Co(e):null,s=!!e&&io(e);t(e=>e.ready===n&&e.pressed===i&&e.id===a&&e.kind===o&&e.weak8BitDo===s?e:{ready:n,pressed:i,id:a,kind:o,weak8BitDo:s})};e();let n=window.setInterval(e,120);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(n),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),e}function Ic(e){return!!e?.closest?.(`[data-testid="rp-touch"]`)}var Lc=14,Rc=()=>typeof window<`u`&&!is()&&!!window.matchMedia?.(`(pointer: coarse)`).matches;function zc(e,t,n){return!e||e===t||e.closest?.(`[data-join-game]`)?`game`:n?.contains(e)?`controls`:`page`}function Bc(e){return e.checking?`close-check`:e.guide?`close-guide`:e.where===`game`?`show-controls`:e.full?`leave-full`:null}var Vc={good:`var(--color-good,#32d074)`,fair:`var(--color-warn,#ffb340)`,slow:`var(--color-bad,#ff6961)`,none:`rgba(255,255,255,.5)`};function Hc({text:e,body:t,onCancel:n}){let r=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-5 px-6 py-10 text-center`,"data-testid":`join-waiting`,children:[(0,z.jsxs)(`div`,{className:`relative flex h-24 w-24 items-center justify-center`,"aria-hidden":!0,children:[(0,z.jsx)(`span`,{className:`absolute inset-0 animate-ping rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`absolute inset-3 animate-pulse rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`relative flex h-14 w-14 items-center justify-center rounded-full bg-white/15`,children:(0,z.jsx)(Se,{size:26})})]}),(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-stage`,children:e}),t&&(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!0,className:`rounded-full bg-white/15 px-4 py-2 text-sm hover:bg-white/25`,"data-testid":`join-cancel`,children:r(`join_cancel`,void 0,`Cancel`)})]})}function Uc({session:e,inApp:t=!1,onLeave:n,onAgain:r,onFullscreen:i,lanUrl:a=null,hubDown:o=!1}){let s=Ie(),c=uc(e),{stage:l,status:u}=c,d=c.host??s(`join_host_fallback`,void 0,`your friend`),f=(0,D.useRef)(null),p=(0,D.useRef)(null),m=(0,D.useRef)(null),[h,g]=(0,D.useState)(!1),[_,v]=(0,D.useState)(()=>Lt(Oc)===`1`),[y,b]=(0,D.useState)(()=>typeof window<`u`&&window.innerHeight>window.innerWidth),x=Fc(),[S,ee]=(0,D.useState)(!1),C=l.kind===`reconnecting`,w=Pc(C),T=l.kind===`joined`||C,E=u?.state===`picking_user`,te=l.kind===`joined`||l.kind===`reconnecting`?l.player:0,[ne,re]=(0,D.useState)(!1),ie=(0,D.useRef)(te);(0,D.useEffect)(()=>{ie.current===kc&&te>kc&&re(!0),te&&(ie.current=te)},[te]);let[ae,oe]=(0,D.useState)(!1),[se,ce]=(0,D.useState)(!1),le=T&&(h||!t),de=Rc(),fe=vc(E),k=hc(le,C||fe&&!de||ae||se,de),{poke:he}=k,_e=(0,D.useRef)(null),ve=()=>{_e.current&&clearTimeout(_e.current.timer),_e.current=null};(0,D.useEffect)(()=>ve,[]);let[ye,A]=(0,D.useState)(!1),xe=(0,D.useRef)(!1);(0,D.useEffect)(()=>{if(!le||!de||k.shown||!_||xe.current)return;xe.current=!0,A(!0);let e=setTimeout(()=>A(!1),6e3);return()=>clearTimeout(e)},[le,de,k.shown,_]),(0,D.useEffect)(()=>{if(!T)return;let t=e.element;return f.current?.appendChild(t),()=>t.remove()},[T,e]),(0,D.useEffect)(()=>{if(!T||c.sound)return;let t=()=>e.startSound(),n=[`pointerup`,`touchend`,`click`,`keydown`];for(let e of n)window.addEventListener(e,t,!0);return()=>{for(let e of n)window.removeEventListener(e,t,!0)}},[T,c.sound,e]),(0,D.useEffect)(()=>{let e=()=>b(window.innerHeight>window.innerWidth);return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),(0,D.useEffect)(()=>{if(h)return()=>void i?.(!1)},[h,i]);let Ce=(0,D.useRef)(h);(0,D.useEffect)(()=>{Ce.current=h},[h]),(0,D.useEffect)(()=>{if(!t||!T||!Rc()||typeof window>`u`||!window.matchMedia)return;let e=window.matchMedia(`(orientation: landscape)`),n=()=>{e.matches&&!Ce.current&&(g(!0),i?.(!0))};return n(),e.addEventListener?.(`change`,n),()=>e.removeEventListener?.(`change`,n)},[t,T,i]),(0,D.useEffect)(()=>{t&&T&&is()&&!Ce.current&&(g(!0),i?.(!0))},[t,T,i]),(0,D.useEffect)(()=>{if(!T)return;let e=e=>{if(e.key!==`Escape`)return;if(S)return void Le.current();if(he(),h)return g(!1);let t=zc(document.activeElement,document.body,p.current);t===`game`?Le.current():t===`controls`&&m.current?.focus({preventScroll:!0})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[T,h,he,S]),(0,D.useEffect)(()=>{if(!h||!Rc())return;window.history.pushState(window.history.state,``);let e=window.location.href,t=!1,n=()=>{t=!0,g(!1)};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),!t&&window.location.href===e&&window.history.back()}},[h]),(0,D.useEffect)(()=>{if(!h||typeof document>`u`)return;let e=()=>{document.fullscreenElement||Rc()||g(!1)};return document.addEventListener(`fullscreenchange`,e),()=>document.removeEventListener(`fullscreenchange`,e)},[h]);let Te=is(),Ee=T&&Ac({player:te,guided:_,movedOff:ne,reconnecting:C})&&!u?.playsAs,De=async e=>{g(e),await i?.(e)},Oe=()=>m.current?.focus({preventScroll:!0}),ke=()=>{It(Oc,`1`),v(!0),re(!1)},Ae=()=>{he();let e=C?`[data-testid="join-reconnecting-leave"]`:`[data-testid="join-bar"] button`;p.current?.querySelector(e)?.focus({preventScroll:!0})},je=()=>{let e=p.current?.querySelector(`[data-testid="join-check-open"]`);e?e.focus({preventScroll:!0}):Oe(),ee(!1)},Me=()=>zc(document.activeElement,document.body,p.current),[Ne,Pe]=(0,D.useState)(`game`);(0,D.useEffect)(()=>{if(!T)return;let e=()=>Pe(Me()),t=()=>window.setTimeout(e,0);return e(),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t)}},[T]);let Fe=()=>{switch(T?Bc({checking:S,guide:Ee,where:Me(),full:h}):null){case`close-check`:return je(),!0;case`close-guide`:return ke(),Oe(),!0;case`show-controls`:return Ae(),!0;case`leave-full`:return De(!1),!0;default:return!1}},Le=(0,D.useRef)(Fe);(0,D.useEffect)(()=>{Le.current=Fe});let Re=t&&!de&&T&&Bc({checking:S,guide:Ee,where:Ne,full:h})!==null;(0,D.useEffect)(()=>{if(Re)return Xo(()=>void Le.current())},[Re]);let ze=!t&&T&&!de;(0,D.useEffect)(()=>{if(!ze)return;let e=window.location.href;window.history.pushState(window.history.state,``);let t=!0,n=()=>{if(t=!1,!Le.current())return window.history.back();window.history.pushState(window.history.state,``),t=!0};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),t&&window.location.href===e&&window.history.back()}},[ze]);let Be=l.kind===`joined`;(0,D.useEffect)(()=>{if(!Be)return;let e=document.activeElement;if(e&&e!==document.body)return;let t=Te&&Ee?p.current?.querySelector(`[data-testid="join-guide-ok"]`):null;t?t.focus({preventScroll:!0}):Oe()},[Be]),(0,D.useEffect)(()=>{x.pressed&&T&&!S&&Me()===`controls`&&Oe()},[x.pressed]);let Ve=()=>{e.leave(),n()};if(l.kind===`connecting`||l.kind===`asking`)return(0,z.jsxs)(`div`,{className:t?`rounded-[var(--radius-card)] bg-neutral-900 text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black text-white`,"data-join-ui":``,children:[l.kind===`connecting`&&o&&a&&(0,z.jsx)(Ec,{href:a}),(0,z.jsx)(Hc,{text:l.kind===`connecting`?s(`join_connecting`,{host:d},`Connecting to ${d}…`):s(`join_waiting`,{host:d},`Waiting for ${d} to let you in`),body:l.kind===`asking`?s(`join_waiting_body`,{host:d},`${d} sees your name on their screen and taps Allow.`):void 0,onCancel:Ve})]});if(l.kind===`refused`||l.kind===`ended`){let i=l.kind===`refused`||l.why!==`left`&&l.why!==`mismatch`;return(0,z.jsxs)(`div`,{className:t?`flex flex-col items-center gap-4 rounded-[var(--radius-card)] bg-neutral-900 px-6 py-10 text-center text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black px-6 text-center text-white`,"data-testid":`join-ended`,"data-why":l.why,"data-join-ui":``,children:[(0,z.jsx)(Se,{size:28,className:`text-white/60`}),(0,z.jsx)(`p`,{className:`max-w-sm text-base`,"data-testid":`join-ended-text`,children:Nc(s,l,d,e.opts.internet??!!e.opts.transport)}),a&&l.why===`no_hub`&&(0,z.jsx)(Ec,{href:a}),(0,z.jsxs)(`div`,{className:`flex flex-wrap justify-center gap-2`,children:[i&&(0,z.jsx)(`button`,{type:`button`,onClick:r,autoFocus:!0,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`join-again`,children:l.kind===`refused`&&l.why===`not_playing`?s(`join_retry`,void 0,`Try again`):s(`join_again`,void 0,`Ask to join again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!i,className:`rounded-full bg-white/15 px-4 py-2 text-sm`,"data-testid":`join-done`,children:s(`join_done`,void 0,`Done`)})]})]})}let He=l.player,Ue=c.light??at(He),We=c.rttMs??u?.rttMs??null,Ge=it(We),Ke=Rc(),qe=T&&!C&&!x.ready&&Ke&&(!t||h),Je=Ac({player:He,guided:_,movedOff:ne,reconnecting:C}),Ye=He===kc,Xe=u?.playsAs??null,Ze=C?(l.deadline-w)/1e3:0,Qe=()=>De(!h),$e=t&&!h&&Ke&&T,et=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`span`,{className:`flex items-center gap-1.5 rounded-full bg-black/60 px-2.5 py-1 font-medium`,"data-testid":`join-player`,children:[(0,z.jsx)(`span`,{className:`inline-block h-2.5 w-2.5 rounded-full`,style:{background:`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`}}),t&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[s(`join_playing_at`,{host:d},`Playing at ${d}'s`),` · `]}),s(`join_you_are`,{n:He},`You are Player ${He}`)]}),We!=null&&(0,z.jsxs)(`span`,{className:`rounded-full bg-black/60 px-2 py-1 tabular-nums`,style:{color:Vc[Ge]},"data-testid":`join-delay`,"data-tone":Ge,"data-path":c.path??void 0,children:[c.path&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[jc(s,c.path),` · `]}),Math.round(We),` ms`]}),Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-stream`,children:s(`join_seat_stream`,{host:d},`You're playing as ${d}'s PS5 user. No need to pick one.`)}),Xe&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-plays-as`,children:s(`join_plays_as`,{profile:Xe},`You're playing as ${Xe}. No need to pick one.`)}),E&&!Ye&&u?.seatNote&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-note`,children:s(`join_seat_tv_asks`,{host:d},`${d} chose a profile for you, but it couldn't be used. The TV will ask who you are.`)}),E&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-picking`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)})]}),tt=(0,z.jsxs)(z.Fragment,{children:[le&&de&&k.shown&&!C&&(0,z.jsxs)(`button`,{type:`button`,onClick:k.hide,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 font-medium`,"data-testid":`join-hide-controls`,children:[(0,z.jsx)(pe,{size:13}),s(`join_hide_controls`,void 0,`Hide`)]}),!c.sound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex items-center gap-1 rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-sound`,children:[(0,z.jsx)(we,{size:13}),s(`join_sound`,void 0,`Tap for sound`)]}),c.sound&&!c.noSound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-mute`,children:[c.muted?(0,z.jsx)(M,{size:13}):(0,z.jsx)(we,{size:13}),c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`)]}),c.noSound&&(0,z.jsxs)(`span`,{className:`flex items-center gap-1 rounded-full bg-black/60 px-2.5 py-1 text-white/80`,"data-testid":`join-no-sound`,children:[(0,z.jsx)(M,{size:13}),s(`join_no_sound`,void 0,`No sound in this browser`)]}),(t||typeof document<`u`&&!!document.documentElement.requestFullscreen)&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>void Qe(),"aria-label":h?s(`join_exit_fullscreen`,void 0,`Leave full screen`):s(`pad_fill`,void 0,`Full screen`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-full`,children:h?(0,z.jsx)(be,{size:13}):(0,z.jsx)(O,{size:13})}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),"aria-label":s(`join_check_title`,void 0,`Check your controller`),title:s(`join_check_title`,void 0,`Check your controller`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-check-open`,children:(0,z.jsx)(me,{size:13})}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex items-center gap-1 rounded-full bg-[var(--color-danger,#dc2626)] px-3 py-1 font-medium`,"data-testid":`join-leave`,children:[(0,z.jsx)(ge,{size:13}),s(`join_leave`,void 0,`Leave`)]})]}),nt=k.shown?`opacity-100`:`pointer-events-none opacity-0`,rt={"data-testid":`join-bar`,"data-shown":k.shown?`1`:`0`,onFocus:e=>{(Te||e.target.matches?.(`:focus-visible`))&&ce(!0)},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||ce(!1)},onPointerEnter:e=>{e.pointerType===`mouse`&&oe(!0)},onPointerLeave:()=>oe(!1)},ot=h||!t?`fixed inset-0 z-[200] bg-black`:`relative mx-auto aspect-video w-full max-w-[max(20rem,calc((100dvh_-_22rem)*16/9))] overflow-hidden rounded-[var(--radius-card)] bg-black shadow-[var(--shadow-2)]`,st=t&&h;return(0,z.jsxs)(`div`,{className:`space-y-2`,ref:p,"data-join-ui":``,children:[(0,z.jsxs)(`div`,{className:`${ot} select-none text-white [-webkit-touch-callout:none]`,style:{touchAction:`none`},role:st?`dialog`:void 0,"aria-modal":st?!0:void 0,"aria-label":st?s(`pad_fill`,void 0,`Full screen`):void 0,onPointerMove:e=>{if(e.pointerType===`mouse`)return he();let t=_e.current;t&&t.id===e.pointerId&&Math.hypot(e.clientX-t.x,e.clientY-t.y)>Lc&&ve()},onPointerDown:e=>{if(Ic(e.target))return;if(e.pointerType===`mouse`||!de)return he();if(e.target.closest?.(`[data-testid="join-bar"], button, a, input, [role="button"]`))return;ve();let{pointerId:t,clientX:n,clientY:r}=e;_e.current={id:t,x:n,y:r,timer:setTimeout(()=>{_e.current=null,navigator.vibrate?.(15),k.toggle()},450)}},onPointerUp:ve,onPointerCancel:ve,onPointerLeave:ve,"data-testid":`join-stage-view`,children:[(0,z.jsx)(`div`,{ref:f,className:`pointer-events-none absolute inset-0 z-0 flex items-center justify-center`,"aria-hidden":!0}),le&&!k.shown&&!C&&We!=null&&(0,z.jsxs)(`span`,{className:`pointer-events-none absolute z-10 rounded-full bg-black/40 px-1.5 py-0.5 text-[10px] leading-none tabular-nums`,style:{color:Vc[Ge],top:`max(0.5rem, env(safe-area-inset-top))`,right:`max(0.5rem, env(safe-area-inset-right))`},"data-testid":`join-delay-corner`,children:[Math.round(We),` ms`]}),qe?(0,z.jsxs)(`div`,{className:`absolute left-1/2 top-1/2 z-20 flex w-max max-w-[min(24rem,calc(100%-2rem))] -translate-x-1/2 -translate-y-1/2 flex-col items-center gap-2 rounded-2xl bg-black/70 p-3 text-xs backdrop-blur-sm transition-opacity duration-300 ${nt}`,...rt,children:[(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:et}),(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:tt})]}):$e?null:(0,z.jsxs)(`div`,{className:`absolute inset-x-0 top-0 z-20 flex flex-wrap items-center gap-2 bg-gradient-to-b from-black/70 to-transparent px-3 pb-5 pt-[max(8px,env(safe-area-inset-top))] text-xs transition-opacity duration-300 ${nt}`,...rt,children:[et,(0,z.jsx)(`span`,{className:`flex-1`}),tt]}),!k.shown&&!qe&&(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),he()},"aria-label":s(`join_show_controls`,void 0,`Show controls`),className:`absolute left-1/2 top-[max(6px,env(safe-area-inset-top))] z-20 flex h-7 w-11 -translate-x-1/2 items-center justify-center rounded-full bg-black/40 text-white/70 opacity-60 hover:opacity-100 focus-visible:opacity-100`,"data-testid":`join-show-controls`,children:(0,z.jsx)(ue,{size:16,"aria-hidden":!0})}),ye&&!k.shown&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-[max(10px,env(safe-area-inset-top))] z-20 -translate-x-1/2 rounded-full bg-black/60 px-3 py-1 text-xs text-white/85`,"data-testid":`join-hold-hint`,children:s(`join_hold_hint`,void 0,`Press and hold the picture to show the buttons`)}),c.problem&&(0,z.jsx)(`p`,{className:`absolute inset-x-4 top-1/2 z-10 -translate-y-1/2 text-center text-sm text-white/85`,"data-testid":`join-problem`,children:c.problem===`no_hevc`?s(`pad_watch_no_hevc`,void 0,`This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.`):s(`pad_watch_decode`,void 0,`The picture could not be played here.`)}),S&&(0,z.jsx)(wc,{onClose:je}),qe&&(0,z.jsx)(As,{stream:e,layout:`overlay`,onMenu:()=>k.shown?k.hide():he()}),!qe&&!C&&(0,z.jsxs)(`div`,{className:`absolute bottom-3 left-3 z-20 flex items-center gap-2 rounded-2xl bg-black/70 px-3 py-1.5 text-xs transition-opacity duration-300 ${nt}`,"data-testid":`join-pad`,children:[(0,z.jsx)(me,{size:14,style:{color:x.pressed?`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`:void 0}}),x.ready?(0,z.jsxs)(`span`,{className:`flex flex-col items-start gap-1`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_ready`,void 0,`Your controller is ready`)}),x.weak8BitDo&&x.id&&(0,z.jsx)(ms,{id:x.id,className:`text-amber-200/90`}),x.kind===`guess`&&no()&&(0,z.jsxs)(`span`,{className:`flex flex-wrap items-center gap-2 text-white/75`,"data-testid":`join-pad-unknown`,children:[s(`join_check_unknown_short`,void 0,`Not on our list: buttons may be mixed up.`),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),className:`rounded-full bg-white px-2.5 py-0.5 font-medium text-black`,"data-testid":`join-pad-unknown-check`,children:s(`join_check_title`,void 0,`Check your controller`)})]})]}):Ke&&t&&!h?s(`join_full_to_play`,void 0,`Tap full screen to play with the on-screen controller.`):(0,z.jsxs)(`span`,{className:`flex flex-col`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_none`,void 0,`Connect a controller (USB or Bluetooth) and press any button.`)}),(0,z.jsx)(`span`,{className:`text-white/60`,"data-testid":`join-pad-keys`,children:s(`join_pad_keys`,void 0,`Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.`)})]}),Te&&(0,z.jsx)(`span`,{className:`max-w-[14rem] border-l border-white/20 pl-2 text-white/70`,"data-testid":`join-tv-back`,children:s(`join_tv_back_hint`,void 0,`Press Back on the remote for the buttons.`)})]}),u?.blockSystem&&u.state===`playing`&&!qe&&(0,z.jsx)(`p`,{className:`absolute bottom-3 right-3 z-20 rounded-full bg-black/60 px-3 py-1 text-[11px] text-white/70 transition-opacity duration-300 ${nt}`,"data-testid":`join-blocked`,children:s(`join_block_note`,{host:d},`${d} turned off PS and Create for friends.`)}),fe&&!Ye&&de&&!k.shown&&!C&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-2 z-20 -translate-x-1/2 whitespace-nowrap rounded-full bg-white/90 px-2.5 py-1 text-xs font-medium text-black`,"data-testid":`join-picking-note`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)}),Je&&!Xe&&(0,z.jsxs)(`div`,{className:`absolute bottom-14 left-1/2 z-30 w-[min(22rem,calc(100%-2rem))] -translate-x-1/2 rounded-2xl border border-white/10 bg-neutral-900/90 p-4 text-sm shadow-2xl backdrop-blur-md`,"data-testid":`join-guide`,children:[(0,z.jsx)(`p`,{className:`font-semibold`,children:s(`join_guide_title`,void 0,`One more step on the TV`)}),(0,z.jsx)(`p`,{className:`mt-1 text-white/75`,children:s(`join_guide_body`,void 0,`On your controller, press PS once. The TV asks "Who's using this controller?". Pick Quick Play or your own user. The host doesn't need to do anything.`)}),(0,z.jsx)(`p`,{className:`mt-1 text-white/60`,children:s(`join_guide_menus`,void 0,`On the PS5's home screen only the host controls the menus; your controller plays inside games.`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>{ke(),Oe()},className:`mt-3 rounded-full bg-white px-3 py-1 text-xs font-medium text-black`,"data-testid":`join-guide-ok`,children:s(`join_guide_ok`,void 0,`Got it`)})]}),C&&(0,z.jsxs)(`div`,{className:`absolute inset-0 z-30 flex flex-col items-center justify-center gap-3 bg-black/70 px-6 text-center`,"data-testid":`join-reconnecting`,children:[(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`absolute right-3 top-[max(10px,env(safe-area-inset-top))] flex items-center gap-1 rounded-full bg-white/15 px-3 py-1.5 text-sm font-medium hover:bg-white/25`,"data-testid":`join-reconnecting-leave`,children:[(0,z.jsx)(ge,{size:14}),s(`join_leave`,void 0,`Leave`)]}),(0,z.jsx)(`span`,{className:`h-7 w-7 animate-spin rounded-full border-2 border-white/30 border-t-white`,"aria-hidden":!0}),l.hostStopped?(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-host-away`,children:s(`join_host_away`,{time:Dc(Ze)},`The host stopped playing — waiting for them to start again (${Dc(Ze)})`)}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-base font-medium`,children:s(`join_reconnecting`,void 0,`Reconnecting…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/70`,"data-testid":`join-reconnecting-left`,children:s(`join_reconnecting_left`,{time:Dc(Ze)},`Your place is kept for ${Dc(Ze)}.`)})]})]}),!t&&T&&y&&Ke&&(0,z.jsx)(`div`,{className:`pointer-events-none absolute inset-x-0 bottom-16 z-20 flex justify-center`,children:(0,z.jsxs)(`span`,{className:`flex items-center gap-2 rounded-full bg-black/70 px-3 py-1.5 text-xs text-white/85`,children:[(0,z.jsx)(j,{size:14}),s(`pad_turn`,void 0,`Turn the phone sideways`)]})}),(0,z.jsx)(`div`,{ref:m,tabIndex:0,"data-own-arrows":``,"data-join-game":``,"aria-label":s(`join_game_label`,{host:d},`${d}'s game`),className:`pointer-events-none absolute inset-0 outline-none`,"data-testid":`join-game`})]}),$e&&(0,z.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 rounded-[var(--radius-card)] bg-neutral-900 px-3 py-2 text-xs text-white`,"data-testid":`join-bar`,"data-shown":`1`,"data-below":`1`,children:[(0,z.jsx)(`div`,{className:`flex w-full min-w-0 flex-wrap items-center gap-2`,children:et}),(0,z.jsxs)(`button`,{type:`button`,onClick:()=>void Qe(),className:`flex h-11 min-w-0 flex-1 items-center justify-center gap-1.5 rounded-full bg-white/15 px-3 text-sm font-medium hover:bg-white/25`,"data-testid":`join-fullscreen-below`,children:[(0,z.jsx)(O,{size:15}),s(`pad_fill`,void 0,`Full screen`)]}),c.sound&&!c.noSound?(0,z.jsx)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,"aria-label":c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`),className:`flex h-11 w-11 items-center justify-center rounded-full bg-white/15 hover:bg-white/25`,children:c.muted?(0,z.jsx)(M,{size:16}):(0,z.jsx)(we,{size:16})}):c.sound?null:(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-white px-3 text-sm font-medium text-black`,children:[(0,z.jsx)(we,{size:15}),s(`join_sound`,void 0,`Tap for sound`)]}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-[var(--color-danger,#dc2626)] px-4 text-sm font-medium`,"data-testid":`join-leave-below`,children:[(0,z.jsx)(ge,{size:15}),s(`join_leave`,void 0,`Leave`)]})]})]})}var Wc=`ps5upload.join.name`;function Gc(e){return/iPhone/.test(e)?`iPhone`:/iPad/.test(e)?`iPad`:/Android/.test(e)?`Android`:``}function Kc(e){return e.trim().slice(0,32)}function qc(e=``){return Kc(Lt(`ps5upload.join.name`)??``)||e}function Jc(e){let t=Kc(e);return t&&It(Wc,t),t}function Yc(e){try{return!!sessionStorage.getItem(Ro(e))}catch{return!1}}async function Xc(e){try{e?(await document.documentElement.requestFullscreen?.({navigationUI:`hide`}),await screen.orientation.lock?.(`landscape`)):document.fullscreenElement&&await document.exitFullscreen()}catch{}}function Zc({url:e,invite:t,host:n,transport:r,lanUrl:i=null,path:a=null,internet:o}){let s=Ie(),c=Tc(r&&o!==!1?e:null,i),[l,u]=(0,D.useState)(()=>qc(Gc(typeof navigator>`u`?``:navigator.userAgent))),[d,f]=(0,D.useState)(null),[p,m]=(0,D.useState)(0),h=(0,D.useCallback)(e=>{if(!e)return;let t=typeof window<`u`&&!!window.matchMedia?.(`(pointer: coarse)`).matches,n=e.querySelector(`[data-testid="join-name"]`)?.value.trim()?`join-go`:t?null:`join-name`;n&&e.querySelector(`[data-testid="${n}"]`)?.focus({preventScroll:!0})},[]),g=i=>{let s=Jc(i);if(!s)return;let c=new lc({url:e,invite:t,name:s,host:n,transport:r,path:a,...o===void 0?{}:{internet:o}});f(c),m(e=>e+1),c.start()};if((0,D.useEffect)(()=>{!d&&Yc(t)&&l.trim()&&g(l)},[]),(0,D.useEffect)(()=>d?fc(d):void 0,[d]),(0,D.useEffect)(()=>{if(!d)return;let e=()=>d.stop();return window.addEventListener(`pagehide`,e),()=>window.removeEventListener(`pagehide`,e)},[d]),d)return(0,z.jsx)(Uc,{session:d,lanUrl:i,hubDown:c,onLeave:()=>f(null),onAgain:()=>{d.stop(),g(l)},onFullscreen:Xc},p);let _=n??s(`join_host_fallback`,void 0,`your friend`),v=(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`join-name-step`,"data-join-ui":``,children:(0,z.jsxs)(`form`,{ref:h,className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,onSubmit:e=>{e.preventDefault(),g(l)},children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,z.jsx)(`span`,{className:`flex h-10 w-10 items-center justify-center rounded-full bg-white/10`,children:(0,z.jsx)(Se,{size:20})}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:s(`join_title`,void 0,`Join a friend's game`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:s(`join_title_body`,{host:_},`Play on ${_}'s PS5 as Player 2, 3 or 4.`)})]})]}),(0,z.jsxs)(`label`,{className:`block space-y-1.5`,children:[(0,z.jsx)(`span`,{className:`text-sm font-medium`,children:s(`join_name_label`,void 0,`Your name`)}),(0,z.jsx)(`input`,{value:l,onChange:e=>u(e.target.value),maxLength:32,autoComplete:`nickname`,className:`block w-full rounded-lg border border-white/15 bg-black px-3 py-2 text-base outline-none focus:border-white/50`,"data-testid":`join-name`}),(0,z.jsx)(`span`,{className:`block text-xs text-white/50`,children:s(`join_name_hint`,void 0,`Your friend sees this when you ask to join.`)})]}),(0,z.jsx)(`button`,{type:`submit`,disabled:!l.trim(),className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black disabled:opacity-40`,"data-testid":`join-go`,children:s(`join_button`,void 0,`Join`)}),c&&i&&(0,z.jsx)(Ec,{href:i})]})});return t?(0,z.jsx)(Wo,{appLink:rt(location.href),children:v}):v}function Qc(e){let t=(e??``).trim().replace(/^\[|\]$/g,``).toLowerCase(),n=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/.exec(t);if(n){let e=n.slice(1).map(Number);if(e.some(e=>e>255))return null;let[t,r]=e;return t===10||t===172&&r>=16&&r<32||t===192&&r===168||t===169&&r===254||t===127?0:t===100&&r>=64&&r<128?1:2}if(!t.includes(`:`)||!/^[0-9a-f:.]+$/.test(t))return null;if(t.startsWith(`fd7a:115c:a1e0:`))return 1;let r=parseInt(t.split(`:`)[0]||`0`,16);return(r&65024)==64512||(r&65472)==65152||t===`::1`?0:2}function $c(e,t){let n=Qc(e),r=Qc(t);return n===1||r===1?`tailscale`:r===0?`lan`:r===2?`internet`:null}function el(e){let t=(e??``).toLowerCase();if(t.endsWith(`.local`))return`lan`;if(t.endsWith(`.ts.net`))return`tailscale`;let n=Qc(t);return n===0?`lan`:n===1?`tailscale`:null}function tl(e){let t=[];if(typeof e.forEach==`function`)e.forEach(e=>t.push(e));else for(let n of e)t.push(n);let n=new Map(t.map(e=>[String(e.id),e])),r=t.filter(e=>e.type===`candidate-pair`),i=t.filter(e=>e.type===`transport`&&typeof e.selectedCandidatePairId==`string`).map(e=>n.get(String(e.selectedCandidatePairId))).find(Boolean)??r.find(e=>e.selected===!0)??r.find(e=>e.nominated===!0&&e.state===`succeeded`);if(!i)return null;let a=e=>{let t=n.get(String(e));if(!t)return null;let r=t.address??t.ip;return typeof r==`string`?r:null};return $c(a(i.localCandidateId),a(i.remoteCandidateId))}function nl(e){let t=e.replace(/:\d+$/,``).replace(/^\[|\]$/g,``);return`${t===`localhost`||t===`127.0.0.1`||t===`::1`?`ws`:`wss`}://${e}/ws`}function rl(e){let t=new Set;for(let n of e.matchAll(/^a=fingerprint:sha-256[ \t]+([0-9A-Fa-f:]+)[ \t]*\r?$/gim))t.add(n[1].toUpperCase());return/^a=fingerprint:(?!sha-256[ \t])/im.test(e)?null:t.size===1?[...t][0]:null}function il(e,t){let n=rl(e);return n!==null&&n===t.toUpperCase()}var al=16777216;function ol(e){let t=16383,n=Math.max(1,Math.ceil(e.length/t)),r=[];for(let i=0;ithis.max)return this.parts=[],this.size=0,{kind:`error`,why:`too_big`};if(this.parts.push(r.slice()),this.size+=r.length,n===1)return{kind:`partial`};let i=new Uint8Array(this.size),a=0;for(let e of this.parts)i.set(e,a),a+=e.length;return this.parts=[],this.size=0,{kind:`message`,data:i.buffer}}};function cl(e){let t=new Uint8Array(9);return t[0]=3,t.set(e.subarray(0,8),1),t}var ll=[`stun:stun.cloudflare.com:3478`,`stun:stun.l.google.com:19302`];function ul(e){let t=e.trim().replace(/^a=/,``).split(/\s+/);return t.length<8||t[6]!==`typ`||t[2].toLowerCase()===`udp`&&!t[4].toLowerCase().endsWith(`.local`)}var dl=1500,fl=2e4;function pl(e){let t=e?.codecs??[],n=e=>t.filter(t=>t.mimeType.toLowerCase()===e);return[...n(`video/h264`),...n(`video/h265`),...n(`video/rtx`)]}var ml=null;function hl(e){e.onopen=e.onmessage=e.onclose=e.onerror=null;try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}function gl(e,t={}){let n=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket);if(!n||ml)return;let r=nl(e.hub),i;try{i=new n(r)}catch{return}let a={url:r,room:e.room,ws:i,msgs:[],timer:null};ml=a;let o=()=>{ml===a&&(ml=null,a.timer&&clearTimeout(a.timer),hl(i))};i.onopen=()=>i.send(JSON.stringify({v:1,t:`join`,room:e.room})),i.onmessage=e=>{if(typeof e.data==`string`)try{a.msgs.push(JSON.parse(e.data))}catch{}},i.onclose=o,i.onerror=()=>{},a.timer=setTimeout(o,t.keepMs??6e4)}function _l(e,t){let n=ml;return n?(ml=null,n.timer&&clearTimeout(n.timer),n.url!==e||n.room!==t||n.ws.readyState>1||n.msgs.some(e=>e.t===`error`||e.t===`closed`)?(hl(n.ws),null):{ws:n.ws,msgs:n.msgs}):null}function vl(e,t={}){var n;let r=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket),i=t.PeerConnection??(typeof RTCPeerConnection>`u`?void 0:RTCPeerConnection),a=t.iceTimeoutMs??15e3,o=t.log??(()=>{});class s{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.hub=null,this.pc=null,this.dc=null,this.timer=null,this.rx=new sl,this.answered=!1,this.early=[],this.hubBackUntil=0,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[],this.media=null,setTimeout(()=>this.begin(),0)}begin(){if(this.readyState!==0)return;if(!i||!r){this.fail(`no_webrtc`);return}let n=t.signalUrl??nl(e.hub),a=t.signalUrl||t.lan?null:_l(n,e.room),s;if(a)s=a.ws,o(`hub: joined early`);else try{s=new r(n)}catch{this.fail(`no_hub`);return}if(this.hub=s,this.prepare(),this.readyState===0){s.onopen=()=>s.send(JSON.stringify(t.lan?{v:1,t:`join`,lan:!0}:{v:1,t:`join`,room:e.room})),s.onmessage=e=>{if(typeof e.data!=`string`)return;let t;try{t=JSON.parse(e.data)}catch{return}this.onHub(t)},s.onclose=e=>{this.hub===s&&(this.hub=null,this.readyState===0&&(this.answered||e?.code===1001&&this.hubRestarting()||this.fail(`no_hub`)))},s.onerror=()=>{};for(let e of a?.msgs??[])this.onHub(e)}}signal(e){let t=this.hub;t&&t.readyState===1&&t.send(JSON.stringify({t:`signal`,to:`host`,data:e}))}onHub(e){if(this.readyState===0)switch(e.t){case`joined`:o(`hub: joined room as ${e.gid??`?`}`),this.sendOffer();return;case`signal`:e.from===`host`&&e.data&&typeof e.data==`object`&&this.onSignal(e.data);return;case`closed`:this.fail(`no_room`);return;case`error`:if(o(`hub: error ${e.why??`?`}`),e.why===`no_room`&&this.hubBackUntil&&this.hubRestarting())return;this.fail(e.why===`no_room`?`no_room`:e.why===`room_full`?`net_full`:`no_hub`);return}}prepare(){if(!i)return;this.offerSent=!1,this.ownEarly=[];let e;try{e=new i({iceServers:[{urls:ll}]})}catch{this.fail(`no_webrtc`);return}this.pc=e;let n=e.createDataChannel(t.label??`join`,{ordered:!0});if(n.binaryType=`arraybuffer`,this.dc=n,n.onopen=()=>this.opened(n),n.onmessage=e=>this.fromChannel(e.data),n.onclose=()=>{this.dc===n&&this.dropped()},t.video&&e.addTransceiver){try{let t=e.addTransceiver(`video`,{direction:`recvonly`}),n=pl(globalThis.RTCRtpReceiver?.getCapabilities?.(`video`));n.length&&t.setCodecPreferences&&t.setCodecPreferences(n)}catch{}try{e.addTransceiver(`audio`,{direction:`recvonly`})}catch{}e.ontrack=t=>{if(this.pc!==e)return;let n=this.media?.stream??t.streams[0]??new MediaStream;n.getTracks().includes(t.track)||n.addTrack(t.track),this.media=t.track.kind===`audio`?{stream:n,receiver:this.media?.receiver??t.receiver,audio:t.receiver}:{stream:n,receiver:t.receiver,...this.media?.audio?{audio:this.media.audio}:{}}}}e.onicecandidate=t=>{if(this.pc!==e)return;let n=t.candidate;if(!n||!n.candidate||!ul(n.candidate))return;let r={type:`candidate`,candidate:n.candidate,sdpMid:n.sdpMid??`0`};this.offerSent?this.signal(r):this.ownEarly.push(r)},e.oniceconnectionstatechange=()=>{if(this.pc!==e)return;let t=e.iceConnectionState;o(`ice: ${t}`),t===`failed`&&(this.readyState===0?this.fail(`no_direct`):this.dropped())},this.offerSdp=(async()=>{let t=await e.createOffer();return await e.setLocalDescription(t),e.localDescription?.sdp??t.sdp??``})().catch(()=>(this.pc===e&&this.fail(`no_webrtc`),null))}async sendOffer(){let e=this.pc,t=this.offerSdp;if(!e||!t||this.offerSent)return;this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,this.readyState===0&&this.fail(`no_direct`)},a);let n=await t;if(this.pc===e&&n!==null&&this.readyState===0){this.signal({type:`offer`,sdp:n}),this.offerSent=!0;for(let e of this.ownEarly.splice(0))this.signal(e)}}async onSignal(t){let n=this.pc;if(t.type===`bye`)this.fail(t.why===`full`?`net_full`:`offer`);else if(n){if(t.type===`answer`){if(this.answered||typeof t.sdp!=`string`)return;if(e.fp?!il(t.sdp,e.fp):rl(t.sdp)===null){o(`answer: fingerprint does not match the link`),this.fail(`mismatch`);return}this.answered=!0;try{await n.setRemoteDescription({type:`answer`,sdp:t.sdp});for(let e of this.early.splice(0))await n.addIceCandidate(e).catch(()=>{})}catch{this.fail(`offer`)}}else if(t.type===`candidate`&&typeof t.candidate==`string`&&t.candidate){let e={candidate:t.candidate,sdpMid:typeof t.sdpMid==`string`?t.sdpMid:`0`,sdpMLineIndex:typeof t.sdpMLineIndex==`number`?t.sdpMLineIndex:0};this.answered?await n.addIceCandidate(e).catch(()=>{}):this.early.push(e)}}}opened(e){this.dc===e&&this.readyState===0&&(this.clearTimer(),this.readyState=1,o(`channel open`),this.leaveHub(),this.onopen?.(new Event(`open`)))}fromChannel(e){if(this.readyState!==1)return;if(typeof e==`string`){this.onmessage?.(new MessageEvent(`message`,{data:e}));return}if(!(e instanceof ArrayBuffer))return;let t=this.rx.push(e);switch(t.kind){case`ping`:try{this.dc?.send(cl(t.data))}catch{}return;case`message`:this.onmessage?.(new MessageEvent(`message`,{data:t.data}));return;case`error`:o(`channel: bad binary message (${t.why})`),this.dropped();return;default:return}}async netPath(){let e=this.pc;if(!e||this.readyState!==1||typeof e.getStats!=`function`)return null;try{return tl(await e.getStats())}catch{return null}}send(e){let t=this.dc;if(this.readyState!==1||!t||t.readyState!==`open`)throw Error(`not open`);if(typeof e==`string`){t.send(e);return}let n=ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e);for(let e of ol(n))t.send(e)}close(){this.readyState!==3&&(this.teardown(),this.emitClose(1e3,``,!0))}clearTimer(){this.timer&&clearTimeout(this.timer),this.timer=null}leaveHub(){let e=this.hub;if(this.hub=null,e)try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}hubRestarting(){let e=Date.now();return this.hubBackUntil||=e+fl,e>=this.hubBackUntil?!1:(o(`hub: restarting, trying again`),this.clearTimer(),this.leaveHub(),this.closePeer(),this.answered=!1,this.early=[],this.timer=setTimeout(()=>{this.timer=null,this.begin()},dl),!0)}teardown(){this.readyState=3,this.clearTimer(),this.leaveHub(),this.closePeer()}closePeer(){let e=this.pc,t=this.dc;this.pc=null,this.dc=null,this.media=null,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[];try{t?.close()}catch{}try{e?.close()}catch{}}dropped(){this.readyState!==3&&(this.teardown(),this.emitClose(1006,``,!1))}fail(e){this.readyState!==3&&(o(`failed: ${e}`),this.teardown(),this.emitClose(He,`net:${e}`,!1))}emitClose(e,t,n){let r=this.onclose;if(!r)return;let i=typeof CloseEvent>`u`?{type:`close`,code:e,reason:t,wasClean:n}:new CloseEvent(`close`,{code:e,reason:t,wasClean:n});setTimeout(()=>r(i),0)}}return n=s,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,s}var yl=3e3;function H(e,t){return/^https?:\/\/[^/?#]+(\/[^?#]*)?\/join\/?$/.test(e)?e.replace(/^http/,`ws`).replace(/\/join\/?$/,`/${t}`):null}var bl=e=>H(e,`api/join/signal`);function xl(e){let t=[];if(e.rtc){let n=e.net??{room:``,key:``,fp:e.fp??``,hub:``};for(let[r,i]of[[`lan`,e.lan],[`tailscale`,e.ts]]){let a=i?bl(i):null;if(!a)continue;let o=e.rtcMake(n,{signalUrl:e.reach(a),...e.net?{}:{lan:!0}});t.push({via:r,make:()=>new o(``),pinned:!!n.fp})}if(e.net){let n=e.rtcMake(e.net,{});t.push({via:`hub`,make:()=>new n(``),pinned:!0})}}let n=e.lan?H(e.lan,`api/join/ws`):null;if(n){let r=e.reach(n);t.push({via:`socket`,make:()=>e.socket(r)})}return t}var Sl=new Map;function Cl(e,t,n=300,r=yl){let i=e.some(e=>e===`lan`||e===`tailscale`),a=e.some(e=>e!==`socket`);return e.map(e=>e===t?0:e===`hub`&&i?n:e===`socket`&&a?r:0)}function wl(e){let t=e.find(e=>e.via===`hub`),n=e.find(e=>(e.via===`lan`||e.via===`tailscale`)&&[`no_direct`,`net_full`,`offer`].includes(Ue(e.e)??``));return t&&(Ue(t.e)!==`no_hub`||!n)?t.e:n?n.e:t?.e??e[e.length-1]?.e??null}function Tl(e,t){var n;let r=t.log??(()=>{}),i=t.headStartMs??300,a=t.socketAfterMs??3e3;class o{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.live=[],this.waiting=[],this.pinned=new Set,this.t0=0,this.closes=[],this.winner=null,setTimeout(()=>this.begin(),0)}get via(){return this.winner?.via??null}get media(){return this.winner?.s?.media??null}async netPath(){let e=this.winner?.s;return e?.netPath?e.netPath():null}begin(){if(this.readyState!==0)return;let n=e();if(!n.length){this.end({type:`close`,code:1006,reason:``,wasClean:!1});return}this.t0=Date.now();for(let e of n)e.pinned&&this.pinned.add(e.via);let r=Cl(n.map(e=>e.via),Sl.get(t.room)??null,i,a);n.forEach((e,t)=>{r[t]===0?this.launch(e.via,e.make):this.waiting.push({via:e.via,make:e.make,timer:setTimeout(()=>this.startWaiting(e.via),r[t])})})}startWaiting(e){let t=this.waiting.findIndex(t=>t.via===e);if(t<0)return;let[n]=this.waiting.splice(t,1);clearTimeout(n.timer),this.launch(n.via,n.make)}launch(e,t){if(this.readyState!==0)return;let n;try{n=t()}catch{this.tryClosed(e,{type:`close`,code:1006,reason:``,wasClean:!1});return}r(`path: trying ${e}`);let i={via:e,s:n};this.live.push(i),n.binaryType=this.binaryType,n.onopen=e=>this.won(i,e),n.onclose=t=>{this.live=this.live.filter(e=>e!==i),this.tryClosed(e,t)},n.onerror=()=>{},n.onmessage=null}tryClosed(e,t){if(this.readyState===0){if(r(`path: ${e} failed after ${Date.now()-this.t0} ms${t?.reason?` (${t.reason})`:``}`),this.closes.push({via:e,e:t}),this.pinned.has(e)&&Ue(t)===`mismatch`){for(let e of this.waiting.filter(e=>e.via===`socket`))clearTimeout(e.timer);this.waiting=this.waiting.filter(e=>e.via!==`socket`)}!this.live.length&&this.waiting.length?this.startWaiting(this.waiting[0].via):!this.live.length&&!this.waiting.length&&this.end(wl(this.closes))}}won(e,n){if(this.readyState!==0)return;this.winner=e,Sl.set(t.room,e.via),r(`path: playing by ${e.via} after ${Date.now()-this.t0} ms`);for(let e of this.waiting.splice(0))clearTimeout(e.timer);for(let t of this.live.splice(0))if(t!==e){t.s.onopen=t.s.onclose=t.s.onmessage=t.s.onerror=null;try{t.s.close()}catch{}}let i=e.s;i.onmessage=e=>this.onmessage?.(e),i.onerror=e=>this.onerror?.(e),i.onclose=e=>{this.readyState!==3&&(this.readyState=3,this.onclose?.(e))},this.readyState=1,t.onWin?.(e.via),this.onopen?.(n)}send(e){if(this.readyState!==1||!this.winner)throw Error(`not open`);this.winner.s.send(e)}close(e,t){if(this.readyState===3)return;let n=this.readyState===1;this.readyState=3;for(let e of this.waiting.splice(0))clearTimeout(e.timer);let r=this.winner?[this.winner,...this.live]:this.live.splice(0);for(let n of r){n.s.onopen=n.s.onclose=n.s.onmessage=n.s.onerror=null;try{n.s.close(e,t)}catch{}}let i=this.onclose;if(i){let r={type:`close`,code:e??1e3,reason:t??``,wasClean:n};setTimeout(()=>i(r),0)}}end(e){if(this.readyState===3)return;this.readyState=3;let t=this.onclose,n=e??{type:`close`,code:1006,reason:``,wasClean:!1};t&&setTimeout(()=>t(n),0)}}return n=o,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,o}ps();var El=new URLSearchParams(location.hash.slice(1)),Dl=El.get(`n`)?.trim()||null,U=nt(location.hash);U&&gl(U);var Ol=(0,x.createRoot)(document.getElementById(`root`));if(U){let e=vl(U,{video:!0,log:e=>console.info(`[join] ${e}`)}),t=Re(location.hash,`join`);Ol.render((0,z.jsx)(Zc,{url:nl(U.hub),invite:U.key,host:Dl,transport:e,lanUrl:t?ze(t,{key:U.key}):null}))}else{let e=El.get(`i`)||null,t=location.pathname.replace(/\/join\/?$/,``),n=`${location.protocol===`https:`?`wss`:`ws`}://${location.host}${t}/api/join/ws`,r=e=>console.info(`[join] ${e}`),i=`${location.origin}${t}/join`,a=typeof RTCPeerConnection>`u`?void 0:Tl(()=>xl({net:null,lan:i,ts:null,fp:tt(El.get(`fp`)),rtc:!0,reach:e=>e,rtcMake:(e,t)=>vl(e,{video:!0,log:r,...t}),socket:e=>new WebSocket(e)}),{room:i,log:r});Ol.render((0,z.jsx)(Zc,{url:n,invite:e,host:Dl,path:el(location.hostname),transport:a,internet:!1}))} +I€wu¸öôú!3å6³‹âVq£³¹´RN£%y10º:pŠ#\:J:b9Hµ7h_Ž:¢I9 _¼™µV,þ <`});var E={a:v};this.setModule=t=>{e.setModule(bi,t)},this.getModule=()=>e.getModule(bi),this.instantiate=()=>(this.getModule().then(e=>WebAssembly.instantiate(e,E)).then(e=>{let t=e.exports;y(t),a=t.g,o(),T(t),n()}),this.ready=new Promise(e=>{n=e}).then(()=>{this.HEAP=a.buffer,this.malloc=x,this.free=C,this.opus_frame_decoder_create=b,this.opus_frame_decode_float_deinterleaved=S,this.opus_frame_decoder_destroy=ee}),this)}var xi=o((()=>{}));function Si(e={}){Si.errors||Object.defineProperties(Si,{errors:{value:new Map([[-1,`OPUS_BAD_ARG: One or more invalid/out of range arguments`],[-2,`OPUS_BUFFER_TOO_SMALL: Not enough bytes allocated in the buffer`],[-3,`OPUS_INTERNAL_ERROR: An internal error was detected`],[-4,`OPUS_INVALID_PACKET: The compressed data passed is corrupted`],[-5,`OPUS_UNIMPLEMENTED: Invalid/unsupported request number`],[-6,`OPUS_INVALID_STATE: An encoder or decoder structure is invalid or already freed`],[-7,`OPUS_ALLOC_FAIL: Memory allocation has failed`]])}}),this._init=()=>new this._WASMAudioDecoderCommon(this).instantiate(this._EmscriptenWASM,this._module).then(e=>{this._common=e,this._inputBytes=0,this._outputSamples=0,this._frameNumber=0,this._input=this._common.allocateTypedArray(this._inputSize,Uint8Array),this._output=this._common.allocateTypedArray(this._outputChannels*this._outputChannelSize,Float32Array);let t=this._common.allocateTypedArray(this._channels,Uint8Array);t.buf.set(this._channelMappingTable),this._decoder=this._common.wasm.opus_frame_decoder_create(this._sampleRate,this._channels,this._streamCount,this._coupledStreamCount,t.ptr,this._preSkip,this._forceStereo)}),Object.defineProperty(this,"ready",{enumerable:!0,get:()=>this._ready}),this.reset=()=>(this.free(),this._init()),this.free=()=>{this._common.free(),this._common.wasm.opus_frame_decoder_destroy(this._decoder),this._common.wasm.free(this._decoder)},this._decode=e=>{if(!(e instanceof Uint8Array))throw Error(`Data to decode must be Uint8Array. Instead got `+typeof e);this._input.buf.set(e);let t=this._common.wasm.opus_frame_decode_float_deinterleaved(this._decoder,this._input.ptr,e.length,this._output.ptr),n;return t<0&&(n=`libopus `+t+` `+(Si.errors.get(t)||`Unknown Error`),console.error(n),t=0),{outputBuffer:this._common.getOutputChannels(this._output.buf,this._outputChannels,t),samplesDecoded:t,error:n}},this.decodeFrame=e=>{let t=[],n=this._decode(e);return n.error&&this._common.addError(t,n.error,e.length,this._frameNumber,this._inputBytes,this._outputSamples),this._frameNumber++,this._inputBytes+=e.length,this._outputSamples+=n.samplesDecoded,this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(t,[n.outputBuffer],this._outputChannels,n.samplesDecoded,this._sampleRate)},this.decodeFrames=e=>{let t=[],n=[],r=0,i=0;for(;itypeof e==`number`,n=e.sampleRate,r=e.channels,i=e.streamCount,a=e.coupledStreamCount,o=e.channelMappingTable,s=e.preSkip,c=+!!e.forceStereo;if(r>2&&(!t(i)||!t(a)||!Array.isArray(o)))throw Error(`Invalid Opus Decoder Options for multichannel decoding.`);return this._sampleRate=[8e3,12e3,16e3,24e3,48e3].includes(n)?n:48e3,this._channels=t(r)?r:2,this._streamCount=t(i)?i:1,this._coupledStreamCount=t(a)?a:this._channels-1,this._channelMappingTable=o||(this._channels===2?[0,1]:[0]),this._preSkip=s||0,this._forceStereo=r<=8&&r!=2?c:0,this._inputSize=3840*this._channels,this._outputChannelSize=5760,this._outputChannels=this._forceStereo?2:this._channels,this._ready=this._init(),this}var Ci=o((()=>{yi(),xi()})),wi,Ti=o((()=>{yi(),xi(),Ci(),wi=class extends hi{constructor(e){super(e,`opus-decoder`,Si,bi)}async decodeFrame(e){return this.postToDecoder(`decodeFrame`,e)}async decodeFrames(e){return this.postToDecoder(`decodeFrames`,e)}}})),Ei=c({OpusDecoder:()=>Si,OpusDecoderWebWorker:()=>wi}),Di=o((()=>{Ci(),Ti(),yi(),_i(Si,`OpusDecoder`),_i(wi,`OpusDecoderWebWorker`)})),Oi=[8e3,12e3,16e3,24e3,48e3],ki=null;function Ai(){return ki??=Xn(()=>Promise.resolve().then(()=>(Di(),Ei)),__VITE_PRELOAD__,import.meta.url).catch(e=>{throw ki=null,e}),ki}function ji(){return typeof WebAssembly==`object`&&typeof WebAssembly.instantiate==`function`}function Mi(e,t,n,r){return{numberOfFrames:t,numberOfChannels:e.length,sampleRate:n,timestamp:r,format:`f32-planar`,duration:Math.round(t/n*1e6),copyTo(n,r){n.set(e[r.planeIndex].subarray(0,t))},close(){}}}var Ni=class{constructor(e,t=Ai){this.init=e,this.load=t,this.state=`unconfigured`,this.dec=null,this.pending=[]}configure(e){if(this.state===`closed`)throw Error(`the decoder is closed`);if(!ji())throw Error(`no WebAssembly here`);let t=e.sampleRate;if(!Oi.includes(t))throw Error(`Opus does not decode at ${t} Hz`);let n=e.numberOfChannels;if(n<1||n>2)throw Error(`${n} channels: only mono and stereo are decoded`);this.state=`configured`,this.load().then(async e=>{if(this.state===`closed`)return;let r=new e.OpusDecoder({channels:n,sampleRate:t});if(await r.ready,this.state!==`configured`){r.free();return}this.dec=r;let i=this.pending;this.pending=[];for(let e of i)this.state===`configured`&&this.run(e)}).catch(e=>this.fail(e))}decode(e){if(this.state!==`configured`)return;let t=e;if(this.dec)return this.run(t);this.pending.push({timestamp:t.timestamp,data:t.data.slice()}),this.pending.length>50&&this.pending.shift()}run(e){let t=this.dec;if(!t)return;let n;try{n=t.decodeFrame(e.data)}catch(e){return this.fail(e)}n.samplesDecoded&&n.channelData.length&&this.init.output(Mi(n.channelData,n.samplesDecoded,n.sampleRate,e.timestamp))}fail(e){if(this.state===`closed`)return;this.close();let t=e instanceof Error?e:Error(String(e));queueMicrotask(()=>this.init.error(t))}close(){this.state=`closed`,this.pending=[];let e=this.dec;this.dec=null;try{e?.free()}catch{}}},Pi={makeDecoder:e=>new Ni(e),makeChunk:e=>({type:e.type,timestamp:e.timestamp,data:e.data instanceof Uint8Array?e.data:new Uint8Array(e.data)})};function Fi(e,t){for(let n=0;n+3>1&63;if(t>=16&&t<=21)return!0;if(t<16)return!1}else{let t=e[n+3]&31;if(t===5)return!0;if(t===1)return!1}}return!1}function Ii(e){for(let t=0;t+6e.toString(16).padStart(2,`0`);return`avc1.${n(e[t+4])}${n(e[t+5])}${n(e[t+6])}`}return`avc1.4d4028`}var Li=[`hev1.1.6.L153.B0`,`hvc1.1.6.L153.B0`,`hev1.2.4.L153.B0`,`hvc1.2.4.L153.B0`,`hev1.1.6.L150.90`];async function Ri(e,t){if(typeof VideoDecoder>`u`)return null;for(let n of Li)try{if((await VideoDecoder.isConfigSupported({codec:n,codedWidth:e,codedHeight:t})).supported)return n}catch{}return null}function zi(e){let t=[];for(let n=0;n+2{let i=r+1n&&e[i-1]===0;)i--;return e.subarray(n,i)}).filter(e=>e.length>0)}var Bi=(e,t)=>t?e[0]>>1&63:e[0]&31;function Vi(e,...t){let n=8+t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);new DataView(r.buffer).setUint32(0,n);for(let t=0;t<4;t++)r[4+t]=e.charCodeAt(t);let i=8;for(let e of t)r.set(e,i),i+=e.length;return r}function F(...e){let t=new Uint8Array(e.reduce((e,[,t])=>e+t,0)),n=0;for(let[r,i]of e){for(let e=i-1;e>=0;e--)t[n+i-1-e]=Math.floor(r/2**(8*e))&255;n+=i}return t}var Hi=(e,t,n,...r)=>Vi(e,F([t,1],[n,3]),...r),Ui=F([65536,4],[0,4],[0,4],[0,4],[65536,4],[0,4],[0,4],[0,4],[1073741824,4]);function Wi(e){let t=e.handler===`vide`,n=Vi(`ftyp`,new TextEncoder().encode(`isom`),F([1,4]),new TextEncoder().encode(`isomiso6mp41`)),r=Vi(`moov`,Hi(`mvhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[65536,4],[256,2],[0,2],[0,4],[0,4]),Ui,new Uint8Array(24),F([2,4])),Vi(`trak`,Hi(`tkhd`,0,3,F([0,4],[0,4],[1,4],[0,4],[0,4],[0,4],[0,4],[0,2],[0,2],[t?0:256,2],[0,2]),Ui,F([(e.width??0)*65536,4],[(e.height??0)*65536,4])),Vi(`mdia`,Hi(`mdhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[21956,2],[0,2])),Hi(`hdlr`,0,0,F([0,4]),new TextEncoder().encode(e.handler),new Uint8Array(12),F([0,1])),Vi(`minf`,t?Hi(`vmhd`,0,1,new Uint8Array(8)):Hi(`smhd`,0,0,F([0,4])),Vi(`dinf`,Hi(`dref`,0,0,F([1,4]),Hi(`url `,0,1))),Vi(`stbl`,Hi(`stsd`,0,0,F([1,4]),e.sampleEntry),Hi(`stts`,0,0,F([0,4])),Hi(`stsc`,0,0,F([0,4])),Hi(`stsz`,0,0,F([0,4],[0,4])),Hi(`stco`,0,0,F([0,4])))))),Vi(`mvex`,Hi(`trex`,0,0,F([1,4],[1,4],[0,4],[0,4],[0,4])))),i=new Uint8Array(n.length+r.length);return i.set(n,0),i.set(r,n.length),i}function Gi(e,t,n,r,i){let a=i?33554432:16842752,o=e=>Hi(`trun`,0,1793,F([1,4],[e,4],[n,4],[r.length,4],[a,4])),s=e=>Vi(`traf`,Hi(`tfhd`,0,131072,F([1,4])),Hi(`tfdt`,1,0,F([t,8])),o(e)),c=Hi(`mfhd`,0,0,F([e,4])),l=Vi(`moof`,c,s(0)).length,u=Vi(`moof`,c,s(l+8)),d=Vi(`mdat`,r),f=new Uint8Array(u.length+d.length);return f.set(u,0),f.set(d,u.length),f}function Ki(e,t,n=!1){let r=t?[35,...n?[32,33,34]:[]]:[9,...n?[7,8]:[]],i=zi(e).filter(e=>!r.includes(Bi(e,t))),a=new Uint8Array(i.reduce((e,t)=>e+4+t.length,0)),o=new DataView(a.buffer),s=0;for(let e of i)o.setUint32(s,e.length),a.set(e,s+4),s+=4+e.length;return a}var qi=e=>e.toString(16).padStart(2,`0`),Ji=e=>{let t=new Uint8Array(2+e.length);return t[0]=e.length>>8,t[1]=e.length&255,t.set(e,2),t},Yi=e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t};function Xi(e){let t=zi(e),n=t.filter(e=>Bi(e,!1)===7),r=t.filter(e=>Bi(e,!1)===8);return!n.length||!r.length||n[0].length<4?null:Yi([F([1,1],[n[0][1],1],[n[0][2],1],[n[0][3],1],[255,1],[224|n.length,1]),...n.map(Ji),F([r.length,1]),...r.map(Ji)])}function Zi(e,t,n){let r=zi(e),i=e=>r.filter(n=>Bi(n,t)===e),a=(e,t)=>Vi(e,new Uint8Array(6),F([1,2],[0,16],[n.w,2],[n.h,2],[4718592,4],[4718592,4],[0,4],[1,2]),new Uint8Array(32),F([24,2],[65535,2]),t);if(!t){let t=i(7),r=Xi(e);return r?{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`avc1`,Vi(`avcC`,r)),width:n.w,height:n.h}),mime:`video/mp4; codecs="avc1.${qi(t[0][1])}${qi(t[0][2])}${qi(t[0][3])}"`}:null}let o=i(32),s=i(33),c=i(34);if(!o.length||!s.length||!c.length)return null;let l=Xr(s[0]);if(l.length<15)return null;let u=l.subarray(3,15),d=u[0]&31,f=d===2?2:0,p=(e,t)=>Yi([F([128|e,1],[t.length,2]),...t.map(Ji)]),m=Vi(`hvcC`,F([1,1]),u,F([61440,2],[252,1],[253,1],[248|f,1],[248|f,1],[0,2],[15,1],[3,1]),p(32,o),p(33,s),p(34,c)),h=[``,`A`,`B`,`C`][u[0]>>6],g=0,_=(u[1]<<24|u[2]<<16|u[3]<<8|u[4])>>>0;for(let e=0;e<32;e++)_&1<>>0).toString(16),`${u[0]&32?`H`:`L`}${u[11]}`,...v.map(e=>e.toString(16))].join(`.`);return{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`hvc1`,m),width:n.w,height:n.h}),mime:`video/mp4; codecs="${y}"`}}function Qi(e,t,n,r,i,a){return Gi(e,t,n,Ki(r,i),a)}function $i(e,t){let n=Vi(`dOps`,F([0,1],[e,1],[312,2],[t,4],[0,2],[0,1]));return Wi({handler:`soun`,timescale:48e3,sampleEntry:Vi(`Opus`,new Uint8Array(6),F([1,2],[0,8],[e,2],[16,2],[0,4],[3145728e3,4]),n)})}function ea(e){if(!e.length)return 960;let t=e[0]>>3,n=t<12?[480,960,1920,2880][t%4]:t<16?[480,960][t%2]:[120,240,480,960][t%4],r=e[0]&3,i=r===0?1:r===3?(e[1]??1)&63:2;return n*Math.max(1,i)}function ta(e,t,n){return Gi(e,t,ea(n),n,!0)}var na={watch:30,player:4},ra={watch:{seek:.5,speed:1/0,target:.05},player:{seek:.15,speed:.06,target:.02}},ia={seek:.8,speed:.25,target:.12};function aa(e,t,n){let r=typeof n==`string`?ra[n]:n;return e>r.seek?{seekTo:t-r.target,rate:1}:e>r.speed?{seekTo:null,rate:1.1}:{seekTo:null,rate:1}}function oa(e,t=`watch`,n){return typeof VideoDecoder<`u`?new ha(e,t,n):new ka(e,t,n)}var sa=class{constructor(e,t=()=>performance.now()){this.ask=e,this.now=t,this.last=-1/0}waiting(){if(!this.ask)return;let e=this.now();e-this.last<1e3||(this.last=e,this.ask())}};function I(e){return e.length<3?null:{index:e[0]<<8|e[1],packet:e.subarray(2)}}var L=class{constructor(){this.last=-1}take(e){if(this.last>=0){let t=e-this.last&65535;if(t===0||t>=32768)return!1}return this.last=e,!0}reset(){this.last=-1}};function ca(e){if(e.length>=10)return e;let t=new Uint8Array(10);t.set(e.subarray(0,6));let n=new DataView(t.buffer);return n.setUint32(6,Math.round(n.getUint32(2)/100)||480),t}function la(e,t){return{snd:e,snd_decoded:t.decoded,snd_concealed:t.concealed,snd_underruns:t.underruns,snd_dropped:t.dropped}}var ua=class{constructor(e,t=.2){this.min=e,this.max=t,this.next=0,this.calmSince=0,this.minLead=1/0,this.windowAt=0,this.underruns=0,this.dropped=0,this.cushion=e}at(e,t){this.next0&&(this.underruns++,this.cushion=Math.min(this.max,this.cushion+.02)),this.calmSince=e,this.next=e+this.cushion,this.minLead=1/0,this.windowAt=e):e-this.calmSince>10&&this.cushion>this.min&&(this.cushion=Math.max(this.min,this.cushion-.01),this.calmSince=e);let n=this.next-e;if(n>this.cushion+.15)return this.dropped++,null;if(this.minLead=Math.min(this.minLead,n),e-this.windowAt>=.25){let t=this.minLead>this.cushion+da;if(this.minLead=1/0,this.windowAt=e,t)return this.dropped++,null}let r=this.next;return this.next+=t,r}reset(){this.next=0}},da=.02;async function fa(e,t){try{return typeof AudioDecoder>`u`?!1:!!(await AudioDecoder.isConfigSupported({codec:`opus`,sampleRate:e,numberOfChannels:t})).supported}catch{return!1}}var pa=class{constructor(e,t=()=>performance.now()){this.decoder=e,this.now=t,this.n={frames:0,dropped:0,late:0,stalls:0,stall_ms:0,worst_stall_ms:0,key_waits:0},this.a=0,this.d=0,this.w=!1,this.q=[],this.sum=0,this.cnt=0,this.codec=``}get frames(){return this.n.frames}arrived(){let e=this.now();this.a&&e-this.a>50&&this.n.late++,this.a=e}drop(){this.n.dropped++,this.w||this.n.key_waits++,this.w=!0}decoding(){this.w=!1,this.q.push(this.now())>64&&this.q.shift()}drawn(e=!1){let t=this.now(),n=e?this.q.shift():void 0;n!==void 0&&(this.sum+=t-n,this.cnt++);let r=this.d?t-this.d:0;r>100&&this.stall(r),this.d=t,this.n.frames++}stall(e){this.n.stalls++,this.n.stall_ms+=e,this.n.worst_stall_ms=Math.max(this.n.worst_stall_ms,e)}snapshot(){let e=this.d?this.now()-this.d:0,t={...this.n,decoder:this.decoder};this.codec&&(t.codec=this.codec),e>100&&(t.stalls=this.n.stalls+1,t.stall_ms=this.n.stall_ms+e,t.worst_stall_ms=Math.max(this.n.worst_stall_ms,e));for(let e of[`stall_ms`,`worst_stall_ms`])t[e]=Math.round(t[e]);return t.decode_ms=this.cnt?Math.round(this.sum/this.cnt*10)/10:0,this.sum=this.cnt=0,t}},ma=[`pointerup`,`touchend`,`click`,`keydown`],ha=class{get element(){if(!this.wrap){let e=document.createElement(`div`);e.className=`h-full w-full`,e.append(this.canvas),this.mse&&e.append(this.mse.element),this.wrap=e}return this.wrap}get stats(){return this.mse?.stats??this.ownStats}soundReport(){return this.soundOn?this.mseSound?this.mseSound.report():la(this.soundWasm?`wasm`:`webcodecs`,this.soundStats):null}constructor(e,t=`watch`,n){this.onProblem=e,this.latency=t,this.onNeedKey=n,this.canvas=document.createElement(`canvas`),this.wrap=null,this.mse=null,this.failsNoPicture=0,this.ctx=this.canvas.getContext(`2d`,{alpha:!1}),this.hevc=!1,this.header=null,this.spsRect=null,this.software=!1,this.video=null,this.opening=!1,this.stopped=!1,this.sawKey=!1,this.ownStats=new pa(`webcodecs`),this.problemShown=!1,this.ts=0,this.pipe=null,this.audioGen=0,this.actx=null,this.soundOn=!1,this.unarm=null,this.mseSound=null,this.audioHeader=null,this.soundWasm=!1,this.onSoundFail=null,this.muted=!1,this.keyAsk=new sa(n),this.clock=new ua(t===`player`?.05:.08),typeof AudioDecoder>`u`&&va()&&(this.mseSound=new ya(t,()=>this.mseSoundFailed())),this.canvas.className=`block h-full w-full object-contain`,this.canvas.dataset.testid=`watch-canvas`}setHevc(e){this.hevc=e,this.header&&(this.spsRect=ni(this.header,e)),this.mse?.setHevc(e)}get onMse(){return!!this.mse}decodeFailed(){if(this.mse||this.ownStats.frames>0||++this.failsNoPicture<3||!xa())return!1;let e=new ka(this.onProblem,this.latency,this.onNeedKey);e.setHevc(this.hevc),e.markProblemShown(),this.mse=e;let t=this.video;this.video=null;try{t?.close()}catch{}return this.canvas.style&&(this.canvas.style.display=`none`),this.wrap?.append(e.element),this.header&&e.onMessage(new Uint8Array([0,...this.header]).buffer),this.onNeedKey?.(),!0}startSound(){this.soundOn=!0,ga(),this.mseSound?this.mseSound.start():this.openContext()}openContext(){try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{})}catch{this.onSoundFail?.()}}get sound(){return this.soundOn}setMuted(e){this.muted=e,this.mseSound?.setMuted(e)}resumeSound(){if(!this.soundOn)return;if(this.mseSound)return this.mseSound.resume();let e=this.actx;e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}get soundStats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped,cushionMs:Math.round(this.clock.cushion*1e3)}}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}onMessage(e){let t=new Uint8Array(e);if(t.length<1||this.stopped)return;let n=t[0],r=t.subarray(1);if(this.mse&&(n===0||n===1))return n===0&&(this.header=r.slice()),this.mse.onMessage(e);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?this.openAudio(r.slice()):n===4&&this.onAudio(r)}async openVideo(e){if(this.header=e,this.spsRect=ni(e,this.hevc),!this.opening){this.opening=!0;try{let t=this.hevc?await Aa(e):Ii(e);if(this.mse||this.stopped)return;if(!t){this.problemShown=!0,this.onProblem(`no_hevc`);return}this.ownStats.codec=t;let n=this.hevc?void 0:Xi(e)??void 0;try{this.video?.close()}catch{}let r=new VideoDecoder({output:e=>{let t=this.realVisible(e),n=this.canvas;(n.width!==t.displayWidth||n.height!==t.displayHeight)&&(n.width=t.displayWidth,n.height=t.displayHeight),this.ctx?.drawImage(t,0,0,n.width,n.height),this.ownStats.drawn(!0),t.close(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))},error:()=>{this.video===r&&(this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()||this.rebuild())}}),i={codec:t,optimizeForLatency:!0};n&&(i.description=n),this.software&&(i.hardwareAcceleration=`prefer-software`),r.configure(i),this.video=r,this.sawKey=!1}catch{this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()}finally{this.opening=!1}}}realVisible(e){let t=this.spsRect,n=ri(e,t);if(n)try{let t=new VideoFrame(e,{visibleRect:{x:n.x,y:n.y,width:n.w,height:n.h},displayWidth:n.w,displayHeight:n.h});return e.close(),t}catch{return e}let r=e.visibleRect;if(t&&r&&!this.software&&(r.width{if(this.video===e){try{e?.close()}catch{}this.rebuild(),this.onNeedKey?.()}})}return e}rebuild(){this.mse||this.stopped||(this.video=null,this.sawKey=!1,this.header&&this.openVideo(this.header).then(()=>this.keyAsk.waiting()))}onVideo(e){let t=this.video;if(t?.state===`closed`){this.opening||this.rebuild();return}if(!t||t.state!==`configured`)return;let n=Fi(e,this.hevc);if(this.ownStats.arrived(),!this.sawKey&&!n)return this.ownStats.drop(),this.keyAsk.waiting();if(!n&&t.decodeQueueSize>na[this.latency])return this.sawKey=!1,this.ownStats.drop(),this.keyAsk.waiting();this.sawKey=!0;let r=e;this.hevc?n&&this.header&&(r=new Uint8Array(this.header.length+e.length),r.set(this.header,0),r.set(e,this.header.length)):r=Ki(e,!1,!0),this.ts+=16667,this.ownStats.decoding(),t.decode(new EncodedVideoChunk({type:n?`key`:`delta`,timestamp:this.ts,data:r}))}openAudio(e){if(e.length<6)return;let t=++this.audioGen;if(this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.audioHeader=e,this.mseSound)return this.mseSound.setHeader(e);let n=e[0];fa(new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2),n).then(n=>{if(t!==this.audioGen)return;if(!n)return va()?this.soundThroughMse(e):this.soundThroughWasm(e);let r=new si((e,t)=>this.play(e,t,r.sampleRate));try{r.header(ca(e)),this.pipe=r}catch{this.soundThroughMse(e)}})}soundThroughMse(e){this.pipe=null,this.mseSound||(this.mseSound=new ya(this.latency,()=>this.mseSoundFailed()),this.soundOn&&this.mseSound.start()),this.mseSound.setHeader(e)}soundThroughWasm(e){this.pipe?.reset(),this.soundWasm=!0;let t=new si((e,n)=>this.play(e,n,t.sampleRate),Pi,()=>{this.pipe===t&&(this.pipe=null),this.onSoundFail?.()});this.pipe=t,t.header(ca(e))}mseSoundFailed(){let e=this.mseSound;e&&(this.mseSound=null,e.stop(),this.soundOn&&(this.openContext(),this.actx&&this.actx.state!==`running`&&this.armResume()),this.audioHeader&&this.soundThroughWasm(this.audioHeader))}onAudio(e){if(this.mseSound)return this.mseSound.frame(e);this.soundOn&&this.pipe&&this.pipe.packet(e)}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a)}stop(){this.stopped=!0;try{this.video?.close()}catch{}this.mse?.stop(),this.audioGen++,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.mseSound?.stop()}};function ga(){try{let e=navigator.audioSession;e&&e.type!==`playback`&&(e.type=`playback`)}catch{}}function _a(e,t){try{return e.isTypeSupported(t)}catch{return!1}}function va(){let e=typeof window>`u`?null:xa();return!!e&&(_a(e,`audio/mp4; codecs="Opus"`)||_a(e,`audio/mp4; codecs="opus"`))}var ya=class{constructor(e,t,n=document.createElement(`audio`)){this.onFail=t,this.header=null,this.time=0,this.on=!1,this.failed=!1,this.order=new L,this.el=n,this.track=new Ta(n,()=>this.fail(),e===`player`?ia:e)}get playing(){return this.on&&!this.failed}report(){return{snd:`mse`,snd_jumps:this.track.seeks}}setHeader(e){this.header=e,this.on&&this.open()}start(){if(!this.on&&(this.on=!0,this.header&&this.open(),!this.failed))try{this.el.play()?.catch?.(()=>{})}catch{}}frame(e){if(!this.on||this.failed||!this.track.ready&&!this.track.backlog)return;let t=I(e);if(!t||!this.order.take(t.index))return;let n=ta(this.track.nextSeq(),this.time,t.packet);this.time+=ea(t.packet),this.track.push(n)}setMuted(e){this.el.muted=e}resume(){if(this.playing&&this.el.paused)try{this.el.play()?.catch?.(()=>{})}catch{}}stop(){this.on=!1,this.track.close()}open(){let e=this.header;if(!e||e.length<6||this.failed)return;let t=e[0],n=$i(t,new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2));this.track.open(`audio/mp4; codecs="Opus"`,n)||this.track.open(`audio/mp4; codecs="opus"`,n)?(this.time=0,this.order.reset()):this.fail()}fail(){this.failed||(this.failed=!0,this.onFail())}},ba=class{constructor(e,t,n=Pi){this.onFail=t,this.codecs=n,this.actx=null,this.pipe=null,this.header=null,this.on=!1,this.failed=!1,this.muted=!1,this.unarm=null,this.played=!1,this.clock=new ua(e===`player`?.05:.08)}get playing(){return this.on&&!this.failed}get stats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped}}start(){if(!this.failed){this.on=!0,ga();try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{}),this.actx.state!==`running`&&this.armResume()}catch{return this.fail()}this.header&&!this.pipe&&this.open()}}setHeader(e){e.length<6||(this.header=e,this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.on&&this.open())}frame(e){this.on&&!this.failed&&this.pipe?.packet(e)}setMuted(e){this.muted=e}resume(){let e=this.actx;this.playing&&e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}stop(){this.on=!1,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.actx=null}open(){let e=this.header;if(!e||this.failed)return;let t=new si((e,n)=>this.play(e,n,t.sampleRate),this.codecs,()=>{this.pipe===t&&this.fail()});this.pipe=t,t.header(ca(e))}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a),this.played=!0}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}fail(){this.failed||(this.failed=!0,this.stop(),this.onFail())}};function xa(){let e=window;return e.ManagedMediaSource??e.MediaSource??null}var Sa=10,Ca=3;function wa(e,t,n,r=Ca){let i=null;for(let a of e)a>t&&a<=n-r&&(i=a);return i}var Ta=class{constructor(e,t,n=`watch`,r,i=()=>performance.now()){this.el=e,this.onError=t,this.latency=n,this.onNeedKey=r,this.now=i,this.ms=null,this.sb=null,this.queue=[],this.mime=``,this.seq=1,this.ready=!1,this.dropped=!1,this.keys=null,this.seeks=0,this.maxLagS=0,this.fromZero=0,this.trims=0,this.lastJump=null,this.trimAt=-1,this.trimFrom=-1,this.keyAt=-1,this.attached=null,r&&(this.keys=[])}setEdge(e){this.latency=e}markKey(e){this.keys?.push(e),this.keyAt=this.now()}open(e,t){let n=xa();if(!n||!_a(n,e))return!1;this.close();let r=new n;return this.ms=r,this.mime=e,this.queue=[t],this.seq=1,this.ready=!1,this.keys&&=[],r.addEventListener(`sourceopen`,()=>{if(this.ms===r)try{let e=r.addSourceBuffer(this.mime);e.mode=`segments`,e.addEventListener(`updateend`,()=>this.pump()),e.addEventListener(`error`,()=>this.onError()),this.sb=e,this.ready=!0,this.pump()}catch{this.onError()}}),`ManagedMediaSource`in window&&n===window.ManagedMediaSource&&(this.el.disableRemotePlayback=!0),this.attached=Ea(this.el,r),!0}nextSeq(){return this.seq++}get backlog(){return this.queue.length}push(e){this.queue.push(e),this.pump()}pump(){let e=this.sb;if(!e||e.updating||!this.ready)return;let t=this.el;if(e.buffered.length){let n=e.buffered.end(e.buffered.length-1),r=e.buffered.start(0),i=n-t.currentTime,a=aa(i,n,this.latency);if(a.seekTo!==null){this.seeks++,this.maxLagS=Math.max(this.maxLagS,i);let o=this.now(),s=e=>e<0?-1:Math.round(o-e);t.currentTime<.05&&r>1&&this.fromZero++,this.lastJump={at:t.currentTime,start:r,end:n,ranges:e.buffered.length,readyState:t.readyState,paused:t.paused,seeking:t.seeking,sinceTrimMs:s(this.trimAt),trimFrom:this.trimFrom,sinceKeyMs:s(this.keyAt)},t.currentTime=Math.max(r,a.seekTo)}if(t.playbackRate!==a.rate&&(t.playbackRate=a.rate),t.currentTime-r>Sa&&this.trim(e,r))return}let n=this.queue.shift();if(n){try{e.appendBuffer(n)}catch{this.dropped=!0}t.paused&&t.play().catch(()=>{})}}trim(e,t){let n=this.el.currentTime,r=n-Ca;if(this.keys){if(r=wa(this.keys,t,n),r===null)return(this.keys[this.keys.length-1]??-1/0)<=n-Ca&&this.onNeedKey?.(),!1;let e=r;this.keys=this.keys.filter(t=>t>=e),r-=.001}try{return e.remove(t,r),this.trims++,this.trimAt=this.now(),this.trimFrom=n,!0}catch{return!1}}close(){this.ready=!1,this.sb=null,this.queue=[];let e=this.ms;if(this.ms=null,e&&e.readyState===`open`)try{e.endOfStream()}catch{}if(this.attached===`object`)try{this.el.srcObject=null}catch{}this.attached=null,this.el.src?.startsWith(`blob:`)&&URL.revokeObjectURL(this.el.src),this.el.removeAttribute(`src`)}};function Ea(e,t){if(`srcObject`in e)try{return e.srcObject=t,`object`}catch{}return e.src=URL.createObjectURL(t),`url`}var Da=1e4,Oa=class{constructor(e=3,t=Da,n=()=>performance.now()){this.max=e,this.windowMs=t,this.now=n,this.at=[]}fail(){let e=this.now();return this.at=this.at.filter(t=>e-t=this.max}clear(){this.at=[]}},ka=class{constructor(e,t=`watch`,n,r){this.onProblem=e,this.latency=t,this.wasm=null,this.audioHeader=null,this.muted=!1,this.gaveUp=!1,this.reopening=!1,this.failedWhileOpening=!1,this.wrap=document.createElement(`div`),this.hevc=!1,this.header=null,this.sawKey=!1,this.stats=new pa(`mse`),this.problemShown=!1,this.vTime=0,this.vLast=0,this.soundOn=!1,this.onSoundFail=null,this.onGiveUp=null,this.keyAsk=new sa(n),this.fails=new Oa(3,Da,r);let i=document.createElement(`video`);i.muted=!0,i.autoplay=!0,i.playsInline=!0,i.className=`block h-full w-full object-contain`,i.dataset.testid=`watch-video`,this.audio=new ya(t,()=>this.soundThroughWasm()),this.wrap.className=`h-full w-full`,this.wrap.append(i,this.audio.el),this.video=new Ta(i,()=>this.showProblem(),t,()=>this.keyAsk.waiting()),i.addEventListener(`error`,()=>this.restartVideo()),i.addEventListener(`playing`,()=>{this.fails.clear(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))})}markProblemShown(){this.problemShown=!0}showProblem(){this.problemShown||(this.problemShown=!0,this.onProblem(`decode`))}restartVideo(){if(this.gaveUp)return;if(this.reopening){this.failedWhileOpening=!0;return}if(this.showProblem(),this.fails.fail()){this.gaveUp=!0,this.video.close(),this.onGiveUp?.();return}let e=this.header;if(e){this.header=null,this.reopening=!0,this.failedWhileOpening=!1;try{this.openVideo(e)}finally{this.reopening=!1}this.sawKey=!1,this.keyAsk.waiting(),this.failedWhileOpening&&(this.failedWhileOpening=!1,this.restartVideo())}}get failed(){return this.gaveUp}setVideoEdge(e){this.video.setEdge(e)}get videoSeeks(){return{seeks:this.video.seeks,maxLagMs:Math.round(this.video.maxLagS*1e3),fromZero:this.video.fromZero,trims:this.video.trims,lastJump:this.video.lastJump}}get element(){return this.wrap}resume(){let e=this.video.el;e.paused&&e.play()?.catch?.(()=>{})}setHevc(e){this.hevc=e}startSound(){if(this.soundOn=!0,this.wasm)return this.wasm.start();if(!va())return this.soundThroughWasm();this.audio.start()}soundThroughWasm(){if(this.wasm)return;this.audio.stop();let e=new ba(this.latency,()=>this.onSoundFail?.());this.wasm=e,e.setMuted(this.muted),this.audioHeader&&e.setHeader(this.audioHeader),this.soundOn&&e.start()}resumeSound(){this.soundOn&&(this.wasm?this.wasm.resume():this.audio.resume())}setMuted(e){this.muted=e,this.audio.setMuted(e),this.wasm?.setMuted(e)}soundReport(){return this.soundOn?this.wasm?la(`wasm`,this.wasm.stats):this.audio.report():null}get soundPlaying(){return this.wasm?this.wasm.played:this.audio.playing}get sound(){return this.soundOn}onMessage(e){let t=new Uint8Array(e);if(t.length<1)return;let n=t[0],r=t.subarray(1);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?(this.audioHeader=r.slice(),(this.wasm??this.audio).setHeader(this.audioHeader)):n===4&&(this.wasm??this.audio).frame(r)}openVideo(e){let t=!!this.header&&this.header.length===e.length&&this.header.every((t,n)=>t===e[n]);if(t&&this.video.ready)return;if(this.gaveUp){if(t)return;this.gaveUp=!1,this.fails.clear()}this.header=e;let n=ni(e,this.hevc)??{w:1920,h:1080},r=Zi(e,this.hevc,n);r&&(this.stats.codec=/codecs="([^"]+)"/.exec(r.mime)?.[1]??``,this.video.open(r.mime,r.init)?(this.sawKey=!1,this.vTime=0,this.vLast=0):(this.problemShown=!0,this.onProblem(this.hevc?`no_hevc`:`decode`)))}onVideo(e){if(!this.video.ready&&!this.video.backlog)return;let t=Fi(e,this.hevc);if(this.video.dropped&&(this.video.dropped=!1,this.sawKey=!1),this.stats.arrived(),!this.sawKey&&!t)return this.stats.drop(),this.keyAsk.waiting();if(!t&&this.video.backlog>na[this.latency])return this.sawKey=!1,this.stats.drop(),this.keyAsk.waiting();this.sawKey=!0,this.stats.drawn();let n=performance.now(),r=this.vLast?Math.min(9e3,Math.max(750,Math.round((n-this.vLast)*90))):1500;this.vLast=n,t&&this.video.markKey(this.vTime/9e4),this.video.push(Qi(this.video.nextSeq(),this.vTime,r,e,this.hevc,t)),this.vTime+=r}stop(){this.video.close(),this.audio.stop(),this.wasm?.stop()}};async function Aa(e){let t=ii(e);if(t&&typeof VideoDecoder<`u`)try{if((await VideoDecoder.isConfigSupported({codec:t,codedWidth:1920,codedHeight:1080})).supported)return t}catch{}return Ri(1920,1080)}var R={CROSS:1,CIRCLE:2,SQUARE:4,TRIANGLE:8,LEFT:16,RIGHT:32,UP:64,DOWN:128,L1:256,R1:512,L3:1024,R3:2048,OPTIONS:4096,SHARE:8192,TOUCHPAD:16384,PS:32768},ja={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};function Ma(e,t){let n=e=>Math.max(0,Math.min(1,e));return[Math.round(n(e)*1919),Math.round(n(t)*941)]}var Na={ArrowUp:{button:R.UP},ArrowDown:{button:R.DOWN},ArrowLeft:{button:R.LEFT},ArrowRight:{button:R.RIGHT},Enter:{button:R.CROSS},Space:{button:R.CROSS},Backspace:{button:R.CIRCLE},Escape:{button:R.CIRCLE},KeyQ:{button:R.SQUARE},KeyE:{button:R.TRIANGLE},KeyZ:{button:R.L1},KeyC:{button:R.R1},Digit1:{trigger:`l2`},Digit3:{trigger:`r2`},KeyF:{button:R.L3},KeyG:{button:R.R3},Tab:{button:R.OPTIONS},Backquote:{button:R.SHARE},KeyH:{button:R.PS},KeyT:{button:R.TOUCHPAD},KeyW:{stick:`ly`,dir:-1},KeyS:{stick:`ly`,dir:1},KeyA:{stick:`lx`,dir:-1},KeyD:{stick:`lx`,dir:1},KeyI:{stick:`ry`,dir:-1},KeyK:{stick:`ry`,dir:1},KeyJ:{stick:`rx`,dir:-1},KeyL:{stick:`rx`,dir:1}};R.UP,R.DOWN,R.LEFT,R.RIGHT,R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD;var Pa=e=>Math.max(-32768,Math.min(32767,Math.round(e)));function Fa(e,t=Na){let n={...ja};for(let r of e){let e=t[r];e&&(`button`in e?n.buttons|=e.button:`stick`in e?n[e.stick]=Pa(n[e.stick]+e.dir*32767):n[e.trigger]=255)}return n}var Ia=[R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,0,0,R.SHARE,R.OPTIONS,R.L3,R.R3,R.UP,R.DOWN,R.LEFT,R.RIGHT,R.PS,R.TOUCHPAD];function La(e){return Math.abs(e)<=1.01?Math.round((e+1)*3.5)%8:null}var Ra=[0,1,1,1,0,-1,-1,-1],za=[-1,-1,0,1,1,1,0,-1];function Ba(e,t){let n=e.axes[t.a]??0;if(t.hat){let e=La(n);return e===null?0:(t.hat===`x`?Ra:za)[e]}return t.inv?-n:n}var Va={buttons:Ia.flatMap((e,t)=>e?[[e,{b:t}]]:[]),l2:{b:6},r2:{b:7},lx:{a:0},ly:{a:1},rx:{a:2},ry:{a:3}};function Ha(e,t,n=!1){if(`b`in t){let r=e.buttons[t.b];return r?n&&r.value>0?Math.min(1,r.value):Math.max(+!!r.pressed,r.value):0}if(`h`in t){let n=La(e.axes[t.h]??9);if(n===null)return 0;let r=(n-t.at+8)%8;return+(r===0||r===1||r===7)}let r=e.axes[t.a];if(r===void 0)return 0;let i=t.rest??0;return Math.min(1,Math.max(0,(r-i)/(t.d-i)))}function Ua(e){if(e.mapping===`standard`)return Va;let t=Wa.get(e.id);if(t)return t;let n=e.axes.findIndex(e=>Math.abs(e)>1.05);if(n<0)return Va;let r={...Va,buttons:[...Va.buttons,[R.UP,{h:n,at:0}],[R.RIGHT,{h:n,at:2}],[R.DOWN,{h:n,at:4}],[R.LEFT,{h:n,at:6}]]};return Wa.set(e.id,r),r}var Wa=new Map;function Ga(e,t=Ua){let n={...ja},r=e=>Math.abs(e)<.08?0:Pa(e*32767),i=(e,t)=>Math.abs(t)>Math.abs(e)?t:e,a=(e,t)=>t?r(Ba(e,t)):0;for(let r of e){if(!r||!r.connected)continue;let e=t(r);for(let[t,i]of e.buttons)Ha(r,i)>.5&&(n.buttons|=t);e.l2&&(n.l2=Math.max(n.l2,Math.round(Ha(r,e.l2,!0)*255))),e.r2&&(n.r2=Math.max(n.r2,Math.round(Ha(r,e.r2,!0)*255))),n.lx=i(n.lx,a(r,e.lx)),n.ly=i(n.ly,a(r,e.ly)),n.rx=i(n.rx,a(r,e.rx)),n.ry=i(n.ry,a(r,e.ry))}return n}function Ka(e,t){return{buttons:e.buttons|t.buttons,l2:Math.max(e.l2,t.l2),r2:Math.max(e.r2,t.r2),lx:Pa(e.lx+t.lx),ly:Pa(e.ly+t.ly),rx:Pa(e.rx+t.rx),ry:Pa(e.ry+t.ry),touch:e.touch??t.touch??null,motion:e.motion??t.motion??null}}function qa(e,t,n,r=()=>globalThis.navigator?.getGamepads?.()??[]){let i=e=>e?.vibrationActuator;for(let a of e.some(i)?e:r()){let e=i(a);e&&(t===0&&n===0?e.reset?.():e.playEffect?.(`dual-rumble`,{duration:1e3,strongMagnitude:t/255,weakMagnitude:n/255}))}}var Ja=new Map;function Ya(e,t){return{id:`${e.id} (app)`,index:3+e.slot,connected:!0,mapping:`standard`,timestamp:0,axes:e.axes,buttons:e.buttons.map(e=>({pressed:e>.5,touched:e>0,value:e})),vibrationActuator:t?.vibrationActuator??null,hapticActuators:t?.hapticActuators??[]}}function Xa(e){let t=e?.getGamepads?.()??[];return Ja.size===0||t.some(e=>!!e?.connected)?[...t]:[...Ja.values()].sort((e,t)=>e.slot-t.slot).map(e=>Ya(e))}var Za=`b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,,,,,,,a0,a1(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,,,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b3,b0,b1,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1(b1,b0,b2,b3,,b7,a3,a4,,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,b4,b5,,b9,,,b12,b14,b15,b13,,,a0,a1,a5~,a2~(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,,,b7,b5,b4,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b3,b4,b6,b5,b7,b2,b8,,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b9,b10,b2,b8,,,h0.1,h0.4,h0.8,h0.2,b5,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b5,b7,b2,,b8,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b12,b13,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b14,b13,b15,b12,b10,b11,b8,b9,b0,b3,b1,b2,b4,b6,b7,b5,b16,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,a2,a5,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,,,b8,b9,,,b12,b13,b15,b14,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,b11,b12,b13,b14,b15,b16,b10,,a0,a1,a2,a3(b0,b1,b3,b2,,b6,a2,a5,,b7,,,b8,b9,b10,b11,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,,,b8,b9,,,b10,b11,b12,b13,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,,,b13,b8,b10,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,,,b12,b9,b11,,,,,,,,hx,hy(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,b14,b15,b16,b17,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,,,,b2,,b4,,b5,,,h0.1,h0.4,h0.8,h0.2,b6(b0,b1,b2,b3,b12,b4,b13,b5,b14,b6,b15,b7,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b1,b3,b0,b2,b13,b5,b12,b4,,b6,,,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b33,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b16,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b15,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,,,,,b8,,a0,a1,a3,a4(b1,b0,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,,h0.1,h0.4,h0.8,h0.2,b12,b13(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b12,b13,b14,b15,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b14,b13,b14,b13,,,a0,a1,a3,a4(b1,b0,b2,b3,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b2,b3,b1,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b10(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,+a2,+a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,a2,a5,b6,b7,,,h0.1,h0.4,h0.8,h0.2,b8(b1,b2,,,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b21,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,b13,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,a5,a4,,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b7,b6,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b7,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a5,a4,b9,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b22,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a3,b6,b7,b9,,b12,b14,b15,b13,b8,,a0,a1(b3,b4,b5,b6,b7,b8,a9,a8,b11,b12,b14,b15,b16,b17,b18,b19,b13,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b7,b9,b6,b8,b10,b11,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b4,b3,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b3,b1,b4,,b10,a5,a4,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,,,,,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b10,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a4,+a4,-a3,+a3(b4,b8,b0,b12,b16,b20,b24,b28,b32,b36,b40,b44,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a8,a12(b8,b12,b0,b4,b16,b20,b24,b28,b32,b36,,,h0.1,h0.4,h0.8,h0.2,b44,,a0,a4,a8,a12(b4,b0,b8,b12,,b28,a12,a16,,b36,,,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a20,a8(b1,b2,b0,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b4,b0,b8,b12,,b28,a12,a16,,b36,,,b48,b56,b60,b52,,,a0,a4,a20,a8(b1,b2,,,b7,b5,a3,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a5,b9,b8,b6,b7,b11,b12,b13,b14,b10,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,,,b5,b8,,,-a1,+a1,-a0,+a0,b2(b0,b1,b2,b3,b4,b5,b6,b15,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b13,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,a5,a4,b12,b13,b15,b16,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,-a1,+a1,-a0,+a0,b2(b0,b1,b3,b4,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,b8,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a31(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,b6,b7,b16,b15,b8,b9,b10,b11,b13,b12,b17,,a0,a1~,a2,a3~(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a4(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b33,b5,,,b6,b7,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b2,,,,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b2,,,b6,,b9,b7,,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a2(b2,b1,b3,b0,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b4,,b6,,b2,b7,b9,,,b2,b14,b15,b13(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b5,b7,b2,b10,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,a5~,a2~,b2,b8,b8,b5,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b4,,b9,b10,b6,b7,b8,,b5,b2,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b5,b4,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b2,b6,b7,b4,b5,b8,b9,b11,b12,b13,b14,b15,b16,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b16,b19,b17,b18,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b8,b9,b6,b7,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b10,b5,b11,b7,b8,b9,b4,b6,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b5,b7,b4,b6,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b13,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b0,b4,b2,b1,b3,b6,,,b11,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a2,a5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b9,b10,a4,a5,b4,b6,b7,b8,b11,b12,b13,b14,,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b3,b2,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,b11,b14,b12,b13,b10,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,a4,a3,,,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b6,b7,b9,b10,b12,b13,b14,b15,b16,b17,b19,b20,h0.1,h0.4,h0.8,h0.2,b18,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,,,,,,,b7,b6,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,a0,a1(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a5(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a3,a4(b1,b0,b4,b3,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a5`.split(`(`),Qa={l00790006:0,l00790011:1,l00790016:2,l00790122:3,l00790126:4,l00791800:5,l00791803:6,l0079181a:7,l0079181b:8,l0079181c:9,l00791830:10,l00791843:11,l00791844:12,l00791845:11,l00791846:13,l007918d2:7,l007918d4:14,l0079954e:15,l046dc20a:16,l046dc211:17,l046dc216:5,l046dc218:5,l046dc219:5,l046dc21a:18,l046dc21d:14,l046dc21e:14,l046dc21f:14,l046dcad1:5,l046dcad2:5,l04b4010a:19,l04b42411:20,l04b42412:21,l054c0268:22,l054c05c4:23,l054c09cc:24,l054c0ba0:24,l054c0cda:25,l054c0ce6:24,l054c0df2:24,l054c0e5f:24,l054c1337:26,l057e0330:27,l057e0337:28,l057e1337:29,l057e2006:30,l057e2007:31,l057e2008:32,l057e2009:33,l057e2017:34,l057e201e:35,l057e2069:36,l057e2073:37,l05ac022d:38,l05ac055b:39,l05ac057a:40,l05ac061a:41,l0e6f0109:42,l0e6f011e:7,l0e6f011f:14,l0e6f0128:5,l0e6f012f:7,l0e6f0130:7,l0e6f0131:14,l0e6f0139:14,l0e6f0146:43,l0e6f0164:14,l0e6f0180:7,l0e6f0181:7,l0e6f0184:7,l0e6f0185:44,l0e6f0187:7,l0e6f0188:7,l0e6f0203:45,l0e6f0207:46,l0e6f0213:14,l0e6f0214:7,l0e6f02a7:14,l0e6f02a8:47,l0e6f02b2:48,l0e6f02b8:14,l0e6f02c8:14,l0e6f02d7:49,l0e6f02d8:14,l0e6f02da:14,l0e6f02ef:14,l0e6f02f1:14,l0e6f0301:14,l0e6f0315:14,l0e6f0401:14,l0e6f0413:14,l0e6f1112:50,l0e6f1113:51,l0e6ff501:14,l0f0d0009:7,l0f0d0010:42,l0f0d0011:7,l0f0d0016:52,l0f0d0022:42,l0f0d004d:7,l0f0d005e:53,l0f0d005f:54,l0f0d0066:24,l0f0d0067:14,l0f0d006a:8,l0f0d006b:7,l0f0d006d:55,l0f0d006e:7,l0f0d0084:8,l0f0d0085:7,l0f0d0086:47,l0f0d0087:56,l0f0d0088:57,l0f0d0092:58,l0f0d00aa:39,l0f0d00c1:7,l0f0d00ee:59,l0f0d00f6:60,l0f0d00fb:39,l0f0d0137:61,l0f0d0138:62,l0f0d0150:14,l0f0d0185:14,l0f0d0196:63,l0f0d01ab:63,l15320401:24,l15320402:7,l15320705:64,l15320900:65,l15320a03:14,l15320a14:14,l15320a29:14,l15321000:8,l15321008:66,l1532100a:59,l1532100b:24,l15321100:24,l18d19400:65,l20d60dad:67,l20d62002:68,l20d62005:14,l20d6200b:14,l20d6200f:69,l20d62065:14,l20d62802:14,l20d64001:70,l20d64002:70,l20d64005:14,l20d66271:71,l20d6792a:24,l20d689e5:71,l20d6a710:5,l20d6a711:7,l20d6a712:7,l20d6a713:7,l20d6a714:7,l20d6ca6d:7,l24c65300:14,l24c6531a:14,l24c6541a:14,l24c6543a:14,l24c6581a:14,l24c65b02:14,l24c65d04:14,l24c6891a:63,l24c6891b:63,l24c6892a:72,l24c6892b:63,l24c6fafe:14,l27f80bbf:63,l28de1102:73,l28de1105:73,l28de1106:73,l28de1142:73,l28de11fc:43,l28de11ff:14,l28de1201:73,l28de1202:73,l28de1205:74,l2dc80651:75,l2dc81003:76,l2dc81080:76,l2dc82000:14,l2dc82003:14,l2dc8200a:77,l2dc82019:14,l2dc82025:14,l2dc82101:63,l2dc82830:78,l2dc82862:79,l2dc82865:79,l2dc82869:80,l2dc8286a:81,l2dc83010:82,l2dc83011:63,l2dc83012:63,l2dc83013:63,l2dc83015:63,l2dc83016:63,l2dc83017:63,l2dc83019:83,l2dc8301b:63,l2dc8301d:63,l2dc83100:84,l2dc83101:85,l2dc83102:85,l2dc83103:85,l2dc83104:85,l2dc83106:14,l2dc8310a:14,l2dc8310b:14,l2dc83230:86,l2dc83810:79,l2dc83820:87,l2dc85006:88,l2dc85101:89,l2dc85103:86,l2dc85104:90,l2dc85107:91,l2dc85108:91,l2dc85109:90,l2dc85111:92,l2dc85112:82,l2dc86000:92,l2dc86001:93,l2dc86002:92,l2dc86006:82,l2dc86007:94,l2dc86009:82,l2dc86012:63,l2dc86100:87,l2dc86101:93,l2dc86102:92,l2dc86728:95,l2dc89000:96,l2dc89001:96,l2dc89012:93,l2dc89015:79,l2dc89018:78,l2dc89020:97,l2dc89025:98,l2dc8ab21:78,l35371004:14,l35371007:63,l3537100b:14,l35371046:63,l35371058:63,l35371094:63,l35371097:63,l358a0102:63,l358a0202:63,l358a0203:63,l358a0204:63,m00790006:99,m00790011:100,m00791800:101,m00791803:102,m0079181c:41,m00791843:103,m00791844:104,m00791846:105,m007918d2:39,m0079954e:106,m046dc216:5,m046dc218:5,m046dc219:5,m046dc21a:18,m046dc21f:107,m04b4010a:108,m04b42411:20,m04b42412:20,m054c0268:22,m054c05c4:24,m054c09cc:24,m054c0ba0:24,m054c0cda:25,m054c0ce6:24,m054c0df2:24,m054c0e5f:24,m054c1337:26,m057e2006:30,m057e2007:31,m057e2009:60,m057e2017:109,m057e2069:36,m057e2073:37,m05ac061a:41,m0e6f0109:42,m0e6f0184:110,m0e6f0187:5,m0e6f0201:107,m0e6f0203:45,m0e6f0207:46,m0e6f0401:107,m0f0d002d:54,m0f0d004d:7,m0f0d005e:111,m0f0d005f:7,m0f0d0066:24,m0f0d006e:7,m0f0d0084:8,m0f0d0085:7,m0f0d0087:112,m0f0d0088:57,m0f0d0092:58,m0f0d00aa:39,m0f0d00c1:7,m0f0d00ee:113,m0f0d00f6:3,m0f0d0138:62,m0f0d0200:7,m15320401:24,m15320402:7,m15320705:64,m15320900:65,m15320a03:107,m15321000:8,m15321100:24,m18d19400:65,m20d66271:71,m20d6792a:24,m20d6a710:7,m20d6a711:44,m20d6ca6d:7,m24c6543a:107,m24c65d04:107,m24c6891a:114,m24c6891b:63,m24c6892a:64,m24c6892b:63,m24c6fafe:107,m2dc80651:115,m2dc82820:116,m2dc82830:78,m2dc82840:78,m2dc82865:87,m2dc82869:80,m2dc8286a:81,m2dc83011:63,m2dc83012:63,m2dc83013:63,m2dc83015:117,m2dc83016:63,m2dc83017:118,m2dc83019:83,m2dc8301b:63,m2dc8301d:63,m2dc83100:9,m2dc83101:85,m2dc83102:85,m2dc83103:85,m2dc83104:85,m2dc83105:84,m2dc83230:119,m2dc83810:94,m2dc85006:120,m2dc85101:89,m2dc85103:86,m2dc85104:90,m2dc85107:121,m2dc85108:122,m2dc85109:90,m2dc85111:82,m2dc85112:82,m2dc86001:79,m2dc86002:85,m2dc86006:82,m2dc86009:123,m2dc86101:85,m2dc86102:85,m2dc86728:95,m2dc89000:96,m2dc89001:79,m2dc89012:78,m2dc89015:124,m2dc89018:78,m2dc89020:125,m2dc89025:126,m2dc89026:127,m2dc8ab12:116,m35371022:63,m35371041:63,m35371046:63,m35371104:63,m358a0102:63,m358a0201:128,m358a0202:128,m358a0203:128,m358a0204:63,w00790002:129,w00790007:129,w0079000a:129,w00790016:18,w00790122:99,w00790126:130,w00791804:131,w0079181a:7,w0079181b:113,w00791824:132,w00791830:133,w00791845:11,w00791847:12,w0079184f:134,w00791879:135,w0079188f:136,w007918ae:137,w007918d4:138,w046dc209:139,w046dc20a:16,w046dc20b:140,w046dc211:141,w046dc21d:138,w046dc21e:142,w046dc242:142,w046dca84:143,w046dca88:143,w046dcad1:5,w046dcad2:7,w04b42410:144,w04b4c681:130,w054c05c5:145,w057e0330:146,w05ac022d:144,w05ac033d:147,w05ac044d:147,w05ac055b:39,w05ac057a:148,w0e6f0003:149,w0e6f0111:7,w0e6f0114:7,w0e6f0119:7,w0e6f011a:7,w0e6f011e:7,w0e6f011f:150,w0e6f0124:42,w0e6f0128:7,w0e6f012f:7,w0e6f0130:7,w0e6f0132:7,w0e6f0146:138,w0e6f0164:151,w0e6f0180:7,w0e6f0181:7,w0e6f0185:44,w0e6f0188:7,w0e6f0189:7,w0e6f0214:7,w0e6f0301:138,w0e6f1113:51,w0e6f6302:7,w0f0d0009:7,w0f0d000a:152,w0f0d000c:153,w0f0d000d:154,w0f0d0010:155,w0f0d0011:57,w0f0d0013:155,w0f0d001b:152,w0f0d0021:155,w0f0d0022:54,w0f0d0025:42,w0f0d0026:155,w0f0d0027:42,w0f0d0032:155,w0f0d003d:156,w0f0d0040:157,w0f0d0042:155,w0f0d0049:7,w0f0d004b:155,w0f0d0051:155,w0f0d0054:7,w0f0d0055:8,w0f0d005b:113,w0f0d005c:7,w0f0d0064:155,w0f0d0067:70,w0f0d006a:8,w0f0d006b:7,w0f0d006f:158,w0f0d0070:57,w0f0d007b:155,w0f0d008a:8,w0f0d008b:7,w0f0d008c:138,w0f0d009c:8,w0f0d00a0:159,w0f0d00a5:160,w0f0d00a6:111,w0f0d00ad:161,w0f0d00ae:142,w0f0d00af:162,w0f0d00c0:138,w0f0d00c9:5,w0f0d00d8:163,w0f0d00dc:138,w0f0d0101:5,w0f0d0104:142,w0f0d0123:144,w0f0d0137:164,w0f0d0162:165,w0f0d0164:166,w0f0d0196:134,w0f0d0202:167,w0f0d1011:168,w153202a6:169,w15320300:170,w15320707:147,w15320a14:138,w15321004:145,w15321007:145,w15321009:145,w1532100a:5,w18d12c40:171,w20d60060:7,w20d60dad:142,w20d6319f:7,w20d64026:134,w20d64033:134,w20d6571d:7,w20d6576d:7,w20d65795:7,w20d657c7:7,w20d657e5:7,w20d689e5:172,w20d6a712:7,w20d6a713:7,w20d6a714:7,w20d6a720:7,w24c6531a:153,w24c65b02:138,w27f80bbf:173,w28de11fc:70,w28de11ff:174,w2dc802e0:175,w2dc81003:176,w2dc81080:176,w2dc82100:144,w2dc82810:177,w2dc82862:78,w2dc83000:78,w2dc83001:178,w2dc8301c:134,w2dc8310a:134,w2dc83820:179,w2dc85001:180,w2dc86000:79,w2dc86003:123,w2dc86012:134,w2dc86100:85,w2dc86103:123,w2dc8ab11:179,w2dc8ab20:178,w2dc8ab21:78,w35371004:138,w35371007:134,w35371094:134,w35371116:134},$a=e=>e.toLowerCase().padStart(4,`0`);function eo(e){let t=/^(.*?)\s*\((?:[^()]*?\s)?Vendor:\s*([0-9a-f]{1,4})\s+Product:\s*([0-9a-f]{1,4})\s*\)\s*$/i.exec(e);if(t)return{vendor:$a(t[2]),product:$a(t[3]),name:t[1].trim()};let n=/^([0-9a-f]{1,4})-([0-9a-f]{1,4})-(.*)$/i.exec(e.trim());return n?{vendor:$a(n[1]),product:$a(n[2]),name:n[3].trim()}:null}function to(e){return(eo(e)?.name??e.replace(/\s*\((?:XInput\s*)?STANDARD GAMEPAD\)\s*$/i,``)).trim()||e}function no(e=globalThis.navigator){let t=e?.userAgent??``;return/Android|iPhone|iPad|iPod/i.test(t)?null:/Macintosh|Mac OS X/i.test(t)?(e?.maxTouchPoints??0)>1?null:`m`:/Windows/i.test(t)?`w`:/Linux|CrOS|X11/i.test(t)?`l`:null}function ro(e,t){if(!t)return null;let n=t===`l`?[`l`]:[`m`,`w`];for(let t of n){let n=Qa[`${t}${e.vendor}${e.product}`];if(n!==void 0)return Za[n]??null}return null}function io(e){return e.mapping!==`standard`&&eo(e.id)?.vendor===`2dc8`}var ao={6003:`switch`,6006:`switch`,6103:`switch`,3010:`switch`,6001:`startx`,6002:`startx`,6101:`startx`,6102:`startx`,3011:`receiver`,3012:`receiver`,3013:`receiver`,3015:`receiver`,3016:`receiver`,3017:`receiver`,"301b":`receiver`,"301c":`receiver`,"301d":`receiver`,6012:`receiver`,5112:`none`,9020:`none`};function oo(e){let t=eo(e);return t&&ao[t.product]||`manual`}var so={1:0,2:2,4:4,8:6};function co(e){let t=0,n=!1;for(let r of e){let e=/a(\d+)/.exec(r);e&&(t=Math.max(t,Number(e[1])+1)),r.startsWith(`h`)&&(n=!0)}return{n:t,hat:n}}function lo(e,t,n){let{n:r,hat:i}=co(t),a=Ia.length,o=e.axes.findIndex(e=>Math.abs(e)>1.05),s=e=>e;if(i&&o<0)return n===`l`&&e.axes.length>=r+2?{hat:-1,hatXY:r,axis:s}:null;if(!(i?o>r:n!==`l`&&e.axes.length>=r+2))return{hat:o,hatXY:-1,axis:s};if(r<=4)return{hat:o,hatXY:-1,axis:e=>[0,1,2,5][e]??e};let c=t[a+2]?.replace(`~`,``)===`a2`&&t[a+3]?.replace(`~`,``)===`a3`,l=[t[6],t[7]].every(e=>/^a[45]~?$/.test(e??``));return r===6&&c&&l?{hat:o,hatXY:-1,axis:e=>[0,1,2,5,3,4][e]??e}:{hat:o,hatXY:-1,axis:s}}function uo(e,t){let n=/^b(\d+)$/.exec(e);if(n)return{b:Number(n[1])};if(n=/^([+-]?)a(\d+)(~?)$/.exec(e),n){let e=t.axis(Number(n[2]));return n[1]===`+`?{a:e,d:1}:n[1]===`-`?{a:e,d:-1}:n[3]?{a:e,d:-1,rest:1}:{a:e,d:1,rest:-1}}if(n=/^h0\.(\d)$/.exec(e),n){let e=so[n[1]];if(e===void 0)return null;if(t.hat>=0)return{h:t.hat,at:e};if(t.hatXY>=0)return e===0?{a:t.hatXY+1,d:-1}:e===4?{a:t.hatXY+1,d:1}:e===6?{a:t.hatXY,d:-1}:{a:t.hatXY,d:1}}return null}function fo(e,t){let n=/^a(\d+)(~?)$/.exec(e);if(n)return n[2]?{a:t.axis(Number(n[1])),inv:!0}:{a:t.axis(Number(n[1]))};if(e===`hx`||e===`hy`){if(t.hat>=0)return{a:t.hat,hat:e===`hx`?`x`:`y`};if(t.hatXY>=0)return{a:t.hatXY+ +(e===`hy`)}}return null}function po(e,t,n){let r=e.split(`,`),i=lo(t,r,n);if(!i)return null;let a={buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null};for(let e=0;eArray.isArray(e)&&e.length===2&&typeof e[0]==`number`&&_o(e[1]))&&[t.l2,t.r2,t.lx,t.ly,t.rx,t.ry].every(_o)}function yo(){try{let e=Lt(go),t=e?JSON.parse(e):null;return!t||typeof t!=`object`||Array.isArray(t)?{}:Object.fromEntries(Object.entries(t).filter(e=>vo(e[1])))}catch{return{}}}function bo(e,t){let n=yo();return t?n[e]=t:delete n[e],It(go,JSON.stringify(n)),xo=n,n}var xo=null;function So(e){return xo??=yo(),xo[e.id]??To(xo,e.id)??ho(e)??Ua(e)}function Co(e){return xo??=yo(),xo[e.id]?`saved`:e.mapping===`standard`?`standard`:ho(e)?`known`:`guess`}function wo(e){return ho(e)??Ua(e)}function To(e,t){if(!t.endsWith(` (app)`))return null;let n=t.slice(0,-6).trim().toLowerCase();if(!n)return null;let r=Object.keys(e).filter(e=>{let t=e.trim().toLowerCase();return t===n||t.includes(n)}),i=r.find(e=>e.trim().toLowerCase()===n)??(r.length===1?r[0]:null);return i?(xo=bo(t,e[i]),e[i]):null}function Eo(e){return{buttons:e.buttons.map(e=>Math.max(+!!e.pressed,e.value)),axes:[...e.axes]}}function Do(e,t){let n=null;if(t.buttons.forEach((t,r)=>{let i=t-(e.buttons[r]??0);t>.5&&i>.5&&(!n||i>n.amount)&&(n={src:{b:r},amount:i})}),n)return n.src;for(let n=0;n1.05?La(t.axes[n]):null;if(r!==null)return{h:n,at:r}}return t.axes.forEach((t,r)=>{let i=e.axes[r]??0,a=t-i;if(!(Math.abs(a)<.6)&&(!n||Math.abs(a)>n.amount)){let e=a>0?1:-1;n={src:Math.abs(i)>.5?{a:r,d:e,rest:i}:{a:r,d:e},amount:Math.abs(a)}}}),n?n.src:null}function Oo(e,t){let n=null;if(t.axes.forEach((t,r)=>{let i=t-(e.axes[r]??0);Math.abs(i)>=.6&&(!n||Math.abs(i)>Math.abs(n.moved))&&(n={a:r,moved:i})}),!n)return null;let r=n;return r.moved>0?{a:r.a}:{a:r.a,inv:!0}}var ko=[{kind:`button`,bit:R.CROSS,name:`✕`},{kind:`button`,bit:R.CIRCLE,name:`○`},{kind:`button`,bit:R.SQUARE,name:`□`},{kind:`button`,bit:R.TRIANGLE,name:`△`},{kind:`button`,bit:R.UP,name:`↑`},{kind:`button`,bit:R.DOWN,name:`↓`},{kind:`button`,bit:R.LEFT,name:`←`},{kind:`button`,bit:R.RIGHT,name:`→`},{kind:`button`,bit:R.L1,name:`L1`},{kind:`button`,bit:R.R1,name:`R1`},{kind:`trigger`,which:`l2`,name:`L2`},{kind:`trigger`,which:`r2`,name:`R2`},{kind:`button`,bit:R.L3,name:`L3`},{kind:`button`,bit:R.R3,name:`R3`},{kind:`button`,bit:R.OPTIONS,name:`Options`},{kind:`button`,bit:R.SHARE,name:`Create`},{kind:`button`,bit:R.PS,name:`PS`},{kind:`button`,bit:R.TOUCHPAD,name:`Touchpad`},{kind:`axis`,which:`lx`,name:`L →`},{kind:`axis`,which:`ly`,name:`L ↓`},{kind:`axis`,which:`rx`,name:`R →`},{kind:`axis`,which:`ry`,name:`R ↓`}];function Ao(){return{buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null}}function jo(e,t,n){return t.kind===`button`?{...e,buttons:[...e.buttons.filter(([e])=>e!==t.bit),[t.bit,n]]}:(t.kind,{...e,[t.which]:n})}function Mo(e,t=Va){let n=new Set(e.buttons.map(([e])=>e)),r=e=>`b`in e?`b${e.b}`:`h`in e?`h${e.h}.${e.at}`:`a${e.a}${e.d}`,i=new Set([...e.buttons.map(([,e])=>r(e)),...[e.l2,e.r2].filter(e=>!!e).map(r)]);return{buttons:[...e.buttons,...t.buttons.filter(([e,t])=>!n.has(e)&&!i.has(r(t)))],l2:e.l2??t.l2,r2:e.r2??t.r2,lx:e.lx??t.lx,ly:e.ly??t.ly,rx:e.rx??t.rx,ry:e.ry??t.ry}}var No=ko.filter(e=>e.kind!==`button`||![R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD].includes(e.bit));function Po(e,t){return t.buttons.every((t,n)=>Math.abs(t-(e.buttons[n]??0))<.3)&&t.axes.every((t,n)=>Math.abs(t-(e.axes[n]??0))<.3)}var Fo=class{constructor(e=ko){this.steps=e,this.step=0,this.prof=Ao(),this.rest=null,this.waiting=!0}get done(){return this.step>=this.steps.length}get current(){return this.steps[this.step]??null}feed(e){if(this.done)return!1;if(!this.rest)return this.rest=e,this.waiting=!1,!1;if(this.waiting)return Po(this.rest,e)&&(this.waiting=!1),!1;let t=this.steps[this.step],n=t.kind===`axis`?Oo(this.rest,e):Do(this.rest,e);return n?(this.prof=jo(this.prof,t,n),this.go(this.step+1),!0):!1}skip(){this.go(this.step+1)}back(){this.step>0&&this.go(this.step-1)}go(e){this.waiting=!0,this.step=Math.min(e,this.steps.length)}profile(e=Va){return Mo(this.prof,e)}};function Io(e,t){return e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry&&(e.touch?.[0]??-1)===(t.touch?.[0]??-1)&&(e.touch?.[1]??-1)===(t.touch?.[1]??-1)&&(e.motion?.t??-1)===(t.motion?.t??-1)}function Lo(){try{return typeof sessionStorage<`u`?sessionStorage:null}catch{return null}}var Ro=e=>`ps5upload.join.token.${e??`app`}`,zo=class{constructor(e){this.o=e,this.ws=null,this.stage={kind:`connecting`},this.token=null,this.player=0,this.last={...ja},this.lastSent=0,this.neutral=!1,this.stopped=!1,this.attempt=0,this.deadline=0,this.raf=0,this.keepalive=null,this.pinger=null,this.retry=null,this.lastHeard=0,this.hostAway=!1,this.pings=0,this.now=e.now??(()=>Date.now()),this.storage=e.storage===void 0?Lo():e.storage,this.WS=e.WebSocketImpl??WebSocket,this.seq=this.now()>>>0;try{this.token=this.storage?.getItem(this.key)??null}catch{this.token=null}}get key(){return Ro(this.o.invite??this.o.code??null)}get current(){return this.stage}get socket(){return this.ws}get resumeToken(){return this.token}setStage(e){this.stage=e,this.o.onStage(e)}start(){if(this.stopped=!1,this.setStage({kind:`connecting`}),this.connect(),this.stopped)return;let e=()=>{this.sendPad(!1),this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e)};this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e),this.keepalive=setInterval(()=>this.sendPad(!1),100),this.pinger=setInterval(()=>this.ping(),1e3)}connect(){let e;try{e=new this.WS(this.o.url)}catch{this.dropped();return}this.ws=e,e.binaryType=`arraybuffer`,e.onopen=()=>{if(this.ws!==e)return;this.lastHeard=this.now();let t={name:this.o.name};this.o.invite&&(t.invite=this.o.invite),this.o.code&&(t.code=this.o.code),this.token&&(t.resume=this.token),e.send(JSON.stringify({hello:t}))},e.onmessage=t=>{this.ws===e&&(this.lastHeard=this.now(),typeof t.data==`string`?this.onText(t.data):t.data instanceof ArrayBuffer&&this.stage.kind===`joined`&&this.o.onFrame?.(t.data))},e.onclose=t=>{if(this.ws!==e)return;this.ws=null;let n=Ue(t);n===`mismatch`?(this.forgetToken(),this.finish({kind:`ended`,why:n})):n&&this.stage.kind!==`joined`&&this.stage.kind!==`reconnecting`?this.finish({kind:`ended`,why:n}):this.dropped()},e.onerror=()=>{}}onText(e){let t=Je(e);if(t)switch(t.kind){case`pong`:{let e=this.now()-t.t;e>=0&&e<6e4&&this.o.onRtt?.(e);return}case`asking`:this.stage.kind!==`reconnecting`&&this.setStage({kind:`asking`});return;case`waiting`:this.hostAway||(this.hostAway=!0,this.deadline=this.now()+et),this.attempt=0,this.setStage(this.reconnectingStage());return;case`joined`:this.token=t.token,this.player=t.player,this.attempt=0,this.hostAway=!1;try{this.storage?.setItem(this.key,t.token)}catch{}{let e=t.track&&this.ws?.media||null;this.o.onCodec?.(t.hevc,e,!!e&&t.audio&&!!e.audio)}this.setStage({kind:`joined`,player:t.player,hevc:t.hevc}),this.sendPad(!0);return;case`refused`:this.forgetToken(),this.hostAway&&t.why!==`seat_taken`?this.finish({kind:`ended`,why:`host_stopped`}):this.finish({kind:`refused`,why:t.why});return;case`bye`:if(t.why===`host_stopped`&&this.token){this.hostWait();return}this.forgetToken(),this.finish({kind:`ended`,why:t.why});return;case`status`:this.stage.kind===`joined`&&t.status.player>0&&t.status.player!==this.stage.player&&(this.player=t.status.player,this.setStage({...this.stage,player:t.status.player})),this.o.onStatus?.(t.status);return;case`feedback`:t.rumble&&this.o.onRumble?.(t.rumble[0],t.rumble[1]),t.light&&this.o.onLight?.(t.light);return}}hostWait(){this.hostAway=!0,this.deadline=this.now()+et,this.attempt=0;let e=this.ws;this.ws=null;try{e?.close()}catch{}this.scheduleRetry()}reconnectingStage(){return{kind:`reconnecting`,player:this.player,attempt:this.attempt,deadline:this.deadline,...this.hostAway?{hostStopped:!0}:{}}}giveUp(){this.forgetToken(),this.finish({kind:`ended`,why:this.hostAway?`host_stopped`:`gave_up`})}dropped(){if(this.stopped)return;let e=this.stage;e.kind===`joined`||e.kind===`reconnecting`&&this.token?(e.kind===`joined`&&(this.deadline=this.now()+$e),this.scheduleRetry()):this.finish({kind:`ended`,why:`lost`})}scheduleRetry(){if(this.stopped)return;if(this.now()>=this.deadline){this.giveUp();return}let e=Qe(this.attempt);this.setStage(this.reconnectingStage()),this.attempt+=1,this.retry&&clearTimeout(this.retry),this.retry=setTimeout(()=>{this.retry=null,this.stopped||(this.now()>=this.deadline?this.giveUp():this.connect())},e)}forgetToken(){this.token=null;try{this.storage?.removeItem(this.key)}catch{}}ping(){if(this.hostAway&&!this.stopped&&this.now()>=this.deadline+5e3||!this.stopped&&this.stage.kind===`reconnecting`&&this.now()>=this.deadline+5e3){this.giveUp();return}let e=this.ws;if(e&&e.readyState===this.WS.OPEN){if(this.stage.kind===`joined`&&this.now()-this.lastHeard>3500){this.ws=null;try{e.close()}catch{}this.dropped()}else if(e.send(JSON.stringify({ping:this.now()})),this.stage.kind===`joined`&&this.o.readStats&&++this.pings%2==0){let t=this.o.readStats();t&&e.send(JSON.stringify({stats:t}))}}}setNeutral(e){this.neutral!==e&&(this.neutral=e,this.sendPad(!0))}sendPad(e){let t=this.ws;if(!t||t.readyState!==this.WS.OPEN||this.stage.kind!==`joined`)return;let n=this.neutral?{...ja,touch:null,motion:null}:this.o.readPad(),r=this.now();!e&&Io(n,this.last)&&r-this.lastSent<100||(this.last=n,this.lastSent=r,this.seq=this.seq+1>>>0,t.send(Ze(this.seq,n)))}clearTimers(){(this.o.cancelRaf??(e=>window.cancelAnimationFrame(e)))(this.raf),this.keepalive&&clearInterval(this.keepalive),this.pinger&&clearInterval(this.pinger),this.retry&&clearTimeout(this.retry),this.keepalive=this.pinger=this.retry=null}finish(e){this.stopped=!0,this.clearTimers();let t=this.ws;this.ws=null;try{t?.close()}catch{}this.setStage(e)}askKeyframe(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&e.send(JSON.stringify({keyframe:!0}))}leave(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&(this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),e.send(JSON.stringify({leave:1}))),this.forgetToken(),this.finish({kind:`ended`,why:`left`})}stop(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),this.stopped=!0,this.clearTimers(),this.ws=null;try{e?.close()}catch{}}},Bo=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),z=s(((e,t)=>{t.exports=Bo()}))(),Vo=`ps5upload.openIn`,Ho=`ps5upload.openIn.tab`;function Uo(){try{return sessionStorage.getItem(Ho)===`browser`}catch{return!1}}function B(){try{sessionStorage.setItem(Ho,`browser`)}catch{}}function V(e){return e===`browser`?`browser`:e===`app`?`opening`:`ask`}function Wo({appLink:e,children:t}){let n=Ie(),[r,i]=(0,D.useState)(()=>Uo()?`browser`:V(Lt(Vo))),[a,o]=(0,D.useState)(!1);if((0,D.useEffect)(()=>{r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&(location.href=e)},[]),r===`browser`)return(0,z.jsx)(z.Fragment,{children:t});let s=()=>{a&&It(Vo,`app`),i(`opening`),location.href=e},c=()=>{r===`ask`&&a?It(Vo,`browser`):r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&Rt(Vo),B(),i(`browser`)};return(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`open-in-gate`,"data-join-ui":``,children:(0,z.jsx)(`div`,{className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,children:r===`ask`?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_title`,void 0,`Open in the PS5Upload app?`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_body`,void 0,`Have the PS5Upload app on this device? Open this there, or carry on in the browser.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:s,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-app`,children:n(`open_in_app`,void 0,`Open in the app`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)}),(0,z.jsxs)(`label`,{className:`flex items-center justify-center gap-2 text-xs text-white/60`,children:[(0,z.jsx)(`input`,{type:`checkbox`,checked:a,onChange:e=>o(e.target.checked),"data-testid":`open-in-remember`}),n(`open_in_remember`,void 0,`Remember my choice on this device`)]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_opening`,void 0,`Opening the PS5Upload app…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_not_opened`,void 0,`Nothing happened? The app may not be on this device.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>location.href=e,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-again`,children:n(`open_in_again`,void 0,`Try again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)})]})})})}var Go=[`a[href]`,`button:not([disabled])`,`input:not([disabled]):not([type='hidden'])`,`select:not([disabled])`,`textarea:not([disabled])`,`summary`,`[contenteditable='true']`,`[tabindex]`].map(e=>`${e}:not([tabindex='-1'])`).join(`, `),Ko=new Set,qo=[];function Jo(){for(let e of Ko)e()}function Yo(){return qo.length}function Xo(e){return qo.push(e),Jo(),()=>{let t=qo.lastIndexOf(e);t!==-1&&qo.splice(t,1),Jo()}}function Zo(e,t,n){switch(n){case`down`:return t.top-e.bottom;case`up`:return e.top-t.bottom;case`right`:return t.left-e.right;case`left`:return e.left-t.right}}function H(e,t,n){let r=(e.left+e.right)/2,i=(e.top+e.bottom)/2,a=(t.left+t.right)/2,o=(t.top+t.bottom)/2;switch(n){case`down`:return o>i&&t.top>=e.top+1;case`up`:return or&&t.left>=e.left+1;case`left`:return a0?{gap:0,overlap:c}:{gap:-c,overlap:0}}function $o(e,t,n){let r=null,i=1/0,a=!1;for(let o of t){if(!H(e,o.rect,n))continue;let t=Math.max(0,Zo(e,o.rect,n)),s=Qo(e,o.rect,n),c=s.overlap>0;if(a&&!c)continue;let l=c?t-s.overlap/1e6:Math.hypot(t,2*s.gap);(c&&!a||l`u`?void 0:window){try{return!!e?.PS5UploadTv?.isTv()}catch{return!1}}function rs(e=typeof document>`u`?void 0:document){return e?.documentElement.dataset.tv===`1`}function is(e,t){if(!e)return!1;if(e.closest(`[data-own-arrows]`))return!0;let n=e.tagName;if(n===`TEXTAREA`||e.isContentEditable)return!0;let r=t===`left`||t===`right`;if(n===`INPUT`){let t=(e.type||`text`).toLowerCase();if(t===`range`||ts.test(t))return r}return!1}var as=`[aria-modal="true"], [role="dialog"], [role="alertdialog"]`;function os(e){let t=e.activeElement?.closest(as);if(t)return t;if(Yo()>0){let t=e.querySelectorAll(as);if(t.length)return t[t.length-1]}return e}function ss(e){let t=[];return e.querySelectorAll(Go).forEach(e=>{if(e.closest(`[inert], [aria-hidden='true']`)||e.disabled)return;let n=e.getBoundingClientRect();n.width<=0||n.height<=0||t.push({el:e,rect:n})}),t}function cs(e){return(e.find(e=>e.el.getAttribute(`aria-current`)===`page`)??e[0])?.el??null}function ls(e,t=document){let n=es[e.key];if(!n||e.defaultPrevented||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return!1;let r=t.activeElement;if(is(r,n))return!1;let i=ss(os(t));if(!i.length)return!1;let a=i.find(e=>e.el===r),o=a?$o(a.rect,i.filter(e=>e!==a),n):cs(i);return o?(e.preventDefault(),o.focus(),typeof o.scrollIntoView==`function`&&o.scrollIntoView({block:`nearest`,inline:`nearest`}),!0):!1}var us=!1;function ds(e){us||(us=!0,e.addEventListener(`keydown`,t=>void ls(t,e.document)))}function fs(e=typeof window>`u`?void 0:window){e&&(ns(e)&&(e.document.documentElement.dataset.tv=`1`),ds(e))}function ps({id:e,className:t}){let n=Ie(),r=oo(e);if(r===`none`)return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_no_xinput`,void 0,`This 8BitDo has no X-input mode. If a button is wrong, check the controller.`)});let i=r===`switch`?n(`pad_8bitdo_how_switch`,void 0,`set the switch on the back to X, then press Start`):r===`startx`?n(`pad_8bitdo_how_startx`,void 0,`turn it off, then hold Start + X to turn it on`):r===`receiver`?n(`pad_8bitdo_how_receiver`,void 0,`use its 2.4G receiver or a USB cable`):n(`pad_8bitdo_how_manual`,void 0,`its manual says how`);return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_xinput`,{how:i},`For the best result, switch your 8BitDo to X-input mode: ${i}.`)})}var ms=new Set,hs={held:new Set,touch:null,touchPad:ja,mapping:!1,get paused(){return ms.size>0},motion:null},gs={s:.85,m:1,l:1.15},_s=.25;function vs(e){return typeof e!=`number`||!Number.isFinite(e)?1:Math.min(1,Math.max(_s,e))}var ys={overlay:{width:844,height:390},deck:{width:390,height:480}},bs=.7,xs=1.4;function Ss(e,t,n,r){let i=gs[e]??1;if(!(t>0)||!(n>0))return i;let a=r?ys.deck:ys.overlay,o=Math.min(xs,Math.max(bs,Math.min(t/a.width,n/a.height)));return Math.round(o*i*1e3)/1e3}var Cs=34;function ws(e,t){return t>0&&8+Math.max(112*e,90)+156*e+124*e+Math.max(56*e,44)+Cs>t}function Ts(e,t,n){let r=e/32767,i=t/32767,a=Math.hypot(r,i),o=a>1?1/a:1;return{dx:r*o*n,dy:i*o*n}}var Es=`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,Ds=32767,Os=12;function ks({stream:e,layout:t=`overlay`,opacity:n=1,size:r=`m`,deckTop:i=`0px`,onMenu:a}){let o=Ie(),s=(0,D.useRef)(new Map),c=(0,D.useRef)({...ja}),[l,u]=(0,D.useState)({...ja}),[d,f]=(0,D.useState)({l:!1,r:!1,touchpad:!1}),p=(0,D.useRef)(null),[m,h]=(0,D.useState)({width:0,height:0});(0,D.useEffect)(()=>{let e=p.current;if(!e)return;let t=()=>{let t=e.getBoundingClientRect();h(e=>e.width===t.width&&e.height===t.height?e:{width:t.width,height:t.height})};if(t(),typeof ResizeObserver>`u`)return window.addEventListener(`resize`,t),()=>window.removeEventListener(`resize`,t);let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,D.useEffect)(()=>()=>{hs.touchPad={...ja}},[]);let g=()=>{let t={...ja,touch:null},n={l:!1,r:!1,touchpad:!1};for(let e of s.current.values())e.kind===`stick`&&(n[e.which]=!0),e.kind===`touchpad`&&(n.touchpad=!0),e.kind===`button`&&(t.buttons|=e.bit),e.kind===`trigger`&&(t[e.which]=255),e.kind===`touchpad`&&e.pressed&&(t.buttons|=R.TOUCHPAD);t.lx=c.current.lx,t.ly=c.current.ly,t.rx=c.current.rx,t.ry=c.current.ry,t.touch=c.current.touch??null,hs.touchPad=t,e?.sendPad(),u(t),f(e=>e.l===n.l&&e.r===n.r&&e.touchpad===n.touchpad?e:n)},_=(e,t,n)=>{let r=Math.max(-1,Math.min(1,(t-e.cx)/e.radius)),i=Math.max(-1,Math.min(1,(n-e.cy)/e.radius));c.current[e.which===`l`?`lx`:`rx`]=Math.round(r*Ds),c.current[e.which===`l`?`ly`:`ry`]=Math.round(i*Ds)},v=(e,t)=>{e.preventDefault(),e.stopPropagation();let n=e.currentTarget;try{n.setPointerCapture(e.pointerId)}catch{}let r=t(n);s.current.set(e.pointerId,r),r.kind===`stick`&&_(r,e.clientX,e.clientY),r.kind===`touchpad`&&(c.current.touch=Ma((e.clientX-r.rect.left)/r.rect.width,(e.clientY-r.rect.top)/r.rect.height)),navigator.vibrate?.(8),g()},y=e=>{let t=s.current.get(e.pointerId);if(t){if(e.stopPropagation(),t.kind===`stick`)_(t,e.clientX,e.clientY);else if(t.kind===`touchpad`)c.current.touch=Ma((e.clientX-t.rect.left)/t.rect.width,(e.clientY-t.rect.top)/t.rect.height),t.pressed&&Math.hypot(e.clientX-t.x0,e.clientY-t.y0)>Os&&(t.pressed=!1);else return;g()}},b=e=>{let t=s.current.get(e.pointerId);t&&(e.stopPropagation(),s.current.delete(e.pointerId),t.kind===`stick`&&(c.current[t.which===`l`?`lx`:`rx`]=0,c.current[t.which===`l`?`ly`:`ry`]=0),t.kind===`touchpad`&&(c.current.touch=null),g())},x=e=>e.stopPropagation(),S={onPointerMove:y,onPointerUp:b,onPointerCancel:b,onClick:x,onDoubleClick:x},ee=e=>(l.buttons&e)!==0,C=e=>`border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.35)] transition-colors duration-75 ${e?`border-white bg-white/50`:`border-white/70 bg-white/10`}`,w=`text-white [text-shadow:0_1px_2px_rgba(0,0,0,0.6)]`,T={filter:`drop-shadow(0 0 1.5px rgba(0,0,0,0.5))`},E=e=>({stroke:e?`#fff`:`rgba(255,255,255,0.75)`,fill:e?`rgba(255,255,255,0.5)`:`rgba(255,255,255,0.1)`}),te=`pointer-events-auto flex touch-none select-none items-center justify-center bg-transparent p-0`,ne={minHeight:`calc(44px / var(--k))`,minWidth:`calc(44px / var(--k))`},re=(e,t,n,r)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`button`,bit:t})),...S,className:`${te} ${n}`,style:ne,children:r}),ie=(e,t,n,r)=>(0,z.jsx)(`span`,{className:`flex h-[32px] w-[76px] items-center justify-center text-[13px] font-semibold tracking-wide ${w} ${C(t)}`,style:{borderRadius:r?n===`l`?`16px 9px 9px 9px`:`9px 16px 9px 9px`:`9px`},children:e}),ae=(e,t,n,r)=>re(e,t,`h-[44px] w-[84px]`,ie(e,ee(t),n,r)),oe=(e,t,n)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`trigger`,which:t})),...S,className:`${te} h-[44px] w-[84px]`,style:ne,children:ie(e,l[t]>0,n,!0)}),se=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsx)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:(0,z.jsxs)(`g`,{transform:`rotate(${n} 26 26)`,strokeWidth:`1.5`,strokeLinejoin:`round`,...E(ee(t)),children:[(0,z.jsx)(`path`,{d:`M10 9 Q10 3 16 3 L36 3 Q42 3 42 9 L42 30 Q42 34.5 38.5 38 L29.5 47 Q26 50.5 22.5 47 L13.5 38 Q10 34.5 10 30 Z`}),(0,z.jsx)(`path`,{d:`M20.5 23 L26 17 L31.5 23`,fill:`none`,stroke:`#fff`,strokeLinecap:`round`,strokeWidth:`1.8`})]})})),ce=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsxs)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:[(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`22.5`,strokeWidth:`1.5`,...E(ee(t))}),(0,z.jsx)(`g`,{fill:`none`,stroke:`#fff`,strokeWidth:`1.8`,strokeLinejoin:`round`,strokeLinecap:`round`,children:n})]})),le=(e,t)=>re(e,t,`h-[44px] min-w-[64px] px-[4px]`,(0,z.jsx)(`span`,{className:`flex h-[24px] items-center rounded-full px-[10px] text-[10px] font-semibold uppercase tracking-wider ${w} ${C(ee(t))}`,children:e})),ue=(e,t)=>re(e,t,`h-[44px] w-[44px]`,(0,z.jsx)(`span`,{className:`flex h-[36px] w-[36px] items-center justify-center rounded-full text-[11px] font-bold ${w} ${C(ee(t))}`,children:e})),de=e=>{let{dx:t,dy:n}=Ts(e===`l`?l.lx:l.rx,e===`l`?l.ly:l.ry,34),r=d[e];return(0,z.jsx)(`div`,{"aria-label":e===`l`?o(`rp_touch_left_stick`,void 0,`Left stick`):o(`rp_touch_right_stick`,void 0,`Right stick`),onPointerDown:t=>v(t,t=>{let n=t.getBoundingClientRect();return{kind:`stick`,which:e,cx:n.left+n.width/2,cy:n.top+n.height/2,radius:n.width/2}}),...S,className:`pointer-events-auto relative h-[124px] w-[124px] touch-none rounded-full border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${r?`border-white/80 bg-white/[0.12]`:`border-white/45 bg-white/[0.05]`}`,children:(0,z.jsx)(`div`,{className:`absolute left-1/2 top-1/2 h-[54px] w-[54px] rounded-full ${C(r)}`,style:{transform:`translate(calc(-50% + ${t}px), calc(-50% + ${n}px))`}})})},O=t===`deck`,fe=Ss(r,m.width,m.height,O),pe=e=>`${e}px * var(--k)`,k=`max(12px, env(safe-area-inset-left))`,me=`max(12px, env(safe-area-inset-right))`,he=`max(12px, env(safe-area-inset-bottom))`,ge=O?`8px`:t===`overlay-bar`?`3.5rem`:`max(10px, env(safe-area-inset-top))`,_e=(e,t,n=0)=>t?n?`calc(${e} + max(${pe(t)}, ${n}px))`:`calc(${e} + ${pe(t)})`:e,ye=(e,t)=>({position:`absolute`,...t,transform:`scale(var(--k))`,transformOrigin:e}),be=O&&ws(fe,m.height),A=O?void 0:`58%`,j=e=>O?{top:_e(ge,be?96:112,be?72:90),[e]:e===`left`?k:me}:{top:A,translate:`0 -50%`,[e]:e===`left`?k:me},xe=e=>({bottom:be?he:_e(he,O?56:0,44),[e]:be?`calc(${e===`left`?k:me} + 8px + max(${pe(80)}, 44px))`:_e(e===`left`?k:me,O?40:168)}),Se=!!a&&!O;return(0,z.jsxs)(`div`,{ref:p,className:`pointer-events-none absolute z-10 select-none [-webkit-touch-callout:none] ${O?`inset-x-0 bottom-0`:`inset-0`}`,style:{top:O?i:void 0,"--k":fe},"data-testid":`rp-touch`,"data-layout":t,"data-scale":fe,onContextMenu:e=>e.preventDefault(),children:[(0,z.jsxs)(`div`,{className:`absolute inset-0`,style:{opacity:vs(n)},children:[(0,z.jsx)(`div`,{style:ye(`top left`,{top:ge,left:k}),children:(0,z.jsxs)(`div`,{className:`ms-[8px] flex flex-col`,style:{rotate:O?void 0:`6deg`,transformOrigin:`top left`},children:[oe(`L2`,`l2`,`l`),ae(`L1`,R.L1,`l`,!1)]})}),(0,z.jsx)(`div`,{style:ye(`top right`,{top:ge,right:me}),children:(0,z.jsxs)(`div`,{className:`me-[8px] flex flex-col items-end`,style:{rotate:O?void 0:`-6deg`,transformOrigin:`top right`},children:[oe(`R2`,`r2`,`r`),ae(`R1`,R.R1,`r`,!1)]})}),(0,z.jsx)(`div`,{"aria-label":o(`rp_touch_touchpad`,void 0,`Touchpad`),onPointerDown:e=>v(e,t=>({kind:`touchpad`,rect:t.getBoundingClientRect(),x0:e.clientX,y0:e.clientY,pressed:!0})),...S,className:`pointer-events-auto absolute touch-none rounded-2xl border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${d.touchpad?`border-white/80 bg-white/25`:`border-white/40 bg-white/[0.05]`}`,style:O?{top:_e(ge,6),left:_e(k,104),right:_e(me,104),height:`max(44px, calc(${pe(64)}))`}:{top:ge,left:`50%`,translate:`-50% 0`,width:`min(calc(${pe(250)}), 34vw)`,height:`max(44px, calc(${pe(56)}))`}}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top left`:`left center`,j(`left`)),children:[(0,z.jsx)(`span`,{}),se(`↑`,R.UP,0),(0,z.jsx)(`span`,{}),se(`←`,R.LEFT,-90),(0,z.jsx)(`span`,{}),se(`→`,R.RIGHT,90),(0,z.jsx)(`span`,{}),se(`↓`,R.DOWN,180),(0,z.jsx)(`span`,{})]}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top right`:`right center`,j(`right`)),children:[(0,z.jsx)(`span`,{}),ce(`△`,R.TRIANGLE,(0,z.jsx)(`path`,{d:`M26 16.5 L35 32 L17 32 Z`})),(0,z.jsx)(`span`,{}),ce(`□`,R.SQUARE,(0,z.jsx)(`rect`,{x:`18`,y:`18`,width:`16`,height:`16`,rx:`1`})),(0,z.jsx)(`span`,{}),ce(`○`,R.CIRCLE,(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`8.5`})),(0,z.jsx)(`span`,{}),ce(`✕`,R.CROSS,(0,z.jsx)(`path`,{d:`M19 19 L33 33 M33 19 L19 33`})),(0,z.jsx)(`span`,{})]}),(0,z.jsx)(`div`,{style:ye(`bottom left`,xe(`left`)),children:de(`l`)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,xe(`right`)),children:de(`r`)}),(0,z.jsx)(`div`,{style:ye(`bottom left`,{bottom:he,left:k}),children:le(`Create`,R.SHARE)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,{bottom:he,right:me}),children:le(`Options`,R.OPTIONS)}),(0,z.jsx)(`div`,{style:ye(`bottom center`,{bottom:be?_e(he,124,88):_e(he,Se?48:0,48),left:Es,translate:`-50% 0`}),children:ue(`PS`,R.PS)})]}),Se&&(0,z.jsx)(`div`,{style:{...ye(`bottom center`,{bottom:he,left:`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,translate:`-50% 0`}),opacity:Math.max(.7,vs(n))},children:(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),a?.()},onDoubleClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),"aria-label":o(`rp_menu`,void 0,`Menu`),"aria-haspopup":`dialog`,className:`${te} h-[44px] w-[56px]`,style:ne,"data-testid":`rp-menu-handle`,children:(0,z.jsx)(`span`,{className:`flex h-[26px] w-[44px] items-center justify-center rounded-full ${w} ${C(!1)}`,children:(0,z.jsx)(ve,{size:15,strokeWidth:2,"aria-hidden":!0})})})})]})}var As=`data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAYZbW9vdgAAAGxtdmhkAAAAAAAAAAAAAAAAAAAfQAAAfQAAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAmt0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAABAAAAAAAAfQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAABAAAAAQAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAH0AAAAAAAABAAAAAAHjbWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAABAAAABAABVxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAABjm1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAU5zdGJsAAAAunN0c2QAAAAAAAAAAQAAAKphdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABAAEABIAAAASAAAAAAAAAABFExhdmM2My4xLjEwMiBsaWJ4MjY0AAAAAAAAAAAAAAAAGP//AAAAMGF2Y0MBQsAK/+EAF2dCwAqmEXsBEAAAAwAQAAADACDxImEYAQAGaMhCAZSyAAAAEHBhc3AAAAABAAAAAQAAABRidHJ0AAAAAAAABUAAAAAAAAAAGHN0dHMAAAAAAAAAAQAAAAQAAEAAAAAAFHN0c3MAAAAAAAAAAQAAAAEAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAJHN0c3oAAAAAAAAAAAAAAAQAAAKCAAAACgAAAAoAAAAKAAAAIHN0Y28AAAAAAAAABAAABlwAAAj+AAAJKAAACVIAAALZdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAgAAAAAAAH0AAAAAAAAAAAAAAAABAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAB9AAAABAAAAQAAAAACUW1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAAH0AAAIEAVcQAAAAAAC1oZGxyAAAAAAAAAABzb3VuAAAAAAAAAAAAAAAAU291bmRIYW5kbGVyAAAAAfxtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAcBzdGJsAAAAfnN0c2QAAAAAAAAAAQAAAG5tcDRhAAAAAAAAAAEAAAAAAAAAAAABABAAAAAAH0AAAAAAADZlc2RzAAAAAAOAgIAlAAIABICAgBdAFQAAAAAAH0AAAAEcBYCAgAUViFblAAaAgIABAgAAABRidHJ0AAAAAAAAH0AAAAEcAAAAIHN0dHMAAAAAAAAAAgAAACAAAAQAAAAAAQAAAQAAAAAoc3RzYwAAAAAAAAACAAAAAQAAAAEAAAABAAAAAgAAAAgAAAABAAAAmHN0c3oAAAAAAAAAAAAAACEAAAATAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAkc3RjbwAAAAAAAAAFAAAGSQAACN4AAAkIAAAJMgAACVwAAAAac2dwZAEAAAByb2xsAAAAAgAAAAH//wAAABxzYmdwAAAAAHJvbGwAAAABAAAAIQAAAAEAAABhdWR0YQAAAFltZXRhAAAAAAAAACFoZGxyAAAAAAAAAABtZGlyYXBwbAAAAAAAAAAAAAAAACxpbHN0AAAAJKl0b28AAAAcZGF0YQAAAAEAAAAATGF2ZjYzLjEuMTAyAAAACGZyZWUAAAM7bWRhdNwATGF2YzYzLjEuMTAyAAIwQA4AAAJvBgX//2vcRem95tlIt5Ys2CDZI+7veDI2NCAtIGNvcmUgMTY1IHIzMjIyIGIzNTYwNWEgLSBILjI2NC9NUEVHLTQgQVZDIGNvZGVjIC0gQ29weWxlZnQgMjAwMy0yMDI1IC0gaHR0cDovL3d3dy52aWRlb2xhbi5vcmcveDI2NC5odG1sIC0gb3B0aW9uczogY2FiYWM9MCByZWY9MTYgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDEzMSBtZT11bWggc3VibWU9MTAgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0yNCBjaHJvbWFfbWU9MSB0cmVsbGlzPTIgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz0xIGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9pbnRyYT0wIGJmcmFtZXM9MCB3ZWlnaHRwPTAga2V5aW50PTQga2V5aW50X21pbj0xIHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NCByYz1jcmYgbWJ0cmVlPTEgY3JmPTUxLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IGlwX3JhdGlvPTEuNDAgYXE9MToxLjAwAIAAAAALZYiCAv5MUAAQv8ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmhwF/UABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmioBb1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmjsBX1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBw==`,js=null,Ms=null;function Ns(e){e.play().catch(()=>{if(Ms||js!==e)return;let t=()=>{Ps(),js===e&&e.play().catch(()=>{})};window.addEventListener(`pointerdown`,t,{capture:!0}),Ms=()=>window.removeEventListener(`pointerdown`,t,{capture:!0})})}function Ps(){Ms?.(),Ms=null}function Fs(){if(typeof document<`u`){if(!js){let e=document.createElement(`video`);e.muted=!0,e.loop=!0,e.playsInline=!0,e.setAttribute(`playsinline`,``),e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`data-testid`,`keep-screen-video`),e.style.cssText=`position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none`,e.src=As,document.body.appendChild(e),js=e}Ns(js)}}function Is(){Ps(),js&&=(js.pause(),js.removeAttribute(`src`),js.remove(),null)}function Ls(){return typeof navigator>`u`?null:navigator.wakeLock??null}function Rs(){return dt()||!Pn()}var zs=new Set,Bs=null,Vs=Promise.resolve(),Hs=!1;async function Us(){if(zs.size===0||Bs&&!Bs.released)return;let e=Ls();if(!e)dt()&&Fs();else try{let t=await e.request(`screen`);t.addEventListener(`release`,()=>{Bs===t&&(Bs=null)}),Bs=t}catch{}}async function Ws(){Is();let e=Bs;if(Bs=null,e&&!e.released)try{await e.release()}catch{}}function Gs(){Hs||typeof document>`u`||(Hs=!0,document.addEventListener(`visibilitychange`,()=>{document.visibilityState===`visible`&&zs.size>0&&(Vs=Vs.then(Us))}))}function Ks(e,t){if(!Rs())return;Gs();let n=zs.size>0;t?zs.add(e):zs.delete(e);let r=zs.size>0;n!==r&&(Vs=Vs.then(r?Us:Ws))}var qs=new Set;function Js(){if(typeof window<`u`)return window.PS5UploadPad}function Ys(e,t){let n=qs.size>0;t?qs.add(e):qs.delete(e);let r=qs.size>0;if(n!==r)try{Js()?.setActive(r)}catch{}}var Xs=class e{constructor(e){this.receiver=e,this.last=null,this.was={}}get frames(){return Number(this.last?.frames??0)}static report(e,t){let n=t=>e[t]??0,r=e=>n(e)-(t[e]??0),i=(e,t)=>r(t)>0?Math.round(r(e)/r(t)*1e4)/10:0;return{frames:n(`framesDecoded`),dropped:n(`framesDropped`),stalls:n(`freezeCount`),stall_ms:Math.round(n(`totalFreezesDuration`)*1e3),decode_ms:i(`totalDecodeTime`,`framesDecoded`),jitter_ms:i(`jitterBufferDelay`,`jitterBufferEmittedCount`),nacks:n(`nackCount`),plis:n(`pliCount`),decoder:`track`}}snapshot(){return this.receiver.getStats().then(t=>{t.forEach(t=>{t.type===`inbound-rtp`&&t.kind===`video`&&(this.last=e.report(t,this.was),this.was={...t})})}).catch(()=>{}),this.last}},Zs=class{constructor(e){this.inner=e,this.video=document.createElement(`video`),this.wrap=document.createElement(`div`),this.media=null,this.trackStats=null,this.audio=!1,this.soundOn=!1,this.muted=!1;let t=this.video;t.muted=t.autoplay=t.playsInline=!0,t.className=`block h-full w-full object-contain`,t.dataset.testid=`track-video`,this.wrap.className=`h-full w-full`,this.wrap.append(t,e.element),this.setTrack(null)}get element(){return this.wrap}get stats(){return this.trackStats??this.inner.stats}setTrack(e,t=!1){this.media=e,this.audio=!!e&&t,this.applySound(),this.trackStats=e?new Xs(e.receiver):null,this.video.style.display=e?``:`none`,this.inner.element.style.display=e?`none`:``,this.video.srcObject!==(e?.stream??null)&&(this.video.srcObject=e?.stream??null),e&&this.play()}play(){try{this.video.play()?.catch?.(()=>{})}catch{}}onMessage(e){let t=new Uint8Array(e)[0];this.media&&t<=1||(!this.audio||t!==3&&t!==4)&&this.inner.onMessage(e)}applySound(){this.video.muted=!(this.audio&&this.soundOn&&!this.muted)}setHevc(e){this.inner.setHevc(e)}set onSoundFail(e){this.inner.onSoundFail=e}soundReport(){return this.inner.soundReport()}startSound(){this.inner.startSound(),this.soundOn=!0,this.applySound(),this.media&&this.play()}setMuted(e){this.inner.setMuted(e),this.muted=e,this.applySound()}resumeSound(){this.inner.resumeSound(),this.media&&this.video.paused&&this.play()}stop(){this.inner.stop(),this.video.srcObject=null}},Qs=`ps5upload.join.muted`,$s=5e3,ec=Object.fromEntries(Object.entries(Na).filter(([e])=>e!==`Escape`)),tc=new Set;function nc(e){if(!(e.code in ec)||e.ctrlKey||e.metaKey||e.altKey)return!1;let t=e.target;if(e.code===`Tab`&&(e.shiftKey||rc(t)))return!1;let n=t?.tagName;return!(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`||t?.isContentEditable||rc(t))}function rc(e){let t=e?.tagName;if(t===`BUTTON`||t===`A`)return!0;let n=e?.getAttribute?.(`role`);return n===`button`||n===`link`||n===`menuitem`||n===`tab`||n===`switch`}var ic=!1;function ac(e){ic=e}function oc(e,t,n=null){if(!e||e.frames===0&&!t)return null;let r=e.snapshot();return r&&{...r,...t?{problem:t}:{},...n??{}}}function sc(){if(ic)return{...ja};let e=Ga(Xa(typeof navigator>`u`?void 0:navigator),So),t=hs.touchPad;return{...Ka(Ka(e,Fa(tc,ec)),t),touch:t.touch??null,motion:hs.motion??null}}var cc=class{constructor(e){this.opts=e,this.player=null,this.listeners=new Set,this.cleanups=[],this.subscribe=e=>(this.listeners.add(e),()=>this.listeners.delete(e)),this.snap={stage:{kind:`connecting`},status:null,rttMs:null,light:null,problem:null,sound:!1,noSound:!1,host:e.host,muted:uc(),path:null},this.client=new zo({url:e.url,invite:e.invite,code:e.code??null,name:e.name,WebSocketImpl:e.transport,readPad:sc,onStage:e=>{this.set({stage:e}),e.kind===`joined`&&this.readPath(),(e.kind===`refused`||e.kind===`ended`)&&this.teardown()},onStatus:e=>this.set({status:e,host:e.host??this.snap.host}),onRtt:e=>this.set({rttMs:e}),onFrame:e=>this.picture().onMessage(e),readStats:()=>oc(this.player?.stats??null,this.snap.problem,this.player?.soundReport()??null),onCodec:(e,t,n)=>{let r=this.picture();r.setHevc(e),r instanceof Zs&&(r.setTrack(t,!!n),t&&this.snap.problem&&this.set({problem:null}))},onRumble:(e,t)=>{let n=Xa(typeof navigator>`u`?void 0:navigator);qa(n,e,t),n.some(e=>e?.connected)||navigator.vibrate?.(e||t?200:0)},onLight:e=>this.set({light:e})})}picture(){if(!this.player){let e=oa(e=>this.set({problem:e}),`player`,()=>this.client.askKeyframe());this.player=this.opts.transport?new Zs(e):e,this.player.onSoundFail=()=>this.set({noSound:!0}),this.player.setMuted(this.snap.muted)}return this.player}async readPath(){let e=this.client.socket,t=this.opts.path??null;if(e?.netPath)try{t=await e.netPath()??this.opts.path??null}catch{t=null}t!==this.snap.path&&this.set({path:t})}get element(){return this.picture().element}start(){let e=()=>{document.visibilityState===`hidden`?tc.clear():this.player?.resumeSound(),this.client.setNeutral(document.visibilityState===`hidden`)},t=()=>{tc.clear(),this.client.setNeutral(!0)},n=e=>{this.client.current.kind===`joined`&&nc(e)&&(!this.opts.keysLive||this.opts.keysLive())&&(e.preventDefault(),tc.add(e.code))},r=e=>{tc.delete(e.code)&&nc(e)&&e.preventDefault()};window.addEventListener(`keydown`,n),window.addEventListener(`keyup`,r);let i=()=>{this.client.setNeutral(document.visibilityState===`hidden`),document.visibilityState!==`hidden`&&this.player?.resumeSound()};document.addEventListener(`visibilitychange`,e),window.addEventListener(`blur`,t),window.addEventListener(`focus`,i);let a=setInterval(()=>{this.client.current.kind===`joined`&&this.readPath()},$s);this.cleanups.push(()=>{clearInterval(a),document.removeEventListener(`visibilitychange`,e),window.removeEventListener(`blur`,t),window.removeEventListener(`focus`,i),window.removeEventListener(`keydown`,n),window.removeEventListener(`keyup`,r),tc.clear()}),this.client.start()}setMuted(e){this.player?.setMuted(e);try{localStorage.setItem(Qs,e?`1`:`0`)}catch{}this.set({muted:e})}startSound(){this.snap.sound||(this.picture().startSound(),this.set({sound:!0}))}leave(){this.client.leave(),this.teardown()}stop(){this.client.stop(),this.teardown()}teardown(){for(let e of this.cleanups.splice(0))e();hs.touchPad={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};let e=this.player;this.player=null,e&&(e.stop(),e.element.remove())}sendPad(){this.client.sendPad(!1)}get snapshot(){return this.snap}set(e){this.snap={...this.snap,...e};for(let e of this.listeners)e()}};function lc(e){return(0,D.useSyncExternalStore)(e.subscribe,()=>e.snapshot)}function uc(){try{return typeof localStorage<`u`&&localStorage.getItem(Qs)===`1`}catch{return!1}}function dc(e){let t=()=>{let t=e.snapshot.stage.kind,n=t!==`refused`&&t!==`ended`;Ks(`play-together`,n),Ys(`play-together`,n)};t();let n=e.subscribe(t);return()=>{n(),Ks(`play-together`,!1),Ys(`play-together`,!1)}}var fc=3e3,pc=class{constructor(e,t=fc){this.onChange=e,this.delay=t,this.enabled=!1,this.pinned=!1,this.sticky=!1,this.shown=!0,this.timer=null}get visible(){return!this.enabled||this.pinned||this.shown}set(e,t,n=!1){let r=this.enabled&&!this.pinned,i=this.enabled,a=this.sticky;this.enabled=e,this.pinned=t,this.sticky=n,!e||t?(this.stop(),this.show(!0)):n?(this.stop(),!i||!a?this.show(!1):r||this.show(!0)):(!r||a)&&(this.show(!0),this.arm())}poke(){this.show(!0),this.enabled&&!this.pinned&&!this.sticky&&this.arm()}toggle(){this.visible?this.hide():this.poke()}hide(){this.enabled&&!this.pinned&&(this.stop(),this.show(!1))}dispose(){this.stop()}arm(){this.stop(),this.timer=setTimeout(()=>{this.timer=null,this.show(!1)},this.delay)}stop(){this.timer!==null&&clearTimeout(this.timer),this.timer=null}show(e){this.shown!==e&&(this.shown=e,this.onChange(e))}};function mc(e,t,n=!1){let[r,i]=(0,D.useState)(!0),a=(0,D.useRef)(null);(0,D.useEffect)(()=>{let e=new pc(i);return a.current=e,()=>{e.dispose(),a.current=null}},[]),(0,D.useEffect)(()=>{a.current?.set(e,t,n)},[e,t,n]);let o=(0,D.useCallback)(()=>a.current?.poke(),[]),s=(0,D.useCallback)(()=>a.current?.hide(),[]),c=(0,D.useCallback)(()=>a.current?.toggle(),[]);return{shown:!e||t||r,poke:o,hide:s,toggle:c}}var hc=3e4,gc=class{constructor(e,t=hc){this.onChange=e,this.ms=t,this.picking=!1,this.over=!1,this.timer=null}get shown(){return this.picking&&!this.over}set(e){e!==this.picking&&(this.picking=e,this.over=!1,this.stop(),e&&(this.timer=setTimeout(()=>{this.timer=null,this.over=!0,this.onChange()},this.ms)))}stop(){this.timer&&clearTimeout(this.timer),this.timer=null}reset(){this.stop(),this.picking=!1,this.over=!1}};function _c(e){let[,t]=(0,D.useState)(0),[n]=(0,D.useState)(()=>new gc(()=>t(e=>e+1)));return(0,D.useEffect)(()=>{n.set(e),t(e=>e+1)},[n,e]),(0,D.useEffect)(()=>()=>n.reset(),[n]),n.shown}var vc=()=>Xa(typeof navigator>`u`?void 0:navigator).filter(e=>!!e?.connected);function yc(e,t){if(t.kind===`axis`)return t.which===`lx`?e(`rp_pad_step_lx`,void 0,`Push the left stick right`):t.which===`ly`?e(`rp_pad_step_ly`,void 0,`Push the left stick down`):t.which===`rx`?e(`rp_pad_step_rx`,void 0,`Push the right stick right`):e(`rp_pad_step_ry`,void 0,`Push the right stick down`);if(t.kind===`button`){if(t.bit===R.CROSS)return e(`join_check_bottom`,void 0,`Press the bottom face button (✕)`);if(t.bit===R.CIRCLE)return e(`join_check_right`,void 0,`Press the right face button (○)`);if(t.bit===R.SQUARE)return e(`join_check_left`,void 0,`Press the left face button (□)`);if(t.bit===R.TRIANGLE)return e(`join_check_top`,void 0,`Press the top face button (△)`)}return e(`rp_pad_press`,{name:t.name},`Press ${t.name}`)}function bc(e,t){let n=(0,D.useRef)(t);(0,D.useEffect)(()=>{n.current=t}),(0,D.useEffect)(()=>{if(e===null)return;let t=0,r=()=>{n.current(vc().find(t=>t.index===e)??null),t=window.requestAnimationFrame(r)};return t=window.requestAnimationFrame(r),()=>window.cancelAnimationFrame(t)},[e])}var xc=[[R.CROSS,`✕`],[R.CIRCLE,`○`],[R.SQUARE,`□`],[R.TRIANGLE,`△`],[R.UP,`↑`],[R.DOWN,`↓`],[R.LEFT,`←`],[R.RIGHT,`→`],[R.L1,`L1`],[R.R1,`R1`],[R.L3,`L3`],[R.R3,`R3`],[R.SHARE,`Create`],[R.OPTIONS,`Options`],[R.PS,`PS`],[R.TOUCHPAD,`Touchpad`]];function Sc({pad:e}){let t=e=>`flex h-8 min-w-8 items-center justify-center rounded-md px-1.5 text-xs font-medium ${e?`bg-white text-black`:`bg-white/10 text-white/70`}`,n=(e,t,n)=>(0,z.jsxs)(`span`,{className:`relative flex h-12 w-12 items-center justify-center rounded-full bg-white/10 text-[10px] text-white/50`,children:[n,(0,z.jsx)(`span`,{className:`absolute h-3 w-3 rounded-full bg-white`,style:{left:`calc(50% + ${e/32767*18}px - 6px)`,top:`calc(50% + ${t/32767*18}px - 6px)`}})]});return(0,z.jsxs)(`div`,{className:`space-y-2`,"data-testid":`join-pad-test`,"data-buttons":e.buttons,children:[(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[xc.map(([n,r])=>(0,z.jsx)(`span`,{className:t((e.buttons&n)!==0),"data-on":(e.buttons&n)===0?`0`:`1`,children:r},n)),(0,z.jsx)(`span`,{className:t(e.l2>30),children:`L2`}),(0,z.jsx)(`span`,{className:t(e.r2>30),children:`R2`})]}),(0,z.jsxs)(`div`,{className:`flex gap-3`,children:[n(e.lx,e.ly,`L`),n(e.rx,e.ry,`R`)]})]})}function Cc({onClose:e}){let t=Ie(),[n,r]=(0,D.useState)(()=>vc().map(e=>({index:e.index,id:e.id}))),[i,a]=(0,D.useState)(()=>vc()[0]?.index??null),[o,s]=(0,D.useState)(ja),[c,l]=(0,D.useState)(null),[u,d]=(0,D.useState)(0),[f,p]=(0,D.useState)(yo),[m,h]=(0,D.useState)(null),[g,_]=(0,D.useState)(null),v=(0,D.useRef)(null);(0,D.useEffect)(()=>(ac(!0),()=>ac(!1)),[]),(0,D.useEffect)(()=>{(v.current?.querySelector(`[data-testid="join-pad-learn-start"]`)??v.current?.querySelector(`[data-testid="join-pad-check-close"]`))?.focus({preventScroll:!0})},[]),(0,D.useEffect)(()=>{let e=document.activeElement;e&&e!==document.body||v.current?.querySelector(`button:not([disabled])`)?.focus({preventScroll:!0})},[c,u]),(0,D.useEffect)(()=>{let e=()=>{let e=vc();r(t=>t.length===e.length&&t.every((t,n)=>t.id===e[n].id&&t.index===e[n].index)?t:e.map(e=>({index:e.index,id:e.id}))),a(t=>t!==null&&e.some(e=>e.index===t)?t:e[0]?.index??null)},t=window.setInterval(e,500);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(t),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),bc(i,e=>{if(_(t=>t?.id===e?.id?t:e),!e)return;if(c){c.feed(Eo(e))&&y(c,e);return}let t=Ga([e],So);s(e=>e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry?e:t)});let y=(e,n)=>{if(!e.done)return d(e.step);let r=n?.id??g?.id;l(null),r&&(p(bo(r,e.profile(n?wo(n):void 0))),h(t(`join_check_saved`,void 0,`Saved for this controller on this device. Try it below.`)))},b=()=>{h(null),d(0),l(new Fo(No))},x=g,S=x?Co(x):null,ee=!!(x&&f[x.id]);return(0,z.jsx)(`div`,{ref:v,role:`dialog`,"aria-modal":`true`,"aria-label":t(`join_check_title`,void 0,`Check your controller`),className:`absolute inset-0 z-40 flex items-center justify-center bg-black/70 p-4 backdrop-blur-sm`,"data-testid":`join-pad-check`,onPointerDown:e=>e.stopPropagation(),children:(0,z.jsxs)(`div`,{className:`w-[min(26rem,100%)] space-y-3 rounded-2xl border border-white/10 bg-neutral-900/95 p-4 text-sm text-white shadow-2xl`,children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,z.jsx)(me,{size:16,className:`text-white/70`}),(0,z.jsx)(`p`,{className:`flex-1 font-semibold`,children:t(`join_check_title`,void 0,`Check your controller`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,"aria-label":t(`join_done`,void 0,`Done`),className:`flex h-8 w-8 items-center justify-center rounded-full bg-white/10 hover:bg-white/20`,"data-testid":`join-pad-check-close`,children:(0,z.jsx)(De,{size:15})})]}),x?(0,z.jsxs)(z.Fragment,{children:[n.length>1&&(0,z.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:n.map(e=>(0,z.jsx)(`button`,{type:`button`,disabled:!!c,onClick:()=>a(e.index),className:`rounded-full px-2.5 py-1 text-xs ${e.index===i?`bg-white text-black`:`bg-white/10`}`,children:to(e.id)},`${e.index}-${e.id}`))}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`p`,{className:`truncate font-medium`,"data-testid":`join-pad-check-name`,children:to(x.id)}),(0,z.jsx)(`p`,{className:`text-xs text-white/60`,"data-testid":`join-pad-check-kind`,"data-kind":S??``,children:S===`saved`?t(`rp_pad_mapped`,void 0,`Plays with your mapping`):S===`guess`?t(`join_check_unknown`,void 0,`This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.`):t(`rp_pad_standard`,void 0,`Recognized`)}),io(x)&&(0,z.jsx)(ps,{id:x.id,className:`mt-1 block text-xs text-amber-200/90`})]}),c?(0,z.jsxs)(`div`,{className:`space-y-3`,"data-testid":`join-pad-learn`,children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`rp_pad_progress`,{n:u+1,total:c.steps.length},`${u+1} of ${c.steps.length}`)}),(0,z.jsx)(`p`,{className:`text-lg font-semibold`,"data-testid":`join-pad-learn-step`,children:c.current?yc(t,c.current):``}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.skip(),y(c,x)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-learn-skip`,children:t(`rp_pad_skip`,void 0,`Skip`)}),u>0&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.back(),d(c.step)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,children:t(`rp_pad_back`,void 0,`Back`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>l(null),className:`rounded-full px-3 py-1.5 text-xs text-white/70 hover:bg-white/10`,children:t(`rp_pad_cancel`,void 0,`Cancel`)})]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`join_check_try`,void 0,`Press buttons and move the sticks: what you press lights up.`)}),(0,z.jsx)(Sc,{pad:o}),m&&(0,z.jsx)(`p`,{className:`text-xs text-emerald-300`,role:`status`,children:m}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:b,className:`rounded-full bg-white px-3 py-1.5 text-xs font-medium text-black`,"data-testid":`join-pad-learn-start`,children:ee?t(`join_check_redo`,void 0,`Redo`):t(`join_check_map`,void 0,`Set up the buttons`)}),ee&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{p(bo(x.id,null)),h(null)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-reset`,children:t(`rp_pad_reset`,void 0,`Reset`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-check-done`,children:t(`join_done`,void 0,`Done`)})]})]})]}):(0,z.jsx)(`p`,{className:`text-white/70`,children:t(`rp_pads_none`,void 0,`No controller seen yet. Connect one and press any button on it.`)})]})})}function wc(e,t){let[n,r]=(0,D.useState)(!1);return(0,D.useEffect)(()=>{if(!e||!t)return;let n=!0;return Be(e,Le).then(e=>{n&&!e&&r(!0)}),()=>{n=!1}},[e,t]),n}function Tc({href:e}){let t=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center`,"data-testid":`open-on-wifi`,children:[(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t(`join_open_lan_body`,void 0,`Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.`)}),(0,z.jsx)(`a`,{href:e,rel:`noreferrer`,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`open-on-wifi-link`,children:t(`join_open_lan`,void 0,`Open on this Wi-Fi`)})]})}function Ec(e){let t=Math.max(0,Math.ceil(e));return`${Math.floor(t/60)}:${String(t%60).padStart(2,`0`)}`}var Dc=`ps5upload.join.guided`,Oc=1;function kc(e){return e.player!==Oc&&(!e.guided||e.movedOff)&&!e.reconnecting}function Ac(e,t,n){return!t||!(t.state===`picking_user`||t.moveFirst)?null:t.tookHost?e(`join_took_host`,{host:n},`${n}'s game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.`):t.hostUser?e(`join_not_host_user`,{user:t.hostUser,host:n},`Move to Quick Play before pressing ✕. Don't pick ${t.hostUser}: that's ${n}'s user, and it ends their game.`):e(`join_not_host_user_unnamed`,{host:n},`Move to Quick Play before pressing ✕. Don't pick ${n}'s PS5 user: it ends their game.`)}function jc(e,t){switch(t){case`lan`:return e(`join_path_lan`,void 0,`Home network`);case`tailscale`:return e(`join_path_tailscale`,void 0,`Tailscale`);default:return e(`join_path_internet`,void 0,`Internet`)}}function Mc(e,t){return e(`join_seat_taken`,{host:t},`${t} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask ${t} to let you in again.`)}function Nc(e,t,n,r=!1){if(t.kind===`refused`)switch(t.why){case`key`:return e(`join_refused_key`,{host:n},`This invite has expired. Ask ${n} for a new link.`);case`expired`:return e(`join_refused_expired`,{host:n},`Your place in the game was lost. Ask ${n} to let you in again.`);case`full`:return e(`join_refused_full`,void 0,`The game is full: four players already.`);case`denied`:return e(`join_refused_denied`,{host:n},`${n} didn't let you in this time.`);case`no_answer`:return e(`join_refused_no_answer`,{host:n},`${n} didn't answer in time. Tell ${n}, then try again.`);case`closed`:return e(`join_refused_closed`,{host:n},`${n} isn't hosting Play Together right now.`);case`old_helper`:return e(`join_refused_old_helper`,{host:n},`${n}'s PS5 needs an updated helper for Play Together.`);case`not_playing`:return e(`join_refused_not_playing`,{host:n},`${n} isn't playing right now. Ask ${n} to start Play first.`);case`unreachable`:return e(`join_refused_unreachable`,{host:n},`${n}'s computer couldn't reach their PS5. Try again in a moment.`);case`slow_down`:return e(`join_refused_slow_down`,void 0,`Too many wrong codes. Wait a minute, then try again.`);case`address`:return e(`join_refused_address`,{host:n},`This link's address is outside your home network, so the app will not use it. Ask ${n} for a link with their computer's IP address.`);case`seat_taken`:return Mc(e,n);default:return e(`join_refused_other`,{host:n},`${n} didn't let you in.`)}if(t.kind===`ended`)switch(t.why){case`kicked`:return e(`join_ended_kicked`,{host:n},`${n} took you out of the game.`);case`closed`:return e(`join_ended_closed`,{host:n},`${n} closed Play Together.`);case`host_stopped`:return e(`join_ended_host_stopped`,void 0,`The host stopped playing.`);case`replaced`:return e(`join_ended_replaced`,void 0,`This game was opened in another tab or on another device, so it stopped here.`);case`pad_lost`:return e(`join_ended_pad_lost`,{host:n},`The PS5 lost your controller, so you're out of the game. Ask ${n} to let you in again.`);case`gave_up`:return e(`join_ended_gave_up`,{host:n},`The connection to ${n} didn't come back in time.`);case`lost`:return r?e(`join_net_lost`,{host:n},`The connection to ${n} dropped. Check your internet connection, then ask again.`):e(`join_ended_lost`,{host:n},`Couldn't reach ${n}. Check that you're on the same network.`);case`left`:return e(`join_ended_left`,void 0,`You left the game.`);case`seat_taken`:return Mc(e,n);case`mismatch`:return e(`join_net_mismatch`,void 0,`This link doesn't match the host; ask them for a new one.`);case`no_direct`:return e(`join_net_no_direct`,void 0,`A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.`);case`no_room`:return e(`join_net_no_room`,{host:n},`This invite isn't open any more. Ask ${n} for a new link.`);case`net_full`:return e(`join_net_full`,{host:n},`${n}'s game has no room for another friend right now. Try again in a moment.`);case`no_hub`:return e(`join_net_no_hub`,void 0,`Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.`);case`offer`:return e(`join_net_offer`,{host:n},`${n}'s computer couldn't connect to this browser. Try another browser.`);case`no_webrtc`:return e(`join_net_no_webrtc`,void 0,`This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.`)}return``}function Pc(e){let[t,n]=(0,D.useState)(()=>Date.now());return(0,D.useEffect)(()=>{if(!e)return;n(Date.now());let t=window.setInterval(()=>n(Date.now()),500);return()=>window.clearInterval(t)},[e]),t}function Fc(){let[e,t]=(0,D.useState)({ready:!1,pressed:!1,id:null,kind:null,weak8BitDo:!1});return(0,D.useEffect)(()=>{let e=()=>{let e=Xa(typeof navigator>`u`?void 0:navigator).find(e=>!!e?.connected),n=!!e,r=n?sc():null,i=!!r&&(r.buttons!==0||r.l2>30||r.r2>30),a=e?.id??null,o=e?Co(e):null,s=!!e&&io(e);t(e=>e.ready===n&&e.pressed===i&&e.id===a&&e.kind===o&&e.weak8BitDo===s?e:{ready:n,pressed:i,id:a,kind:o,weak8BitDo:s})};e();let n=window.setInterval(e,120);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(n),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),e}function Ic(e){return!!e?.closest?.(`[data-testid="rp-touch"]`)}var Lc=14,Rc=()=>typeof window<`u`&&!rs()&&!!window.matchMedia?.(`(pointer: coarse)`).matches;function zc(e,t,n){return!e||e===t||e.closest?.(`[data-join-game]`)?`game`:n?.contains(e)?`controls`:`page`}function Bc(e){return e.checking?`close-check`:e.guide?`close-guide`:e.where===`game`?`show-controls`:e.full?`leave-full`:null}var Vc={good:`var(--color-good,#32d074)`,fair:`var(--color-warn,#ffb340)`,slow:`var(--color-bad,#ff6961)`,none:`rgba(255,255,255,.5)`};function Hc({text:e,body:t,onCancel:n}){let r=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-5 px-6 py-10 text-center`,"data-testid":`join-waiting`,children:[(0,z.jsxs)(`div`,{className:`relative flex h-24 w-24 items-center justify-center`,"aria-hidden":!0,children:[(0,z.jsx)(`span`,{className:`absolute inset-0 animate-ping rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`absolute inset-3 animate-pulse rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`relative flex h-14 w-14 items-center justify-center rounded-full bg-white/15`,children:(0,z.jsx)(Se,{size:26})})]}),(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-stage`,children:e}),t&&(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!0,className:`rounded-full bg-white/15 px-4 py-2 text-sm hover:bg-white/25`,"data-testid":`join-cancel`,children:r(`join_cancel`,void 0,`Cancel`)})]})}function Uc({session:e,inApp:t=!1,onLeave:n,onAgain:r,onFullscreen:i,lanUrl:a=null,hubDown:o=!1}){let s=Ie(),c=lc(e),{stage:l,status:u}=c,d=c.host??s(`join_host_fallback`,void 0,`your friend`),f=(0,D.useRef)(null),p=(0,D.useRef)(null),m=(0,D.useRef)(null),[h,g]=(0,D.useState)(!1),[_,v]=(0,D.useState)(()=>Lt(Dc)===`1`),[y,b]=(0,D.useState)(()=>typeof window<`u`&&window.innerHeight>window.innerWidth),x=Fc(),[S,ee]=(0,D.useState)(!1),C=l.kind===`reconnecting`,w=Pc(C),T=l.kind===`joined`||C,E=u?.state===`picking_user`,te=l.kind===`joined`||l.kind===`reconnecting`?l.player:0,[ne,re]=(0,D.useState)(!1),ie=(0,D.useRef)(te);(0,D.useEffect)(()=>{ie.current===Oc&&te>Oc&&re(!0),te&&(ie.current=te)},[te]);let[ae,oe]=(0,D.useState)(!1),[se,ce]=(0,D.useState)(!1),le=T&&(h||!t),de=Rc(),fe=_c(E),k=mc(le,C||fe&&!de||ae||se,de),{poke:he}=k,_e=(0,D.useRef)(null),ve=()=>{_e.current&&clearTimeout(_e.current.timer),_e.current=null};(0,D.useEffect)(()=>ve,[]);let[ye,A]=(0,D.useState)(!1),xe=(0,D.useRef)(!1);(0,D.useEffect)(()=>{if(!le||!de||k.shown||!_||xe.current)return;xe.current=!0,A(!0);let e=setTimeout(()=>A(!1),6e3);return()=>clearTimeout(e)},[le,de,k.shown,_]),(0,D.useEffect)(()=>{if(!T)return;let t=e.element;return f.current?.appendChild(t),()=>t.remove()},[T,e]),(0,D.useEffect)(()=>{if(!T||c.sound)return;let t=()=>e.startSound(),n=[`pointerup`,`touchend`,`click`,`keydown`];for(let e of n)window.addEventListener(e,t,!0);return()=>{for(let e of n)window.removeEventListener(e,t,!0)}},[T,c.sound,e]),(0,D.useEffect)(()=>{let e=()=>b(window.innerHeight>window.innerWidth);return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),(0,D.useEffect)(()=>{if(h)return()=>void i?.(!1)},[h,i]);let Ce=(0,D.useRef)(h);(0,D.useEffect)(()=>{Ce.current=h},[h]),(0,D.useEffect)(()=>{if(!t||!T||!Rc()||typeof window>`u`||!window.matchMedia)return;let e=window.matchMedia(`(orientation: landscape)`),n=()=>{e.matches&&!Ce.current&&(g(!0),i?.(!0))};return n(),e.addEventListener?.(`change`,n),()=>e.removeEventListener?.(`change`,n)},[t,T,i]),(0,D.useEffect)(()=>{t&&T&&rs()&&!Ce.current&&(g(!0),i?.(!0))},[t,T,i]),(0,D.useEffect)(()=>{if(!T)return;let e=e=>{if(e.key!==`Escape`)return;if(S)return void Le.current();if(he(),h)return g(!1);let t=zc(document.activeElement,document.body,p.current);t===`game`?Le.current():t===`controls`&&m.current?.focus({preventScroll:!0})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[T,h,he,S]),(0,D.useEffect)(()=>{if(!h||!Rc())return;window.history.pushState(window.history.state,``);let e=window.location.href,t=!1,n=()=>{t=!0,g(!1)};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),!t&&window.location.href===e&&window.history.back()}},[h]),(0,D.useEffect)(()=>{if(!h||typeof document>`u`)return;let e=()=>{document.fullscreenElement||Rc()||g(!1)};return document.addEventListener(`fullscreenchange`,e),()=>document.removeEventListener(`fullscreenchange`,e)},[h]);let Te=rs(),Ee=T&&kc({player:te,guided:_,movedOff:ne,reconnecting:C})&&!u?.playsAs,De=async e=>{g(e),await i?.(e)},Oe=()=>m.current?.focus({preventScroll:!0}),ke=()=>{It(Dc,`1`),v(!0),re(!1)},Ae=()=>{he();let e=C?`[data-testid="join-reconnecting-leave"]`:`[data-testid="join-bar"] button`;p.current?.querySelector(e)?.focus({preventScroll:!0})},je=()=>{let e=p.current?.querySelector(`[data-testid="join-check-open"]`);e?e.focus({preventScroll:!0}):Oe(),ee(!1)},Me=()=>zc(document.activeElement,document.body,p.current),[Ne,Pe]=(0,D.useState)(`game`);(0,D.useEffect)(()=>{if(!T)return;let e=()=>Pe(Me()),t=()=>window.setTimeout(e,0);return e(),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t)}},[T]);let Fe=()=>{switch(T?Bc({checking:S,guide:Ee,where:Me(),full:h}):null){case`close-check`:return je(),!0;case`close-guide`:return ke(),Oe(),!0;case`show-controls`:return Ae(),!0;case`leave-full`:return De(!1),!0;default:return!1}},Le=(0,D.useRef)(Fe);(0,D.useEffect)(()=>{Le.current=Fe});let Re=t&&!de&&T&&Bc({checking:S,guide:Ee,where:Ne,full:h})!==null;(0,D.useEffect)(()=>{if(Re)return Xo(()=>void Le.current())},[Re]);let ze=!t&&T&&!de;(0,D.useEffect)(()=>{if(!ze)return;let e=window.location.href;window.history.pushState(window.history.state,``);let t=!0,n=()=>{if(t=!1,!Le.current())return window.history.back();window.history.pushState(window.history.state,``),t=!0};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),t&&window.location.href===e&&window.history.back()}},[ze]);let Be=l.kind===`joined`;(0,D.useEffect)(()=>{if(!Be)return;let e=document.activeElement;if(e&&e!==document.body)return;let t=Te&&Ee?p.current?.querySelector(`[data-testid="join-guide-ok"]`):null;t?t.focus({preventScroll:!0}):Oe()},[Be]),(0,D.useEffect)(()=>{x.pressed&&T&&!S&&Me()===`controls`&&Oe()},[x.pressed]);let Ve=()=>{e.leave(),n()};if(l.kind===`connecting`||l.kind===`asking`)return(0,z.jsxs)(`div`,{className:t?`rounded-[var(--radius-card)] bg-neutral-900 text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black text-white`,"data-join-ui":``,children:[l.kind===`connecting`&&o&&a&&(0,z.jsx)(Tc,{href:a}),(0,z.jsx)(Hc,{text:l.kind===`connecting`?s(`join_connecting`,{host:d},`Connecting to ${d}…`):s(`join_waiting`,{host:d},`Waiting for ${d} to let you in`),body:l.kind===`asking`?s(`join_waiting_body`,{host:d},`${d} sees your name on their screen and taps Allow.`):void 0,onCancel:Ve})]});if(l.kind===`refused`||l.kind===`ended`){let i=l.kind===`refused`||l.why!==`left`&&l.why!==`mismatch`;return(0,z.jsxs)(`div`,{className:t?`flex flex-col items-center gap-4 rounded-[var(--radius-card)] bg-neutral-900 px-6 py-10 text-center text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black px-6 text-center text-white`,"data-testid":`join-ended`,"data-why":l.why,"data-join-ui":``,children:[(0,z.jsx)(Se,{size:28,className:`text-white/60`}),(0,z.jsx)(`p`,{className:`max-w-sm text-base`,"data-testid":`join-ended-text`,children:Nc(s,l,d,e.opts.internet??!!e.opts.transport)}),a&&l.why===`no_hub`&&(0,z.jsx)(Tc,{href:a}),(0,z.jsxs)(`div`,{className:`flex flex-wrap justify-center gap-2`,children:[i&&(0,z.jsx)(`button`,{type:`button`,onClick:r,autoFocus:!0,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`join-again`,children:l.kind===`refused`&&l.why===`not_playing`?s(`join_retry`,void 0,`Try again`):s(`join_again`,void 0,`Ask to join again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!i,className:`rounded-full bg-white/15 px-4 py-2 text-sm`,"data-testid":`join-done`,children:s(`join_done`,void 0,`Done`)})]})]})}let He=l.player,Ue=c.light??at(He),We=c.rttMs??u?.rttMs??null,Ge=it(We),Ke=Rc(),qe=T&&!C&&!x.ready&&Ke&&(!t||h),Je=kc({player:He,guided:_,movedOff:ne,reconnecting:C}),Ye=He===Oc,Xe=u?.playsAs??null,Ze=!Ye&&!Xe?Ac(s,u,d):null,Qe=C?(l.deadline-w)/1e3:0,$e=()=>De(!h),et=t&&!h&&Ke&&T,tt=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`span`,{className:`flex items-center gap-1.5 rounded-full bg-black/60 px-2.5 py-1 font-medium`,"data-testid":`join-player`,children:[(0,z.jsx)(`span`,{className:`inline-block h-2.5 w-2.5 rounded-full`,style:{background:`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`}}),t&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[s(`join_playing_at`,{host:d},`Playing at ${d}'s`),` · `]}),s(`join_you_are`,{n:He},`You are Player ${He}`)]}),We!=null&&(0,z.jsxs)(`span`,{className:`rounded-full bg-black/60 px-2 py-1 tabular-nums`,style:{color:Vc[Ge]},"data-testid":`join-delay`,"data-tone":Ge,"data-path":c.path??void 0,children:[c.path&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[jc(s,c.path),` · `]}),Math.round(We),` ms`]}),Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-stream`,children:s(`join_seat_stream`,{host:d},`You're playing as ${d}'s PS5 user. No need to pick one.`)}),Xe&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-plays-as`,children:s(`join_plays_as`,{profile:Xe},`You're playing as ${Xe}. No need to pick one.`)}),E&&!Ye&&u?.seatNote&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-note`,children:s(`join_seat_tv_asks`,{host:d},`${d} chose a profile for you, but it couldn't be used. The TV will ask who you are.`)}),E&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-picking`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)}),Ze&&(0,z.jsx)(`span`,{className:`rounded-full bg-amber-300 px-2.5 py-1 font-medium text-black`,"data-testid":`join-not-host-user`,children:Ze})]}),nt=(0,z.jsxs)(z.Fragment,{children:[le&&de&&k.shown&&!C&&(0,z.jsxs)(`button`,{type:`button`,onClick:k.hide,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 font-medium`,"data-testid":`join-hide-controls`,children:[(0,z.jsx)(pe,{size:13}),s(`join_hide_controls`,void 0,`Hide`)]}),!c.sound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex items-center gap-1 rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-sound`,children:[(0,z.jsx)(we,{size:13}),s(`join_sound`,void 0,`Tap for sound`)]}),c.sound&&!c.noSound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-mute`,children:[c.muted?(0,z.jsx)(M,{size:13}):(0,z.jsx)(we,{size:13}),c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`)]}),c.noSound&&(0,z.jsxs)(`span`,{className:`flex items-center gap-1 rounded-full bg-black/60 px-2.5 py-1 text-white/80`,"data-testid":`join-no-sound`,children:[(0,z.jsx)(M,{size:13}),s(`join_no_sound`,void 0,`No sound in this browser`)]}),(t||typeof document<`u`&&!!document.documentElement.requestFullscreen)&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>void $e(),"aria-label":h?s(`join_exit_fullscreen`,void 0,`Leave full screen`):s(`pad_fill`,void 0,`Full screen`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-full`,children:h?(0,z.jsx)(be,{size:13}):(0,z.jsx)(O,{size:13})}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),"aria-label":s(`join_check_title`,void 0,`Check your controller`),title:s(`join_check_title`,void 0,`Check your controller`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-check-open`,children:(0,z.jsx)(me,{size:13})}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex items-center gap-1 rounded-full bg-[var(--color-danger,#dc2626)] px-3 py-1 font-medium`,"data-testid":`join-leave`,children:[(0,z.jsx)(ge,{size:13}),s(`join_leave`,void 0,`Leave`)]})]}),rt=k.shown?`opacity-100`:`pointer-events-none opacity-0`,ot={"data-testid":`join-bar`,"data-shown":k.shown?`1`:`0`,onFocus:e=>{(Te||e.target.matches?.(`:focus-visible`))&&ce(!0)},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||ce(!1)},onPointerEnter:e=>{e.pointerType===`mouse`&&oe(!0)},onPointerLeave:()=>oe(!1)},st=h||!t?`fixed inset-0 z-[200] bg-black`:`relative mx-auto aspect-video w-full max-w-[max(20rem,calc((100dvh_-_22rem)*16/9))] overflow-hidden rounded-[var(--radius-card)] bg-black shadow-[var(--shadow-2)]`,ct=t&&h;return(0,z.jsxs)(`div`,{className:`space-y-2`,ref:p,"data-join-ui":``,children:[(0,z.jsxs)(`div`,{className:`${st} select-none text-white [-webkit-touch-callout:none]`,style:{touchAction:`none`},role:ct?`dialog`:void 0,"aria-modal":ct?!0:void 0,"aria-label":ct?s(`pad_fill`,void 0,`Full screen`):void 0,onPointerMove:e=>{if(e.pointerType===`mouse`)return he();let t=_e.current;t&&t.id===e.pointerId&&Math.hypot(e.clientX-t.x,e.clientY-t.y)>Lc&&ve()},onPointerDown:e=>{if(Ic(e.target))return;if(e.pointerType===`mouse`||!de)return he();if(e.target.closest?.(`[data-testid="join-bar"], button, a, input, [role="button"]`))return;ve();let{pointerId:t,clientX:n,clientY:r}=e;_e.current={id:t,x:n,y:r,timer:setTimeout(()=>{_e.current=null,navigator.vibrate?.(15),k.toggle()},450)}},onPointerUp:ve,onPointerCancel:ve,onPointerLeave:ve,"data-testid":`join-stage-view`,children:[(0,z.jsx)(`div`,{ref:f,className:`pointer-events-none absolute inset-0 z-0 flex items-center justify-center`,"aria-hidden":!0}),le&&!k.shown&&!C&&We!=null&&(0,z.jsxs)(`span`,{className:`pointer-events-none absolute z-10 rounded-full bg-black/40 px-1.5 py-0.5 text-[10px] leading-none tabular-nums`,style:{color:Vc[Ge],top:`max(0.5rem, env(safe-area-inset-top))`,right:`max(0.5rem, env(safe-area-inset-right))`},"data-testid":`join-delay-corner`,children:[Math.round(We),` ms`]}),qe?(0,z.jsxs)(`div`,{className:`absolute left-1/2 top-1/2 z-20 flex w-max max-w-[min(24rem,calc(100%-2rem))] -translate-x-1/2 -translate-y-1/2 flex-col items-center gap-2 rounded-2xl bg-black/70 p-3 text-xs backdrop-blur-sm transition-opacity duration-300 ${rt}`,...ot,children:[(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:tt}),(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:nt})]}):et?null:(0,z.jsxs)(`div`,{className:`absolute inset-x-0 top-0 z-20 flex flex-wrap items-center gap-2 bg-gradient-to-b from-black/70 to-transparent px-3 pb-5 pt-[max(8px,env(safe-area-inset-top))] text-xs transition-opacity duration-300 ${rt}`,...ot,children:[tt,(0,z.jsx)(`span`,{className:`flex-1`}),nt]}),!k.shown&&!qe&&(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),he()},"aria-label":s(`join_show_controls`,void 0,`Show controls`),className:`absolute left-1/2 top-[max(6px,env(safe-area-inset-top))] z-20 flex h-7 w-11 -translate-x-1/2 items-center justify-center rounded-full bg-black/40 text-white/70 opacity-60 hover:opacity-100 focus-visible:opacity-100`,"data-testid":`join-show-controls`,children:(0,z.jsx)(ue,{size:16,"aria-hidden":!0})}),ye&&!k.shown&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-[max(10px,env(safe-area-inset-top))] z-20 -translate-x-1/2 rounded-full bg-black/60 px-3 py-1 text-xs text-white/85`,"data-testid":`join-hold-hint`,children:s(`join_hold_hint`,void 0,`Press and hold the picture to show the buttons`)}),c.problem&&(0,z.jsx)(`p`,{className:`absolute inset-x-4 top-1/2 z-10 -translate-y-1/2 text-center text-sm text-white/85`,"data-testid":`join-problem`,children:c.problem===`no_hevc`?s(`pad_watch_no_hevc`,void 0,`This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.`):s(`pad_watch_decode`,void 0,`The picture could not be played here.`)}),S&&(0,z.jsx)(Cc,{onClose:je}),qe&&(0,z.jsx)(ks,{stream:e,layout:`overlay`,onMenu:()=>k.shown?k.hide():he()}),!qe&&!C&&(0,z.jsxs)(`div`,{className:`absolute bottom-3 left-3 z-20 flex items-center gap-2 rounded-2xl bg-black/70 px-3 py-1.5 text-xs transition-opacity duration-300 ${rt}`,"data-testid":`join-pad`,children:[(0,z.jsx)(me,{size:14,style:{color:x.pressed?`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`:void 0}}),x.ready?(0,z.jsxs)(`span`,{className:`flex flex-col items-start gap-1`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_ready`,void 0,`Your controller is ready`)}),x.weak8BitDo&&x.id&&(0,z.jsx)(ps,{id:x.id,className:`text-amber-200/90`}),x.kind===`guess`&&no()&&(0,z.jsxs)(`span`,{className:`flex flex-wrap items-center gap-2 text-white/75`,"data-testid":`join-pad-unknown`,children:[s(`join_check_unknown_short`,void 0,`Not on our list: buttons may be mixed up.`),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),className:`rounded-full bg-white px-2.5 py-0.5 font-medium text-black`,"data-testid":`join-pad-unknown-check`,children:s(`join_check_title`,void 0,`Check your controller`)})]})]}):Ke&&t&&!h?s(`join_full_to_play`,void 0,`Tap full screen to play with the on-screen controller.`):(0,z.jsxs)(`span`,{className:`flex flex-col`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_none`,void 0,`Connect a controller (USB or Bluetooth) and press any button.`)}),(0,z.jsx)(`span`,{className:`text-white/60`,"data-testid":`join-pad-keys`,children:s(`join_pad_keys`,void 0,`Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.`)})]}),Te&&(0,z.jsx)(`span`,{className:`max-w-[14rem] border-l border-white/20 pl-2 text-white/70`,"data-testid":`join-tv-back`,children:s(`join_tv_back_hint`,void 0,`Press Back on the remote for the buttons.`)})]}),u?.blockSystem&&u.state===`playing`&&!qe&&(0,z.jsx)(`p`,{className:`absolute bottom-3 right-3 z-20 rounded-full bg-black/60 px-3 py-1 text-[11px] text-white/70 transition-opacity duration-300 ${rt}`,"data-testid":`join-blocked`,children:s(`join_block_note`,{host:d},`${d} turned off PS and Create for friends.`)}),fe&&!Ye&&de&&!k.shown&&!C&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-2 z-20 -translate-x-1/2 whitespace-nowrap rounded-full bg-white/90 px-2.5 py-1 text-xs font-medium text-black`,"data-testid":`join-picking-note`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)}),Ze&&fe&&de&&!k.shown&&!C&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-10 z-20 w-max max-w-[calc(100%-2rem)] -translate-x-1/2 rounded-2xl bg-amber-300 px-2.5 py-1 text-center text-xs font-medium text-black`,"data-testid":`join-not-host-user-note`,children:Ze}),Je&&!Xe&&(0,z.jsxs)(`div`,{className:`absolute bottom-14 left-1/2 z-30 w-[min(22rem,calc(100%-2rem))] -translate-x-1/2 rounded-2xl border border-white/10 bg-neutral-900/90 p-4 text-sm shadow-2xl backdrop-blur-md`,"data-testid":`join-guide`,children:[(0,z.jsx)(`p`,{className:`font-semibold`,children:s(`join_guide_title`,void 0,`One more step on the TV`)}),(0,z.jsx)(`p`,{className:`mt-1 text-white/75`,children:s(`join_guide_body`,void 0,`On your controller, press PS once. The TV asks "Who's using this controller?". Pick Quick Play or your own user. The host doesn't need to do anything.`)}),Ze&&(0,z.jsx)(`p`,{className:`mt-1 font-medium text-amber-300`,children:Ze}),(0,z.jsx)(`p`,{className:`mt-1 text-white/60`,children:s(`join_guide_menus`,void 0,`On the PS5's home screen only the host controls the menus; your controller plays inside games.`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>{ke(),Oe()},className:`mt-3 rounded-full bg-white px-3 py-1 text-xs font-medium text-black`,"data-testid":`join-guide-ok`,children:s(`join_guide_ok`,void 0,`Got it`)})]}),C&&(0,z.jsxs)(`div`,{className:`absolute inset-0 z-30 flex flex-col items-center justify-center gap-3 bg-black/70 px-6 text-center`,"data-testid":`join-reconnecting`,children:[(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`absolute right-3 top-[max(10px,env(safe-area-inset-top))] flex items-center gap-1 rounded-full bg-white/15 px-3 py-1.5 text-sm font-medium hover:bg-white/25`,"data-testid":`join-reconnecting-leave`,children:[(0,z.jsx)(ge,{size:14}),s(`join_leave`,void 0,`Leave`)]}),(0,z.jsx)(`span`,{className:`h-7 w-7 animate-spin rounded-full border-2 border-white/30 border-t-white`,"aria-hidden":!0}),l.hostStopped?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-host-away`,children:s(`join_host_away`,{time:Ec(Qe)},`The host stopped playing — waiting for them to start again (${Ec(Qe)})`)}),u?.tookHost&&(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-amber-300`,"data-testid":`join-took-host`,children:s(`join_took_host_away`,{host:d},`${d}'s PS5 user was picked on your controller, which ends their game. When it's back and the TV asks who you are, move to Quick Play first, then press ✕.`)})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-base font-medium`,children:s(`join_reconnecting`,void 0,`Reconnecting…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/70`,"data-testid":`join-reconnecting-left`,children:s(`join_reconnecting_left`,{time:Ec(Qe)},`Your place is kept for ${Ec(Qe)}.`)})]})]}),!t&&T&&y&&Ke&&(0,z.jsx)(`div`,{className:`pointer-events-none absolute inset-x-0 bottom-16 z-20 flex justify-center`,children:(0,z.jsxs)(`span`,{className:`flex items-center gap-2 rounded-full bg-black/70 px-3 py-1.5 text-xs text-white/85`,children:[(0,z.jsx)(j,{size:14}),s(`pad_turn`,void 0,`Turn the phone sideways`)]})}),(0,z.jsx)(`div`,{ref:m,tabIndex:0,"data-own-arrows":``,"data-join-game":``,"aria-label":s(`join_game_label`,{host:d},`${d}'s game`),className:`pointer-events-none absolute inset-0 outline-none`,"data-testid":`join-game`})]}),et&&(0,z.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 rounded-[var(--radius-card)] bg-neutral-900 px-3 py-2 text-xs text-white`,"data-testid":`join-bar`,"data-shown":`1`,"data-below":`1`,children:[(0,z.jsx)(`div`,{className:`flex w-full min-w-0 flex-wrap items-center gap-2`,children:tt}),(0,z.jsxs)(`button`,{type:`button`,onClick:()=>void $e(),className:`flex h-11 min-w-0 flex-1 items-center justify-center gap-1.5 rounded-full bg-white/15 px-3 text-sm font-medium hover:bg-white/25`,"data-testid":`join-fullscreen-below`,children:[(0,z.jsx)(O,{size:15}),s(`pad_fill`,void 0,`Full screen`)]}),c.sound&&!c.noSound?(0,z.jsx)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,"aria-label":c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`),className:`flex h-11 w-11 items-center justify-center rounded-full bg-white/15 hover:bg-white/25`,children:c.muted?(0,z.jsx)(M,{size:16}):(0,z.jsx)(we,{size:16})}):c.sound?null:(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-white px-3 text-sm font-medium text-black`,children:[(0,z.jsx)(we,{size:15}),s(`join_sound`,void 0,`Tap for sound`)]}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-[var(--color-danger,#dc2626)] px-4 text-sm font-medium`,"data-testid":`join-leave-below`,children:[(0,z.jsx)(ge,{size:15}),s(`join_leave`,void 0,`Leave`)]})]})]})}var Wc=`ps5upload.join.name`;function Gc(e){return/iPhone/.test(e)?`iPhone`:/iPad/.test(e)?`iPad`:/Android/.test(e)?`Android`:``}function Kc(e){return e.trim().slice(0,32)}function qc(e=``){return Kc(Lt(`ps5upload.join.name`)??``)||e}function Jc(e){let t=Kc(e);return t&&It(Wc,t),t}function Yc(e){try{return!!sessionStorage.getItem(Ro(e))}catch{return!1}}async function Xc(e){try{e?(await document.documentElement.requestFullscreen?.({navigationUI:`hide`}),await screen.orientation.lock?.(`landscape`)):document.fullscreenElement&&await document.exitFullscreen()}catch{}}function Zc({url:e,invite:t,host:n,transport:r,lanUrl:i=null,path:a=null,internet:o}){let s=Ie(),c=wc(r&&o!==!1?e:null,i),[l,u]=(0,D.useState)(()=>qc(Gc(typeof navigator>`u`?``:navigator.userAgent))),[d,f]=(0,D.useState)(null),[p,m]=(0,D.useState)(0),h=(0,D.useCallback)(e=>{if(!e)return;let t=typeof window<`u`&&!!window.matchMedia?.(`(pointer: coarse)`).matches,n=e.querySelector(`[data-testid="join-name"]`)?.value.trim()?`join-go`:t?null:`join-name`;n&&e.querySelector(`[data-testid="${n}"]`)?.focus({preventScroll:!0})},[]),g=i=>{let s=Jc(i);if(!s)return;let c=new cc({url:e,invite:t,name:s,host:n,transport:r,path:a,...o===void 0?{}:{internet:o}});f(c),m(e=>e+1),c.start()};if((0,D.useEffect)(()=>{!d&&Yc(t)&&l.trim()&&g(l)},[]),(0,D.useEffect)(()=>d?dc(d):void 0,[d]),(0,D.useEffect)(()=>{if(!d)return;let e=()=>d.stop();return window.addEventListener(`pagehide`,e),()=>window.removeEventListener(`pagehide`,e)},[d]),d)return(0,z.jsx)(Uc,{session:d,lanUrl:i,hubDown:c,onLeave:()=>f(null),onAgain:()=>{d.stop(),g(l)},onFullscreen:Xc},p);let _=n??s(`join_host_fallback`,void 0,`your friend`),v=(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`join-name-step`,"data-join-ui":``,children:(0,z.jsxs)(`form`,{ref:h,className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,onSubmit:e=>{e.preventDefault(),g(l)},children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,z.jsx)(`span`,{className:`flex h-10 w-10 items-center justify-center rounded-full bg-white/10`,children:(0,z.jsx)(Se,{size:20})}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:s(`join_title`,void 0,`Join a friend's game`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:s(`join_title_body`,{host:_},`Play on ${_}'s PS5 as Player 2, 3 or 4.`)})]})]}),(0,z.jsxs)(`label`,{className:`block space-y-1.5`,children:[(0,z.jsx)(`span`,{className:`text-sm font-medium`,children:s(`join_name_label`,void 0,`Your name`)}),(0,z.jsx)(`input`,{value:l,onChange:e=>u(e.target.value),maxLength:32,autoComplete:`nickname`,className:`block w-full rounded-lg border border-white/15 bg-black px-3 py-2 text-base outline-none focus:border-white/50`,"data-testid":`join-name`}),(0,z.jsx)(`span`,{className:`block text-xs text-white/50`,children:s(`join_name_hint`,void 0,`Your friend sees this when you ask to join.`)})]}),(0,z.jsx)(`button`,{type:`submit`,disabled:!l.trim(),className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black disabled:opacity-40`,"data-testid":`join-go`,children:s(`join_button`,void 0,`Join`)}),c&&i&&(0,z.jsx)(Tc,{href:i})]})});return t?(0,z.jsx)(Wo,{appLink:rt(location.href),children:v}):v}function Qc(e){let t=(e??``).trim().replace(/^\[|\]$/g,``).toLowerCase(),n=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/.exec(t);if(n){let e=n.slice(1).map(Number);if(e.some(e=>e>255))return null;let[t,r]=e;return t===10||t===172&&r>=16&&r<32||t===192&&r===168||t===169&&r===254||t===127?0:t===100&&r>=64&&r<128?1:2}if(!t.includes(`:`)||!/^[0-9a-f:.]+$/.test(t))return null;if(t.startsWith(`fd7a:115c:a1e0:`))return 1;let r=parseInt(t.split(`:`)[0]||`0`,16);return(r&65024)==64512||(r&65472)==65152||t===`::1`?0:2}function $c(e,t){let n=Qc(e),r=Qc(t);return n===1||r===1?`tailscale`:r===0?`lan`:r===2?`internet`:null}function el(e){let t=(e??``).toLowerCase();if(t.endsWith(`.local`))return`lan`;if(t.endsWith(`.ts.net`))return`tailscale`;let n=Qc(t);return n===0?`lan`:n===1?`tailscale`:null}function tl(e){let t=[];if(typeof e.forEach==`function`)e.forEach(e=>t.push(e));else for(let n of e)t.push(n);let n=new Map(t.map(e=>[String(e.id),e])),r=t.filter(e=>e.type===`candidate-pair`),i=t.filter(e=>e.type===`transport`&&typeof e.selectedCandidatePairId==`string`).map(e=>n.get(String(e.selectedCandidatePairId))).find(Boolean)??r.find(e=>e.selected===!0)??r.find(e=>e.nominated===!0&&e.state===`succeeded`);if(!i)return null;let a=e=>{let t=n.get(String(e));if(!t)return null;let r=t.address??t.ip;return typeof r==`string`?r:null};return $c(a(i.localCandidateId),a(i.remoteCandidateId))}function nl(e){let t=e.replace(/:\d+$/,``).replace(/^\[|\]$/g,``);return`${t===`localhost`||t===`127.0.0.1`||t===`::1`?`ws`:`wss`}://${e}/ws`}function rl(e){let t=new Set;for(let n of e.matchAll(/^a=fingerprint:sha-256[ \t]+([0-9A-Fa-f:]+)[ \t]*\r?$/gim))t.add(n[1].toUpperCase());return/^a=fingerprint:(?!sha-256[ \t])/im.test(e)?null:t.size===1?[...t][0]:null}function il(e,t){let n=rl(e);return n!==null&&n===t.toUpperCase()}var al=16777216;function ol(e){let t=16383,n=Math.max(1,Math.ceil(e.length/t)),r=[];for(let i=0;ithis.max)return this.parts=[],this.size=0,{kind:`error`,why:`too_big`};if(this.parts.push(r.slice()),this.size+=r.length,n===1)return{kind:`partial`};let i=new Uint8Array(this.size),a=0;for(let e of this.parts)i.set(e,a),a+=e.length;return this.parts=[],this.size=0,{kind:`message`,data:i.buffer}}};function cl(e){let t=new Uint8Array(9);return t[0]=3,t.set(e.subarray(0,8),1),t}var ll=[`stun:stun.cloudflare.com:3478`,`stun:stun.l.google.com:19302`];function ul(e){let t=e.trim().replace(/^a=/,``).split(/\s+/);return t.length<8||t[6]!==`typ`||t[2].toLowerCase()===`udp`&&!t[4].toLowerCase().endsWith(`.local`)}var dl=1500,fl=2e4;function pl(e){let t=e?.codecs??[],n=e=>t.filter(t=>t.mimeType.toLowerCase()===e);return[...n(`video/h264`),...n(`video/h265`),...n(`video/rtx`)]}var ml=null;function hl(e){e.onopen=e.onmessage=e.onclose=e.onerror=null;try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}function gl(e,t={}){let n=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket);if(!n||ml)return;let r=nl(e.hub),i;try{i=new n(r)}catch{return}let a={url:r,room:e.room,ws:i,msgs:[],timer:null};ml=a;let o=()=>{ml===a&&(ml=null,a.timer&&clearTimeout(a.timer),hl(i))};i.onopen=()=>i.send(JSON.stringify({v:1,t:`join`,room:e.room})),i.onmessage=e=>{if(typeof e.data==`string`)try{a.msgs.push(JSON.parse(e.data))}catch{}},i.onclose=o,i.onerror=()=>{},a.timer=setTimeout(o,t.keepMs??6e4)}function _l(e,t){let n=ml;return n?(ml=null,n.timer&&clearTimeout(n.timer),n.url!==e||n.room!==t||n.ws.readyState>1||n.msgs.some(e=>e.t===`error`||e.t===`closed`)?(hl(n.ws),null):{ws:n.ws,msgs:n.msgs}):null}function vl(e,t={}){var n;let r=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket),i=t.PeerConnection??(typeof RTCPeerConnection>`u`?void 0:RTCPeerConnection),a=t.iceTimeoutMs??15e3,o=t.log??(()=>{});class s{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.hub=null,this.pc=null,this.dc=null,this.timer=null,this.rx=new sl,this.answered=!1,this.early=[],this.hubBackUntil=0,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[],this.media=null,setTimeout(()=>this.begin(),0)}begin(){if(this.readyState!==0)return;if(!i||!r){this.fail(`no_webrtc`);return}let n=t.signalUrl??nl(e.hub),a=t.signalUrl||t.lan?null:_l(n,e.room),s;if(a)s=a.ws,o(`hub: joined early`);else try{s=new r(n)}catch{this.fail(`no_hub`);return}if(this.hub=s,this.prepare(),this.readyState===0){s.onopen=()=>s.send(JSON.stringify(t.lan?{v:1,t:`join`,lan:!0}:{v:1,t:`join`,room:e.room})),s.onmessage=e=>{if(typeof e.data!=`string`)return;let t;try{t=JSON.parse(e.data)}catch{return}this.onHub(t)},s.onclose=e=>{this.hub===s&&(this.hub=null,this.readyState===0&&(this.answered||e?.code===1001&&this.hubRestarting()||this.fail(`no_hub`)))},s.onerror=()=>{};for(let e of a?.msgs??[])this.onHub(e)}}signal(e){let t=this.hub;t&&t.readyState===1&&t.send(JSON.stringify({t:`signal`,to:`host`,data:e}))}onHub(e){if(this.readyState===0)switch(e.t){case`joined`:o(`hub: joined room as ${e.gid??`?`}`),this.sendOffer();return;case`signal`:e.from===`host`&&e.data&&typeof e.data==`object`&&this.onSignal(e.data);return;case`closed`:this.fail(`no_room`);return;case`error`:if(o(`hub: error ${e.why??`?`}`),e.why===`no_room`&&this.hubBackUntil&&this.hubRestarting())return;this.fail(e.why===`no_room`?`no_room`:e.why===`room_full`?`net_full`:`no_hub`);return}}prepare(){if(!i)return;this.offerSent=!1,this.ownEarly=[];let e;try{e=new i({iceServers:[{urls:ll}]})}catch{this.fail(`no_webrtc`);return}this.pc=e;let n=e.createDataChannel(t.label??`join`,{ordered:!0});if(n.binaryType=`arraybuffer`,this.dc=n,n.onopen=()=>this.opened(n),n.onmessage=e=>this.fromChannel(e.data),n.onclose=()=>{this.dc===n&&this.dropped()},t.video&&e.addTransceiver){try{let t=e.addTransceiver(`video`,{direction:`recvonly`}),n=pl(globalThis.RTCRtpReceiver?.getCapabilities?.(`video`));n.length&&t.setCodecPreferences&&t.setCodecPreferences(n)}catch{}try{e.addTransceiver(`audio`,{direction:`recvonly`})}catch{}e.ontrack=t=>{if(this.pc!==e)return;let n=this.media?.stream??t.streams[0]??new MediaStream;n.getTracks().includes(t.track)||n.addTrack(t.track),this.media=t.track.kind===`audio`?{stream:n,receiver:this.media?.receiver??t.receiver,audio:t.receiver}:{stream:n,receiver:t.receiver,...this.media?.audio?{audio:this.media.audio}:{}}}}e.onicecandidate=t=>{if(this.pc!==e)return;let n=t.candidate;if(!n||!n.candidate||!ul(n.candidate))return;let r={type:`candidate`,candidate:n.candidate,sdpMid:n.sdpMid??`0`};this.offerSent?this.signal(r):this.ownEarly.push(r)},e.oniceconnectionstatechange=()=>{if(this.pc!==e)return;let t=e.iceConnectionState;o(`ice: ${t}`),t===`failed`&&(this.readyState===0?this.fail(`no_direct`):this.dropped())},this.offerSdp=(async()=>{let t=await e.createOffer();return await e.setLocalDescription(t),e.localDescription?.sdp??t.sdp??``})().catch(()=>(this.pc===e&&this.fail(`no_webrtc`),null))}async sendOffer(){let e=this.pc,t=this.offerSdp;if(!e||!t||this.offerSent)return;this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,this.readyState===0&&this.fail(`no_direct`)},a);let n=await t;if(this.pc===e&&n!==null&&this.readyState===0){this.signal({type:`offer`,sdp:n}),this.offerSent=!0;for(let e of this.ownEarly.splice(0))this.signal(e)}}async onSignal(t){let n=this.pc;if(t.type===`bye`)this.fail(t.why===`full`?`net_full`:`offer`);else if(n){if(t.type===`answer`){if(this.answered||typeof t.sdp!=`string`)return;if(e.fp?!il(t.sdp,e.fp):rl(t.sdp)===null){o(`answer: fingerprint does not match the link`),this.fail(`mismatch`);return}this.answered=!0;try{await n.setRemoteDescription({type:`answer`,sdp:t.sdp});for(let e of this.early.splice(0))await n.addIceCandidate(e).catch(()=>{})}catch{this.fail(`offer`)}}else if(t.type===`candidate`&&typeof t.candidate==`string`&&t.candidate){let e={candidate:t.candidate,sdpMid:typeof t.sdpMid==`string`?t.sdpMid:`0`,sdpMLineIndex:typeof t.sdpMLineIndex==`number`?t.sdpMLineIndex:0};this.answered?await n.addIceCandidate(e).catch(()=>{}):this.early.push(e)}}}opened(e){this.dc===e&&this.readyState===0&&(this.clearTimer(),this.readyState=1,o(`channel open`),this.leaveHub(),this.onopen?.(new Event(`open`)))}fromChannel(e){if(this.readyState!==1)return;if(typeof e==`string`){this.onmessage?.(new MessageEvent(`message`,{data:e}));return}if(!(e instanceof ArrayBuffer))return;let t=this.rx.push(e);switch(t.kind){case`ping`:try{this.dc?.send(cl(t.data))}catch{}return;case`message`:this.onmessage?.(new MessageEvent(`message`,{data:t.data}));return;case`error`:o(`channel: bad binary message (${t.why})`),this.dropped();return;default:return}}async netPath(){let e=this.pc;if(!e||this.readyState!==1||typeof e.getStats!=`function`)return null;try{return tl(await e.getStats())}catch{return null}}send(e){let t=this.dc;if(this.readyState!==1||!t||t.readyState!==`open`)throw Error(`not open`);if(typeof e==`string`){t.send(e);return}let n=ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e);for(let e of ol(n))t.send(e)}close(){this.readyState!==3&&(this.teardown(),this.emitClose(1e3,``,!0))}clearTimer(){this.timer&&clearTimeout(this.timer),this.timer=null}leaveHub(){let e=this.hub;if(this.hub=null,e)try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}hubRestarting(){let e=Date.now();return this.hubBackUntil||=e+fl,e>=this.hubBackUntil?!1:(o(`hub: restarting, trying again`),this.clearTimer(),this.leaveHub(),this.closePeer(),this.answered=!1,this.early=[],this.timer=setTimeout(()=>{this.timer=null,this.begin()},dl),!0)}teardown(){this.readyState=3,this.clearTimer(),this.leaveHub(),this.closePeer()}closePeer(){let e=this.pc,t=this.dc;this.pc=null,this.dc=null,this.media=null,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[];try{t?.close()}catch{}try{e?.close()}catch{}}dropped(){this.readyState!==3&&(this.teardown(),this.emitClose(1006,``,!1))}fail(e){this.readyState!==3&&(o(`failed: ${e}`),this.teardown(),this.emitClose(He,`net:${e}`,!1))}emitClose(e,t,n){let r=this.onclose;if(!r)return;let i=typeof CloseEvent>`u`?{type:`close`,code:e,reason:t,wasClean:n}:new CloseEvent(`close`,{code:e,reason:t,wasClean:n});setTimeout(()=>r(i),0)}}return n=s,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,s}var U=3e3;function yl(e,t){return/^https?:\/\/[^/?#]+(\/[^?#]*)?\/join\/?$/.test(e)?e.replace(/^http/,`ws`).replace(/\/join\/?$/,`/${t}`):null}var bl=e=>yl(e,`api/join/signal`);function xl(e){let t=[];if(e.rtc){let n=e.net??{room:``,key:``,fp:e.fp??``,hub:``};for(let[r,i]of[[`lan`,e.lan],[`tailscale`,e.ts]]){let a=i?bl(i):null;if(!a)continue;let o=e.rtcMake(n,{signalUrl:e.reach(a),...e.net?{}:{lan:!0}});t.push({via:r,make:()=>new o(``),pinned:!!n.fp})}if(e.net){let n=e.rtcMake(e.net,{});t.push({via:`hub`,make:()=>new n(``),pinned:!0})}}let n=e.lan?yl(e.lan,`api/join/ws`):null;if(n){let r=e.reach(n);t.push({via:`socket`,make:()=>e.socket(r)})}return t}var Sl=new Map;function Cl(e,t,n=300,r=U){let i=e.some(e=>e===`lan`||e===`tailscale`),a=e.some(e=>e!==`socket`);return e.map(e=>e===t?0:e===`hub`&&i?n:e===`socket`&&a?r:0)}function wl(e){let t=e.find(e=>e.via===`hub`),n=e.find(e=>(e.via===`lan`||e.via===`tailscale`)&&[`no_direct`,`net_full`,`offer`].includes(Ue(e.e)??``));return t&&(Ue(t.e)!==`no_hub`||!n)?t.e:n?n.e:t?.e??e[e.length-1]?.e??null}function Tl(e,t){var n;let r=t.log??(()=>{}),i=t.headStartMs??300,a=t.socketAfterMs??3e3;class o{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.live=[],this.waiting=[],this.pinned=new Set,this.t0=0,this.closes=[],this.winner=null,setTimeout(()=>this.begin(),0)}get via(){return this.winner?.via??null}get media(){return this.winner?.s?.media??null}async netPath(){let e=this.winner?.s;return e?.netPath?e.netPath():null}begin(){if(this.readyState!==0)return;let n=e();if(!n.length){this.end({type:`close`,code:1006,reason:``,wasClean:!1});return}this.t0=Date.now();for(let e of n)e.pinned&&this.pinned.add(e.via);let r=Cl(n.map(e=>e.via),Sl.get(t.room)??null,i,a);n.forEach((e,t)=>{r[t]===0?this.launch(e.via,e.make):this.waiting.push({via:e.via,make:e.make,timer:setTimeout(()=>this.startWaiting(e.via),r[t])})})}startWaiting(e){let t=this.waiting.findIndex(t=>t.via===e);if(t<0)return;let[n]=this.waiting.splice(t,1);clearTimeout(n.timer),this.launch(n.via,n.make)}launch(e,t){if(this.readyState!==0)return;let n;try{n=t()}catch{this.tryClosed(e,{type:`close`,code:1006,reason:``,wasClean:!1});return}r(`path: trying ${e}`);let i={via:e,s:n};this.live.push(i),n.binaryType=this.binaryType,n.onopen=e=>this.won(i,e),n.onclose=t=>{this.live=this.live.filter(e=>e!==i),this.tryClosed(e,t)},n.onerror=()=>{},n.onmessage=null}tryClosed(e,t){if(this.readyState===0){if(r(`path: ${e} failed after ${Date.now()-this.t0} ms${t?.reason?` (${t.reason})`:``}`),this.closes.push({via:e,e:t}),this.pinned.has(e)&&Ue(t)===`mismatch`){for(let e of this.waiting.filter(e=>e.via===`socket`))clearTimeout(e.timer);this.waiting=this.waiting.filter(e=>e.via!==`socket`)}!this.live.length&&this.waiting.length?this.startWaiting(this.waiting[0].via):!this.live.length&&!this.waiting.length&&this.end(wl(this.closes))}}won(e,n){if(this.readyState!==0)return;this.winner=e,Sl.set(t.room,e.via),r(`path: playing by ${e.via} after ${Date.now()-this.t0} ms`);for(let e of this.waiting.splice(0))clearTimeout(e.timer);for(let t of this.live.splice(0))if(t!==e){t.s.onopen=t.s.onclose=t.s.onmessage=t.s.onerror=null;try{t.s.close()}catch{}}let i=e.s;i.onmessage=e=>this.onmessage?.(e),i.onerror=e=>this.onerror?.(e),i.onclose=e=>{this.readyState!==3&&(this.readyState=3,this.onclose?.(e))},this.readyState=1,t.onWin?.(e.via),this.onopen?.(n)}send(e){if(this.readyState!==1||!this.winner)throw Error(`not open`);this.winner.s.send(e)}close(e,t){if(this.readyState===3)return;let n=this.readyState===1;this.readyState=3;for(let e of this.waiting.splice(0))clearTimeout(e.timer);let r=this.winner?[this.winner,...this.live]:this.live.splice(0);for(let n of r){n.s.onopen=n.s.onclose=n.s.onmessage=n.s.onerror=null;try{n.s.close(e,t)}catch{}}let i=this.onclose;if(i){let r={type:`close`,code:e??1e3,reason:t??``,wasClean:n};setTimeout(()=>i(r),0)}}end(e){if(this.readyState===3)return;this.readyState=3;let t=this.onclose,n=e??{type:`close`,code:1006,reason:``,wasClean:!1};t&&setTimeout(()=>t(n),0)}}return n=o,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,o}fs();var El=new URLSearchParams(location.hash.slice(1)),Dl=El.get(`n`)?.trim()||null,Ol=nt(location.hash);Ol&&gl(Ol);var kl=(0,x.createRoot)(document.getElementById(`root`));if(Ol){let e=vl(Ol,{video:!0,log:e=>console.info(`[join] ${e}`)}),t=Re(location.hash,`join`);kl.render((0,z.jsx)(Zc,{url:nl(Ol.hub),invite:Ol.key,host:Dl,transport:e,lanUrl:t?ze(t,{key:Ol.key}):null}))}else{let e=El.get(`i`)||null,t=location.pathname.replace(/\/join\/?$/,``),n=`${location.protocol===`https:`?`wss`:`ws`}://${location.host}${t}/api/join/ws`,r=e=>console.info(`[join] ${e}`),i=`${location.origin}${t}/join`,a=typeof RTCPeerConnection>`u`?void 0:Tl(()=>xl({net:null,lan:i,ts:null,fp:tt(El.get(`fp`)),rtc:!0,reach:e=>e,rtcMake:(e,t)=>vl(e,{video:!0,log:r,...t}),socket:e=>new WebSocket(e)}),{room:i,log:r});kl.render((0,z.jsx)(Zc,{url:n,invite:e,host:Dl,path:el(location.hostname),transport:a,internet:!1}))} diff --git a/site/join/index.html b/site/join/index.html index dca7207d2..8feb8daf5 100644 --- a/site/join/index.html +++ b/site/join/index.html @@ -15,8 +15,8 @@ `);for(i=r=0;ri||c[r]!==l[i]){var u=` `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Le=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ie(n):``}function ze(e,t){switch(e.tag){case 26:case 27:case 5:return Ie(e.type);case 16:return Ie(`Lazy`);case 13:return e.child!==t&&t!==null?Ie(`Suspense Fallback`):Ie(`Suspense`);case 19:return Ie(`SuspenseList`);case 0:case 15:return Re(e.type,!1);case 11:return Re(e.type.render,!1);case 1:return Re(e.type,!0);case 31:return Ie(`Activity`);case 30:return Ie(`ViewTransition`);default:return``}}function Be(e){try{var t=``,n=null;do t+=ze(e,n),n=e,e=e.return;while(e);return t}catch(e){return` Error generating stack: `+e.message+` -`+e.stack}}var Ve=Object.prototype.hasOwnProperty,He=t.unstable_scheduleCallback,Ue=t.unstable_cancelCallback,We=t.unstable_shouldYield,Ge=t.unstable_requestPaint,Ke=t.unstable_now,qe=t.unstable_getCurrentPriorityLevel,Je=t.unstable_ImmediatePriority,Ye=t.unstable_UserBlockingPriority,Xe=t.unstable_NormalPriority,Ze=t.unstable_LowPriority,Qe=t.unstable_IdlePriority,$e=t.log,et=t.unstable_setDisableYieldValue,tt=null,nt=null;function rt(e){if(typeof $e==`function`&&et(e),nt&&typeof nt.setStrictMode==`function`)try{nt.setStrictMode(tt,e)}catch{}}var it=Math.clz32?Math.clz32:st,at=Math.log,ot=Math.LN2;function st(e){return e>>>=0,e===0?32:31-(at(e)/ot|0)|0}var ct=256,lt=262144,ut=4194304;function dt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ft(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=dt(n))):i=dt(o):i=dt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=dt(n))):i=dt(o)):i=dt(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function pt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function mt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function vt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function yt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=vr),xr=` `,Sr=!1;function Cr(e,t){switch(e){case`keyup`:return gr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function wr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Tr=!1;function Er(e,t){switch(e){case`compositionend`:return wr(t);case`keypress`:return t.which===32?(Sr=!0,xr):null;case`textInput`:return e=t.data,e===xr&&Sr?null:e;default:return null}}function Dr(e,t){if(Tr)return e===`compositionend`||!_r&&Cr(e,t)?(e=zn(),Rn=Ln=In=null,Tr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Xr(n)}}function Qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $r(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yr(e.document)}return t}function ei(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var ti=Nn&&`documentMode`in document&&11>=document.documentMode,ni=null,ri=null,ii=null,ai=!1;function oi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ai||ni==null||ni!==Yr(r)||(r=ni,`selectionStart`in r&&ei(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ii&&Jr(ii,r)||(ii=r,r=Jf(ri,`onSelect`),0>=o,i-=o,ea=1<<32-it(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),L&&na(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),L&&na(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return L&&na(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),L&&na(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===ie&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case ne:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===ie){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),uo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&ro(l)===r.type){n(e,r.sibling),c=a(r,o.props),uo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===ie?(c=F(o.props.children,e.mode,c,o.key),uo(c,o),c.return=e,e=c):(c=Vi(o.type,o.key,o.props,null,e.mode,c),uo(c,o),c.return=e,e=c)}return s(e);case re:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Wi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=ro(o),_(e,r,o,c)}if(be(o))return h(e,r,o,c);if(_e(o)){if(l=_e(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,lo(o),c);if(o.$$typeof===se)return _(e,r,ka(e,o),c);fo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Hi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{co=0;var i=_(e,t,n,r);return so=null,i}catch(t){if(t===Za||t===$a)throw t;var a=Li(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var mo=po(!0),ho=po(!1),go=!1;function _o(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Pi(e),Ni(e,null,n),t}return Ai(e,r,t,n),Pi(e)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Co=!1;function wo(){if(Co){var e=Ha;if(e!==null)throw e}}function To(e,t,n,r){Co=!1;var i=e.updateQueue;go=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===Va&&(Co=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=E({},d,f);break a;case 2:go=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),od|=o,e.lanes=o,e.memoizedState=d}}function Eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Do(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=A.T,s={};s.types=o===null?null:o.types,A.T=s,fc(e,!1,t,n);try{var c=i(),l=A.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?dc(e,t,Ga(c,r),jd(e)):dc(e,t,r,jd(e))}catch(n){dc(e,t,{then:function(){},status:`rejected`,reason:n},jd())}finally{j.p=a,o!==null&&s.types!==null&&(o.types=s.types),A.T=o}}function tc(){}function nc(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=rc(e).queue;ec(e,a,t,xe,n===null?tc:function(){return ic(e),n(r)})}function rc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:xe,baseState:xe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:xe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ic(e){var t=rc(e);t.next===null&&(t=e.alternate.memoizedState),dc(e,t.next.queue,{},jd())}function ac(){return Oa(sh)}function oc(){return cs().memoizedState}function sc(){return cs().memoizedState}function cc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=jd();e=yo(n);var r=bo(t,e,n);r!==null&&(Pd(r,t,n),xo(r,t,n)),t={cache:Pa()},e.payload=t;return}t=t.return}}function lc(e,t,n){var r=jd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},pc(e)?mc(t,n):(n=ji(e,t,n,r),n!==null&&(Pd(n,e,r),hc(n,t,r)))}function uc(e,t,n){dc(e,t,n,jd())}function dc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(pc(e))mc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,qr(s,o))return Ai(e,t,i,0),q===null&&ki(),!1}catch{}if(n=ji(e,t,i,r),n!==null)return Pd(n,e,r),hc(n,t,r),!0}return!1}function fc(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},pc(e)){if(t)throw Error(i(479))}else t=ji(e,n,r,2),t!==null&&Pd(t,e,2)}function pc(e){var t=e.alternate;return e===B||t!==null&&t===B}function mc(e,t){Ko=Go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}var gc={readContext:Oa,use:ds,useCallback:Qo,useContext:Qo,useEffect:Qo,useImperativeHandle:Qo,useLayoutEffect:Qo,useInsertionEffect:Qo,useMemo:Qo,useReducer:Qo,useRef:Qo,useState:Qo,useDebugValue:Qo,useDeferredValue:Qo,useTransition:Qo,useSyncExternalStore:Qo,useId:Qo,useHostTransitionStatus:Qo,useFormState:Qo,useActionState:Qo,useOptimistic:Qo,useMemoCache:Qo,useCacheRefresh:Qo,useEffectEvent:Qo},_c={readContext:Oa,use:ds,useCallback:function(e,t){return ss().memoizedState=[e,t===void 0?null:t],e},useContext:Oa,useEffect:Vs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),zs(4194308,4,qs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){zs(4,2,e,t)},useMemo:function(e,t){var n=ss();t=t===void 0?null:t;var r=e();if(qo){rt(!0);try{e()}finally{rt(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ss();if(n!==void 0){var i=n(t);if(qo){rt(!0);try{n(t)}finally{rt(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=lc.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=ss();return e={current:e},t.memoizedState=e},useState:function(e){e=Cs(e);var t=e.queue,n=uc.bind(null,B,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ys,useDeferredValue:function(e,t){return Qs(ss(),e,t)},useTransition:function(){var e=Cs(!1);return e=ec.bind(null,B,e.queue,!0,!1),ss().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=B,a=ss();if(L){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),q===null)throw Error(i(349));Y&127||vs(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Vs(bs.bind(null,r,o,e),[e]),r.flags|=2048,Ls(9,{destroy:void 0},ys.bind(null,r,o,n,t),null),n},useId:function(){var e=ss(),t=q.identifierPrefix;if(L){var n=ta,r=ea;n=(r&~(1<<32-it(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Jo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[Ot]=t,o[kt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(np(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&hl(t)}}return H(t),t.subtreeFlags&=-33554433,gl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&hl(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Oe.current,ma(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=sa,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Ot]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ep(e.nodeValue,n)),e||da(t,!0)}else e=lp(e).createTextNode(r),e[Ot]=t,t.stateNode=e}return H(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=ma(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;H(t),e=!1}else n=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(zo(t),t):(zo(t),null);if(t.flags&128)throw Error(i(558))}return H(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=ma(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;H(t),a=!1}else a=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(zo(t),t):(zo(t),null)}return zo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),vl(t,t.updateQueue),H(t),null);case 4:return je(),e===null&&Wf(t.stateNode.containerInfo),t.flags|=67108864,H(t),null;case 10:return Sa(t.type),H(t),null;case 19:if(Vo(t),r=t.memoizedState,r===null)return H(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)yl(r,!1);else{if(ad!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ho(e),o!==null){for(t.flags|=128,yl(r,!1),e=o.updateQueue,t.updateQueue=e,vl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Bi(n,e),n=n.sibling;return z(t,Bo.current&1|2),L&&na(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ke()>gd&&(t.flags|=128,a=!0,yl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Ho(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,vl(t,e),yl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!L)return H(t),null}else 2*Ke()-r.renderingStartTime>gd&&n!==536870912&&(t.flags|=128,a=!0,yl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ke(),e.sibling=null,o=Bo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||L?z(t,o):(n=o,M(No,t),M(Bo,n),Po===null&&(Po=t)),L&&na(t,r.treeForkCount),e}return H(t),null;case 22:case 23:return zo(t),Mo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(H(t),t.subtreeFlags&6&&(t.flags|=8192)):H(t),n=t.updateQueue,n!==null&&vl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&Te(qa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sa(Na),H(t),null;case 25:return null;case 30:return t.flags|=33554432,H(t),null}throw Error(i(156,t.tag))}function xl(e,t){switch(aa(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(Na),je(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ne(t),null;case 31:if(t.memoizedState!==null){if(zo(t),t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(zo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Vo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return je(),null;case 10:return Sa(t.type),null;case 22:case 23:return zo(t),Mo(),e!==null&&Te(qa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(Na),null;case 25:return null;default:return null}}function Sl(e,t){switch(aa(t),t.tag){case 3:Sa(Na),je();break;case 26:case 27:case 5:Ne(t);break;case 4:je();break;case 31:t.memoizedState!==null&&zo(t);break;case 13:zo(t);break;case 19:Vo(t);break;case 10:Sa(t.type);break;case 22:case 23:zo(t),Mo(),e!==null&&Te(qa);break;case 24:Sa(Na)}}function Cl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function wl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Tl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Do(t,n)}catch(t){Z(e,e.return,t)}}}function El(e,t,n){n.props=wc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Dl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=Si(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);f(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function U(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}}function Ol(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),np(r,t,n),r[Ot]=e,Ht(r),t=r;break a;case`link`:if(o=Gm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=Zr(s,h),v=Zr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,A.T=null,n=wd,wd=null;var o=bd,s=Sd;if(yd=0,xd=bd=null,Sd=0,K&6)throw Error(i(331));var c=K;if(K|=4,Yu(o.current),Vu(o,o.current,s,n),K=c,Df(0,!1),nt&&typeof nt.onPostCommitFiberRoot==`function`)try{nt.onPostCommitFiberRoot(tt,o)}catch{}return!0}finally{j.p=a,A.T=r,uf(e,t)}}function pf(e,t,n){t=Ki(n,t),t=Ac(e.stateNode,t,2),e=bo(e,t,2),e!==null&&(vt(e,2),Ef(e))}function Z(e,t,n){if(e.tag===3)pf(e,e,n);else for(;t!==null;){if(t.tag===3){pf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(vd===null||!vd.has(r))){e=Ki(n,e),n=jc(2),r=bo(t,n,2),r!==null&&(Mc(n,r,t,e),vt(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $u;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(rd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(ad===4||ad===3&&(Y&62914560)===Y&&300>Ke()-md?K&2?cd|=n:Vd(e,0):cd|=n,ud===Y&&(ud=0)),Ef(e)}function gf(e,t){t===0&&(t=gt()),e=Mi(e,t),e!==null&&(vt(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return He(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-it(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Y,a=ft(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||pt(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&hp()&&(e=Tf);for(var t=Ke(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}yd!==0&&yd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=ln(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),Ht(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+ln(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+ln(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+ln(n.imageSizes)+`"]`)):i+=`[href="`+ln(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=E({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[It]=!0,o.onload=o.onerror=function(){Ut(o)}),Ht(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+ln(r)+`"][href="`+ln(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=E({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),Ht(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=Vt(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=E({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Ht(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var a=(a=Oe.current)?bm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=Vt(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=Vt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=Vt(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Pm(e){return`href="`+ln(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[It]){r.loading=1;return}}else t=e.createElement(`link`),t[It]=!0,t.onload=t.onerror=Ut.bind(null,t),np(t,`link`,n),Ht(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+ln(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+ln(n.href)+`"]`);if(r)return t.instance=r,Ht(r),r;var a=E({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ht(r),np(r,`style`,a),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Pm(n.href);var o=e.querySelector(Fm(a));if(o)return t.state.loading|=4,t.instance=o,Ht(o),o;r=Im(n),(a=vm.get(a))&&Hm(r,a),o=(e.ownerDocument||e).createElement(`link`),Ht(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),np(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(a=e.querySelector(zm(o)))?(t.instance=a,Ht(a),a):(r=n,(a=vm.get(o))&&(r=E({},n),Um(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ht(a),np(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ht(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Ht(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=b()}))(),S=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function ee(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:S(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var C=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},w=e=>{let t=C(e);return t.charAt(0).toUpperCase()+t.slice(1)},T=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),E={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function te(e){return e!=null}function ne(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??E.width,a=e.size??e.height??E.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?T(...c):T(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??E[`stroke-width`])*Number(e.size??e.width??E.width)/Number(t.size??t.width??E.width):t.strokeWidth??E[`stroke-width`];return[`svg`,{...Object.entries(E).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&te(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&te(t.width)&&{[r(`width`)]:t.width},...`height`in t&&te(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function re(e,t={}){return ne(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var ie=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},D=u(_(),1),ae=(0,D.createContext)({}),oe=()=>(0,D.useContext)(ae),se=(0,D.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=oe()??{},y=!!c||ie(d),[b,x,S=[]]=re(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:T(v,s),hasA11yProp:y,attributes:d});return(0,D.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,D.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function ce(e,t=[],n=[]){let r=typeof e==`string`?ee(e,t,n):e,i=(0,D.forwardRef)(({className:e,...t},n)=>(0,D.createElement)(se,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=w(r.name)),i}var le={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};le.node;var ue=ce(le),de={name:`expand`,size:24,node:[[`path`,{d:`m15 15 6 6`,key:`1s409w`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}],[`path`,{d:`M21 16v5h-5`,key:`1ck2sf`}],[`path`,{d:`M21 8V3h-5`,key:`1qoq8a`}],[`path`,{d:`M3 16v5h5`,key:`1t08am`}],[`path`,{d:`m3 21 6-6`,key:`wwnumi`}],[`path`,{d:`M3 8V3h5`,key:`1ln10m`}],[`path`,{d:`M9 9 3 3`,key:`v551iv`}]]};de.node;var O=ce(de),fe={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};fe.node;var pe=ce(fe),k={name:`gamepad-2`,size:24,node:[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`,key:`1gktln`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`,key:`qnk9ow`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`,key:`krot7o`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`,key:`1lcuu1`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`,key:`mfqc10`}]]};k.node;var me=ce(k),he={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};he.node;var ge=ce(he),_e={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};_e.node;var ve=ce(_e),ye={name:`minimize`,size:24,node:[[`path`,{d:`M8 3v3a2 2 0 0 1-2 2H3`,key:`hohbtr`}],[`path`,{d:`M21 8h-3a2 2 0 0 1-2-2V3`,key:`5jw1f3`}],[`path`,{d:`M3 16h3a2 2 0 0 1 2 2v3`,key:`198tvr`}],[`path`,{d:`M16 21v-3a2 2 0 0 1 2-2h3`,key:`ph8mxp`}]]};ye.node;var be=ce(ye),A={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};A.node;var j=ce(A),xe={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};xe.node;var Se=ce(xe),Ce={name:`volume-2`,size:24,node:[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]};Ce.node;var we=ce(Ce),Te={name:`volume-x`,size:24,node:[[`path`,{d:`M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z`,key:`1p7khw`}],[`path`,{d:`m16.5 14.5 5-5`,key:`cul3yw`}],[`path`,{d:`m16.5 9.5 5 5`,key:`1akey5`}]]};Te.node;var M=ce(Te),Ee={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Ee.node;var De=ce(Ee),Oe=({"ar":{"usb_skipped_not_payload":"{name}: ليس ملف .elf أو .bin","usb_skipped_unknown":"{id}: لم يعد في قائمة الحمولات","browser_unsupported":"يتطلب هذا تطبيق سطح المكتب. لا يعمل في المتصفح.","video_recovered_notice":"تعطّل «العب» في المرة السابقة أثناء بدء الصورة، لذا يُفك ترميز الصورة الآن بدون بطاقة الرسومات (للتغيير: الإعدادات › النافذة › الرسومات › فك ترميز الفيديو بالعتاد).","video_recovered_title":"يُفك ترميز الصورة الآن برمجيًا","open_in_title":"هل تفتحه في تطبيق PS5Upload؟","open_in_body":"هل لديك تطبيق PS5Upload على هذا الجهاز؟ افتح الرابط فيه، أو تابع في المتصفح.","open_in_app":"فتح في التطبيق","open_in_browser":"المتابعة في المتصفح","open_in_remember":"تذكّر اختياري على هذا الجهاز","open_in_opening":"جارٍ فتح تطبيق PS5Upload…","open_in_not_opened":"لم يحدث شيء؟ ربما التطبيق غير مثبّت على هذا الجهاز.","open_in_again":"حاول مجددًا","pad_8bitdo_no_xinput":"لا يحتوي جهاز 8BitDo هذا على وضع X-input. إذا كان أحد الأزرار خاطئًا، فافحص وحدة التحكم.","pad_8bitdo_how_switch":"اضبط المفتاح في الخلف على X ثم اضغط Start","pad_8bitdo_how_startx":"أطفئه، ثم اضغط مطولًا على Start + X لتشغيله","pad_8bitdo_how_receiver":"استخدم جهاز الاستقبال 2.4G أو كابل USB","pad_8bitdo_how_manual":"يشرح دليله الطريقة","pad_8bitdo_xinput":"للحصول على أفضل نتيجة، بدّل وحدة 8BitDo إلى وضع X-input: {how}.","rp_touch_left_stick":"العصا اليسرى","rp_touch_right_stick":"العصا اليمنى","rp_touch_touchpad":"لوحة اللمس","rp_menu":"القائمة","rp_pad_step_lx":"ادفع العصا اليسرى إلى اليمين","rp_pad_step_ly":"ادفع العصا اليسرى إلى الأسفل","rp_pad_step_rx":"ادفع العصا اليمنى إلى اليمين","rp_pad_step_ry":"ادفع العصا اليمنى إلى الأسفل","join_check_bottom":"اضغط زر الوجه السفلي (✕)","join_check_right":"اضغط زر الوجه الأيمن (○)","join_check_left":"اضغط زر الوجه الأيسر (□)","join_check_top":"اضغط زر الوجه العلوي (△)","rp_pad_press":"اضغط {name}","join_check_saved":"تم الحفظ لوحدة التحكم هذه على هذا الجهاز. جرّبها أدناه.","join_check_title":"افحص وحدة التحكم","join_done":"تم","rp_pads_none":"لم تُرصد أي يد تحكم بعد. وصّل واحدة واضغط أي زر فيها.","rp_pad_mapped":"تلعب بتعيين أزرارك","join_check_unknown":"وحدة التحكم هذه ليست في قائمتنا، لذا قد تكون أزرارها مختلطة. يستغرق إعدادها بضع ثوانٍ.","rp_pad_standard":"معروفة","rp_pad_progress":"{n} من {total}","rp_pad_skip":"تخطٍّ","rp_pad_back":"رجوع","rp_pad_cancel":"إلغاء","join_check_try":"اضغط الأزرار وحرّك العصي: ما تضغطه يضيء.","join_check_redo":"إعادة","join_check_map":"إعداد الأزرار","rp_pad_reset":"إعادة ضبط","join_open_lan_body":"لا يمكنك الوصول إلى الإنترنت؟ إذا كنت على شبكة Wi-Fi نفسها مع صديقك، فافتح اللعبة هناك.","join_open_lan":"افتح على شبكة Wi-Fi هذه","join_path_lan":"الشبكة المنزلية","join_path_internet":"الإنترنت","join_seat_taken":"احتاج {host} إلى استعادة يد التحكم ولم تكن هناك يد تحكم أخرى متاحة على PS5، لذا خرجت من اللعبة. اطلب من {host} أن يسمح لك بالدخول مرة أخرى.","join_refused_key":"انتهت صلاحية هذه الدعوة. اطلب من {host} رابطًا جديدًا.","join_refused_expired":"فقدت مكانك في اللعبة. اطلب من {host} إدخالك مجددًا.","join_refused_full":"اللعبة ممتلئة: يوجد أربعة لاعبين بالفعل.","join_refused_denied":"لم يسمح لك {host} بالدخول هذه المرة.","join_refused_no_answer":"لم يُجب {host} في الوقت المناسب. أخبر {host} ثم حاول مرة أخرى.","join_refused_closed":"{host} لا يستضيف العب معًا الآن.","join_refused_old_helper":"يحتاج PS5 الخاص بـ {host} إلى مساعد محدّث لميزة العب معًا.","join_refused_not_playing":"{host} لا يلعب الآن. اطلب من {host} أن يبدأ اللعب أولًا.","join_refused_unreachable":"لم يتمكن حاسوب {host} من الوصول إلى جهاز PS5. حاول مرة أخرى بعد قليل.","join_refused_slow_down":"رموز خاطئة كثيرة جدًا. انتظر دقيقة ثم حاول مرة أخرى.","join_refused_address":"عنوان هذا الرابط خارج شبكتك المنزلية، لذا لن يستخدمه التطبيق. اطلب من {host} رابطًا يحمل عنوان IP لجهازه.","join_refused_other":"لم يسمح لك {host} بالدخول.","join_ended_kicked":"أخرجك {host} من اللعبة.","join_ended_closed":"أغلق {host} العب معًا.","join_ended_host_stopped":"توقف المضيف عن اللعب.","join_ended_replaced":"فُتحت هذه اللعبة في علامة تبويب أخرى أو على جهاز آخر، لذا توقفت هنا.","join_ended_pad_lost":"فقد PS5 يد التحكم الخاصة بك، لذا خرجت من اللعبة. اطلب من {host} إدخالك مجددًا.","join_ended_gave_up":"لم يعد الاتصال بـ {host} في الوقت المناسب.","join_net_lost":"انقطع الاتصال بـ{host}. تحقق من اتصالك بالإنترنت ثم اطلب مرة أخرى.","join_ended_lost":"تعذّر الوصول إلى {host}. تأكد أنكما على الشبكة نفسها.","join_ended_left":"غادرت اللعبة.","join_net_mismatch":"هذا الرابط لا يطابق المضيف؛ اطلب منه رابطًا جديدًا.","join_net_no_direct":"لا يمكن إنشاء اتصال مباشر من هذه الشبكة (الموجّهان لدى الطرفين صارمان). جرّب Wi-Fi بدلًا من بيانات الجوال، أو اطلب من المضيف تشغيل UPnP.","join_net_no_room":"هذه الدعوة لم تعد مفتوحة. اطلب من {host} رابطًا جديدًا.","join_net_full":"لا يتّسع لعب {host} لصديق آخر الآن. حاول مجددًا بعد لحظة.","join_net_no_hub":"تعذّر الوصول إلى خدمة دعوات PS5Upload. تحقّق من اتصالك بالإنترنت ثم حاول مجددًا.","join_net_offer":"تعذّر على كمبيوتر {host} الاتصال بهذا المتصفح. جرّب متصفحًا آخر.","join_net_no_webrtc":"هذا المتصفح لا يستطيع إنشاء اتصالات مباشرة. جرّب إصدارًا حديثًا من Chrome أو Safari أو Firefox.","join_cancel":"إلغاء","join_host_fallback":"صديقك","join_connecting":"جارٍ الاتصال بـ {host}…","join_waiting":"بانتظار أن يسمح لك {host} بالدخول","join_waiting_body":"يرى {host} اسمك على شاشته ويضغط سماح.","join_retry":"حاول مجددًا","join_again":"اطلب الانضمام مجددًا","join_playing_at":"تلعب لدى {host}","join_you_are":"أنت اللاعب {n}","join_seat_stream":"أنت تلعب بمستخدم PS5 الخاص بـ {host}. لا حاجة لاختيار مستخدم.","join_plays_as":"أنت تلعب باسم {profile}. لا حاجة لاختيار مستخدم.","join_seat_tv_asks":"اختار {host} ملفًا شخصيًا لك، لكن تعذّر استخدامه. سيسألك التلفاز عن هويتك.","join_picking":"اضغط PS، ثم اختر اللعب السريع على التلفاز","join_hide_controls":"إخفاء","join_sound":"اضغط لتشغيل الصوت","rp_unmute":"تشغيل الصوت","rp_mute":"كتم","join_no_sound":"لا يوجد صوت في هذا المتصفح","join_exit_fullscreen":"الخروج من ملء الشاشة","pad_fill":"ملء الشاشة","join_leave":"مغادرة","join_show_controls":"إظهار عناصر التحكم","join_hold_hint":"اضغط مطولاً على الصورة لإظهار الأزرار","pad_watch_no_hevc":"لا يستطيع هذا الجهاز تشغيل صورة هذا البث: الحاسوب يبث بـ HEVC وهذا الجهاز يشغّل H.264 فقط.","pad_watch_decode":"تعذّر تشغيل الصورة هنا.","join_pad_ready":"يد التحكم جاهزة","join_check_unknown_short":"ليست في قائمتنا: قد تكون الأزرار مختلطة.","join_full_to_play":"اضغط على ملء الشاشة للعب بيد التحكم التي على الشاشة.","join_pad_none":"وصّل يد تحكم (USB أو Bluetooth) واضغط أي زر.","join_pad_keys":"أو استخدم لوحة المفاتيح: WASD للتحريك، الأسهم للأزرار الاتجاهية، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"اضغط على زر الرجوع في جهاز التحكم عن بُعد لإظهار الأزرار.","join_block_note":"أوقف {host} زرَّي PS وCreate للأصدقاء.","join_guide_title":"خطوة أخيرة على التلفاز","join_guide_body":"اضغط زر PS مرة واحدة على يد التحكم. يسأل التلفاز «من يستخدم يد التحكم هذه؟». اختر اللعب السريع أو مستخدمك الخاص. لا يحتاج المضيف إلى فعل أي شيء.","join_guide_menus":"في الشاشة الرئيسية لجهاز PS5 يتحكم المضيف وحده بالقوائم؛ يد التحكم الخاصة بك تلعب داخل الألعاب.","join_guide_ok":"فهمت","join_host_away":"توقف المضيف عن اللعب — بانتظار أن يبدأ من جديد ({time})","join_reconnecting":"جارٍ إعادة الاتصال…","join_reconnecting_left":"مكانك محفوظ لمدة {time}.","pad_turn":"أدر الهاتف أفقيًا","join_game_label":"لعبة {host}","join_title":"انضم إلى لعبة صديق","join_title_body":"العب على PS5 الخاص بـ {host} كلاعب 2 أو 3 أو 4.","join_name_label":"اسمك","join_name_hint":"يرى صديقك هذا الاسم عندما تطلب الانضمام.","join_button":"انضمام"},"bn":{"usb_skipped_not_payload":"{name}: .elf বা .bin ফাইল নয়","usb_skipped_unknown":"{id}: আর পেলোড তালিকায় নেই","browser_unsupported":"এর জন্য ডেস্কটপ অ্যাপ দরকার। এটি ব্রাউজারে কাজ করে না।","video_recovered_notice":"গতবার ছবি শুরু করার সময় খেলুন ক্র্যাশ করেছিল, তাই ছবি এখন গ্রাফিক্স কার্ড ছাড়া ডিকোড হয় (বদলাতে সেটিংস › উইন্ডো › গ্রাফিক্স › হার্ডওয়্যার ভিডিও ডিকোডিং)।","video_recovered_title":"ছবি এখন সফটওয়্যারে ডিকোড হয়","open_in_title":"PS5Upload অ্যাপে খুলবেন?","open_in_body":"এই ডিভাইসে PS5Upload অ্যাপ আছে? সেখানে খুলুন, অথবা ব্রাউজারেই চালিয়ে যান।","open_in_app":"অ্যাপে খুলুন","open_in_browser":"ব্রাউজারে চালিয়ে যান","open_in_remember":"এই ডিভাইসে আমার পছন্দ মনে রাখুন","open_in_opening":"PS5Upload অ্যাপ খোলা হচ্ছে…","open_in_not_opened":"কিছু হলো না? হয়তো এই ডিভাইসে অ্যাপটি নেই।","open_in_again":"আবার চেষ্টা করুন","pad_8bitdo_no_xinput":"এই 8BitDo-তে X-input মোড নেই। কোনো বোতাম ভুল হলে কন্ট্রোলারটি পরীক্ষা করুন।","pad_8bitdo_how_switch":"পেছনের সুইচটি X-এ দিন, তারপর Start চাপুন","pad_8bitdo_how_startx":"এটি বন্ধ করুন, তারপর Start + X চেপে ধরে চালু করুন","pad_8bitdo_how_receiver":"এর 2.4G রিসিভার বা একটি USB কেবল ব্যবহার করুন","pad_8bitdo_how_manual":"এর ম্যানুয়ালে উপায় দেওয়া আছে","pad_8bitdo_xinput":"সেরা ফলের জন্য আপনার 8BitDo-কে X-input মোডে নিন: {how}।","rp_touch_left_stick":"বাম স্টিক","rp_touch_right_stick":"ডান স্টিক","rp_touch_touchpad":"টাচপ্যাড","rp_menu":"মেনু","rp_pad_step_lx":"বাম স্টিক ডানে ঠেলুন","rp_pad_step_ly":"বাম স্টিক নিচে ঠেলুন","rp_pad_step_rx":"ডান স্টিক ডানে ঠেলুন","rp_pad_step_ry":"ডান স্টিক নিচে ঠেলুন","join_check_bottom":"নিচের ফেস বোতামটি চাপুন (✕)","join_check_right":"ডান দিকের ফেস বোতামটি চাপুন (○)","join_check_left":"বাঁ দিকের ফেস বোতামটি চাপুন (□)","join_check_top":"উপরের ফেস বোতামটি চাপুন (△)","rp_pad_press":"{name} চাপুন","join_check_saved":"এই ডিভাইসে এই কন্ট্রোলারের জন্য সেভ হয়েছে। নিচে চেষ্টা করে দেখুন।","join_check_title":"আপনার কন্ট্রোলার পরীক্ষা করুন","join_done":"হয়ে গেছে","rp_pads_none":"এখনও কোনো কন্ট্রোলার দেখা যায়নি। একটি সংযুক্ত করে তার যেকোনো বোতাম চাপুন।","rp_pad_mapped":"আপনার ম্যাপিং দিয়ে খেলে","join_check_unknown":"এই কন্ট্রোলারটি আমাদের তালিকায় নেই, তাই এর বোতামগুলো এলোমেলো হতে পারে। সেট আপ করতে কয়েক সেকেন্ড লাগে।","rp_pad_standard":"শনাক্ত হয়েছে","rp_pad_progress":"{total}-এর মধ্যে {n}","rp_pad_skip":"এড়িয়ে যান","rp_pad_back":"পেছনে","rp_pad_cancel":"বাতিল","join_check_try":"বোতাম চাপুন ও স্টিক নাড়ান: যা চাপবেন তা জ্বলে উঠবে।","join_check_redo":"আবার করুন","join_check_map":"বোতাম সেট আপ করুন","rp_pad_reset":"রিসেট","join_open_lan_body":"ইন্টারনেট পাচ্ছেন না? বন্ধুর সাথে একই Wi-Fi-তে থাকলে সেখানেই গেমটি খুলুন।","join_open_lan":"এই Wi-Fi-তে খুলুন","join_path_lan":"হোম নেটওয়ার্ক","join_path_internet":"ইন্টারনেট","join_seat_taken":"{host}-এর নিজের কন্ট্রোলার ফেরত দরকার ছিল এবং PS5-এ আর কোনো কন্ট্রোলার খালি ছিল না, তাই আপনি গেম থেকে বেরিয়ে গেছেন। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_key":"এই আমন্ত্রণের মেয়াদ শেষ। {host}-এর কাছে নতুন লিংক চান।","join_refused_expired":"গেমে আপনার জায়গা চলে গেছে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_full":"গেম পূর্ণ: ইতিমধ্যে চারজন খেলছে।","join_refused_denied":"{host} এবার আপনাকে ঢুকতে দেয়নি।","join_refused_no_answer":"{host} সময়মতো উত্তর দেননি। {host}-কে জানান, তারপর আবার চেষ্টা করুন।","join_refused_closed":"{host} এখন \"একসাথে খেলুন\" চালাচ্ছে না।","join_refused_old_helper":"\"একসাথে খেলুন\"-এর জন্য {host}-এর PS5-এ আপডেট করা হেল্পার দরকার।","join_refused_not_playing":"{host} এখন খেলছে না। {host}-কে আগে খেলা শুরু করতে বলুন।","join_refused_unreachable":"{host}-এর কম্পিউটার তাদের PS5-এ পৌঁছাতে পারেনি। একটু পরে আবার চেষ্টা করুন।","join_refused_slow_down":"অনেক বেশি ভুল কোড। এক মিনিট অপেক্ষা করে আবার চেষ্টা করুন।","join_refused_address":"এই লিঙ্কের ঠিকানা আপনার হোম নেটওয়ার্কের বাইরে, তাই অ্যাপ এটি ব্যবহার করবে না। {host}-এর কাছে তাঁর কম্পিউটারের IP ঠিকানা সহ একটি লিঙ্ক চান।","join_refused_other":"{host} আপনাকে ঢুকতে দেয়নি।","join_ended_kicked":"{host} আপনাকে গেম থেকে বের করে দিয়েছে।","join_ended_closed":"{host} \"একসাথে খেলুন\" বন্ধ করেছে।","join_ended_host_stopped":"হোস্ট খেলা বন্ধ করেছে।","join_ended_replaced":"এই গেমটি অন্য ট্যাব বা ডিভাইসে খোলা হয়েছে, তাই এখানে থেমে গেছে।","join_ended_pad_lost":"PS5 আপনার কন্ট্রোলার হারিয়েছে, তাই আপনি গেমের বাইরে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_ended_gave_up":"{host}-এর সাথে সংযোগ সময়মতো ফিরে আসেনি।","join_net_lost":"{host}-এর সাথে সংযোগ কেটে গেছে। আপনার ইন্টারনেট সংযোগ দেখুন, তারপর আবার অনুরোধ করুন।","join_ended_lost":"{host}-এর কাছে পৌঁছানো যায়নি। আপনারা একই নেটওয়ার্কে আছেন কিনা দেখুন।","join_ended_left":"আপনি গেম ছেড়ে গেছেন।","join_net_mismatch":"এই লিংকটি হোস্টের সঙ্গে মেলে না; তাঁর কাছে নতুন লিংক চান।","join_net_no_direct":"এই নেটওয়ার্ক থেকে সরাসরি সংযোগ সম্ভব নয় (দুই দিকের রাউটারই কড়া)। মোবাইল ডেটার বদলে Wi-Fi চেষ্টা করুন, অথবা হোস্টকে UPnP চালু করতে বলুন।","join_net_no_room":"এই আমন্ত্রণটি আর খোলা নেই। {host}-এর কাছে নতুন লিংক চান।","join_net_full":"{host}-এর গেমে এখন আরেকজন বন্ধুর জায়গা নেই। একটু পরে আবার চেষ্টা করুন।","join_net_no_hub":"PS5Upload আমন্ত্রণ পরিষেবায় পৌঁছানো যায়নি। ইন্টারনেট সংযোগ দেখে আবার চেষ্টা করুন।","join_net_offer":"{host}-এর কম্পিউটার এই ব্রাউজারের সঙ্গে সংযোগ করতে পারেনি। অন্য ব্রাউজার চেষ্টা করুন।","join_net_no_webrtc":"এই ব্রাউজার সরাসরি সংযোগ করতে পারে না। Chrome, Safari বা Firefox-এর নতুন সংস্করণ চেষ্টা করুন।","join_cancel":"বাতিল","join_host_fallback":"আপনার বন্ধু","join_connecting":"{host}-এর সাথে সংযোগ হচ্ছে…","join_waiting":"{host} আপনাকে ঢুকতে দেওয়ার অপেক্ষায়","join_waiting_body":"{host} তার স্ক্রিনে আপনার নাম দেখে \"অনুমতি দিন\" চাপবে।","join_retry":"আবার চেষ্টা করুন","join_again":"আবার যোগ দিতে অনুরোধ করুন","join_playing_at":"{host}-এর কাছে খেলছেন","join_you_are":"আপনি প্লেয়ার {n}","join_seat_stream":"আপনি {host}-এর PS5 ইউজার হিসেবে খেলছেন। ইউজার বাছার দরকার নেই।","join_plays_as":"আপনি {profile} হিসেবে খেলছেন। কাউকে বেছে নিতে হবে না।","join_seat_tv_asks":"{host} আপনার জন্য একটি প্রোফাইল বেছে রেখেছিল, কিন্তু সেটা ব্যবহার করা যায়নি। টিভি জিজ্ঞেস করবে আপনি কে।","join_picking":"PS চাপুন, তারপর টিভিতে দ্রুত খেলা বেছে নিন","join_hide_controls":"লুকান","join_sound":"শব্দের জন্য ট্যাপ করুন","rp_unmute":"শব্দ চালু","rp_mute":"নিঃশব্দ","join_no_sound":"এই ব্রাউজারে শব্দ নেই","join_exit_fullscreen":"ফুল স্ক্রিন থেকে বের হন","pad_fill":"পূর্ণ স্ক্রিন","join_leave":"ছেড়ে যান","join_show_controls":"নিয়ন্ত্রণগুলি দেখান","join_hold_hint":"বোতামগুলো দেখাতে ছবিতে চেপে ধরে রাখুন","pad_watch_no_hevc":"এই ডিভাইস এই স্ট্রিমের ছবি চালাতে পারে না: কম্পিউটার HEVC-তে স্ট্রিম করে, আর এই ডিভাইস শুধু H.264 চালায়।","pad_watch_decode":"ছবিটি এখানে চালানো যায়নি।","join_pad_ready":"আপনার কন্ট্রোলার প্রস্তুত","join_check_unknown_short":"আমাদের তালিকায় নেই: বোতামগুলো এলোমেলো হতে পারে।","join_full_to_play":"অন-স্ক্রিন কন্ট্রোলার দিয়ে খেলতে ফুল স্ক্রিনে ট্যাপ করুন।","join_pad_none":"একটি কন্ট্রোলার সংযুক্ত করুন (USB বা Bluetooth) এবং যেকোনো বোতাম চাপুন।","join_pad_keys":"অথবা কিবোর্ড ব্যবহার করুন: WASD নড়াচড়া, তীর চিহ্ন D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"বোতামগুলো দেখতে রিমোটে Back চাপুন।","join_block_note":"{host} বন্ধুদের জন্য PS ও Create বন্ধ করে রেখেছে।","join_guide_title":"টিভিতে আর একটি ধাপ","join_guide_body":"আপনার কন্ট্রোলারে একবার PS চাপুন। টিভি জিজ্ঞেস করবে \"এই কন্ট্রোলার কে ব্যবহার করছে?\"। দ্রুত খেলা বা নিজের ইউজার বেছে নিন। হোস্টকে কিছু করতে হবে না।","join_guide_menus":"PS5-এর হোম স্ক্রিনে শুধু হোস্ট মেনু চালাতে পারে; আপনার কন্ট্রোলার গেমের ভেতরে খেলে।","join_guide_ok":"বুঝেছি","join_host_away":"হোস্ট খেলা বন্ধ করেছে — আবার শুরু করার অপেক্ষায় ({time})","join_reconnecting":"আবার সংযোগ হচ্ছে…","join_reconnecting_left":"আপনার জায়গা {time} ধরে রাখা থাকবে।","pad_turn":"ফোনটি আড়াআড়ি ঘোরান","join_game_label":"{host}-এর গেম","join_title":"বন্ধুর গেমে যোগ দিন","join_title_body":"{host}-এর PS5-এ প্লেয়ার 2, 3 বা 4 হিসেবে খেলুন।","join_name_label":"আপনার নাম","join_name_hint":"যোগ দিতে অনুরোধ করলে আপনার বন্ধু এটি দেখবে।","join_button":"যোগ দিন"},"de":{"usb_skipped_not_payload":"{name}: keine .elf- oder .bin-Datei","usb_skipped_unknown":"{id}: nicht mehr in der Payload-Liste","browser_unsupported":"Dafür brauchst du die Desktop-App. Im Browser funktioniert das nicht.","video_recovered_notice":"Play ist beim letzten Mal beim Starten des Bildes abgestürzt, daher wird das Bild jetzt ohne Grafikkarte dekodiert (ändern unter Einstellungen › Fenster › Grafik › Hardware-Videodekodierung).","video_recovered_title":"Bild wird jetzt per Software dekodiert","open_in_title":"In der PS5Upload-App öffnen?","open_in_body":"Hast du die PS5Upload-App auf diesem Gerät? Öffne dies dort oder mach im Browser weiter.","open_in_app":"In der App öffnen","open_in_browser":"Im Browser weiter","open_in_remember":"Meine Wahl auf diesem Gerät merken","open_in_opening":"PS5Upload-App wird geöffnet …","open_in_not_opened":"Nichts passiert? Die App ist vielleicht nicht auf diesem Gerät.","open_in_again":"Erneut versuchen","pad_8bitdo_no_xinput":"Dieser 8BitDo hat keinen X-input-Modus. Wenn eine Taste falsch ist, prüfe den Controller.","pad_8bitdo_how_switch":"stell den Schalter auf der Rückseite auf X und drück dann Start","pad_8bitdo_how_startx":"schalte ihn aus und halte dann Start + X gedrückt, um ihn einzuschalten","pad_8bitdo_how_receiver":"nutze seinen 2.4G-Empfänger oder ein USB-Kabel","pad_8bitdo_how_manual":"wie, steht in seiner Anleitung","pad_8bitdo_xinput":"Für das beste Ergebnis schalte deinen 8BitDo in den X-input-Modus: {how}.","rp_touch_left_stick":"Linker Stick","rp_touch_right_stick":"Rechter Stick","rp_menu":"Menü","rp_pad_step_lx":"Drücke den linken Stick nach rechts","rp_pad_step_ly":"Drücke den linken Stick nach unten","rp_pad_step_rx":"Drücke den rechten Stick nach rechts","rp_pad_step_ry":"Drücke den rechten Stick nach unten","join_check_bottom":"Drück die untere Aktionstaste (✕)","join_check_right":"Drück die rechte Aktionstaste (○)","join_check_left":"Drück die linke Aktionstaste (□)","join_check_top":"Drück die obere Aktionstaste (△)","rp_pad_press":"Drücke {name}","join_check_saved":"Für diesen Controller auf diesem Gerät gespeichert. Probier es unten aus.","join_check_title":"Controller prüfen","join_done":"Fertig","rp_pads_none":"Noch kein Controller erkannt. Schließe einen an und drücke eine beliebige Taste darauf.","rp_pad_mapped":"Spielt mit deiner Belegung","join_check_unknown":"Dieser Controller ist nicht auf unserer Liste, die Tasten könnten also vertauscht sein. Das Einrichten dauert nur ein paar Sekunden.","rp_pad_standard":"Erkannt","rp_pad_progress":"{n} von {total}","rp_pad_skip":"Überspringen","rp_pad_back":"Zurück","rp_pad_cancel":"Abbrechen","join_check_try":"Drück Tasten und beweg die Sticks: Was du drückst, leuchtet auf.","join_check_redo":"Neu einrichten","join_check_map":"Tasten einrichten","rp_pad_reset":"Zurücksetzen","join_open_lan_body":"Kein Internet? Wenn du im selben WLAN wie dein Freund bist, öffne das Spiel dort.","join_open_lan":"In diesem WLAN öffnen","join_path_lan":"Heimnetz","join_seat_taken":"{host} brauchte seinen Controller zurück, und auf der PS5 war kein anderer Controller frei, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_refused_key":"Diese Einladung ist abgelaufen. Bitte {host} um einen neuen Link.","join_refused_expired":"Dein Platz im Spiel ist verloren. Bitte {host}, dich wieder hereinzulassen.","join_refused_full":"Das Spiel ist voll: Es sind schon vier Spieler da.","join_refused_denied":"{host} hat dich diesmal nicht reingelassen.","join_refused_no_answer":"{host} hat nicht rechtzeitig geantwortet. Sag {host} Bescheid und versuche es noch einmal.","join_refused_closed":"{host} bietet gerade kein „Zusammen spielen“ an.","join_refused_old_helper":"Die PS5 von {host} braucht einen aktuellen Helfer für „Zusammen spielen“.","join_refused_not_playing":"{host} spielt gerade nicht. Bitte {host}, zuerst Spielen zu starten.","join_refused_unreachable":"Der Computer von {host} hat die PS5 nicht erreicht. Versuch es gleich noch einmal.","join_refused_slow_down":"Zu viele falsche Codes. Warte eine Minute und versuch es dann noch einmal.","join_refused_address":"Die Adresse dieses Links liegt außerhalb deines Heimnetzes, daher verwendet die App sie nicht. Bitte {host} um einen Link mit der IP-Adresse des Computers.","join_refused_other":"{host} hat dich nicht reingelassen.","join_ended_kicked":"{host} hat dich aus dem Spiel genommen.","join_ended_closed":"{host} hat „Zusammen spielen“ beendet.","join_ended_host_stopped":"Der Gastgeber hat aufgehört zu spielen.","join_ended_replaced":"Dieses Spiel wurde in einem anderen Tab oder auf einem anderen Gerät geöffnet, daher wurde es hier beendet.","join_ended_pad_lost":"Die PS5 hat deinen Controller verloren, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_ended_gave_up":"Die Verbindung zu {host} kam nicht rechtzeitig zurück.","join_net_lost":"Die Verbindung zu {host} ist abgebrochen. Prüfe deine Internetverbindung und frage dann erneut.","join_ended_lost":"{host} nicht erreichbar. Prüfe, ob ihr im selben Netzwerk seid.","join_ended_left":"Du hast das Spiel verlassen.","join_net_mismatch":"Dieser Link passt nicht zum Gastgeber. Bitte ihn um einen neuen.","join_net_no_direct":"Von diesem Netzwerk aus ist keine direkte Verbindung möglich (die Router beider Seiten sind streng). Versuche WLAN statt mobiler Daten oder bitte den Gastgeber, UPnP einzuschalten.","join_net_no_room":"Diese Einladung ist nicht mehr offen. Bitte {host} um einen neuen Link.","join_net_full":"Im Spiel von {host} ist gerade kein Platz für einen weiteren Freund. Versuche es gleich noch einmal.","join_net_no_hub":"Der Einladungsdienst von PS5Upload ist nicht erreichbar. Prüfe deine Internetverbindung und versuche es dann erneut.","join_net_offer":"Der Computer von {host} konnte sich nicht mit diesem Browser verbinden. Versuche einen anderen Browser.","join_net_no_webrtc":"Dieser Browser kann keine direkten Verbindungen herstellen. Versuche ein aktuelles Chrome, Safari oder Firefox.","join_cancel":"Abbrechen","join_host_fallback":"dein Freund","join_connecting":"Verbinde mit {host}…","join_waiting":"Warte, bis {host} dich reinlässt","join_waiting_body":"{host} sieht deinen Namen auf dem Bildschirm und tippt auf „Zulassen“.","join_retry":"Erneut versuchen","join_again":"Erneut zum Mitspielen anfragen","join_playing_at":"Du spielst bei {host}","join_you_are":"Du bist Spieler {n}","join_seat_stream":"Du spielst als PS5-Benutzer von {host}. Du musst keinen wählen.","join_plays_as":"Du spielst als {profile}. Du musst keinen wählen.","join_seat_tv_asks":"{host} hat ein Profil für dich gewählt, aber es konnte nicht genutzt werden. Der Fernseher fragt, wer du bist.","join_picking":"PS drücken, dann am Fernseher „Schnellspiel“ wählen","join_hide_controls":"Ausblenden","join_sound":"Für Ton tippen","rp_unmute":"Ton an","rp_mute":"Stumm","join_no_sound":"Kein Ton in diesem Browser","join_exit_fullscreen":"Vollbild verlassen","pad_fill":"Vollbild","join_leave":"Verlassen","join_show_controls":"Steuerelemente einblenden","join_hold_hint":"Bild gedrückt halten, um die Tasten einzublenden","pad_watch_no_hevc":"Dieses Gerät kann das Bild dieses Streams nicht abspielen: Der Computer streamt HEVC, dieses Gerät kann nur H.264.","pad_watch_decode":"Das Bild konnte hier nicht abgespielt werden.","join_pad_ready":"Dein Controller ist bereit","join_check_unknown_short":"Nicht auf unserer Liste: Tasten könnten vertauscht sein.","join_full_to_play":"Tippe auf Vollbild, um mit dem Bildschirm-Controller zu spielen.","join_pad_none":"Schließe einen Controller an (USB oder Bluetooth) und drücke eine beliebige Taste.","join_pad_keys":"Oder nutze die Tastatur: WASD bewegen, Pfeiltasten Steuerkreuz, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Drücke auf der Fernbedienung Zurück, um die Schaltflächen einzublenden.","join_block_note":"{host} hat PS und Create für Freunde ausgeschaltet.","join_guide_title":"Noch ein Schritt am Fernseher","join_guide_body":"Drücke einmal PS auf deinem Controller. Der Fernseher fragt „Wer benutzt diesen Controller?“. Wähle „Schnellspiel“ oder deinen eigenen Benutzer. Der Gastgeber muss nichts tun.","join_guide_menus":"Auf dem Startbildschirm der PS5 steuert nur der Gastgeber die Menüs; dein Controller spielt in den Spielen.","join_guide_ok":"Verstanden","join_host_away":"Der Gastgeber hat aufgehört zu spielen – wir warten, bis er wieder anfängt ({time})","join_reconnecting":"Verbinde neu…","join_reconnecting_left":"Dein Platz wird {time} lang freigehalten.","pad_turn":"Dreh das Handy quer","join_game_label":"Spiel von {host}","join_title":"Bei Freunden mitspielen","join_title_body":"Spiele auf der PS5 von {host} als Spieler 2, 3 oder 4.","join_name_label":"Dein Name","join_name_hint":"Das sieht dein Freund, wenn du zum Mitspielen anfragst.","join_button":"Mitspielen"},"en":{"usb_skipped_not_payload":"{name}: not an .elf or .bin file","usb_skipped_unknown":"{id}: not in the payload list any more","browser_unsupported":"This needs the desktop app. It does not work in the browser.","video_recovered_notice":"Play crashed while starting the picture last time, so the picture is now decoded without the graphics card (Settings › Window › Graphics › Hardware video decoding to change it).","video_recovered_title":"Picture now decoded in software","open_in_title":"Open in the PS5Upload app?","open_in_body":"Have the PS5Upload app on this device? Open this there, or carry on in the browser.","open_in_app":"Open in the app","open_in_browser":"Continue in browser","open_in_remember":"Remember my choice on this device","open_in_opening":"Opening the PS5Upload app…","open_in_not_opened":"Nothing happened? The app may not be on this device.","open_in_again":"Try again","pad_8bitdo_no_xinput":"This 8BitDo has no X-input mode. If a button is wrong, check the controller.","pad_8bitdo_how_switch":"set the switch on the back to X, then press Start","pad_8bitdo_how_startx":"turn it off, then hold Start + X to turn it on","pad_8bitdo_how_receiver":"use its 2.4G receiver or a USB cable","pad_8bitdo_how_manual":"its manual says how","pad_8bitdo_xinput":"For the best result, switch your 8BitDo to X-input mode: {how}.","rp_touch_left_stick":"Left stick","rp_touch_right_stick":"Right stick","rp_touch_touchpad":"Touchpad","rp_menu":"Menu","rp_pad_step_lx":"Push the left stick right","rp_pad_step_ly":"Push the left stick down","rp_pad_step_rx":"Push the right stick right","rp_pad_step_ry":"Push the right stick down","join_check_bottom":"Press the bottom face button (✕)","join_check_right":"Press the right face button (○)","join_check_left":"Press the left face button (□)","join_check_top":"Press the top face button (△)","rp_pad_press":"Press {name}","join_check_saved":"Saved for this controller on this device. Try it below.","join_check_title":"Check your controller","join_done":"Done","rp_pads_none":"No controller seen yet. Connect one and press any button on it.","rp_pad_mapped":"Plays with your mapping","join_check_unknown":"This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.","rp_pad_standard":"Recognized","rp_pad_progress":"{n} of {total}","rp_pad_skip":"Skip","rp_pad_back":"Back","rp_pad_cancel":"Cancel","join_check_try":"Press buttons and move the sticks: what you press lights up.","join_check_redo":"Redo","join_check_map":"Set up the buttons","rp_pad_reset":"Reset","join_open_lan_body":"Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.","join_open_lan":"Open on this Wi-Fi","join_path_lan":"Home network","join_path_tailscale":"Tailscale","join_path_internet":"Internet","join_seat_taken":"{host} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask {host} to let you in again.","join_refused_key":"This invite has expired. Ask {host} for a new link.","join_refused_expired":"Your place in the game was lost. Ask {host} to let you in again.","join_refused_full":"The game is full: four players already.","join_refused_denied":"{host} didn't let you in this time.","join_refused_no_answer":"{host} didn't answer in time. Tell {host}, then try again.","join_refused_closed":"{host} isn't hosting Play Together right now.","join_refused_old_helper":"{host}'s PS5 needs an updated helper for Play Together.","join_refused_not_playing":"{host} isn't playing right now. Ask {host} to start Play first.","join_refused_unreachable":"{host}'s computer couldn't reach their PS5. Try again in a moment.","join_refused_slow_down":"Too many wrong codes. Wait a minute, then try again.","join_refused_address":"This link's address is outside your home network, so the app will not use it. Ask {host} for a link with their computer's IP address.","join_refused_other":"{host} didn't let you in.","join_ended_kicked":"{host} took you out of the game.","join_ended_closed":"{host} closed Play Together.","join_ended_host_stopped":"The host stopped playing.","join_ended_replaced":"This game was opened in another tab or on another device, so it stopped here.","join_ended_pad_lost":"The PS5 lost your controller, so you're out of the game. Ask {host} to let you in again.","join_ended_gave_up":"The connection to {host} didn't come back in time.","join_net_lost":"The connection to {host} dropped. Check your internet connection, then ask again.","join_ended_lost":"Couldn't reach {host}. Check that you're on the same network.","join_ended_left":"You left the game.","join_net_mismatch":"This link doesn't match the host; ask them for a new one.","join_net_no_direct":"A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.","join_net_no_room":"This invite isn't open any more. Ask {host} for a new link.","join_net_full":"{host}'s game has no room for another friend right now. Try again in a moment.","join_net_no_hub":"Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.","join_net_offer":"{host}'s computer couldn't connect to this browser. Try another browser.","join_net_no_webrtc":"This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.","join_cancel":"Cancel","join_host_fallback":"your friend","join_connecting":"Connecting to {host}…","join_waiting":"Waiting for {host} to let you in","join_waiting_body":"{host} sees your name on their screen and taps Allow.","join_retry":"Try again","join_again":"Ask to join again","join_playing_at":"Playing at {host}'s","join_you_are":"You are Player {n}","join_seat_stream":"You're playing as {host}'s PS5 user. No need to pick one.","join_plays_as":"You're playing as {profile}. No need to pick one.","join_seat_tv_asks":"{host} chose a profile for you, but it couldn't be used. The TV will ask who you are.","join_picking":"Press PS, then pick Quick Play on the TV","join_hide_controls":"Hide","join_sound":"Tap for sound","rp_unmute":"Sound on","rp_mute":"Mute","join_no_sound":"No sound in this browser","join_exit_fullscreen":"Leave full screen","pad_fill":"Full screen","join_leave":"Leave","join_show_controls":"Show controls","join_hold_hint":"Press and hold the picture to show the buttons","pad_watch_no_hevc":"This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.","pad_watch_decode":"The picture could not be played here.","join_pad_ready":"Your controller is ready","join_check_unknown_short":"Not on our list: buttons may be mixed up.","join_full_to_play":"Tap full screen to play with the on-screen controller.","join_pad_none":"Connect a controller (USB or Bluetooth) and press any button.","join_pad_keys":"Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Press Back on the remote for the buttons.","join_block_note":"{host} turned off PS and Create for friends.","join_guide_title":"One more step on the TV","join_guide_body":"On your controller, press PS once. The TV asks \"Who's using this controller?\". Pick Quick Play or your own user. The host doesn't need to do anything.","join_guide_menus":"On the PS5's home screen only the host controls the menus; your controller plays inside games.","join_guide_ok":"Got it","join_host_away":"The host stopped playing — waiting for them to start again ({time})","join_reconnecting":"Reconnecting…","join_reconnecting_left":"Your place is kept for {time}.","pad_turn":"Turn the phone sideways","join_game_label":"{host}'s game","join_title":"Join a friend's game","join_title_body":"Play on {host}'s PS5 as Player 2, 3 or 4.","join_name_label":"Your name","join_name_hint":"Your friend sees this when you ask to join.","join_button":"Join"},"es":{"usb_skipped_not_payload":"{name}: no es un archivo .elf ni .bin","usb_skipped_unknown":"{id}: ya no está en la lista de payloads","browser_unsupported":"Esto necesita la aplicación de escritorio. No funciona en el navegador.","video_recovered_notice":"Play se cerró al iniciar la imagen la última vez, así que ahora la imagen se decodifica sin la tarjeta gráfica (cámbialo en Configuración › Ventana › Gráficos › Decodificación de vídeo por hardware).","video_recovered_title":"La imagen ahora se decodifica por software","open_in_title":"¿Abrir en la app PS5Upload?","open_in_body":"¿Tienes la app PS5Upload en este dispositivo? Ábrelo ahí o sigue en el navegador.","open_in_app":"Abrir en la app","open_in_browser":"Seguir en el navegador","open_in_remember":"Recordar mi elección en este dispositivo","open_in_opening":"Abriendo la app PS5Upload…","open_in_not_opened":"¿No pasó nada? Puede que la app no esté en este dispositivo.","open_in_again":"Reintentar","pad_8bitdo_no_xinput":"Este 8BitDo no tiene modo X-input. Si un botón no va bien, comprueba el mando.","pad_8bitdo_how_switch":"pon el interruptor de atrás en X y pulsa Start","pad_8bitdo_how_startx":"apágalo y luego mantén Start + X para encenderlo","pad_8bitdo_how_receiver":"usa su receptor 2.4G o un cable USB","pad_8bitdo_how_manual":"su manual explica cómo","pad_8bitdo_xinput":"Para el mejor resultado, pon tu 8BitDo en modo X-input: {how}.","rp_touch_left_stick":"Joystick izquierdo","rp_touch_right_stick":"Joystick derecho","rp_touch_touchpad":"Panel táctil","rp_menu":"Menú","rp_pad_step_lx":"Mueve el stick izquierdo a la derecha","rp_pad_step_ly":"Mueve el stick izquierdo hacia abajo","rp_pad_step_rx":"Mueve el stick derecho a la derecha","rp_pad_step_ry":"Mueve el stick derecho hacia abajo","join_check_bottom":"Pulsa el botón de acción de abajo (✕)","join_check_right":"Pulsa el botón de acción de la derecha (○)","join_check_left":"Pulsa el botón de acción de la izquierda (□)","join_check_top":"Pulsa el botón de acción de arriba (△)","rp_pad_press":"Pulsa {name}","join_check_saved":"Guardado para este mando en este dispositivo. Pruébalo abajo.","join_check_title":"Comprueba tu mando","join_done":"Listo","rp_pads_none":"Aún no se ve ningún mando. Conecta uno y pulsa cualquier botón.","rp_pad_mapped":"Juega con tu asignación","join_check_unknown":"Este mando no está en nuestra lista, así que sus botones pueden estar cambiados. Configurarlo lleva unos segundos.","rp_pad_standard":"Reconocido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Omitir","rp_pad_back":"Atrás","rp_pad_cancel":"Cancelar","join_check_try":"Pulsa botones y mueve los sticks: lo que pulses se ilumina.","join_check_redo":"Rehacer","join_check_map":"Configurar los botones","rp_pad_reset":"Restablecer","join_open_lan_body":"¿Sin internet? Si estás en el mismo Wi-Fi que tu amigo, abre la partida desde ahí.","join_open_lan":"Abrir en este Wi-Fi","join_path_lan":"Red doméstica","join_seat_taken":"{host} necesitaba recuperar su mando y no había otro mando libre en la PS5, así que has salido de la partida. Pide a {host} que te deje entrar otra vez.","join_refused_key":"Esta invitación ha caducado. Pide a {host} un enlace nuevo.","join_refused_expired":"Perdiste tu sitio en la partida. Pide a {host} que te deje entrar de nuevo.","join_refused_full":"La partida está llena: ya hay cuatro jugadores.","join_refused_denied":"{host} no te dejó entrar esta vez.","join_refused_no_answer":"{host} no respondió a tiempo. Avisa a {host} e inténtalo de nuevo.","join_refused_closed":"{host} no está ofreciendo Jugar juntos ahora mismo.","join_refused_old_helper":"La PS5 de {host} necesita un ayudante actualizado para Jugar juntos.","join_refused_not_playing":"{host} no está jugando ahora. Pide a {host} que inicie Jugar primero.","join_refused_unreachable":"El ordenador de {host} no pudo conectar con su PS5. Inténtalo de nuevo en un momento.","join_refused_slow_down":"Demasiados códigos incorrectos. Espera un minuto y vuelve a intentarlo.","join_refused_address":"La dirección de este enlace está fuera de tu red doméstica, así que la aplicación no la usará. Pide a {host} un enlace con la dirección IP de su equipo.","join_refused_other":"{host} no te dejó entrar.","join_ended_kicked":"{host} te sacó de la partida.","join_ended_closed":"{host} cerró Jugar juntos.","join_ended_host_stopped":"El anfitrión dejó de jugar.","join_ended_replaced":"Esta partida se abrió en otra pestaña o en otro dispositivo, así que terminó aquí.","join_ended_pad_lost":"La PS5 perdió tu mando, así que estás fuera de la partida. Pide a {host} que te deje entrar de nuevo.","join_ended_gave_up":"La conexión con {host} no volvió a tiempo.","join_net_lost":"Se cortó la conexión con {host}. Revisa tu conexión a internet y vuelve a pedirlo.","join_ended_lost":"No se pudo contactar con {host}. Comprueba que estéis en la misma red.","join_ended_left":"Saliste de la partida.","join_net_mismatch":"Este enlace no coincide con el anfitrión; pídele uno nuevo.","join_net_no_direct":"No es posible una conexión directa desde esta red (los routers de ambos lados son estrictos). Prueba con Wi-Fi en lugar de datos móviles o pide al anfitrión que active UPnP.","join_net_no_room":"Esta invitación ya no está abierta. Pide a {host} un enlace nuevo.","join_net_full":"La partida de {host} no tiene sitio para otro amigo ahora mismo. Inténtalo de nuevo en un momento.","join_net_no_hub":"No se pudo contactar con el servicio de invitaciones de PS5Upload. Comprueba tu conexión a internet e inténtalo de nuevo.","join_net_offer":"El ordenador de {host} no pudo conectar con este navegador. Prueba con otro navegador.","join_net_no_webrtc":"Este navegador no puede hacer conexiones directas. Prueba una versión reciente de Chrome, Safari o Firefox.","join_cancel":"Cancelar","join_host_fallback":"tu amigo","join_connecting":"Conectando con {host}…","join_waiting":"Esperando a que {host} te deje entrar","join_waiting_body":"{host} ve tu nombre en su pantalla y toca Permitir.","join_retry":"Reintentar","join_again":"Pedir unirme otra vez","join_playing_at":"Jugando en casa de {host}","join_you_are":"Eres el Jugador {n}","join_seat_stream":"Juegas con el usuario de PS5 de {host}. No hace falta elegir uno.","join_plays_as":"Juegas como {profile}. No hace falta elegir uno.","join_seat_tv_asks":"{host} eligió un perfil para ti, pero no se pudo usar. La TV te preguntará quién eres.","join_picking":"Pulsa PS y luego elige Juego rápido en la tele","join_hide_controls":"Ocultar","join_sound":"Activar sonido","rp_unmute":"Activar sonido","rp_mute":"Silenciar","join_no_sound":"Sin sonido en este navegador","join_exit_fullscreen":"Salir de pantalla completa","pad_fill":"Pantalla completa","join_leave":"Salir","join_show_controls":"Mostrar controles","join_hold_hint":"Mantén pulsada la imagen para mostrar los botones","pad_watch_no_hevc":"Este dispositivo no puede reproducir la imagen de este stream: el ordenador emite en HEVC y este dispositivo solo reproduce H.264.","pad_watch_decode":"La imagen no se pudo reproducir aquí.","join_pad_ready":"Tu mando está listo","join_check_unknown_short":"No está en nuestra lista: los botones pueden estar cambiados.","join_full_to_play":"Toca pantalla completa para jugar con el mando en pantalla.","join_pad_none":"Conecta un mando (USB o Bluetooth) y pulsa cualquier botón.","join_pad_keys":"O usa el teclado: WASD para moverte, flechas cruceta, Enter ✕, Retroceso ○, Q □, E △, Tab Options.","join_tv_back_hint":"Pulsa Atrás en el mando a distancia para ver los botones.","join_block_note":"{host} desactivó PS y Create para los amigos.","join_guide_title":"Un paso más en la tele","join_guide_body":"Pulsa PS una vez en tu mando. La tele pregunta «¿Quién usa este mando?». Elige Juego rápido o tu propio usuario. El anfitrión no tiene que hacer nada.","join_guide_menus":"En la pantalla de inicio de la PS5 solo el anfitrión controla los menús; tu mando juega dentro de los juegos.","join_guide_ok":"Entendido","join_host_away":"El anfitrión dejó de jugar: esperando a que vuelva a empezar ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Tu sitio se guarda durante {time}.","pad_turn":"Gira el móvil en horizontal","join_game_label":"Partida de {host}","join_title":"Unirse a la partida de un amigo","join_title_body":"Juega en la PS5 de {host} como Jugador 2, 3 o 4.","join_name_label":"Tu nombre","join_name_hint":"Tu amigo lo verá cuando pidas unirte.","join_button":"Unirme"},"fa":{"usb_skipped_not_payload":"{name}: فایل .elf یا .bin نیست","usb_skipped_unknown":"{id}: دیگر در فهرست پیلودها نیست","browser_unsupported":"این کار به برنامه رومیزی نیاز دارد. در مرورگر کار نمی‌کند.","video_recovered_notice":"دفعهٔ پیش «بازی» هنگام شروع تصویر از کار افتاد، پس تصویر اکنون بدون کارت گرافیک رمزگشایی می‌شود (برای تغییر: تنظیمات › پنجره › گرافیک › رمزگشایی ویدیو با سخت‌افزار).","video_recovered_title":"تصویر اکنون با نرم‌افزار رمزگشایی می‌شود","open_in_title":"در برنامهٔ PS5Upload باز شود؟","open_in_body":"برنامهٔ PS5Upload روی این دستگاه هست؟ این را آنجا باز کنید، یا در مرورگر ادامه دهید.","open_in_app":"باز کردن در برنامه","open_in_browser":"ادامه در مرورگر","open_in_remember":"انتخابم را روی این دستگاه به خاطر بسپار","open_in_opening":"در حال باز کردن برنامهٔ PS5Upload…","open_in_not_opened":"اتفاقی نیفتاد؟ شاید برنامه روی این دستگاه نیست.","open_in_again":"دوباره امتحان کنید","pad_8bitdo_no_xinput":"این 8BitDo حالت X-input ندارد. اگر دکمه‌ای اشتباه است، کنترلر را بررسی کنید.","pad_8bitdo_how_switch":"کلید پشت را روی X بگذارید، سپس Start را بزنید","pad_8bitdo_how_startx":"آن را خاموش کنید، سپس Start + X را نگه دارید تا روشن شود","pad_8bitdo_how_receiver":"از گیرنده 2.4G آن یا کابل USB استفاده کنید","pad_8bitdo_how_manual":"دفترچه راهنمای آن روش را می‌گوید","pad_8bitdo_xinput":"برای بهترین نتیجه، 8BitDo خود را به حالت X-input ببرید: {how}.","rp_touch_left_stick":"استیک چپ","rp_touch_right_stick":"استیک راست","rp_touch_touchpad":"صفحه لمسی","rp_menu":"منو","rp_pad_step_lx":"استیک چپ را به راست فشار دهید","rp_pad_step_ly":"استیک چپ را به پایین فشار دهید","rp_pad_step_rx":"استیک راست را به راست فشار دهید","rp_pad_step_ry":"استیک راست را به پایین فشار دهید","join_check_bottom":"دکمهٔ پایینی را بزنید (✕)","join_check_right":"دکمهٔ سمت راست را بزنید (○)","join_check_left":"دکمهٔ سمت چپ را بزنید (□)","join_check_top":"دکمهٔ بالایی را بزنید (△)","rp_pad_press":"{name} را فشار دهید","join_check_saved":"برای این کنترلر روی این دستگاه ذخیره شد. پایین امتحانش کنید.","join_check_title":"کنترلر خود را بررسی کنید","join_done":"تمام","rp_pads_none":"هنوز دسته‌ای دیده نشده. یکی وصل کنید و یکی از دکمه‌هایش را فشار دهید.","rp_pad_mapped":"با نگاشت شما بازی می‌کند","join_check_unknown":"این کنترلر در فهرست ما نیست، پس ممکن است دکمه‌هایش جابه‌جا باشند. تنظیم آن چند ثانیه طول می‌کشد.","rp_pad_standard":"شناخته شد","rp_pad_progress":"{n} از {total}","rp_pad_skip":"رد کردن","rp_pad_back":"بازگشت","rp_pad_cancel":"لغو","join_check_try":"دکمه‌ها را بزنید و استیک‌ها را حرکت دهید: هر چه بزنید روشن می‌شود.","join_check_redo":"انجام دوباره","join_check_map":"تنظیم دکمه‌ها","rp_pad_reset":"بازنشانی","join_open_lan_body":"به اینترنت دسترسی ندارید؟ اگر با دوستتان روی یک Wi-Fi هستید، بازی را آنجا باز کنید.","join_open_lan":"باز کردن روی همین Wi-Fi","join_path_lan":"شبکهٔ خانگی","join_path_internet":"اینترنت","join_seat_taken":"{host} دستهٔ خودش را لازم داشت و دستهٔ آزاد دیگری روی PS5 نبود، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_refused_key":"این دعوت منقضی شده است. از {host} پیوند جدید بخواهید.","join_refused_expired":"جای شما در بازی از دست رفت. از {host} بخواهید دوباره راهتان بدهد.","join_refused_full":"بازی پر است: چهار بازیکن از قبل هستند.","join_refused_denied":"{host} این بار اجازهٔ ورود نداد.","join_refused_no_answer":"{host} به‌موقع پاسخ نداد. به {host} خبر دهید و دوباره امتحان کنید.","join_refused_closed":"{host} الان «بازی با هم» را میزبانی نمی‌کند.","join_refused_old_helper":"PS5 {host} برای «بازی با هم» به دستیار به‌روز نیاز دارد.","join_refused_not_playing":"{host} الان بازی نمی‌کند. از {host} بخواهید اول بازی را شروع کند.","join_refused_unreachable":"رایانهٔ {host} به PS5 دسترسی پیدا نکرد. کمی بعد دوباره امتحان کنید.","join_refused_slow_down":"تعداد کدهای اشتباه زیاد است. یک دقیقه صبر کنید و دوباره امتحان کنید.","join_refused_address":"نشانی این پیوند بیرون از شبکه خانگی شماست، پس برنامه از آن استفاده نمی‌کند. از {host} پیوندی با نشانی IP رایانه‌اش بخواهید.","join_refused_other":"{host} اجازهٔ ورود نداد.","join_ended_kicked":"{host} شما را از بازی بیرون کرد.","join_ended_closed":"{host} «بازی با هم» را بست.","join_ended_host_stopped":"میزبان بازی را متوقف کرد.","join_ended_replaced":"این بازی در زبانه یا دستگاه دیگری باز شد، پس اینجا متوقف شد.","join_ended_pad_lost":"PS5 دستهٔ شما را از دست داد، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_ended_gave_up":"اتصال به {host} به‌موقع برنگشت.","join_net_lost":"اتصال به {host} قطع شد. اتصال اینترنت خود را بررسی کنید و دوباره درخواست دهید.","join_ended_lost":"دسترسی به {host} ممکن نشد. بررسی کنید روی یک شبکه باشید.","join_ended_left":"از بازی خارج شدید.","join_net_mismatch":"این پیوند با میزبان جور نیست؛ از او پیوند تازه‌ای بخواهید.","join_net_no_direct":"اتصال مستقیم از این شبکه ممکن نیست (روترهای هر دو طرف سخت‌گیرند). به‌جای داده همراه Wi-Fi را امتحان کنید یا از میزبان بخواهید UPnP را روشن کند.","join_net_no_room":"این دعوت دیگر باز نیست. از {host} پیوند تازه‌ای بخواهید.","join_net_full":"بازی {host} اکنون جای دوست دیگری ندارد. کمی بعد دوباره امتحان کنید.","join_net_no_hub":"دسترسی به سرویس دعوت PS5Upload ممکن نشد. اتصال اینترنت را بررسی کنید و دوباره امتحان کنید.","join_net_offer":"رایانه {host} نتوانست به این مرورگر وصل شود. مرورگر دیگری را امتحان کنید.","join_net_no_webrtc":"این مرورگر نمی‌تواند اتصال مستقیم برقرار کند. نسخه تازه Chrome، Safari یا Firefox را امتحان کنید.","join_cancel":"لغو","join_host_fallback":"دوستتان","join_connecting":"در حال اتصال به {host}…","join_waiting":"منتظر اجازهٔ ورود از {host}","join_waiting_body":"{host} نام شما را روی صفحه‌اش می‌بیند و «اجازه» را می‌زند.","join_retry":"دوباره امتحان کنید","join_again":"دوباره درخواست پیوستن","join_playing_at":"در حال بازی پیش {host}","join_you_are":"شما بازیکن {n} هستید","join_seat_stream":"شما با کاربر PS5 {host} بازی می‌کنید. لازم نیست کاربری انتخاب کنید.","join_plays_as":"شما با {profile} بازی می‌کنید. نیازی به انتخاب نیست.","join_seat_tv_asks":"{host} پروفایلی برای شما انتخاب کرد، اما نشد از آن استفاده کرد. تلویزیون می‌پرسد شما کیستید.","join_picking":"PS را بزنید، سپس روی تلویزیون «بازی سریع» را انتخاب کنید","join_hide_controls":"پنهان کردن","join_sound":"برای صدا ضربه بزنید","rp_unmute":"صدا روشن","rp_mute":"بی‌صدا","join_no_sound":"در این مرورگر صدا پخش نمی‌شود","join_exit_fullscreen":"خروج از تمام‌صفحه","pad_fill":"تمام‌صفحه","join_leave":"خروج","join_show_controls":"نمایش کنترل‌ها","join_hold_hint":"برای نمایش دکمه‌ها، تصویر را لمس کرده و نگه دارید","pad_watch_no_hevc":"این دستگاه نمی‌تواند تصویر این استریم را پخش کند: کامپیوتر HEVC می‌فرستد و این دستگاه فقط H.264 پخش می‌کند.","pad_watch_decode":"تصویر اینجا پخش نشد.","join_pad_ready":"دستهٔ شما آماده است","join_check_unknown_short":"در فهرست ما نیست: ممکن است دکمه‌ها جابه‌جا باشند.","join_full_to_play":"برای بازی با دسته روی صفحه، تمام‌صفحه را بزنید.","join_pad_none":"یک دسته وصل کنید (USB یا Bluetooth) و هر دکمه‌ای را بزنید.","join_pad_keys":"یا از صفحه‌کلید استفاده کنید: WASD حرکت، کلیدهای جهت D-pad، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"برای دیدن دکمه‌ها، روی کنترل از راه دور دکمهٔ بازگشت را بزنید.","join_block_note":"{host} دکمه‌های PS و Create را برای دوستان خاموش کرده است.","join_guide_title":"یک قدم دیگر روی تلویزیون","join_guide_body":"یک بار PS را روی دسته‌تان بزنید. تلویزیون می‌پرسد «چه کسی از این دسته استفاده می‌کند؟». «بازی سریع» یا کاربر خودتان را انتخاب کنید. میزبان لازم نیست کاری بکند.","join_guide_menus":"در صفحه اصلی PS5 فقط میزبان منوها را کنترل می‌کند؛ دسته شما داخل بازی‌ها بازی می‌کند.","join_guide_ok":"متوجه شدم","join_host_away":"میزبان بازی را متوقف کرد — در انتظار شروع دوباره ({time})","join_reconnecting":"در حال اتصال دوباره…","join_reconnecting_left":"جای شما تا {time} نگه داشته می‌شود.","pad_turn":"گوشی را افقی کنید","join_game_label":"بازی {host}","join_title":"پیوستن به بازی یک دوست","join_title_body":"روی PS5 {host} به‌عنوان بازیکن ۲، ۳ یا ۴ بازی کنید.","join_name_label":"نام شما","join_name_hint":"وقتی درخواست پیوستن بدهید، دوستتان این را می‌بیند.","join_button":"پیوستن"},"fr":{"usb_skipped_not_payload":"{name} : pas un fichier .elf ou .bin","usb_skipped_unknown":"{id} : n'est plus dans la liste des payloads","browser_unsupported":"Il faut l'application de bureau. Cela ne fonctionne pas dans le navigateur.","video_recovered_notice":"Play a planté au démarrage de l'image la dernière fois : l'image est donc maintenant décodée sans la carte graphique (modifiable dans Paramètres › Fenêtre › Graphismes › Décodage vidéo matériel).","video_recovered_title":"Image désormais décodée par logiciel","open_in_title":"Ouvrir dans l’app PS5Upload ?","open_in_body":"Vous avez l’app PS5Upload sur cet appareil ? Ouvrez ceci dedans, ou continuez dans le navigateur.","open_in_app":"Ouvrir dans l’app","open_in_browser":"Continuer dans le navigateur","open_in_remember":"Retenir mon choix sur cet appareil","open_in_opening":"Ouverture de l’app PS5Upload…","open_in_not_opened":"Rien ne s’est passé ? L’app n’est peut-être pas sur cet appareil.","open_in_again":"Réessayer","pad_8bitdo_no_xinput":"Cette manette 8BitDo n'a pas de mode X-input. Si un bouton ne correspond pas, vérifiez la manette.","pad_8bitdo_how_switch":"mettez l'interrupteur à l'arrière sur X, puis appuyez sur Start","pad_8bitdo_how_startx":"éteignez-la, puis maintenez Start + X pour l'allumer","pad_8bitdo_how_receiver":"utilisez son récepteur 2.4G ou un câble USB","pad_8bitdo_how_manual":"son manuel explique comment","pad_8bitdo_xinput":"Pour un meilleur résultat, passez votre 8BitDo en mode X-input : {how}.","rp_touch_left_stick":"Joystick gauche","rp_touch_right_stick":"Joystick droit","rp_touch_touchpad":"Pavé tactile","rp_pad_step_lx":"Poussez le stick gauche vers la droite","rp_pad_step_ly":"Poussez le stick gauche vers le bas","rp_pad_step_rx":"Poussez le stick droit vers la droite","rp_pad_step_ry":"Poussez le stick droit vers le bas","join_check_bottom":"Appuyez sur le bouton du bas (✕)","join_check_right":"Appuyez sur le bouton de droite (○)","join_check_left":"Appuyez sur le bouton de gauche (□)","join_check_top":"Appuyez sur le bouton du haut (△)","rp_pad_press":"Appuyez sur {name}","join_check_saved":"Enregistré pour cette manette sur cet appareil. Essayez-la ci-dessous.","join_check_title":"Vérifier la manette","join_done":"Terminé","rp_pads_none":"Aucune manette détectée. Connectez-en une et appuyez sur n'importe quel bouton.","rp_pad_mapped":"Joue avec votre configuration","join_check_unknown":"Cette manette n'est pas dans notre liste, ses boutons peuvent donc être inversés. La configurer ne prend que quelques secondes.","rp_pad_standard":"Reconnue","rp_pad_progress":"{n} sur {total}","rp_pad_skip":"Passer","rp_pad_back":"Retour","rp_pad_cancel":"Annuler","join_check_try":"Appuyez sur des boutons et bougez les sticks : ce que vous pressez s'allume.","join_check_redo":"Refaire","join_check_map":"Configurer les boutons","rp_pad_reset":"Réinitialiser","join_open_lan_body":"Pas d'accès à Internet ? Si vous êtes sur le même Wi-Fi que votre ami, ouvrez la partie par là.","join_open_lan":"Ouvrir sur ce Wi-Fi","join_path_lan":"Réseau domestique","join_seat_taken":"{host} avait besoin de récupérer sa manette et aucune autre manette n'était libre sur la PS5 : vous avez quitté la partie. Demandez à {host} de vous laisser revenir.","join_refused_key":"Cette invitation a expiré. Demandez un nouveau lien à {host}.","join_refused_expired":"Votre place dans la partie est perdue. Demandez à {host} de vous laisser revenir.","join_refused_full":"La partie est pleine : il y a déjà quatre joueurs.","join_refused_denied":"{host} ne vous a pas laissé entrer cette fois.","join_refused_no_answer":"{host} n'a pas répondu à temps. Prévenez {host}, puis réessayez.","join_refused_closed":"{host} n'organise pas de Jouer ensemble pour le moment.","join_refused_old_helper":"La PS5 de {host} a besoin d'un assistant à jour pour Jouer ensemble.","join_refused_not_playing":"{host} ne joue pas en ce moment. Demandez d'abord à {host} de lancer Jouer.","join_refused_unreachable":"L'ordinateur de {host} n'a pas pu joindre sa PS5. Réessayez dans un instant.","join_refused_slow_down":"Trop de codes erronés. Attendez une minute, puis réessayez.","join_refused_address":"L'adresse de ce lien est hors de ton réseau domestique, l'application ne l'utilisera donc pas. Demande à {host} un lien avec l'adresse IP de son ordinateur.","join_refused_other":"{host} ne vous a pas laissé entrer.","join_ended_kicked":"{host} vous a retiré de la partie.","join_ended_closed":"{host} a fermé Jouer ensemble.","join_ended_host_stopped":"L'hôte a arrêté de jouer.","join_ended_replaced":"Cette partie a été ouverte dans un autre onglet ou sur un autre appareil, elle s'est donc arrêtée ici.","join_ended_pad_lost":"La PS5 a perdu votre manette, vous êtes donc sorti de la partie. Demandez à {host} de vous laisser revenir.","join_ended_gave_up":"La connexion à {host} n'est pas revenue à temps.","join_net_lost":"La connexion à {host} a été coupée. Vérifiez votre connexion Internet, puis redemandez.","join_ended_lost":"Impossible de joindre {host}. Vérifiez que vous êtes sur le même réseau.","join_ended_left":"Vous avez quitté la partie.","join_net_mismatch":"Ce lien ne correspond pas à l'hôte ; demandez-lui-en un nouveau.","join_net_no_direct":"Une connexion directe est impossible depuis ce réseau (les routeurs des deux côtés sont stricts). Essayez le Wi-Fi plutôt que les données mobiles, ou demandez à l'hôte d'activer l'UPnP.","join_net_no_room":"Cette invitation n'est plus ouverte. Demandez un nouveau lien à {host}.","join_net_full":"La partie de {host} n'a pas de place pour un autre ami pour le moment. Réessayez dans un instant.","join_net_no_hub":"Impossible de joindre le service d'invitations de PS5Upload. Vérifiez votre connexion internet, puis réessayez.","join_net_offer":"L'ordinateur de {host} n'a pas pu se connecter à ce navigateur. Essayez un autre navigateur.","join_net_no_webrtc":"Ce navigateur ne peut pas établir de connexions directes. Essayez une version récente de Chrome, Safari ou Firefox.","join_cancel":"Annuler","join_host_fallback":"votre ami","join_connecting":"Connexion à {host}…","join_waiting":"En attente que {host} vous laisse entrer","join_waiting_body":"{host} voit votre nom à l'écran et appuie sur Autoriser.","join_retry":"Réessayer","join_again":"Redemander à rejoindre","join_playing_at":"En jeu chez {host}","join_you_are":"Vous êtes le joueur {n}","join_seat_stream":"Vous jouez avec l'utilisateur PS5 de {host}. Inutile d'en choisir un.","join_plays_as":"Vous jouez en tant que {profile}. Inutile d'en choisir un.","join_seat_tv_asks":"{host} a choisi un profil pour vous, mais il n'a pas pu être utilisé. La TV va vous demander qui vous êtes.","join_picking":"Appuyez sur PS, puis choisissez Jeu rapide sur la télé","join_hide_controls":"Masquer","join_sound":"Touchez pour le son","rp_unmute":"Son activé","rp_mute":"Couper le son","join_no_sound":"Pas de son dans ce navigateur","join_exit_fullscreen":"Quitter le plein écran","pad_fill":"Plein écran","join_leave":"Quitter","join_show_controls":"Afficher les commandes","join_hold_hint":"Maintenez l'image appuyée pour afficher les boutons","pad_watch_no_hevc":"Cet appareil ne peut pas lire l'image de ce stream : l'ordinateur diffuse en HEVC et cet appareil ne lit que le H.264.","pad_watch_decode":"L'image n'a pas pu être lue ici.","join_pad_ready":"Votre manette est prête","join_check_unknown_short":"Pas dans notre liste : les boutons peuvent être inversés.","join_full_to_play":"Touchez plein écran pour jouer avec la manette à l'écran.","join_pad_none":"Branchez une manette (USB ou Bluetooth) et appuyez sur un bouton.","join_pad_keys":"Ou utilisez le clavier : ZQSD/WASD pour bouger, flèches croix directionnelle, Entrée ✕, Retour arrière ○, Q □, E △, Tab Options.","join_tv_back_hint":"Appuyez sur Retour sur la télécommande pour afficher les boutons.","join_block_note":"{host} a désactivé PS et Create pour les amis.","join_guide_title":"Encore une étape sur la télé","join_guide_body":"Appuyez une fois sur PS sur votre manette. La télé demande « Qui utilise cette manette ? ». Choisissez Jeu rapide ou votre propre utilisateur. L'hôte n'a rien à faire.","join_guide_menus":"Sur l'écran d'accueil de la PS5, seul l'hôte contrôle les menus ; votre manette joue dans les jeux.","join_guide_ok":"Compris","join_host_away":"L'hôte a arrêté de jouer — en attente de sa reprise ({time})","join_reconnecting":"Reconnexion…","join_reconnecting_left":"Votre place est gardée pendant {time}.","pad_turn":"Tournez le téléphone à l'horizontale","join_game_label":"Partie de {host}","join_title":"Rejoindre la partie d'un ami","join_title_body":"Jouez sur la PS5 de {host} en tant que joueur 2, 3 ou 4.","join_name_label":"Votre nom","join_name_hint":"Votre ami le verra quand vous demanderez à rejoindre.","join_button":"Rejoindre"},"hi":{"usb_skipped_not_payload":"{name}: .elf या .bin फ़ाइल नहीं है","usb_skipped_unknown":"{id}: अब पेलोड सूची में नहीं है","browser_unsupported":"इसके लिए डेस्कटॉप ऐप चाहिए। यह ब्राउज़र में काम नहीं करता।","video_recovered_notice":"पिछली बार तस्वीर शुरू करते समय खेलें क्रैश हो गया था, इसलिए तस्वीर अब ग्राफ़िक्स कार्ड के बिना डिकोड होती है (बदलने के लिए सेटिंग्स › विंडो › ग्राफ़िक्स › हार्डवेयर वीडियो डिकोडिंग)।","video_recovered_title":"तस्वीर अब सॉफ़्टवेयर से डिकोड होती है","open_in_title":"PS5Upload ऐप में खोलें?","open_in_body":"क्या इस डिवाइस पर PS5Upload ऐप है? इसे वहाँ खोलें, या ब्राउज़र में ही जारी रखें।","open_in_app":"ऐप में खोलें","open_in_browser":"ब्राउज़र में जारी रखें","open_in_remember":"इस डिवाइस पर मेरी पसंद याद रखें","open_in_opening":"PS5Upload ऐप खुल रहा है…","open_in_not_opened":"कुछ नहीं हुआ? शायद इस डिवाइस पर ऐप नहीं है।","open_in_again":"फिर कोशिश करें","pad_8bitdo_no_xinput":"इस 8BitDo में X-input मोड नहीं है। अगर कोई बटन गलत है, तो कंट्रोलर जाँचें।","pad_8bitdo_how_switch":"पीछे का स्विच X पर करें, फिर Start दबाएँ","pad_8bitdo_how_startx":"इसे बंद करें, फिर Start + X दबाकर रखें ताकि यह चालू हो","pad_8bitdo_how_receiver":"इसका 2.4G रिसीवर या USB केबल इस्तेमाल करें","pad_8bitdo_how_manual":"इसकी मैनुअल में तरीका दिया है","pad_8bitdo_xinput":"सबसे अच्छे नतीजे के लिए अपने 8BitDo को X-input मोड में करें: {how}।","rp_touch_left_stick":"बायाँ स्टिक","rp_touch_right_stick":"दायाँ स्टिक","rp_touch_touchpad":"टचपैड","rp_menu":"मेनू","rp_pad_step_lx":"बायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ly":"बायाँ स्टिक नीचे धकेलें","rp_pad_step_rx":"दायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ry":"दायाँ स्टिक नीचे धकेलें","join_check_bottom":"नीचे वाला फ़ेस बटन दबाएँ (✕)","join_check_right":"दाईं ओर वाला फ़ेस बटन दबाएँ (○)","join_check_left":"बाईं ओर वाला फ़ेस बटन दबाएँ (□)","join_check_top":"ऊपर वाला फ़ेस बटन दबाएँ (△)","rp_pad_press":"{name} दबाएँ","join_check_saved":"इस डिवाइस पर इस कंट्रोलर के लिए सेव हो गया। नीचे आज़माएँ।","join_check_title":"अपना कंट्रोलर जाँचें","join_done":"हो गया","rp_pads_none":"अभी तक कोई कंट्रोलर नहीं दिखा। एक कनेक्ट करें और उस पर कोई भी बटन दबाएँ।","rp_pad_mapped":"आपकी मैपिंग से खेलता है","join_check_unknown":"यह कंट्रोलर हमारी सूची में नहीं है, इसलिए इसके बटन आपस में बदले हो सकते हैं। सेट अप करने में कुछ सेकंड लगते हैं।","rp_pad_standard":"पहचाना गया","rp_pad_progress":"{total} में से {n}","rp_pad_skip":"छोड़ें","rp_pad_back":"वापस","rp_pad_cancel":"रद्द करें","join_check_try":"बटन दबाएँ और स्टिक हिलाएँ: जो दबाएँगे वह जल उठेगा।","join_check_redo":"फिर से करें","join_check_map":"बटन सेट करें","rp_pad_reset":"रीसेट करें","join_open_lan_body":"इंटरनेट नहीं मिल रहा? अगर आप दोस्त वाले Wi-Fi पर ही हैं, तो गेम वहीं खोलें।","join_open_lan":"इसी Wi-Fi पर खोलें","join_path_lan":"होम नेटवर्क","join_path_internet":"इंटरनेट","join_seat_taken":"{host} को अपना कंट्रोलर वापस चाहिए था और PS5 पर कोई दूसरा कंट्रोलर खाली नहीं था, इसलिए आप गेम से बाहर हो गए। {host} से फिर से अंदर आने देने को कहें।","join_refused_key":"इस न्योते की समय-सीमा खत्म हो गई है। {host} से नया लिंक माँगें।","join_refused_expired":"गेम में आपकी जगह चली गई। {host} से फिर अंदर लेने को कहें।","join_refused_full":"गेम भर गया है: पहले से चार प्लेयर हैं।","join_refused_denied":"{host} ने इस बार आपको अंदर नहीं आने दिया।","join_refused_no_answer":"{host} ने समय पर जवाब नहीं दिया। {host} को बताएँ, फिर कोशिश करें।","join_refused_closed":"{host} अभी 'साथ खेलें' नहीं चला रहे हैं।","join_refused_old_helper":"'साथ खेलें' के लिए {host} के PS5 को अपडेटेड हेल्पर चाहिए।","join_refused_not_playing":"{host} अभी नहीं खेल रहे हैं। {host} से पहले खेलें शुरू करने को कहें।","join_refused_unreachable":"{host} का कंप्यूटर उनके PS5 तक नहीं पहुँच सका। थोड़ी देर में फिर कोशिश करें।","join_refused_slow_down":"बहुत सारे गलत कोड। एक मिनट रुकें, फिर कोशिश करें।","join_refused_address":"इस लिंक का पता आपके होम नेटवर्क से बाहर है, इसलिए ऐप इसका उपयोग नहीं करेगा। {host} से उनके कंप्यूटर के IP पते वाला लिंक माँगें।","join_refused_other":"{host} ने आपको अंदर नहीं आने दिया।","join_ended_kicked":"{host} ने आपको गेम से हटा दिया।","join_ended_closed":"{host} ने 'साथ खेलें' बंद कर दिया।","join_ended_host_stopped":"होस्ट ने खेलना बंद कर दिया।","join_ended_replaced":"यह गेम किसी दूसरे टैब या डिवाइस पर खुल गया, इसलिए यहाँ रुक गया।","join_ended_pad_lost":"PS5 ने आपका कंट्रोलर खो दिया, इसलिए आप गेम से बाहर हैं। {host} से फिर अंदर लेने को कहें।","join_ended_gave_up":"{host} से कनेक्शन समय पर वापस नहीं आया।","join_net_lost":"{host} से कनेक्शन टूट गया। अपना इंटरनेट कनेक्शन जाँचें, फिर दोबारा पूछें।","join_ended_lost":"{host} तक नहीं पहुँच सके। देखें कि आप एक ही नेटवर्क पर हैं।","join_ended_left":"आपने गेम छोड़ दिया।","join_net_mismatch":"यह लिंक होस्ट से मेल नहीं खाता; उनसे नया लिंक माँगें।","join_net_no_direct":"इस नेटवर्क से सीधा कनेक्शन संभव नहीं है (दोनों तरफ़ के राउटर सख़्त हैं)। मोबाइल डेटा की जगह Wi-Fi आज़माएँ, या होस्ट से UPnP चालू करने को कहें।","join_net_no_room":"यह न्योता अब खुला नहीं है। {host} से नया लिंक माँगें।","join_net_full":"{host} के गेम में अभी एक और दोस्त की जगह नहीं है। थोड़ी देर में फिर कोशिश करें।","join_net_no_hub":"PS5Upload न्योता सेवा तक नहीं पहुँच सके। अपना इंटरनेट कनेक्शन जाँचें, फिर कोशिश करें।","join_net_offer":"{host} का कंप्यूटर इस ब्राउज़र से कनेक्ट नहीं हो सका। कोई दूसरा ब्राउज़र आज़माएँ।","join_net_no_webrtc":"यह ब्राउज़र सीधे कनेक्शन नहीं बना सकता। Chrome, Safari या Firefox का नया संस्करण आज़माएँ।","join_cancel":"रद्द करें","join_host_fallback":"आपका दोस्त","join_connecting":"{host} से जुड़ रहे हैं…","join_waiting":"{host} के अंदर आने देने का इंतज़ार","join_waiting_body":"{host} अपनी स्क्रीन पर आपका नाम देखकर 'अनुमति दें' पर टैप करेंगे।","join_retry":"फिर कोशिश करें","join_again":"फिर से जुड़ने के लिए पूछें","join_playing_at":"{host} के यहाँ खेल रहे हैं","join_you_are":"आप प्लेयर {n} हैं","join_seat_stream":"आप {host} के PS5 यूज़र के रूप में खेल रहे हैं। यूज़र चुनने की ज़रूरत नहीं।","join_plays_as":"आप {profile} के रूप में खेल रहे हैं। कुछ चुनने की ज़रूरत नहीं।","join_seat_tv_asks":"{host} ने आपके लिए एक प्रोफ़ाइल चुनी थी, पर वह इस्तेमाल नहीं हो सकी। टीवी पूछेगा कि आप कौन हैं।","join_picking":"PS दबाएँ, फिर TV पर क्विक प्ले चुनें","join_hide_controls":"छिपाएँ","join_sound":"आवाज़ के लिए टैप करें","rp_unmute":"ध्वनि चालू","rp_mute":"म्यूट","join_no_sound":"इस ब्राउज़र में आवाज़ नहीं है","join_exit_fullscreen":"फ़ुल स्क्रीन से बाहर निकलें","pad_fill":"फ़ुल स्क्रीन","join_leave":"छोड़ें","join_show_controls":"कंट्रोल दिखाएं","join_hold_hint":"बटन दिखाने के लिए तस्वीर को दबाकर रखें","pad_watch_no_hevc":"यह डिवाइस इस स्ट्रीम की तस्वीर नहीं चला सकता: कंप्यूटर HEVC में स्ट्रीम करता है और यह डिवाइस सिर्फ़ H.264 चलाता है।","pad_watch_decode":"तस्वीर यहाँ नहीं चल सकी।","join_pad_ready":"आपका कंट्रोलर तैयार है","join_check_unknown_short":"हमारी सूची में नहीं: बटन बदले हुए हो सकते हैं।","join_full_to_play":"ऑन-स्क्रीन कंट्रोलर से खेलने के लिए फ़ुल स्क्रीन पर टैप करें।","join_pad_none":"कंट्रोलर जोड़ें (USB या Bluetooth) और कोई भी बटन दबाएँ।","join_pad_keys":"या कीबोर्ड इस्तेमाल करें: WASD चलना, ऐरो D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"बटन देखने के लिए रिमोट पर Back दबाएँ।","join_block_note":"{host} ने दोस्तों के लिए PS और Create बंद कर दिए हैं।","join_guide_title":"TV पर एक और कदम","join_guide_body":"अपने कंट्रोलर पर एक बार PS दबाएँ। TV पूछेगा \"यह कंट्रोलर कौन इस्तेमाल कर रहा है?\"। क्विक प्ले या अपना यूज़र चुनें। होस्ट को कुछ नहीं करना है।","join_guide_menus":"PS5 की होम स्क्रीन पर सिर्फ़ होस्ट मेन्यू चलाता है; आपका कंट्रोलर गेम के अंदर खेलता है।","join_guide_ok":"ठीक है","join_host_away":"होस्ट ने खेलना बंद कर दिया — उनके फिर से शुरू करने का इंतज़ार ({time})","join_reconnecting":"फिर से जुड़ रहे हैं…","join_reconnecting_left":"आपकी जगह {time} तक रखी जाएगी।","pad_turn":"फ़ोन को आड़ा घुमाएँ","join_game_label":"{host} का गेम","join_title":"दोस्त के गेम में जुड़ें","join_title_body":"{host} के PS5 पर प्लेयर 2, 3 या 4 बनकर खेलें।","join_name_label":"आपका नाम","join_name_hint":"जुड़ने के लिए पूछने पर आपका दोस्त यह देखेगा।","join_button":"जुड़ें"},"hu":{"usb_skipped_not_payload":"{name}: nem .elf vagy .bin fájl","usb_skipped_unknown":"{id}: már nincs a payloadok listáján","browser_unsupported":"Ehhez az asztali alkalmazás kell. Böngészőben nem működik.","video_recovered_notice":"Legutóbb a Play összeomlott a kép indításakor, ezért a kép mostantól videokártya nélkül dekódolódik (módosítás: Beállítások › Ablak › Grafika › Hardveres videódekódolás).","video_recovered_title":"A kép mostantól szoftveresen dekódolódik","open_in_title":"Megnyitod a PS5Upload appban?","open_in_body":"Megvan a PS5Upload app ezen az eszközön? Nyisd meg ott, vagy folytasd a böngészőben.","open_in_app":"Megnyitás az appban","open_in_browser":"Folytatás a böngészőben","open_in_remember":"Választásom megjegyzése ezen az eszközön","open_in_opening":"A PS5Upload app megnyitása…","open_in_not_opened":"Nem történt semmi? Lehet, hogy az app nincs ezen az eszközön.","open_in_again":"Újra","pad_8bitdo_no_xinput":"Ennek a 8BitDo-nak nincs X-input módja. Ha egy gomb rossz, ellenőrizd a kontrollert.","pad_8bitdo_how_switch":"állítsd a hátsó kapcsolót X-re, majd nyomd meg a Start gombot","pad_8bitdo_how_startx":"kapcsold ki, majd a Start + X nyomva tartásával kapcsold be","pad_8bitdo_how_receiver":"használd a 2.4G vevőjét vagy egy USB-kábelt","pad_8bitdo_how_manual":"a kézikönyve leírja, hogyan","pad_8bitdo_xinput":"A legjobb eredményért kapcsold a 8BitDo-t X-input módba: {how}.","rp_touch_left_stick":"Bal kar","rp_touch_right_stick":"Jobb kar","rp_touch_touchpad":"Érintőpad","rp_menu":"Menü","rp_pad_step_lx":"Told a bal kart jobbra","rp_pad_step_ly":"Told a bal kart lefelé","rp_pad_step_rx":"Told a jobb kart jobbra","rp_pad_step_ry":"Told a jobb kart lefelé","join_check_bottom":"Nyomd meg az alsó előlapi gombot (✕)","join_check_right":"Nyomd meg a jobb oldali előlapi gombot (○)","join_check_left":"Nyomd meg a bal oldali előlapi gombot (□)","join_check_top":"Nyomd meg a felső előlapi gombot (△)","rp_pad_press":"Nyomd meg: {name}","join_check_saved":"Elmentve ehhez a kontrollerhez ezen az eszközön. Próbáld ki lent.","join_check_title":"Kontroller ellenőrzése","join_done":"Kész","rp_pads_none":"Még nem látható kontroller. Csatlakoztass egyet, és nyomd meg bármelyik gombját.","rp_pad_mapped":"A saját kiosztásoddal játszik","join_check_unknown":"Ez a kontroller nincs a listánkon, így a gombjai összekeveredhetnek. A beállítás csak pár másodperc.","rp_pad_standard":"Felismerve","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Kihagyás","rp_pad_back":"Vissza","rp_pad_cancel":"Mégse","join_check_try":"Nyomj gombokat és mozgasd a karokat: amit megnyomsz, az felvillan.","join_check_redo":"Újra","join_check_map":"Gombok beállítása","rp_pad_reset":"Visszaállítás","join_open_lan_body":"Nem éred el az internetet? Ha ugyanazon a Wi-Fin vagy, mint a barátod, ott nyisd meg a játékot.","join_open_lan":"Megnyitás ezen a Wi-Fin","join_path_lan":"Otthoni hálózat","join_seat_taken":"{host} visszakérte a kontrollerét, és a PS5-ön nem volt más szabad kontroller, ezért kikerültél a játékból. Kérd meg {host} játékost, hogy engedjen be újra.","join_refused_key":"Ez a meghívó lejárt. Kérj új linket tőle: {host}.","join_refused_expired":"Elveszett a helyed a játékban. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_refused_full":"A játék megtelt: már négy játékos van bent.","join_refused_denied":"{host} most nem engedett be.","join_refused_no_answer":"{host} nem válaszolt időben. Szólj neki ({host}), majd próbáld újra.","join_refused_closed":"{host} most nem indított Közös játékot.","join_refused_old_helper":"{host} PS5-jének frissített segédprogram kell a Közös játékhoz.","join_refused_not_playing":"{host} most nem játszik. Kérd meg, hogy előbb indítsa el a Játékot ({host}).","join_refused_unreachable":"{host} számítógépe nem érte el a PS5-öt. Próbáld újra egy kicsit később.","join_refused_slow_down":"Túl sok hibás kód. Várj egy percet, aztán próbáld újra.","join_refused_address":"A hivatkozás címe kívül esik az otthoni hálózatodon, ezért az alkalmazás nem használja. Kérj {host} felhasználótól olyan hivatkozást, amely a számítógépe IP-címét tartalmazza.","join_refused_other":"{host} nem engedett be.","join_ended_kicked":"{host} kivett a játékból.","join_ended_closed":"{host} bezárta a Közös játékot.","join_ended_host_stopped":"A házigazda abbahagyta a játékot.","join_ended_replaced":"Ezt a játékot egy másik lapon vagy eszközön nyitották meg, ezért itt leállt.","join_ended_pad_lost":"A PS5 elvesztette a kontrollered, ezért kikerültél a játékból. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_ended_gave_up":"A kapcsolat {host} felé nem állt helyre időben.","join_net_lost":"Megszakadt a kapcsolat ezzel: {host}. Ellenőrizd az internetkapcsolatod, aztán kérd újra.","join_ended_lost":"{host} nem érhető el. Ellenőrizd, hogy ugyanazon a hálózaton vagytok-e.","join_ended_left":"Kiléptél a játékból.","join_net_mismatch":"Ez a link nem egyezik a házigazdával; kérj tőle újat.","join_net_no_direct":"Erről a hálózatról nem lehet közvetlen kapcsolatot létrehozni (mindkét oldal routere szigorú). Próbáld Wi-Fi-vel mobilnet helyett, vagy kérd meg a házigazdát, hogy kapcsolja be az UPnP-t.","join_net_no_room":"Ez a meghívó már nem érvényes. Kérj új linket {host} felhasználótól.","join_net_full":"{host} játékában most nincs hely egy újabb barátnak. Próbáld újra egy kicsit később.","join_net_no_hub":"A PS5Upload meghívószolgáltatása nem érhető el. Ellenőrizd az internetkapcsolatot, majd próbáld újra.","join_net_offer":"{host} számítógépe nem tudott kapcsolódni ehhez a böngészőhöz. Próbálj ki egy másik böngészőt.","join_net_no_webrtc":"Ez a böngésző nem tud közvetlen kapcsolatot létrehozni. Próbáld egy friss Chrome-mal, Safarival vagy Firefoxszal.","join_cancel":"Mégse","join_host_fallback":"a barátod","join_connecting":"Csatlakozás ehhez: {host}…","join_waiting":"Várakozás, amíg {host} beenged","join_waiting_body":"{host} látja a neved a képernyőjén, és az Engedélyezésre koppint.","join_retry":"Újra","join_again":"Csatlakozás kérése újra","join_playing_at":"Játék itt: {host}","join_you_are":"Te vagy a(z) {n}. játékos","join_seat_stream":"{host} PS5-felhasználójaként játszol. Nem kell felhasználót választanod.","join_plays_as":"{profile} néven játszol. Nem kell választanod.","join_seat_tv_asks":"{host} választott neked egy profilt, de nem lehetett használni. A tévé megkérdezi, ki vagy.","join_picking":"Nyomd meg a PS gombot, aztán a tévén válaszd a Gyors játékot","join_hide_controls":"Elrejtés","join_sound":"Koppints a hanghoz","rp_unmute":"Hang be","rp_mute":"Némítás","join_no_sound":"Ebben a böngészőben nincs hang","join_exit_fullscreen":"Kilépés a teljes képernyőből","pad_fill":"Teljes képernyő","join_leave":"Kilépés","join_show_controls":"Vezérlők megjelenítése","join_hold_hint":"A gombok megjelenítéséhez tartsd lenyomva a képet","pad_watch_no_hevc":"Ez az eszköz nem tudja lejátszani ennek a streamnek a képét: a számítógép HEVC-ben streamel, ez az eszköz csak H.264-et játszik le.","pad_watch_decode":"A képet itt nem sikerült lejátszani.","join_pad_ready":"A kontrollered készen áll","join_check_unknown_short":"Nincs a listánkon: a gombok összekeveredhetnek.","join_full_to_play":"Koppints a Teljes képernyő gombra, hogy a képernyős kontrollerrel játssz.","join_pad_none":"Csatlakoztass egy kontrollert (USB vagy Bluetooth), és nyomj meg egy gombot.","join_pad_keys":"Vagy használd a billentyűzetet: WASD mozgás, nyilak D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"A gombokhoz nyomd meg a távirányítón a Vissza gombot.","join_block_note":"{host} kikapcsolta a PS és Create gombot a barátoknak.","join_guide_title":"Még egy lépés a tévén","join_guide_body":"Nyomd meg egyszer a PS gombot a kontrollereden. A tévé megkérdezi: „Ki használja ezt a kontrollert?”. Válaszd a Gyors játékot vagy a saját felhasználódat. A házigazdának semmit sem kell tennie.","join_guide_menus":"A PS5 kezdőképernyőjén csak a házigazda kezeli a menüket; a te kontrollered a játékokban működik.","join_guide_ok":"Értem","join_host_away":"A házigazda abbahagyta a játékot – várjuk, hogy újra elkezdje ({time})","join_reconnecting":"Újracsatlakozás…","join_reconnecting_left":"A helyed még {time} ideig fenntartjuk.","pad_turn":"Fordítsd el a telefont fekvőre","join_game_label":"{host} játéka","join_title":"Csatlakozás egy barát játékához","join_title_body":"Játssz {host} PS5-jén 2., 3. vagy 4. játékosként.","join_name_label":"A neved","join_name_hint":"A barátod ezt látja, amikor csatlakozni szeretnél.","join_button":"Csatlakozás"},"id":{"usb_skipped_not_payload":"{name}: bukan file .elf atau .bin","usb_skipped_unknown":"{id}: tidak ada lagi di daftar payload","browser_unsupported":"Ini memerlukan aplikasi desktop. Tidak berfungsi di browser.","video_recovered_notice":"Terakhir kali Play crash saat memulai gambar, jadi gambar kini didekode tanpa kartu grafis (ubah di Pengaturan › Jendela › Grafis › Dekode video perangkat keras).","video_recovered_title":"Gambar kini didekode oleh perangkat lunak","open_in_title":"Buka di aplikasi PS5Upload?","open_in_body":"Punya aplikasi PS5Upload di perangkat ini? Buka di sana, atau lanjutkan di browser.","open_in_app":"Buka di aplikasi","open_in_browser":"Lanjutkan di browser","open_in_remember":"Ingat pilihan saya di perangkat ini","open_in_opening":"Membuka aplikasi PS5Upload…","open_in_not_opened":"Tidak terjadi apa-apa? Mungkin aplikasinya tidak ada di perangkat ini.","open_in_again":"Coba lagi","pad_8bitdo_no_xinput":"8BitDo ini tidak punya mode X-input. Jika ada tombol yang salah, periksa kontrolernya.","pad_8bitdo_how_switch":"geser sakelar di belakang ke X, lalu tekan Start","pad_8bitdo_how_startx":"matikan, lalu tahan Start + X untuk menyalakannya","pad_8bitdo_how_receiver":"gunakan receiver 2.4G-nya atau kabel USB","pad_8bitdo_how_manual":"caranya ada di buku panduannya","pad_8bitdo_xinput":"Untuk hasil terbaik, ubah 8BitDo kamu ke mode X-input: {how}.","rp_touch_left_stick":"Stik kiri","rp_touch_right_stick":"Stik kanan","rp_pad_step_lx":"Dorong stik kiri ke kanan","rp_pad_step_ly":"Dorong stik kiri ke bawah","rp_pad_step_rx":"Dorong stik kanan ke kanan","rp_pad_step_ry":"Dorong stik kanan ke bawah","join_check_bottom":"Tekan tombol muka bawah (✕)","join_check_right":"Tekan tombol muka kanan (○)","join_check_left":"Tekan tombol muka kiri (□)","join_check_top":"Tekan tombol muka atas (△)","rp_pad_press":"Tekan {name}","join_check_saved":"Disimpan untuk kontroler ini di perangkat ini. Coba di bawah.","join_check_title":"Periksa kontrolermu","join_done":"Selesai","rp_pads_none":"Belum ada kontroler terdeteksi. Sambungkan satu dan tekan tombol apa saja.","rp_pad_mapped":"Bermain dengan pemetaan Anda","join_check_unknown":"Kontroler ini tidak ada di daftar kami, jadi tombolnya bisa tertukar. Mengaturnya hanya butuh beberapa detik.","rp_pad_standard":"Dikenali","rp_pad_progress":"{n} dari {total}","rp_pad_skip":"Lewati","rp_pad_back":"Kembali","rp_pad_cancel":"Batal","join_check_try":"Tekan tombol dan gerakkan stik: yang kamu tekan akan menyala.","join_check_redo":"Ulangi","join_check_map":"Atur tombol","rp_pad_reset":"Atur ulang","join_open_lan_body":"Tidak bisa ke internet? Kalau kamu di Wi-Fi yang sama dengan temanmu, buka game-nya di sana.","join_open_lan":"Buka di Wi-Fi ini","join_path_lan":"Jaringan rumah","join_seat_taken":"{host} membutuhkan kontrolernya kembali dan tidak ada kontroler lain yang kosong di PS5, jadi Anda keluar dari permainan. Minta {host} untuk mengizinkan Anda masuk lagi.","join_refused_key":"Undangan ini sudah kedaluwarsa. Minta tautan baru ke {host}.","join_refused_expired":"Tempat Anda di permainan hilang. Minta {host} untuk memasukkan Anda lagi.","join_refused_full":"Game sudah penuh: sudah ada empat pemain.","join_refused_denied":"{host} tidak mengizinkan Anda masuk kali ini.","join_refused_no_answer":"{host} tidak menjawab tepat waktu. Beri tahu {host}, lalu coba lagi.","join_refused_closed":"{host} sedang tidak membuka Main Bareng.","join_refused_old_helper":"PS5 milik {host} perlu helper terbaru untuk Main Bareng.","join_refused_not_playing":"{host} sedang tidak main. Minta {host} memulai Main dulu.","join_refused_unreachable":"Komputer {host} tidak bisa menjangkau PS5-nya. Coba lagi sebentar lagi.","join_refused_slow_down":"Terlalu banyak kode yang salah. Tunggu satu menit, lalu coba lagi.","join_refused_address":"Alamat tautan ini berada di luar jaringan rumah Anda, jadi aplikasi tidak akan memakainya. Minta {host} tautan dengan alamat IP komputernya.","join_refused_other":"{host} tidak mengizinkan Anda masuk.","join_ended_kicked":"{host} mengeluarkan Anda dari game.","join_ended_closed":"{host} menutup Main Bareng.","join_ended_host_stopped":"Host berhenti main.","join_ended_replaced":"Permainan ini dibuka di tab atau perangkat lain, jadi berhenti di sini.","join_ended_pad_lost":"PS5 kehilangan kontroler Anda, jadi Anda keluar dari permainan. Minta {host} untuk memasukkan Anda lagi.","join_ended_gave_up":"Koneksi ke {host} tidak pulih tepat waktu.","join_net_lost":"Koneksi ke {host} terputus. Periksa koneksi internetmu, lalu minta lagi.","join_ended_lost":"Tidak bisa menjangkau {host}. Pastikan Anda di jaringan yang sama.","join_ended_left":"Anda keluar dari game.","join_net_mismatch":"Tautan ini tidak cocok dengan host; minta tautan baru kepadanya.","join_net_no_direct":"Koneksi langsung tidak mungkin dari jaringan ini (router kedua pihak ketat). Coba Wi-Fi alih-alih data seluler, atau minta host menyalakan UPnP.","join_net_no_room":"Undangan ini sudah tidak terbuka. Minta tautan baru kepada {host}.","join_net_full":"Permainan {host} tidak punya tempat untuk teman lain sekarang. Coba lagi sebentar lagi.","join_net_no_hub":"Tidak bisa menjangkau layanan undangan PS5Upload. Periksa koneksi internet Anda, lalu coba lagi.","join_net_offer":"Komputer {host} tidak bisa terhubung ke browser ini. Coba browser lain.","join_net_no_webrtc":"Browser ini tidak bisa membuat koneksi langsung. Coba Chrome, Safari, atau Firefox versi terbaru.","join_cancel":"Batal","join_host_fallback":"teman Anda","join_connecting":"Menghubungkan ke {host}…","join_waiting":"Menunggu {host} mengizinkan Anda masuk","join_waiting_body":"{host} melihat nama Anda di layarnya lalu mengetuk Izinkan.","join_retry":"Coba lagi","join_again":"Minta bergabung lagi","join_playing_at":"Main di tempat {host}","join_you_are":"Anda Pemain {n}","join_seat_stream":"Anda bermain sebagai pengguna PS5 {host}. Tidak perlu memilih pengguna.","join_plays_as":"Anda bermain sebagai {profile}. Tidak perlu memilih.","join_seat_tv_asks":"{host} memilihkan profil untuk Anda, tetapi tidak bisa dipakai. TV akan menanyakan siapa Anda.","join_picking":"Tekan PS, lalu pilih Main Cepat di TV","join_hide_controls":"Sembunyikan","join_sound":"Ketuk untuk suara","rp_unmute":"Suara aktif","rp_mute":"Bisukan","join_no_sound":"Tidak ada suara di browser ini","join_exit_fullscreen":"Keluar dari layar penuh","pad_fill":"Layar penuh","join_leave":"Keluar","join_show_controls":"Tampilkan kontrol","join_hold_hint":"Tekan dan tahan gambar untuk menampilkan tombol","pad_watch_no_hevc":"Perangkat ini tidak bisa memutar gambar stream ini: komputer mengirim HEVC, dan perangkat ini hanya memutar H.264.","pad_watch_decode":"Gambar tidak dapat diputar di sini.","join_pad_ready":"Kontroler Anda siap","join_check_unknown_short":"Tidak ada di daftar kami: tombol bisa tertukar.","join_full_to_play":"Ketuk Layar penuh untuk main dengan kontroler di layar.","join_pad_none":"Hubungkan kontroler (USB atau Bluetooth) lalu tekan tombol apa saja.","join_pad_keys":"Atau pakai keyboard: WASD gerak, panah D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Tekan Kembali di remote untuk menampilkan tombol.","join_block_note":"{host} mematikan PS dan Create untuk teman.","join_guide_title":"Satu langkah lagi di TV","join_guide_body":"Tekan PS sekali di kontroler Anda. TV bertanya \"Siapa yang memakai kontroler ini?\". Pilih Main Cepat atau pengguna Anda sendiri. Tuan rumah tidak perlu melakukan apa pun.","join_guide_menus":"Di layar beranda PS5 hanya host yang mengendalikan menu; kontroler Anda berfungsi di dalam game.","join_guide_ok":"Mengerti","join_host_away":"Host berhenti main — menunggu mereka mulai lagi ({time})","join_reconnecting":"Menyambung ulang…","join_reconnecting_left":"Tempat Anda disimpan selama {time}.","pad_turn":"Miringkan ponsel ke samping","join_game_label":"Game {host}","join_title":"Gabung ke game teman","join_title_body":"Main di PS5 milik {host} sebagai Pemain 2, 3, atau 4.","join_name_label":"Nama Anda","join_name_hint":"Teman Anda melihat nama ini saat Anda minta bergabung.","join_button":"Gabung"},"it":{"usb_skipped_not_payload":"{name}: non è un file .elf o .bin","usb_skipped_unknown":"{id}: non è più nell'elenco dei payload","browser_unsupported":"Serve l'app desktop. Non funziona nel browser.","video_recovered_notice":"L'ultima volta Play si è chiuso all'avvio dell'immagine, quindi ora l'immagine è decodificata senza la scheda grafica (modificabile in Impostazioni › Finestra › Grafica › Decodifica video hardware).","video_recovered_title":"Immagine ora decodificata via software","open_in_title":"Aprire nell’app PS5Upload?","open_in_body":"Hai l’app PS5Upload su questo dispositivo? Aprilo lì, oppure continua nel browser.","open_in_app":"Apri nell’app","open_in_browser":"Continua nel browser","open_in_remember":"Ricorda la mia scelta su questo dispositivo","open_in_opening":"Apertura dell’app PS5Upload…","open_in_not_opened":"Non è successo niente? Forse l’app non è su questo dispositivo.","open_in_again":"Riprova","pad_8bitdo_no_xinput":"Questo 8BitDo non ha la modalità X-input. Se un tasto è sbagliato, controlla il controller.","pad_8bitdo_how_switch":"porta l'interruttore sul retro su X, poi premi Start","pad_8bitdo_how_startx":"spegnilo, poi tieni premuto Start + X per accenderlo","pad_8bitdo_how_receiver":"usa il suo ricevitore 2.4G o un cavo USB","pad_8bitdo_how_manual":"il suo manuale spiega come","pad_8bitdo_xinput":"Per il risultato migliore, passa il tuo 8BitDo in modalità X-input: {how}.","rp_touch_left_stick":"Levetta sinistra","rp_touch_right_stick":"Levetta destra","rp_pad_step_lx":"Spingi la levetta sinistra a destra","rp_pad_step_ly":"Spingi la levetta sinistra in basso","rp_pad_step_rx":"Spingi la levetta destra a destra","rp_pad_step_ry":"Spingi la levetta destra in basso","join_check_bottom":"Premi il tasto frontale in basso (✕)","join_check_right":"Premi il tasto frontale a destra (○)","join_check_left":"Premi il tasto frontale a sinistra (□)","join_check_top":"Premi il tasto frontale in alto (△)","rp_pad_press":"Premi {name}","join_check_saved":"Salvato per questo controller su questo dispositivo. Provalo qui sotto.","join_check_title":"Controlla il controller","join_done":"Fatto","rp_pads_none":"Nessun controller rilevato. Collegane uno e premi un tasto qualsiasi.","rp_pad_mapped":"Gioca con la tua mappatura","join_check_unknown":"Questo controller non è nel nostro elenco, quindi i tasti potrebbero essere scambiati. Configurarlo richiede pochi secondi.","rp_pad_standard":"Riconosciuto","rp_pad_progress":"{n} di {total}","rp_pad_skip":"Salta","rp_pad_back":"Indietro","rp_pad_cancel":"Annulla","join_check_try":"Premi i tasti e muovi le levette: ciò che premi si illumina.","join_check_redo":"Rifai","join_check_map":"Configura i tasti","rp_pad_reset":"Ripristina","join_open_lan_body":"Niente Internet? Se sei sullo stesso Wi-Fi del tuo amico, apri la partita da lì.","join_open_lan":"Apri su questo Wi-Fi","join_path_lan":"Rete domestica","join_seat_taken":"{host} aveva bisogno di riavere il suo controller e sulla PS5 non c'era un altro controller libero, quindi sei uscito dalla partita. Chiedi a {host} di farti entrare di nuovo.","join_refused_key":"Questo invito è scaduto. Chiedi a {host} un nuovo link.","join_refused_expired":"Il tuo posto nella partita è perso. Chiedi a {host} di farti rientrare.","join_refused_full":"La partita è piena: ci sono già quattro giocatori.","join_refused_denied":"Stavolta {host} non ti ha fatto entrare.","join_refused_no_answer":"{host} non ha risposto in tempo. Avvisa {host}, poi riprova.","join_refused_closed":"Al momento {host} non sta ospitando Gioca insieme.","join_refused_old_helper":"La PS5 di {host} ha bisogno di un helper aggiornato per Gioca insieme.","join_refused_not_playing":"{host} non sta giocando ora. Chiedi prima a {host} di avviare Gioca.","join_refused_unreachable":"Il computer di {host} non è riuscito a raggiungere la PS5. Riprova tra poco.","join_refused_slow_down":"Troppi codici errati. Aspetta un minuto e riprova.","join_refused_address":"L'indirizzo di questo link è fuori dalla tua rete domestica, quindi l'app non lo userà. Chiedi a {host} un link con l'indirizzo IP del suo computer.","join_refused_other":"{host} non ti ha fatto entrare.","join_ended_kicked":"{host} ti ha tolto dalla partita.","join_ended_closed":"{host} ha chiuso Gioca insieme.","join_ended_host_stopped":"L'host ha smesso di giocare.","join_ended_replaced":"Questa partita è stata aperta in un'altra scheda o su un altro dispositivo, quindi qui si è fermata.","join_ended_pad_lost":"La PS5 ha perso il tuo controller, quindi sei fuori dalla partita. Chiedi a {host} di farti rientrare.","join_ended_gave_up":"La connessione con {host} non è tornata in tempo.","join_net_lost":"La connessione con {host} si è interrotta. Controlla la connessione Internet, poi chiedi di nuovo.","join_ended_lost":"Impossibile raggiungere {host}. Controlla di essere sulla stessa rete.","join_ended_left":"Sei uscito dalla partita.","join_net_mismatch":"Questo link non corrisponde all'host; chiedigliene uno nuovo.","join_net_no_direct":"Da questa rete non è possibile una connessione diretta (i router di entrambi i lati sono restrittivi). Prova il Wi-Fi invece dei dati mobili, oppure chiedi all'host di attivare UPnP.","join_net_no_room":"Questo invito non è più aperto. Chiedi a {host} un nuovo link.","join_net_full":"La partita di {host} non ha posto per un altro amico in questo momento. Riprova tra poco.","join_net_no_hub":"Impossibile raggiungere il servizio inviti di PS5Upload. Controlla la connessione a internet, poi riprova.","join_net_offer":"Il computer di {host} non è riuscito a connettersi a questo browser. Prova un altro browser.","join_net_no_webrtc":"Questo browser non può creare connessioni dirette. Prova una versione recente di Chrome, Safari o Firefox.","join_cancel":"Annulla","join_host_fallback":"il tuo amico","join_connecting":"Connessione a {host}…","join_waiting":"In attesa che {host} ti faccia entrare","join_waiting_body":"{host} vede il tuo nome sullo schermo e tocca Consenti.","join_retry":"Riprova","join_again":"Chiedi di nuovo di entrare","join_playing_at":"Giochi da {host}","join_you_are":"Sei il Giocatore {n}","join_seat_stream":"Stai giocando con l'utente PS5 di {host}. Non serve sceglierne uno.","join_plays_as":"Stai giocando come {profile}. Non devi sceglierne uno.","join_seat_tv_asks":"{host} ha scelto un profilo per te, ma non si è potuto usare. La TV ti chiederà chi sei.","join_picking":"Premi PS, poi scegli Gioco rapido sulla TV","join_hide_controls":"Nascondi","join_sound":"Tocca per l'audio","rp_unmute":"Audio attivo","rp_mute":"Muto","join_no_sound":"Nessun suono in questo browser","join_exit_fullscreen":"Esci da schermo intero","pad_fill":"Schermo intero","join_leave":"Esci","join_show_controls":"Mostra i comandi","join_hold_hint":"Tieni premuto sull'immagine per mostrare i pulsanti","pad_watch_no_hevc":"Questo dispositivo non può riprodurre l'immagine di questo stream: il computer trasmette in HEVC e questo dispositivo riproduce solo H.264.","pad_watch_decode":"Non è stato possibile riprodurre l'immagine qui.","join_pad_ready":"Il tuo controller è pronto","join_check_unknown_short":"Non è nel nostro elenco: i tasti potrebbero essere scambiati.","join_full_to_play":"Tocca schermo intero per giocare con il controller a schermo.","join_pad_none":"Collega un controller (USB o Bluetooth) e premi un tasto qualsiasi.","join_pad_keys":"Oppure usa la tastiera: WASD per muoverti, frecce croce direzionale, Invio ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Premi Indietro sul telecomando per vedere i pulsanti.","join_block_note":"{host} ha disattivato PS e Create per gli amici.","join_guide_title":"Ancora un passo sulla TV","join_guide_body":"Premi PS una volta sul controller. La TV chiede \"Chi sta usando questo controller?\". Scegli Gioco rapido o il tuo utente. L'host non deve fare nulla.","join_guide_menus":"Nella schermata iniziale della PS5 solo chi ospita controlla i menu; il tuo controller gioca dentro i giochi.","join_guide_ok":"Ho capito","join_host_away":"L'host ha smesso di giocare: in attesa che ricominci ({time})","join_reconnecting":"Riconnessione…","join_reconnecting_left":"Il tuo posto resta riservato per {time}.","pad_turn":"Ruota il telefono in orizzontale","join_game_label":"Partita di {host}","join_title":"Unisciti alla partita di un amico","join_title_body":"Gioca sulla PS5 di {host} come Giocatore 2, 3 o 4.","join_name_label":"Il tuo nome","join_name_hint":"Il tuo amico lo vede quando chiedi di entrare.","join_button":"Unisciti"},"ja":{"usb_skipped_not_payload":"{name}:.elf または .bin ファイルではありません","usb_skipped_unknown":"{id}: ペイロード一覧にありません","browser_unsupported":"デスクトップアプリが必要です。ブラウザーでは動作しません。","video_recovered_notice":"前回 Play が映像の開始中にクラッシュしたため、映像をグラフィックカードを使わずにデコードするようにしました(設定 › ウィンドウ › グラフィック › ハードウェア映像デコード で変更できます)。","video_recovered_title":"映像はソフトウェアでデコードされます","open_in_title":"PS5Upload アプリで開きますか?","open_in_body":"この端末に PS5Upload アプリがあれば、アプリで開けます。ブラウザーのまま続けることもできます。","open_in_app":"アプリで開く","open_in_browser":"ブラウザーで続ける","open_in_remember":"この端末で選択を記憶する","open_in_opening":"PS5Upload アプリを開いています…","open_in_not_opened":"何も起きませんか?この端末にアプリが入っていないかもしれません。","open_in_again":"再試行","pad_8bitdo_no_xinput":"この 8BitDo には X-input モードがありません。ボタンが違う場合はコントローラーを確認してください。","pad_8bitdo_how_switch":"背面のスイッチを X にして Start を押す","pad_8bitdo_how_startx":"電源を切り、Start + X を押したまま電源を入れる","pad_8bitdo_how_receiver":"付属の 2.4G レシーバーか USB ケーブルを使う","pad_8bitdo_how_manual":"方法は取扱説明書にあります","pad_8bitdo_xinput":"最適に使うには、8BitDo を X-input モードにしてください: {how}。","rp_touch_left_stick":"左スティック","rp_touch_right_stick":"右スティック","rp_touch_touchpad":"タッチパッド","rp_menu":"メニュー","rp_pad_step_lx":"左スティックを右に倒してください","rp_pad_step_ly":"左スティックを下に倒してください","rp_pad_step_rx":"右スティックを右に倒してください","rp_pad_step_ry":"右スティックを下に倒してください","join_check_bottom":"下のボタンを押してください (✕)","join_check_right":"右のボタンを押してください (○)","join_check_left":"左のボタンを押してください (□)","join_check_top":"上のボタンを押してください (△)","rp_pad_press":"{name} を押してください","join_check_saved":"このデバイスでこのコントローラー用に保存しました。下で試してください。","join_check_title":"コントローラーを確認","join_done":"完了","rp_pads_none":"コントローラーがまだ見つかりません。接続して、いずれかのボタンを押してください。","rp_pad_mapped":"あなたの割り当てで操作します","join_check_unknown":"このコントローラーは一覧にないため、ボタンが入れ替わっている可能性があります。設定は数秒で終わります。","rp_pad_standard":"認識済み","rp_pad_progress":"{n} / {total}","rp_pad_skip":"スキップ","rp_pad_back":"戻る","rp_pad_cancel":"キャンセル","join_check_try":"ボタンを押したりスティックを動かしたりしてください。押したものが光ります。","join_check_redo":"やり直す","join_check_map":"ボタンを設定","rp_pad_reset":"リセット","join_open_lan_body":"インターネットにつながりませんか?友だちと同じ Wi-Fi にいるなら、そこでゲームを開いてください。","join_open_lan":"この Wi-Fi で開く","join_path_lan":"ホームネットワーク","join_path_internet":"インターネット","join_seat_taken":"{host}が自分のコントローラーを必要とし、PS5に空いているコントローラーがほかになかったため、ゲームから退出しました。もう一度入れてもらうよう{host}に頼んでください。","join_refused_key":"この招待は期限切れです。{host}さんに新しいリンクをもらってください。","join_refused_expired":"ゲームの席がなくなりました。{host} さんにもう一度入れてもらってください。","join_refused_full":"満員です:すでに4人がプレイしています。","join_refused_denied":"今回は{host}さんに参加を許可されませんでした。","join_refused_no_answer":"{host} さんが時間内に応答しませんでした。{host} さんに伝えてから、もう一度お試しください。","join_refused_closed":"{host}さんは今「いっしょにプレイ」を開いていません。","join_refused_old_helper":"「いっしょにプレイ」を使うには、{host}さんのPS5のヘルパーを更新する必要があります。","join_refused_not_playing":"{host}さんは今プレイしていません。先に{host}さんにプレイを始めてもらってください。","join_refused_unreachable":"{host}さんのコンピューターがPS5に接続できませんでした。少ししてからもう一度お試しください。","join_refused_slow_down":"間違ったコードが多すぎます。1分待ってからもう一度お試しください。","join_refused_address":"このリンクのアドレスはホームネットワークの外にあるため、アプリは使用しません。{host} にコンピューターの IP アドレスのリンクを頼んでください。","join_refused_other":"{host}さんに参加を許可されませんでした。","join_ended_kicked":"{host}さんにゲームから外されました。","join_ended_closed":"{host}さんが「いっしょにプレイ」を終了しました。","join_ended_host_stopped":"ホストがプレイをやめました。","join_ended_replaced":"このゲームが別のタブまたは別のデバイスで開かれたため、ここでは終了しました。","join_ended_pad_lost":"PS5 があなたのコントローラーを見失ったため、ゲームから外れました。{host} さんにもう一度入れてもらってください。","join_ended_gave_up":"{host}さんとの接続が時間内に戻りませんでした。","join_net_lost":"{host} との接続が切れました。インターネット接続を確認してから、もう一度お願いしてください。","join_ended_lost":"{host}さんに接続できませんでした。同じネットワークにいるか確認してください。","join_ended_left":"ゲームから退出しました。","join_net_mismatch":"このリンクはホストと一致しません。ホストに新しいリンクをもらってください。","join_net_no_direct":"このネットワークからは直接接続できません(双方のルーターが厳しい設定です)。モバイルデータではなく Wi-Fi を試すか、ホストに UPnP をオンにしてもらってください。","join_net_no_room":"この招待はもう有効ではありません。{host}さんに新しいリンクをもらってください。","join_net_full":"{host}さんのゲームには今これ以上友だちが入れません。少ししてからもう一度お試しください。","join_net_no_hub":"PS5Upload の招待サービスに接続できませんでした。インターネット接続を確認して、もう一度お試しください。","join_net_offer":"{host}さんのコンピューターがこのブラウザーに接続できませんでした。別のブラウザーをお試しください。","join_net_no_webrtc":"このブラウザーは直接接続ができません。最新の Chrome、Safari、Firefox をお試しください。","join_cancel":"キャンセル","join_host_fallback":"フレンド","join_connecting":"{host}さんに接続中…","join_waiting":"{host}さんの許可を待っています","join_waiting_body":"{host}さんの画面にあなたの名前が表示され、「許可」をタップすると参加できます。","join_retry":"再試行","join_again":"もう一度参加をリクエスト","join_playing_at":"{host}さんのPS5でプレイ中","join_you_are":"あなたはプレイヤー{n}です","join_seat_stream":"{host}のPS5ユーザーとしてプレイしています。ユーザーを選ぶ必要はありません。","join_plays_as":"{profile}としてプレイしています。選ぶ必要はありません。","join_seat_tv_asks":"{host}があなた用のプロフィールを選びましたが、使えませんでした。テレビで誰がプレイするかを聞かれます。","join_picking":"PSボタンを押して、テレビで「クイックプレイ」を選んでください","join_hide_controls":"隠す","join_sound":"タップして音を出す","rp_unmute":"音声オン","rp_mute":"ミュート","join_no_sound":"このブラウザーでは音声を再生できません","join_exit_fullscreen":"全画面を終了","pad_fill":"全画面","join_leave":"退出","join_show_controls":"操作ボタンを表示","join_hold_hint":"画面を長押しするとボタンが表示されます","pad_watch_no_hevc":"この端末ではこの配信の映像を再生できません。PC は HEVC で配信していますが、この端末は H.264 のみ再生できます。","pad_watch_decode":"ここでは映像を再生できませんでした。","join_pad_ready":"コントローラーの準備ができました","join_check_unknown_short":"一覧にありません: ボタンが入れ替わっている可能性があります。","join_full_to_play":"全画面をタップすると、画面上のコントローラーでプレイできます。","join_pad_none":"コントローラーをつないで(USBまたはBluetooth)、いずれかのボタンを押してください。","join_pad_keys":"キーボードでも遊べます:WASDで移動、矢印キーで方向キー、Enter ✕、Backspace ○、Q □、E △、Tab OPTIONS。","join_tv_back_hint":"ボタンを表示するには、リモコンの戻るを押してください。","join_block_note":"{host}さんがフレンドのPSボタンとCreateボタンを無効にしています。","join_guide_title":"テレビであと1ステップ","join_guide_body":"コントローラーのPSボタンを1回押してください。テレビに「このコントローラーを使うのは誰ですか?」と表示されます。クイックプレイか自分のユーザーを選んでください。ホストの操作は不要です。","join_guide_menus":"PS5のホーム画面でメニューを操作できるのはホストだけです。あなたのコントローラーはゲームの中で使えます。","join_guide_ok":"OK","join_host_away":"ホストがプレイをやめました — 再開を待っています({time})","join_reconnecting":"再接続中…","join_reconnecting_left":"あと{time}は枠が確保されています。","pad_turn":"スマホを横向きにしてください","join_game_label":"{host}さんのゲーム","join_title":"フレンドのゲームに参加","join_title_body":"{host}さんのPS5でプレイヤー2・3・4として遊べます。","join_name_label":"あなたの名前","join_name_hint":"参加をリクエストすると、フレンドにこの名前が表示されます。","join_button":"参加"},"ko":{"usb_skipped_not_payload":"{name}: .elf 또는 .bin 파일이 아님","usb_skipped_unknown":"{id}: 더 이상 페이로드 목록에 없습니다","browser_unsupported":"데스크톱 앱이 필요합니다. 브라우저에서는 작동하지 않습니다.","video_recovered_notice":"지난번 화면을 시작하는 중에 Play가 충돌하여, 이제 그래픽 카드 없이 화면을 디코딩합니다(설정 › 창 › 그래픽 › 하드웨어 영상 디코딩에서 변경).","video_recovered_title":"이제 화면을 소프트웨어로 디코딩합니다","open_in_title":"PS5Upload 앱에서 열까요?","open_in_body":"이 기기에 PS5Upload 앱이 있나요? 앱에서 열거나 브라우저에서 계속하세요.","open_in_app":"앱에서 열기","open_in_browser":"브라우저에서 계속","open_in_remember":"이 기기에서 선택 기억하기","open_in_opening":"PS5Upload 앱을 여는 중…","open_in_not_opened":"아무 일도 없나요? 이 기기에 앱이 없을 수 있습니다.","open_in_again":"다시 시도","pad_8bitdo_no_xinput":"이 8BitDo에는 X-input 모드가 없습니다. 버튼이 다르게 동작하면 컨트롤러를 확인하세요.","pad_8bitdo_how_switch":"뒷면 스위치를 X로 놓고 Start를 누르세요","pad_8bitdo_how_startx":"전원을 끈 다음 Start + X를 누른 채로 켜세요","pad_8bitdo_how_receiver":"2.4G 수신기나 USB 케이블을 사용하세요","pad_8bitdo_how_manual":"방법은 설명서에 있습니다","pad_8bitdo_xinput":"가장 잘 동작하도록 8BitDo를 X-input 모드로 바꾸세요: {how}.","rp_touch_left_stick":"왼쪽 스틱","rp_touch_right_stick":"오른쪽 스틱","rp_touch_touchpad":"터치패드","rp_menu":"메뉴","rp_pad_step_lx":"왼쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ly":"왼쪽 스틱을 아래로 미세요","rp_pad_step_rx":"오른쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ry":"오른쪽 스틱을 아래로 미세요","join_check_bottom":"아래쪽 버튼을 누르세요 (✕)","join_check_right":"오른쪽 버튼을 누르세요 (○)","join_check_left":"왼쪽 버튼을 누르세요 (□)","join_check_top":"위쪽 버튼을 누르세요 (△)","rp_pad_press":"{name} 버튼을 누르세요","join_check_saved":"이 기기에서 이 컨트롤러용으로 저장했습니다. 아래에서 시험해 보세요.","join_check_title":"컨트롤러 확인","join_done":"완료","rp_pads_none":"아직 컨트롤러가 보이지 않습니다. 컨트롤러를 연결하고 아무 버튼이나 누르세요.","rp_pad_mapped":"내 버튼 설정으로 플레이","join_check_unknown":"이 컨트롤러는 목록에 없어서 버튼이 뒤바뀌어 있을 수 있습니다. 설정은 몇 초면 됩니다.","rp_pad_standard":"인식됨","rp_pad_progress":"{n} / {total}","rp_pad_skip":"건너뛰기","rp_pad_back":"뒤로","rp_pad_cancel":"취소","join_check_try":"버튼을 누르고 스틱을 움직여 보세요. 누른 것이 켜집니다.","join_check_redo":"다시 하기","join_check_map":"버튼 설정","rp_pad_reset":"초기화","join_open_lan_body":"인터넷에 연결되지 않나요? 친구와 같은 Wi-Fi에 있다면 거기서 게임을 여세요.","join_open_lan":"이 Wi-Fi에서 열기","join_path_lan":"홈 네트워크","join_path_internet":"인터넷","join_seat_taken":"{host} 님이 컨트롤러를 다시 써야 했는데 PS5에 남은 컨트롤러가 없어서 게임에서 나왔어요. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_key":"초대가 만료됐어요. {host} 님에게 새 링크를 요청하세요.","join_refused_expired":"게임 자리를 잃었습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_full":"게임이 꽉 찼어요. 이미 4명이 플레이 중이에요.","join_refused_denied":"이번에는 {host} 님이 참여를 허용하지 않았어요.","join_refused_no_answer":"{host} 님이 제시간에 응답하지 않았습니다. {host} 님에게 알린 뒤 다시 시도하세요.","join_refused_closed":"{host} 님은 지금 함께 플레이를 열고 있지 않아요.","join_refused_old_helper":"함께 플레이를 하려면 {host} 님의 PS5 헬퍼를 업데이트해야 해요.","join_refused_not_playing":"{host} 님은 지금 플레이 중이 아니에요. {host} 님에게 먼저 플레이를 시작해 달라고 하세요.","join_refused_unreachable":"{host} 님의 컴퓨터가 PS5에 연결하지 못했어요. 잠시 후 다시 시도하세요.","join_refused_slow_down":"잘못된 코드를 너무 많이 입력했어요. 1분 후에 다시 시도하세요.","join_refused_address":"이 링크의 주소는 홈 네트워크 밖에 있어 앱에서 사용하지 않습니다. {host}에게 컴퓨터의 IP 주소가 있는 링크를 요청하세요.","join_refused_other":"{host} 님이 참여를 허용하지 않았어요.","join_ended_kicked":"{host} 님이 나를 게임에서 내보냈어요.","join_ended_closed":"{host} 님이 함께 플레이를 닫았어요.","join_ended_host_stopped":"호스트가 플레이를 멈췄어요.","join_ended_replaced":"이 게임이 다른 탭이나 다른 기기에서 열려서 여기서는 멈췄습니다.","join_ended_pad_lost":"PS5가 컨트롤러를 잃어서 게임에서 나왔습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_ended_gave_up":"{host} 님과의 연결이 제때 돌아오지 않았어요.","join_net_lost":"{host}와의 연결이 끊겼어요. 인터넷 연결을 확인한 다음 다시 요청하세요.","join_ended_lost":"{host} 님에게 연결할 수 없어요. 같은 네트워크에 있는지 확인하세요.","join_ended_left":"게임에서 나왔어요.","join_net_mismatch":"이 링크는 호스트와 일치하지 않아요. 새 링크를 요청하세요.","join_net_no_direct":"이 네트워크에서는 직접 연결할 수 없어요(양쪽 공유기가 모두 엄격해요). 모바일 데이터 대신 Wi-Fi를 쓰거나 호스트에게 UPnP를 켜 달라고 하세요.","join_net_no_room":"이 초대는 더 이상 열려 있지 않아요. {host} 님에게 새 링크를 요청하세요.","join_net_full":"{host} 님의 게임에 지금은 친구가 더 들어갈 자리가 없어요. 잠시 후 다시 시도하세요.","join_net_no_hub":"PS5Upload 초대 서비스에 연결할 수 없어요. 인터넷 연결을 확인한 뒤 다시 시도하세요.","join_net_offer":"{host} 님의 컴퓨터가 이 브라우저에 연결하지 못했어요. 다른 브라우저를 써 보세요.","join_net_no_webrtc":"이 브라우저는 직접 연결을 할 수 없어요. 최신 Chrome, Safari 또는 Firefox를 써 보세요.","join_cancel":"취소","join_host_fallback":"친구","join_connecting":"{host} 님에게 연결 중…","join_waiting":"{host} 님이 허용하기를 기다리는 중","join_waiting_body":"{host} 님 화면에 내 이름이 보이고, 허용을 누르면 들어갈 수 있어요.","join_retry":"다시 시도","join_again":"다시 참여 요청","join_playing_at":"{host} 님의 PS5에서 플레이 중","join_you_are":"나는 플레이어 {n}","join_seat_stream":"{host} 님의 PS5 사용자로 플레이하고 있어요. 사용자를 고를 필요가 없어요.","join_plays_as":"{profile}(으)로 플레이하고 있어요. 고를 필요가 없어요.","join_seat_tv_asks":"{host} 님이 프로필을 골라 두었지만 쓸 수 없었어요. TV에서 누구인지 물어볼 거예요.","join_picking":"PS 버튼을 누른 다음 TV에서 빠른 플레이를 선택하세요","join_hide_controls":"숨기기","join_sound":"눌러서 소리 켜기","rp_unmute":"소리 켜기","rp_mute":"음소거","join_no_sound":"이 브라우저에서는 소리가 나오지 않습니다","join_exit_fullscreen":"전체 화면 종료","pad_fill":"전체 화면","join_leave":"나가기","join_show_controls":"컨트롤 표시","join_hold_hint":"화면을 길게 누르면 버튼이 표시됩니다","pad_watch_no_hevc":"이 기기는 이 스트림의 화면을 재생할 수 없습니다. 컴퓨터는 HEVC로 스트리밍하고 이 기기는 H.264만 재생합니다.","pad_watch_decode":"여기서 화면을 재생할 수 없었습니다.","join_pad_ready":"컨트롤러가 준비됐어요","join_check_unknown_short":"목록에 없음: 버튼이 뒤바뀌어 있을 수 있습니다.","join_full_to_play":"전체 화면을 탭하면 화면 컨트롤러로 플레이할 수 있어요.","join_pad_none":"컨트롤러를 연결(USB 또는 Bluetooth)하고 아무 버튼이나 누르세요.","join_pad_keys":"키보드로도 할 수 있어요: WASD 이동, 방향키 D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"버튼을 보려면 리모컨의 뒤로 버튼을 누르세요.","join_block_note":"{host} 님이 친구의 PS 및 Create 버튼을 막아 두었어요.","join_guide_title":"TV에서 한 단계만 더","join_guide_body":"컨트롤러의 PS 버튼을 한 번 누르세요. TV에 \"이 컨트롤러를 누가 사용하나요?\"가 나타나요. 빠른 플레이나 내 사용자를 선택하세요. 호스트는 아무것도 하지 않아도 돼요.","join_guide_menus":"PS5 홈 화면에서는 호스트만 메뉴를 조작할 수 있어요. 내 컨트롤러는 게임 안에서 플레이합니다.","join_guide_ok":"알겠어요","join_host_away":"호스트가 플레이를 멈췄어요 — 다시 시작하기를 기다리는 중 ({time})","join_reconnecting":"다시 연결 중…","join_reconnecting_left":"{time} 동안 자리가 유지돼요.","pad_turn":"휴대폰을 가로로 돌리세요","join_game_label":"{host} 님의 게임","join_title":"친구 게임에 참여","join_title_body":"{host} 님의 PS5에서 플레이어 2, 3, 4로 플레이하세요.","join_name_label":"내 이름","join_name_hint":"참여를 요청하면 친구에게 이 이름이 보여요.","join_button":"참여"},"pl":{"usb_skipped_not_payload":"{name}: to nie jest plik .elf ani .bin","usb_skipped_unknown":"{id}: nie ma już na liście payloadów","browser_unsupported":"To wymaga aplikacji na komputer. W przeglądarce nie działa.","video_recovered_notice":"Ostatnio Play zawiesił się przy uruchamianiu obrazu, więc obraz jest teraz dekodowany bez karty graficznej (zmień w Ustawienia › Okno › Grafika › Sprzętowe dekodowanie wideo).","video_recovered_title":"Obraz jest teraz dekodowany programowo","open_in_title":"Otworzyć w aplikacji PS5Upload?","open_in_body":"Masz aplikację PS5Upload na tym urządzeniu? Otwórz to w niej albo kontynuuj w przeglądarce.","open_in_app":"Otwórz w aplikacji","open_in_browser":"Kontynuuj w przeglądarce","open_in_remember":"Zapamiętaj mój wybór na tym urządzeniu","open_in_opening":"Otwieranie aplikacji PS5Upload…","open_in_not_opened":"Nic się nie stało? Aplikacji może nie być na tym urządzeniu.","open_in_again":"Spróbuj ponownie","pad_8bitdo_no_xinput":"Ten 8BitDo nie ma trybu X-input. Jeśli któryś przycisk działa źle, sprawdź kontroler.","pad_8bitdo_how_switch":"ustaw przełącznik z tyłu na X, a potem naciśnij Start","pad_8bitdo_how_startx":"wyłącz go, a potem przytrzymaj Start + X, aby go włączyć","pad_8bitdo_how_receiver":"użyj jego odbiornika 2.4G lub kabla USB","pad_8bitdo_how_manual":"instrukcja podaje, jak to zrobić","pad_8bitdo_xinput":"Aby działał najlepiej, przełącz 8BitDo w tryb X-input: {how}.","rp_touch_left_stick":"Lewa gałka","rp_touch_right_stick":"Prawa gałka","rp_touch_touchpad":"Panel dotykowy","rp_pad_step_lx":"Wychyl lewą gałkę w prawo","rp_pad_step_ly":"Wychyl lewą gałkę w dół","rp_pad_step_rx":"Wychyl prawą gałkę w prawo","rp_pad_step_ry":"Wychyl prawą gałkę w dół","join_check_bottom":"Naciśnij dolny przycisk (✕)","join_check_right":"Naciśnij prawy przycisk (○)","join_check_left":"Naciśnij lewy przycisk (□)","join_check_top":"Naciśnij górny przycisk (△)","rp_pad_press":"Naciśnij {name}","join_check_saved":"Zapisano dla tego kontrolera na tym urządzeniu. Wypróbuj poniżej.","join_check_title":"Sprawdź kontroler","join_done":"Gotowe","rp_pads_none":"Nie wykryto jeszcze kontrolera. Podłącz go i naciśnij dowolny przycisk.","rp_pad_mapped":"Gra z twoim mapowaniem","join_check_unknown":"Tego kontrolera nie ma na naszej liście, więc przyciski mogą być pomieszane. Konfiguracja zajmuje kilka sekund.","rp_pad_standard":"Rozpoznany","rp_pad_progress":"{n} z {total}","rp_pad_skip":"Pomiń","rp_pad_back":"Wstecz","rp_pad_cancel":"Anuluj","join_check_try":"Naciskaj przyciski i ruszaj gałkami: to, co naciśniesz, się podświetli.","join_check_redo":"Powtórz","join_check_map":"Ustaw przyciski","rp_pad_reset":"Resetuj","join_open_lan_body":"Brak internetu? Jeśli jesteś w tej samej sieci Wi-Fi co znajomy, otwórz grę tam.","join_open_lan":"Otwórz w tej sieci Wi-Fi","join_path_lan":"Sieć domowa","join_seat_taken":"{host} potrzebował z powrotem swojego kontrolera, a na PS5 nie było innego wolnego kontrolera, więc wypadasz z gry. Poproś {host}, żeby wpuścił Cię ponownie.","join_refused_key":"To zaproszenie wygasło. Poproś {host} o nowy link.","join_refused_expired":"Twoje miejsce w grze przepadło. Poproś {host} o ponowne wpuszczenie.","join_refused_full":"Brak miejsc: gra już czterech graczy.","join_refused_denied":"{host} tym razem cię nie wpuścił.","join_refused_no_answer":"{host}: brak odpowiedzi na czas. Daj znać ({host}) i spróbuj ponownie.","join_refused_closed":"{host} nie prowadzi teraz Graj razem.","join_refused_old_helper":"PS5 {host} potrzebuje zaktualizowanego pomocnika do Graj razem.","join_refused_not_playing":"{host} teraz nie gra. Poproś {host}, żeby najpierw uruchomił Graj.","join_refused_unreachable":"Komputer {host} nie mógł połączyć się z PS5. Spróbuj ponownie za chwilę.","join_refused_slow_down":"Zbyt wiele błędnych kodów. Odczekaj minutę i spróbuj ponownie.","join_refused_address":"Adres tego linku jest poza Twoją siecią domową, więc aplikacja go nie użyje. Poproś {host} o link z adresem IP komputera.","join_refused_other":"{host} cię nie wpuścił.","join_ended_kicked":"{host} usunął cię z gry.","join_ended_closed":"{host} zamknął Graj razem.","join_ended_host_stopped":"Gospodarz przestał grać.","join_ended_replaced":"Tę grę otwarto w innej karcie lub na innym urządzeniu, więc tu się zatrzymała.","join_ended_pad_lost":"PS5 straciła Twój kontroler, więc wypadasz z gry. Poproś {host} o ponowne wpuszczenie.","join_ended_gave_up":"Połączenie z {host} nie wróciło na czas.","join_net_lost":"Połączenie z {host} zostało przerwane. Sprawdź połączenie internetowe i poproś ponownie.","join_ended_lost":"Nie można połączyć się z {host}. Sprawdź, czy jesteście w tej samej sieci.","join_ended_left":"Opuściłeś grę.","join_net_mismatch":"Ten link nie pasuje do gospodarza; poproś go o nowy.","join_net_no_direct":"Z tej sieci nie da się nawiązać bezpośredniego połączenia (routery po obu stronach są restrykcyjne). Spróbuj Wi-Fi zamiast danych komórkowych albo poproś gospodarza o włączenie UPnP.","join_net_no_room":"To zaproszenie nie jest już otwarte. Poproś {host} o nowy link.","join_net_full":"W grze {host} nie ma teraz miejsca dla kolejnego znajomego. Spróbuj ponownie za chwilę.","join_net_no_hub":"Nie można połączyć się z usługą zaproszeń PS5Upload. Sprawdź połączenie z internetem i spróbuj ponownie.","join_net_offer":"Komputer {host} nie mógł połączyć się z tą przeglądarką. Spróbuj innej przeglądarki.","join_net_no_webrtc":"Ta przeglądarka nie potrafi nawiązywać bezpośrednich połączeń. Spróbuj aktualnego Chrome, Safari lub Firefoksa.","join_cancel":"Anuluj","join_host_fallback":"twój znajomy","join_connecting":"Łączenie z {host}…","join_waiting":"Czekasz, aż {host} cię wpuści","join_waiting_body":"{host} widzi twoje imię na ekranie i stuka Zezwól.","join_retry":"Spróbuj ponownie","join_again":"Poproś ponownie o dołączenie","join_playing_at":"Grasz u {host}","join_you_are":"Jesteś Graczem {n}","join_seat_stream":"Grasz jako użytkownik PS5 gospodarza {host}. Nie musisz nikogo wybierać.","join_plays_as":"Grasz jako {profile}. Nie musisz niczego wybierać.","join_seat_tv_asks":"{host} wybrał dla ciebie profil, ale nie dało się go użyć. Telewizor zapyta, kim jesteś.","join_picking":"Naciśnij PS, a potem wybierz Szybką grę na telewizorze","join_hide_controls":"Ukryj","join_sound":"Włącz dźwięk","rp_unmute":"Dźwięk wł.","rp_mute":"Wycisz","join_no_sound":"Brak dźwięku w tej przeglądarce","join_exit_fullscreen":"Wyjdź z pełnego ekranu","pad_fill":"Pełny ekran","join_leave":"Wyjdź","join_show_controls":"Pokaż przyciski","join_hold_hint":"Przytrzymaj obraz, aby pokazać przyciski","pad_watch_no_hevc":"To urządzenie nie odtworzy obrazu tego streamu: komputer nadaje w HEVC, a to urządzenie odtwarza tylko H.264.","pad_watch_decode":"Nie udało się tu odtworzyć obrazu.","join_pad_ready":"Twój kontroler jest gotowy","join_check_unknown_short":"Nie ma go na liście: przyciski mogą być pomieszane.","join_full_to_play":"Stuknij Pełny ekran, aby grać kontrolerem ekranowym.","join_pad_none":"Podłącz kontroler (USB lub Bluetooth) i naciśnij dowolny przycisk.","join_pad_keys":"Albo użyj klawiatury: WASD ruch, strzałki krzyżak, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Naciśnij Wstecz na pilocie, aby pokazać przyciski.","join_block_note":"{host} wyłączył PS i Create dla znajomych.","join_guide_title":"Jeszcze jeden krok na telewizorze","join_guide_body":"Naciśnij raz PS na kontrolerze. Telewizor zapyta „Kto używa tego kontrolera?”. Wybierz Szybką grę albo swojego użytkownika. Gospodarz nie musi nic robić.","join_guide_menus":"Na ekranie głównym PS5 menu steruje tylko gospodarz; twój kontroler działa w grach.","join_guide_ok":"Rozumiem","join_host_away":"Gospodarz przestał grać — czekamy, aż zacznie znowu ({time})","join_reconnecting":"Ponowne łączenie…","join_reconnecting_left":"Twoje miejsce czeka jeszcze {time}.","pad_turn":"Obróć telefon poziomo","join_game_label":"Gra {host}","join_title":"Dołącz do gry znajomego","join_title_body":"Graj na PS5 {host} jako Gracz 2, 3 lub 4.","join_name_label":"Twoje imię","join_name_hint":"Znajomy zobaczy je, gdy poprosisz o dołączenie.","join_button":"Dołącz"},"pt-BR":{"usb_skipped_not_payload":"{name}: não é um arquivo .elf ou .bin","usb_skipped_unknown":"{id}: não está mais na lista de payloads","browser_unsupported":"Isso precisa do aplicativo para desktop. Não funciona no navegador.","video_recovered_notice":"O Play travou ao iniciar a imagem da última vez, então a imagem agora é decodificada sem a placa de vídeo (altere em Configurações › Janela › Gráficos › Decodificação de vídeo por hardware).","video_recovered_title":"Imagem agora decodificada por software","open_in_title":"Abrir no app PS5Upload?","open_in_body":"Tem o app PS5Upload neste aparelho? Abra por ele ou continue no navegador.","open_in_app":"Abrir no app","open_in_browser":"Continuar no navegador","open_in_remember":"Lembrar minha escolha neste aparelho","open_in_opening":"Abrindo o app PS5Upload…","open_in_not_opened":"Nada aconteceu? Talvez o app não esteja neste aparelho.","open_in_again":"Tentar de novo","pad_8bitdo_no_xinput":"Este 8BitDo não tem modo X-input. Se algum botão estiver errado, verifique o controle.","pad_8bitdo_how_switch":"coloque a chave de trás em X e aperte Start","pad_8bitdo_how_startx":"desligue e depois segure Start + X para ligar","pad_8bitdo_how_receiver":"use o receptor 2.4G dele ou um cabo USB","pad_8bitdo_how_manual":"o manual dele explica como","pad_8bitdo_xinput":"Para o melhor resultado, coloque seu 8BitDo no modo X-input: {how}.","rp_touch_left_stick":"Analógico esquerdo","rp_touch_right_stick":"Analógico direito","rp_pad_step_lx":"Mova o analógico esquerdo para a direita","rp_pad_step_ly":"Mova o analógico esquerdo para baixo","rp_pad_step_rx":"Mova o analógico direito para a direita","rp_pad_step_ry":"Mova o analógico direito para baixo","join_check_bottom":"Aperte o botão de baixo (✕)","join_check_right":"Aperte o botão da direita (○)","join_check_left":"Aperte o botão da esquerda (□)","join_check_top":"Aperte o botão de cima (△)","rp_pad_press":"Pressione {name}","join_check_saved":"Salvo para este controle neste aparelho. Teste abaixo.","join_check_title":"Verificar seu controle","join_done":"Concluído","rp_pads_none":"Nenhum controle detectado ainda. Conecte um e pressione qualquer botão nele.","rp_pad_mapped":"Joga com o seu mapeamento","join_check_unknown":"Este controle não está na nossa lista, então os botões podem estar trocados. Configurar leva poucos segundos.","rp_pad_standard":"Reconhecido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Pular","rp_pad_back":"Voltar","rp_pad_cancel":"Cancelar","join_check_try":"Aperte botões e mova os analógicos: o que você apertar acende.","join_check_redo":"Refazer","join_check_map":"Configurar os botões","rp_pad_reset":"Redefinir","join_open_lan_body":"Sem internet? Se você está no mesmo Wi-Fi que seu amigo, abra o jogo por lá.","join_open_lan":"Abrir neste Wi-Fi","join_path_lan":"Rede doméstica","join_seat_taken":"{host} precisou do controle de volta e não havia outro controle livre no PS5, então você saiu do jogo. Peça para {host} deixar você entrar de novo.","join_refused_key":"Este convite expirou. Peça um novo link a {host}.","join_refused_expired":"Seu lugar no jogo foi perdido. Peça a {host} para deixar você entrar de novo.","join_refused_full":"O jogo está cheio: já tem quatro jogadores.","join_refused_denied":"{host} não deixou você entrar desta vez.","join_refused_no_answer":"{host} não respondeu a tempo. Avise {host} e tente de novo.","join_refused_closed":"{host} não está com o Jogar juntos aberto agora.","join_refused_old_helper":"O PS5 de {host} precisa de um auxiliar atualizado para o Jogar juntos.","join_refused_not_playing":"{host} não está jogando agora. Peça para {host} iniciar o Jogar primeiro.","join_refused_unreachable":"O computador de {host} não conseguiu acessar o PS5. Tente de novo daqui a pouco.","join_refused_slow_down":"Muitos códigos errados. Espere um minuto e tente de novo.","join_refused_address":"O endereço deste link está fora da sua rede doméstica, então o aplicativo não vai usá-lo. Peça a {host} um link com o endereço IP do computador.","join_refused_other":"{host} não deixou você entrar.","join_ended_kicked":"{host} tirou você do jogo.","join_ended_closed":"{host} fechou o Jogar juntos.","join_ended_host_stopped":"O anfitrião parou de jogar.","join_ended_replaced":"Este jogo foi aberto em outra aba ou em outro dispositivo, então parou aqui.","join_ended_pad_lost":"O PS5 perdeu seu controle, então você saiu do jogo. Peça a {host} para deixar você entrar de novo.","join_ended_gave_up":"A conexão com {host} não voltou a tempo.","join_net_lost":"A conexão com {host} caiu. Verifique sua conexão de internet e peça de novo.","join_ended_lost":"Não foi possível alcançar {host}. Verifique se vocês estão na mesma rede.","join_ended_left":"Você saiu do jogo.","join_net_mismatch":"Este link não corresponde ao anfitrião; peça um novo a ele.","join_net_no_direct":"Não é possível uma conexão direta a partir desta rede (os roteadores dos dois lados são restritos). Tente o Wi-Fi em vez dos dados móveis ou peça ao anfitrião para ativar o UPnP.","join_net_no_room":"Este convite não está mais aberto. Peça a {host} um novo link.","join_net_full":"O jogo de {host} não tem lugar para mais um amigo agora. Tente de novo daqui a pouco.","join_net_no_hub":"Não foi possível alcançar o serviço de convites do PS5Upload. Verifique sua conexão com a internet e tente de novo.","join_net_offer":"O computador de {host} não conseguiu se conectar a este navegador. Tente outro navegador.","join_net_no_webrtc":"Este navegador não consegue fazer conexões diretas. Tente uma versão recente do Chrome, Safari ou Firefox.","join_cancel":"Cancelar","join_host_fallback":"seu amigo","join_connecting":"Conectando a {host}…","join_waiting":"Esperando {host} deixar você entrar","join_waiting_body":"{host} vê seu nome na tela e toca em Permitir.","join_retry":"Tentar de novo","join_again":"Pedir para entrar de novo","join_playing_at":"Jogando na casa de {host}","join_you_are":"Você é o Jogador {n}","join_seat_stream":"Você está jogando com o usuário do PS5 de {host}. Não precisa escolher um.","join_plays_as":"Você está jogando como {profile}. Não precisa escolher.","join_seat_tv_asks":"{host} escolheu um perfil para você, mas não foi possível usá-lo. A TV vai perguntar quem você é.","join_picking":"Aperte PS e depois escolha Jogo rápido na TV","join_hide_controls":"Ocultar","join_sound":"Ativar som","rp_unmute":"Ativar som","rp_mute":"Silenciar","join_no_sound":"Sem som neste navegador","join_exit_fullscreen":"Sair da tela cheia","pad_fill":"Tela cheia","join_leave":"Sair","join_show_controls":"Mostrar controles","join_hold_hint":"Toque e segure a imagem para mostrar os botões","pad_watch_no_hevc":"Este aparelho não reproduz a imagem deste stream: o computador transmite em HEVC e este aparelho reproduz apenas H.264.","pad_watch_decode":"Não foi possível reproduzir a imagem aqui.","join_pad_ready":"Seu controle está pronto","join_check_unknown_short":"Não está na nossa lista: os botões podem estar trocados.","join_full_to_play":"Toque em tela cheia para jogar com o controle na tela.","join_pad_none":"Conecte um controle (USB ou Bluetooth) e aperte qualquer botão.","join_pad_keys":"Ou use o teclado: WASD move, setas direcional, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Aperte Voltar no controle remoto para ver os botões.","join_block_note":"{host} desativou PS e Create para amigos.","join_guide_title":"Mais um passo na TV","join_guide_body":"Aperte PS uma vez no seu controle. A TV pergunta \"Quem está usando este controle?\". Escolha Jogo rápido ou o seu próprio usuário. O anfitrião não precisa fazer nada.","join_guide_menus":"Na tela inicial do PS5 só o anfitrião controla os menus; seu controle joga dentro dos jogos.","join_guide_ok":"Entendi","join_host_away":"O anfitrião parou de jogar — esperando ele começar de novo ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Seu lugar fica guardado por {time}.","pad_turn":"Vire o celular na horizontal","join_game_label":"Jogo de {host}","join_title":"Entrar no jogo de um amigo","join_title_body":"Jogue no PS5 de {host} como Jogador 2, 3 ou 4.","join_name_label":"Seu nome","join_name_hint":"Seu amigo vê isto quando você pede para entrar.","join_button":"Entrar"},"ru":{"usb_skipped_not_payload":"{name}: не файл .elf или .bin","usb_skipped_unknown":"{id}: больше нет в списке пейлоадов","browser_unsupported":"Для этого нужно настольное приложение. В браузере это не работает.","video_recovered_notice":"В прошлый раз Play упал при запуске картинки, поэтому теперь картинка декодируется без видеокарты (изменить: Настройки › Окно › Графика › Аппаратное декодирование видео).","video_recovered_title":"Картинка теперь декодируется программно","open_in_title":"Открыть в приложении PS5Upload?","open_in_body":"Приложение PS5Upload есть на этом устройстве? Откройте это там или продолжите в браузере.","open_in_app":"Открыть в приложении","open_in_browser":"Продолжить в браузере","open_in_remember":"Запомнить выбор на этом устройстве","open_in_opening":"Открываем приложение PS5Upload…","open_in_not_opened":"Ничего не произошло? Возможно, приложения нет на этом устройстве.","open_in_again":"Повторить","pad_8bitdo_no_xinput":"У этого 8BitDo нет режима X-input. Если кнопка срабатывает не так, проверьте контроллер.","pad_8bitdo_how_switch":"переведите переключатель сзади в положение X, затем нажмите Start","pad_8bitdo_how_startx":"выключите его, затем включите, удерживая Start + X","pad_8bitdo_how_receiver":"используйте его приёмник 2.4G или кабель USB","pad_8bitdo_how_manual":"как это сделать, сказано в его инструкции","pad_8bitdo_xinput":"Для лучшего результата переключите 8BitDo в режим X-input: {how}.","rp_touch_left_stick":"Левый стик","rp_touch_right_stick":"Правый стик","rp_touch_touchpad":"Сенсорная панель","rp_menu":"Меню","rp_pad_step_lx":"Отклоните левый стик вправо","rp_pad_step_ly":"Отклоните левый стик вниз","rp_pad_step_rx":"Отклоните правый стик вправо","rp_pad_step_ry":"Отклоните правый стик вниз","join_check_bottom":"Нажмите нижнюю кнопку (✕)","join_check_right":"Нажмите правую кнопку (○)","join_check_left":"Нажмите левую кнопку (□)","join_check_top":"Нажмите верхнюю кнопку (△)","rp_pad_press":"Нажмите {name}","join_check_saved":"Сохранено для этого контроллера на этом устройстве. Попробуйте ниже.","join_check_title":"Проверить контроллер","join_done":"Готово","rp_pads_none":"Контроллер пока не найден. Подключите его и нажмите любую кнопку.","rp_pad_mapped":"Играет с вашей раскладкой","join_check_unknown":"Этого контроллера нет в нашем списке, поэтому кнопки могут быть перепутаны. Настройка займёт несколько секунд.","rp_pad_standard":"Распознан","rp_pad_progress":"{n} из {total}","rp_pad_skip":"Пропустить","rp_pad_back":"Назад","rp_pad_cancel":"Отмена","join_check_try":"Нажимайте кнопки и двигайте стики: нажатое подсвечивается.","join_check_redo":"Заново","join_check_map":"Настроить кнопки","rp_pad_reset":"Сбросить","join_open_lan_body":"Нет доступа к интернету? Если вы в той же сети Wi-Fi, что и друг, откройте игру там.","join_open_lan":"Открыть в этой сети Wi-Fi","join_path_lan":"Домашняя сеть","join_path_internet":"Интернет","join_seat_taken":"{host} понадобился его контроллер, а других свободных контроллеров на PS5 не было, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_refused_key":"Срок приглашения истёк. Попросите у {host} новую ссылку.","join_refused_expired":"Ваше место в игре потеряно. Попросите {host} впустить вас снова.","join_refused_full":"Мест нет: уже играют четверо.","join_refused_denied":"{host} в этот раз вас не впустил.","join_refused_no_answer":"{host} не ответил вовремя. Сообщите {host} и попробуйте ещё раз.","join_refused_closed":"{host} сейчас не проводит «Совместную игру».","join_refused_old_helper":"Для «Совместной игры» на PS5 {host} нужен обновлённый помощник.","join_refused_not_playing":"{host} сейчас не играет. Попросите {host} сначала запустить Игру.","join_refused_unreachable":"Компьютер {host} не смог связаться с PS5. Попробуйте ещё раз чуть позже.","join_refused_slow_down":"Слишком много неверных кодов. Подождите минуту и попробуйте снова.","join_refused_address":"Адрес этой ссылки находится вне вашей домашней сети, поэтому приложение его не использует. Попросите {host} дать ссылку с IP-адресом компьютера.","join_refused_other":"{host} вас не впустил.","join_ended_kicked":"{host} убрал вас из игры.","join_ended_closed":"{host} закрыл «Совместную игру».","join_ended_host_stopped":"Хост перестал играть.","join_ended_replaced":"Эту игру открыли в другой вкладке или на другом устройстве, поэтому здесь она остановилась.","join_ended_pad_lost":"PS5 потеряла ваш контроллер, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_ended_gave_up":"Соединение с {host} не восстановилось вовремя.","join_net_lost":"Соединение с {host} прервалось. Проверьте подключение к интернету и попросите ещё раз.","join_ended_lost":"Не удалось связаться с {host}. Проверьте, что вы в одной сети.","join_ended_left":"Вы вышли из игры.","join_net_mismatch":"Эта ссылка не совпадает с хостом; попросите у него новую.","join_net_no_direct":"Из этой сети прямое подключение невозможно (роутеры с обеих сторон строгие). Попробуйте Wi-Fi вместо мобильного интернета или попросите хоста включить UPnP.","join_net_no_room":"Это приглашение больше не действует. Попросите у {host} новую ссылку.","join_net_full":"В игре {host} сейчас нет места для ещё одного друга. Попробуйте чуть позже.","join_net_no_hub":"Не удалось связаться со службой приглашений PS5Upload. Проверьте подключение к интернету и попробуйте снова.","join_net_offer":"Компьютер {host} не смог подключиться к этому браузеру. Попробуйте другой браузер.","join_net_no_webrtc":"Этот браузер не умеет устанавливать прямые подключения. Попробуйте свежую версию Chrome, Safari или Firefox.","join_cancel":"Отмена","join_host_fallback":"ваш друг","join_connecting":"Подключение к {host}…","join_waiting":"Ждём, пока {host} вас впустит","join_waiting_body":"{host} видит ваше имя на экране и нажимает «Разрешить».","join_retry":"Повторить","join_again":"Снова попроситься в игру","join_playing_at":"Игра у {host}","join_you_are":"Вы — Игрок {n}","join_seat_stream":"Вы играете под пользователем PS5 хоста {host}. Выбирать пользователя не нужно.","join_plays_as":"Вы играете как {profile}. Выбирать никого не нужно.","join_seat_tv_asks":"{host} выбрал для вас профиль, но использовать его не удалось. Телевизор спросит, кто вы.","join_picking":"Нажмите PS, затем выберите «Быстрая игра» на телевизоре","join_hide_controls":"Скрыть","join_sound":"Включить звук","rp_unmute":"Включить звук","rp_mute":"Без звука","join_no_sound":"В этом браузере нет звука","join_exit_fullscreen":"Выйти из полноэкранного режима","pad_fill":"Во весь экран","join_leave":"Выйти","join_show_controls":"Показать кнопки","join_hold_hint":"Нажмите и удерживайте изображение, чтобы показать кнопки","pad_watch_no_hevc":"Это устройство не может показать картинку этой трансляции: компьютер передаёт HEVC, а устройство воспроизводит только H.264.","pad_watch_decode":"Картинку не удалось воспроизвести здесь.","join_pad_ready":"Ваш контроллер готов","join_check_unknown_short":"Нет в нашем списке: кнопки могут быть перепутаны.","join_full_to_play":"Нажмите «Во весь экран», чтобы играть с экранным контроллером.","join_pad_none":"Подключите контроллер (USB или Bluetooth) и нажмите любую кнопку.","join_pad_keys":"Или играйте с клавиатуры: WASD — движение, стрелки — крестовина, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Нажмите «Назад» на пульте, чтобы показать кнопки.","join_block_note":"{host} отключил PS и Create для друзей.","join_guide_title":"Ещё один шаг на телевизоре","join_guide_body":"Нажмите PS на контроллере один раз. Телевизор спросит «Кто использует этот контроллер?». Выберите «Быстрая игра» или своего пользователя. Хосту ничего делать не нужно.","join_guide_menus":"На главном экране PS5 меню управляет только хост; ваш контроллер работает внутри игр.","join_guide_ok":"Понятно","join_host_away":"Хост перестал играть — ждём, когда он начнёт снова ({time})","join_reconnecting":"Переподключение…","join_reconnecting_left":"Ваше место сохраняется ещё {time}.","pad_turn":"Поверните телефон горизонтально","join_game_label":"Игра {host}","join_title":"Присоединиться к игре друга","join_title_body":"Играйте на PS5 {host} как Игрок 2, 3 или 4.","join_name_label":"Ваше имя","join_name_hint":"Друг увидит его, когда вы попроситесь в игру.","join_button":"Войти"},"th":{"usb_skipped_not_payload":"{name}: ไม่ใช่ไฟล์ .elf หรือ .bin","usb_skipped_unknown":"{id}: ไม่อยู่ในรายการเพย์โหลดแล้ว","browser_unsupported":"ต้องใช้แอปเดสก์ท็อป ใช้ในเบราว์เซอร์ไม่ได้","video_recovered_notice":"ครั้งก่อนหน้าเล่นล่มขณะเริ่มภาพ ตอนนี้จึงถอดรหัสภาพโดยไม่ใช้การ์ดจอ (เปลี่ยนได้ที่ การตั้งค่า › หน้าต่าง › กราฟิก › ถอดรหัสวิดีโอด้วยฮาร์ดแวร์)","video_recovered_title":"ตอนนี้ถอดรหัสภาพด้วยซอฟต์แวร์","open_in_title":"เปิดในแอป PS5Upload ไหม","open_in_body":"มีแอป PS5Upload ในอุปกรณ์นี้ไหม เปิดในแอป หรือใช้ต่อในเบราว์เซอร์ก็ได้","open_in_app":"เปิดในแอป","open_in_browser":"ใช้ต่อในเบราว์เซอร์","open_in_remember":"จำตัวเลือกของฉันในอุปกรณ์นี้","open_in_opening":"กำลังเปิดแอป PS5Upload…","open_in_not_opened":"ไม่มีอะไรเกิดขึ้นใช่ไหม อุปกรณ์นี้อาจไม่มีแอป","open_in_again":"ลองอีกครั้ง","pad_8bitdo_no_xinput":"8BitDo รุ่นนี้ไม่มีโหมด X-input หากปุ่มใดทำงานผิด ให้ตรวจสอบคอนโทรลเลอร์","pad_8bitdo_how_switch":"เลื่อนสวิตช์ด้านหลังไปที่ X แล้วกด Start","pad_8bitdo_how_startx":"ปิดเครื่อง แล้วกด Start + X ค้างไว้เพื่อเปิด","pad_8bitdo_how_receiver":"ใช้ตัวรับสัญญาณ 2.4G หรือสาย USB","pad_8bitdo_how_manual":"ดูวิธีได้ในคู่มือ","pad_8bitdo_xinput":"เพื่อผลลัพธ์ที่ดีที่สุด ให้เปลี่ยน 8BitDo เป็นโหมด X-input: {how}","rp_touch_left_stick":"สติกซ้าย","rp_touch_right_stick":"สติกขวา","rp_touch_touchpad":"ทัชแพด","rp_menu":"เมนู","rp_pad_step_lx":"ดันอนาล็อกซ้ายไปทางขวา","rp_pad_step_ly":"ดันอนาล็อกซ้ายลง","rp_pad_step_rx":"ดันอนาล็อกขวาไปทางขวา","rp_pad_step_ry":"ดันอนาล็อกขวาลง","join_check_bottom":"กดปุ่มด้านล่าง (✕)","join_check_right":"กดปุ่มด้านขวา (○)","join_check_left":"กดปุ่มด้านซ้าย (□)","join_check_top":"กดปุ่มด้านบน (△)","rp_pad_press":"กด {name}","join_check_saved":"บันทึกสำหรับคอนโทรลเลอร์นี้บนอุปกรณ์นี้แล้ว ลองใช้ด้านล่าง","join_check_title":"ตรวจสอบคอนโทรลเลอร์","join_done":"เสร็จสิ้น","rp_pads_none":"ยังไม่พบคอนโทรลเลอร์ เชื่อมต่อแล้วกดปุ่มใดก็ได้บนคอนโทรลเลอร์","rp_pad_mapped":"เล่นตามการกำหนดปุ่มของคุณ","join_check_unknown":"คอนโทรลเลอร์นี้ไม่อยู่ในรายการของเรา ปุ่มจึงอาจสลับกัน การตั้งค่าใช้เวลาเพียงไม่กี่วินาที","rp_pad_standard":"รู้จักแล้ว","rp_pad_progress":"{n} จาก {total}","rp_pad_skip":"ข้าม","rp_pad_back":"ย้อนกลับ","rp_pad_cancel":"ยกเลิก","join_check_try":"กดปุ่มและขยับสติ๊ก: ปุ่มที่กดจะสว่างขึ้น","join_check_redo":"ทำใหม่","join_check_map":"ตั้งค่าปุ่ม","rp_pad_reset":"รีเซ็ต","join_open_lan_body":"เข้าอินเทอร์เน็ตไม่ได้? ถ้าคุณอยู่บน Wi-Fi เดียวกับเพื่อน ให้เปิดเกมที่นั่น","join_open_lan":"เปิดบน Wi-Fi นี้","join_path_lan":"เครือข่ายในบ้าน","join_path_internet":"อินเทอร์เน็ต","join_seat_taken":"{host} ต้องใช้คอนโทรลเลอร์ของตัวเองคืน และไม่มีคอนโทรลเลอร์อื่นว่างบน PS5 คุณจึงออกจากเกม ขอให้ {host} ให้คุณเข้าอีกครั้ง","join_refused_key":"คำเชิญนี้หมดอายุแล้ว ขอลิงก์ใหม่จาก {host}","join_refused_expired":"ที่ของคุณในเกมหายไปแล้ว ขอให้ {host} ให้เข้าใหม่","join_refused_full":"เกมเต็มแล้ว: มีผู้เล่นครบสี่คน","join_refused_denied":"{host} ไม่ได้ให้คุณเข้าในครั้งนี้","join_refused_no_answer":"{host} ไม่ตอบทันเวลา แจ้ง {host} แล้วลองอีกครั้ง","join_refused_closed":"ตอนนี้ {host} ไม่ได้เปิดเล่นด้วยกัน","join_refused_old_helper":"PS5 ของ {host} ต้องอัปเดตตัวช่วยเพื่อเล่นด้วยกัน","join_refused_not_playing":"ตอนนี้ {host} ไม่ได้เล่นอยู่ ขอให้ {host} เริ่มเล่นก่อน","join_refused_unreachable":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับ PS5 ไม่ได้ ลองใหม่อีกครั้งในอีกสักครู่","join_refused_slow_down":"ใส่รหัสผิดหลายครั้งเกินไป รอหนึ่งนาทีแล้วลองใหม่","join_refused_address":"ที่อยู่ของลิงก์นี้อยู่นอกเครือข่ายภายในบ้าน แอปจึงไม่ใช้ ขอลิงก์ที่มีที่อยู่ IP ของคอมพิวเตอร์จาก {host}","join_refused_other":"{host} ไม่ได้ให้คุณเข้า","join_ended_kicked":"{host} นำคุณออกจากเกม","join_ended_closed":"{host} ปิดเล่นด้วยกันแล้ว","join_ended_host_stopped":"โฮสต์หยุดเล่นแล้ว","join_ended_replaced":"เกมนี้ถูกเปิดในแท็บอื่นหรืออุปกรณ์อื่น จึงหยุดที่นี่","join_ended_pad_lost":"PS5 ทำคอนโทรลเลอร์ของคุณหาย คุณจึงออกจากเกม ขอให้ {host} ให้เข้าใหม่","join_ended_gave_up":"การเชื่อมต่อกับ {host} ไม่กลับมาทันเวลา","join_net_lost":"การเชื่อมต่อกับ {host} หลุด ตรวจสอบการเชื่อมต่ออินเทอร์เน็ต แล้วขอเข้าร่วมอีกครั้ง","join_ended_lost":"ติดต่อ {host} ไม่ได้ ตรวจสอบว่าอยู่ในเครือข่ายเดียวกัน","join_ended_left":"คุณออกจากเกมแล้ว","join_net_mismatch":"ลิงก์นี้ไม่ตรงกับโฮสต์ ขอลิงก์ใหม่จากเขา","join_net_no_direct":"เชื่อมต่อโดยตรงจากเครือข่ายนี้ไม่ได้ (เราเตอร์ทั้งสองฝั่งเข้มงวด) ลองใช้ Wi-Fi แทนเน็ตมือถือ หรือขอให้โฮสต์เปิด UPnP","join_net_no_room":"คำเชิญนี้ปิดไปแล้ว ขอลิงก์ใหม่จาก {host}","join_net_full":"เกมของ {host} ไม่มีที่ว่างสำหรับเพื่อนเพิ่มในตอนนี้ ลองใหม่อีกสักครู่","join_net_no_hub":"ติดต่อบริการคำเชิญของ PS5Upload ไม่ได้ ตรวจสอบการเชื่อมต่ออินเทอร์เน็ตแล้วลองใหม่","join_net_offer":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับเบราว์เซอร์นี้ไม่ได้ ลองเบราว์เซอร์อื่น","join_net_no_webrtc":"เบราว์เซอร์นี้เชื่อมต่อโดยตรงไม่ได้ ลองใช้ Chrome, Safari หรือ Firefox เวอร์ชันล่าสุด","join_cancel":"ยกเลิก","join_host_fallback":"เพื่อนของคุณ","join_connecting":"กำลังเชื่อมต่อกับ {host}…","join_waiting":"กำลังรอ {host} ให้คุณเข้า","join_waiting_body":"{host} จะเห็นชื่อคุณบนหน้าจอและแตะอนุญาต","join_retry":"ลองอีกครั้ง","join_again":"ขอเข้าร่วมอีกครั้ง","join_playing_at":"กำลังเล่นที่บ้าน {host}","join_you_are":"คุณคือผู้เล่น {n}","join_seat_stream":"คุณกำลังเล่นด้วยผู้ใช้ PS5 ของ {host} ไม่ต้องเลือกผู้ใช้","join_plays_as":"คุณกำลังเล่นในนาม {profile} ไม่ต้องเลือกอะไร","join_seat_tv_asks":"{host} เลือกโปรไฟล์ไว้ให้คุณ แต่ใช้ไม่ได้ ทีวีจะถามว่าคุณเป็นใคร","join_picking":"กด PS แล้วเลือกเล่นด่วนบนทีวี","join_hide_controls":"ซ่อน","join_sound":"แตะเพื่อเปิดเสียง","rp_unmute":"เปิดเสียง","rp_mute":"ปิดเสียง","join_no_sound":"เบราว์เซอร์นี้ไม่มีเสียง","join_exit_fullscreen":"ออกจากเต็มจอ","pad_fill":"เต็มจอ","join_leave":"ออก","join_show_controls":"แสดงปุ่มควบคุม","join_hold_hint":"กดค้างที่ภาพเพื่อแสดงปุ่ม","pad_watch_no_hevc":"อุปกรณ์นี้เล่นภาพของสตรีมนี้ไม่ได้: คอมพิวเตอร์สตรีมเป็น HEVC แต่อุปกรณ์นี้เล่นได้แค่ H.264","pad_watch_decode":"เล่นภาพที่นี่ไม่ได้","join_pad_ready":"คอนโทรลเลอร์ของคุณพร้อมแล้ว","join_check_unknown_short":"ไม่อยู่ในรายการ: ปุ่มอาจสลับกัน","join_full_to_play":"แตะเต็มหน้าจอเพื่อเล่นด้วยคอนโทรลเลอร์บนหน้าจอ","join_pad_none":"เชื่อมต่อคอนโทรลเลอร์ (USB หรือ Bluetooth) แล้วกดปุ่มใดก็ได้","join_pad_keys":"หรือใช้คีย์บอร์ด: WASD เคลื่อนที่, ลูกศร D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options","join_tv_back_hint":"กดปุ่มย้อนกลับบนรีโมตเพื่อแสดงปุ่ม","join_block_note":"{host} ปิดปุ่ม PS และ Create สำหรับเพื่อน","join_guide_title":"อีกขั้นตอนเดียวบนทีวี","join_guide_body":"กด PS บนคอนโทรลเลอร์หนึ่งครั้ง ทีวีจะถามว่า \"ใครกำลังใช้คอนโทรลเลอร์นี้?\" เลือกเล่นด่วนหรือผู้ใช้ของคุณเอง เจ้าของเกมไม่ต้องทำอะไร","join_guide_menus":"บนหน้าจอหลักของ PS5 มีแค่โฮสต์ที่ควบคุมเมนูได้ คอนโทรลเลอร์ของคุณใช้เล่นในเกม","join_guide_ok":"เข้าใจแล้ว","join_host_away":"โฮสต์หยุดเล่นแล้ว — กำลังรอให้เริ่มเล่นอีกครั้ง ({time})","join_reconnecting":"กำลังเชื่อมต่อใหม่…","join_reconnecting_left":"ที่ของคุณจะถูกเก็บไว้ {time}","pad_turn":"หมุนมือถือเป็นแนวนอน","join_game_label":"เกมของ {host}","join_title":"เข้าร่วมเกมของเพื่อน","join_title_body":"เล่นบน PS5 ของ {host} เป็นผู้เล่น 2, 3 หรือ 4","join_name_label":"ชื่อของคุณ","join_name_hint":"เพื่อนจะเห็นชื่อนี้เมื่อคุณขอเข้าร่วม","join_button":"เข้าร่วม"},"tr":{"usb_skipped_not_payload":"{name}: .elf veya .bin dosyası değil","usb_skipped_unknown":"{id}: artık payload listesinde değil","browser_unsupported":"Bunun için masaüstü uygulaması gerekir. Tarayıcıda çalışmaz.","video_recovered_notice":"Play geçen sefer görüntüyü başlatırken çöktü, bu yüzden görüntü artık ekran kartı olmadan çözülüyor (değiştirmek için Ayarlar › Pencere › Grafik › Donanımsal video çözme).","video_recovered_title":"Görüntü artık yazılımla çözülüyor","open_in_title":"PS5Upload uygulamasında açılsın mı?","open_in_body":"Bu cihazda PS5Upload uygulaması var mı? Bunu orada aç ya da tarayıcıda devam et.","open_in_app":"Uygulamada aç","open_in_browser":"Tarayıcıda devam et","open_in_remember":"Bu cihazda seçimimi hatırla","open_in_opening":"PS5Upload uygulaması açılıyor…","open_in_not_opened":"Bir şey olmadı mı? Uygulama bu cihazda olmayabilir.","open_in_again":"Tekrar dene","pad_8bitdo_no_xinput":"Bu 8BitDo'nun X-input modu yok. Bir tuş yanlışsa kumandayı kontrol et.","pad_8bitdo_how_switch":"arkadaki düğmeyi X'e getir, sonra Start'a bas","pad_8bitdo_how_startx":"kapat, sonra açmak için Start + X'e basılı tut","pad_8bitdo_how_receiver":"2.4G alıcısını ya da bir USB kablosu kullan","pad_8bitdo_how_manual":"nasıl yapılacağı kılavuzunda yazıyor","pad_8bitdo_xinput":"En iyi sonuç için 8BitDo'nu X-input moduna al: {how}.","rp_touch_left_stick":"Sol çubuk","rp_touch_right_stick":"Sağ çubuk","rp_touch_touchpad":"Dokunmatik yüzey","rp_menu":"Menü","rp_pad_step_lx":"Sol çubuğu sağa itin","rp_pad_step_ly":"Sol çubuğu aşağı itin","rp_pad_step_rx":"Sağ çubuğu sağa itin","rp_pad_step_ry":"Sağ çubuğu aşağı itin","join_check_bottom":"Alttaki yüz tuşuna bas (✕)","join_check_right":"Sağdaki yüz tuşuna bas (○)","join_check_left":"Soldaki yüz tuşuna bas (□)","join_check_top":"Üstteki yüz tuşuna bas (△)","rp_pad_press":"{name} tuşuna basın","join_check_saved":"Bu cihazda bu kumanda için kaydedildi. Aşağıda dene.","join_check_title":"Kumandanı kontrol et","join_done":"Tamam","rp_pads_none":"Henüz kumanda görülmedi. Bir tane bağlayın ve herhangi bir tuşuna basın.","rp_pad_mapped":"Sizin eşlemenizle oynuyor","join_check_unknown":"Bu kumanda listemizde yok, bu yüzden tuşları karışık olabilir. Ayarlamak birkaç saniye sürer.","rp_pad_standard":"Tanındı","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Atla","rp_pad_back":"Geri","rp_pad_cancel":"İptal","join_check_try":"Tuşlara bas ve çubukları oynat: bastığın şey yanar.","join_check_redo":"Yeniden yap","join_check_map":"Tuşları ayarla","rp_pad_reset":"Sıfırla","join_open_lan_body":"İnternete ulaşamıyor musun? Arkadaşınla aynı Wi-Fi'daysan oyunu orada aç.","join_open_lan":"Bu Wi-Fi'da aç","join_path_lan":"Ev ağı","join_path_internet":"İnternet","join_seat_taken":"{host} kumandasını geri istedi ve PS5'te boş başka kumanda yoktu, bu yüzden oyundan çıktın. {host} adlı kişiden seni tekrar almasını iste.","join_refused_key":"Bu davetin süresi doldu. {host} kullanıcısından yeni bir bağlantı iste.","join_refused_expired":"Oyundaki yerin gitti. {host} seni yeniden alsın diye iste.","join_refused_full":"Oyun dolu: zaten dört oyuncu var.","join_refused_denied":"{host} bu sefer seni içeri almadı.","join_refused_no_answer":"{host} zamanında yanıt vermedi. {host} kişisine haber ver, sonra yeniden dene.","join_refused_closed":"{host} şu anda Birlikte Oyna açmıyor.","join_refused_old_helper":"Birlikte Oyna için {host} adlı kişinin PS5'inde yardımcının güncellenmesi gerekiyor.","join_refused_not_playing":"{host} şu anda oynamıyor. Önce Oyna'yı başlatmasını {host} kullanıcısından iste.","join_refused_unreachable":"{host} adlı kişinin bilgisayarı PS5'e ulaşamadı. Biraz sonra tekrar dene.","join_refused_slow_down":"Çok fazla yanlış kod. Bir dakika bekle, sonra tekrar dene.","join_refused_address":"Bu bağlantının adresi ev ağınızın dışında olduğundan uygulama bunu kullanmaz. {host} kullanıcısından bilgisayarının IP adresini içeren bir bağlantı isteyin.","join_refused_other":"{host} seni içeri almadı.","join_ended_kicked":"{host} seni oyundan çıkardı.","join_ended_closed":"{host}, Birlikte Oyna'yı kapattı.","join_ended_host_stopped":"Ev sahibi oynamayı bıraktı.","join_ended_replaced":"Bu oyun başka bir sekmede veya cihazda açıldı, bu yüzden burada durdu.","join_ended_pad_lost":"PS5 kumandanı kaybetti, bu yüzden oyundan çıktın. {host} seni yeniden alsın diye iste.","join_ended_gave_up":"{host} ile bağlantı zamanında geri gelmedi.","join_net_lost":"{host} ile bağlantı koptu. İnternet bağlantını kontrol et, sonra yeniden iste.","join_ended_lost":"{host} kullanıcısına ulaşılamadı. Aynı ağda olduğunuzu kontrol et.","join_ended_left":"Oyundan ayrıldın.","join_net_mismatch":"Bu bağlantı ev sahibiyle eşleşmiyor; ondan yeni bir bağlantı iste.","join_net_no_direct":"Bu ağdan doğrudan bağlantı mümkün değil (iki tarafın yönlendiricisi de katı). Mobil veri yerine Wi-Fi dene ya da ev sahibinden UPnP'yi açmasını iste.","join_net_no_room":"Bu davet artık açık değil. {host} kullanıcısından yeni bir bağlantı iste.","join_net_full":"{host} kullanıcısının oyununda şu an başka bir arkadaşa yer yok. Biraz sonra tekrar dene.","join_net_no_hub":"PS5Upload davet hizmetine ulaşılamadı. İnternet bağlantını kontrol et, sonra tekrar dene.","join_net_offer":"{host} kullanıcısının bilgisayarı bu tarayıcıya bağlanamadı. Başka bir tarayıcı dene.","join_net_no_webrtc":"Bu tarayıcı doğrudan bağlantı kuramıyor. Güncel bir Chrome, Safari veya Firefox dene.","join_cancel":"İptal","join_host_fallback":"arkadaşın","join_connecting":"Bağlanılıyor: {host}…","join_waiting":"{host} seni içeri alsın diye bekleniyor","join_waiting_body":"{host} adını ekranında görür ve İzin ver'e dokunur.","join_retry":"Tekrar dene","join_again":"Tekrar katılmak iste","join_playing_at":"Oynadığın yer: {host}","join_you_are":"Sen {n}. Oyuncusun","join_seat_stream":"{host} adlı kişinin PS5 kullanıcısıyla oynuyorsun. Kullanıcı seçmene gerek yok.","join_plays_as":"{profile} olarak oynuyorsunuz. Seçim yapmanıza gerek yok.","join_seat_tv_asks":"{host} sizin için bir profil seçti ama kullanılamadı. TV kim olduğunuzu soracak.","join_picking":"PS'ye bas, sonra televizyonda Hızlı Oyna'yı seç","join_hide_controls":"Gizle","join_sound":"Ses için dokun","rp_unmute":"Sesi aç","rp_mute":"Sessiz","join_no_sound":"Bu tarayıcıda ses yok","join_exit_fullscreen":"Tam ekrandan çık","pad_fill":"Tam ekran","join_leave":"Ayrıl","join_show_controls":"Kontrolleri göster","join_hold_hint":"Düğmeleri göstermek için görüntüye basılı tut","pad_watch_no_hevc":"Bu cihaz bu yayının görüntüsünü oynatamıyor: bilgisayar HEVC yayınlıyor, bu cihaz yalnızca H.264 oynatıyor.","pad_watch_decode":"Görüntü burada oynatılamadı.","join_pad_ready":"Kumandan hazır","join_check_unknown_short":"Listemizde yok: tuşlar karışık olabilir.","join_full_to_play":"Ekran kumandasıyla oynamak için Tam ekran'a dokun.","join_pad_none":"Bir kumanda bağla (USB veya Bluetooth) ve herhangi bir tuşa bas.","join_pad_keys":"Ya da klavyeyi kullan: WASD hareket, ok tuşları yön tuşları, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Düğmeleri görmek için kumandada Geri'ye bas.","join_block_note":"{host}, arkadaşlar için PS ve Create tuşlarını kapattı.","join_guide_title":"Televizyonda bir adım daha","join_guide_body":"Kumandandaki PS tuşuna bir kez bas. Televizyon \"Bu kumandayı kim kullanıyor?\" diye sorar. Hızlı Oyna'yı ya da kendi kullanıcını seç. Ev sahibinin bir şey yapması gerekmez.","join_guide_menus":"PS5 ana ekranında menüleri yalnızca ev sahibi kontrol eder; senin kumandan oyunların içinde çalışır.","join_guide_ok":"Anladım","join_host_away":"Ev sahibi oynamayı bıraktı — yeniden başlaması bekleniyor ({time})","join_reconnecting":"Yeniden bağlanıyor…","join_reconnecting_left":"Yerin {time} boyunca tutuluyor.","pad_turn":"Telefonu yan çevirin","join_game_label":"{host} adlı kişinin oyunu","join_title":"Bir arkadaşının oyununa katıl","join_title_body":"{host} adlı kişinin PS5'inde 2., 3. veya 4. Oyuncu olarak oyna.","join_name_label":"Adın","join_name_hint":"Katılmak istediğinde arkadaşın bunu görür.","join_button":"Katıl"},"vi":{"usb_skipped_not_payload":"{name}: không phải tệp .elf hoặc .bin","usb_skipped_unknown":"{id}: không còn trong danh sách payload","browser_unsupported":"Việc này cần ứng dụng máy tính. Không hoạt động trong trình duyệt.","video_recovered_notice":"Lần trước Play bị sập khi bắt đầu hình, nên giờ hình được giải mã không dùng card đồ họa (đổi trong Cài đặt › Cửa sổ › Đồ họa › Giải mã video bằng phần cứng).","video_recovered_title":"Hình giờ được giải mã bằng phần mềm","open_in_title":"Mở trong ứng dụng PS5Upload?","open_in_body":"Thiết bị này có ứng dụng PS5Upload? Mở trong ứng dụng, hoặc tiếp tục trên trình duyệt.","open_in_app":"Mở trong ứng dụng","open_in_browser":"Tiếp tục trên trình duyệt","open_in_remember":"Nhớ lựa chọn của tôi trên thiết bị này","open_in_opening":"Đang mở ứng dụng PS5Upload…","open_in_not_opened":"Không có gì xảy ra? Có thể thiết bị này chưa có ứng dụng.","open_in_again":"Thử lại","pad_8bitdo_no_xinput":"8BitDo này không có chế độ X-input. Nếu có nút sai, hãy kiểm tra tay cầm.","pad_8bitdo_how_switch":"gạt công tắc phía sau sang X, rồi nhấn Start","pad_8bitdo_how_startx":"tắt tay cầm, rồi giữ Start + X để bật lại","pad_8bitdo_how_receiver":"dùng bộ thu 2.4G của nó hoặc cáp USB","pad_8bitdo_how_manual":"cách làm có trong sách hướng dẫn","pad_8bitdo_xinput":"Để chơi tốt nhất, hãy chuyển 8BitDo sang chế độ X-input: {how}.","rp_touch_left_stick":"Cần trái","rp_touch_right_stick":"Cần phải","rp_touch_touchpad":"Bàn di cảm ứng","rp_pad_step_lx":"Đẩy cần trái sang phải","rp_pad_step_ly":"Đẩy cần trái xuống dưới","rp_pad_step_rx":"Đẩy cần phải sang phải","rp_pad_step_ry":"Đẩy cần phải xuống dưới","join_check_bottom":"Nhấn nút mặt phía dưới (✕)","join_check_right":"Nhấn nút mặt bên phải (○)","join_check_left":"Nhấn nút mặt bên trái (□)","join_check_top":"Nhấn nút mặt phía trên (△)","rp_pad_press":"Nhấn {name}","join_check_saved":"Đã lưu cho tay cầm này trên thiết bị này. Thử ngay bên dưới.","join_check_title":"Kiểm tra tay cầm","join_done":"Xong","rp_pads_none":"Chưa thấy tay cầm nào. Hãy kết nối một tay cầm và nhấn nút bất kỳ.","rp_pad_mapped":"Chơi theo cách gán nút của bạn","join_check_unknown":"Tay cầm này không có trong danh sách của chúng tôi nên các nút có thể bị lẫn. Thiết lập chỉ mất vài giây.","rp_pad_standard":"Đã nhận diện","rp_pad_progress":"{n}/{total}","rp_pad_skip":"Bỏ qua","rp_pad_back":"Quay lại","rp_pad_cancel":"Hủy","join_check_try":"Nhấn nút và di chuyển cần: nút bạn nhấn sẽ sáng lên.","join_check_redo":"Làm lại","join_check_map":"Thiết lập nút","rp_pad_reset":"Đặt lại","join_open_lan_body":"Không vào được internet? Nếu bạn dùng cùng Wi-Fi với bạn mình, hãy mở trò chơi ở đó.","join_open_lan":"Mở trên Wi-Fi này","join_path_lan":"Mạng nhà","join_seat_taken":"{host} cần lấy lại tay cầm và trên PS5 không còn tay cầm nào trống, nên bạn đã rời trò chơi. Hãy nhờ {host} cho bạn vào lại.","join_refused_key":"Lời mời này đã hết hạn. Hãy xin {host} liên kết mới.","join_refused_expired":"Bạn đã mất chỗ trong trò chơi. Hãy nhờ {host} cho vào lại.","join_refused_full":"Trò chơi đã đủ người: đã có bốn người chơi.","join_refused_denied":"Lần này {host} chưa cho bạn vào.","join_refused_no_answer":"{host} không trả lời kịp. Hãy báo {host}, rồi thử lại.","join_refused_closed":"{host} hiện không mở Chơi cùng nhau.","join_refused_old_helper":"PS5 của {host} cần cập nhật trình trợ giúp để Chơi cùng nhau.","join_refused_not_playing":"{host} hiện không chơi. Hãy nhờ {host} bắt đầu Chơi trước.","join_refused_unreachable":"Máy tính của {host} không kết nối được với PS5. Hãy thử lại sau giây lát.","join_refused_slow_down":"Nhập sai mã quá nhiều lần. Hãy đợi một phút rồi thử lại.","join_refused_address":"Địa chỉ của liên kết này nằm ngoài mạng gia đình nên ứng dụng sẽ không dùng. Hãy nhờ {host} gửi liên kết có địa chỉ IP của máy tính.","join_refused_other":"{host} không cho bạn vào.","join_ended_kicked":"{host} đã mời bạn ra khỏi trò chơi.","join_ended_closed":"{host} đã đóng Chơi cùng nhau.","join_ended_host_stopped":"Chủ phòng đã dừng chơi.","join_ended_replaced":"Trò chơi này đã được mở ở tab khác hoặc thiết bị khác, nên đã dừng ở đây.","join_ended_pad_lost":"PS5 đã mất tay cầm của bạn, nên bạn đã ra khỏi trò chơi. Hãy nhờ {host} cho vào lại.","join_ended_gave_up":"Kết nối tới {host} không trở lại kịp.","join_net_lost":"Kết nối tới {host} đã bị ngắt. Hãy kiểm tra kết nối internet, rồi xin vào lại.","join_ended_lost":"Không liên lạc được với {host}. Hãy kiểm tra hai bên có cùng mạng không.","join_ended_left":"Bạn đã rời trò chơi.","join_net_mismatch":"Liên kết này không khớp với chủ phòng; hãy xin họ một liên kết mới.","join_net_no_direct":"Không thể kết nối trực tiếp từ mạng này (bộ định tuyến của cả hai bên đều chặt). Hãy thử Wi-Fi thay cho dữ liệu di động, hoặc nhờ chủ phòng bật UPnP.","join_net_no_room":"Lời mời này không còn mở. Hãy xin {host} một liên kết mới.","join_net_full":"Trò chơi của {host} hiện không còn chỗ cho thêm một người bạn. Hãy thử lại sau giây lát.","join_net_no_hub":"Không liên lạc được với dịch vụ lời mời của PS5Upload. Hãy kiểm tra kết nối internet rồi thử lại.","join_net_offer":"Máy tính của {host} không kết nối được với trình duyệt này. Hãy thử trình duyệt khác.","join_net_no_webrtc":"Trình duyệt này không thể tạo kết nối trực tiếp. Hãy thử Chrome, Safari hoặc Firefox bản mới.","join_cancel":"Hủy","join_host_fallback":"bạn của bạn","join_connecting":"Đang kết nối tới {host}…","join_waiting":"Đang chờ {host} cho bạn vào","join_waiting_body":"{host} sẽ thấy tên bạn trên màn hình và chạm Cho phép.","join_retry":"Thử lại","join_again":"Xin vào lại","join_playing_at":"Đang chơi ở chỗ {host}","join_you_are":"Bạn là Người chơi {n}","join_seat_stream":"Bạn đang chơi bằng người dùng PS5 của {host}. Không cần chọn người dùng.","join_plays_as":"Bạn đang chơi bằng {profile}. Không cần chọn.","join_seat_tv_asks":"{host} đã chọn một hồ sơ cho bạn nhưng không dùng được. TV sẽ hỏi bạn là ai.","join_picking":"Bấm PS, rồi chọn Chơi nhanh trên TV","join_hide_controls":"Ẩn","join_sound":"Chạm để bật tiếng","rp_unmute":"Bật âm thanh","rp_mute":"Tắt tiếng","join_no_sound":"Trình duyệt này không phát được âm thanh","join_exit_fullscreen":"Thoát toàn màn hình","pad_fill":"Toàn màn hình","join_leave":"Rời đi","join_show_controls":"Hiện các nút điều khiển","join_hold_hint":"Nhấn giữ hình ảnh để hiện các nút","pad_watch_no_hevc":"Thiết bị này không phát được hình của stream này: máy tính truyền HEVC, còn thiết bị này chỉ phát H.264.","pad_watch_decode":"Không phát được hình ở đây.","join_pad_ready":"Tay cầm của bạn đã sẵn sàng","join_check_unknown_short":"Không có trong danh sách: các nút có thể bị lẫn.","join_full_to_play":"Chạm toàn màn hình để chơi bằng tay cầm trên màn hình.","join_pad_none":"Kết nối tay cầm (USB hoặc Bluetooth) rồi bấm nút bất kỳ.","join_pad_keys":"Hoặc dùng bàn phím: WASD di chuyển, phím mũi tên D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Nhấn Quay lại trên điều khiển từ xa để hiện các nút.","join_block_note":"{host} đã tắt PS và Create với bạn bè.","join_guide_title":"Thêm một bước trên TV","join_guide_body":"Bấm PS một lần trên tay cầm. TV sẽ hỏi \"Ai đang dùng tay cầm này?\". Chọn Chơi nhanh hoặc người dùng của bạn. Chủ phòng không cần làm gì.","join_guide_menus":"Trên màn hình chính PS5 chỉ chủ phòng điều khiển menu; tay cầm của bạn chơi bên trong trò chơi.","join_guide_ok":"Đã hiểu","join_host_away":"Chủ phòng đã dừng chơi — đang chờ họ chơi lại ({time})","join_reconnecting":"Đang kết nối lại…","join_reconnecting_left":"Chỗ của bạn được giữ trong {time}.","pad_turn":"Xoay ngang điện thoại","join_game_label":"Trò chơi của {host}","join_title":"Vào trò chơi của bạn bè","join_title_body":"Chơi trên PS5 của {host} với vai Người chơi 2, 3 hoặc 4.","join_name_label":"Tên của bạn","join_name_hint":"Bạn bè sẽ thấy tên này khi bạn xin vào.","join_button":"Vào chơi"},"zh-CN":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 文件","usb_skipped_unknown":"{id}:已不在 Payload 列表中","browser_unsupported":"这需要桌面应用,无法在浏览器中使用。","video_recovered_notice":"上次 Play 在开始显示画面时崩溃,因此画面现在不使用显卡解码(可在 设置 › 窗口 › 图形 › 硬件视频解码 中更改)。","video_recovered_title":"画面现由软件解码","open_in_title":"在 PS5Upload 应用中打开?","open_in_body":"这台设备装了 PS5Upload 应用?可以在应用中打开,或继续使用浏览器。","open_in_app":"在应用中打开","open_in_browser":"继续使用浏览器","open_in_remember":"在此设备上记住我的选择","open_in_opening":"正在打开 PS5Upload 应用…","open_in_not_opened":"没有反应?这台设备可能没有安装应用。","open_in_again":"重试","pad_8bitdo_no_xinput":"这款 8BitDo 没有 X-input 模式。如果有按键不对,请检查手柄。","pad_8bitdo_how_switch":"把背面的开关拨到 X,然后按 Start","pad_8bitdo_how_startx":"先关机,然后按住 Start + X 开机","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 线","pad_8bitdo_how_manual":"方法见其说明书","pad_8bitdo_xinput":"为获得最佳效果,请将 8BitDo 切换到 X-input 模式:{how}。","rp_touch_left_stick":"左摇杆","rp_touch_right_stick":"右摇杆","rp_touch_touchpad":"触摸板","rp_menu":"菜单","rp_pad_step_lx":"将左摇杆推向右","rp_pad_step_ly":"将左摇杆推向下","rp_pad_step_rx":"将右摇杆推向右","rp_pad_step_ry":"将右摇杆推向下","join_check_bottom":"按下方的功能键 (✕)","join_check_right":"按右侧的功能键 (○)","join_check_left":"按左侧的功能键 (□)","join_check_top":"按上方的功能键 (△)","rp_pad_press":"按 {name}","join_check_saved":"已在此设备上为这个手柄保存。可在下方试用。","join_check_title":"检查你的手柄","join_done":"完成","rp_pads_none":"还没有检测到手柄。请连接一个手柄并按任意按钮。","rp_pad_mapped":"使用你的按键映射","join_check_unknown":"这个手柄不在我们的列表中,按键可能会错位。设置只需几秒钟。","rp_pad_standard":"已识别","rp_pad_progress":"{n}/{total}","rp_pad_skip":"跳过","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按键、推动摇杆:按下的部分会亮起。","join_check_redo":"重新设置","join_check_map":"设置按键","rp_pad_reset":"重置","join_open_lan_body":"连不上互联网?如果你和朋友在同一个 Wi-Fi 上,就在那里打开游戏。","join_open_lan":"在此 Wi-Fi 上打开","join_path_lan":"家庭网络","join_path_internet":"互联网","join_seat_taken":"{host} 需要收回手柄,而 PS5 上没有其他空闲手柄,所以你已退出游戏。请 {host} 再次让你加入。","join_refused_key":"此邀请已过期。请向 {host} 要一个新链接。","join_refused_expired":"你在游戏中的位置已失去。请让 {host} 再次放你进去。","join_refused_full":"游戏已满:已经有四名玩家。","join_refused_denied":"{host} 这次没有让你加入。","join_refused_no_answer":"{host} 没有及时响应。请告诉 {host},然后重试。","join_refused_closed":"{host} 目前没有开启一起畅玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起畅玩。","join_refused_not_playing":"{host} 现在没在玩。请让 {host} 先开始畅玩。","join_refused_unreachable":"{host} 的电脑无法连接到其 PS5。请稍后再试。","join_refused_slow_down":"错误的代码太多。请等一分钟后再试。","join_refused_address":"此链接的地址不在你的家庭网络内,因此应用不会使用它。请向 {host} 索取包含其电脑 IP 地址的链接。","join_refused_other":"{host} 没有让你加入。","join_ended_kicked":"{host} 已将你移出游戏。","join_ended_closed":"{host} 已关闭一起畅玩。","join_ended_host_stopped":"房主已停止游戏。","join_ended_replaced":"这场游戏在另一个标签页或另一台设备上打开了,所以这里已停止。","join_ended_pad_lost":"PS5 丢失了你的手柄,所以你已退出游戏。请让 {host} 再次放你进去。","join_ended_gave_up":"与 {host} 的连接未能及时恢复。","join_net_lost":"与 {host} 的连接已断开。请检查你的互联网连接,然后重新请求。","join_ended_lost":"无法连接到 {host}。请检查你们是否在同一网络。","join_ended_left":"你已离开游戏。","join_net_mismatch":"此链接与主机不匹配;请向对方要一个新链接。","join_net_no_direct":"无法从此网络直接连接(双方的路由器都很严格)。请改用 Wi-Fi 而不是移动数据,或请主机打开 UPnP。","join_net_no_room":"此邀请已失效。请向 {host} 要一个新链接。","join_net_full":"{host} 的游戏现在没有位置再加一位朋友。请稍后再试。","join_net_no_hub":"无法连接 PS5Upload 邀请服务。请检查网络连接后重试。","join_net_offer":"{host} 的电脑无法连接到此浏览器。请换一个浏览器试试。","join_net_no_webrtc":"此浏览器无法建立直接连接。请使用较新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在连接 {host}…","join_waiting":"正在等待 {host} 让你加入","join_waiting_body":"{host} 会在屏幕上看到你的名字并点按“允许”。","join_retry":"重试","join_again":"再次请求加入","join_playing_at":"正在 {host} 那里玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 用户身份游玩,无需选择用户。","join_plays_as":"你正在以 {profile} 的身份游玩,无需选择。","join_seat_tv_asks":"{host} 为你选择了个人资料,但无法使用。电视会询问你是谁。","join_picking":"按 PS 键,然后在电视上选择“快速游戏”","join_hide_controls":"隐藏","join_sound":"点按开启声音","rp_unmute":"开启声音","rp_mute":"静音","join_no_sound":"此浏览器无法播放声音","join_exit_fullscreen":"退出全屏","pad_fill":"全屏","join_leave":"离开","join_show_controls":"显示控制按钮","join_hold_hint":"长按画面以显示按钮","pad_watch_no_hevc":"此设备无法播放这个串流的画面:电脑以 HEVC 串流,而此设备只能播放 H.264。","pad_watch_decode":"无法在这里播放画面。","join_pad_ready":"你的手柄已就绪","join_check_unknown_short":"不在我们的列表中:按键可能错位。","join_full_to_play":"点按全屏,即可用屏幕手柄游玩。","join_pad_none":"连接手柄(USB 或 Bluetooth),然后按任意键。","join_pad_keys":"也可以用键盘:WASD 移动,方向键为十字键,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遥控器上的返回键显示按钮。","join_block_note":"{host} 已为好友关闭 PS 和 Create 键。","join_guide_title":"电视上还差一步","join_guide_body":"在手柄上按一次 PS 键。电视会询问“谁在使用这个手柄?”。选择“快速游戏”或你自己的用户。主机玩家无需任何操作。","join_guide_menus":"在 PS5 主屏幕上只有房主能操作菜单;你的手柄在游戏里使用。","join_guide_ok":"知道了","join_host_away":"房主已停止游戏 — 正在等待对方重新开始({time})","join_reconnecting":"正在重新连接…","join_reconnecting_left":"你的位置会保留 {time}。","pad_turn":"请横放手机","join_game_label":"{host} 的游戏","join_title":"加入好友的游戏","join_title_body":"在 {host} 的 PS5 上作为玩家 2、3 或 4 游玩。","join_name_label":"你的名字","join_name_hint":"你请求加入时,好友会看到这个名字。","join_button":"加入"},"zh-TW":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 檔案","usb_skipped_unknown":"{id}:已不在 Payload 清單中","browser_unsupported":"這需要桌面應用程式,無法在瀏覽器中使用。","video_recovered_notice":"上次 Play 在開始顯示畫面時當掉,因此畫面現在不使用顯示卡解碼(可在 設定 › 視窗 › 圖形 › 硬體視訊解碼 中變更)。","video_recovered_title":"畫面現改由軟體解碼","open_in_title":"在 PS5Upload 應用程式中開啟?","open_in_body":"這台裝置有 PS5Upload 應用程式?可以在應用程式中開啟,或繼續使用瀏覽器。","open_in_app":"在應用程式中開啟","open_in_browser":"繼續使用瀏覽器","open_in_remember":"在此裝置上記住我的選擇","open_in_opening":"正在開啟 PS5Upload 應用程式…","open_in_not_opened":"沒有反應?這台裝置可能沒有安裝應用程式。","open_in_again":"重試","pad_8bitdo_no_xinput":"這款 8BitDo 沒有 X-input 模式。如果有按鍵不對,請檢查控制器。","pad_8bitdo_how_switch":"把背面的開關撥到 X,然後按 Start","pad_8bitdo_how_startx":"先關機,然後按住 Start + X 開機","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 線","pad_8bitdo_how_manual":"方法請見其說明書","pad_8bitdo_xinput":"為獲得最佳效果,請將 8BitDo 切換到 X-input 模式:{how}。","rp_touch_left_stick":"左類比搖桿","rp_touch_right_stick":"右類比搖桿","rp_touch_touchpad":"觸控板","rp_menu":"選單","rp_pad_step_lx":"將左類比搖桿推向右","rp_pad_step_ly":"將左類比搖桿推向下","rp_pad_step_rx":"將右類比搖桿推向右","rp_pad_step_ry":"將右類比搖桿推向下","join_check_bottom":"按下方的功能鍵 (✕)","join_check_right":"按右側的功能鍵 (○)","join_check_left":"按左側的功能鍵 (□)","join_check_top":"按上方的功能鍵 (△)","rp_pad_press":"按下 {name}","join_check_saved":"已在此裝置上為這個控制器儲存。可在下方試用。","join_check_title":"檢查你的控制器","join_done":"完成","rp_pads_none":"尚未偵測到控制器。請連接一個控制器並按下任一按鈕。","rp_pad_mapped":"使用你的按鍵對應","join_check_unknown":"這個控制器不在我們的清單中,按鍵可能會錯位。設定只需幾秒鐘。","rp_pad_standard":"已辨識","rp_pad_progress":"{n}/{total}","rp_pad_skip":"略過","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按鍵、推動搖桿:按下的部分會亮起。","join_check_redo":"重新設定","join_check_map":"設定按鍵","rp_pad_reset":"重設","join_open_lan_body":"連不上網際網路?如果你和朋友在同一個 Wi-Fi 上,就在那裡開啟遊戲。","join_open_lan":"在此 Wi-Fi 上開啟","join_path_lan":"家用網路","join_path_internet":"網際網路","join_seat_taken":"{host} 需要收回控制器,而 PS5 上沒有其他空閒的控制器,所以你已離開遊戲。請 {host} 再次讓你加入。","join_refused_key":"此邀請已過期。請向 {host} 要一個新連結。","join_refused_expired":"你在遊戲中的位置已失去。請讓 {host} 再次放你進去。","join_refused_full":"遊戲已滿:已經有四名玩家。","join_refused_denied":"{host} 這次沒有讓你加入。","join_refused_no_answer":"{host} 沒有及時回應。請告訴 {host},然後再試一次。","join_refused_closed":"{host} 目前沒有開啟一起暢玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起暢玩。","join_refused_not_playing":"{host} 現在沒在玩。請讓 {host} 先開始暢玩。","join_refused_unreachable":"{host} 的電腦無法連線到其 PS5。請稍後再試。","join_refused_slow_down":"錯誤的代碼太多。請等一分鐘後再試。","join_refused_address":"此連結的位址不在你的家用網路內,因此應用程式不會使用它。請向 {host} 索取包含其電腦 IP 位址的連結。","join_refused_other":"{host} 沒有讓你加入。","join_ended_kicked":"{host} 已將你移出遊戲。","join_ended_closed":"{host} 已關閉一起暢玩。","join_ended_host_stopped":"房主已停止遊戲。","join_ended_replaced":"這場遊戲在另一個分頁或另一台裝置上開啟了,所以這裡已停止。","join_ended_pad_lost":"PS5 遺失了你的控制器,所以你已退出遊戲。請讓 {host} 再次放你進去。","join_ended_gave_up":"與 {host} 的連線未能及時恢復。","join_net_lost":"與 {host} 的連線已中斷。請檢查你的網際網路連線,然後重新要求。","join_ended_lost":"無法連線到 {host}。請確認你們是否在同一個網路。","join_ended_left":"你已離開遊戲。","join_net_mismatch":"這個連結與主機不符;請向對方要一個新連結。","join_net_no_direct":"無法從這個網路直接連線(雙方的路由器都很嚴格)。請改用 Wi-Fi 而非行動數據,或請主機開啟 UPnP。","join_net_no_room":"這個邀請已失效。請向 {host} 要一個新連結。","join_net_full":"{host} 的遊戲目前沒有位置再加一位朋友。請稍後再試。","join_net_no_hub":"無法連線到 PS5Upload 邀請服務。請檢查網路連線後再試一次。","join_net_offer":"{host} 的電腦無法連線到這個瀏覽器。請換個瀏覽器試試。","join_net_no_webrtc":"這個瀏覽器無法建立直接連線。請使用較新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在連線到 {host}…","join_waiting":"正在等待 {host} 讓你加入","join_waiting_body":"{host} 會在螢幕上看到你的名字並點選「允許」。","join_retry":"重試","join_again":"再次要求加入","join_playing_at":"正在 {host} 那裡玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 使用者身分遊玩,不需要選擇使用者。","join_plays_as":"你正以 {profile} 的身分遊玩,無需選擇。","join_seat_tv_asks":"{host} 為你選了一個個人檔案,但無法使用。電視會詢問你是誰。","join_picking":"按下 PS,然後在電視上選擇「快速遊玩」","join_hide_controls":"隱藏","join_sound":"點一下開啟聲音","rp_unmute":"開啟聲音","rp_mute":"靜音","join_no_sound":"此瀏覽器無法播放聲音","join_exit_fullscreen":"離開全螢幕","pad_fill":"全螢幕","join_leave":"離開","join_show_controls":"顯示控制項","join_hold_hint":"長按畫面以顯示按鈕","pad_watch_no_hevc":"此裝置無法播放這個串流的畫面:電腦以 HEVC 串流,而此裝置只能播放 H.264。","pad_watch_decode":"無法在這裡播放畫面。","join_pad_ready":"你的控制器已就緒","join_check_unknown_short":"不在我們的清單中:按鍵可能錯位。","join_full_to_play":"點一下全螢幕,即可用螢幕上的控制器遊玩。","join_pad_none":"連接控制器(USB 或 Bluetooth),然後按任意按鈕。","join_pad_keys":"也可以用鍵盤:WASD 移動,方向鍵為十字鍵,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遙控器上的返回鍵以顯示按鈕。","join_block_note":"{host} 已為好友關閉 PS 和 Create 按鈕。","join_guide_title":"電視上還差一步","join_guide_body":"在控制器上按一次 PS 按鈕。電視會詢問「誰在使用這支控制器?」。選擇「快速遊玩」或你自己的使用者。主持人不需要任何操作。","join_guide_menus":"在 PS5 主畫面上只有房主能操作選單;你的控制器在遊戲裡使用。","join_guide_ok":"知道了","join_host_away":"房主已停止遊戲 — 正在等待對方重新開始({time})","join_reconnecting":"正在重新連線…","join_reconnecting_left":"你的位置會保留 {time}。","pad_turn":"請橫放手機","join_game_label":"{host} 的遊戲","join_title":"加入好友的遊戲","join_title_body":"在 {host} 的 PS5 上以玩家 2、3 或 4 的身分遊玩。","join_name_label":"你的名字","join_name_hint":"你要求加入時,好友會看到這個名字。","join_button":"加入"}}),ke=new Set([`ar`,`fa`]);function Ae(){let e=Object.keys(Oe);try{let t=localStorage.getItem(`ps5upload.lang`);if(t&&e.includes(t))return t}catch{}let t=typeof navigator>`u`?[]:[...navigator.languages??[],navigator.language];for(let n of t){if(!n)continue;if(e.includes(n))return n;let t=n.split(`-`)[0],r=e.find(e=>e===t);if(r)return r;if(t===`zh`)return/TW|HK|MO|Hant/i.test(n)?`zh-TW`:`zh-CN`;let i=e.find(e=>e.split(`-`)[0]===t);if(i)return i}return`en`}var je=Ae();typeof document<`u`&&(document.documentElement.lang=je,document.documentElement.dir=ke.has(je)?`rtl`:`ltr`);var Me=Oe[je]??{},Ne=Oe.en??{},Pe=(e,t)=>t?e.replace(/\{(\w+)\}/g,(e,n)=>n in t?String(t[n]):e):e,Fe=((e,t,n)=>{let r=typeof t==`string`?void 0:t,i=typeof t==`string`?t:n;return Pe(Me[e]??Ne[e]??i??e,r)});function Ie(){return Fe}var Le=4e3;function Re(e,t,n=`lan`){let r=new URLSearchParams(e.replace(/^#/,``)).get(n);if(!r)return null;try{let e=new URL(r),n=e.origin+e.pathname;return/^https?:$/.test(e.protocol)&&r===n&&RegExp(`/${t}/?$`).test(e.pathname)?n:null}catch{return null}}function ze(e,t){return t.key?`${e}#i=${encodeURIComponent(t.key)}`:t.watch?`${e}#w=1`:e}function Be(e,t=Le,n=typeof WebSocket>`u`?void 0:WebSocket){return new Promise(r=>{try{let i=new n(e),a=e=>{clearTimeout(o),i.onopen=i.onclose=i.onerror=null,i.close(),r(e)},o=setTimeout(()=>a(!1),t);i.onopen=()=>a(!0),i.onclose=i.onerror=()=>a(!1)}catch{r(!1)}})}var Ve=[`mismatch`,`no_direct`,`no_room`,`net_full`,`no_hub`,`offer`,`no_webrtc`],He=4100;function Ue(e){if(!e||e.code!==4100||typeof e.reason!=`string`||!e.reason.startsWith(`net:`))return null;let t=e.reason.slice(4);return Ve.includes(t)?t:null}var We=new Set([`key`,`expired`,`full`,`denied`,`no_answer`,`closed`,`old_helper`,`not_playing`,`unreachable`,`slow_down`,`address`,`seat_taken`]),Ge={kicked:`kicked`,host_stopped:`host_stopped`,replaced:`replaced`,lost:`pad_lost`,seat_taken:`seat_taken`},Ke=new Set([`asking`,`picking_user`,`playing`,`reconnecting`,`left`]),qe=e=>Math.max(0,Math.min(255,Math.round(Number(e)||0)));function Je(e){let t;try{let n=JSON.parse(e);if(!n||typeof n!=`object`)return null;t=n}catch{return null}if(typeof t.pong==`number`)return{kind:`pong`,t:t.pong};if(t.stage===`asking`)return{kind:`asking`};if(t.stage===`waiting`)return{kind:`waiting`};if(t.stage===`joined`&&typeof t.player==`number`&&typeof t.token==`string`)return{kind:`joined`,player:t.player,token:t.token,hevc:t.hevc===!0,track:t.track===!0,audio:t.audio===!0};if(t.stage===`refused`){let e=String(t.why??``);return{kind:`refused`,why:We.has(e)?e:`refused`}}if(typeof t.bye==`string`)return{kind:`bye`,why:Object.prototype.hasOwnProperty.call(Ge,t.bye)?Ge[t.bye]:`closed`};if(t.status&&typeof t.status==`object`){let e=t.status,n=typeof e.state==`string`&&Ke.has(e.state)?e.state:null;return{kind:`status`,status:{player:typeof e.player==`number`?e.player:0,state:n,rttMs:typeof e.rtt_ms==`number`?e.rtt_ms:null,host:typeof e.host==`string`&&e.host?e.host:null,blockSystem:e.block_system===!0,streamSeat:e.stream_seat===!0,playsAs:typeof e.plays_as==`string`&&e.plays_as?e.plays_as:null,seatNote:typeof e.seat_note==`string`&&e.seat_note?e.seat_note:null}}}let n=Array.isArray(t.rumble)?[qe(t.rumble[0]),qe(t.rumble[1])]:null,r=Array.isArray(t.light)?[qe(t.light[0]),qe(t.light[1]),qe(t.light[2])]:null;return n||r?{kind:`feedback`,rumble:n,light:r}:null}function Ye(e){return Math.max(-32768,Math.min(32767,Math.round(e)))+32768>>8}function Xe([e,t]){return[Math.max(0,Math.min(1919,Math.round(e))),Math.max(0,Math.min(1079,Math.round(t*1079/941)))]}function Ze(e,t){let n=t.touch?[[0,...Xe(t.touch)]]:[],r=t.motion??null,i=16+n.length*5+(r?25:0),a=new ArrayBuffer(i),o=new DataView(a),s=0;o.setUint8(s++,1),o.setUint32(s,e>>>0,!0),s+=4,o.setUint32(s,t.buttons>>>0,!0),s+=4;for(let e of[t.lx,t.ly,t.rx,t.ry])o.setUint8(s++,Ye(e));o.setUint8(s++,qe(t.l2)),o.setUint8(s++,qe(t.r2)),o.setUint8(s++,n.length);for(let[e,t,r]of n)o.setUint8(s++,e),o.setUint16(s,t,!0),s+=2,o.setUint16(s,r,!0),s+=2;if(r){o.setUint8(s++,2);for(let e of[...r.gyro,...r.accel])o.setFloat32(s,e/1e3,!0),s+=4}return new Uint8Array(a)}function Qe(e){return Math.min(4e3,250*2**Math.max(0,Math.min(e,10)))}var $e=6e4,et=6e4;function tt(e){return e&&/^[0-9A-Fa-f]{2}(:[0-9A-Fa-f]{2}){31}$/.test(e)?e.toUpperCase():null}function nt(e){let t=new URLSearchParams(e.replace(/^#/,``)),n=t.get(`room`)??``,r=t.get(`k`)??``,i=t.get(`fp`)??``,a=t.get(`hub`)??``;return!/^[A-Za-z0-9_-]{22}$/.test(n)||!/^[A-Za-z0-9_-]{8,128}$/.test(r)||!tt(i)||!/^([A-Za-z0-9.-]{1,253}|\[[0-9A-Fa-f:.]{2,45}\])(:\d{1,5})?$/.test(a)?null:{room:n,key:r,fp:i.toUpperCase(),hub:a}}function rt(e){return`ps5upload://join?link=${encodeURIComponent(e)}`}function it(e){return e==null||!Number.isFinite(e)?`none`:e<60?`good`:e<120?`fair`:`slow`}function at(e){switch(e){case 1:return[0,0,255];case 2:return[255,0,0];case 3:return[0,255,0];default:return[255,0,255]}}var ot=(e,t)=>`#version 300 es +`+e.stack}}var Ve=Object.prototype.hasOwnProperty,He=t.unstable_scheduleCallback,Ue=t.unstable_cancelCallback,We=t.unstable_shouldYield,Ge=t.unstable_requestPaint,Ke=t.unstable_now,qe=t.unstable_getCurrentPriorityLevel,Je=t.unstable_ImmediatePriority,Ye=t.unstable_UserBlockingPriority,Xe=t.unstable_NormalPriority,Ze=t.unstable_LowPriority,Qe=t.unstable_IdlePriority,$e=t.log,et=t.unstable_setDisableYieldValue,tt=null,nt=null;function rt(e){if(typeof $e==`function`&&et(e),nt&&typeof nt.setStrictMode==`function`)try{nt.setStrictMode(tt,e)}catch{}}var it=Math.clz32?Math.clz32:st,at=Math.log,ot=Math.LN2;function st(e){return e>>>=0,e===0?32:31-(at(e)/ot|0)|0}var ct=256,lt=262144,ut=4194304;function dt(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ft(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=dt(n))):i=dt(o):i=dt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=dt(n))):i=dt(o)):i=dt(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function pt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function mt(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function vt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function yt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=vr),xr=` `,Sr=!1;function Cr(e,t){switch(e){case`keyup`:return gr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function wr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Tr=!1;function Er(e,t){switch(e){case`compositionend`:return wr(t);case`keypress`:return t.which===32?(Sr=!0,xr):null;case`textInput`:return e=t.data,e===xr&&Sr?null:e;default:return null}}function Dr(e,t){if(Tr)return e===`compositionend`||!_r&&Cr(e,t)?(e=zn(),Rn=Ln=In=null,Tr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Xr(n)}}function Qr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $r(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yr(e.document)}return t}function ei(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var ti=Nn&&`documentMode`in document&&11>=document.documentMode,ni=null,ri=null,ii=null,ai=!1;function oi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ai||ni==null||ni!==Yr(r)||(r=ni,`selectionStart`in r&&ei(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ii&&Jr(ii,r)||(ii=r,r=Jf(ri,`onSelect`),0>=o,i-=o,ea=1<<32-it(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),L&&na(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),L&&na(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return L&&na(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),L&&na(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===ie&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case ne:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===ie){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),uo(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&ro(l)===r.type){n(e,r.sibling),c=a(r,o.props),uo(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===ie?(c=F(o.props.children,e.mode,c,o.key),uo(c,o),c.return=e,e=c):(c=Vi(o.type,o.key,o.props,null,e.mode,c),uo(c,o),c.return=e,e=c)}return s(e);case re:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Wi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=ro(o),_(e,r,o,c)}if(be(o))return h(e,r,o,c);if(_e(o)){if(l=_e(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,lo(o),c);if(o.$$typeof===se)return _(e,r,ka(e,o),c);fo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Hi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{co=0;var i=_(e,t,n,r);return so=null,i}catch(t){if(t===Za||t===$a)throw t;var a=Li(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var mo=po(!0),ho=po(!1),go=!1;function _o(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function yo(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function bo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Pi(e),Ni(e,null,n),t}return Ai(e,r,t,n),Pi(e)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}function So(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Co=!1;function wo(){if(Co){var e=Ha;if(e!==null)throw e}}function To(e,t,n,r){Co=!1;var i=e.updateQueue;go=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Y&f)===f:(r&f)===f){f!==0&&f===Va&&(Co=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=E({},d,f);break a;case 2:go=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),od|=o,e.lanes=o,e.memoizedState=d}}function Eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Do(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=A.T,s={};s.types=o===null?null:o.types,A.T=s,dc(e,!1,t,n);try{var c=i(),l=A.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?uc(e,t,Ga(c,r),jd(e)):uc(e,t,r,jd(e))}catch(n){uc(e,t,{then:function(){},status:`rejected`,reason:n},jd())}finally{j.p=a,o!==null&&s.types!==null&&(o.types=s.types),A.T=o}}function ec(){}function tc(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=nc(e).queue;$s(e,a,t,xe,n===null?ec:function(){return rc(e),n(r)})}function nc(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:xe,baseState:xe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fs,lastRenderedState:xe},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fs,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rc(e){var t=nc(e);t.next===null&&(t=e.alternate.memoizedState),uc(e,t.next.queue,{},jd())}function ic(){return Oa(sh)}function ac(){return ss().memoizedState}function oc(){return ss().memoizedState}function sc(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=jd();e=yo(n);var r=bo(t,e,n);r!==null&&(Pd(r,t,n),xo(r,t,n)),t={cache:Pa()},e.payload=t;return}t=t.return}}function cc(e,t,n){var r=jd();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},fc(e)?pc(t,n):(n=ji(e,t,n,r),n!==null&&(Pd(n,e,r),mc(n,t,r)))}function lc(e,t,n){uc(e,t,n,jd())}function uc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(fc(e))pc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,qr(s,o))return Ai(e,t,i,0),q===null&&ki(),!1}catch{}if(n=ji(e,t,i,r),n!==null)return Pd(n,e,r),mc(n,t,r),!0}return!1}function dc(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},fc(e)){if(t)throw Error(i(479))}else t=ji(e,n,r,2),t!==null&&Pd(t,e,2)}function fc(e){var t=e.alternate;return e===B||t!==null&&t===B}function pc(e,t){Ko=Go=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xt(e,n)}}var hc={readContext:Oa,use:us,useCallback:H,useContext:H,useEffect:H,useImperativeHandle:H,useLayoutEffect:H,useInsertionEffect:H,useMemo:H,useReducer:H,useRef:H,useState:H,useDebugValue:H,useDeferredValue:H,useTransition:H,useSyncExternalStore:H,useId:H,useHostTransitionStatus:H,useFormState:H,useActionState:H,useOptimistic:H,useMemoCache:H,useCacheRefresh:H,useEffectEvent:H},gc={readContext:Oa,use:us,useCallback:function(e,t){return os().memoizedState=[e,t===void 0?null:t],e},useContext:Oa,useEffect:Bs,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),Rs(4194308,4,Ks.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Rs(4194308,4,e,t)},useInsertionEffect:function(e,t){Rs(4,2,e,t)},useMemo:function(e,t){var n=os();t=t===void 0?null:t;var r=e();if(qo){rt(!0);try{e()}finally{rt(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=os();if(n!==void 0){var i=n(t);if(qo){rt(!0);try{n(t)}finally{rt(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=cc.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var t=os();return e={current:e},t.memoizedState=e},useState:function(e){e=Ss(e);var t=e.queue,n=lc.bind(null,B,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Js,useDeferredValue:function(e,t){return Zs(os(),e,t)},useTransition:function(){var e=Ss(!1);return e=$s.bind(null,B,e.queue,!0,!1),os().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=B,a=os();if(L){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),q===null)throw Error(i(349));Y&127||_s(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Bs(ys.bind(null,r,o,e),[e]),r.flags|=2048,Is(9,{destroy:void 0},vs.bind(null,r,o,n,t),null),n},useId:function(){var e=os(),t=q.identifierPrefix;if(L){var n=ta,r=ea;n=(r&~(1<<32-it(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Jo++,0<\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[Ot]=t,o[kt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(np(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&ml(t)}}return U(t),t.subtreeFlags&=-33554433,hl(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&ml(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=Oe.current,ma(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=sa,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Ot]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||ep(e.nodeValue,n)),e||da(t,!0)}else e=lp(e).createTextNode(r),e[Ot]=t,t.stateNode=e}return U(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=ma(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;U(t),e=!1}else n=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(zo(t),t):(zo(t),null);if(t.flags&128)throw Error(i(558))}return U(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=ma(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[Ot]=t}else ha(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;U(t),a=!1}else a=ga(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(zo(t),t):(zo(t),null)}return zo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),_l(t,t.updateQueue),U(t),null);case 4:return je(),e===null&&Wf(t.stateNode.containerInfo),t.flags|=67108864,U(t),null;case 10:return Sa(t.type),U(t),null;case 19:if(Vo(t),r=t.memoizedState,r===null)return U(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)vl(r,!1);else{if(ad!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ho(e),o!==null){for(t.flags|=128,vl(r,!1),e=o.updateQueue,t.updateQueue=e,_l(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Bi(n,e),n=n.sibling;return z(t,Bo.current&1|2),L&&na(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ke()>gd&&(t.flags|=128,a=!0,vl(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Ho(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,_l(t,e),vl(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!L)return U(t),null}else 2*Ke()-r.renderingStartTime>gd&&n!==536870912&&(t.flags|=128,a=!0,vl(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ke(),e.sibling=null,o=Bo.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||L?z(t,o):(n=o,M(No,t),M(Bo,n),Po===null&&(Po=t)),L&&na(t,r.treeForkCount),e}return U(t),null;case 22:case 23:return zo(t),Mo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(U(t),t.subtreeFlags&6&&(t.flags|=8192)):U(t),n=t.updateQueue,n!==null&&_l(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&Te(qa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Sa(Na),U(t),null;case 25:return null;case 30:return t.flags|=33554432,U(t),null}throw Error(i(156,t.tag))}function bl(e,t){switch(aa(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(Na),je(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ne(t),null;case 31:if(t.memoizedState!==null){if(zo(t),t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(zo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ha()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Vo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return je(),null;case 10:return Sa(t.type),null;case 22:case 23:return zo(t),Mo(),e!==null&&Te(qa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(Na),null;case 25:return null;default:return null}}function xl(e,t){switch(aa(t),t.tag){case 3:Sa(Na),je();break;case 26:case 27:case 5:Ne(t);break;case 4:je();break;case 31:t.memoizedState!==null&&zo(t);break;case 13:zo(t);break;case 19:Vo(t);break;case 10:Sa(t.type);break;case 22:case 23:zo(t),Mo(),e!==null&&Te(qa);break;case 24:Sa(Na)}}function Sl(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Z(t,t.return,e)}}function Cl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function wl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Do(t,n)}catch(t){Z(e,e.return,t)}}}function Tl(e,t,n){n.props=Cc(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function El(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=Si(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Pp(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Fp(e);f(e.child,!1,Qp,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Z(e,t,n)}}function Dl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Z(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Z(e,t,n)}else n.current=null}}function Ol(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),np(r,t,n),r[Ot]=e,Ht(r),t=r;break a;case`link`:if(o=Gm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=Zr(s,h),v=Zr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,A.T=null,n=wd,wd=null;var o=bd,s=Sd;if(yd=0,xd=bd=null,Sd=0,K&6)throw Error(i(331));var c=K;if(K|=4,Yu(o.current),Vu(o,o.current,s,n),K=c,Df(0,!1),nt&&typeof nt.onPostCommitFiberRoot==`function`)try{nt.onPostCommitFiberRoot(tt,o)}catch{}return!0}finally{j.p=a,A.T=r,uf(e,t)}}function pf(e,t,n){t=Ki(n,t),t=kc(e.stateNode,t,2),e=bo(e,t,2),e!==null&&(vt(e,2),Ef(e))}function Z(e,t,n){if(e.tag===3)pf(e,e,n);else for(;t!==null;){if(t.tag===3){pf(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(vd===null||!vd.has(r))){e=Ki(n,e),n=Ac(2),r=bo(t,n,2),r!==null&&(jc(n,r,t,e),vt(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $u;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(rd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(ad===4||ad===3&&(Y&62914560)===Y&&300>Ke()-md?K&2?cd|=n:Vd(e,0):cd|=n,ud===Y&&(ud=0)),Ef(e)}function gf(e,t){t===0&&(t=gt()),e=Mi(e,t),e!==null&&(vt(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return He(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-it(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Y,a=ft(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||pt(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&hp()&&(e=Tf);for(var t=Ke(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}yd!==0&&yd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&ap(d)&&(c=c.responseEnd,o+=u*(c$m){s.length=o;break}f=new Promise(jp.bind(f)),s.push(f)}}}if(0`u`?null:document;function Tm(e,t,n){var r=wm;if(r&&typeof t==`string`&&t){var i=ln(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),ym.has(i)||(ym.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),np(t,`link`,e),Ht(t),r.head.appendChild(t)))}}function Em(e){xm.D(e),Tm(`dns-prefetch`,e,null)}function Dm(e,t){xm.C(e,t),Tm(`preconnect`,e,t)}function Om(e,t,n){xm.L(e,t,n);var r=wm;if(r&&e&&t){var i=`link[rel="preload"][as="`+ln(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+ln(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+ln(n.imageSizes)+`"]`)):i+=`[href="`+ln(e)+`"]`;var a=i;switch(t){case`style`:a=Pm(e);break;case`script`:a=Rm(e)}if(!(vm.has(a)||(e=E({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),vm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fm(a))||t===`script`&&r.querySelector(zm(a))))){var o=r.createElement(`link`);np(o,`link`,e),t===`style`&&(o[It]=!0,o.onload=o.onerror=function(){Ut(o)}),Ht(o),r.head.appendChild(o)}}}function km(e,t){xm.m(e,t);var n=wm;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+ln(r)+`"][href="`+ln(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rm(e)}if(!vm.has(a)&&(e=E({rel:`modulepreload`,href:e},t),vm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zm(a)))return}r=n.createElement(`link`),np(r,`link`,e),Ht(r),n.head.appendChild(r)}}}function Am(e,t,n){xm.S(e,t,n);var r=wm;if(r&&e){var i=Vt(r).hoistableStyles,a=Pm(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Fm(a)))s.loading=5;else{e=E({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=vm.get(a))&&Hm(e,n);var c=o=r.createElement(`link`);Ht(c),np(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Vm(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function jm(e,t){xm.X(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mm(e,t){xm.M(e,t);var n=wm;if(n&&e){var r=Vt(n).hoistableScripts,i=Rm(e),a=r.get(i);a||(a=n.querySelector(zm(i)),a||(e=E({src:e,async:!0,type:`module`},t),(t=vm.get(i))&&Um(e,t),a=n.createElement(`script`),Ht(a),np(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Nm(e,t,n,r){var a=(a=Oe.current)?bm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pm(n.href),t=Vt(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pm(n.href);var o=Vt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Fm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=vm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},vm.set(e,o)),Lm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rm(n),t=Vt(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Pm(e){return`href="`+ln(e)+`"`}function Fm(e){return`link[rel="stylesheet"][`+e+`]`}function Im(e){return E({},e,{"data-precedence":e.precedence,precedence:null})}function Lm(e,t,n,r){if(t=e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)){if(!0!==t[It]){r.loading=1;return}}else t=e.createElement(`link`),t[It]=!0,t.onload=t.onerror=Ut.bind(null,t),np(t,`link`,n),Ht(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Rm(e){return`[src="`+ln(e)+`"]`}function zm(e){return`script[async]`+e}function Bm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+ln(n.href)+`"]`);if(r)return t.instance=r,Ht(r),r;var a=E({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ht(r),np(r,`style`,a),Vm(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Pm(n.href);var o=e.querySelector(Fm(a));if(o)return t.state.loading|=4,t.instance=o,Ht(o),o;r=Im(n),(a=vm.get(a))&&Hm(r,a),o=(e.ownerDocument||e).createElement(`link`),Ht(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),np(o,`link`,r),t.state.loading|=4,Vm(o,n.precedence,e),t.instance=o;case`script`:return o=Rm(n.src),(a=e.querySelector(zm(o)))?(t.instance=a,Ht(a),a):(r=n,(a=vm.get(o))&&(r=E({},n),Um(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ht(a),np(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Vm(r,n.precedence,e));return t.instance}function Vm(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function qm(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Jm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Ym(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Xm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function Zm(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Xm(t),e.suspenseyImages.push(t)),e=rh.bind(e),t.decode().then(e,e))}function Qm(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Pm(r.href),a=t.querySelector(Fm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=nh.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ht(a);return}a=t.ownerDocument||t,r=Im(r),(i=vm.get(i))&&Hm(r,i),a=a.createElement(`link`),Ht(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),np(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=nh.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var $m=0;function eh(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0$m?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function th(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)ah(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function nh(){this.count--,th(this)}function rh(){this.imgCount--,th(this)}var ih=null;function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ih=new Map,t.forEach(oh,e),ih=null,nh.call(e))}function oh(e,t){if(!(t.state.loading&4)){var n=ih.get(e);if(n)var r=n.get(null);else{n=new Map,ih.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=b()}))(),S=e=>e?.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase();function ee(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:S(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var C=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},w=e=>{let t=C(e);return t.charAt(0).toUpperCase()+t.slice(1)},T=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),E={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`};function te(e){return e!=null}function ne(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??E.width,a=e.size??e.height??E.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?T(...c):T(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??E[`stroke-width`])*Number(e.size??e.width??E.width)/Number(t.size??t.width??E.width):t.strokeWidth??E[`stroke-width`];return[`svg`,{...Object.entries(E).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&te(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&te(t.width)&&{[r(`width`)]:t.width},...`height`in t&&te(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function re(e,t={}){return ne(e,{...t,attributeNames:{...t.attributeNames,class:`className`,"stroke-width":`strokeWidth`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"vector-effect":`vectorEffect`}})}var ie=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},D=u(_(),1),ae=(0,D.createContext)({}),oe=()=>(0,D.useContext)(ae),se=(0,D.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=oe()??{},y=!!c||ie(d),[b,x,S=[]]=re(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:T(v,s),hasA11yProp:y,attributes:d});return(0,D.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,D.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function ce(e,t=[],n=[]){let r=typeof e==`string`?ee(e,t,n):e,i=(0,D.forwardRef)(({className:e,...t},n)=>(0,D.createElement)(se,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=w(r.name)),i}var le={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};le.node;var ue=ce(le),de={name:`expand`,size:24,node:[[`path`,{d:`m15 15 6 6`,key:`1s409w`}],[`path`,{d:`m15 9 6-6`,key:`ko1vev`}],[`path`,{d:`M21 16v5h-5`,key:`1ck2sf`}],[`path`,{d:`M21 8V3h-5`,key:`1qoq8a`}],[`path`,{d:`M3 16v5h5`,key:`1t08am`}],[`path`,{d:`m3 21 6-6`,key:`wwnumi`}],[`path`,{d:`M3 8V3h5`,key:`1ln10m`}],[`path`,{d:`M9 9 3 3`,key:`v551iv`}]]};de.node;var O=ce(de),fe={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};fe.node;var pe=ce(fe),k={name:`gamepad-2`,size:24,node:[[`line`,{x1:`6`,x2:`10`,y1:`11`,y2:`11`,key:`1gktln`}],[`line`,{x1:`8`,x2:`8`,y1:`9`,y2:`13`,key:`qnk9ow`}],[`line`,{x1:`15`,x2:`15.01`,y1:`12`,y2:`12`,key:`krot7o`}],[`line`,{x1:`18`,x2:`18.01`,y1:`10`,y2:`10`,key:`1lcuu1`}],[`path`,{d:`M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z`,key:`mfqc10`}]]};k.node;var me=ce(k),he={name:`log-out`,size:24,node:[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]};he.node;var ge=ce(he),_e={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};_e.node;var ve=ce(_e),ye={name:`minimize`,size:24,node:[[`path`,{d:`M8 3v3a2 2 0 0 1-2 2H3`,key:`hohbtr`}],[`path`,{d:`M21 8h-3a2 2 0 0 1-2-2V3`,key:`5jw1f3`}],[`path`,{d:`M3 16h3a2 2 0 0 1 2 2v3`,key:`198tvr`}],[`path`,{d:`M16 21v-3a2 2 0 0 1 2-2h3`,key:`ph8mxp`}]]};ye.node;var be=ce(ye),A={name:`rotate-cw`,size:24,node:[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]};A.node;var j=ce(A),xe={name:`users`,size:24,node:[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`path`,{d:`M16 3.128a4 4 0 0 1 0 7.744`,key:`16gr8j`}],[`path`,{d:`M22 21v-2a4 4 0 0 0-3-3.87`,key:`kshegd`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]};xe.node;var Se=ce(xe),Ce={name:`volume-2`,size:24,node:[[`path`,{d:`M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z`,key:`uqj9uw`}],[`path`,{d:`M16 9a5 5 0 0 1 0 6`,key:`1q6k2b`}],[`path`,{d:`M19.364 18.364a9 9 0 0 0 0-12.728`,key:`ijwkga`}]]};Ce.node;var we=ce(Ce),Te={name:`volume-x`,size:24,node:[[`path`,{d:`M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z`,key:`1p7khw`}],[`path`,{d:`m16.5 14.5 5-5`,key:`cul3yw`}],[`path`,{d:`m16.5 9.5 5 5`,key:`1akey5`}]]};Te.node;var M=ce(Te),Ee={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Ee.node;var De=ce(Ee),Oe=({"ar":{"usb_skipped_not_payload":"{name}: ليس ملف .elf أو .bin","usb_skipped_unknown":"{id}: لم يعد في قائمة الحمولات","browser_unsupported":"يتطلب هذا تطبيق سطح المكتب. لا يعمل في المتصفح.","video_recovered_notice":"تعطّل «العب» في المرة السابقة أثناء بدء الصورة، لذا يُفك ترميز الصورة الآن بدون بطاقة الرسومات (للتغيير: الإعدادات › النافذة › الرسومات › فك ترميز الفيديو بالعتاد).","video_recovered_title":"يُفك ترميز الصورة الآن برمجيًا","open_in_title":"هل تفتحه في تطبيق PS5Upload؟","open_in_body":"هل لديك تطبيق PS5Upload على هذا الجهاز؟ افتح الرابط فيه، أو تابع في المتصفح.","open_in_app":"فتح في التطبيق","open_in_browser":"المتابعة في المتصفح","open_in_remember":"تذكّر اختياري على هذا الجهاز","open_in_opening":"جارٍ فتح تطبيق PS5Upload…","open_in_not_opened":"لم يحدث شيء؟ ربما التطبيق غير مثبّت على هذا الجهاز.","open_in_again":"حاول مجددًا","pad_8bitdo_no_xinput":"لا يحتوي جهاز 8BitDo هذا على وضع X-input. إذا كان أحد الأزرار خاطئًا، فافحص وحدة التحكم.","pad_8bitdo_how_switch":"اضبط المفتاح في الخلف على X ثم اضغط Start","pad_8bitdo_how_startx":"أطفئه، ثم اضغط مطولًا على Start + X لتشغيله","pad_8bitdo_how_receiver":"استخدم جهاز الاستقبال 2.4G أو كابل USB","pad_8bitdo_how_manual":"يشرح دليله الطريقة","pad_8bitdo_xinput":"للحصول على أفضل نتيجة، بدّل وحدة 8BitDo إلى وضع X-input: {how}.","rp_touch_left_stick":"العصا اليسرى","rp_touch_right_stick":"العصا اليمنى","rp_touch_touchpad":"لوحة اللمس","rp_menu":"القائمة","rp_pad_step_lx":"ادفع العصا اليسرى إلى اليمين","rp_pad_step_ly":"ادفع العصا اليسرى إلى الأسفل","rp_pad_step_rx":"ادفع العصا اليمنى إلى اليمين","rp_pad_step_ry":"ادفع العصا اليمنى إلى الأسفل","join_check_bottom":"اضغط زر الوجه السفلي (✕)","join_check_right":"اضغط زر الوجه الأيمن (○)","join_check_left":"اضغط زر الوجه الأيسر (□)","join_check_top":"اضغط زر الوجه العلوي (△)","rp_pad_press":"اضغط {name}","join_check_saved":"تم الحفظ لوحدة التحكم هذه على هذا الجهاز. جرّبها أدناه.","join_check_title":"افحص وحدة التحكم","join_done":"تم","rp_pads_none":"لم تُرصد أي يد تحكم بعد. وصّل واحدة واضغط أي زر فيها.","rp_pad_mapped":"تلعب بتعيين أزرارك","join_check_unknown":"وحدة التحكم هذه ليست في قائمتنا، لذا قد تكون أزرارها مختلطة. يستغرق إعدادها بضع ثوانٍ.","rp_pad_standard":"معروفة","rp_pad_progress":"{n} من {total}","rp_pad_skip":"تخطٍّ","rp_pad_back":"رجوع","rp_pad_cancel":"إلغاء","join_check_try":"اضغط الأزرار وحرّك العصي: ما تضغطه يضيء.","join_check_redo":"إعادة","join_check_map":"إعداد الأزرار","rp_pad_reset":"إعادة ضبط","join_open_lan_body":"لا يمكنك الوصول إلى الإنترنت؟ إذا كنت على شبكة Wi-Fi نفسها مع صديقك، فافتح اللعبة هناك.","join_open_lan":"افتح على شبكة Wi-Fi هذه","join_path_lan":"الشبكة المنزلية","join_path_internet":"الإنترنت","join_seat_taken":"احتاج {host} إلى استعادة يد التحكم ولم تكن هناك يد تحكم أخرى متاحة على PS5، لذا خرجت من اللعبة. اطلب من {host} أن يسمح لك بالدخول مرة أخرى.","join_refused_key":"انتهت صلاحية هذه الدعوة. اطلب من {host} رابطًا جديدًا.","join_refused_expired":"فقدت مكانك في اللعبة. اطلب من {host} إدخالك مجددًا.","join_refused_full":"اللعبة ممتلئة: يوجد أربعة لاعبين بالفعل.","join_refused_denied":"لم يسمح لك {host} بالدخول هذه المرة.","join_refused_no_answer":"لم يُجب {host} في الوقت المناسب. أخبر {host} ثم حاول مرة أخرى.","join_refused_closed":"{host} لا يستضيف العب معًا الآن.","join_refused_old_helper":"يحتاج PS5 الخاص بـ {host} إلى مساعد محدّث لميزة العب معًا.","join_refused_not_playing":"{host} لا يلعب الآن. اطلب من {host} أن يبدأ اللعب أولًا.","join_refused_unreachable":"لم يتمكن حاسوب {host} من الوصول إلى جهاز PS5. حاول مرة أخرى بعد قليل.","join_refused_slow_down":"رموز خاطئة كثيرة جدًا. انتظر دقيقة ثم حاول مرة أخرى.","join_refused_address":"عنوان هذا الرابط خارج شبكتك المنزلية، لذا لن يستخدمه التطبيق. اطلب من {host} رابطًا يحمل عنوان IP لجهازه.","join_refused_other":"لم يسمح لك {host} بالدخول.","join_ended_kicked":"أخرجك {host} من اللعبة.","join_ended_closed":"أغلق {host} العب معًا.","join_ended_host_stopped":"توقف المضيف عن اللعب.","join_ended_replaced":"فُتحت هذه اللعبة في علامة تبويب أخرى أو على جهاز آخر، لذا توقفت هنا.","join_ended_pad_lost":"فقد PS5 يد التحكم الخاصة بك، لذا خرجت من اللعبة. اطلب من {host} إدخالك مجددًا.","join_ended_gave_up":"لم يعد الاتصال بـ {host} في الوقت المناسب.","join_net_lost":"انقطع الاتصال بـ{host}. تحقق من اتصالك بالإنترنت ثم اطلب مرة أخرى.","join_ended_lost":"تعذّر الوصول إلى {host}. تأكد أنكما على الشبكة نفسها.","join_ended_left":"غادرت اللعبة.","join_net_mismatch":"هذا الرابط لا يطابق المضيف؛ اطلب منه رابطًا جديدًا.","join_net_no_direct":"لا يمكن إنشاء اتصال مباشر من هذه الشبكة (الموجّهان لدى الطرفين صارمان). جرّب Wi-Fi بدلًا من بيانات الجوال، أو اطلب من المضيف تشغيل UPnP.","join_net_no_room":"هذه الدعوة لم تعد مفتوحة. اطلب من {host} رابطًا جديدًا.","join_net_full":"لا يتّسع لعب {host} لصديق آخر الآن. حاول مجددًا بعد لحظة.","join_net_no_hub":"تعذّر الوصول إلى خدمة دعوات PS5Upload. تحقّق من اتصالك بالإنترنت ثم حاول مجددًا.","join_net_offer":"تعذّر على كمبيوتر {host} الاتصال بهذا المتصفح. جرّب متصفحًا آخر.","join_net_no_webrtc":"هذا المتصفح لا يستطيع إنشاء اتصالات مباشرة. جرّب إصدارًا حديثًا من Chrome أو Safari أو Firefox.","join_cancel":"إلغاء","join_host_fallback":"صديقك","join_connecting":"جارٍ الاتصال بـ {host}…","join_waiting":"بانتظار أن يسمح لك {host} بالدخول","join_waiting_body":"يرى {host} اسمك على شاشته ويضغط سماح.","join_retry":"حاول مجددًا","join_again":"اطلب الانضمام مجددًا","join_playing_at":"تلعب لدى {host}","join_you_are":"أنت اللاعب {n}","join_seat_stream":"أنت تلعب بمستخدم PS5 الخاص بـ {host}. لا حاجة لاختيار مستخدم.","join_plays_as":"أنت تلعب باسم {profile}. لا حاجة لاختيار مستخدم.","join_seat_tv_asks":"اختار {host} ملفًا شخصيًا لك، لكن تعذّر استخدامه. سيسألك التلفاز عن هويتك.","join_picking":"اضغط PS، ثم اختر اللعب السريع على التلفاز","join_hide_controls":"إخفاء","join_sound":"اضغط لتشغيل الصوت","rp_unmute":"تشغيل الصوت","rp_mute":"كتم","join_no_sound":"لا يوجد صوت في هذا المتصفح","join_exit_fullscreen":"الخروج من ملء الشاشة","pad_fill":"ملء الشاشة","join_leave":"مغادرة","join_show_controls":"إظهار عناصر التحكم","join_hold_hint":"اضغط مطولاً على الصورة لإظهار الأزرار","pad_watch_no_hevc":"لا يستطيع هذا الجهاز تشغيل صورة هذا البث: الحاسوب يبث بـ HEVC وهذا الجهاز يشغّل H.264 فقط.","pad_watch_decode":"تعذّر تشغيل الصورة هنا.","join_pad_ready":"يد التحكم جاهزة","join_check_unknown_short":"ليست في قائمتنا: قد تكون الأزرار مختلطة.","join_full_to_play":"اضغط على ملء الشاشة للعب بيد التحكم التي على الشاشة.","join_pad_none":"وصّل يد تحكم (USB أو Bluetooth) واضغط أي زر.","join_pad_keys":"أو استخدم لوحة المفاتيح: WASD للتحريك، الأسهم للأزرار الاتجاهية، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"اضغط على زر الرجوع في جهاز التحكم عن بُعد لإظهار الأزرار.","join_block_note":"أوقف {host} زرَّي PS وCreate للأصدقاء.","join_guide_title":"خطوة أخيرة على التلفاز","join_guide_body":"اضغط زر PS مرة واحدة على يد التحكم. يسأل التلفاز «من يستخدم يد التحكم هذه؟». اختر اللعب السريع أو مستخدمك الخاص. لا يحتاج المضيف إلى فعل أي شيء.","join_guide_menus":"في الشاشة الرئيسية لجهاز PS5 يتحكم المضيف وحده بالقوائم؛ يد التحكم الخاصة بك تلعب داخل الألعاب.","join_guide_ok":"فهمت","join_host_away":"توقف المضيف عن اللعب — بانتظار أن يبدأ من جديد ({time})","join_reconnecting":"جارٍ إعادة الاتصال…","join_reconnecting_left":"مكانك محفوظ لمدة {time}.","pad_turn":"أدر الهاتف أفقيًا","join_game_label":"لعبة {host}","join_title":"انضم إلى لعبة صديق","join_title_body":"العب على PS5 الخاص بـ {host} كلاعب 2 أو 3 أو 4.","join_name_label":"اسمك","join_name_hint":"يرى صديقك هذا الاسم عندما تطلب الانضمام.","join_button":"انضمام"},"bn":{"usb_skipped_not_payload":"{name}: .elf বা .bin ফাইল নয়","usb_skipped_unknown":"{id}: আর পেলোড তালিকায় নেই","browser_unsupported":"এর জন্য ডেস্কটপ অ্যাপ দরকার। এটি ব্রাউজারে কাজ করে না।","video_recovered_notice":"গতবার ছবি শুরু করার সময় খেলুন ক্র্যাশ করেছিল, তাই ছবি এখন গ্রাফিক্স কার্ড ছাড়া ডিকোড হয় (বদলাতে সেটিংস › উইন্ডো › গ্রাফিক্স › হার্ডওয়্যার ভিডিও ডিকোডিং)।","video_recovered_title":"ছবি এখন সফটওয়্যারে ডিকোড হয়","open_in_title":"PS5Upload অ্যাপে খুলবেন?","open_in_body":"এই ডিভাইসে PS5Upload অ্যাপ আছে? সেখানে খুলুন, অথবা ব্রাউজারেই চালিয়ে যান।","open_in_app":"অ্যাপে খুলুন","open_in_browser":"ব্রাউজারে চালিয়ে যান","open_in_remember":"এই ডিভাইসে আমার পছন্দ মনে রাখুন","open_in_opening":"PS5Upload অ্যাপ খোলা হচ্ছে…","open_in_not_opened":"কিছু হলো না? হয়তো এই ডিভাইসে অ্যাপটি নেই।","open_in_again":"আবার চেষ্টা করুন","pad_8bitdo_no_xinput":"এই 8BitDo-তে X-input মোড নেই। কোনো বোতাম ভুল হলে কন্ট্রোলারটি পরীক্ষা করুন।","pad_8bitdo_how_switch":"পেছনের সুইচটি X-এ দিন, তারপর Start চাপুন","pad_8bitdo_how_startx":"এটি বন্ধ করুন, তারপর Start + X চেপে ধরে চালু করুন","pad_8bitdo_how_receiver":"এর 2.4G রিসিভার বা একটি USB কেবল ব্যবহার করুন","pad_8bitdo_how_manual":"এর ম্যানুয়ালে উপায় দেওয়া আছে","pad_8bitdo_xinput":"সেরা ফলের জন্য আপনার 8BitDo-কে X-input মোডে নিন: {how}।","rp_touch_left_stick":"বাম স্টিক","rp_touch_right_stick":"ডান স্টিক","rp_touch_touchpad":"টাচপ্যাড","rp_menu":"মেনু","rp_pad_step_lx":"বাম স্টিক ডানে ঠেলুন","rp_pad_step_ly":"বাম স্টিক নিচে ঠেলুন","rp_pad_step_rx":"ডান স্টিক ডানে ঠেলুন","rp_pad_step_ry":"ডান স্টিক নিচে ঠেলুন","join_check_bottom":"নিচের ফেস বোতামটি চাপুন (✕)","join_check_right":"ডান দিকের ফেস বোতামটি চাপুন (○)","join_check_left":"বাঁ দিকের ফেস বোতামটি চাপুন (□)","join_check_top":"উপরের ফেস বোতামটি চাপুন (△)","rp_pad_press":"{name} চাপুন","join_check_saved":"এই ডিভাইসে এই কন্ট্রোলারের জন্য সেভ হয়েছে। নিচে চেষ্টা করে দেখুন।","join_check_title":"আপনার কন্ট্রোলার পরীক্ষা করুন","join_done":"হয়ে গেছে","rp_pads_none":"এখনও কোনো কন্ট্রোলার দেখা যায়নি। একটি সংযুক্ত করে তার যেকোনো বোতাম চাপুন।","rp_pad_mapped":"আপনার ম্যাপিং দিয়ে খেলে","join_check_unknown":"এই কন্ট্রোলারটি আমাদের তালিকায় নেই, তাই এর বোতামগুলো এলোমেলো হতে পারে। সেট আপ করতে কয়েক সেকেন্ড লাগে।","rp_pad_standard":"শনাক্ত হয়েছে","rp_pad_progress":"{total}-এর মধ্যে {n}","rp_pad_skip":"এড়িয়ে যান","rp_pad_back":"পেছনে","rp_pad_cancel":"বাতিল","join_check_try":"বোতাম চাপুন ও স্টিক নাড়ান: যা চাপবেন তা জ্বলে উঠবে।","join_check_redo":"আবার করুন","join_check_map":"বোতাম সেট আপ করুন","rp_pad_reset":"রিসেট","join_open_lan_body":"ইন্টারনেট পাচ্ছেন না? বন্ধুর সাথে একই Wi-Fi-তে থাকলে সেখানেই গেমটি খুলুন।","join_open_lan":"এই Wi-Fi-তে খুলুন","join_path_lan":"হোম নেটওয়ার্ক","join_path_internet":"ইন্টারনেট","join_seat_taken":"{host}-এর নিজের কন্ট্রোলার ফেরত দরকার ছিল এবং PS5-এ আর কোনো কন্ট্রোলার খালি ছিল না, তাই আপনি গেম থেকে বেরিয়ে গেছেন। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_key":"এই আমন্ত্রণের মেয়াদ শেষ। {host}-এর কাছে নতুন লিংক চান।","join_refused_expired":"গেমে আপনার জায়গা চলে গেছে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_refused_full":"গেম পূর্ণ: ইতিমধ্যে চারজন খেলছে।","join_refused_denied":"{host} এবার আপনাকে ঢুকতে দেয়নি।","join_refused_no_answer":"{host} সময়মতো উত্তর দেননি। {host}-কে জানান, তারপর আবার চেষ্টা করুন।","join_refused_closed":"{host} এখন \"একসাথে খেলুন\" চালাচ্ছে না।","join_refused_old_helper":"\"একসাথে খেলুন\"-এর জন্য {host}-এর PS5-এ আপডেট করা হেল্পার দরকার।","join_refused_not_playing":"{host} এখন খেলছে না। {host}-কে আগে খেলা শুরু করতে বলুন।","join_refused_unreachable":"{host}-এর কম্পিউটার তাদের PS5-এ পৌঁছাতে পারেনি। একটু পরে আবার চেষ্টা করুন।","join_refused_slow_down":"অনেক বেশি ভুল কোড। এক মিনিট অপেক্ষা করে আবার চেষ্টা করুন।","join_refused_address":"এই লিঙ্কের ঠিকানা আপনার হোম নেটওয়ার্কের বাইরে, তাই অ্যাপ এটি ব্যবহার করবে না। {host}-এর কাছে তাঁর কম্পিউটারের IP ঠিকানা সহ একটি লিঙ্ক চান।","join_refused_other":"{host} আপনাকে ঢুকতে দেয়নি।","join_ended_kicked":"{host} আপনাকে গেম থেকে বের করে দিয়েছে।","join_ended_closed":"{host} \"একসাথে খেলুন\" বন্ধ করেছে।","join_ended_host_stopped":"হোস্ট খেলা বন্ধ করেছে।","join_ended_replaced":"এই গেমটি অন্য ট্যাব বা ডিভাইসে খোলা হয়েছে, তাই এখানে থেমে গেছে।","join_ended_pad_lost":"PS5 আপনার কন্ট্রোলার হারিয়েছে, তাই আপনি গেমের বাইরে। {host}-কে আবার ঢুকতে দিতে বলুন।","join_ended_gave_up":"{host}-এর সাথে সংযোগ সময়মতো ফিরে আসেনি।","join_net_lost":"{host}-এর সাথে সংযোগ কেটে গেছে। আপনার ইন্টারনেট সংযোগ দেখুন, তারপর আবার অনুরোধ করুন।","join_ended_lost":"{host}-এর কাছে পৌঁছানো যায়নি। আপনারা একই নেটওয়ার্কে আছেন কিনা দেখুন।","join_ended_left":"আপনি গেম ছেড়ে গেছেন।","join_net_mismatch":"এই লিংকটি হোস্টের সঙ্গে মেলে না; তাঁর কাছে নতুন লিংক চান।","join_net_no_direct":"এই নেটওয়ার্ক থেকে সরাসরি সংযোগ সম্ভব নয় (দুই দিকের রাউটারই কড়া)। মোবাইল ডেটার বদলে Wi-Fi চেষ্টা করুন, অথবা হোস্টকে UPnP চালু করতে বলুন।","join_net_no_room":"এই আমন্ত্রণটি আর খোলা নেই। {host}-এর কাছে নতুন লিংক চান।","join_net_full":"{host}-এর গেমে এখন আরেকজন বন্ধুর জায়গা নেই। একটু পরে আবার চেষ্টা করুন।","join_net_no_hub":"PS5Upload আমন্ত্রণ পরিষেবায় পৌঁছানো যায়নি। ইন্টারনেট সংযোগ দেখে আবার চেষ্টা করুন।","join_net_offer":"{host}-এর কম্পিউটার এই ব্রাউজারের সঙ্গে সংযোগ করতে পারেনি। অন্য ব্রাউজার চেষ্টা করুন।","join_net_no_webrtc":"এই ব্রাউজার সরাসরি সংযোগ করতে পারে না। Chrome, Safari বা Firefox-এর নতুন সংস্করণ চেষ্টা করুন।","join_cancel":"বাতিল","join_host_fallback":"আপনার বন্ধু","join_connecting":"{host}-এর সাথে সংযোগ হচ্ছে…","join_waiting":"{host} আপনাকে ঢুকতে দেওয়ার অপেক্ষায়","join_waiting_body":"{host} তার স্ক্রিনে আপনার নাম দেখে \"অনুমতি দিন\" চাপবে।","join_retry":"আবার চেষ্টা করুন","join_again":"আবার যোগ দিতে অনুরোধ করুন","join_playing_at":"{host}-এর কাছে খেলছেন","join_you_are":"আপনি প্লেয়ার {n}","join_seat_stream":"আপনি {host}-এর PS5 ইউজার হিসেবে খেলছেন। ইউজার বাছার দরকার নেই।","join_plays_as":"আপনি {profile} হিসেবে খেলছেন। কাউকে বেছে নিতে হবে না।","join_seat_tv_asks":"{host} আপনার জন্য একটি প্রোফাইল বেছে রেখেছিল, কিন্তু সেটা ব্যবহার করা যায়নি। টিভি জিজ্ঞেস করবে আপনি কে।","join_picking":"PS চাপুন, তারপর টিভিতে দ্রুত খেলা বেছে নিন","join_hide_controls":"লুকান","join_sound":"শব্দের জন্য ট্যাপ করুন","rp_unmute":"শব্দ চালু","rp_mute":"নিঃশব্দ","join_no_sound":"এই ব্রাউজারে শব্দ নেই","join_exit_fullscreen":"ফুল স্ক্রিন থেকে বের হন","pad_fill":"পূর্ণ স্ক্রিন","join_leave":"ছেড়ে যান","join_show_controls":"নিয়ন্ত্রণগুলি দেখান","join_hold_hint":"বোতামগুলো দেখাতে ছবিতে চেপে ধরে রাখুন","pad_watch_no_hevc":"এই ডিভাইস এই স্ট্রিমের ছবি চালাতে পারে না: কম্পিউটার HEVC-তে স্ট্রিম করে, আর এই ডিভাইস শুধু H.264 চালায়।","pad_watch_decode":"ছবিটি এখানে চালানো যায়নি।","join_pad_ready":"আপনার কন্ট্রোলার প্রস্তুত","join_check_unknown_short":"আমাদের তালিকায় নেই: বোতামগুলো এলোমেলো হতে পারে।","join_full_to_play":"অন-স্ক্রিন কন্ট্রোলার দিয়ে খেলতে ফুল স্ক্রিনে ট্যাপ করুন।","join_pad_none":"একটি কন্ট্রোলার সংযুক্ত করুন (USB বা Bluetooth) এবং যেকোনো বোতাম চাপুন।","join_pad_keys":"অথবা কিবোর্ড ব্যবহার করুন: WASD নড়াচড়া, তীর চিহ্ন D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"বোতামগুলো দেখতে রিমোটে Back চাপুন।","join_block_note":"{host} বন্ধুদের জন্য PS ও Create বন্ধ করে রেখেছে।","join_guide_title":"টিভিতে আর একটি ধাপ","join_guide_body":"আপনার কন্ট্রোলারে একবার PS চাপুন। টিভি জিজ্ঞেস করবে \"এই কন্ট্রোলার কে ব্যবহার করছে?\"। দ্রুত খেলা বা নিজের ইউজার বেছে নিন। হোস্টকে কিছু করতে হবে না।","join_guide_menus":"PS5-এর হোম স্ক্রিনে শুধু হোস্ট মেনু চালাতে পারে; আপনার কন্ট্রোলার গেমের ভেতরে খেলে।","join_guide_ok":"বুঝেছি","join_host_away":"হোস্ট খেলা বন্ধ করেছে — আবার শুরু করার অপেক্ষায় ({time})","join_reconnecting":"আবার সংযোগ হচ্ছে…","join_reconnecting_left":"আপনার জায়গা {time} ধরে রাখা থাকবে।","pad_turn":"ফোনটি আড়াআড়ি ঘোরান","join_game_label":"{host}-এর গেম","join_title":"বন্ধুর গেমে যোগ দিন","join_title_body":"{host}-এর PS5-এ প্লেয়ার 2, 3 বা 4 হিসেবে খেলুন।","join_name_label":"আপনার নাম","join_name_hint":"যোগ দিতে অনুরোধ করলে আপনার বন্ধু এটি দেখবে।","join_button":"যোগ দিন"},"de":{"usb_skipped_not_payload":"{name}: keine .elf- oder .bin-Datei","usb_skipped_unknown":"{id}: nicht mehr in der Payload-Liste","browser_unsupported":"Dafür brauchst du die Desktop-App. Im Browser funktioniert das nicht.","video_recovered_notice":"Play ist beim letzten Mal beim Starten des Bildes abgestürzt, daher wird das Bild jetzt ohne Grafikkarte dekodiert (ändern unter Einstellungen › Fenster › Grafik › Hardware-Videodekodierung).","video_recovered_title":"Bild wird jetzt per Software dekodiert","open_in_title":"In der PS5Upload-App öffnen?","open_in_body":"Hast du die PS5Upload-App auf diesem Gerät? Öffne dies dort oder mach im Browser weiter.","open_in_app":"In der App öffnen","open_in_browser":"Im Browser weiter","open_in_remember":"Meine Wahl auf diesem Gerät merken","open_in_opening":"PS5Upload-App wird geöffnet …","open_in_not_opened":"Nichts passiert? Die App ist vielleicht nicht auf diesem Gerät.","open_in_again":"Erneut versuchen","pad_8bitdo_no_xinput":"Dieser 8BitDo hat keinen X-input-Modus. Wenn eine Taste falsch ist, prüfe den Controller.","pad_8bitdo_how_switch":"stell den Schalter auf der Rückseite auf X und drück dann Start","pad_8bitdo_how_startx":"schalte ihn aus und halte dann Start + X gedrückt, um ihn einzuschalten","pad_8bitdo_how_receiver":"nutze seinen 2.4G-Empfänger oder ein USB-Kabel","pad_8bitdo_how_manual":"wie, steht in seiner Anleitung","pad_8bitdo_xinput":"Für das beste Ergebnis schalte deinen 8BitDo in den X-input-Modus: {how}.","rp_touch_left_stick":"Linker Stick","rp_touch_right_stick":"Rechter Stick","rp_menu":"Menü","rp_pad_step_lx":"Drücke den linken Stick nach rechts","rp_pad_step_ly":"Drücke den linken Stick nach unten","rp_pad_step_rx":"Drücke den rechten Stick nach rechts","rp_pad_step_ry":"Drücke den rechten Stick nach unten","join_check_bottom":"Drück die untere Aktionstaste (✕)","join_check_right":"Drück die rechte Aktionstaste (○)","join_check_left":"Drück die linke Aktionstaste (□)","join_check_top":"Drück die obere Aktionstaste (△)","rp_pad_press":"Drücke {name}","join_check_saved":"Für diesen Controller auf diesem Gerät gespeichert. Probier es unten aus.","join_check_title":"Controller prüfen","join_done":"Fertig","rp_pads_none":"Noch kein Controller erkannt. Schließe einen an und drücke eine beliebige Taste darauf.","rp_pad_mapped":"Spielt mit deiner Belegung","join_check_unknown":"Dieser Controller ist nicht auf unserer Liste, die Tasten könnten also vertauscht sein. Das Einrichten dauert nur ein paar Sekunden.","rp_pad_standard":"Erkannt","rp_pad_progress":"{n} von {total}","rp_pad_skip":"Überspringen","rp_pad_back":"Zurück","rp_pad_cancel":"Abbrechen","join_check_try":"Drück Tasten und beweg die Sticks: Was du drückst, leuchtet auf.","join_check_redo":"Neu einrichten","join_check_map":"Tasten einrichten","rp_pad_reset":"Zurücksetzen","join_open_lan_body":"Kein Internet? Wenn du im selben WLAN wie dein Freund bist, öffne das Spiel dort.","join_open_lan":"In diesem WLAN öffnen","join_took_host":"Das Spiel von {host} wurde beendet, weil dessen PS5-Benutzer auf deinem Controller gewählt wurde. Wechsle diesmal zuerst zu „Schnellspiel“ und drücke dann ✕.","join_not_host_user":"Wechsle zu „Schnellspiel“, bevor du ✕ drückst. Wähle nicht {user}: Das ist der Benutzer von {host}, und damit endet dessen Spiel.","join_not_host_user_unnamed":"Wechsle zu „Schnellspiel“, bevor du ✕ drückst. Wähle nicht den PS5-Benutzer von {host}: Damit endet dessen Spiel.","join_path_lan":"Heimnetz","join_seat_taken":"{host} brauchte seinen Controller zurück, und auf der PS5 war kein anderer Controller frei, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_refused_key":"Diese Einladung ist abgelaufen. Bitte {host} um einen neuen Link.","join_refused_expired":"Dein Platz im Spiel ist verloren. Bitte {host}, dich wieder hereinzulassen.","join_refused_full":"Das Spiel ist voll: Es sind schon vier Spieler da.","join_refused_denied":"{host} hat dich diesmal nicht reingelassen.","join_refused_no_answer":"{host} hat nicht rechtzeitig geantwortet. Sag {host} Bescheid und versuche es noch einmal.","join_refused_closed":"{host} bietet gerade kein „Zusammen spielen“ an.","join_refused_old_helper":"Die PS5 von {host} braucht einen aktuellen Helfer für „Zusammen spielen“.","join_refused_not_playing":"{host} spielt gerade nicht. Bitte {host}, zuerst Spielen zu starten.","join_refused_unreachable":"Der Computer von {host} hat die PS5 nicht erreicht. Versuch es gleich noch einmal.","join_refused_slow_down":"Zu viele falsche Codes. Warte eine Minute und versuch es dann noch einmal.","join_refused_address":"Die Adresse dieses Links liegt außerhalb deines Heimnetzes, daher verwendet die App sie nicht. Bitte {host} um einen Link mit der IP-Adresse des Computers.","join_refused_other":"{host} hat dich nicht reingelassen.","join_ended_kicked":"{host} hat dich aus dem Spiel genommen.","join_ended_closed":"{host} hat „Zusammen spielen“ beendet.","join_ended_host_stopped":"Der Gastgeber hat aufgehört zu spielen.","join_ended_replaced":"Dieses Spiel wurde in einem anderen Tab oder auf einem anderen Gerät geöffnet, daher wurde es hier beendet.","join_ended_pad_lost":"Die PS5 hat deinen Controller verloren, daher bist du aus dem Spiel. Bitte {host}, dich wieder hereinzulassen.","join_ended_gave_up":"Die Verbindung zu {host} kam nicht rechtzeitig zurück.","join_net_lost":"Die Verbindung zu {host} ist abgebrochen. Prüfe deine Internetverbindung und frage dann erneut.","join_ended_lost":"{host} nicht erreichbar. Prüfe, ob ihr im selben Netzwerk seid.","join_ended_left":"Du hast das Spiel verlassen.","join_net_mismatch":"Dieser Link passt nicht zum Gastgeber. Bitte ihn um einen neuen.","join_net_no_direct":"Von diesem Netzwerk aus ist keine direkte Verbindung möglich (die Router beider Seiten sind streng). Versuche WLAN statt mobiler Daten oder bitte den Gastgeber, UPnP einzuschalten.","join_net_no_room":"Diese Einladung ist nicht mehr offen. Bitte {host} um einen neuen Link.","join_net_full":"Im Spiel von {host} ist gerade kein Platz für einen weiteren Freund. Versuche es gleich noch einmal.","join_net_no_hub":"Der Einladungsdienst von PS5Upload ist nicht erreichbar. Prüfe deine Internetverbindung und versuche es dann erneut.","join_net_offer":"Der Computer von {host} konnte sich nicht mit diesem Browser verbinden. Versuche einen anderen Browser.","join_net_no_webrtc":"Dieser Browser kann keine direkten Verbindungen herstellen. Versuche ein aktuelles Chrome, Safari oder Firefox.","join_cancel":"Abbrechen","join_host_fallback":"dein Freund","join_connecting":"Verbinde mit {host}…","join_waiting":"Warte, bis {host} dich reinlässt","join_waiting_body":"{host} sieht deinen Namen auf dem Bildschirm und tippt auf „Zulassen“.","join_retry":"Erneut versuchen","join_again":"Erneut zum Mitspielen anfragen","join_playing_at":"Du spielst bei {host}","join_you_are":"Du bist Spieler {n}","join_seat_stream":"Du spielst als PS5-Benutzer von {host}. Du musst keinen wählen.","join_plays_as":"Du spielst als {profile}. Du musst keinen wählen.","join_seat_tv_asks":"{host} hat ein Profil für dich gewählt, aber es konnte nicht genutzt werden. Der Fernseher fragt, wer du bist.","join_picking":"PS drücken, dann am Fernseher „Schnellspiel“ wählen","join_hide_controls":"Ausblenden","join_sound":"Für Ton tippen","rp_unmute":"Ton an","rp_mute":"Stumm","join_no_sound":"Kein Ton in diesem Browser","join_exit_fullscreen":"Vollbild verlassen","pad_fill":"Vollbild","join_leave":"Verlassen","join_show_controls":"Steuerelemente einblenden","join_hold_hint":"Bild gedrückt halten, um die Tasten einzublenden","pad_watch_no_hevc":"Dieses Gerät kann das Bild dieses Streams nicht abspielen: Der Computer streamt HEVC, dieses Gerät kann nur H.264.","pad_watch_decode":"Das Bild konnte hier nicht abgespielt werden.","join_pad_ready":"Dein Controller ist bereit","join_check_unknown_short":"Nicht auf unserer Liste: Tasten könnten vertauscht sein.","join_full_to_play":"Tippe auf Vollbild, um mit dem Bildschirm-Controller zu spielen.","join_pad_none":"Schließe einen Controller an (USB oder Bluetooth) und drücke eine beliebige Taste.","join_pad_keys":"Oder nutze die Tastatur: WASD bewegen, Pfeiltasten Steuerkreuz, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Drücke auf der Fernbedienung Zurück, um die Schaltflächen einzublenden.","join_block_note":"{host} hat PS und Create für Freunde ausgeschaltet.","join_guide_title":"Noch ein Schritt am Fernseher","join_guide_body":"Drücke einmal PS auf deinem Controller. Der Fernseher fragt „Wer benutzt diesen Controller?“. Wähle „Schnellspiel“ oder deinen eigenen Benutzer. Der Gastgeber muss nichts tun.","join_guide_menus":"Auf dem Startbildschirm der PS5 steuert nur der Gastgeber die Menüs; dein Controller spielt in den Spielen.","join_guide_ok":"Verstanden","join_host_away":"Der Gastgeber hat aufgehört zu spielen – wir warten, bis er wieder anfängt ({time})","join_took_host_away":"Der PS5-Benutzer von {host} wurde auf deinem Controller gewählt, damit endet dessen Spiel. Wenn es weitergeht und der Fernseher fragt, wer du bist, wechsle zuerst zu „Schnellspiel“ und drücke dann ✕.","join_reconnecting":"Verbinde neu…","join_reconnecting_left":"Dein Platz wird {time} lang freigehalten.","pad_turn":"Dreh das Handy quer","join_game_label":"Spiel von {host}","join_title":"Bei Freunden mitspielen","join_title_body":"Spiele auf der PS5 von {host} als Spieler 2, 3 oder 4.","join_name_label":"Dein Name","join_name_hint":"Das sieht dein Freund, wenn du zum Mitspielen anfragst.","join_button":"Mitspielen"},"en":{"usb_skipped_not_payload":"{name}: not an .elf or .bin file","usb_skipped_unknown":"{id}: not in the payload list any more","browser_unsupported":"This needs the desktop app. It does not work in the browser.","video_recovered_notice":"Play crashed while starting the picture last time, so the picture is now decoded without the graphics card (Settings › Window › Graphics › Hardware video decoding to change it).","video_recovered_title":"Picture now decoded in software","open_in_title":"Open in the PS5Upload app?","open_in_body":"Have the PS5Upload app on this device? Open this there, or carry on in the browser.","open_in_app":"Open in the app","open_in_browser":"Continue in browser","open_in_remember":"Remember my choice on this device","open_in_opening":"Opening the PS5Upload app…","open_in_not_opened":"Nothing happened? The app may not be on this device.","open_in_again":"Try again","pad_8bitdo_no_xinput":"This 8BitDo has no X-input mode. If a button is wrong, check the controller.","pad_8bitdo_how_switch":"set the switch on the back to X, then press Start","pad_8bitdo_how_startx":"turn it off, then hold Start + X to turn it on","pad_8bitdo_how_receiver":"use its 2.4G receiver or a USB cable","pad_8bitdo_how_manual":"its manual says how","pad_8bitdo_xinput":"For the best result, switch your 8BitDo to X-input mode: {how}.","rp_touch_left_stick":"Left stick","rp_touch_right_stick":"Right stick","rp_touch_touchpad":"Touchpad","rp_menu":"Menu","rp_pad_step_lx":"Push the left stick right","rp_pad_step_ly":"Push the left stick down","rp_pad_step_rx":"Push the right stick right","rp_pad_step_ry":"Push the right stick down","join_check_bottom":"Press the bottom face button (✕)","join_check_right":"Press the right face button (○)","join_check_left":"Press the left face button (□)","join_check_top":"Press the top face button (△)","rp_pad_press":"Press {name}","join_check_saved":"Saved for this controller on this device. Try it below.","join_check_title":"Check your controller","join_done":"Done","rp_pads_none":"No controller seen yet. Connect one and press any button on it.","rp_pad_mapped":"Plays with your mapping","join_check_unknown":"This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.","rp_pad_standard":"Recognized","rp_pad_progress":"{n} of {total}","rp_pad_skip":"Skip","rp_pad_back":"Back","rp_pad_cancel":"Cancel","join_check_try":"Press buttons and move the sticks: what you press lights up.","join_check_redo":"Redo","join_check_map":"Set up the buttons","rp_pad_reset":"Reset","join_open_lan_body":"Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.","join_open_lan":"Open on this Wi-Fi","join_took_host":"{host}'s game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.","join_not_host_user":"Move to Quick Play before pressing ✕. Don't pick {user}: that's {host}'s user, and it ends their game.","join_not_host_user_unnamed":"Move to Quick Play before pressing ✕. Don't pick {host}'s PS5 user: it ends their game.","join_path_lan":"Home network","join_path_tailscale":"Tailscale","join_path_internet":"Internet","join_seat_taken":"{host} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask {host} to let you in again.","join_refused_key":"This invite has expired. Ask {host} for a new link.","join_refused_expired":"Your place in the game was lost. Ask {host} to let you in again.","join_refused_full":"The game is full: four players already.","join_refused_denied":"{host} didn't let you in this time.","join_refused_no_answer":"{host} didn't answer in time. Tell {host}, then try again.","join_refused_closed":"{host} isn't hosting Play Together right now.","join_refused_old_helper":"{host}'s PS5 needs an updated helper for Play Together.","join_refused_not_playing":"{host} isn't playing right now. Ask {host} to start Play first.","join_refused_unreachable":"{host}'s computer couldn't reach their PS5. Try again in a moment.","join_refused_slow_down":"Too many wrong codes. Wait a minute, then try again.","join_refused_address":"This link's address is outside your home network, so the app will not use it. Ask {host} for a link with their computer's IP address.","join_refused_other":"{host} didn't let you in.","join_ended_kicked":"{host} took you out of the game.","join_ended_closed":"{host} closed Play Together.","join_ended_host_stopped":"The host stopped playing.","join_ended_replaced":"This game was opened in another tab or on another device, so it stopped here.","join_ended_pad_lost":"The PS5 lost your controller, so you're out of the game. Ask {host} to let you in again.","join_ended_gave_up":"The connection to {host} didn't come back in time.","join_net_lost":"The connection to {host} dropped. Check your internet connection, then ask again.","join_ended_lost":"Couldn't reach {host}. Check that you're on the same network.","join_ended_left":"You left the game.","join_net_mismatch":"This link doesn't match the host; ask them for a new one.","join_net_no_direct":"A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.","join_net_no_room":"This invite isn't open any more. Ask {host} for a new link.","join_net_full":"{host}'s game has no room for another friend right now. Try again in a moment.","join_net_no_hub":"Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.","join_net_offer":"{host}'s computer couldn't connect to this browser. Try another browser.","join_net_no_webrtc":"This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.","join_cancel":"Cancel","join_host_fallback":"your friend","join_connecting":"Connecting to {host}…","join_waiting":"Waiting for {host} to let you in","join_waiting_body":"{host} sees your name on their screen and taps Allow.","join_retry":"Try again","join_again":"Ask to join again","join_playing_at":"Playing at {host}'s","join_you_are":"You are Player {n}","join_seat_stream":"You're playing as {host}'s PS5 user. No need to pick one.","join_plays_as":"You're playing as {profile}. No need to pick one.","join_seat_tv_asks":"{host} chose a profile for you, but it couldn't be used. The TV will ask who you are.","join_picking":"Press PS, then pick Quick Play on the TV","join_hide_controls":"Hide","join_sound":"Tap for sound","rp_unmute":"Sound on","rp_mute":"Mute","join_no_sound":"No sound in this browser","join_exit_fullscreen":"Leave full screen","pad_fill":"Full screen","join_leave":"Leave","join_show_controls":"Show controls","join_hold_hint":"Press and hold the picture to show the buttons","pad_watch_no_hevc":"This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.","pad_watch_decode":"The picture could not be played here.","join_pad_ready":"Your controller is ready","join_check_unknown_short":"Not on our list: buttons may be mixed up.","join_full_to_play":"Tap full screen to play with the on-screen controller.","join_pad_none":"Connect a controller (USB or Bluetooth) and press any button.","join_pad_keys":"Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Press Back on the remote for the buttons.","join_block_note":"{host} turned off PS and Create for friends.","join_guide_title":"One more step on the TV","join_guide_body":"On your controller, press PS once. The TV asks \"Who's using this controller?\". Pick Quick Play or your own user. The host doesn't need to do anything.","join_guide_menus":"On the PS5's home screen only the host controls the menus; your controller plays inside games.","join_guide_ok":"Got it","join_host_away":"The host stopped playing — waiting for them to start again ({time})","join_took_host_away":"{host}'s PS5 user was picked on your controller, which ends their game. When it's back and the TV asks who you are, move to Quick Play first, then press ✕.","join_reconnecting":"Reconnecting…","join_reconnecting_left":"Your place is kept for {time}.","pad_turn":"Turn the phone sideways","join_game_label":"{host}'s game","join_title":"Join a friend's game","join_title_body":"Play on {host}'s PS5 as Player 2, 3 or 4.","join_name_label":"Your name","join_name_hint":"Your friend sees this when you ask to join.","join_button":"Join"},"es":{"usb_skipped_not_payload":"{name}: no es un archivo .elf ni .bin","usb_skipped_unknown":"{id}: ya no está en la lista de payloads","browser_unsupported":"Esto necesita la aplicación de escritorio. No funciona en el navegador.","video_recovered_notice":"Play se cerró al iniciar la imagen la última vez, así que ahora la imagen se decodifica sin la tarjeta gráfica (cámbialo en Configuración › Ventana › Gráficos › Decodificación de vídeo por hardware).","video_recovered_title":"La imagen ahora se decodifica por software","open_in_title":"¿Abrir en la app PS5Upload?","open_in_body":"¿Tienes la app PS5Upload en este dispositivo? Ábrelo ahí o sigue en el navegador.","open_in_app":"Abrir en la app","open_in_browser":"Seguir en el navegador","open_in_remember":"Recordar mi elección en este dispositivo","open_in_opening":"Abriendo la app PS5Upload…","open_in_not_opened":"¿No pasó nada? Puede que la app no esté en este dispositivo.","open_in_again":"Reintentar","pad_8bitdo_no_xinput":"Este 8BitDo no tiene modo X-input. Si un botón no va bien, comprueba el mando.","pad_8bitdo_how_switch":"pon el interruptor de atrás en X y pulsa Start","pad_8bitdo_how_startx":"apágalo y luego mantén Start + X para encenderlo","pad_8bitdo_how_receiver":"usa su receptor 2.4G o un cable USB","pad_8bitdo_how_manual":"su manual explica cómo","pad_8bitdo_xinput":"Para el mejor resultado, pon tu 8BitDo en modo X-input: {how}.","rp_touch_left_stick":"Joystick izquierdo","rp_touch_right_stick":"Joystick derecho","rp_touch_touchpad":"Panel táctil","rp_menu":"Menú","rp_pad_step_lx":"Mueve el stick izquierdo a la derecha","rp_pad_step_ly":"Mueve el stick izquierdo hacia abajo","rp_pad_step_rx":"Mueve el stick derecho a la derecha","rp_pad_step_ry":"Mueve el stick derecho hacia abajo","join_check_bottom":"Pulsa el botón de acción de abajo (✕)","join_check_right":"Pulsa el botón de acción de la derecha (○)","join_check_left":"Pulsa el botón de acción de la izquierda (□)","join_check_top":"Pulsa el botón de acción de arriba (△)","rp_pad_press":"Pulsa {name}","join_check_saved":"Guardado para este mando en este dispositivo. Pruébalo abajo.","join_check_title":"Comprueba tu mando","join_done":"Listo","rp_pads_none":"Aún no se ve ningún mando. Conecta uno y pulsa cualquier botón.","rp_pad_mapped":"Juega con tu asignación","join_check_unknown":"Este mando no está en nuestra lista, así que sus botones pueden estar cambiados. Configurarlo lleva unos segundos.","rp_pad_standard":"Reconocido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Omitir","rp_pad_back":"Atrás","rp_pad_cancel":"Cancelar","join_check_try":"Pulsa botones y mueve los sticks: lo que pulses se ilumina.","join_check_redo":"Rehacer","join_check_map":"Configurar los botones","rp_pad_reset":"Restablecer","join_open_lan_body":"¿Sin internet? Si estás en el mismo Wi-Fi que tu amigo, abre la partida desde ahí.","join_open_lan":"Abrir en este Wi-Fi","join_path_lan":"Red doméstica","join_seat_taken":"{host} necesitaba recuperar su mando y no había otro mando libre en la PS5, así que has salido de la partida. Pide a {host} que te deje entrar otra vez.","join_refused_key":"Esta invitación ha caducado. Pide a {host} un enlace nuevo.","join_refused_expired":"Perdiste tu sitio en la partida. Pide a {host} que te deje entrar de nuevo.","join_refused_full":"La partida está llena: ya hay cuatro jugadores.","join_refused_denied":"{host} no te dejó entrar esta vez.","join_refused_no_answer":"{host} no respondió a tiempo. Avisa a {host} e inténtalo de nuevo.","join_refused_closed":"{host} no está ofreciendo Jugar juntos ahora mismo.","join_refused_old_helper":"La PS5 de {host} necesita un ayudante actualizado para Jugar juntos.","join_refused_not_playing":"{host} no está jugando ahora. Pide a {host} que inicie Jugar primero.","join_refused_unreachable":"El ordenador de {host} no pudo conectar con su PS5. Inténtalo de nuevo en un momento.","join_refused_slow_down":"Demasiados códigos incorrectos. Espera un minuto y vuelve a intentarlo.","join_refused_address":"La dirección de este enlace está fuera de tu red doméstica, así que la aplicación no la usará. Pide a {host} un enlace con la dirección IP de su equipo.","join_refused_other":"{host} no te dejó entrar.","join_ended_kicked":"{host} te sacó de la partida.","join_ended_closed":"{host} cerró Jugar juntos.","join_ended_host_stopped":"El anfitrión dejó de jugar.","join_ended_replaced":"Esta partida se abrió en otra pestaña o en otro dispositivo, así que terminó aquí.","join_ended_pad_lost":"La PS5 perdió tu mando, así que estás fuera de la partida. Pide a {host} que te deje entrar de nuevo.","join_ended_gave_up":"La conexión con {host} no volvió a tiempo.","join_net_lost":"Se cortó la conexión con {host}. Revisa tu conexión a internet y vuelve a pedirlo.","join_ended_lost":"No se pudo contactar con {host}. Comprueba que estéis en la misma red.","join_ended_left":"Saliste de la partida.","join_net_mismatch":"Este enlace no coincide con el anfitrión; pídele uno nuevo.","join_net_no_direct":"No es posible una conexión directa desde esta red (los routers de ambos lados son estrictos). Prueba con Wi-Fi en lugar de datos móviles o pide al anfitrión que active UPnP.","join_net_no_room":"Esta invitación ya no está abierta. Pide a {host} un enlace nuevo.","join_net_full":"La partida de {host} no tiene sitio para otro amigo ahora mismo. Inténtalo de nuevo en un momento.","join_net_no_hub":"No se pudo contactar con el servicio de invitaciones de PS5Upload. Comprueba tu conexión a internet e inténtalo de nuevo.","join_net_offer":"El ordenador de {host} no pudo conectar con este navegador. Prueba con otro navegador.","join_net_no_webrtc":"Este navegador no puede hacer conexiones directas. Prueba una versión reciente de Chrome, Safari o Firefox.","join_cancel":"Cancelar","join_host_fallback":"tu amigo","join_connecting":"Conectando con {host}…","join_waiting":"Esperando a que {host} te deje entrar","join_waiting_body":"{host} ve tu nombre en su pantalla y toca Permitir.","join_retry":"Reintentar","join_again":"Pedir unirme otra vez","join_playing_at":"Jugando en casa de {host}","join_you_are":"Eres el Jugador {n}","join_seat_stream":"Juegas con el usuario de PS5 de {host}. No hace falta elegir uno.","join_plays_as":"Juegas como {profile}. No hace falta elegir uno.","join_seat_tv_asks":"{host} eligió un perfil para ti, pero no se pudo usar. La TV te preguntará quién eres.","join_picking":"Pulsa PS y luego elige Juego rápido en la tele","join_hide_controls":"Ocultar","join_sound":"Activar sonido","rp_unmute":"Activar sonido","rp_mute":"Silenciar","join_no_sound":"Sin sonido en este navegador","join_exit_fullscreen":"Salir de pantalla completa","pad_fill":"Pantalla completa","join_leave":"Salir","join_show_controls":"Mostrar controles","join_hold_hint":"Mantén pulsada la imagen para mostrar los botones","pad_watch_no_hevc":"Este dispositivo no puede reproducir la imagen de este stream: el ordenador emite en HEVC y este dispositivo solo reproduce H.264.","pad_watch_decode":"La imagen no se pudo reproducir aquí.","join_pad_ready":"Tu mando está listo","join_check_unknown_short":"No está en nuestra lista: los botones pueden estar cambiados.","join_full_to_play":"Toca pantalla completa para jugar con el mando en pantalla.","join_pad_none":"Conecta un mando (USB o Bluetooth) y pulsa cualquier botón.","join_pad_keys":"O usa el teclado: WASD para moverte, flechas cruceta, Enter ✕, Retroceso ○, Q □, E △, Tab Options.","join_tv_back_hint":"Pulsa Atrás en el mando a distancia para ver los botones.","join_block_note":"{host} desactivó PS y Create para los amigos.","join_guide_title":"Un paso más en la tele","join_guide_body":"Pulsa PS una vez en tu mando. La tele pregunta «¿Quién usa este mando?». Elige Juego rápido o tu propio usuario. El anfitrión no tiene que hacer nada.","join_guide_menus":"En la pantalla de inicio de la PS5 solo el anfitrión controla los menús; tu mando juega dentro de los juegos.","join_guide_ok":"Entendido","join_host_away":"El anfitrión dejó de jugar: esperando a que vuelva a empezar ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Tu sitio se guarda durante {time}.","pad_turn":"Gira el móvil en horizontal","join_game_label":"Partida de {host}","join_title":"Unirse a la partida de un amigo","join_title_body":"Juega en la PS5 de {host} como Jugador 2, 3 o 4.","join_name_label":"Tu nombre","join_name_hint":"Tu amigo lo verá cuando pidas unirte.","join_button":"Unirme"},"fa":{"usb_skipped_not_payload":"{name}: فایل .elf یا .bin نیست","usb_skipped_unknown":"{id}: دیگر در فهرست پیلودها نیست","browser_unsupported":"این کار به برنامه رومیزی نیاز دارد. در مرورگر کار نمی‌کند.","video_recovered_notice":"دفعهٔ پیش «بازی» هنگام شروع تصویر از کار افتاد، پس تصویر اکنون بدون کارت گرافیک رمزگشایی می‌شود (برای تغییر: تنظیمات › پنجره › گرافیک › رمزگشایی ویدیو با سخت‌افزار).","video_recovered_title":"تصویر اکنون با نرم‌افزار رمزگشایی می‌شود","open_in_title":"در برنامهٔ PS5Upload باز شود؟","open_in_body":"برنامهٔ PS5Upload روی این دستگاه هست؟ این را آنجا باز کنید، یا در مرورگر ادامه دهید.","open_in_app":"باز کردن در برنامه","open_in_browser":"ادامه در مرورگر","open_in_remember":"انتخابم را روی این دستگاه به خاطر بسپار","open_in_opening":"در حال باز کردن برنامهٔ PS5Upload…","open_in_not_opened":"اتفاقی نیفتاد؟ شاید برنامه روی این دستگاه نیست.","open_in_again":"دوباره امتحان کنید","pad_8bitdo_no_xinput":"این 8BitDo حالت X-input ندارد. اگر دکمه‌ای اشتباه است، کنترلر را بررسی کنید.","pad_8bitdo_how_switch":"کلید پشت را روی X بگذارید، سپس Start را بزنید","pad_8bitdo_how_startx":"آن را خاموش کنید، سپس Start + X را نگه دارید تا روشن شود","pad_8bitdo_how_receiver":"از گیرنده 2.4G آن یا کابل USB استفاده کنید","pad_8bitdo_how_manual":"دفترچه راهنمای آن روش را می‌گوید","pad_8bitdo_xinput":"برای بهترین نتیجه، 8BitDo خود را به حالت X-input ببرید: {how}.","rp_touch_left_stick":"استیک چپ","rp_touch_right_stick":"استیک راست","rp_touch_touchpad":"صفحه لمسی","rp_menu":"منو","rp_pad_step_lx":"استیک چپ را به راست فشار دهید","rp_pad_step_ly":"استیک چپ را به پایین فشار دهید","rp_pad_step_rx":"استیک راست را به راست فشار دهید","rp_pad_step_ry":"استیک راست را به پایین فشار دهید","join_check_bottom":"دکمهٔ پایینی را بزنید (✕)","join_check_right":"دکمهٔ سمت راست را بزنید (○)","join_check_left":"دکمهٔ سمت چپ را بزنید (□)","join_check_top":"دکمهٔ بالایی را بزنید (△)","rp_pad_press":"{name} را فشار دهید","join_check_saved":"برای این کنترلر روی این دستگاه ذخیره شد. پایین امتحانش کنید.","join_check_title":"کنترلر خود را بررسی کنید","join_done":"تمام","rp_pads_none":"هنوز دسته‌ای دیده نشده. یکی وصل کنید و یکی از دکمه‌هایش را فشار دهید.","rp_pad_mapped":"با نگاشت شما بازی می‌کند","join_check_unknown":"این کنترلر در فهرست ما نیست، پس ممکن است دکمه‌هایش جابه‌جا باشند. تنظیم آن چند ثانیه طول می‌کشد.","rp_pad_standard":"شناخته شد","rp_pad_progress":"{n} از {total}","rp_pad_skip":"رد کردن","rp_pad_back":"بازگشت","rp_pad_cancel":"لغو","join_check_try":"دکمه‌ها را بزنید و استیک‌ها را حرکت دهید: هر چه بزنید روشن می‌شود.","join_check_redo":"انجام دوباره","join_check_map":"تنظیم دکمه‌ها","rp_pad_reset":"بازنشانی","join_open_lan_body":"به اینترنت دسترسی ندارید؟ اگر با دوستتان روی یک Wi-Fi هستید، بازی را آنجا باز کنید.","join_open_lan":"باز کردن روی همین Wi-Fi","join_path_lan":"شبکهٔ خانگی","join_path_internet":"اینترنت","join_seat_taken":"{host} دستهٔ خودش را لازم داشت و دستهٔ آزاد دیگری روی PS5 نبود، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_refused_key":"این دعوت منقضی شده است. از {host} پیوند جدید بخواهید.","join_refused_expired":"جای شما در بازی از دست رفت. از {host} بخواهید دوباره راهتان بدهد.","join_refused_full":"بازی پر است: چهار بازیکن از قبل هستند.","join_refused_denied":"{host} این بار اجازهٔ ورود نداد.","join_refused_no_answer":"{host} به‌موقع پاسخ نداد. به {host} خبر دهید و دوباره امتحان کنید.","join_refused_closed":"{host} الان «بازی با هم» را میزبانی نمی‌کند.","join_refused_old_helper":"PS5 {host} برای «بازی با هم» به دستیار به‌روز نیاز دارد.","join_refused_not_playing":"{host} الان بازی نمی‌کند. از {host} بخواهید اول بازی را شروع کند.","join_refused_unreachable":"رایانهٔ {host} به PS5 دسترسی پیدا نکرد. کمی بعد دوباره امتحان کنید.","join_refused_slow_down":"تعداد کدهای اشتباه زیاد است. یک دقیقه صبر کنید و دوباره امتحان کنید.","join_refused_address":"نشانی این پیوند بیرون از شبکه خانگی شماست، پس برنامه از آن استفاده نمی‌کند. از {host} پیوندی با نشانی IP رایانه‌اش بخواهید.","join_refused_other":"{host} اجازهٔ ورود نداد.","join_ended_kicked":"{host} شما را از بازی بیرون کرد.","join_ended_closed":"{host} «بازی با هم» را بست.","join_ended_host_stopped":"میزبان بازی را متوقف کرد.","join_ended_replaced":"این بازی در زبانه یا دستگاه دیگری باز شد، پس اینجا متوقف شد.","join_ended_pad_lost":"PS5 دستهٔ شما را از دست داد، پس از بازی بیرون رفتید. از {host} بخواهید دوباره راهتان بدهد.","join_ended_gave_up":"اتصال به {host} به‌موقع برنگشت.","join_net_lost":"اتصال به {host} قطع شد. اتصال اینترنت خود را بررسی کنید و دوباره درخواست دهید.","join_ended_lost":"دسترسی به {host} ممکن نشد. بررسی کنید روی یک شبکه باشید.","join_ended_left":"از بازی خارج شدید.","join_net_mismatch":"این پیوند با میزبان جور نیست؛ از او پیوند تازه‌ای بخواهید.","join_net_no_direct":"اتصال مستقیم از این شبکه ممکن نیست (روترهای هر دو طرف سخت‌گیرند). به‌جای داده همراه Wi-Fi را امتحان کنید یا از میزبان بخواهید UPnP را روشن کند.","join_net_no_room":"این دعوت دیگر باز نیست. از {host} پیوند تازه‌ای بخواهید.","join_net_full":"بازی {host} اکنون جای دوست دیگری ندارد. کمی بعد دوباره امتحان کنید.","join_net_no_hub":"دسترسی به سرویس دعوت PS5Upload ممکن نشد. اتصال اینترنت را بررسی کنید و دوباره امتحان کنید.","join_net_offer":"رایانه {host} نتوانست به این مرورگر وصل شود. مرورگر دیگری را امتحان کنید.","join_net_no_webrtc":"این مرورگر نمی‌تواند اتصال مستقیم برقرار کند. نسخه تازه Chrome، Safari یا Firefox را امتحان کنید.","join_cancel":"لغو","join_host_fallback":"دوستتان","join_connecting":"در حال اتصال به {host}…","join_waiting":"منتظر اجازهٔ ورود از {host}","join_waiting_body":"{host} نام شما را روی صفحه‌اش می‌بیند و «اجازه» را می‌زند.","join_retry":"دوباره امتحان کنید","join_again":"دوباره درخواست پیوستن","join_playing_at":"در حال بازی پیش {host}","join_you_are":"شما بازیکن {n} هستید","join_seat_stream":"شما با کاربر PS5 {host} بازی می‌کنید. لازم نیست کاربری انتخاب کنید.","join_plays_as":"شما با {profile} بازی می‌کنید. نیازی به انتخاب نیست.","join_seat_tv_asks":"{host} پروفایلی برای شما انتخاب کرد، اما نشد از آن استفاده کرد. تلویزیون می‌پرسد شما کیستید.","join_picking":"PS را بزنید، سپس روی تلویزیون «بازی سریع» را انتخاب کنید","join_hide_controls":"پنهان کردن","join_sound":"برای صدا ضربه بزنید","rp_unmute":"صدا روشن","rp_mute":"بی‌صدا","join_no_sound":"در این مرورگر صدا پخش نمی‌شود","join_exit_fullscreen":"خروج از تمام‌صفحه","pad_fill":"تمام‌صفحه","join_leave":"خروج","join_show_controls":"نمایش کنترل‌ها","join_hold_hint":"برای نمایش دکمه‌ها، تصویر را لمس کرده و نگه دارید","pad_watch_no_hevc":"این دستگاه نمی‌تواند تصویر این استریم را پخش کند: کامپیوتر HEVC می‌فرستد و این دستگاه فقط H.264 پخش می‌کند.","pad_watch_decode":"تصویر اینجا پخش نشد.","join_pad_ready":"دستهٔ شما آماده است","join_check_unknown_short":"در فهرست ما نیست: ممکن است دکمه‌ها جابه‌جا باشند.","join_full_to_play":"برای بازی با دسته روی صفحه، تمام‌صفحه را بزنید.","join_pad_none":"یک دسته وصل کنید (USB یا Bluetooth) و هر دکمه‌ای را بزنید.","join_pad_keys":"یا از صفحه‌کلید استفاده کنید: WASD حرکت، کلیدهای جهت D-pad، Enter ✕، Backspace ○، Q □، E △، Tab Options.","join_tv_back_hint":"برای دیدن دکمه‌ها، روی کنترل از راه دور دکمهٔ بازگشت را بزنید.","join_block_note":"{host} دکمه‌های PS و Create را برای دوستان خاموش کرده است.","join_guide_title":"یک قدم دیگر روی تلویزیون","join_guide_body":"یک بار PS را روی دسته‌تان بزنید. تلویزیون می‌پرسد «چه کسی از این دسته استفاده می‌کند؟». «بازی سریع» یا کاربر خودتان را انتخاب کنید. میزبان لازم نیست کاری بکند.","join_guide_menus":"در صفحه اصلی PS5 فقط میزبان منوها را کنترل می‌کند؛ دسته شما داخل بازی‌ها بازی می‌کند.","join_guide_ok":"متوجه شدم","join_host_away":"میزبان بازی را متوقف کرد — در انتظار شروع دوباره ({time})","join_reconnecting":"در حال اتصال دوباره…","join_reconnecting_left":"جای شما تا {time} نگه داشته می‌شود.","pad_turn":"گوشی را افقی کنید","join_game_label":"بازی {host}","join_title":"پیوستن به بازی یک دوست","join_title_body":"روی PS5 {host} به‌عنوان بازیکن ۲، ۳ یا ۴ بازی کنید.","join_name_label":"نام شما","join_name_hint":"وقتی درخواست پیوستن بدهید، دوستتان این را می‌بیند.","join_button":"پیوستن"},"fr":{"usb_skipped_not_payload":"{name} : pas un fichier .elf ou .bin","usb_skipped_unknown":"{id} : n'est plus dans la liste des payloads","browser_unsupported":"Il faut l'application de bureau. Cela ne fonctionne pas dans le navigateur.","video_recovered_notice":"Play a planté au démarrage de l'image la dernière fois : l'image est donc maintenant décodée sans la carte graphique (modifiable dans Paramètres › Fenêtre › Graphismes › Décodage vidéo matériel).","video_recovered_title":"Image désormais décodée par logiciel","open_in_title":"Ouvrir dans l’app PS5Upload ?","open_in_body":"Vous avez l’app PS5Upload sur cet appareil ? Ouvrez ceci dedans, ou continuez dans le navigateur.","open_in_app":"Ouvrir dans l’app","open_in_browser":"Continuer dans le navigateur","open_in_remember":"Retenir mon choix sur cet appareil","open_in_opening":"Ouverture de l’app PS5Upload…","open_in_not_opened":"Rien ne s’est passé ? L’app n’est peut-être pas sur cet appareil.","open_in_again":"Réessayer","pad_8bitdo_no_xinput":"Cette manette 8BitDo n'a pas de mode X-input. Si un bouton ne correspond pas, vérifiez la manette.","pad_8bitdo_how_switch":"mettez l'interrupteur à l'arrière sur X, puis appuyez sur Start","pad_8bitdo_how_startx":"éteignez-la, puis maintenez Start + X pour l'allumer","pad_8bitdo_how_receiver":"utilisez son récepteur 2.4G ou un câble USB","pad_8bitdo_how_manual":"son manuel explique comment","pad_8bitdo_xinput":"Pour un meilleur résultat, passez votre 8BitDo en mode X-input : {how}.","rp_touch_left_stick":"Joystick gauche","rp_touch_right_stick":"Joystick droit","rp_touch_touchpad":"Pavé tactile","rp_pad_step_lx":"Poussez le stick gauche vers la droite","rp_pad_step_ly":"Poussez le stick gauche vers le bas","rp_pad_step_rx":"Poussez le stick droit vers la droite","rp_pad_step_ry":"Poussez le stick droit vers le bas","join_check_bottom":"Appuyez sur le bouton du bas (✕)","join_check_right":"Appuyez sur le bouton de droite (○)","join_check_left":"Appuyez sur le bouton de gauche (□)","join_check_top":"Appuyez sur le bouton du haut (△)","rp_pad_press":"Appuyez sur {name}","join_check_saved":"Enregistré pour cette manette sur cet appareil. Essayez-la ci-dessous.","join_check_title":"Vérifier la manette","join_done":"Terminé","rp_pads_none":"Aucune manette détectée. Connectez-en une et appuyez sur n'importe quel bouton.","rp_pad_mapped":"Joue avec votre configuration","join_check_unknown":"Cette manette n'est pas dans notre liste, ses boutons peuvent donc être inversés. La configurer ne prend que quelques secondes.","rp_pad_standard":"Reconnue","rp_pad_progress":"{n} sur {total}","rp_pad_skip":"Passer","rp_pad_back":"Retour","rp_pad_cancel":"Annuler","join_check_try":"Appuyez sur des boutons et bougez les sticks : ce que vous pressez s'allume.","join_check_redo":"Refaire","join_check_map":"Configurer les boutons","rp_pad_reset":"Réinitialiser","join_open_lan_body":"Pas d'accès à Internet ? Si vous êtes sur le même Wi-Fi que votre ami, ouvrez la partie par là.","join_open_lan":"Ouvrir sur ce Wi-Fi","join_path_lan":"Réseau domestique","join_seat_taken":"{host} avait besoin de récupérer sa manette et aucune autre manette n'était libre sur la PS5 : vous avez quitté la partie. Demandez à {host} de vous laisser revenir.","join_refused_key":"Cette invitation a expiré. Demandez un nouveau lien à {host}.","join_refused_expired":"Votre place dans la partie est perdue. Demandez à {host} de vous laisser revenir.","join_refused_full":"La partie est pleine : il y a déjà quatre joueurs.","join_refused_denied":"{host} ne vous a pas laissé entrer cette fois.","join_refused_no_answer":"{host} n'a pas répondu à temps. Prévenez {host}, puis réessayez.","join_refused_closed":"{host} n'organise pas de Jouer ensemble pour le moment.","join_refused_old_helper":"La PS5 de {host} a besoin d'un assistant à jour pour Jouer ensemble.","join_refused_not_playing":"{host} ne joue pas en ce moment. Demandez d'abord à {host} de lancer Jouer.","join_refused_unreachable":"L'ordinateur de {host} n'a pas pu joindre sa PS5. Réessayez dans un instant.","join_refused_slow_down":"Trop de codes erronés. Attendez une minute, puis réessayez.","join_refused_address":"L'adresse de ce lien est hors de ton réseau domestique, l'application ne l'utilisera donc pas. Demande à {host} un lien avec l'adresse IP de son ordinateur.","join_refused_other":"{host} ne vous a pas laissé entrer.","join_ended_kicked":"{host} vous a retiré de la partie.","join_ended_closed":"{host} a fermé Jouer ensemble.","join_ended_host_stopped":"L'hôte a arrêté de jouer.","join_ended_replaced":"Cette partie a été ouverte dans un autre onglet ou sur un autre appareil, elle s'est donc arrêtée ici.","join_ended_pad_lost":"La PS5 a perdu votre manette, vous êtes donc sorti de la partie. Demandez à {host} de vous laisser revenir.","join_ended_gave_up":"La connexion à {host} n'est pas revenue à temps.","join_net_lost":"La connexion à {host} a été coupée. Vérifiez votre connexion Internet, puis redemandez.","join_ended_lost":"Impossible de joindre {host}. Vérifiez que vous êtes sur le même réseau.","join_ended_left":"Vous avez quitté la partie.","join_net_mismatch":"Ce lien ne correspond pas à l'hôte ; demandez-lui-en un nouveau.","join_net_no_direct":"Une connexion directe est impossible depuis ce réseau (les routeurs des deux côtés sont stricts). Essayez le Wi-Fi plutôt que les données mobiles, ou demandez à l'hôte d'activer l'UPnP.","join_net_no_room":"Cette invitation n'est plus ouverte. Demandez un nouveau lien à {host}.","join_net_full":"La partie de {host} n'a pas de place pour un autre ami pour le moment. Réessayez dans un instant.","join_net_no_hub":"Impossible de joindre le service d'invitations de PS5Upload. Vérifiez votre connexion internet, puis réessayez.","join_net_offer":"L'ordinateur de {host} n'a pas pu se connecter à ce navigateur. Essayez un autre navigateur.","join_net_no_webrtc":"Ce navigateur ne peut pas établir de connexions directes. Essayez une version récente de Chrome, Safari ou Firefox.","join_cancel":"Annuler","join_host_fallback":"votre ami","join_connecting":"Connexion à {host}…","join_waiting":"En attente que {host} vous laisse entrer","join_waiting_body":"{host} voit votre nom à l'écran et appuie sur Autoriser.","join_retry":"Réessayer","join_again":"Redemander à rejoindre","join_playing_at":"En jeu chez {host}","join_you_are":"Vous êtes le joueur {n}","join_seat_stream":"Vous jouez avec l'utilisateur PS5 de {host}. Inutile d'en choisir un.","join_plays_as":"Vous jouez en tant que {profile}. Inutile d'en choisir un.","join_seat_tv_asks":"{host} a choisi un profil pour vous, mais il n'a pas pu être utilisé. La TV va vous demander qui vous êtes.","join_picking":"Appuyez sur PS, puis choisissez Jeu rapide sur la télé","join_hide_controls":"Masquer","join_sound":"Touchez pour le son","rp_unmute":"Son activé","rp_mute":"Couper le son","join_no_sound":"Pas de son dans ce navigateur","join_exit_fullscreen":"Quitter le plein écran","pad_fill":"Plein écran","join_leave":"Quitter","join_show_controls":"Afficher les commandes","join_hold_hint":"Maintenez l'image appuyée pour afficher les boutons","pad_watch_no_hevc":"Cet appareil ne peut pas lire l'image de ce stream : l'ordinateur diffuse en HEVC et cet appareil ne lit que le H.264.","pad_watch_decode":"L'image n'a pas pu être lue ici.","join_pad_ready":"Votre manette est prête","join_check_unknown_short":"Pas dans notre liste : les boutons peuvent être inversés.","join_full_to_play":"Touchez plein écran pour jouer avec la manette à l'écran.","join_pad_none":"Branchez une manette (USB ou Bluetooth) et appuyez sur un bouton.","join_pad_keys":"Ou utilisez le clavier : ZQSD/WASD pour bouger, flèches croix directionnelle, Entrée ✕, Retour arrière ○, Q □, E △, Tab Options.","join_tv_back_hint":"Appuyez sur Retour sur la télécommande pour afficher les boutons.","join_block_note":"{host} a désactivé PS et Create pour les amis.","join_guide_title":"Encore une étape sur la télé","join_guide_body":"Appuyez une fois sur PS sur votre manette. La télé demande « Qui utilise cette manette ? ». Choisissez Jeu rapide ou votre propre utilisateur. L'hôte n'a rien à faire.","join_guide_menus":"Sur l'écran d'accueil de la PS5, seul l'hôte contrôle les menus ; votre manette joue dans les jeux.","join_guide_ok":"Compris","join_host_away":"L'hôte a arrêté de jouer — en attente de sa reprise ({time})","join_reconnecting":"Reconnexion…","join_reconnecting_left":"Votre place est gardée pendant {time}.","pad_turn":"Tournez le téléphone à l'horizontale","join_game_label":"Partie de {host}","join_title":"Rejoindre la partie d'un ami","join_title_body":"Jouez sur la PS5 de {host} en tant que joueur 2, 3 ou 4.","join_name_label":"Votre nom","join_name_hint":"Votre ami le verra quand vous demanderez à rejoindre.","join_button":"Rejoindre"},"hi":{"usb_skipped_not_payload":"{name}: .elf या .bin फ़ाइल नहीं है","usb_skipped_unknown":"{id}: अब पेलोड सूची में नहीं है","browser_unsupported":"इसके लिए डेस्कटॉप ऐप चाहिए। यह ब्राउज़र में काम नहीं करता।","video_recovered_notice":"पिछली बार तस्वीर शुरू करते समय खेलें क्रैश हो गया था, इसलिए तस्वीर अब ग्राफ़िक्स कार्ड के बिना डिकोड होती है (बदलने के लिए सेटिंग्स › विंडो › ग्राफ़िक्स › हार्डवेयर वीडियो डिकोडिंग)।","video_recovered_title":"तस्वीर अब सॉफ़्टवेयर से डिकोड होती है","open_in_title":"PS5Upload ऐप में खोलें?","open_in_body":"क्या इस डिवाइस पर PS5Upload ऐप है? इसे वहाँ खोलें, या ब्राउज़र में ही जारी रखें।","open_in_app":"ऐप में खोलें","open_in_browser":"ब्राउज़र में जारी रखें","open_in_remember":"इस डिवाइस पर मेरी पसंद याद रखें","open_in_opening":"PS5Upload ऐप खुल रहा है…","open_in_not_opened":"कुछ नहीं हुआ? शायद इस डिवाइस पर ऐप नहीं है।","open_in_again":"फिर कोशिश करें","pad_8bitdo_no_xinput":"इस 8BitDo में X-input मोड नहीं है। अगर कोई बटन गलत है, तो कंट्रोलर जाँचें।","pad_8bitdo_how_switch":"पीछे का स्विच X पर करें, फिर Start दबाएँ","pad_8bitdo_how_startx":"इसे बंद करें, फिर Start + X दबाकर रखें ताकि यह चालू हो","pad_8bitdo_how_receiver":"इसका 2.4G रिसीवर या USB केबल इस्तेमाल करें","pad_8bitdo_how_manual":"इसकी मैनुअल में तरीका दिया है","pad_8bitdo_xinput":"सबसे अच्छे नतीजे के लिए अपने 8BitDo को X-input मोड में करें: {how}।","rp_touch_left_stick":"बायाँ स्टिक","rp_touch_right_stick":"दायाँ स्टिक","rp_touch_touchpad":"टचपैड","rp_menu":"मेनू","rp_pad_step_lx":"बायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ly":"बायाँ स्टिक नीचे धकेलें","rp_pad_step_rx":"दायाँ स्टिक दाईं ओर धकेलें","rp_pad_step_ry":"दायाँ स्टिक नीचे धकेलें","join_check_bottom":"नीचे वाला फ़ेस बटन दबाएँ (✕)","join_check_right":"दाईं ओर वाला फ़ेस बटन दबाएँ (○)","join_check_left":"बाईं ओर वाला फ़ेस बटन दबाएँ (□)","join_check_top":"ऊपर वाला फ़ेस बटन दबाएँ (△)","rp_pad_press":"{name} दबाएँ","join_check_saved":"इस डिवाइस पर इस कंट्रोलर के लिए सेव हो गया। नीचे आज़माएँ।","join_check_title":"अपना कंट्रोलर जाँचें","join_done":"हो गया","rp_pads_none":"अभी तक कोई कंट्रोलर नहीं दिखा। एक कनेक्ट करें और उस पर कोई भी बटन दबाएँ।","rp_pad_mapped":"आपकी मैपिंग से खेलता है","join_check_unknown":"यह कंट्रोलर हमारी सूची में नहीं है, इसलिए इसके बटन आपस में बदले हो सकते हैं। सेट अप करने में कुछ सेकंड लगते हैं।","rp_pad_standard":"पहचाना गया","rp_pad_progress":"{total} में से {n}","rp_pad_skip":"छोड़ें","rp_pad_back":"वापस","rp_pad_cancel":"रद्द करें","join_check_try":"बटन दबाएँ और स्टिक हिलाएँ: जो दबाएँगे वह जल उठेगा।","join_check_redo":"फिर से करें","join_check_map":"बटन सेट करें","rp_pad_reset":"रीसेट करें","join_open_lan_body":"इंटरनेट नहीं मिल रहा? अगर आप दोस्त वाले Wi-Fi पर ही हैं, तो गेम वहीं खोलें।","join_open_lan":"इसी Wi-Fi पर खोलें","join_path_lan":"होम नेटवर्क","join_path_internet":"इंटरनेट","join_seat_taken":"{host} को अपना कंट्रोलर वापस चाहिए था और PS5 पर कोई दूसरा कंट्रोलर खाली नहीं था, इसलिए आप गेम से बाहर हो गए। {host} से फिर से अंदर आने देने को कहें।","join_refused_key":"इस न्योते की समय-सीमा खत्म हो गई है। {host} से नया लिंक माँगें।","join_refused_expired":"गेम में आपकी जगह चली गई। {host} से फिर अंदर लेने को कहें।","join_refused_full":"गेम भर गया है: पहले से चार प्लेयर हैं।","join_refused_denied":"{host} ने इस बार आपको अंदर नहीं आने दिया।","join_refused_no_answer":"{host} ने समय पर जवाब नहीं दिया। {host} को बताएँ, फिर कोशिश करें।","join_refused_closed":"{host} अभी 'साथ खेलें' नहीं चला रहे हैं।","join_refused_old_helper":"'साथ खेलें' के लिए {host} के PS5 को अपडेटेड हेल्पर चाहिए।","join_refused_not_playing":"{host} अभी नहीं खेल रहे हैं। {host} से पहले खेलें शुरू करने को कहें।","join_refused_unreachable":"{host} का कंप्यूटर उनके PS5 तक नहीं पहुँच सका। थोड़ी देर में फिर कोशिश करें।","join_refused_slow_down":"बहुत सारे गलत कोड। एक मिनट रुकें, फिर कोशिश करें।","join_refused_address":"इस लिंक का पता आपके होम नेटवर्क से बाहर है, इसलिए ऐप इसका उपयोग नहीं करेगा। {host} से उनके कंप्यूटर के IP पते वाला लिंक माँगें।","join_refused_other":"{host} ने आपको अंदर नहीं आने दिया।","join_ended_kicked":"{host} ने आपको गेम से हटा दिया।","join_ended_closed":"{host} ने 'साथ खेलें' बंद कर दिया।","join_ended_host_stopped":"होस्ट ने खेलना बंद कर दिया।","join_ended_replaced":"यह गेम किसी दूसरे टैब या डिवाइस पर खुल गया, इसलिए यहाँ रुक गया।","join_ended_pad_lost":"PS5 ने आपका कंट्रोलर खो दिया, इसलिए आप गेम से बाहर हैं। {host} से फिर अंदर लेने को कहें।","join_ended_gave_up":"{host} से कनेक्शन समय पर वापस नहीं आया।","join_net_lost":"{host} से कनेक्शन टूट गया। अपना इंटरनेट कनेक्शन जाँचें, फिर दोबारा पूछें।","join_ended_lost":"{host} तक नहीं पहुँच सके। देखें कि आप एक ही नेटवर्क पर हैं।","join_ended_left":"आपने गेम छोड़ दिया।","join_net_mismatch":"यह लिंक होस्ट से मेल नहीं खाता; उनसे नया लिंक माँगें।","join_net_no_direct":"इस नेटवर्क से सीधा कनेक्शन संभव नहीं है (दोनों तरफ़ के राउटर सख़्त हैं)। मोबाइल डेटा की जगह Wi-Fi आज़माएँ, या होस्ट से UPnP चालू करने को कहें।","join_net_no_room":"यह न्योता अब खुला नहीं है। {host} से नया लिंक माँगें।","join_net_full":"{host} के गेम में अभी एक और दोस्त की जगह नहीं है। थोड़ी देर में फिर कोशिश करें।","join_net_no_hub":"PS5Upload न्योता सेवा तक नहीं पहुँच सके। अपना इंटरनेट कनेक्शन जाँचें, फिर कोशिश करें।","join_net_offer":"{host} का कंप्यूटर इस ब्राउज़र से कनेक्ट नहीं हो सका। कोई दूसरा ब्राउज़र आज़माएँ।","join_net_no_webrtc":"यह ब्राउज़र सीधे कनेक्शन नहीं बना सकता। Chrome, Safari या Firefox का नया संस्करण आज़माएँ।","join_cancel":"रद्द करें","join_host_fallback":"आपका दोस्त","join_connecting":"{host} से जुड़ रहे हैं…","join_waiting":"{host} के अंदर आने देने का इंतज़ार","join_waiting_body":"{host} अपनी स्क्रीन पर आपका नाम देखकर 'अनुमति दें' पर टैप करेंगे।","join_retry":"फिर कोशिश करें","join_again":"फिर से जुड़ने के लिए पूछें","join_playing_at":"{host} के यहाँ खेल रहे हैं","join_you_are":"आप प्लेयर {n} हैं","join_seat_stream":"आप {host} के PS5 यूज़र के रूप में खेल रहे हैं। यूज़र चुनने की ज़रूरत नहीं।","join_plays_as":"आप {profile} के रूप में खेल रहे हैं। कुछ चुनने की ज़रूरत नहीं।","join_seat_tv_asks":"{host} ने आपके लिए एक प्रोफ़ाइल चुनी थी, पर वह इस्तेमाल नहीं हो सकी। टीवी पूछेगा कि आप कौन हैं।","join_picking":"PS दबाएँ, फिर TV पर क्विक प्ले चुनें","join_hide_controls":"छिपाएँ","join_sound":"आवाज़ के लिए टैप करें","rp_unmute":"ध्वनि चालू","rp_mute":"म्यूट","join_no_sound":"इस ब्राउज़र में आवाज़ नहीं है","join_exit_fullscreen":"फ़ुल स्क्रीन से बाहर निकलें","pad_fill":"फ़ुल स्क्रीन","join_leave":"छोड़ें","join_show_controls":"कंट्रोल दिखाएं","join_hold_hint":"बटन दिखाने के लिए तस्वीर को दबाकर रखें","pad_watch_no_hevc":"यह डिवाइस इस स्ट्रीम की तस्वीर नहीं चला सकता: कंप्यूटर HEVC में स्ट्रीम करता है और यह डिवाइस सिर्फ़ H.264 चलाता है।","pad_watch_decode":"तस्वीर यहाँ नहीं चल सकी।","join_pad_ready":"आपका कंट्रोलर तैयार है","join_check_unknown_short":"हमारी सूची में नहीं: बटन बदले हुए हो सकते हैं।","join_full_to_play":"ऑन-स्क्रीन कंट्रोलर से खेलने के लिए फ़ुल स्क्रीन पर टैप करें।","join_pad_none":"कंट्रोलर जोड़ें (USB या Bluetooth) और कोई भी बटन दबाएँ।","join_pad_keys":"या कीबोर्ड इस्तेमाल करें: WASD चलना, ऐरो D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options।","join_tv_back_hint":"बटन देखने के लिए रिमोट पर Back दबाएँ।","join_block_note":"{host} ने दोस्तों के लिए PS और Create बंद कर दिए हैं।","join_guide_title":"TV पर एक और कदम","join_guide_body":"अपने कंट्रोलर पर एक बार PS दबाएँ। TV पूछेगा \"यह कंट्रोलर कौन इस्तेमाल कर रहा है?\"। क्विक प्ले या अपना यूज़र चुनें। होस्ट को कुछ नहीं करना है।","join_guide_menus":"PS5 की होम स्क्रीन पर सिर्फ़ होस्ट मेन्यू चलाता है; आपका कंट्रोलर गेम के अंदर खेलता है।","join_guide_ok":"ठीक है","join_host_away":"होस्ट ने खेलना बंद कर दिया — उनके फिर से शुरू करने का इंतज़ार ({time})","join_reconnecting":"फिर से जुड़ रहे हैं…","join_reconnecting_left":"आपकी जगह {time} तक रखी जाएगी।","pad_turn":"फ़ोन को आड़ा घुमाएँ","join_game_label":"{host} का गेम","join_title":"दोस्त के गेम में जुड़ें","join_title_body":"{host} के PS5 पर प्लेयर 2, 3 या 4 बनकर खेलें।","join_name_label":"आपका नाम","join_name_hint":"जुड़ने के लिए पूछने पर आपका दोस्त यह देखेगा।","join_button":"जुड़ें"},"hu":{"usb_skipped_not_payload":"{name}: nem .elf vagy .bin fájl","usb_skipped_unknown":"{id}: már nincs a payloadok listáján","browser_unsupported":"Ehhez az asztali alkalmazás kell. Böngészőben nem működik.","video_recovered_notice":"Legutóbb a Play összeomlott a kép indításakor, ezért a kép mostantól videokártya nélkül dekódolódik (módosítás: Beállítások › Ablak › Grafika › Hardveres videódekódolás).","video_recovered_title":"A kép mostantól szoftveresen dekódolódik","open_in_title":"Megnyitod a PS5Upload appban?","open_in_body":"Megvan a PS5Upload app ezen az eszközön? Nyisd meg ott, vagy folytasd a böngészőben.","open_in_app":"Megnyitás az appban","open_in_browser":"Folytatás a böngészőben","open_in_remember":"Választásom megjegyzése ezen az eszközön","open_in_opening":"A PS5Upload app megnyitása…","open_in_not_opened":"Nem történt semmi? Lehet, hogy az app nincs ezen az eszközön.","open_in_again":"Újra","pad_8bitdo_no_xinput":"Ennek a 8BitDo-nak nincs X-input módja. Ha egy gomb rossz, ellenőrizd a kontrollert.","pad_8bitdo_how_switch":"állítsd a hátsó kapcsolót X-re, majd nyomd meg a Start gombot","pad_8bitdo_how_startx":"kapcsold ki, majd a Start + X nyomva tartásával kapcsold be","pad_8bitdo_how_receiver":"használd a 2.4G vevőjét vagy egy USB-kábelt","pad_8bitdo_how_manual":"a kézikönyve leírja, hogyan","pad_8bitdo_xinput":"A legjobb eredményért kapcsold a 8BitDo-t X-input módba: {how}.","rp_touch_left_stick":"Bal kar","rp_touch_right_stick":"Jobb kar","rp_touch_touchpad":"Érintőpad","rp_menu":"Menü","rp_pad_step_lx":"Told a bal kart jobbra","rp_pad_step_ly":"Told a bal kart lefelé","rp_pad_step_rx":"Told a jobb kart jobbra","rp_pad_step_ry":"Told a jobb kart lefelé","join_check_bottom":"Nyomd meg az alsó előlapi gombot (✕)","join_check_right":"Nyomd meg a jobb oldali előlapi gombot (○)","join_check_left":"Nyomd meg a bal oldali előlapi gombot (□)","join_check_top":"Nyomd meg a felső előlapi gombot (△)","rp_pad_press":"Nyomd meg: {name}","join_check_saved":"Elmentve ehhez a kontrollerhez ezen az eszközön. Próbáld ki lent.","join_check_title":"Kontroller ellenőrzése","join_done":"Kész","rp_pads_none":"Még nem látható kontroller. Csatlakoztass egyet, és nyomd meg bármelyik gombját.","rp_pad_mapped":"A saját kiosztásoddal játszik","join_check_unknown":"Ez a kontroller nincs a listánkon, így a gombjai összekeveredhetnek. A beállítás csak pár másodperc.","rp_pad_standard":"Felismerve","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Kihagyás","rp_pad_back":"Vissza","rp_pad_cancel":"Mégse","join_check_try":"Nyomj gombokat és mozgasd a karokat: amit megnyomsz, az felvillan.","join_check_redo":"Újra","join_check_map":"Gombok beállítása","rp_pad_reset":"Visszaállítás","join_open_lan_body":"Nem éred el az internetet? Ha ugyanazon a Wi-Fin vagy, mint a barátod, ott nyisd meg a játékot.","join_open_lan":"Megnyitás ezen a Wi-Fin","join_path_lan":"Otthoni hálózat","join_seat_taken":"{host} visszakérte a kontrollerét, és a PS5-ön nem volt más szabad kontroller, ezért kikerültél a játékból. Kérd meg {host} játékost, hogy engedjen be újra.","join_refused_key":"Ez a meghívó lejárt. Kérj új linket tőle: {host}.","join_refused_expired":"Elveszett a helyed a játékban. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_refused_full":"A játék megtelt: már négy játékos van bent.","join_refused_denied":"{host} most nem engedett be.","join_refused_no_answer":"{host} nem válaszolt időben. Szólj neki ({host}), majd próbáld újra.","join_refused_closed":"{host} most nem indított Közös játékot.","join_refused_old_helper":"{host} PS5-jének frissített segédprogram kell a Közös játékhoz.","join_refused_not_playing":"{host} most nem játszik. Kérd meg, hogy előbb indítsa el a Játékot ({host}).","join_refused_unreachable":"{host} számítógépe nem érte el a PS5-öt. Próbáld újra egy kicsit később.","join_refused_slow_down":"Túl sok hibás kód. Várj egy percet, aztán próbáld újra.","join_refused_address":"A hivatkozás címe kívül esik az otthoni hálózatodon, ezért az alkalmazás nem használja. Kérj {host} felhasználótól olyan hivatkozást, amely a számítógépe IP-címét tartalmazza.","join_refused_other":"{host} nem engedett be.","join_ended_kicked":"{host} kivett a játékból.","join_ended_closed":"{host} bezárta a Közös játékot.","join_ended_host_stopped":"A házigazda abbahagyta a játékot.","join_ended_replaced":"Ezt a játékot egy másik lapon vagy eszközön nyitották meg, ezért itt leállt.","join_ended_pad_lost":"A PS5 elvesztette a kontrollered, ezért kikerültél a játékból. Kérd meg {host} felhasználót, hogy engedjen be újra.","join_ended_gave_up":"A kapcsolat {host} felé nem állt helyre időben.","join_net_lost":"Megszakadt a kapcsolat ezzel: {host}. Ellenőrizd az internetkapcsolatod, aztán kérd újra.","join_ended_lost":"{host} nem érhető el. Ellenőrizd, hogy ugyanazon a hálózaton vagytok-e.","join_ended_left":"Kiléptél a játékból.","join_net_mismatch":"Ez a link nem egyezik a házigazdával; kérj tőle újat.","join_net_no_direct":"Erről a hálózatról nem lehet közvetlen kapcsolatot létrehozni (mindkét oldal routere szigorú). Próbáld Wi-Fi-vel mobilnet helyett, vagy kérd meg a házigazdát, hogy kapcsolja be az UPnP-t.","join_net_no_room":"Ez a meghívó már nem érvényes. Kérj új linket {host} felhasználótól.","join_net_full":"{host} játékában most nincs hely egy újabb barátnak. Próbáld újra egy kicsit később.","join_net_no_hub":"A PS5Upload meghívószolgáltatása nem érhető el. Ellenőrizd az internetkapcsolatot, majd próbáld újra.","join_net_offer":"{host} számítógépe nem tudott kapcsolódni ehhez a böngészőhöz. Próbálj ki egy másik böngészőt.","join_net_no_webrtc":"Ez a böngésző nem tud közvetlen kapcsolatot létrehozni. Próbáld egy friss Chrome-mal, Safarival vagy Firefoxszal.","join_cancel":"Mégse","join_host_fallback":"a barátod","join_connecting":"Csatlakozás ehhez: {host}…","join_waiting":"Várakozás, amíg {host} beenged","join_waiting_body":"{host} látja a neved a képernyőjén, és az Engedélyezésre koppint.","join_retry":"Újra","join_again":"Csatlakozás kérése újra","join_playing_at":"Játék itt: {host}","join_you_are":"Te vagy a(z) {n}. játékos","join_seat_stream":"{host} PS5-felhasználójaként játszol. Nem kell felhasználót választanod.","join_plays_as":"{profile} néven játszol. Nem kell választanod.","join_seat_tv_asks":"{host} választott neked egy profilt, de nem lehetett használni. A tévé megkérdezi, ki vagy.","join_picking":"Nyomd meg a PS gombot, aztán a tévén válaszd a Gyors játékot","join_hide_controls":"Elrejtés","join_sound":"Koppints a hanghoz","rp_unmute":"Hang be","rp_mute":"Némítás","join_no_sound":"Ebben a böngészőben nincs hang","join_exit_fullscreen":"Kilépés a teljes képernyőből","pad_fill":"Teljes képernyő","join_leave":"Kilépés","join_show_controls":"Vezérlők megjelenítése","join_hold_hint":"A gombok megjelenítéséhez tartsd lenyomva a képet","pad_watch_no_hevc":"Ez az eszköz nem tudja lejátszani ennek a streamnek a képét: a számítógép HEVC-ben streamel, ez az eszköz csak H.264-et játszik le.","pad_watch_decode":"A képet itt nem sikerült lejátszani.","join_pad_ready":"A kontrollered készen áll","join_check_unknown_short":"Nincs a listánkon: a gombok összekeveredhetnek.","join_full_to_play":"Koppints a Teljes képernyő gombra, hogy a képernyős kontrollerrel játssz.","join_pad_none":"Csatlakoztass egy kontrollert (USB vagy Bluetooth), és nyomj meg egy gombot.","join_pad_keys":"Vagy használd a billentyűzetet: WASD mozgás, nyilak D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"A gombokhoz nyomd meg a távirányítón a Vissza gombot.","join_block_note":"{host} kikapcsolta a PS és Create gombot a barátoknak.","join_guide_title":"Még egy lépés a tévén","join_guide_body":"Nyomd meg egyszer a PS gombot a kontrollereden. A tévé megkérdezi: „Ki használja ezt a kontrollert?”. Válaszd a Gyors játékot vagy a saját felhasználódat. A házigazdának semmit sem kell tennie.","join_guide_menus":"A PS5 kezdőképernyőjén csak a házigazda kezeli a menüket; a te kontrollered a játékokban működik.","join_guide_ok":"Értem","join_host_away":"A házigazda abbahagyta a játékot – várjuk, hogy újra elkezdje ({time})","join_reconnecting":"Újracsatlakozás…","join_reconnecting_left":"A helyed még {time} ideig fenntartjuk.","pad_turn":"Fordítsd el a telefont fekvőre","join_game_label":"{host} játéka","join_title":"Csatlakozás egy barát játékához","join_title_body":"Játssz {host} PS5-jén 2., 3. vagy 4. játékosként.","join_name_label":"A neved","join_name_hint":"A barátod ezt látja, amikor csatlakozni szeretnél.","join_button":"Csatlakozás"},"id":{"usb_skipped_not_payload":"{name}: bukan file .elf atau .bin","usb_skipped_unknown":"{id}: tidak ada lagi di daftar payload","browser_unsupported":"Ini memerlukan aplikasi desktop. Tidak berfungsi di browser.","video_recovered_notice":"Terakhir kali Play crash saat memulai gambar, jadi gambar kini didekode tanpa kartu grafis (ubah di Pengaturan › Jendela › Grafis › Dekode video perangkat keras).","video_recovered_title":"Gambar kini didekode oleh perangkat lunak","open_in_title":"Buka di aplikasi PS5Upload?","open_in_body":"Punya aplikasi PS5Upload di perangkat ini? Buka di sana, atau lanjutkan di browser.","open_in_app":"Buka di aplikasi","open_in_browser":"Lanjutkan di browser","open_in_remember":"Ingat pilihan saya di perangkat ini","open_in_opening":"Membuka aplikasi PS5Upload…","open_in_not_opened":"Tidak terjadi apa-apa? Mungkin aplikasinya tidak ada di perangkat ini.","open_in_again":"Coba lagi","pad_8bitdo_no_xinput":"8BitDo ini tidak punya mode X-input. Jika ada tombol yang salah, periksa kontrolernya.","pad_8bitdo_how_switch":"geser sakelar di belakang ke X, lalu tekan Start","pad_8bitdo_how_startx":"matikan, lalu tahan Start + X untuk menyalakannya","pad_8bitdo_how_receiver":"gunakan receiver 2.4G-nya atau kabel USB","pad_8bitdo_how_manual":"caranya ada di buku panduannya","pad_8bitdo_xinput":"Untuk hasil terbaik, ubah 8BitDo kamu ke mode X-input: {how}.","rp_touch_left_stick":"Stik kiri","rp_touch_right_stick":"Stik kanan","rp_pad_step_lx":"Dorong stik kiri ke kanan","rp_pad_step_ly":"Dorong stik kiri ke bawah","rp_pad_step_rx":"Dorong stik kanan ke kanan","rp_pad_step_ry":"Dorong stik kanan ke bawah","join_check_bottom":"Tekan tombol muka bawah (✕)","join_check_right":"Tekan tombol muka kanan (○)","join_check_left":"Tekan tombol muka kiri (□)","join_check_top":"Tekan tombol muka atas (△)","rp_pad_press":"Tekan {name}","join_check_saved":"Disimpan untuk kontroler ini di perangkat ini. Coba di bawah.","join_check_title":"Periksa kontrolermu","join_done":"Selesai","rp_pads_none":"Belum ada kontroler terdeteksi. Sambungkan satu dan tekan tombol apa saja.","rp_pad_mapped":"Bermain dengan pemetaan Anda","join_check_unknown":"Kontroler ini tidak ada di daftar kami, jadi tombolnya bisa tertukar. Mengaturnya hanya butuh beberapa detik.","rp_pad_standard":"Dikenali","rp_pad_progress":"{n} dari {total}","rp_pad_skip":"Lewati","rp_pad_back":"Kembali","rp_pad_cancel":"Batal","join_check_try":"Tekan tombol dan gerakkan stik: yang kamu tekan akan menyala.","join_check_redo":"Ulangi","join_check_map":"Atur tombol","rp_pad_reset":"Atur ulang","join_open_lan_body":"Tidak bisa ke internet? Kalau kamu di Wi-Fi yang sama dengan temanmu, buka game-nya di sana.","join_open_lan":"Buka di Wi-Fi ini","join_path_lan":"Jaringan rumah","join_seat_taken":"{host} membutuhkan kontrolernya kembali dan tidak ada kontroler lain yang kosong di PS5, jadi Anda keluar dari permainan. Minta {host} untuk mengizinkan Anda masuk lagi.","join_refused_key":"Undangan ini sudah kedaluwarsa. Minta tautan baru ke {host}.","join_refused_expired":"Tempat Anda di permainan hilang. Minta {host} untuk memasukkan Anda lagi.","join_refused_full":"Game sudah penuh: sudah ada empat pemain.","join_refused_denied":"{host} tidak mengizinkan Anda masuk kali ini.","join_refused_no_answer":"{host} tidak menjawab tepat waktu. Beri tahu {host}, lalu coba lagi.","join_refused_closed":"{host} sedang tidak membuka Main Bareng.","join_refused_old_helper":"PS5 milik {host} perlu helper terbaru untuk Main Bareng.","join_refused_not_playing":"{host} sedang tidak main. Minta {host} memulai Main dulu.","join_refused_unreachable":"Komputer {host} tidak bisa menjangkau PS5-nya. Coba lagi sebentar lagi.","join_refused_slow_down":"Terlalu banyak kode yang salah. Tunggu satu menit, lalu coba lagi.","join_refused_address":"Alamat tautan ini berada di luar jaringan rumah Anda, jadi aplikasi tidak akan memakainya. Minta {host} tautan dengan alamat IP komputernya.","join_refused_other":"{host} tidak mengizinkan Anda masuk.","join_ended_kicked":"{host} mengeluarkan Anda dari game.","join_ended_closed":"{host} menutup Main Bareng.","join_ended_host_stopped":"Host berhenti main.","join_ended_replaced":"Permainan ini dibuka di tab atau perangkat lain, jadi berhenti di sini.","join_ended_pad_lost":"PS5 kehilangan kontroler Anda, jadi Anda keluar dari permainan. Minta {host} untuk memasukkan Anda lagi.","join_ended_gave_up":"Koneksi ke {host} tidak pulih tepat waktu.","join_net_lost":"Koneksi ke {host} terputus. Periksa koneksi internetmu, lalu minta lagi.","join_ended_lost":"Tidak bisa menjangkau {host}. Pastikan Anda di jaringan yang sama.","join_ended_left":"Anda keluar dari game.","join_net_mismatch":"Tautan ini tidak cocok dengan host; minta tautan baru kepadanya.","join_net_no_direct":"Koneksi langsung tidak mungkin dari jaringan ini (router kedua pihak ketat). Coba Wi-Fi alih-alih data seluler, atau minta host menyalakan UPnP.","join_net_no_room":"Undangan ini sudah tidak terbuka. Minta tautan baru kepada {host}.","join_net_full":"Permainan {host} tidak punya tempat untuk teman lain sekarang. Coba lagi sebentar lagi.","join_net_no_hub":"Tidak bisa menjangkau layanan undangan PS5Upload. Periksa koneksi internet Anda, lalu coba lagi.","join_net_offer":"Komputer {host} tidak bisa terhubung ke browser ini. Coba browser lain.","join_net_no_webrtc":"Browser ini tidak bisa membuat koneksi langsung. Coba Chrome, Safari, atau Firefox versi terbaru.","join_cancel":"Batal","join_host_fallback":"teman Anda","join_connecting":"Menghubungkan ke {host}…","join_waiting":"Menunggu {host} mengizinkan Anda masuk","join_waiting_body":"{host} melihat nama Anda di layarnya lalu mengetuk Izinkan.","join_retry":"Coba lagi","join_again":"Minta bergabung lagi","join_playing_at":"Main di tempat {host}","join_you_are":"Anda Pemain {n}","join_seat_stream":"Anda bermain sebagai pengguna PS5 {host}. Tidak perlu memilih pengguna.","join_plays_as":"Anda bermain sebagai {profile}. Tidak perlu memilih.","join_seat_tv_asks":"{host} memilihkan profil untuk Anda, tetapi tidak bisa dipakai. TV akan menanyakan siapa Anda.","join_picking":"Tekan PS, lalu pilih Main Cepat di TV","join_hide_controls":"Sembunyikan","join_sound":"Ketuk untuk suara","rp_unmute":"Suara aktif","rp_mute":"Bisukan","join_no_sound":"Tidak ada suara di browser ini","join_exit_fullscreen":"Keluar dari layar penuh","pad_fill":"Layar penuh","join_leave":"Keluar","join_show_controls":"Tampilkan kontrol","join_hold_hint":"Tekan dan tahan gambar untuk menampilkan tombol","pad_watch_no_hevc":"Perangkat ini tidak bisa memutar gambar stream ini: komputer mengirim HEVC, dan perangkat ini hanya memutar H.264.","pad_watch_decode":"Gambar tidak dapat diputar di sini.","join_pad_ready":"Kontroler Anda siap","join_check_unknown_short":"Tidak ada di daftar kami: tombol bisa tertukar.","join_full_to_play":"Ketuk Layar penuh untuk main dengan kontroler di layar.","join_pad_none":"Hubungkan kontroler (USB atau Bluetooth) lalu tekan tombol apa saja.","join_pad_keys":"Atau pakai keyboard: WASD gerak, panah D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Tekan Kembali di remote untuk menampilkan tombol.","join_block_note":"{host} mematikan PS dan Create untuk teman.","join_guide_title":"Satu langkah lagi di TV","join_guide_body":"Tekan PS sekali di kontroler Anda. TV bertanya \"Siapa yang memakai kontroler ini?\". Pilih Main Cepat atau pengguna Anda sendiri. Tuan rumah tidak perlu melakukan apa pun.","join_guide_menus":"Di layar beranda PS5 hanya host yang mengendalikan menu; kontroler Anda berfungsi di dalam game.","join_guide_ok":"Mengerti","join_host_away":"Host berhenti main — menunggu mereka mulai lagi ({time})","join_reconnecting":"Menyambung ulang…","join_reconnecting_left":"Tempat Anda disimpan selama {time}.","pad_turn":"Miringkan ponsel ke samping","join_game_label":"Game {host}","join_title":"Gabung ke game teman","join_title_body":"Main di PS5 milik {host} sebagai Pemain 2, 3, atau 4.","join_name_label":"Nama Anda","join_name_hint":"Teman Anda melihat nama ini saat Anda minta bergabung.","join_button":"Gabung"},"it":{"usb_skipped_not_payload":"{name}: non è un file .elf o .bin","usb_skipped_unknown":"{id}: non è più nell'elenco dei payload","browser_unsupported":"Serve l'app desktop. Non funziona nel browser.","video_recovered_notice":"L'ultima volta Play si è chiuso all'avvio dell'immagine, quindi ora l'immagine è decodificata senza la scheda grafica (modificabile in Impostazioni › Finestra › Grafica › Decodifica video hardware).","video_recovered_title":"Immagine ora decodificata via software","open_in_title":"Aprire nell’app PS5Upload?","open_in_body":"Hai l’app PS5Upload su questo dispositivo? Aprilo lì, oppure continua nel browser.","open_in_app":"Apri nell’app","open_in_browser":"Continua nel browser","open_in_remember":"Ricorda la mia scelta su questo dispositivo","open_in_opening":"Apertura dell’app PS5Upload…","open_in_not_opened":"Non è successo niente? Forse l’app non è su questo dispositivo.","open_in_again":"Riprova","pad_8bitdo_no_xinput":"Questo 8BitDo non ha la modalità X-input. Se un tasto è sbagliato, controlla il controller.","pad_8bitdo_how_switch":"porta l'interruttore sul retro su X, poi premi Start","pad_8bitdo_how_startx":"spegnilo, poi tieni premuto Start + X per accenderlo","pad_8bitdo_how_receiver":"usa il suo ricevitore 2.4G o un cavo USB","pad_8bitdo_how_manual":"il suo manuale spiega come","pad_8bitdo_xinput":"Per il risultato migliore, passa il tuo 8BitDo in modalità X-input: {how}.","rp_touch_left_stick":"Levetta sinistra","rp_touch_right_stick":"Levetta destra","rp_pad_step_lx":"Spingi la levetta sinistra a destra","rp_pad_step_ly":"Spingi la levetta sinistra in basso","rp_pad_step_rx":"Spingi la levetta destra a destra","rp_pad_step_ry":"Spingi la levetta destra in basso","join_check_bottom":"Premi il tasto frontale in basso (✕)","join_check_right":"Premi il tasto frontale a destra (○)","join_check_left":"Premi il tasto frontale a sinistra (□)","join_check_top":"Premi il tasto frontale in alto (△)","rp_pad_press":"Premi {name}","join_check_saved":"Salvato per questo controller su questo dispositivo. Provalo qui sotto.","join_check_title":"Controlla il controller","join_done":"Fatto","rp_pads_none":"Nessun controller rilevato. Collegane uno e premi un tasto qualsiasi.","rp_pad_mapped":"Gioca con la tua mappatura","join_check_unknown":"Questo controller non è nel nostro elenco, quindi i tasti potrebbero essere scambiati. Configurarlo richiede pochi secondi.","rp_pad_standard":"Riconosciuto","rp_pad_progress":"{n} di {total}","rp_pad_skip":"Salta","rp_pad_back":"Indietro","rp_pad_cancel":"Annulla","join_check_try":"Premi i tasti e muovi le levette: ciò che premi si illumina.","join_check_redo":"Rifai","join_check_map":"Configura i tasti","rp_pad_reset":"Ripristina","join_open_lan_body":"Niente Internet? Se sei sullo stesso Wi-Fi del tuo amico, apri la partita da lì.","join_open_lan":"Apri su questo Wi-Fi","join_path_lan":"Rete domestica","join_seat_taken":"{host} aveva bisogno di riavere il suo controller e sulla PS5 non c'era un altro controller libero, quindi sei uscito dalla partita. Chiedi a {host} di farti entrare di nuovo.","join_refused_key":"Questo invito è scaduto. Chiedi a {host} un nuovo link.","join_refused_expired":"Il tuo posto nella partita è perso. Chiedi a {host} di farti rientrare.","join_refused_full":"La partita è piena: ci sono già quattro giocatori.","join_refused_denied":"Stavolta {host} non ti ha fatto entrare.","join_refused_no_answer":"{host} non ha risposto in tempo. Avvisa {host}, poi riprova.","join_refused_closed":"Al momento {host} non sta ospitando Gioca insieme.","join_refused_old_helper":"La PS5 di {host} ha bisogno di un helper aggiornato per Gioca insieme.","join_refused_not_playing":"{host} non sta giocando ora. Chiedi prima a {host} di avviare Gioca.","join_refused_unreachable":"Il computer di {host} non è riuscito a raggiungere la PS5. Riprova tra poco.","join_refused_slow_down":"Troppi codici errati. Aspetta un minuto e riprova.","join_refused_address":"L'indirizzo di questo link è fuori dalla tua rete domestica, quindi l'app non lo userà. Chiedi a {host} un link con l'indirizzo IP del suo computer.","join_refused_other":"{host} non ti ha fatto entrare.","join_ended_kicked":"{host} ti ha tolto dalla partita.","join_ended_closed":"{host} ha chiuso Gioca insieme.","join_ended_host_stopped":"L'host ha smesso di giocare.","join_ended_replaced":"Questa partita è stata aperta in un'altra scheda o su un altro dispositivo, quindi qui si è fermata.","join_ended_pad_lost":"La PS5 ha perso il tuo controller, quindi sei fuori dalla partita. Chiedi a {host} di farti rientrare.","join_ended_gave_up":"La connessione con {host} non è tornata in tempo.","join_net_lost":"La connessione con {host} si è interrotta. Controlla la connessione Internet, poi chiedi di nuovo.","join_ended_lost":"Impossibile raggiungere {host}. Controlla di essere sulla stessa rete.","join_ended_left":"Sei uscito dalla partita.","join_net_mismatch":"Questo link non corrisponde all'host; chiedigliene uno nuovo.","join_net_no_direct":"Da questa rete non è possibile una connessione diretta (i router di entrambi i lati sono restrittivi). Prova il Wi-Fi invece dei dati mobili, oppure chiedi all'host di attivare UPnP.","join_net_no_room":"Questo invito non è più aperto. Chiedi a {host} un nuovo link.","join_net_full":"La partita di {host} non ha posto per un altro amico in questo momento. Riprova tra poco.","join_net_no_hub":"Impossibile raggiungere il servizio inviti di PS5Upload. Controlla la connessione a internet, poi riprova.","join_net_offer":"Il computer di {host} non è riuscito a connettersi a questo browser. Prova un altro browser.","join_net_no_webrtc":"Questo browser non può creare connessioni dirette. Prova una versione recente di Chrome, Safari o Firefox.","join_cancel":"Annulla","join_host_fallback":"il tuo amico","join_connecting":"Connessione a {host}…","join_waiting":"In attesa che {host} ti faccia entrare","join_waiting_body":"{host} vede il tuo nome sullo schermo e tocca Consenti.","join_retry":"Riprova","join_again":"Chiedi di nuovo di entrare","join_playing_at":"Giochi da {host}","join_you_are":"Sei il Giocatore {n}","join_seat_stream":"Stai giocando con l'utente PS5 di {host}. Non serve sceglierne uno.","join_plays_as":"Stai giocando come {profile}. Non devi sceglierne uno.","join_seat_tv_asks":"{host} ha scelto un profilo per te, ma non si è potuto usare. La TV ti chiederà chi sei.","join_picking":"Premi PS, poi scegli Gioco rapido sulla TV","join_hide_controls":"Nascondi","join_sound":"Tocca per l'audio","rp_unmute":"Audio attivo","rp_mute":"Muto","join_no_sound":"Nessun suono in questo browser","join_exit_fullscreen":"Esci da schermo intero","pad_fill":"Schermo intero","join_leave":"Esci","join_show_controls":"Mostra i comandi","join_hold_hint":"Tieni premuto sull'immagine per mostrare i pulsanti","pad_watch_no_hevc":"Questo dispositivo non può riprodurre l'immagine di questo stream: il computer trasmette in HEVC e questo dispositivo riproduce solo H.264.","pad_watch_decode":"Non è stato possibile riprodurre l'immagine qui.","join_pad_ready":"Il tuo controller è pronto","join_check_unknown_short":"Non è nel nostro elenco: i tasti potrebbero essere scambiati.","join_full_to_play":"Tocca schermo intero per giocare con il controller a schermo.","join_pad_none":"Collega un controller (USB o Bluetooth) e premi un tasto qualsiasi.","join_pad_keys":"Oppure usa la tastiera: WASD per muoverti, frecce croce direzionale, Invio ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Premi Indietro sul telecomando per vedere i pulsanti.","join_block_note":"{host} ha disattivato PS e Create per gli amici.","join_guide_title":"Ancora un passo sulla TV","join_guide_body":"Premi PS una volta sul controller. La TV chiede \"Chi sta usando questo controller?\". Scegli Gioco rapido o il tuo utente. L'host non deve fare nulla.","join_guide_menus":"Nella schermata iniziale della PS5 solo chi ospita controlla i menu; il tuo controller gioca dentro i giochi.","join_guide_ok":"Ho capito","join_host_away":"L'host ha smesso di giocare: in attesa che ricominci ({time})","join_reconnecting":"Riconnessione…","join_reconnecting_left":"Il tuo posto resta riservato per {time}.","pad_turn":"Ruota il telefono in orizzontale","join_game_label":"Partita di {host}","join_title":"Unisciti alla partita di un amico","join_title_body":"Gioca sulla PS5 di {host} come Giocatore 2, 3 o 4.","join_name_label":"Il tuo nome","join_name_hint":"Il tuo amico lo vede quando chiedi di entrare.","join_button":"Unisciti"},"ja":{"usb_skipped_not_payload":"{name}:.elf または .bin ファイルではありません","usb_skipped_unknown":"{id}: ペイロード一覧にありません","browser_unsupported":"デスクトップアプリが必要です。ブラウザーでは動作しません。","video_recovered_notice":"前回 Play が映像の開始中にクラッシュしたため、映像をグラフィックカードを使わずにデコードするようにしました(設定 › ウィンドウ › グラフィック › ハードウェア映像デコード で変更できます)。","video_recovered_title":"映像はソフトウェアでデコードされます","open_in_title":"PS5Upload アプリで開きますか?","open_in_body":"この端末に PS5Upload アプリがあれば、アプリで開けます。ブラウザーのまま続けることもできます。","open_in_app":"アプリで開く","open_in_browser":"ブラウザーで続ける","open_in_remember":"この端末で選択を記憶する","open_in_opening":"PS5Upload アプリを開いています…","open_in_not_opened":"何も起きませんか?この端末にアプリが入っていないかもしれません。","open_in_again":"再試行","pad_8bitdo_no_xinput":"この 8BitDo には X-input モードがありません。ボタンが違う場合はコントローラーを確認してください。","pad_8bitdo_how_switch":"背面のスイッチを X にして Start を押す","pad_8bitdo_how_startx":"電源を切り、Start + X を押したまま電源を入れる","pad_8bitdo_how_receiver":"付属の 2.4G レシーバーか USB ケーブルを使う","pad_8bitdo_how_manual":"方法は取扱説明書にあります","pad_8bitdo_xinput":"最適に使うには、8BitDo を X-input モードにしてください: {how}。","rp_touch_left_stick":"左スティック","rp_touch_right_stick":"右スティック","rp_touch_touchpad":"タッチパッド","rp_menu":"メニュー","rp_pad_step_lx":"左スティックを右に倒してください","rp_pad_step_ly":"左スティックを下に倒してください","rp_pad_step_rx":"右スティックを右に倒してください","rp_pad_step_ry":"右スティックを下に倒してください","join_check_bottom":"下のボタンを押してください (✕)","join_check_right":"右のボタンを押してください (○)","join_check_left":"左のボタンを押してください (□)","join_check_top":"上のボタンを押してください (△)","rp_pad_press":"{name} を押してください","join_check_saved":"このデバイスでこのコントローラー用に保存しました。下で試してください。","join_check_title":"コントローラーを確認","join_done":"完了","rp_pads_none":"コントローラーがまだ見つかりません。接続して、いずれかのボタンを押してください。","rp_pad_mapped":"あなたの割り当てで操作します","join_check_unknown":"このコントローラーは一覧にないため、ボタンが入れ替わっている可能性があります。設定は数秒で終わります。","rp_pad_standard":"認識済み","rp_pad_progress":"{n} / {total}","rp_pad_skip":"スキップ","rp_pad_back":"戻る","rp_pad_cancel":"キャンセル","join_check_try":"ボタンを押したりスティックを動かしたりしてください。押したものが光ります。","join_check_redo":"やり直す","join_check_map":"ボタンを設定","rp_pad_reset":"リセット","join_open_lan_body":"インターネットにつながりませんか?友だちと同じ Wi-Fi にいるなら、そこでゲームを開いてください。","join_open_lan":"この Wi-Fi で開く","join_path_lan":"ホームネットワーク","join_path_internet":"インターネット","join_seat_taken":"{host}が自分のコントローラーを必要とし、PS5に空いているコントローラーがほかになかったため、ゲームから退出しました。もう一度入れてもらうよう{host}に頼んでください。","join_refused_key":"この招待は期限切れです。{host}さんに新しいリンクをもらってください。","join_refused_expired":"ゲームの席がなくなりました。{host} さんにもう一度入れてもらってください。","join_refused_full":"満員です:すでに4人がプレイしています。","join_refused_denied":"今回は{host}さんに参加を許可されませんでした。","join_refused_no_answer":"{host} さんが時間内に応答しませんでした。{host} さんに伝えてから、もう一度お試しください。","join_refused_closed":"{host}さんは今「いっしょにプレイ」を開いていません。","join_refused_old_helper":"「いっしょにプレイ」を使うには、{host}さんのPS5のヘルパーを更新する必要があります。","join_refused_not_playing":"{host}さんは今プレイしていません。先に{host}さんにプレイを始めてもらってください。","join_refused_unreachable":"{host}さんのコンピューターがPS5に接続できませんでした。少ししてからもう一度お試しください。","join_refused_slow_down":"間違ったコードが多すぎます。1分待ってからもう一度お試しください。","join_refused_address":"このリンクのアドレスはホームネットワークの外にあるため、アプリは使用しません。{host} にコンピューターの IP アドレスのリンクを頼んでください。","join_refused_other":"{host}さんに参加を許可されませんでした。","join_ended_kicked":"{host}さんにゲームから外されました。","join_ended_closed":"{host}さんが「いっしょにプレイ」を終了しました。","join_ended_host_stopped":"ホストがプレイをやめました。","join_ended_replaced":"このゲームが別のタブまたは別のデバイスで開かれたため、ここでは終了しました。","join_ended_pad_lost":"PS5 があなたのコントローラーを見失ったため、ゲームから外れました。{host} さんにもう一度入れてもらってください。","join_ended_gave_up":"{host}さんとの接続が時間内に戻りませんでした。","join_net_lost":"{host} との接続が切れました。インターネット接続を確認してから、もう一度お願いしてください。","join_ended_lost":"{host}さんに接続できませんでした。同じネットワークにいるか確認してください。","join_ended_left":"ゲームから退出しました。","join_net_mismatch":"このリンクはホストと一致しません。ホストに新しいリンクをもらってください。","join_net_no_direct":"このネットワークからは直接接続できません(双方のルーターが厳しい設定です)。モバイルデータではなく Wi-Fi を試すか、ホストに UPnP をオンにしてもらってください。","join_net_no_room":"この招待はもう有効ではありません。{host}さんに新しいリンクをもらってください。","join_net_full":"{host}さんのゲームには今これ以上友だちが入れません。少ししてからもう一度お試しください。","join_net_no_hub":"PS5Upload の招待サービスに接続できませんでした。インターネット接続を確認して、もう一度お試しください。","join_net_offer":"{host}さんのコンピューターがこのブラウザーに接続できませんでした。別のブラウザーをお試しください。","join_net_no_webrtc":"このブラウザーは直接接続ができません。最新の Chrome、Safari、Firefox をお試しください。","join_cancel":"キャンセル","join_host_fallback":"フレンド","join_connecting":"{host}さんに接続中…","join_waiting":"{host}さんの許可を待っています","join_waiting_body":"{host}さんの画面にあなたの名前が表示され、「許可」をタップすると参加できます。","join_retry":"再試行","join_again":"もう一度参加をリクエスト","join_playing_at":"{host}さんのPS5でプレイ中","join_you_are":"あなたはプレイヤー{n}です","join_seat_stream":"{host}のPS5ユーザーとしてプレイしています。ユーザーを選ぶ必要はありません。","join_plays_as":"{profile}としてプレイしています。選ぶ必要はありません。","join_seat_tv_asks":"{host}があなた用のプロフィールを選びましたが、使えませんでした。テレビで誰がプレイするかを聞かれます。","join_picking":"PSボタンを押して、テレビで「クイックプレイ」を選んでください","join_hide_controls":"隠す","join_sound":"タップして音を出す","rp_unmute":"音声オン","rp_mute":"ミュート","join_no_sound":"このブラウザーでは音声を再生できません","join_exit_fullscreen":"全画面を終了","pad_fill":"全画面","join_leave":"退出","join_show_controls":"操作ボタンを表示","join_hold_hint":"画面を長押しするとボタンが表示されます","pad_watch_no_hevc":"この端末ではこの配信の映像を再生できません。PC は HEVC で配信していますが、この端末は H.264 のみ再生できます。","pad_watch_decode":"ここでは映像を再生できませんでした。","join_pad_ready":"コントローラーの準備ができました","join_check_unknown_short":"一覧にありません: ボタンが入れ替わっている可能性があります。","join_full_to_play":"全画面をタップすると、画面上のコントローラーでプレイできます。","join_pad_none":"コントローラーをつないで(USBまたはBluetooth)、いずれかのボタンを押してください。","join_pad_keys":"キーボードでも遊べます:WASDで移動、矢印キーで方向キー、Enter ✕、Backspace ○、Q □、E △、Tab OPTIONS。","join_tv_back_hint":"ボタンを表示するには、リモコンの戻るを押してください。","join_block_note":"{host}さんがフレンドのPSボタンとCreateボタンを無効にしています。","join_guide_title":"テレビであと1ステップ","join_guide_body":"コントローラーのPSボタンを1回押してください。テレビに「このコントローラーを使うのは誰ですか?」と表示されます。クイックプレイか自分のユーザーを選んでください。ホストの操作は不要です。","join_guide_menus":"PS5のホーム画面でメニューを操作できるのはホストだけです。あなたのコントローラーはゲームの中で使えます。","join_guide_ok":"OK","join_host_away":"ホストがプレイをやめました — 再開を待っています({time})","join_reconnecting":"再接続中…","join_reconnecting_left":"あと{time}は枠が確保されています。","pad_turn":"スマホを横向きにしてください","join_game_label":"{host}さんのゲーム","join_title":"フレンドのゲームに参加","join_title_body":"{host}さんのPS5でプレイヤー2・3・4として遊べます。","join_name_label":"あなたの名前","join_name_hint":"参加をリクエストすると、フレンドにこの名前が表示されます。","join_button":"参加"},"ko":{"usb_skipped_not_payload":"{name}: .elf 또는 .bin 파일이 아님","usb_skipped_unknown":"{id}: 더 이상 페이로드 목록에 없습니다","browser_unsupported":"데스크톱 앱이 필요합니다. 브라우저에서는 작동하지 않습니다.","video_recovered_notice":"지난번 화면을 시작하는 중에 Play가 충돌하여, 이제 그래픽 카드 없이 화면을 디코딩합니다(설정 › 창 › 그래픽 › 하드웨어 영상 디코딩에서 변경).","video_recovered_title":"이제 화면을 소프트웨어로 디코딩합니다","open_in_title":"PS5Upload 앱에서 열까요?","open_in_body":"이 기기에 PS5Upload 앱이 있나요? 앱에서 열거나 브라우저에서 계속하세요.","open_in_app":"앱에서 열기","open_in_browser":"브라우저에서 계속","open_in_remember":"이 기기에서 선택 기억하기","open_in_opening":"PS5Upload 앱을 여는 중…","open_in_not_opened":"아무 일도 없나요? 이 기기에 앱이 없을 수 있습니다.","open_in_again":"다시 시도","pad_8bitdo_no_xinput":"이 8BitDo에는 X-input 모드가 없습니다. 버튼이 다르게 동작하면 컨트롤러를 확인하세요.","pad_8bitdo_how_switch":"뒷면 스위치를 X로 놓고 Start를 누르세요","pad_8bitdo_how_startx":"전원을 끈 다음 Start + X를 누른 채로 켜세요","pad_8bitdo_how_receiver":"2.4G 수신기나 USB 케이블을 사용하세요","pad_8bitdo_how_manual":"방법은 설명서에 있습니다","pad_8bitdo_xinput":"가장 잘 동작하도록 8BitDo를 X-input 모드로 바꾸세요: {how}.","rp_touch_left_stick":"왼쪽 스틱","rp_touch_right_stick":"오른쪽 스틱","rp_touch_touchpad":"터치패드","rp_menu":"메뉴","rp_pad_step_lx":"왼쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ly":"왼쪽 스틱을 아래로 미세요","rp_pad_step_rx":"오른쪽 스틱을 오른쪽으로 미세요","rp_pad_step_ry":"오른쪽 스틱을 아래로 미세요","join_check_bottom":"아래쪽 버튼을 누르세요 (✕)","join_check_right":"오른쪽 버튼을 누르세요 (○)","join_check_left":"왼쪽 버튼을 누르세요 (□)","join_check_top":"위쪽 버튼을 누르세요 (△)","rp_pad_press":"{name} 버튼을 누르세요","join_check_saved":"이 기기에서 이 컨트롤러용으로 저장했습니다. 아래에서 시험해 보세요.","join_check_title":"컨트롤러 확인","join_done":"완료","rp_pads_none":"아직 컨트롤러가 보이지 않습니다. 컨트롤러를 연결하고 아무 버튼이나 누르세요.","rp_pad_mapped":"내 버튼 설정으로 플레이","join_check_unknown":"이 컨트롤러는 목록에 없어서 버튼이 뒤바뀌어 있을 수 있습니다. 설정은 몇 초면 됩니다.","rp_pad_standard":"인식됨","rp_pad_progress":"{n} / {total}","rp_pad_skip":"건너뛰기","rp_pad_back":"뒤로","rp_pad_cancel":"취소","join_check_try":"버튼을 누르고 스틱을 움직여 보세요. 누른 것이 켜집니다.","join_check_redo":"다시 하기","join_check_map":"버튼 설정","rp_pad_reset":"초기화","join_open_lan_body":"인터넷에 연결되지 않나요? 친구와 같은 Wi-Fi에 있다면 거기서 게임을 여세요.","join_open_lan":"이 Wi-Fi에서 열기","join_path_lan":"홈 네트워크","join_path_internet":"인터넷","join_seat_taken":"{host} 님이 컨트롤러를 다시 써야 했는데 PS5에 남은 컨트롤러가 없어서 게임에서 나왔어요. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_key":"초대가 만료됐어요. {host} 님에게 새 링크를 요청하세요.","join_refused_expired":"게임 자리를 잃었습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_refused_full":"게임이 꽉 찼어요. 이미 4명이 플레이 중이에요.","join_refused_denied":"이번에는 {host} 님이 참여를 허용하지 않았어요.","join_refused_no_answer":"{host} 님이 제시간에 응답하지 않았습니다. {host} 님에게 알린 뒤 다시 시도하세요.","join_refused_closed":"{host} 님은 지금 함께 플레이를 열고 있지 않아요.","join_refused_old_helper":"함께 플레이를 하려면 {host} 님의 PS5 헬퍼를 업데이트해야 해요.","join_refused_not_playing":"{host} 님은 지금 플레이 중이 아니에요. {host} 님에게 먼저 플레이를 시작해 달라고 하세요.","join_refused_unreachable":"{host} 님의 컴퓨터가 PS5에 연결하지 못했어요. 잠시 후 다시 시도하세요.","join_refused_slow_down":"잘못된 코드를 너무 많이 입력했어요. 1분 후에 다시 시도하세요.","join_refused_address":"이 링크의 주소는 홈 네트워크 밖에 있어 앱에서 사용하지 않습니다. {host}에게 컴퓨터의 IP 주소가 있는 링크를 요청하세요.","join_refused_other":"{host} 님이 참여를 허용하지 않았어요.","join_ended_kicked":"{host} 님이 나를 게임에서 내보냈어요.","join_ended_closed":"{host} 님이 함께 플레이를 닫았어요.","join_ended_host_stopped":"호스트가 플레이를 멈췄어요.","join_ended_replaced":"이 게임이 다른 탭이나 다른 기기에서 열려서 여기서는 멈췄습니다.","join_ended_pad_lost":"PS5가 컨트롤러를 잃어서 게임에서 나왔습니다. {host} 님에게 다시 들여보내 달라고 하세요.","join_ended_gave_up":"{host} 님과의 연결이 제때 돌아오지 않았어요.","join_net_lost":"{host}와의 연결이 끊겼어요. 인터넷 연결을 확인한 다음 다시 요청하세요.","join_ended_lost":"{host} 님에게 연결할 수 없어요. 같은 네트워크에 있는지 확인하세요.","join_ended_left":"게임에서 나왔어요.","join_net_mismatch":"이 링크는 호스트와 일치하지 않아요. 새 링크를 요청하세요.","join_net_no_direct":"이 네트워크에서는 직접 연결할 수 없어요(양쪽 공유기가 모두 엄격해요). 모바일 데이터 대신 Wi-Fi를 쓰거나 호스트에게 UPnP를 켜 달라고 하세요.","join_net_no_room":"이 초대는 더 이상 열려 있지 않아요. {host} 님에게 새 링크를 요청하세요.","join_net_full":"{host} 님의 게임에 지금은 친구가 더 들어갈 자리가 없어요. 잠시 후 다시 시도하세요.","join_net_no_hub":"PS5Upload 초대 서비스에 연결할 수 없어요. 인터넷 연결을 확인한 뒤 다시 시도하세요.","join_net_offer":"{host} 님의 컴퓨터가 이 브라우저에 연결하지 못했어요. 다른 브라우저를 써 보세요.","join_net_no_webrtc":"이 브라우저는 직접 연결을 할 수 없어요. 최신 Chrome, Safari 또는 Firefox를 써 보세요.","join_cancel":"취소","join_host_fallback":"친구","join_connecting":"{host} 님에게 연결 중…","join_waiting":"{host} 님이 허용하기를 기다리는 중","join_waiting_body":"{host} 님 화면에 내 이름이 보이고, 허용을 누르면 들어갈 수 있어요.","join_retry":"다시 시도","join_again":"다시 참여 요청","join_playing_at":"{host} 님의 PS5에서 플레이 중","join_you_are":"나는 플레이어 {n}","join_seat_stream":"{host} 님의 PS5 사용자로 플레이하고 있어요. 사용자를 고를 필요가 없어요.","join_plays_as":"{profile}(으)로 플레이하고 있어요. 고를 필요가 없어요.","join_seat_tv_asks":"{host} 님이 프로필을 골라 두었지만 쓸 수 없었어요. TV에서 누구인지 물어볼 거예요.","join_picking":"PS 버튼을 누른 다음 TV에서 빠른 플레이를 선택하세요","join_hide_controls":"숨기기","join_sound":"눌러서 소리 켜기","rp_unmute":"소리 켜기","rp_mute":"음소거","join_no_sound":"이 브라우저에서는 소리가 나오지 않습니다","join_exit_fullscreen":"전체 화면 종료","pad_fill":"전체 화면","join_leave":"나가기","join_show_controls":"컨트롤 표시","join_hold_hint":"화면을 길게 누르면 버튼이 표시됩니다","pad_watch_no_hevc":"이 기기는 이 스트림의 화면을 재생할 수 없습니다. 컴퓨터는 HEVC로 스트리밍하고 이 기기는 H.264만 재생합니다.","pad_watch_decode":"여기서 화면을 재생할 수 없었습니다.","join_pad_ready":"컨트롤러가 준비됐어요","join_check_unknown_short":"목록에 없음: 버튼이 뒤바뀌어 있을 수 있습니다.","join_full_to_play":"전체 화면을 탭하면 화면 컨트롤러로 플레이할 수 있어요.","join_pad_none":"컨트롤러를 연결(USB 또는 Bluetooth)하고 아무 버튼이나 누르세요.","join_pad_keys":"키보드로도 할 수 있어요: WASD 이동, 방향키 D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"버튼을 보려면 리모컨의 뒤로 버튼을 누르세요.","join_block_note":"{host} 님이 친구의 PS 및 Create 버튼을 막아 두었어요.","join_guide_title":"TV에서 한 단계만 더","join_guide_body":"컨트롤러의 PS 버튼을 한 번 누르세요. TV에 \"이 컨트롤러를 누가 사용하나요?\"가 나타나요. 빠른 플레이나 내 사용자를 선택하세요. 호스트는 아무것도 하지 않아도 돼요.","join_guide_menus":"PS5 홈 화면에서는 호스트만 메뉴를 조작할 수 있어요. 내 컨트롤러는 게임 안에서 플레이합니다.","join_guide_ok":"알겠어요","join_host_away":"호스트가 플레이를 멈췄어요 — 다시 시작하기를 기다리는 중 ({time})","join_reconnecting":"다시 연결 중…","join_reconnecting_left":"{time} 동안 자리가 유지돼요.","pad_turn":"휴대폰을 가로로 돌리세요","join_game_label":"{host} 님의 게임","join_title":"친구 게임에 참여","join_title_body":"{host} 님의 PS5에서 플레이어 2, 3, 4로 플레이하세요.","join_name_label":"내 이름","join_name_hint":"참여를 요청하면 친구에게 이 이름이 보여요.","join_button":"참여"},"pl":{"usb_skipped_not_payload":"{name}: to nie jest plik .elf ani .bin","usb_skipped_unknown":"{id}: nie ma już na liście payloadów","browser_unsupported":"To wymaga aplikacji na komputer. W przeglądarce nie działa.","video_recovered_notice":"Ostatnio Play zawiesił się przy uruchamianiu obrazu, więc obraz jest teraz dekodowany bez karty graficznej (zmień w Ustawienia › Okno › Grafika › Sprzętowe dekodowanie wideo).","video_recovered_title":"Obraz jest teraz dekodowany programowo","open_in_title":"Otworzyć w aplikacji PS5Upload?","open_in_body":"Masz aplikację PS5Upload na tym urządzeniu? Otwórz to w niej albo kontynuuj w przeglądarce.","open_in_app":"Otwórz w aplikacji","open_in_browser":"Kontynuuj w przeglądarce","open_in_remember":"Zapamiętaj mój wybór na tym urządzeniu","open_in_opening":"Otwieranie aplikacji PS5Upload…","open_in_not_opened":"Nic się nie stało? Aplikacji może nie być na tym urządzeniu.","open_in_again":"Spróbuj ponownie","pad_8bitdo_no_xinput":"Ten 8BitDo nie ma trybu X-input. Jeśli któryś przycisk działa źle, sprawdź kontroler.","pad_8bitdo_how_switch":"ustaw przełącznik z tyłu na X, a potem naciśnij Start","pad_8bitdo_how_startx":"wyłącz go, a potem przytrzymaj Start + X, aby go włączyć","pad_8bitdo_how_receiver":"użyj jego odbiornika 2.4G lub kabla USB","pad_8bitdo_how_manual":"instrukcja podaje, jak to zrobić","pad_8bitdo_xinput":"Aby działał najlepiej, przełącz 8BitDo w tryb X-input: {how}.","rp_touch_left_stick":"Lewa gałka","rp_touch_right_stick":"Prawa gałka","rp_touch_touchpad":"Panel dotykowy","rp_pad_step_lx":"Wychyl lewą gałkę w prawo","rp_pad_step_ly":"Wychyl lewą gałkę w dół","rp_pad_step_rx":"Wychyl prawą gałkę w prawo","rp_pad_step_ry":"Wychyl prawą gałkę w dół","join_check_bottom":"Naciśnij dolny przycisk (✕)","join_check_right":"Naciśnij prawy przycisk (○)","join_check_left":"Naciśnij lewy przycisk (□)","join_check_top":"Naciśnij górny przycisk (△)","rp_pad_press":"Naciśnij {name}","join_check_saved":"Zapisano dla tego kontrolera na tym urządzeniu. Wypróbuj poniżej.","join_check_title":"Sprawdź kontroler","join_done":"Gotowe","rp_pads_none":"Nie wykryto jeszcze kontrolera. Podłącz go i naciśnij dowolny przycisk.","rp_pad_mapped":"Gra z twoim mapowaniem","join_check_unknown":"Tego kontrolera nie ma na naszej liście, więc przyciski mogą być pomieszane. Konfiguracja zajmuje kilka sekund.","rp_pad_standard":"Rozpoznany","rp_pad_progress":"{n} z {total}","rp_pad_skip":"Pomiń","rp_pad_back":"Wstecz","rp_pad_cancel":"Anuluj","join_check_try":"Naciskaj przyciski i ruszaj gałkami: to, co naciśniesz, się podświetli.","join_check_redo":"Powtórz","join_check_map":"Ustaw przyciski","rp_pad_reset":"Resetuj","join_open_lan_body":"Brak internetu? Jeśli jesteś w tej samej sieci Wi-Fi co znajomy, otwórz grę tam.","join_open_lan":"Otwórz w tej sieci Wi-Fi","join_path_lan":"Sieć domowa","join_seat_taken":"{host} potrzebował z powrotem swojego kontrolera, a na PS5 nie było innego wolnego kontrolera, więc wypadasz z gry. Poproś {host}, żeby wpuścił Cię ponownie.","join_refused_key":"To zaproszenie wygasło. Poproś {host} o nowy link.","join_refused_expired":"Twoje miejsce w grze przepadło. Poproś {host} o ponowne wpuszczenie.","join_refused_full":"Brak miejsc: gra już czterech graczy.","join_refused_denied":"{host} tym razem cię nie wpuścił.","join_refused_no_answer":"{host}: brak odpowiedzi na czas. Daj znać ({host}) i spróbuj ponownie.","join_refused_closed":"{host} nie prowadzi teraz Graj razem.","join_refused_old_helper":"PS5 {host} potrzebuje zaktualizowanego pomocnika do Graj razem.","join_refused_not_playing":"{host} teraz nie gra. Poproś {host}, żeby najpierw uruchomił Graj.","join_refused_unreachable":"Komputer {host} nie mógł połączyć się z PS5. Spróbuj ponownie za chwilę.","join_refused_slow_down":"Zbyt wiele błędnych kodów. Odczekaj minutę i spróbuj ponownie.","join_refused_address":"Adres tego linku jest poza Twoją siecią domową, więc aplikacja go nie użyje. Poproś {host} o link z adresem IP komputera.","join_refused_other":"{host} cię nie wpuścił.","join_ended_kicked":"{host} usunął cię z gry.","join_ended_closed":"{host} zamknął Graj razem.","join_ended_host_stopped":"Gospodarz przestał grać.","join_ended_replaced":"Tę grę otwarto w innej karcie lub na innym urządzeniu, więc tu się zatrzymała.","join_ended_pad_lost":"PS5 straciła Twój kontroler, więc wypadasz z gry. Poproś {host} o ponowne wpuszczenie.","join_ended_gave_up":"Połączenie z {host} nie wróciło na czas.","join_net_lost":"Połączenie z {host} zostało przerwane. Sprawdź połączenie internetowe i poproś ponownie.","join_ended_lost":"Nie można połączyć się z {host}. Sprawdź, czy jesteście w tej samej sieci.","join_ended_left":"Opuściłeś grę.","join_net_mismatch":"Ten link nie pasuje do gospodarza; poproś go o nowy.","join_net_no_direct":"Z tej sieci nie da się nawiązać bezpośredniego połączenia (routery po obu stronach są restrykcyjne). Spróbuj Wi-Fi zamiast danych komórkowych albo poproś gospodarza o włączenie UPnP.","join_net_no_room":"To zaproszenie nie jest już otwarte. Poproś {host} o nowy link.","join_net_full":"W grze {host} nie ma teraz miejsca dla kolejnego znajomego. Spróbuj ponownie za chwilę.","join_net_no_hub":"Nie można połączyć się z usługą zaproszeń PS5Upload. Sprawdź połączenie z internetem i spróbuj ponownie.","join_net_offer":"Komputer {host} nie mógł połączyć się z tą przeglądarką. Spróbuj innej przeglądarki.","join_net_no_webrtc":"Ta przeglądarka nie potrafi nawiązywać bezpośrednich połączeń. Spróbuj aktualnego Chrome, Safari lub Firefoksa.","join_cancel":"Anuluj","join_host_fallback":"twój znajomy","join_connecting":"Łączenie z {host}…","join_waiting":"Czekasz, aż {host} cię wpuści","join_waiting_body":"{host} widzi twoje imię na ekranie i stuka Zezwól.","join_retry":"Spróbuj ponownie","join_again":"Poproś ponownie o dołączenie","join_playing_at":"Grasz u {host}","join_you_are":"Jesteś Graczem {n}","join_seat_stream":"Grasz jako użytkownik PS5 gospodarza {host}. Nie musisz nikogo wybierać.","join_plays_as":"Grasz jako {profile}. Nie musisz niczego wybierać.","join_seat_tv_asks":"{host} wybrał dla ciebie profil, ale nie dało się go użyć. Telewizor zapyta, kim jesteś.","join_picking":"Naciśnij PS, a potem wybierz Szybką grę na telewizorze","join_hide_controls":"Ukryj","join_sound":"Włącz dźwięk","rp_unmute":"Dźwięk wł.","rp_mute":"Wycisz","join_no_sound":"Brak dźwięku w tej przeglądarce","join_exit_fullscreen":"Wyjdź z pełnego ekranu","pad_fill":"Pełny ekran","join_leave":"Wyjdź","join_show_controls":"Pokaż przyciski","join_hold_hint":"Przytrzymaj obraz, aby pokazać przyciski","pad_watch_no_hevc":"To urządzenie nie odtworzy obrazu tego streamu: komputer nadaje w HEVC, a to urządzenie odtwarza tylko H.264.","pad_watch_decode":"Nie udało się tu odtworzyć obrazu.","join_pad_ready":"Twój kontroler jest gotowy","join_check_unknown_short":"Nie ma go na liście: przyciski mogą być pomieszane.","join_full_to_play":"Stuknij Pełny ekran, aby grać kontrolerem ekranowym.","join_pad_none":"Podłącz kontroler (USB lub Bluetooth) i naciśnij dowolny przycisk.","join_pad_keys":"Albo użyj klawiatury: WASD ruch, strzałki krzyżak, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Naciśnij Wstecz na pilocie, aby pokazać przyciski.","join_block_note":"{host} wyłączył PS i Create dla znajomych.","join_guide_title":"Jeszcze jeden krok na telewizorze","join_guide_body":"Naciśnij raz PS na kontrolerze. Telewizor zapyta „Kto używa tego kontrolera?”. Wybierz Szybką grę albo swojego użytkownika. Gospodarz nie musi nic robić.","join_guide_menus":"Na ekranie głównym PS5 menu steruje tylko gospodarz; twój kontroler działa w grach.","join_guide_ok":"Rozumiem","join_host_away":"Gospodarz przestał grać — czekamy, aż zacznie znowu ({time})","join_reconnecting":"Ponowne łączenie…","join_reconnecting_left":"Twoje miejsce czeka jeszcze {time}.","pad_turn":"Obróć telefon poziomo","join_game_label":"Gra {host}","join_title":"Dołącz do gry znajomego","join_title_body":"Graj na PS5 {host} jako Gracz 2, 3 lub 4.","join_name_label":"Twoje imię","join_name_hint":"Znajomy zobaczy je, gdy poprosisz o dołączenie.","join_button":"Dołącz"},"pt-BR":{"usb_skipped_not_payload":"{name}: não é um arquivo .elf ou .bin","usb_skipped_unknown":"{id}: não está mais na lista de payloads","browser_unsupported":"Isso precisa do aplicativo para desktop. Não funciona no navegador.","video_recovered_notice":"O Play travou ao iniciar a imagem da última vez, então a imagem agora é decodificada sem a placa de vídeo (altere em Configurações › Janela › Gráficos › Decodificação de vídeo por hardware).","video_recovered_title":"Imagem agora decodificada por software","open_in_title":"Abrir no app PS5Upload?","open_in_body":"Tem o app PS5Upload neste aparelho? Abra por ele ou continue no navegador.","open_in_app":"Abrir no app","open_in_browser":"Continuar no navegador","open_in_remember":"Lembrar minha escolha neste aparelho","open_in_opening":"Abrindo o app PS5Upload…","open_in_not_opened":"Nada aconteceu? Talvez o app não esteja neste aparelho.","open_in_again":"Tentar de novo","pad_8bitdo_no_xinput":"Este 8BitDo não tem modo X-input. Se algum botão estiver errado, verifique o controle.","pad_8bitdo_how_switch":"coloque a chave de trás em X e aperte Start","pad_8bitdo_how_startx":"desligue e depois segure Start + X para ligar","pad_8bitdo_how_receiver":"use o receptor 2.4G dele ou um cabo USB","pad_8bitdo_how_manual":"o manual dele explica como","pad_8bitdo_xinput":"Para o melhor resultado, coloque seu 8BitDo no modo X-input: {how}.","rp_touch_left_stick":"Analógico esquerdo","rp_touch_right_stick":"Analógico direito","rp_pad_step_lx":"Mova o analógico esquerdo para a direita","rp_pad_step_ly":"Mova o analógico esquerdo para baixo","rp_pad_step_rx":"Mova o analógico direito para a direita","rp_pad_step_ry":"Mova o analógico direito para baixo","join_check_bottom":"Aperte o botão de baixo (✕)","join_check_right":"Aperte o botão da direita (○)","join_check_left":"Aperte o botão da esquerda (□)","join_check_top":"Aperte o botão de cima (△)","rp_pad_press":"Pressione {name}","join_check_saved":"Salvo para este controle neste aparelho. Teste abaixo.","join_check_title":"Verificar seu controle","join_done":"Concluído","rp_pads_none":"Nenhum controle detectado ainda. Conecte um e pressione qualquer botão nele.","rp_pad_mapped":"Joga com o seu mapeamento","join_check_unknown":"Este controle não está na nossa lista, então os botões podem estar trocados. Configurar leva poucos segundos.","rp_pad_standard":"Reconhecido","rp_pad_progress":"{n} de {total}","rp_pad_skip":"Pular","rp_pad_back":"Voltar","rp_pad_cancel":"Cancelar","join_check_try":"Aperte botões e mova os analógicos: o que você apertar acende.","join_check_redo":"Refazer","join_check_map":"Configurar os botões","rp_pad_reset":"Redefinir","join_open_lan_body":"Sem internet? Se você está no mesmo Wi-Fi que seu amigo, abra o jogo por lá.","join_open_lan":"Abrir neste Wi-Fi","join_path_lan":"Rede doméstica","join_seat_taken":"{host} precisou do controle de volta e não havia outro controle livre no PS5, então você saiu do jogo. Peça para {host} deixar você entrar de novo.","join_refused_key":"Este convite expirou. Peça um novo link a {host}.","join_refused_expired":"Seu lugar no jogo foi perdido. Peça a {host} para deixar você entrar de novo.","join_refused_full":"O jogo está cheio: já tem quatro jogadores.","join_refused_denied":"{host} não deixou você entrar desta vez.","join_refused_no_answer":"{host} não respondeu a tempo. Avise {host} e tente de novo.","join_refused_closed":"{host} não está com o Jogar juntos aberto agora.","join_refused_old_helper":"O PS5 de {host} precisa de um auxiliar atualizado para o Jogar juntos.","join_refused_not_playing":"{host} não está jogando agora. Peça para {host} iniciar o Jogar primeiro.","join_refused_unreachable":"O computador de {host} não conseguiu acessar o PS5. Tente de novo daqui a pouco.","join_refused_slow_down":"Muitos códigos errados. Espere um minuto e tente de novo.","join_refused_address":"O endereço deste link está fora da sua rede doméstica, então o aplicativo não vai usá-lo. Peça a {host} um link com o endereço IP do computador.","join_refused_other":"{host} não deixou você entrar.","join_ended_kicked":"{host} tirou você do jogo.","join_ended_closed":"{host} fechou o Jogar juntos.","join_ended_host_stopped":"O anfitrião parou de jogar.","join_ended_replaced":"Este jogo foi aberto em outra aba ou em outro dispositivo, então parou aqui.","join_ended_pad_lost":"O PS5 perdeu seu controle, então você saiu do jogo. Peça a {host} para deixar você entrar de novo.","join_ended_gave_up":"A conexão com {host} não voltou a tempo.","join_net_lost":"A conexão com {host} caiu. Verifique sua conexão de internet e peça de novo.","join_ended_lost":"Não foi possível alcançar {host}. Verifique se vocês estão na mesma rede.","join_ended_left":"Você saiu do jogo.","join_net_mismatch":"Este link não corresponde ao anfitrião; peça um novo a ele.","join_net_no_direct":"Não é possível uma conexão direta a partir desta rede (os roteadores dos dois lados são restritos). Tente o Wi-Fi em vez dos dados móveis ou peça ao anfitrião para ativar o UPnP.","join_net_no_room":"Este convite não está mais aberto. Peça a {host} um novo link.","join_net_full":"O jogo de {host} não tem lugar para mais um amigo agora. Tente de novo daqui a pouco.","join_net_no_hub":"Não foi possível alcançar o serviço de convites do PS5Upload. Verifique sua conexão com a internet e tente de novo.","join_net_offer":"O computador de {host} não conseguiu se conectar a este navegador. Tente outro navegador.","join_net_no_webrtc":"Este navegador não consegue fazer conexões diretas. Tente uma versão recente do Chrome, Safari ou Firefox.","join_cancel":"Cancelar","join_host_fallback":"seu amigo","join_connecting":"Conectando a {host}…","join_waiting":"Esperando {host} deixar você entrar","join_waiting_body":"{host} vê seu nome na tela e toca em Permitir.","join_retry":"Tentar de novo","join_again":"Pedir para entrar de novo","join_playing_at":"Jogando na casa de {host}","join_you_are":"Você é o Jogador {n}","join_seat_stream":"Você está jogando com o usuário do PS5 de {host}. Não precisa escolher um.","join_plays_as":"Você está jogando como {profile}. Não precisa escolher.","join_seat_tv_asks":"{host} escolheu um perfil para você, mas não foi possível usá-lo. A TV vai perguntar quem você é.","join_picking":"Aperte PS e depois escolha Jogo rápido na TV","join_hide_controls":"Ocultar","join_sound":"Ativar som","rp_unmute":"Ativar som","rp_mute":"Silenciar","join_no_sound":"Sem som neste navegador","join_exit_fullscreen":"Sair da tela cheia","pad_fill":"Tela cheia","join_leave":"Sair","join_show_controls":"Mostrar controles","join_hold_hint":"Toque e segure a imagem para mostrar os botões","pad_watch_no_hevc":"Este aparelho não reproduz a imagem deste stream: o computador transmite em HEVC e este aparelho reproduz apenas H.264.","pad_watch_decode":"Não foi possível reproduzir a imagem aqui.","join_pad_ready":"Seu controle está pronto","join_check_unknown_short":"Não está na nossa lista: os botões podem estar trocados.","join_full_to_play":"Toque em tela cheia para jogar com o controle na tela.","join_pad_none":"Conecte um controle (USB ou Bluetooth) e aperte qualquer botão.","join_pad_keys":"Ou use o teclado: WASD move, setas direcional, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Aperte Voltar no controle remoto para ver os botões.","join_block_note":"{host} desativou PS e Create para amigos.","join_guide_title":"Mais um passo na TV","join_guide_body":"Aperte PS uma vez no seu controle. A TV pergunta \"Quem está usando este controle?\". Escolha Jogo rápido ou o seu próprio usuário. O anfitrião não precisa fazer nada.","join_guide_menus":"Na tela inicial do PS5 só o anfitrião controla os menus; seu controle joga dentro dos jogos.","join_guide_ok":"Entendi","join_host_away":"O anfitrião parou de jogar — esperando ele começar de novo ({time})","join_reconnecting":"Reconectando…","join_reconnecting_left":"Seu lugar fica guardado por {time}.","pad_turn":"Vire o celular na horizontal","join_game_label":"Jogo de {host}","join_title":"Entrar no jogo de um amigo","join_title_body":"Jogue no PS5 de {host} como Jogador 2, 3 ou 4.","join_name_label":"Seu nome","join_name_hint":"Seu amigo vê isto quando você pede para entrar.","join_button":"Entrar"},"ru":{"usb_skipped_not_payload":"{name}: не файл .elf или .bin","usb_skipped_unknown":"{id}: больше нет в списке пейлоадов","browser_unsupported":"Для этого нужно настольное приложение. В браузере это не работает.","video_recovered_notice":"В прошлый раз Play упал при запуске картинки, поэтому теперь картинка декодируется без видеокарты (изменить: Настройки › Окно › Графика › Аппаратное декодирование видео).","video_recovered_title":"Картинка теперь декодируется программно","open_in_title":"Открыть в приложении PS5Upload?","open_in_body":"Приложение PS5Upload есть на этом устройстве? Откройте это там или продолжите в браузере.","open_in_app":"Открыть в приложении","open_in_browser":"Продолжить в браузере","open_in_remember":"Запомнить выбор на этом устройстве","open_in_opening":"Открываем приложение PS5Upload…","open_in_not_opened":"Ничего не произошло? Возможно, приложения нет на этом устройстве.","open_in_again":"Повторить","pad_8bitdo_no_xinput":"У этого 8BitDo нет режима X-input. Если кнопка срабатывает не так, проверьте контроллер.","pad_8bitdo_how_switch":"переведите переключатель сзади в положение X, затем нажмите Start","pad_8bitdo_how_startx":"выключите его, затем включите, удерживая Start + X","pad_8bitdo_how_receiver":"используйте его приёмник 2.4G или кабель USB","pad_8bitdo_how_manual":"как это сделать, сказано в его инструкции","pad_8bitdo_xinput":"Для лучшего результата переключите 8BitDo в режим X-input: {how}.","rp_touch_left_stick":"Левый стик","rp_touch_right_stick":"Правый стик","rp_touch_touchpad":"Сенсорная панель","rp_menu":"Меню","rp_pad_step_lx":"Отклоните левый стик вправо","rp_pad_step_ly":"Отклоните левый стик вниз","rp_pad_step_rx":"Отклоните правый стик вправо","rp_pad_step_ry":"Отклоните правый стик вниз","join_check_bottom":"Нажмите нижнюю кнопку (✕)","join_check_right":"Нажмите правую кнопку (○)","join_check_left":"Нажмите левую кнопку (□)","join_check_top":"Нажмите верхнюю кнопку (△)","rp_pad_press":"Нажмите {name}","join_check_saved":"Сохранено для этого контроллера на этом устройстве. Попробуйте ниже.","join_check_title":"Проверить контроллер","join_done":"Готово","rp_pads_none":"Контроллер пока не найден. Подключите его и нажмите любую кнопку.","rp_pad_mapped":"Играет с вашей раскладкой","join_check_unknown":"Этого контроллера нет в нашем списке, поэтому кнопки могут быть перепутаны. Настройка займёт несколько секунд.","rp_pad_standard":"Распознан","rp_pad_progress":"{n} из {total}","rp_pad_skip":"Пропустить","rp_pad_back":"Назад","rp_pad_cancel":"Отмена","join_check_try":"Нажимайте кнопки и двигайте стики: нажатое подсвечивается.","join_check_redo":"Заново","join_check_map":"Настроить кнопки","rp_pad_reset":"Сбросить","join_open_lan_body":"Нет доступа к интернету? Если вы в той же сети Wi-Fi, что и друг, откройте игру там.","join_open_lan":"Открыть в этой сети Wi-Fi","join_path_lan":"Домашняя сеть","join_path_internet":"Интернет","join_seat_taken":"{host} понадобился его контроллер, а других свободных контроллеров на PS5 не было, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_refused_key":"Срок приглашения истёк. Попросите у {host} новую ссылку.","join_refused_expired":"Ваше место в игре потеряно. Попросите {host} впустить вас снова.","join_refused_full":"Мест нет: уже играют четверо.","join_refused_denied":"{host} в этот раз вас не впустил.","join_refused_no_answer":"{host} не ответил вовремя. Сообщите {host} и попробуйте ещё раз.","join_refused_closed":"{host} сейчас не проводит «Совместную игру».","join_refused_old_helper":"Для «Совместной игры» на PS5 {host} нужен обновлённый помощник.","join_refused_not_playing":"{host} сейчас не играет. Попросите {host} сначала запустить Игру.","join_refused_unreachable":"Компьютер {host} не смог связаться с PS5. Попробуйте ещё раз чуть позже.","join_refused_slow_down":"Слишком много неверных кодов. Подождите минуту и попробуйте снова.","join_refused_address":"Адрес этой ссылки находится вне вашей домашней сети, поэтому приложение его не использует. Попросите {host} дать ссылку с IP-адресом компьютера.","join_refused_other":"{host} вас не впустил.","join_ended_kicked":"{host} убрал вас из игры.","join_ended_closed":"{host} закрыл «Совместную игру».","join_ended_host_stopped":"Хост перестал играть.","join_ended_replaced":"Эту игру открыли в другой вкладке или на другом устройстве, поэтому здесь она остановилась.","join_ended_pad_lost":"PS5 потеряла ваш контроллер, поэтому вы вышли из игры. Попросите {host} впустить вас снова.","join_ended_gave_up":"Соединение с {host} не восстановилось вовремя.","join_net_lost":"Соединение с {host} прервалось. Проверьте подключение к интернету и попросите ещё раз.","join_ended_lost":"Не удалось связаться с {host}. Проверьте, что вы в одной сети.","join_ended_left":"Вы вышли из игры.","join_net_mismatch":"Эта ссылка не совпадает с хостом; попросите у него новую.","join_net_no_direct":"Из этой сети прямое подключение невозможно (роутеры с обеих сторон строгие). Попробуйте Wi-Fi вместо мобильного интернета или попросите хоста включить UPnP.","join_net_no_room":"Это приглашение больше не действует. Попросите у {host} новую ссылку.","join_net_full":"В игре {host} сейчас нет места для ещё одного друга. Попробуйте чуть позже.","join_net_no_hub":"Не удалось связаться со службой приглашений PS5Upload. Проверьте подключение к интернету и попробуйте снова.","join_net_offer":"Компьютер {host} не смог подключиться к этому браузеру. Попробуйте другой браузер.","join_net_no_webrtc":"Этот браузер не умеет устанавливать прямые подключения. Попробуйте свежую версию Chrome, Safari или Firefox.","join_cancel":"Отмена","join_host_fallback":"ваш друг","join_connecting":"Подключение к {host}…","join_waiting":"Ждём, пока {host} вас впустит","join_waiting_body":"{host} видит ваше имя на экране и нажимает «Разрешить».","join_retry":"Повторить","join_again":"Снова попроситься в игру","join_playing_at":"Игра у {host}","join_you_are":"Вы — Игрок {n}","join_seat_stream":"Вы играете под пользователем PS5 хоста {host}. Выбирать пользователя не нужно.","join_plays_as":"Вы играете как {profile}. Выбирать никого не нужно.","join_seat_tv_asks":"{host} выбрал для вас профиль, но использовать его не удалось. Телевизор спросит, кто вы.","join_picking":"Нажмите PS, затем выберите «Быстрая игра» на телевизоре","join_hide_controls":"Скрыть","join_sound":"Включить звук","rp_unmute":"Включить звук","rp_mute":"Без звука","join_no_sound":"В этом браузере нет звука","join_exit_fullscreen":"Выйти из полноэкранного режима","pad_fill":"Во весь экран","join_leave":"Выйти","join_show_controls":"Показать кнопки","join_hold_hint":"Нажмите и удерживайте изображение, чтобы показать кнопки","pad_watch_no_hevc":"Это устройство не может показать картинку этой трансляции: компьютер передаёт HEVC, а устройство воспроизводит только H.264.","pad_watch_decode":"Картинку не удалось воспроизвести здесь.","join_pad_ready":"Ваш контроллер готов","join_check_unknown_short":"Нет в нашем списке: кнопки могут быть перепутаны.","join_full_to_play":"Нажмите «Во весь экран», чтобы играть с экранным контроллером.","join_pad_none":"Подключите контроллер (USB или Bluetooth) и нажмите любую кнопку.","join_pad_keys":"Или играйте с клавиатуры: WASD — движение, стрелки — крестовина, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Нажмите «Назад» на пульте, чтобы показать кнопки.","join_block_note":"{host} отключил PS и Create для друзей.","join_guide_title":"Ещё один шаг на телевизоре","join_guide_body":"Нажмите PS на контроллере один раз. Телевизор спросит «Кто использует этот контроллер?». Выберите «Быстрая игра» или своего пользователя. Хосту ничего делать не нужно.","join_guide_menus":"На главном экране PS5 меню управляет только хост; ваш контроллер работает внутри игр.","join_guide_ok":"Понятно","join_host_away":"Хост перестал играть — ждём, когда он начнёт снова ({time})","join_reconnecting":"Переподключение…","join_reconnecting_left":"Ваше место сохраняется ещё {time}.","pad_turn":"Поверните телефон горизонтально","join_game_label":"Игра {host}","join_title":"Присоединиться к игре друга","join_title_body":"Играйте на PS5 {host} как Игрок 2, 3 или 4.","join_name_label":"Ваше имя","join_name_hint":"Друг увидит его, когда вы попроситесь в игру.","join_button":"Войти"},"th":{"usb_skipped_not_payload":"{name}: ไม่ใช่ไฟล์ .elf หรือ .bin","usb_skipped_unknown":"{id}: ไม่อยู่ในรายการเพย์โหลดแล้ว","browser_unsupported":"ต้องใช้แอปเดสก์ท็อป ใช้ในเบราว์เซอร์ไม่ได้","video_recovered_notice":"ครั้งก่อนหน้าเล่นล่มขณะเริ่มภาพ ตอนนี้จึงถอดรหัสภาพโดยไม่ใช้การ์ดจอ (เปลี่ยนได้ที่ การตั้งค่า › หน้าต่าง › กราฟิก › ถอดรหัสวิดีโอด้วยฮาร์ดแวร์)","video_recovered_title":"ตอนนี้ถอดรหัสภาพด้วยซอฟต์แวร์","open_in_title":"เปิดในแอป PS5Upload ไหม","open_in_body":"มีแอป PS5Upload ในอุปกรณ์นี้ไหม เปิดในแอป หรือใช้ต่อในเบราว์เซอร์ก็ได้","open_in_app":"เปิดในแอป","open_in_browser":"ใช้ต่อในเบราว์เซอร์","open_in_remember":"จำตัวเลือกของฉันในอุปกรณ์นี้","open_in_opening":"กำลังเปิดแอป PS5Upload…","open_in_not_opened":"ไม่มีอะไรเกิดขึ้นใช่ไหม อุปกรณ์นี้อาจไม่มีแอป","open_in_again":"ลองอีกครั้ง","pad_8bitdo_no_xinput":"8BitDo รุ่นนี้ไม่มีโหมด X-input หากปุ่มใดทำงานผิด ให้ตรวจสอบคอนโทรลเลอร์","pad_8bitdo_how_switch":"เลื่อนสวิตช์ด้านหลังไปที่ X แล้วกด Start","pad_8bitdo_how_startx":"ปิดเครื่อง แล้วกด Start + X ค้างไว้เพื่อเปิด","pad_8bitdo_how_receiver":"ใช้ตัวรับสัญญาณ 2.4G หรือสาย USB","pad_8bitdo_how_manual":"ดูวิธีได้ในคู่มือ","pad_8bitdo_xinput":"เพื่อผลลัพธ์ที่ดีที่สุด ให้เปลี่ยน 8BitDo เป็นโหมด X-input: {how}","rp_touch_left_stick":"สติกซ้าย","rp_touch_right_stick":"สติกขวา","rp_touch_touchpad":"ทัชแพด","rp_menu":"เมนู","rp_pad_step_lx":"ดันอนาล็อกซ้ายไปทางขวา","rp_pad_step_ly":"ดันอนาล็อกซ้ายลง","rp_pad_step_rx":"ดันอนาล็อกขวาไปทางขวา","rp_pad_step_ry":"ดันอนาล็อกขวาลง","join_check_bottom":"กดปุ่มด้านล่าง (✕)","join_check_right":"กดปุ่มด้านขวา (○)","join_check_left":"กดปุ่มด้านซ้าย (□)","join_check_top":"กดปุ่มด้านบน (△)","rp_pad_press":"กด {name}","join_check_saved":"บันทึกสำหรับคอนโทรลเลอร์นี้บนอุปกรณ์นี้แล้ว ลองใช้ด้านล่าง","join_check_title":"ตรวจสอบคอนโทรลเลอร์","join_done":"เสร็จสิ้น","rp_pads_none":"ยังไม่พบคอนโทรลเลอร์ เชื่อมต่อแล้วกดปุ่มใดก็ได้บนคอนโทรลเลอร์","rp_pad_mapped":"เล่นตามการกำหนดปุ่มของคุณ","join_check_unknown":"คอนโทรลเลอร์นี้ไม่อยู่ในรายการของเรา ปุ่มจึงอาจสลับกัน การตั้งค่าใช้เวลาเพียงไม่กี่วินาที","rp_pad_standard":"รู้จักแล้ว","rp_pad_progress":"{n} จาก {total}","rp_pad_skip":"ข้าม","rp_pad_back":"ย้อนกลับ","rp_pad_cancel":"ยกเลิก","join_check_try":"กดปุ่มและขยับสติ๊ก: ปุ่มที่กดจะสว่างขึ้น","join_check_redo":"ทำใหม่","join_check_map":"ตั้งค่าปุ่ม","rp_pad_reset":"รีเซ็ต","join_open_lan_body":"เข้าอินเทอร์เน็ตไม่ได้? ถ้าคุณอยู่บน Wi-Fi เดียวกับเพื่อน ให้เปิดเกมที่นั่น","join_open_lan":"เปิดบน Wi-Fi นี้","join_path_lan":"เครือข่ายในบ้าน","join_path_internet":"อินเทอร์เน็ต","join_seat_taken":"{host} ต้องใช้คอนโทรลเลอร์ของตัวเองคืน และไม่มีคอนโทรลเลอร์อื่นว่างบน PS5 คุณจึงออกจากเกม ขอให้ {host} ให้คุณเข้าอีกครั้ง","join_refused_key":"คำเชิญนี้หมดอายุแล้ว ขอลิงก์ใหม่จาก {host}","join_refused_expired":"ที่ของคุณในเกมหายไปแล้ว ขอให้ {host} ให้เข้าใหม่","join_refused_full":"เกมเต็มแล้ว: มีผู้เล่นครบสี่คน","join_refused_denied":"{host} ไม่ได้ให้คุณเข้าในครั้งนี้","join_refused_no_answer":"{host} ไม่ตอบทันเวลา แจ้ง {host} แล้วลองอีกครั้ง","join_refused_closed":"ตอนนี้ {host} ไม่ได้เปิดเล่นด้วยกัน","join_refused_old_helper":"PS5 ของ {host} ต้องอัปเดตตัวช่วยเพื่อเล่นด้วยกัน","join_refused_not_playing":"ตอนนี้ {host} ไม่ได้เล่นอยู่ ขอให้ {host} เริ่มเล่นก่อน","join_refused_unreachable":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับ PS5 ไม่ได้ ลองใหม่อีกครั้งในอีกสักครู่","join_refused_slow_down":"ใส่รหัสผิดหลายครั้งเกินไป รอหนึ่งนาทีแล้วลองใหม่","join_refused_address":"ที่อยู่ของลิงก์นี้อยู่นอกเครือข่ายภายในบ้าน แอปจึงไม่ใช้ ขอลิงก์ที่มีที่อยู่ IP ของคอมพิวเตอร์จาก {host}","join_refused_other":"{host} ไม่ได้ให้คุณเข้า","join_ended_kicked":"{host} นำคุณออกจากเกม","join_ended_closed":"{host} ปิดเล่นด้วยกันแล้ว","join_ended_host_stopped":"โฮสต์หยุดเล่นแล้ว","join_ended_replaced":"เกมนี้ถูกเปิดในแท็บอื่นหรืออุปกรณ์อื่น จึงหยุดที่นี่","join_ended_pad_lost":"PS5 ทำคอนโทรลเลอร์ของคุณหาย คุณจึงออกจากเกม ขอให้ {host} ให้เข้าใหม่","join_ended_gave_up":"การเชื่อมต่อกับ {host} ไม่กลับมาทันเวลา","join_net_lost":"การเชื่อมต่อกับ {host} หลุด ตรวจสอบการเชื่อมต่ออินเทอร์เน็ต แล้วขอเข้าร่วมอีกครั้ง","join_ended_lost":"ติดต่อ {host} ไม่ได้ ตรวจสอบว่าอยู่ในเครือข่ายเดียวกัน","join_ended_left":"คุณออกจากเกมแล้ว","join_net_mismatch":"ลิงก์นี้ไม่ตรงกับโฮสต์ ขอลิงก์ใหม่จากเขา","join_net_no_direct":"เชื่อมต่อโดยตรงจากเครือข่ายนี้ไม่ได้ (เราเตอร์ทั้งสองฝั่งเข้มงวด) ลองใช้ Wi-Fi แทนเน็ตมือถือ หรือขอให้โฮสต์เปิด UPnP","join_net_no_room":"คำเชิญนี้ปิดไปแล้ว ขอลิงก์ใหม่จาก {host}","join_net_full":"เกมของ {host} ไม่มีที่ว่างสำหรับเพื่อนเพิ่มในตอนนี้ ลองใหม่อีกสักครู่","join_net_no_hub":"ติดต่อบริการคำเชิญของ PS5Upload ไม่ได้ ตรวจสอบการเชื่อมต่ออินเทอร์เน็ตแล้วลองใหม่","join_net_offer":"คอมพิวเตอร์ของ {host} เชื่อมต่อกับเบราว์เซอร์นี้ไม่ได้ ลองเบราว์เซอร์อื่น","join_net_no_webrtc":"เบราว์เซอร์นี้เชื่อมต่อโดยตรงไม่ได้ ลองใช้ Chrome, Safari หรือ Firefox เวอร์ชันล่าสุด","join_cancel":"ยกเลิก","join_host_fallback":"เพื่อนของคุณ","join_connecting":"กำลังเชื่อมต่อกับ {host}…","join_waiting":"กำลังรอ {host} ให้คุณเข้า","join_waiting_body":"{host} จะเห็นชื่อคุณบนหน้าจอและแตะอนุญาต","join_retry":"ลองอีกครั้ง","join_again":"ขอเข้าร่วมอีกครั้ง","join_playing_at":"กำลังเล่นที่บ้าน {host}","join_you_are":"คุณคือผู้เล่น {n}","join_seat_stream":"คุณกำลังเล่นด้วยผู้ใช้ PS5 ของ {host} ไม่ต้องเลือกผู้ใช้","join_plays_as":"คุณกำลังเล่นในนาม {profile} ไม่ต้องเลือกอะไร","join_seat_tv_asks":"{host} เลือกโปรไฟล์ไว้ให้คุณ แต่ใช้ไม่ได้ ทีวีจะถามว่าคุณเป็นใคร","join_picking":"กด PS แล้วเลือกเล่นด่วนบนทีวี","join_hide_controls":"ซ่อน","join_sound":"แตะเพื่อเปิดเสียง","rp_unmute":"เปิดเสียง","rp_mute":"ปิดเสียง","join_no_sound":"เบราว์เซอร์นี้ไม่มีเสียง","join_exit_fullscreen":"ออกจากเต็มจอ","pad_fill":"เต็มจอ","join_leave":"ออก","join_show_controls":"แสดงปุ่มควบคุม","join_hold_hint":"กดค้างที่ภาพเพื่อแสดงปุ่ม","pad_watch_no_hevc":"อุปกรณ์นี้เล่นภาพของสตรีมนี้ไม่ได้: คอมพิวเตอร์สตรีมเป็น HEVC แต่อุปกรณ์นี้เล่นได้แค่ H.264","pad_watch_decode":"เล่นภาพที่นี่ไม่ได้","join_pad_ready":"คอนโทรลเลอร์ของคุณพร้อมแล้ว","join_check_unknown_short":"ไม่อยู่ในรายการ: ปุ่มอาจสลับกัน","join_full_to_play":"แตะเต็มหน้าจอเพื่อเล่นด้วยคอนโทรลเลอร์บนหน้าจอ","join_pad_none":"เชื่อมต่อคอนโทรลเลอร์ (USB หรือ Bluetooth) แล้วกดปุ่มใดก็ได้","join_pad_keys":"หรือใช้คีย์บอร์ด: WASD เคลื่อนที่, ลูกศร D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options","join_tv_back_hint":"กดปุ่มย้อนกลับบนรีโมตเพื่อแสดงปุ่ม","join_block_note":"{host} ปิดปุ่ม PS และ Create สำหรับเพื่อน","join_guide_title":"อีกขั้นตอนเดียวบนทีวี","join_guide_body":"กด PS บนคอนโทรลเลอร์หนึ่งครั้ง ทีวีจะถามว่า \"ใครกำลังใช้คอนโทรลเลอร์นี้?\" เลือกเล่นด่วนหรือผู้ใช้ของคุณเอง เจ้าของเกมไม่ต้องทำอะไร","join_guide_menus":"บนหน้าจอหลักของ PS5 มีแค่โฮสต์ที่ควบคุมเมนูได้ คอนโทรลเลอร์ของคุณใช้เล่นในเกม","join_guide_ok":"เข้าใจแล้ว","join_host_away":"โฮสต์หยุดเล่นแล้ว — กำลังรอให้เริ่มเล่นอีกครั้ง ({time})","join_reconnecting":"กำลังเชื่อมต่อใหม่…","join_reconnecting_left":"ที่ของคุณจะถูกเก็บไว้ {time}","pad_turn":"หมุนมือถือเป็นแนวนอน","join_game_label":"เกมของ {host}","join_title":"เข้าร่วมเกมของเพื่อน","join_title_body":"เล่นบน PS5 ของ {host} เป็นผู้เล่น 2, 3 หรือ 4","join_name_label":"ชื่อของคุณ","join_name_hint":"เพื่อนจะเห็นชื่อนี้เมื่อคุณขอเข้าร่วม","join_button":"เข้าร่วม"},"tr":{"usb_skipped_not_payload":"{name}: .elf veya .bin dosyası değil","usb_skipped_unknown":"{id}: artık payload listesinde değil","browser_unsupported":"Bunun için masaüstü uygulaması gerekir. Tarayıcıda çalışmaz.","video_recovered_notice":"Play geçen sefer görüntüyü başlatırken çöktü, bu yüzden görüntü artık ekran kartı olmadan çözülüyor (değiştirmek için Ayarlar › Pencere › Grafik › Donanımsal video çözme).","video_recovered_title":"Görüntü artık yazılımla çözülüyor","open_in_title":"PS5Upload uygulamasında açılsın mı?","open_in_body":"Bu cihazda PS5Upload uygulaması var mı? Bunu orada aç ya da tarayıcıda devam et.","open_in_app":"Uygulamada aç","open_in_browser":"Tarayıcıda devam et","open_in_remember":"Bu cihazda seçimimi hatırla","open_in_opening":"PS5Upload uygulaması açılıyor…","open_in_not_opened":"Bir şey olmadı mı? Uygulama bu cihazda olmayabilir.","open_in_again":"Tekrar dene","pad_8bitdo_no_xinput":"Bu 8BitDo'nun X-input modu yok. Bir tuş yanlışsa kumandayı kontrol et.","pad_8bitdo_how_switch":"arkadaki düğmeyi X'e getir, sonra Start'a bas","pad_8bitdo_how_startx":"kapat, sonra açmak için Start + X'e basılı tut","pad_8bitdo_how_receiver":"2.4G alıcısını ya da bir USB kablosu kullan","pad_8bitdo_how_manual":"nasıl yapılacağı kılavuzunda yazıyor","pad_8bitdo_xinput":"En iyi sonuç için 8BitDo'nu X-input moduna al: {how}.","rp_touch_left_stick":"Sol çubuk","rp_touch_right_stick":"Sağ çubuk","rp_touch_touchpad":"Dokunmatik yüzey","rp_menu":"Menü","rp_pad_step_lx":"Sol çubuğu sağa itin","rp_pad_step_ly":"Sol çubuğu aşağı itin","rp_pad_step_rx":"Sağ çubuğu sağa itin","rp_pad_step_ry":"Sağ çubuğu aşağı itin","join_check_bottom":"Alttaki yüz tuşuna bas (✕)","join_check_right":"Sağdaki yüz tuşuna bas (○)","join_check_left":"Soldaki yüz tuşuna bas (□)","join_check_top":"Üstteki yüz tuşuna bas (△)","rp_pad_press":"{name} tuşuna basın","join_check_saved":"Bu cihazda bu kumanda için kaydedildi. Aşağıda dene.","join_check_title":"Kumandanı kontrol et","join_done":"Tamam","rp_pads_none":"Henüz kumanda görülmedi. Bir tane bağlayın ve herhangi bir tuşuna basın.","rp_pad_mapped":"Sizin eşlemenizle oynuyor","join_check_unknown":"Bu kumanda listemizde yok, bu yüzden tuşları karışık olabilir. Ayarlamak birkaç saniye sürer.","rp_pad_standard":"Tanındı","rp_pad_progress":"{n} / {total}","rp_pad_skip":"Atla","rp_pad_back":"Geri","rp_pad_cancel":"İptal","join_check_try":"Tuşlara bas ve çubukları oynat: bastığın şey yanar.","join_check_redo":"Yeniden yap","join_check_map":"Tuşları ayarla","rp_pad_reset":"Sıfırla","join_open_lan_body":"İnternete ulaşamıyor musun? Arkadaşınla aynı Wi-Fi'daysan oyunu orada aç.","join_open_lan":"Bu Wi-Fi'da aç","join_path_lan":"Ev ağı","join_path_internet":"İnternet","join_seat_taken":"{host} kumandasını geri istedi ve PS5'te boş başka kumanda yoktu, bu yüzden oyundan çıktın. {host} adlı kişiden seni tekrar almasını iste.","join_refused_key":"Bu davetin süresi doldu. {host} kullanıcısından yeni bir bağlantı iste.","join_refused_expired":"Oyundaki yerin gitti. {host} seni yeniden alsın diye iste.","join_refused_full":"Oyun dolu: zaten dört oyuncu var.","join_refused_denied":"{host} bu sefer seni içeri almadı.","join_refused_no_answer":"{host} zamanında yanıt vermedi. {host} kişisine haber ver, sonra yeniden dene.","join_refused_closed":"{host} şu anda Birlikte Oyna açmıyor.","join_refused_old_helper":"Birlikte Oyna için {host} adlı kişinin PS5'inde yardımcının güncellenmesi gerekiyor.","join_refused_not_playing":"{host} şu anda oynamıyor. Önce Oyna'yı başlatmasını {host} kullanıcısından iste.","join_refused_unreachable":"{host} adlı kişinin bilgisayarı PS5'e ulaşamadı. Biraz sonra tekrar dene.","join_refused_slow_down":"Çok fazla yanlış kod. Bir dakika bekle, sonra tekrar dene.","join_refused_address":"Bu bağlantının adresi ev ağınızın dışında olduğundan uygulama bunu kullanmaz. {host} kullanıcısından bilgisayarının IP adresini içeren bir bağlantı isteyin.","join_refused_other":"{host} seni içeri almadı.","join_ended_kicked":"{host} seni oyundan çıkardı.","join_ended_closed":"{host}, Birlikte Oyna'yı kapattı.","join_ended_host_stopped":"Ev sahibi oynamayı bıraktı.","join_ended_replaced":"Bu oyun başka bir sekmede veya cihazda açıldı, bu yüzden burada durdu.","join_ended_pad_lost":"PS5 kumandanı kaybetti, bu yüzden oyundan çıktın. {host} seni yeniden alsın diye iste.","join_ended_gave_up":"{host} ile bağlantı zamanında geri gelmedi.","join_net_lost":"{host} ile bağlantı koptu. İnternet bağlantını kontrol et, sonra yeniden iste.","join_ended_lost":"{host} kullanıcısına ulaşılamadı. Aynı ağda olduğunuzu kontrol et.","join_ended_left":"Oyundan ayrıldın.","join_net_mismatch":"Bu bağlantı ev sahibiyle eşleşmiyor; ondan yeni bir bağlantı iste.","join_net_no_direct":"Bu ağdan doğrudan bağlantı mümkün değil (iki tarafın yönlendiricisi de katı). Mobil veri yerine Wi-Fi dene ya da ev sahibinden UPnP'yi açmasını iste.","join_net_no_room":"Bu davet artık açık değil. {host} kullanıcısından yeni bir bağlantı iste.","join_net_full":"{host} kullanıcısının oyununda şu an başka bir arkadaşa yer yok. Biraz sonra tekrar dene.","join_net_no_hub":"PS5Upload davet hizmetine ulaşılamadı. İnternet bağlantını kontrol et, sonra tekrar dene.","join_net_offer":"{host} kullanıcısının bilgisayarı bu tarayıcıya bağlanamadı. Başka bir tarayıcı dene.","join_net_no_webrtc":"Bu tarayıcı doğrudan bağlantı kuramıyor. Güncel bir Chrome, Safari veya Firefox dene.","join_cancel":"İptal","join_host_fallback":"arkadaşın","join_connecting":"Bağlanılıyor: {host}…","join_waiting":"{host} seni içeri alsın diye bekleniyor","join_waiting_body":"{host} adını ekranında görür ve İzin ver'e dokunur.","join_retry":"Tekrar dene","join_again":"Tekrar katılmak iste","join_playing_at":"Oynadığın yer: {host}","join_you_are":"Sen {n}. Oyuncusun","join_seat_stream":"{host} adlı kişinin PS5 kullanıcısıyla oynuyorsun. Kullanıcı seçmene gerek yok.","join_plays_as":"{profile} olarak oynuyorsunuz. Seçim yapmanıza gerek yok.","join_seat_tv_asks":"{host} sizin için bir profil seçti ama kullanılamadı. TV kim olduğunuzu soracak.","join_picking":"PS'ye bas, sonra televizyonda Hızlı Oyna'yı seç","join_hide_controls":"Gizle","join_sound":"Ses için dokun","rp_unmute":"Sesi aç","rp_mute":"Sessiz","join_no_sound":"Bu tarayıcıda ses yok","join_exit_fullscreen":"Tam ekrandan çık","pad_fill":"Tam ekran","join_leave":"Ayrıl","join_show_controls":"Kontrolleri göster","join_hold_hint":"Düğmeleri göstermek için görüntüye basılı tut","pad_watch_no_hevc":"Bu cihaz bu yayının görüntüsünü oynatamıyor: bilgisayar HEVC yayınlıyor, bu cihaz yalnızca H.264 oynatıyor.","pad_watch_decode":"Görüntü burada oynatılamadı.","join_pad_ready":"Kumandan hazır","join_check_unknown_short":"Listemizde yok: tuşlar karışık olabilir.","join_full_to_play":"Ekran kumandasıyla oynamak için Tam ekran'a dokun.","join_pad_none":"Bir kumanda bağla (USB veya Bluetooth) ve herhangi bir tuşa bas.","join_pad_keys":"Ya da klavyeyi kullan: WASD hareket, ok tuşları yön tuşları, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Düğmeleri görmek için kumandada Geri'ye bas.","join_block_note":"{host}, arkadaşlar için PS ve Create tuşlarını kapattı.","join_guide_title":"Televizyonda bir adım daha","join_guide_body":"Kumandandaki PS tuşuna bir kez bas. Televizyon \"Bu kumandayı kim kullanıyor?\" diye sorar. Hızlı Oyna'yı ya da kendi kullanıcını seç. Ev sahibinin bir şey yapması gerekmez.","join_guide_menus":"PS5 ana ekranında menüleri yalnızca ev sahibi kontrol eder; senin kumandan oyunların içinde çalışır.","join_guide_ok":"Anladım","join_host_away":"Ev sahibi oynamayı bıraktı — yeniden başlaması bekleniyor ({time})","join_reconnecting":"Yeniden bağlanıyor…","join_reconnecting_left":"Yerin {time} boyunca tutuluyor.","pad_turn":"Telefonu yan çevirin","join_game_label":"{host} adlı kişinin oyunu","join_title":"Bir arkadaşının oyununa katıl","join_title_body":"{host} adlı kişinin PS5'inde 2., 3. veya 4. Oyuncu olarak oyna.","join_name_label":"Adın","join_name_hint":"Katılmak istediğinde arkadaşın bunu görür.","join_button":"Katıl"},"vi":{"usb_skipped_not_payload":"{name}: không phải tệp .elf hoặc .bin","usb_skipped_unknown":"{id}: không còn trong danh sách payload","browser_unsupported":"Việc này cần ứng dụng máy tính. Không hoạt động trong trình duyệt.","video_recovered_notice":"Lần trước Play bị sập khi bắt đầu hình, nên giờ hình được giải mã không dùng card đồ họa (đổi trong Cài đặt › Cửa sổ › Đồ họa › Giải mã video bằng phần cứng).","video_recovered_title":"Hình giờ được giải mã bằng phần mềm","open_in_title":"Mở trong ứng dụng PS5Upload?","open_in_body":"Thiết bị này có ứng dụng PS5Upload? Mở trong ứng dụng, hoặc tiếp tục trên trình duyệt.","open_in_app":"Mở trong ứng dụng","open_in_browser":"Tiếp tục trên trình duyệt","open_in_remember":"Nhớ lựa chọn của tôi trên thiết bị này","open_in_opening":"Đang mở ứng dụng PS5Upload…","open_in_not_opened":"Không có gì xảy ra? Có thể thiết bị này chưa có ứng dụng.","open_in_again":"Thử lại","pad_8bitdo_no_xinput":"8BitDo này không có chế độ X-input. Nếu có nút sai, hãy kiểm tra tay cầm.","pad_8bitdo_how_switch":"gạt công tắc phía sau sang X, rồi nhấn Start","pad_8bitdo_how_startx":"tắt tay cầm, rồi giữ Start + X để bật lại","pad_8bitdo_how_receiver":"dùng bộ thu 2.4G của nó hoặc cáp USB","pad_8bitdo_how_manual":"cách làm có trong sách hướng dẫn","pad_8bitdo_xinput":"Để chơi tốt nhất, hãy chuyển 8BitDo sang chế độ X-input: {how}.","rp_touch_left_stick":"Cần trái","rp_touch_right_stick":"Cần phải","rp_touch_touchpad":"Bàn di cảm ứng","rp_pad_step_lx":"Đẩy cần trái sang phải","rp_pad_step_ly":"Đẩy cần trái xuống dưới","rp_pad_step_rx":"Đẩy cần phải sang phải","rp_pad_step_ry":"Đẩy cần phải xuống dưới","join_check_bottom":"Nhấn nút mặt phía dưới (✕)","join_check_right":"Nhấn nút mặt bên phải (○)","join_check_left":"Nhấn nút mặt bên trái (□)","join_check_top":"Nhấn nút mặt phía trên (△)","rp_pad_press":"Nhấn {name}","join_check_saved":"Đã lưu cho tay cầm này trên thiết bị này. Thử ngay bên dưới.","join_check_title":"Kiểm tra tay cầm","join_done":"Xong","rp_pads_none":"Chưa thấy tay cầm nào. Hãy kết nối một tay cầm và nhấn nút bất kỳ.","rp_pad_mapped":"Chơi theo cách gán nút của bạn","join_check_unknown":"Tay cầm này không có trong danh sách của chúng tôi nên các nút có thể bị lẫn. Thiết lập chỉ mất vài giây.","rp_pad_standard":"Đã nhận diện","rp_pad_progress":"{n}/{total}","rp_pad_skip":"Bỏ qua","rp_pad_back":"Quay lại","rp_pad_cancel":"Hủy","join_check_try":"Nhấn nút và di chuyển cần: nút bạn nhấn sẽ sáng lên.","join_check_redo":"Làm lại","join_check_map":"Thiết lập nút","rp_pad_reset":"Đặt lại","join_open_lan_body":"Không vào được internet? Nếu bạn dùng cùng Wi-Fi với bạn mình, hãy mở trò chơi ở đó.","join_open_lan":"Mở trên Wi-Fi này","join_path_lan":"Mạng nhà","join_seat_taken":"{host} cần lấy lại tay cầm và trên PS5 không còn tay cầm nào trống, nên bạn đã rời trò chơi. Hãy nhờ {host} cho bạn vào lại.","join_refused_key":"Lời mời này đã hết hạn. Hãy xin {host} liên kết mới.","join_refused_expired":"Bạn đã mất chỗ trong trò chơi. Hãy nhờ {host} cho vào lại.","join_refused_full":"Trò chơi đã đủ người: đã có bốn người chơi.","join_refused_denied":"Lần này {host} chưa cho bạn vào.","join_refused_no_answer":"{host} không trả lời kịp. Hãy báo {host}, rồi thử lại.","join_refused_closed":"{host} hiện không mở Chơi cùng nhau.","join_refused_old_helper":"PS5 của {host} cần cập nhật trình trợ giúp để Chơi cùng nhau.","join_refused_not_playing":"{host} hiện không chơi. Hãy nhờ {host} bắt đầu Chơi trước.","join_refused_unreachable":"Máy tính của {host} không kết nối được với PS5. Hãy thử lại sau giây lát.","join_refused_slow_down":"Nhập sai mã quá nhiều lần. Hãy đợi một phút rồi thử lại.","join_refused_address":"Địa chỉ của liên kết này nằm ngoài mạng gia đình nên ứng dụng sẽ không dùng. Hãy nhờ {host} gửi liên kết có địa chỉ IP của máy tính.","join_refused_other":"{host} không cho bạn vào.","join_ended_kicked":"{host} đã mời bạn ra khỏi trò chơi.","join_ended_closed":"{host} đã đóng Chơi cùng nhau.","join_ended_host_stopped":"Chủ phòng đã dừng chơi.","join_ended_replaced":"Trò chơi này đã được mở ở tab khác hoặc thiết bị khác, nên đã dừng ở đây.","join_ended_pad_lost":"PS5 đã mất tay cầm của bạn, nên bạn đã ra khỏi trò chơi. Hãy nhờ {host} cho vào lại.","join_ended_gave_up":"Kết nối tới {host} không trở lại kịp.","join_net_lost":"Kết nối tới {host} đã bị ngắt. Hãy kiểm tra kết nối internet, rồi xin vào lại.","join_ended_lost":"Không liên lạc được với {host}. Hãy kiểm tra hai bên có cùng mạng không.","join_ended_left":"Bạn đã rời trò chơi.","join_net_mismatch":"Liên kết này không khớp với chủ phòng; hãy xin họ một liên kết mới.","join_net_no_direct":"Không thể kết nối trực tiếp từ mạng này (bộ định tuyến của cả hai bên đều chặt). Hãy thử Wi-Fi thay cho dữ liệu di động, hoặc nhờ chủ phòng bật UPnP.","join_net_no_room":"Lời mời này không còn mở. Hãy xin {host} một liên kết mới.","join_net_full":"Trò chơi của {host} hiện không còn chỗ cho thêm một người bạn. Hãy thử lại sau giây lát.","join_net_no_hub":"Không liên lạc được với dịch vụ lời mời của PS5Upload. Hãy kiểm tra kết nối internet rồi thử lại.","join_net_offer":"Máy tính của {host} không kết nối được với trình duyệt này. Hãy thử trình duyệt khác.","join_net_no_webrtc":"Trình duyệt này không thể tạo kết nối trực tiếp. Hãy thử Chrome, Safari hoặc Firefox bản mới.","join_cancel":"Hủy","join_host_fallback":"bạn của bạn","join_connecting":"Đang kết nối tới {host}…","join_waiting":"Đang chờ {host} cho bạn vào","join_waiting_body":"{host} sẽ thấy tên bạn trên màn hình và chạm Cho phép.","join_retry":"Thử lại","join_again":"Xin vào lại","join_playing_at":"Đang chơi ở chỗ {host}","join_you_are":"Bạn là Người chơi {n}","join_seat_stream":"Bạn đang chơi bằng người dùng PS5 của {host}. Không cần chọn người dùng.","join_plays_as":"Bạn đang chơi bằng {profile}. Không cần chọn.","join_seat_tv_asks":"{host} đã chọn một hồ sơ cho bạn nhưng không dùng được. TV sẽ hỏi bạn là ai.","join_picking":"Bấm PS, rồi chọn Chơi nhanh trên TV","join_hide_controls":"Ẩn","join_sound":"Chạm để bật tiếng","rp_unmute":"Bật âm thanh","rp_mute":"Tắt tiếng","join_no_sound":"Trình duyệt này không phát được âm thanh","join_exit_fullscreen":"Thoát toàn màn hình","pad_fill":"Toàn màn hình","join_leave":"Rời đi","join_show_controls":"Hiện các nút điều khiển","join_hold_hint":"Nhấn giữ hình ảnh để hiện các nút","pad_watch_no_hevc":"Thiết bị này không phát được hình của stream này: máy tính truyền HEVC, còn thiết bị này chỉ phát H.264.","pad_watch_decode":"Không phát được hình ở đây.","join_pad_ready":"Tay cầm của bạn đã sẵn sàng","join_check_unknown_short":"Không có trong danh sách: các nút có thể bị lẫn.","join_full_to_play":"Chạm toàn màn hình để chơi bằng tay cầm trên màn hình.","join_pad_none":"Kết nối tay cầm (USB hoặc Bluetooth) rồi bấm nút bất kỳ.","join_pad_keys":"Hoặc dùng bàn phím: WASD di chuyển, phím mũi tên D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.","join_tv_back_hint":"Nhấn Quay lại trên điều khiển từ xa để hiện các nút.","join_block_note":"{host} đã tắt PS và Create với bạn bè.","join_guide_title":"Thêm một bước trên TV","join_guide_body":"Bấm PS một lần trên tay cầm. TV sẽ hỏi \"Ai đang dùng tay cầm này?\". Chọn Chơi nhanh hoặc người dùng của bạn. Chủ phòng không cần làm gì.","join_guide_menus":"Trên màn hình chính PS5 chỉ chủ phòng điều khiển menu; tay cầm của bạn chơi bên trong trò chơi.","join_guide_ok":"Đã hiểu","join_host_away":"Chủ phòng đã dừng chơi — đang chờ họ chơi lại ({time})","join_reconnecting":"Đang kết nối lại…","join_reconnecting_left":"Chỗ của bạn được giữ trong {time}.","pad_turn":"Xoay ngang điện thoại","join_game_label":"Trò chơi của {host}","join_title":"Vào trò chơi của bạn bè","join_title_body":"Chơi trên PS5 của {host} với vai Người chơi 2, 3 hoặc 4.","join_name_label":"Tên của bạn","join_name_hint":"Bạn bè sẽ thấy tên này khi bạn xin vào.","join_button":"Vào chơi"},"zh-CN":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 文件","usb_skipped_unknown":"{id}:已不在 Payload 列表中","browser_unsupported":"这需要桌面应用,无法在浏览器中使用。","video_recovered_notice":"上次 Play 在开始显示画面时崩溃,因此画面现在不使用显卡解码(可在 设置 › 窗口 › 图形 › 硬件视频解码 中更改)。","video_recovered_title":"画面现由软件解码","open_in_title":"在 PS5Upload 应用中打开?","open_in_body":"这台设备装了 PS5Upload 应用?可以在应用中打开,或继续使用浏览器。","open_in_app":"在应用中打开","open_in_browser":"继续使用浏览器","open_in_remember":"在此设备上记住我的选择","open_in_opening":"正在打开 PS5Upload 应用…","open_in_not_opened":"没有反应?这台设备可能没有安装应用。","open_in_again":"重试","pad_8bitdo_no_xinput":"这款 8BitDo 没有 X-input 模式。如果有按键不对,请检查手柄。","pad_8bitdo_how_switch":"把背面的开关拨到 X,然后按 Start","pad_8bitdo_how_startx":"先关机,然后按住 Start + X 开机","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 线","pad_8bitdo_how_manual":"方法见其说明书","pad_8bitdo_xinput":"为获得最佳效果,请将 8BitDo 切换到 X-input 模式:{how}。","rp_touch_left_stick":"左摇杆","rp_touch_right_stick":"右摇杆","rp_touch_touchpad":"触摸板","rp_menu":"菜单","rp_pad_step_lx":"将左摇杆推向右","rp_pad_step_ly":"将左摇杆推向下","rp_pad_step_rx":"将右摇杆推向右","rp_pad_step_ry":"将右摇杆推向下","join_check_bottom":"按下方的功能键 (✕)","join_check_right":"按右侧的功能键 (○)","join_check_left":"按左侧的功能键 (□)","join_check_top":"按上方的功能键 (△)","rp_pad_press":"按 {name}","join_check_saved":"已在此设备上为这个手柄保存。可在下方试用。","join_check_title":"检查你的手柄","join_done":"完成","rp_pads_none":"还没有检测到手柄。请连接一个手柄并按任意按钮。","rp_pad_mapped":"使用你的按键映射","join_check_unknown":"这个手柄不在我们的列表中,按键可能会错位。设置只需几秒钟。","rp_pad_standard":"已识别","rp_pad_progress":"{n}/{total}","rp_pad_skip":"跳过","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按键、推动摇杆:按下的部分会亮起。","join_check_redo":"重新设置","join_check_map":"设置按键","rp_pad_reset":"重置","join_open_lan_body":"连不上互联网?如果你和朋友在同一个 Wi-Fi 上,就在那里打开游戏。","join_open_lan":"在此 Wi-Fi 上打开","join_path_lan":"家庭网络","join_path_internet":"互联网","join_seat_taken":"{host} 需要收回手柄,而 PS5 上没有其他空闲手柄,所以你已退出游戏。请 {host} 再次让你加入。","join_refused_key":"此邀请已过期。请向 {host} 要一个新链接。","join_refused_expired":"你在游戏中的位置已失去。请让 {host} 再次放你进去。","join_refused_full":"游戏已满:已经有四名玩家。","join_refused_denied":"{host} 这次没有让你加入。","join_refused_no_answer":"{host} 没有及时响应。请告诉 {host},然后重试。","join_refused_closed":"{host} 目前没有开启一起畅玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起畅玩。","join_refused_not_playing":"{host} 现在没在玩。请让 {host} 先开始畅玩。","join_refused_unreachable":"{host} 的电脑无法连接到其 PS5。请稍后再试。","join_refused_slow_down":"错误的代码太多。请等一分钟后再试。","join_refused_address":"此链接的地址不在你的家庭网络内,因此应用不会使用它。请向 {host} 索取包含其电脑 IP 地址的链接。","join_refused_other":"{host} 没有让你加入。","join_ended_kicked":"{host} 已将你移出游戏。","join_ended_closed":"{host} 已关闭一起畅玩。","join_ended_host_stopped":"房主已停止游戏。","join_ended_replaced":"这场游戏在另一个标签页或另一台设备上打开了,所以这里已停止。","join_ended_pad_lost":"PS5 丢失了你的手柄,所以你已退出游戏。请让 {host} 再次放你进去。","join_ended_gave_up":"与 {host} 的连接未能及时恢复。","join_net_lost":"与 {host} 的连接已断开。请检查你的互联网连接,然后重新请求。","join_ended_lost":"无法连接到 {host}。请检查你们是否在同一网络。","join_ended_left":"你已离开游戏。","join_net_mismatch":"此链接与主机不匹配;请向对方要一个新链接。","join_net_no_direct":"无法从此网络直接连接(双方的路由器都很严格)。请改用 Wi-Fi 而不是移动数据,或请主机打开 UPnP。","join_net_no_room":"此邀请已失效。请向 {host} 要一个新链接。","join_net_full":"{host} 的游戏现在没有位置再加一位朋友。请稍后再试。","join_net_no_hub":"无法连接 PS5Upload 邀请服务。请检查网络连接后重试。","join_net_offer":"{host} 的电脑无法连接到此浏览器。请换一个浏览器试试。","join_net_no_webrtc":"此浏览器无法建立直接连接。请使用较新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在连接 {host}…","join_waiting":"正在等待 {host} 让你加入","join_waiting_body":"{host} 会在屏幕上看到你的名字并点按“允许”。","join_retry":"重试","join_again":"再次请求加入","join_playing_at":"正在 {host} 那里玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 用户身份游玩,无需选择用户。","join_plays_as":"你正在以 {profile} 的身份游玩,无需选择。","join_seat_tv_asks":"{host} 为你选择了个人资料,但无法使用。电视会询问你是谁。","join_picking":"按 PS 键,然后在电视上选择“快速游戏”","join_hide_controls":"隐藏","join_sound":"点按开启声音","rp_unmute":"开启声音","rp_mute":"静音","join_no_sound":"此浏览器无法播放声音","join_exit_fullscreen":"退出全屏","pad_fill":"全屏","join_leave":"离开","join_show_controls":"显示控制按钮","join_hold_hint":"长按画面以显示按钮","pad_watch_no_hevc":"此设备无法播放这个串流的画面:电脑以 HEVC 串流,而此设备只能播放 H.264。","pad_watch_decode":"无法在这里播放画面。","join_pad_ready":"你的手柄已就绪","join_check_unknown_short":"不在我们的列表中:按键可能错位。","join_full_to_play":"点按全屏,即可用屏幕手柄游玩。","join_pad_none":"连接手柄(USB 或 Bluetooth),然后按任意键。","join_pad_keys":"也可以用键盘:WASD 移动,方向键为十字键,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遥控器上的返回键显示按钮。","join_block_note":"{host} 已为好友关闭 PS 和 Create 键。","join_guide_title":"电视上还差一步","join_guide_body":"在手柄上按一次 PS 键。电视会询问“谁在使用这个手柄?”。选择“快速游戏”或你自己的用户。主机玩家无需任何操作。","join_guide_menus":"在 PS5 主屏幕上只有房主能操作菜单;你的手柄在游戏里使用。","join_guide_ok":"知道了","join_host_away":"房主已停止游戏 — 正在等待对方重新开始({time})","join_reconnecting":"正在重新连接…","join_reconnecting_left":"你的位置会保留 {time}。","pad_turn":"请横放手机","join_game_label":"{host} 的游戏","join_title":"加入好友的游戏","join_title_body":"在 {host} 的 PS5 上作为玩家 2、3 或 4 游玩。","join_name_label":"你的名字","join_name_hint":"你请求加入时,好友会看到这个名字。","join_button":"加入"},"zh-TW":{"usb_skipped_not_payload":"{name}:不是 .elf 或 .bin 檔案","usb_skipped_unknown":"{id}:已不在 Payload 清單中","browser_unsupported":"這需要桌面應用程式,無法在瀏覽器中使用。","video_recovered_notice":"上次 Play 在開始顯示畫面時當掉,因此畫面現在不使用顯示卡解碼(可在 設定 › 視窗 › 圖形 › 硬體視訊解碼 中變更)。","video_recovered_title":"畫面現改由軟體解碼","open_in_title":"在 PS5Upload 應用程式中開啟?","open_in_body":"這台裝置有 PS5Upload 應用程式?可以在應用程式中開啟,或繼續使用瀏覽器。","open_in_app":"在應用程式中開啟","open_in_browser":"繼續使用瀏覽器","open_in_remember":"在此裝置上記住我的選擇","open_in_opening":"正在開啟 PS5Upload 應用程式…","open_in_not_opened":"沒有反應?這台裝置可能沒有安裝應用程式。","open_in_again":"重試","pad_8bitdo_no_xinput":"這款 8BitDo 沒有 X-input 模式。如果有按鍵不對,請檢查控制器。","pad_8bitdo_how_switch":"把背面的開關撥到 X,然後按 Start","pad_8bitdo_how_startx":"先關機,然後按住 Start + X 開機","pad_8bitdo_how_receiver":"使用它的 2.4G 接收器或 USB 線","pad_8bitdo_how_manual":"方法請見其說明書","pad_8bitdo_xinput":"為獲得最佳效果,請將 8BitDo 切換到 X-input 模式:{how}。","rp_touch_left_stick":"左類比搖桿","rp_touch_right_stick":"右類比搖桿","rp_touch_touchpad":"觸控板","rp_menu":"選單","rp_pad_step_lx":"將左類比搖桿推向右","rp_pad_step_ly":"將左類比搖桿推向下","rp_pad_step_rx":"將右類比搖桿推向右","rp_pad_step_ry":"將右類比搖桿推向下","join_check_bottom":"按下方的功能鍵 (✕)","join_check_right":"按右側的功能鍵 (○)","join_check_left":"按左側的功能鍵 (□)","join_check_top":"按上方的功能鍵 (△)","rp_pad_press":"按下 {name}","join_check_saved":"已在此裝置上為這個控制器儲存。可在下方試用。","join_check_title":"檢查你的控制器","join_done":"完成","rp_pads_none":"尚未偵測到控制器。請連接一個控制器並按下任一按鈕。","rp_pad_mapped":"使用你的按鍵對應","join_check_unknown":"這個控制器不在我們的清單中,按鍵可能會錯位。設定只需幾秒鐘。","rp_pad_standard":"已辨識","rp_pad_progress":"{n}/{total}","rp_pad_skip":"略過","rp_pad_back":"返回","rp_pad_cancel":"取消","join_check_try":"按下按鍵、推動搖桿:按下的部分會亮起。","join_check_redo":"重新設定","join_check_map":"設定按鍵","rp_pad_reset":"重設","join_open_lan_body":"連不上網際網路?如果你和朋友在同一個 Wi-Fi 上,就在那裡開啟遊戲。","join_open_lan":"在此 Wi-Fi 上開啟","join_path_lan":"家用網路","join_path_internet":"網際網路","join_seat_taken":"{host} 需要收回控制器,而 PS5 上沒有其他空閒的控制器,所以你已離開遊戲。請 {host} 再次讓你加入。","join_refused_key":"此邀請已過期。請向 {host} 要一個新連結。","join_refused_expired":"你在遊戲中的位置已失去。請讓 {host} 再次放你進去。","join_refused_full":"遊戲已滿:已經有四名玩家。","join_refused_denied":"{host} 這次沒有讓你加入。","join_refused_no_answer":"{host} 沒有及時回應。請告訴 {host},然後再試一次。","join_refused_closed":"{host} 目前沒有開啟一起暢玩。","join_refused_old_helper":"{host} 的 PS5 需要更新助手才能一起暢玩。","join_refused_not_playing":"{host} 現在沒在玩。請讓 {host} 先開始暢玩。","join_refused_unreachable":"{host} 的電腦無法連線到其 PS5。請稍後再試。","join_refused_slow_down":"錯誤的代碼太多。請等一分鐘後再試。","join_refused_address":"此連結的位址不在你的家用網路內,因此應用程式不會使用它。請向 {host} 索取包含其電腦 IP 位址的連結。","join_refused_other":"{host} 沒有讓你加入。","join_ended_kicked":"{host} 已將你移出遊戲。","join_ended_closed":"{host} 已關閉一起暢玩。","join_ended_host_stopped":"房主已停止遊戲。","join_ended_replaced":"這場遊戲在另一個分頁或另一台裝置上開啟了,所以這裡已停止。","join_ended_pad_lost":"PS5 遺失了你的控制器,所以你已退出遊戲。請讓 {host} 再次放你進去。","join_ended_gave_up":"與 {host} 的連線未能及時恢復。","join_net_lost":"與 {host} 的連線已中斷。請檢查你的網際網路連線,然後重新要求。","join_ended_lost":"無法連線到 {host}。請確認你們是否在同一個網路。","join_ended_left":"你已離開遊戲。","join_net_mismatch":"這個連結與主機不符;請向對方要一個新連結。","join_net_no_direct":"無法從這個網路直接連線(雙方的路由器都很嚴格)。請改用 Wi-Fi 而非行動數據,或請主機開啟 UPnP。","join_net_no_room":"這個邀請已失效。請向 {host} 要一個新連結。","join_net_full":"{host} 的遊戲目前沒有位置再加一位朋友。請稍後再試。","join_net_no_hub":"無法連線到 PS5Upload 邀請服務。請檢查網路連線後再試一次。","join_net_offer":"{host} 的電腦無法連線到這個瀏覽器。請換個瀏覽器試試。","join_net_no_webrtc":"這個瀏覽器無法建立直接連線。請使用較新版本的 Chrome、Safari 或 Firefox。","join_cancel":"取消","join_host_fallback":"你的好友","join_connecting":"正在連線到 {host}…","join_waiting":"正在等待 {host} 讓你加入","join_waiting_body":"{host} 會在螢幕上看到你的名字並點選「允許」。","join_retry":"重試","join_again":"再次要求加入","join_playing_at":"正在 {host} 那裡玩","join_you_are":"你是玩家 {n}","join_seat_stream":"你正在以 {host} 的 PS5 使用者身分遊玩,不需要選擇使用者。","join_plays_as":"你正以 {profile} 的身分遊玩,無需選擇。","join_seat_tv_asks":"{host} 為你選了一個個人檔案,但無法使用。電視會詢問你是誰。","join_picking":"按下 PS,然後在電視上選擇「快速遊玩」","join_hide_controls":"隱藏","join_sound":"點一下開啟聲音","rp_unmute":"開啟聲音","rp_mute":"靜音","join_no_sound":"此瀏覽器無法播放聲音","join_exit_fullscreen":"離開全螢幕","pad_fill":"全螢幕","join_leave":"離開","join_show_controls":"顯示控制項","join_hold_hint":"長按畫面以顯示按鈕","pad_watch_no_hevc":"此裝置無法播放這個串流的畫面:電腦以 HEVC 串流,而此裝置只能播放 H.264。","pad_watch_decode":"無法在這裡播放畫面。","join_pad_ready":"你的控制器已就緒","join_check_unknown_short":"不在我們的清單中:按鍵可能錯位。","join_full_to_play":"點一下全螢幕,即可用螢幕上的控制器遊玩。","join_pad_none":"連接控制器(USB 或 Bluetooth),然後按任意按鈕。","join_pad_keys":"也可以用鍵盤:WASD 移動,方向鍵為十字鍵,Enter ✕,Backspace ○,Q □,E △,Tab Options。","join_tv_back_hint":"按遙控器上的返回鍵以顯示按鈕。","join_block_note":"{host} 已為好友關閉 PS 和 Create 按鈕。","join_guide_title":"電視上還差一步","join_guide_body":"在控制器上按一次 PS 按鈕。電視會詢問「誰在使用這支控制器?」。選擇「快速遊玩」或你自己的使用者。主持人不需要任何操作。","join_guide_menus":"在 PS5 主畫面上只有房主能操作選單;你的控制器在遊戲裡使用。","join_guide_ok":"知道了","join_host_away":"房主已停止遊戲 — 正在等待對方重新開始({time})","join_reconnecting":"正在重新連線…","join_reconnecting_left":"你的位置會保留 {time}。","pad_turn":"請橫放手機","join_game_label":"{host} 的遊戲","join_title":"加入好友的遊戲","join_title_body":"在 {host} 的 PS5 上以玩家 2、3 或 4 的身分遊玩。","join_name_label":"你的名字","join_name_hint":"你要求加入時,好友會看到這個名字。","join_button":"加入"}}),ke=new Set([`ar`,`fa`]);function Ae(){let e=Object.keys(Oe);try{let t=localStorage.getItem(`ps5upload.lang`);if(t&&e.includes(t))return t}catch{}let t=typeof navigator>`u`?[]:[...navigator.languages??[],navigator.language];for(let n of t){if(!n)continue;if(e.includes(n))return n;let t=n.split(`-`)[0],r=e.find(e=>e===t);if(r)return r;if(t===`zh`)return/TW|HK|MO|Hant/i.test(n)?`zh-TW`:`zh-CN`;let i=e.find(e=>e.split(`-`)[0]===t);if(i)return i}return`en`}var je=Ae();typeof document<`u`&&(document.documentElement.lang=je,document.documentElement.dir=ke.has(je)?`rtl`:`ltr`);var Me=Oe[je]??{},Ne=Oe.en??{},Pe=(e,t)=>t?e.replace(/\{(\w+)\}/g,(e,n)=>n in t?String(t[n]):e):e,Fe=((e,t,n)=>{let r=typeof t==`string`?void 0:t,i=typeof t==`string`?t:n;return Pe(Me[e]??Ne[e]??i??e,r)});function Ie(){return Fe}var Le=4e3;function Re(e,t,n=`lan`){let r=new URLSearchParams(e.replace(/^#/,``)).get(n);if(!r)return null;try{let e=new URL(r),n=e.origin+e.pathname;return/^https?:$/.test(e.protocol)&&r===n&&RegExp(`/${t}/?$`).test(e.pathname)?n:null}catch{return null}}function ze(e,t){return t.key?`${e}#i=${encodeURIComponent(t.key)}`:t.watch?`${e}#w=1`:e}function Be(e,t=Le,n=typeof WebSocket>`u`?void 0:WebSocket){return new Promise(r=>{try{let i=new n(e),a=e=>{clearTimeout(o),i.onopen=i.onclose=i.onerror=null,i.close(),r(e)},o=setTimeout(()=>a(!1),t);i.onopen=()=>a(!0),i.onclose=i.onerror=()=>a(!1)}catch{r(!1)}})}var Ve=[`mismatch`,`no_direct`,`no_room`,`net_full`,`no_hub`,`offer`,`no_webrtc`],He=4100;function Ue(e){if(!e||e.code!==4100||typeof e.reason!=`string`||!e.reason.startsWith(`net:`))return null;let t=e.reason.slice(4);return Ve.includes(t)?t:null}var We=new Set([`key`,`expired`,`full`,`denied`,`no_answer`,`closed`,`old_helper`,`not_playing`,`unreachable`,`slow_down`,`address`,`seat_taken`]),Ge={kicked:`kicked`,host_stopped:`host_stopped`,replaced:`replaced`,lost:`pad_lost`,seat_taken:`seat_taken`},Ke=new Set([`asking`,`picking_user`,`playing`,`reconnecting`,`left`]),qe=e=>Math.max(0,Math.min(255,Math.round(Number(e)||0)));function Je(e){let t;try{let n=JSON.parse(e);if(!n||typeof n!=`object`)return null;t=n}catch{return null}if(typeof t.pong==`number`)return{kind:`pong`,t:t.pong};if(t.stage===`asking`)return{kind:`asking`};if(t.stage===`waiting`)return{kind:`waiting`};if(t.stage===`joined`&&typeof t.player==`number`&&typeof t.token==`string`)return{kind:`joined`,player:t.player,token:t.token,hevc:t.hevc===!0,track:t.track===!0,audio:t.audio===!0};if(t.stage===`refused`){let e=String(t.why??``);return{kind:`refused`,why:We.has(e)?e:`refused`}}if(typeof t.bye==`string`)return{kind:`bye`,why:Object.prototype.hasOwnProperty.call(Ge,t.bye)?Ge[t.bye]:`closed`};if(t.status&&typeof t.status==`object`){let e=t.status,n=typeof e.state==`string`&&Ke.has(e.state)?e.state:null;return{kind:`status`,status:{player:typeof e.player==`number`?e.player:0,state:n,rttMs:typeof e.rtt_ms==`number`?e.rtt_ms:null,host:typeof e.host==`string`&&e.host?e.host:null,blockSystem:e.block_system===!0,streamSeat:e.stream_seat===!0,playsAs:typeof e.plays_as==`string`&&e.plays_as?e.plays_as:null,seatNote:typeof e.seat_note==`string`&&e.seat_note?e.seat_note:null,moveFirst:e.move_first===!0,hostUser:typeof e.host_user==`string`&&e.host_user?e.host_user:null,tookHost:e.took_host===!0}}}let n=Array.isArray(t.rumble)?[qe(t.rumble[0]),qe(t.rumble[1])]:null,r=Array.isArray(t.light)?[qe(t.light[0]),qe(t.light[1]),qe(t.light[2])]:null;return n||r?{kind:`feedback`,rumble:n,light:r}:null}function Ye(e){return Math.max(-32768,Math.min(32767,Math.round(e)))+32768>>8}function Xe([e,t]){return[Math.max(0,Math.min(1919,Math.round(e))),Math.max(0,Math.min(1079,Math.round(t*1079/941)))]}function Ze(e,t){let n=t.touch?[[0,...Xe(t.touch)]]:[],r=t.motion??null,i=16+n.length*5+(r?25:0),a=new ArrayBuffer(i),o=new DataView(a),s=0;o.setUint8(s++,1),o.setUint32(s,e>>>0,!0),s+=4,o.setUint32(s,t.buttons>>>0,!0),s+=4;for(let e of[t.lx,t.ly,t.rx,t.ry])o.setUint8(s++,Ye(e));o.setUint8(s++,qe(t.l2)),o.setUint8(s++,qe(t.r2)),o.setUint8(s++,n.length);for(let[e,t,r]of n)o.setUint8(s++,e),o.setUint16(s,t,!0),s+=2,o.setUint16(s,r,!0),s+=2;if(r){o.setUint8(s++,2);for(let e of[...r.gyro,...r.accel])o.setFloat32(s,e/1e3,!0),s+=4}return new Uint8Array(a)}function Qe(e){return Math.min(4e3,250*2**Math.max(0,Math.min(e,10)))}var $e=6e4,et=6e4;function tt(e){return e&&/^[0-9A-Fa-f]{2}(:[0-9A-Fa-f]{2}){31}$/.test(e)?e.toUpperCase():null}function nt(e){let t=new URLSearchParams(e.replace(/^#/,``)),n=t.get(`room`)??``,r=t.get(`k`)??``,i=t.get(`fp`)??``,a=t.get(`hub`)??``;return!/^[A-Za-z0-9_-]{22}$/.test(n)||!/^[A-Za-z0-9_-]{8,128}$/.test(r)||!tt(i)||!/^([A-Za-z0-9.-]{1,253}|\[[0-9A-Fa-f:.]{2,45}\])(:\d{1,5})?$/.test(a)?null:{room:n,key:r,fp:i.toUpperCase(),hub:a}}function rt(e){return`ps5upload://join?link=${encodeURIComponent(e)}`}function it(e){return e==null||!Number.isFinite(e)?`none`:e<60?`good`:e<120?`fair`:`slow`}function at(e){switch(e){case 1:return[0,0,255];case 2:return[255,0,0];case 3:return[0,255,0];default:return[255,0,255]}}var ot=(e,t)=>`#version 300 es precision mediump float; in vec2 uv; out vec4 o; @@ -268,9 +268,9 @@ ã/¸Äyf"Ÿ5TàyÊ0îEê²Þ—€m6ëÞè6ðÏâ§9ž¬„k=}¼àt<ž‚¦Mdžç6"p_î3, oO3p"pw÷´/(1ñøs.íA/&ÏUÃ_X™ÍpÕ1hÌ80E’Qö„ ow÷!x.™AÜ"¢j+惡¦¶®ä“R–ow÷!xꔊpn…â#ðù z AÍp\Ž0N˜HJê´ªØ^U -I€wu¸öôú!3å6³‹âVq£³¹´RN£%y10º:pŠ#\:J:b9Hµ7h_Ž:¢I9 _¼™µV,þ <`});var E={a:v};this.setModule=t=>{e.setModule(bi,t)},this.getModule=()=>e.getModule(bi),this.instantiate=()=>(this.getModule().then(e=>WebAssembly.instantiate(e,E)).then(e=>{let t=e.exports;y(t),a=t.g,o(),T(t),n()}),this.ready=new Promise(e=>{n=e}).then(()=>{this.HEAP=a.buffer,this.malloc=x,this.free=C,this.opus_frame_decoder_create=b,this.opus_frame_decode_float_deinterleaved=S,this.opus_frame_decoder_destroy=ee}),this)}var xi=o((()=>{}));function Si(e={}){Si.errors||Object.defineProperties(Si,{errors:{value:new Map([[-1,`OPUS_BAD_ARG: One or more invalid/out of range arguments`],[-2,`OPUS_BUFFER_TOO_SMALL: Not enough bytes allocated in the buffer`],[-3,`OPUS_INTERNAL_ERROR: An internal error was detected`],[-4,`OPUS_INVALID_PACKET: The compressed data passed is corrupted`],[-5,`OPUS_UNIMPLEMENTED: Invalid/unsupported request number`],[-6,`OPUS_INVALID_STATE: An encoder or decoder structure is invalid or already freed`],[-7,`OPUS_ALLOC_FAIL: Memory allocation has failed`]])}}),this._init=()=>new this._WASMAudioDecoderCommon(this).instantiate(this._EmscriptenWASM,this._module).then(e=>{this._common=e,this._inputBytes=0,this._outputSamples=0,this._frameNumber=0,this._input=this._common.allocateTypedArray(this._inputSize,Uint8Array),this._output=this._common.allocateTypedArray(this._outputChannels*this._outputChannelSize,Float32Array);let t=this._common.allocateTypedArray(this._channels,Uint8Array);t.buf.set(this._channelMappingTable),this._decoder=this._common.wasm.opus_frame_decoder_create(this._sampleRate,this._channels,this._streamCount,this._coupledStreamCount,t.ptr,this._preSkip,this._forceStereo)}),Object.defineProperty(this,"ready",{enumerable:!0,get:()=>this._ready}),this.reset=()=>(this.free(),this._init()),this.free=()=>{this._common.free(),this._common.wasm.opus_frame_decoder_destroy(this._decoder),this._common.wasm.free(this._decoder)},this._decode=e=>{if(!(e instanceof Uint8Array))throw Error(`Data to decode must be Uint8Array. Instead got `+typeof e);this._input.buf.set(e);let t=this._common.wasm.opus_frame_decode_float_deinterleaved(this._decoder,this._input.ptr,e.length,this._output.ptr),n;return t<0&&(n=`libopus `+t+` `+(Si.errors.get(t)||`Unknown Error`),console.error(n),t=0),{outputBuffer:this._common.getOutputChannels(this._output.buf,this._outputChannels,t),samplesDecoded:t,error:n}},this.decodeFrame=e=>{let t=[],n=this._decode(e);return n.error&&this._common.addError(t,n.error,e.length,this._frameNumber,this._inputBytes,this._outputSamples),this._frameNumber++,this._inputBytes+=e.length,this._outputSamples+=n.samplesDecoded,this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(t,[n.outputBuffer],this._outputChannels,n.samplesDecoded,this._sampleRate)},this.decodeFrames=e=>{let t=[],n=[],r=0,i=0;for(;itypeof e==`number`,n=e.sampleRate,r=e.channels,i=e.streamCount,a=e.coupledStreamCount,o=e.channelMappingTable,s=e.preSkip,c=+!!e.forceStereo;if(r>2&&(!t(i)||!t(a)||!Array.isArray(o)))throw Error(`Invalid Opus Decoder Options for multichannel decoding.`);return this._sampleRate=[8e3,12e3,16e3,24e3,48e3].includes(n)?n:48e3,this._channels=t(r)?r:2,this._streamCount=t(i)?i:1,this._coupledStreamCount=t(a)?a:this._channels-1,this._channelMappingTable=o||(this._channels===2?[0,1]:[0]),this._preSkip=s||0,this._forceStereo=r<=8&&r!=2?c:0,this._inputSize=3840*this._channels,this._outputChannelSize=5760,this._outputChannels=this._forceStereo?2:this._channels,this._ready=this._init(),this}var Ci=o((()=>{yi(),xi()})),wi,Ti=o((()=>{yi(),xi(),Ci(),wi=class extends hi{constructor(e){super(e,`opus-decoder`,Si,bi)}async decodeFrame(e){return this.postToDecoder(`decodeFrame`,e)}async decodeFrames(e){return this.postToDecoder(`decodeFrames`,e)}}})),Ei=c({OpusDecoder:()=>Si,OpusDecoderWebWorker:()=>wi}),Di=o((()=>{Ci(),Ti(),yi(),_i(Si,`OpusDecoder`),_i(wi,`OpusDecoderWebWorker`)})),Oi=[8e3,12e3,16e3,24e3,48e3],ki=null;function Ai(){return ki??=Xn(()=>Promise.resolve().then(()=>(Di(),Ei)),__VITE_PRELOAD__,import.meta.url).catch(e=>{throw ki=null,e}),ki}function ji(){return typeof WebAssembly==`object`&&typeof WebAssembly.instantiate==`function`}function Mi(e,t,n,r){return{numberOfFrames:t,numberOfChannels:e.length,sampleRate:n,timestamp:r,format:`f32-planar`,duration:Math.round(t/n*1e6),copyTo(n,r){n.set(e[r.planeIndex].subarray(0,t))},close(){}}}var Ni=class{constructor(e,t=Ai){this.init=e,this.load=t,this.state=`unconfigured`,this.dec=null,this.pending=[]}configure(e){if(this.state===`closed`)throw Error(`the decoder is closed`);if(!ji())throw Error(`no WebAssembly here`);let t=e.sampleRate;if(!Oi.includes(t))throw Error(`Opus does not decode at ${t} Hz`);let n=e.numberOfChannels;if(n<1||n>2)throw Error(`${n} channels: only mono and stereo are decoded`);this.state=`configured`,this.load().then(async e=>{if(this.state===`closed`)return;let r=new e.OpusDecoder({channels:n,sampleRate:t});if(await r.ready,this.state!==`configured`){r.free();return}this.dec=r;let i=this.pending;this.pending=[];for(let e of i)this.state===`configured`&&this.run(e)}).catch(e=>this.fail(e))}decode(e){if(this.state!==`configured`)return;let t=e;if(this.dec)return this.run(t);this.pending.push({timestamp:t.timestamp,data:t.data.slice()}),this.pending.length>50&&this.pending.shift()}run(e){let t=this.dec;if(!t)return;let n;try{n=t.decodeFrame(e.data)}catch(e){return this.fail(e)}n.samplesDecoded&&n.channelData.length&&this.init.output(Mi(n.channelData,n.samplesDecoded,n.sampleRate,e.timestamp))}fail(e){if(this.state===`closed`)return;this.close();let t=e instanceof Error?e:Error(String(e));queueMicrotask(()=>this.init.error(t))}close(){this.state=`closed`,this.pending=[];let e=this.dec;this.dec=null;try{e?.free()}catch{}}},Pi={makeDecoder:e=>new Ni(e),makeChunk:e=>({type:e.type,timestamp:e.timestamp,data:e.data instanceof Uint8Array?e.data:new Uint8Array(e.data)})};function Fi(e,t){for(let n=0;n+3>1&63;if(t>=16&&t<=21)return!0;if(t<16)return!1}else{let t=e[n+3]&31;if(t===5)return!0;if(t===1)return!1}}return!1}function Ii(e){for(let t=0;t+6e.toString(16).padStart(2,`0`);return`avc1.${n(e[t+4])}${n(e[t+5])}${n(e[t+6])}`}return`avc1.4d4028`}var Li=[`hev1.1.6.L153.B0`,`hvc1.1.6.L153.B0`,`hev1.2.4.L153.B0`,`hvc1.2.4.L153.B0`,`hev1.1.6.L150.90`];async function Ri(e,t){if(typeof VideoDecoder>`u`)return null;for(let n of Li)try{if((await VideoDecoder.isConfigSupported({codec:n,codedWidth:e,codedHeight:t})).supported)return n}catch{}return null}function zi(e){let t=[];for(let n=0;n+2{let i=r+1n&&e[i-1]===0;)i--;return e.subarray(n,i)}).filter(e=>e.length>0)}var Bi=(e,t)=>t?e[0]>>1&63:e[0]&31;function Vi(e,...t){let n=8+t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);new DataView(r.buffer).setUint32(0,n);for(let t=0;t<4;t++)r[4+t]=e.charCodeAt(t);let i=8;for(let e of t)r.set(e,i),i+=e.length;return r}function F(...e){let t=new Uint8Array(e.reduce((e,[,t])=>e+t,0)),n=0;for(let[r,i]of e){for(let e=i-1;e>=0;e--)t[n+i-1-e]=Math.floor(r/2**(8*e))&255;n+=i}return t}var Hi=(e,t,n,...r)=>Vi(e,F([t,1],[n,3]),...r),Ui=F([65536,4],[0,4],[0,4],[0,4],[65536,4],[0,4],[0,4],[0,4],[1073741824,4]);function Wi(e){let t=e.handler===`vide`,n=Vi(`ftyp`,new TextEncoder().encode(`isom`),F([1,4]),new TextEncoder().encode(`isomiso6mp41`)),r=Vi(`moov`,Hi(`mvhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[65536,4],[256,2],[0,2],[0,4],[0,4]),Ui,new Uint8Array(24),F([2,4])),Vi(`trak`,Hi(`tkhd`,0,3,F([0,4],[0,4],[1,4],[0,4],[0,4],[0,4],[0,4],[0,2],[0,2],[t?0:256,2],[0,2]),Ui,F([(e.width??0)*65536,4],[(e.height??0)*65536,4])),Vi(`mdia`,Hi(`mdhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[21956,2],[0,2])),Hi(`hdlr`,0,0,F([0,4]),new TextEncoder().encode(e.handler),new Uint8Array(12),F([0,1])),Vi(`minf`,t?Hi(`vmhd`,0,1,new Uint8Array(8)):Hi(`smhd`,0,0,F([0,4])),Vi(`dinf`,Hi(`dref`,0,0,F([1,4]),Hi(`url `,0,1))),Vi(`stbl`,Hi(`stsd`,0,0,F([1,4]),e.sampleEntry),Hi(`stts`,0,0,F([0,4])),Hi(`stsc`,0,0,F([0,4])),Hi(`stsz`,0,0,F([0,4],[0,4])),Hi(`stco`,0,0,F([0,4])))))),Vi(`mvex`,Hi(`trex`,0,0,F([1,4],[1,4],[0,4],[0,4],[0,4])))),i=new Uint8Array(n.length+r.length);return i.set(n,0),i.set(r,n.length),i}function Gi(e,t,n,r,i){let a=i?33554432:16842752,o=e=>Hi(`trun`,0,1793,F([1,4],[e,4],[n,4],[r.length,4],[a,4])),s=e=>Vi(`traf`,Hi(`tfhd`,0,131072,F([1,4])),Hi(`tfdt`,1,0,F([t,8])),o(e)),c=Hi(`mfhd`,0,0,F([e,4])),l=Vi(`moof`,c,s(0)).length,u=Vi(`moof`,c,s(l+8)),d=Vi(`mdat`,r),f=new Uint8Array(u.length+d.length);return f.set(u,0),f.set(d,u.length),f}function Ki(e,t,n=!1){let r=t?[35,...n?[32,33,34]:[]]:[9,...n?[7,8]:[]],i=zi(e).filter(e=>!r.includes(Bi(e,t))),a=new Uint8Array(i.reduce((e,t)=>e+4+t.length,0)),o=new DataView(a.buffer),s=0;for(let e of i)o.setUint32(s,e.length),a.set(e,s+4),s+=4+e.length;return a}var qi=e=>e.toString(16).padStart(2,`0`),Ji=e=>{let t=new Uint8Array(2+e.length);return t[0]=e.length>>8,t[1]=e.length&255,t.set(e,2),t},Yi=e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t};function Xi(e){let t=zi(e),n=t.filter(e=>Bi(e,!1)===7),r=t.filter(e=>Bi(e,!1)===8);return!n.length||!r.length||n[0].length<4?null:Yi([F([1,1],[n[0][1],1],[n[0][2],1],[n[0][3],1],[255,1],[224|n.length,1]),...n.map(Ji),F([r.length,1]),...r.map(Ji)])}function Zi(e,t,n){let r=zi(e),i=e=>r.filter(n=>Bi(n,t)===e),a=(e,t)=>Vi(e,new Uint8Array(6),F([1,2],[0,16],[n.w,2],[n.h,2],[4718592,4],[4718592,4],[0,4],[1,2]),new Uint8Array(32),F([24,2],[65535,2]),t);if(!t){let t=i(7),r=Xi(e);return r?{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`avc1`,Vi(`avcC`,r)),width:n.w,height:n.h}),mime:`video/mp4; codecs="avc1.${qi(t[0][1])}${qi(t[0][2])}${qi(t[0][3])}"`}:null}let o=i(32),s=i(33),c=i(34);if(!o.length||!s.length||!c.length)return null;let l=Xr(s[0]);if(l.length<15)return null;let u=l.subarray(3,15),d=u[0]&31,f=d===2?2:0,p=(e,t)=>Yi([F([128|e,1],[t.length,2]),...t.map(Ji)]),m=Vi(`hvcC`,F([1,1]),u,F([61440,2],[252,1],[253,1],[248|f,1],[248|f,1],[0,2],[15,1],[3,1]),p(32,o),p(33,s),p(34,c)),h=[``,`A`,`B`,`C`][u[0]>>6],g=0,_=(u[1]<<24|u[2]<<16|u[3]<<8|u[4])>>>0;for(let e=0;e<32;e++)_&1<>>0).toString(16),`${u[0]&32?`H`:`L`}${u[11]}`,...v.map(e=>e.toString(16))].join(`.`);return{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`hvc1`,m),width:n.w,height:n.h}),mime:`video/mp4; codecs="${y}"`}}function Qi(e,t,n,r,i,a){return Gi(e,t,n,Ki(r,i),a)}function $i(e,t){let n=Vi(`dOps`,F([0,1],[e,1],[312,2],[t,4],[0,2],[0,1]));return Wi({handler:`soun`,timescale:48e3,sampleEntry:Vi(`Opus`,new Uint8Array(6),F([1,2],[0,8],[e,2],[16,2],[0,4],[3145728e3,4]),n)})}function ea(e){if(!e.length)return 960;let t=e[0]>>3,n=t<12?[480,960,1920,2880][t%4]:t<16?[480,960][t%2]:[120,240,480,960][t%4],r=e[0]&3,i=r===0?1:r===3?(e[1]??1)&63:2;return n*Math.max(1,i)}function ta(e,t,n){return Gi(e,t,ea(n),n,!0)}var na={watch:30,player:4},ra={watch:{seek:.5,speed:1/0,target:.05},player:{seek:.15,speed:.06,target:.02}},ia={seek:.8,speed:.25,target:.12};function aa(e,t,n){let r=typeof n==`string`?ra[n]:n;return e>r.seek?{seekTo:t-r.target,rate:1}:e>r.speed?{seekTo:null,rate:1.1}:{seekTo:null,rate:1}}function oa(e,t=`watch`,n){return typeof VideoDecoder<`u`?new ha(e,t,n):new ka(e,t,n)}var sa=class{constructor(e,t=()=>performance.now()){this.ask=e,this.now=t,this.last=-1/0}waiting(){if(!this.ask)return;let e=this.now();e-this.last<1e3||(this.last=e,this.ask())}};function I(e){return e.length<3?null:{index:e[0]<<8|e[1],packet:e.subarray(2)}}var L=class{constructor(){this.last=-1}take(e){if(this.last>=0){let t=e-this.last&65535;if(t===0||t>=32768)return!1}return this.last=e,!0}reset(){this.last=-1}};function ca(e){if(e.length>=10)return e;let t=new Uint8Array(10);t.set(e.subarray(0,6));let n=new DataView(t.buffer);return n.setUint32(6,Math.round(n.getUint32(2)/100)||480),t}function la(e,t){return{snd:e,snd_decoded:t.decoded,snd_concealed:t.concealed,snd_underruns:t.underruns,snd_dropped:t.dropped}}var ua=class{constructor(e,t=.2){this.min=e,this.max=t,this.next=0,this.calmSince=0,this.minLead=1/0,this.windowAt=0,this.underruns=0,this.dropped=0,this.cushion=e}at(e,t){this.next0&&(this.underruns++,this.cushion=Math.min(this.max,this.cushion+.02)),this.calmSince=e,this.next=e+this.cushion,this.minLead=1/0,this.windowAt=e):e-this.calmSince>10&&this.cushion>this.min&&(this.cushion=Math.max(this.min,this.cushion-.01),this.calmSince=e);let n=this.next-e;if(n>this.cushion+.15)return this.dropped++,null;if(this.minLead=Math.min(this.minLead,n),e-this.windowAt>=.25){let t=this.minLead>this.cushion+da;if(this.minLead=1/0,this.windowAt=e,t)return this.dropped++,null}let r=this.next;return this.next+=t,r}reset(){this.next=0}},da=.02;async function fa(e,t){try{return typeof AudioDecoder>`u`?!1:!!(await AudioDecoder.isConfigSupported({codec:`opus`,sampleRate:e,numberOfChannels:t})).supported}catch{return!1}}var pa=class{constructor(e,t=()=>performance.now()){this.decoder=e,this.now=t,this.n={frames:0,dropped:0,late:0,stalls:0,stall_ms:0,worst_stall_ms:0,key_waits:0},this.a=0,this.d=0,this.w=!1,this.q=[],this.sum=0,this.cnt=0,this.codec=``}get frames(){return this.n.frames}arrived(){let e=this.now();this.a&&e-this.a>50&&this.n.late++,this.a=e}drop(){this.n.dropped++,this.w||this.n.key_waits++,this.w=!0}decoding(){this.w=!1,this.q.push(this.now())>64&&this.q.shift()}drawn(e=!1){let t=this.now(),n=e?this.q.shift():void 0;n!==void 0&&(this.sum+=t-n,this.cnt++);let r=this.d?t-this.d:0;r>100&&this.stall(r),this.d=t,this.n.frames++}stall(e){this.n.stalls++,this.n.stall_ms+=e,this.n.worst_stall_ms=Math.max(this.n.worst_stall_ms,e)}snapshot(){let e=this.d?this.now()-this.d:0,t={...this.n,decoder:this.decoder};this.codec&&(t.codec=this.codec),e>100&&(t.stalls=this.n.stalls+1,t.stall_ms=this.n.stall_ms+e,t.worst_stall_ms=Math.max(this.n.worst_stall_ms,e));for(let e of[`stall_ms`,`worst_stall_ms`])t[e]=Math.round(t[e]);return t.decode_ms=this.cnt?Math.round(this.sum/this.cnt*10)/10:0,this.sum=this.cnt=0,t}},ma=[`pointerup`,`touchend`,`click`,`keydown`],ha=class{get element(){if(!this.wrap){let e=document.createElement(`div`);e.className=`h-full w-full`,e.append(this.canvas),this.mse&&e.append(this.mse.element),this.wrap=e}return this.wrap}get stats(){return this.mse?.stats??this.ownStats}soundReport(){return this.soundOn?this.mseSound?this.mseSound.report():la(this.soundWasm?`wasm`:`webcodecs`,this.soundStats):null}constructor(e,t=`watch`,n){this.onProblem=e,this.latency=t,this.onNeedKey=n,this.canvas=document.createElement(`canvas`),this.wrap=null,this.mse=null,this.failsNoPicture=0,this.ctx=this.canvas.getContext(`2d`,{alpha:!1}),this.hevc=!1,this.header=null,this.spsRect=null,this.software=!1,this.video=null,this.opening=!1,this.stopped=!1,this.sawKey=!1,this.ownStats=new pa(`webcodecs`),this.problemShown=!1,this.ts=0,this.pipe=null,this.audioGen=0,this.actx=null,this.soundOn=!1,this.unarm=null,this.mseSound=null,this.audioHeader=null,this.soundWasm=!1,this.onSoundFail=null,this.muted=!1,this.keyAsk=new sa(n),this.clock=new ua(t===`player`?.05:.08),typeof AudioDecoder>`u`&&va()&&(this.mseSound=new ya(t,()=>this.mseSoundFailed())),this.canvas.className=`block h-full w-full object-contain`,this.canvas.dataset.testid=`watch-canvas`}setHevc(e){this.hevc=e,this.header&&(this.spsRect=ni(this.header,e)),this.mse?.setHevc(e)}get onMse(){return!!this.mse}decodeFailed(){if(this.mse||this.ownStats.frames>0||++this.failsNoPicture<3||!xa())return!1;let e=new ka(this.onProblem,this.latency,this.onNeedKey);e.setHevc(this.hevc),e.markProblemShown(),this.mse=e;let t=this.video;this.video=null;try{t?.close()}catch{}return this.canvas.style&&(this.canvas.style.display=`none`),this.wrap?.append(e.element),this.header&&e.onMessage(new Uint8Array([0,...this.header]).buffer),this.onNeedKey?.(),!0}startSound(){this.soundOn=!0,ga(),this.mseSound?this.mseSound.start():this.openContext()}openContext(){try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{})}catch{this.onSoundFail?.()}}get sound(){return this.soundOn}setMuted(e){this.muted=e,this.mseSound?.setMuted(e)}resumeSound(){if(!this.soundOn)return;if(this.mseSound)return this.mseSound.resume();let e=this.actx;e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}get soundStats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped,cushionMs:Math.round(this.clock.cushion*1e3)}}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}onMessage(e){let t=new Uint8Array(e);if(t.length<1||this.stopped)return;let n=t[0],r=t.subarray(1);if(this.mse&&(n===0||n===1))return n===0&&(this.header=r.slice()),this.mse.onMessage(e);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?this.openAudio(r.slice()):n===4&&this.onAudio(r)}async openVideo(e){if(this.header=e,this.spsRect=ni(e,this.hevc),!this.opening){this.opening=!0;try{let t=this.hevc?await Aa(e):Ii(e);if(this.mse||this.stopped)return;if(!t){this.problemShown=!0,this.onProblem(`no_hevc`);return}this.ownStats.codec=t;let n=this.hevc?void 0:Xi(e)??void 0;try{this.video?.close()}catch{}let r=new VideoDecoder({output:e=>{let t=this.realVisible(e),n=this.canvas;(n.width!==t.displayWidth||n.height!==t.displayHeight)&&(n.width=t.displayWidth,n.height=t.displayHeight),this.ctx?.drawImage(t,0,0,n.width,n.height),this.ownStats.drawn(!0),t.close(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))},error:()=>{this.video===r&&(this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()||this.rebuild())}}),i={codec:t,optimizeForLatency:!0};n&&(i.description=n),this.software&&(i.hardwareAcceleration=`prefer-software`),r.configure(i),this.video=r,this.sawKey=!1}catch{this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()}finally{this.opening=!1}}}realVisible(e){let t=this.spsRect,n=ri(e,t);if(n)try{let t=new VideoFrame(e,{visibleRect:{x:n.x,y:n.y,width:n.w,height:n.h},displayWidth:n.w,displayHeight:n.h});return e.close(),t}catch{return e}let r=e.visibleRect;if(t&&r&&!this.software&&(r.width{if(this.video===e){try{e?.close()}catch{}this.rebuild(),this.onNeedKey?.()}})}return e}rebuild(){this.mse||this.stopped||(this.video=null,this.sawKey=!1,this.header&&this.openVideo(this.header).then(()=>this.keyAsk.waiting()))}onVideo(e){let t=this.video;if(t?.state===`closed`){this.opening||this.rebuild();return}if(!t||t.state!==`configured`)return;let n=Fi(e,this.hevc);if(this.ownStats.arrived(),!this.sawKey&&!n)return this.ownStats.drop(),this.keyAsk.waiting();if(!n&&t.decodeQueueSize>na[this.latency])return this.sawKey=!1,this.ownStats.drop(),this.keyAsk.waiting();this.sawKey=!0;let r=e;this.hevc?n&&this.header&&(r=new Uint8Array(this.header.length+e.length),r.set(this.header,0),r.set(e,this.header.length)):r=Ki(e,!1,!0),this.ts+=16667,this.ownStats.decoding(),t.decode(new EncodedVideoChunk({type:n?`key`:`delta`,timestamp:this.ts,data:r}))}openAudio(e){if(e.length<6)return;let t=++this.audioGen;if(this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.audioHeader=e,this.mseSound)return this.mseSound.setHeader(e);let n=e[0];fa(new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2),n).then(n=>{if(t!==this.audioGen)return;if(!n)return va()?this.soundThroughMse(e):this.soundThroughWasm(e);let r=new si((e,t)=>this.play(e,t,r.sampleRate));try{r.header(ca(e)),this.pipe=r}catch{this.soundThroughMse(e)}})}soundThroughMse(e){this.pipe=null,this.mseSound||(this.mseSound=new ya(this.latency,()=>this.mseSoundFailed()),this.soundOn&&this.mseSound.start()),this.mseSound.setHeader(e)}soundThroughWasm(e){this.pipe?.reset(),this.soundWasm=!0;let t=new si((e,n)=>this.play(e,n,t.sampleRate),Pi,()=>{this.pipe===t&&(this.pipe=null),this.onSoundFail?.()});this.pipe=t,t.header(ca(e))}mseSoundFailed(){let e=this.mseSound;e&&(this.mseSound=null,e.stop(),this.soundOn&&(this.openContext(),this.actx&&this.actx.state!==`running`&&this.armResume()),this.audioHeader&&this.soundThroughWasm(this.audioHeader))}onAudio(e){if(this.mseSound)return this.mseSound.frame(e);this.soundOn&&this.pipe&&this.pipe.packet(e)}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a)}stop(){this.stopped=!0;try{this.video?.close()}catch{}this.mse?.stop(),this.audioGen++,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.mseSound?.stop()}};function ga(){try{let e=navigator.audioSession;e&&e.type!==`playback`&&(e.type=`playback`)}catch{}}function _a(e,t){try{return e.isTypeSupported(t)}catch{return!1}}function va(){let e=typeof window>`u`?null:xa();return!!e&&(_a(e,`audio/mp4; codecs="Opus"`)||_a(e,`audio/mp4; codecs="opus"`))}var ya=class{constructor(e,t,n=document.createElement(`audio`)){this.onFail=t,this.header=null,this.time=0,this.on=!1,this.failed=!1,this.order=new L,this.el=n,this.track=new Ta(n,()=>this.fail(),e===`player`?ia:e)}get playing(){return this.on&&!this.failed}report(){return{snd:`mse`,snd_jumps:this.track.seeks}}setHeader(e){this.header=e,this.on&&this.open()}start(){if(!this.on&&(this.on=!0,this.header&&this.open(),!this.failed))try{this.el.play()?.catch?.(()=>{})}catch{}}frame(e){if(!this.on||this.failed||!this.track.ready&&!this.track.backlog)return;let t=I(e);if(!t||!this.order.take(t.index))return;let n=ta(this.track.nextSeq(),this.time,t.packet);this.time+=ea(t.packet),this.track.push(n)}setMuted(e){this.el.muted=e}resume(){if(this.playing&&this.el.paused)try{this.el.play()?.catch?.(()=>{})}catch{}}stop(){this.on=!1,this.track.close()}open(){let e=this.header;if(!e||e.length<6||this.failed)return;let t=e[0],n=$i(t,new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2));this.track.open(`audio/mp4; codecs="Opus"`,n)||this.track.open(`audio/mp4; codecs="opus"`,n)?(this.time=0,this.order.reset()):this.fail()}fail(){this.failed||(this.failed=!0,this.onFail())}},ba=class{constructor(e,t,n=Pi){this.onFail=t,this.codecs=n,this.actx=null,this.pipe=null,this.header=null,this.on=!1,this.failed=!1,this.muted=!1,this.unarm=null,this.played=!1,this.clock=new ua(e===`player`?.05:.08)}get playing(){return this.on&&!this.failed}get stats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped}}start(){if(!this.failed){this.on=!0,ga();try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{}),this.actx.state!==`running`&&this.armResume()}catch{return this.fail()}this.header&&!this.pipe&&this.open()}}setHeader(e){e.length<6||(this.header=e,this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.on&&this.open())}frame(e){this.on&&!this.failed&&this.pipe?.packet(e)}setMuted(e){this.muted=e}resume(){let e=this.actx;this.playing&&e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}stop(){this.on=!1,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.actx=null}open(){let e=this.header;if(!e||this.failed)return;let t=new si((e,n)=>this.play(e,n,t.sampleRate),this.codecs,()=>{this.pipe===t&&this.fail()});this.pipe=t,t.header(ca(e))}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a),this.played=!0}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}fail(){this.failed||(this.failed=!0,this.stop(),this.onFail())}};function xa(){let e=window;return e.ManagedMediaSource??e.MediaSource??null}var Sa=10,Ca=3;function wa(e,t,n,r=Ca){let i=null;for(let a of e)a>t&&a<=n-r&&(i=a);return i}var Ta=class{constructor(e,t,n=`watch`,r,i=()=>performance.now()){this.el=e,this.onError=t,this.latency=n,this.onNeedKey=r,this.now=i,this.ms=null,this.sb=null,this.queue=[],this.mime=``,this.seq=1,this.ready=!1,this.dropped=!1,this.keys=null,this.seeks=0,this.maxLagS=0,this.fromZero=0,this.trims=0,this.lastJump=null,this.trimAt=-1,this.trimFrom=-1,this.keyAt=-1,this.attached=null,r&&(this.keys=[])}setEdge(e){this.latency=e}markKey(e){this.keys?.push(e),this.keyAt=this.now()}open(e,t){let n=xa();if(!n||!_a(n,e))return!1;this.close();let r=new n;return this.ms=r,this.mime=e,this.queue=[t],this.seq=1,this.ready=!1,this.keys&&=[],r.addEventListener(`sourceopen`,()=>{if(this.ms===r)try{let e=r.addSourceBuffer(this.mime);e.mode=`segments`,e.addEventListener(`updateend`,()=>this.pump()),e.addEventListener(`error`,()=>this.onError()),this.sb=e,this.ready=!0,this.pump()}catch{this.onError()}}),`ManagedMediaSource`in window&&n===window.ManagedMediaSource&&(this.el.disableRemotePlayback=!0),this.attached=Ea(this.el,r),!0}nextSeq(){return this.seq++}get backlog(){return this.queue.length}push(e){this.queue.push(e),this.pump()}pump(){let e=this.sb;if(!e||e.updating||!this.ready)return;let t=this.el;if(e.buffered.length){let n=e.buffered.end(e.buffered.length-1),r=e.buffered.start(0),i=n-t.currentTime,a=aa(i,n,this.latency);if(a.seekTo!==null){this.seeks++,this.maxLagS=Math.max(this.maxLagS,i);let o=this.now(),s=e=>e<0?-1:Math.round(o-e);t.currentTime<.05&&r>1&&this.fromZero++,this.lastJump={at:t.currentTime,start:r,end:n,ranges:e.buffered.length,readyState:t.readyState,paused:t.paused,seeking:t.seeking,sinceTrimMs:s(this.trimAt),trimFrom:this.trimFrom,sinceKeyMs:s(this.keyAt)},t.currentTime=Math.max(r,a.seekTo)}if(t.playbackRate!==a.rate&&(t.playbackRate=a.rate),t.currentTime-r>Sa&&this.trim(e,r))return}let n=this.queue.shift();if(n){try{e.appendBuffer(n)}catch{this.dropped=!0}t.paused&&t.play().catch(()=>{})}}trim(e,t){let n=this.el.currentTime,r=n-Ca;if(this.keys){if(r=wa(this.keys,t,n),r===null)return(this.keys[this.keys.length-1]??-1/0)<=n-Ca&&this.onNeedKey?.(),!1;let e=r;this.keys=this.keys.filter(t=>t>=e),r-=.001}try{return e.remove(t,r),this.trims++,this.trimAt=this.now(),this.trimFrom=n,!0}catch{return!1}}close(){this.ready=!1,this.sb=null,this.queue=[];let e=this.ms;if(this.ms=null,e&&e.readyState===`open`)try{e.endOfStream()}catch{}if(this.attached===`object`)try{this.el.srcObject=null}catch{}this.attached=null,this.el.src?.startsWith(`blob:`)&&URL.revokeObjectURL(this.el.src),this.el.removeAttribute(`src`)}};function Ea(e,t){if(`srcObject`in e)try{return e.srcObject=t,`object`}catch{}return e.src=URL.createObjectURL(t),`url`}var Da=1e4,Oa=class{constructor(e=3,t=Da,n=()=>performance.now()){this.max=e,this.windowMs=t,this.now=n,this.at=[]}fail(){let e=this.now();return this.at=this.at.filter(t=>e-t=this.max}clear(){this.at=[]}},ka=class{constructor(e,t=`watch`,n,r){this.onProblem=e,this.latency=t,this.wasm=null,this.audioHeader=null,this.muted=!1,this.gaveUp=!1,this.reopening=!1,this.failedWhileOpening=!1,this.wrap=document.createElement(`div`),this.hevc=!1,this.header=null,this.sawKey=!1,this.stats=new pa(`mse`),this.problemShown=!1,this.vTime=0,this.vLast=0,this.soundOn=!1,this.onSoundFail=null,this.onGiveUp=null,this.keyAsk=new sa(n),this.fails=new Oa(3,Da,r);let i=document.createElement(`video`);i.muted=!0,i.autoplay=!0,i.playsInline=!0,i.className=`block h-full w-full object-contain`,i.dataset.testid=`watch-video`,this.audio=new ya(t,()=>this.soundThroughWasm()),this.wrap.className=`h-full w-full`,this.wrap.append(i,this.audio.el),this.video=new Ta(i,()=>this.showProblem(),t,()=>this.keyAsk.waiting()),i.addEventListener(`error`,()=>this.restartVideo()),i.addEventListener(`playing`,()=>{this.fails.clear(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))})}markProblemShown(){this.problemShown=!0}showProblem(){this.problemShown||(this.problemShown=!0,this.onProblem(`decode`))}restartVideo(){if(this.gaveUp)return;if(this.reopening){this.failedWhileOpening=!0;return}if(this.showProblem(),this.fails.fail()){this.gaveUp=!0,this.video.close(),this.onGiveUp?.();return}let e=this.header;if(e){this.header=null,this.reopening=!0,this.failedWhileOpening=!1;try{this.openVideo(e)}finally{this.reopening=!1}this.sawKey=!1,this.keyAsk.waiting(),this.failedWhileOpening&&(this.failedWhileOpening=!1,this.restartVideo())}}get failed(){return this.gaveUp}setVideoEdge(e){this.video.setEdge(e)}get videoSeeks(){return{seeks:this.video.seeks,maxLagMs:Math.round(this.video.maxLagS*1e3),fromZero:this.video.fromZero,trims:this.video.trims,lastJump:this.video.lastJump}}get element(){return this.wrap}resume(){let e=this.video.el;e.paused&&e.play()?.catch?.(()=>{})}setHevc(e){this.hevc=e}startSound(){if(this.soundOn=!0,this.wasm)return this.wasm.start();if(!va())return this.soundThroughWasm();this.audio.start()}soundThroughWasm(){if(this.wasm)return;this.audio.stop();let e=new ba(this.latency,()=>this.onSoundFail?.());this.wasm=e,e.setMuted(this.muted),this.audioHeader&&e.setHeader(this.audioHeader),this.soundOn&&e.start()}resumeSound(){this.soundOn&&(this.wasm?this.wasm.resume():this.audio.resume())}setMuted(e){this.muted=e,this.audio.setMuted(e),this.wasm?.setMuted(e)}soundReport(){return this.soundOn?this.wasm?la(`wasm`,this.wasm.stats):this.audio.report():null}get soundPlaying(){return this.wasm?this.wasm.played:this.audio.playing}get sound(){return this.soundOn}onMessage(e){let t=new Uint8Array(e);if(t.length<1)return;let n=t[0],r=t.subarray(1);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?(this.audioHeader=r.slice(),(this.wasm??this.audio).setHeader(this.audioHeader)):n===4&&(this.wasm??this.audio).frame(r)}openVideo(e){let t=!!this.header&&this.header.length===e.length&&this.header.every((t,n)=>t===e[n]);if(t&&this.video.ready)return;if(this.gaveUp){if(t)return;this.gaveUp=!1,this.fails.clear()}this.header=e;let n=ni(e,this.hevc)??{w:1920,h:1080},r=Zi(e,this.hevc,n);r&&(this.stats.codec=/codecs="([^"]+)"/.exec(r.mime)?.[1]??``,this.video.open(r.mime,r.init)?(this.sawKey=!1,this.vTime=0,this.vLast=0):(this.problemShown=!0,this.onProblem(this.hevc?`no_hevc`:`decode`)))}onVideo(e){if(!this.video.ready&&!this.video.backlog)return;let t=Fi(e,this.hevc);if(this.video.dropped&&(this.video.dropped=!1,this.sawKey=!1),this.stats.arrived(),!this.sawKey&&!t)return this.stats.drop(),this.keyAsk.waiting();if(!t&&this.video.backlog>na[this.latency])return this.sawKey=!1,this.stats.drop(),this.keyAsk.waiting();this.sawKey=!0,this.stats.drawn();let n=performance.now(),r=this.vLast?Math.min(9e3,Math.max(750,Math.round((n-this.vLast)*90))):1500;this.vLast=n,t&&this.video.markKey(this.vTime/9e4),this.video.push(Qi(this.video.nextSeq(),this.vTime,r,e,this.hevc,t)),this.vTime+=r}stop(){this.video.close(),this.audio.stop(),this.wasm?.stop()}};async function Aa(e){let t=ii(e);if(t&&typeof VideoDecoder<`u`)try{if((await VideoDecoder.isConfigSupported({codec:t,codedWidth:1920,codedHeight:1080})).supported)return t}catch{}return Ri(1920,1080)}var R={CROSS:1,CIRCLE:2,SQUARE:4,TRIANGLE:8,LEFT:16,RIGHT:32,UP:64,DOWN:128,L1:256,R1:512,L3:1024,R3:2048,OPTIONS:4096,SHARE:8192,TOUCHPAD:16384,PS:32768},ja={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};function Ma(e,t){let n=e=>Math.max(0,Math.min(1,e));return[Math.round(n(e)*1919),Math.round(n(t)*941)]}var Na={ArrowUp:{button:R.UP},ArrowDown:{button:R.DOWN},ArrowLeft:{button:R.LEFT},ArrowRight:{button:R.RIGHT},Enter:{button:R.CROSS},Space:{button:R.CROSS},Backspace:{button:R.CIRCLE},Escape:{button:R.CIRCLE},KeyQ:{button:R.SQUARE},KeyE:{button:R.TRIANGLE},KeyZ:{button:R.L1},KeyC:{button:R.R1},Digit1:{trigger:`l2`},Digit3:{trigger:`r2`},KeyF:{button:R.L3},KeyG:{button:R.R3},Tab:{button:R.OPTIONS},Backquote:{button:R.SHARE},KeyH:{button:R.PS},KeyT:{button:R.TOUCHPAD},KeyW:{stick:`ly`,dir:-1},KeyS:{stick:`ly`,dir:1},KeyA:{stick:`lx`,dir:-1},KeyD:{stick:`lx`,dir:1},KeyI:{stick:`ry`,dir:-1},KeyK:{stick:`ry`,dir:1},KeyJ:{stick:`rx`,dir:-1},KeyL:{stick:`rx`,dir:1}};R.UP,R.DOWN,R.LEFT,R.RIGHT,R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD;var Pa=e=>Math.max(-32768,Math.min(32767,Math.round(e)));function Fa(e,t=Na){let n={...ja};for(let r of e){let e=t[r];e&&(`button`in e?n.buttons|=e.button:`stick`in e?n[e.stick]=Pa(n[e.stick]+e.dir*32767):n[e.trigger]=255)}return n}var Ia=[R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,0,0,R.SHARE,R.OPTIONS,R.L3,R.R3,R.UP,R.DOWN,R.LEFT,R.RIGHT,R.PS,R.TOUCHPAD];function La(e){return Math.abs(e)<=1.01?Math.round((e+1)*3.5)%8:null}var Ra=[0,1,1,1,0,-1,-1,-1],za=[-1,-1,0,1,1,1,0,-1];function Ba(e,t){let n=e.axes[t.a]??0;if(t.hat){let e=La(n);return e===null?0:(t.hat===`x`?Ra:za)[e]}return t.inv?-n:n}var Va={buttons:Ia.flatMap((e,t)=>e?[[e,{b:t}]]:[]),l2:{b:6},r2:{b:7},lx:{a:0},ly:{a:1},rx:{a:2},ry:{a:3}};function Ha(e,t,n=!1){if(`b`in t){let r=e.buttons[t.b];return r?n&&r.value>0?Math.min(1,r.value):Math.max(+!!r.pressed,r.value):0}if(`h`in t){let n=La(e.axes[t.h]??9);if(n===null)return 0;let r=(n-t.at+8)%8;return+(r===0||r===1||r===7)}let r=e.axes[t.a];if(r===void 0)return 0;let i=t.rest??0;return Math.min(1,Math.max(0,(r-i)/(t.d-i)))}function Ua(e){if(e.mapping===`standard`)return Va;let t=Wa.get(e.id);if(t)return t;let n=e.axes.findIndex(e=>Math.abs(e)>1.05);if(n<0)return Va;let r={...Va,buttons:[...Va.buttons,[R.UP,{h:n,at:0}],[R.RIGHT,{h:n,at:2}],[R.DOWN,{h:n,at:4}],[R.LEFT,{h:n,at:6}]]};return Wa.set(e.id,r),r}var Wa=new Map;function Ga(e,t=Ua){let n={...ja},r=e=>Math.abs(e)<.08?0:Pa(e*32767),i=(e,t)=>Math.abs(t)>Math.abs(e)?t:e,a=(e,t)=>t?r(Ba(e,t)):0;for(let r of e){if(!r||!r.connected)continue;let e=t(r);for(let[t,i]of e.buttons)Ha(r,i)>.5&&(n.buttons|=t);e.l2&&(n.l2=Math.max(n.l2,Math.round(Ha(r,e.l2,!0)*255))),e.r2&&(n.r2=Math.max(n.r2,Math.round(Ha(r,e.r2,!0)*255))),n.lx=i(n.lx,a(r,e.lx)),n.ly=i(n.ly,a(r,e.ly)),n.rx=i(n.rx,a(r,e.rx)),n.ry=i(n.ry,a(r,e.ry))}return n}function Ka(e,t){return{buttons:e.buttons|t.buttons,l2:Math.max(e.l2,t.l2),r2:Math.max(e.r2,t.r2),lx:Pa(e.lx+t.lx),ly:Pa(e.ly+t.ly),rx:Pa(e.rx+t.rx),ry:Pa(e.ry+t.ry),touch:e.touch??t.touch??null,motion:e.motion??t.motion??null}}function qa(e,t,n,r=()=>globalThis.navigator?.getGamepads?.()??[]){let i=e=>e?.vibrationActuator;for(let a of e.some(i)?e:r()){let e=i(a);e&&(t===0&&n===0?e.reset?.():e.playEffect?.(`dual-rumble`,{duration:1e3,strongMagnitude:t/255,weakMagnitude:n/255}))}}var Ja=new Map;function Ya(e,t){return{id:`${e.id} (app)`,index:3+e.slot,connected:!0,mapping:`standard`,timestamp:0,axes:e.axes,buttons:e.buttons.map(e=>({pressed:e>.5,touched:e>0,value:e})),vibrationActuator:t?.vibrationActuator??null,hapticActuators:t?.hapticActuators??[]}}function Xa(e){let t=e?.getGamepads?.()??[];return Ja.size===0||t.some(e=>!!e?.connected)?[...t]:[...Ja.values()].sort((e,t)=>e.slot-t.slot).map(e=>Ya(e))}var Za=`b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,,,,,,,a0,a1(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,,,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b3,b0,b1,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1(b1,b0,b2,b3,,b7,a3,a4,,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,b4,b5,,b9,,,b12,b14,b15,b13,,,a0,a1,a5~,a2~(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,,,b7,b5,b4,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b3,b4,b6,b5,b7,b2,b8,,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b9,b10,b2,b8,,,h0.1,h0.4,h0.8,h0.2,b5,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b5,b7,b2,,b8,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b12,b13,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b14,b13,b15,b12,b10,b11,b8,b9,b0,b3,b1,b2,b4,b6,b7,b5,b16,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,a2,a5,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,,,b8,b9,,,b12,b13,b15,b14,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,b11,b12,b13,b14,b15,b16,b10,,a0,a1,a2,a3(b0,b1,b3,b2,,b6,a2,a5,,b7,,,b8,b9,b10,b11,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,,,b8,b9,,,b10,b11,b12,b13,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,,,b13,b8,b10,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,,,b12,b9,b11,,,,,,,,hx,hy(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,b14,b15,b16,b17,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,,,,b2,,b4,,b5,,,h0.1,h0.4,h0.8,h0.2,b6(b0,b1,b2,b3,b12,b4,b13,b5,b14,b6,b15,b7,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b1,b3,b0,b2,b13,b5,b12,b4,,b6,,,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b33,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b16,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b15,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,,,,,b8,,a0,a1,a3,a4(b1,b0,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,,h0.1,h0.4,h0.8,h0.2,b12,b13(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b12,b13,b14,b15,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b14,b13,b14,b13,,,a0,a1,a3,a4(b1,b0,b2,b3,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b2,b3,b1,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b10(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,+a2,+a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,a2,a5,b6,b7,,,h0.1,h0.4,h0.8,h0.2,b8(b1,b2,,,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b21,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,b13,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,a5,a4,,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b7,b6,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b7,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a5,a4,b9,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b22,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a3,b6,b7,b9,,b12,b14,b15,b13,b8,,a0,a1(b3,b4,b5,b6,b7,b8,a9,a8,b11,b12,b14,b15,b16,b17,b18,b19,b13,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b7,b9,b6,b8,b10,b11,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b4,b3,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b3,b1,b4,,b10,a5,a4,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,,,,,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b10,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a4,+a4,-a3,+a3(b4,b8,b0,b12,b16,b20,b24,b28,b32,b36,b40,b44,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a8,a12(b8,b12,b0,b4,b16,b20,b24,b28,b32,b36,,,h0.1,h0.4,h0.8,h0.2,b44,,a0,a4,a8,a12(b4,b0,b8,b12,,b28,a12,a16,,b36,,,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a20,a8(b1,b2,b0,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b4,b0,b8,b12,,b28,a12,a16,,b36,,,b48,b56,b60,b52,,,a0,a4,a20,a8(b1,b2,,,b7,b5,a3,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a5,b9,b8,b6,b7,b11,b12,b13,b14,b10,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,,,b5,b8,,,-a1,+a1,-a0,+a0,b2(b0,b1,b2,b3,b4,b5,b6,b15,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b13,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,a5,a4,b12,b13,b15,b16,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,-a1,+a1,-a0,+a0,b2(b0,b1,b3,b4,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,b8,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a31(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,b6,b7,b16,b15,b8,b9,b10,b11,b13,b12,b17,,a0,a1~,a2,a3~(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a4(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b33,b5,,,b6,b7,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b2,,,,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b2,,,b6,,b9,b7,,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a2(b2,b1,b3,b0,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b4,,b6,,b2,b7,b9,,,b2,b14,b15,b13(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b5,b7,b2,b10,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,a5~,a2~,b2,b8,b8,b5,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b4,,b9,b10,b6,b7,b8,,b5,b2,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b5,b4,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b2,b6,b7,b4,b5,b8,b9,b11,b12,b13,b14,b15,b16,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b16,b19,b17,b18,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b8,b9,b6,b7,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b10,b5,b11,b7,b8,b9,b4,b6,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b5,b7,b4,b6,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b13,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b0,b4,b2,b1,b3,b6,,,b11,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a2,a5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b9,b10,a4,a5,b4,b6,b7,b8,b11,b12,b13,b14,,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b3,b2,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,b11,b14,b12,b13,b10,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,a4,a3,,,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b6,b7,b9,b10,b12,b13,b14,b15,b16,b17,b19,b20,h0.1,h0.4,h0.8,h0.2,b18,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,,,,,,,b7,b6,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,a0,a1(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a5(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a3,a4(b1,b0,b4,b3,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a5`.split(`(`),Qa={l00790006:0,l00790011:1,l00790016:2,l00790122:3,l00790126:4,l00791800:5,l00791803:6,l0079181a:7,l0079181b:8,l0079181c:9,l00791830:10,l00791843:11,l00791844:12,l00791845:11,l00791846:13,l007918d2:7,l007918d4:14,l0079954e:15,l046dc20a:16,l046dc211:17,l046dc216:5,l046dc218:5,l046dc219:5,l046dc21a:18,l046dc21d:14,l046dc21e:14,l046dc21f:14,l046dcad1:5,l046dcad2:5,l04b4010a:19,l04b42411:20,l04b42412:21,l054c0268:22,l054c05c4:23,l054c09cc:24,l054c0ba0:24,l054c0cda:25,l054c0ce6:24,l054c0df2:24,l054c0e5f:24,l054c1337:26,l057e0330:27,l057e0337:28,l057e1337:29,l057e2006:30,l057e2007:31,l057e2008:32,l057e2009:33,l057e2017:34,l057e201e:35,l057e2069:36,l057e2073:37,l05ac022d:38,l05ac055b:39,l05ac057a:40,l05ac061a:41,l0e6f0109:42,l0e6f011e:7,l0e6f011f:14,l0e6f0128:5,l0e6f012f:7,l0e6f0130:7,l0e6f0131:14,l0e6f0139:14,l0e6f0146:43,l0e6f0164:14,l0e6f0180:7,l0e6f0181:7,l0e6f0184:7,l0e6f0185:44,l0e6f0187:7,l0e6f0188:7,l0e6f0203:45,l0e6f0207:46,l0e6f0213:14,l0e6f0214:7,l0e6f02a7:14,l0e6f02a8:47,l0e6f02b2:48,l0e6f02b8:14,l0e6f02c8:14,l0e6f02d7:49,l0e6f02d8:14,l0e6f02da:14,l0e6f02ef:14,l0e6f02f1:14,l0e6f0301:14,l0e6f0315:14,l0e6f0401:14,l0e6f0413:14,l0e6f1112:50,l0e6f1113:51,l0e6ff501:14,l0f0d0009:7,l0f0d0010:42,l0f0d0011:7,l0f0d0016:52,l0f0d0022:42,l0f0d004d:7,l0f0d005e:53,l0f0d005f:54,l0f0d0066:24,l0f0d0067:14,l0f0d006a:8,l0f0d006b:7,l0f0d006d:55,l0f0d006e:7,l0f0d0084:8,l0f0d0085:7,l0f0d0086:47,l0f0d0087:56,l0f0d0088:57,l0f0d0092:58,l0f0d00aa:39,l0f0d00c1:7,l0f0d00ee:59,l0f0d00f6:60,l0f0d00fb:39,l0f0d0137:61,l0f0d0138:62,l0f0d0150:14,l0f0d0185:14,l0f0d0196:63,l0f0d01ab:63,l15320401:24,l15320402:7,l15320705:64,l15320900:65,l15320a03:14,l15320a14:14,l15320a29:14,l15321000:8,l15321008:66,l1532100a:59,l1532100b:24,l15321100:24,l18d19400:65,l20d60dad:67,l20d62002:68,l20d62005:14,l20d6200b:14,l20d6200f:69,l20d62065:14,l20d62802:14,l20d64001:70,l20d64002:70,l20d64005:14,l20d66271:71,l20d6792a:24,l20d689e5:71,l20d6a710:5,l20d6a711:7,l20d6a712:7,l20d6a713:7,l20d6a714:7,l20d6ca6d:7,l24c65300:14,l24c6531a:14,l24c6541a:14,l24c6543a:14,l24c6581a:14,l24c65b02:14,l24c65d04:14,l24c6891a:63,l24c6891b:63,l24c6892a:72,l24c6892b:63,l24c6fafe:14,l27f80bbf:63,l28de1102:73,l28de1105:73,l28de1106:73,l28de1142:73,l28de11fc:43,l28de11ff:14,l28de1201:73,l28de1202:73,l28de1205:74,l2dc80651:75,l2dc81003:76,l2dc81080:76,l2dc82000:14,l2dc82003:14,l2dc8200a:77,l2dc82019:14,l2dc82025:14,l2dc82101:63,l2dc82830:78,l2dc82862:79,l2dc82865:79,l2dc82869:80,l2dc8286a:81,l2dc83010:82,l2dc83011:63,l2dc83012:63,l2dc83013:63,l2dc83015:63,l2dc83016:63,l2dc83017:63,l2dc83019:83,l2dc8301b:63,l2dc8301d:63,l2dc83100:84,l2dc83101:85,l2dc83102:85,l2dc83103:85,l2dc83104:85,l2dc83106:14,l2dc8310a:14,l2dc8310b:14,l2dc83230:86,l2dc83810:79,l2dc83820:87,l2dc85006:88,l2dc85101:89,l2dc85103:86,l2dc85104:90,l2dc85107:91,l2dc85108:91,l2dc85109:90,l2dc85111:92,l2dc85112:82,l2dc86000:92,l2dc86001:93,l2dc86002:92,l2dc86006:82,l2dc86007:94,l2dc86009:82,l2dc86012:63,l2dc86100:87,l2dc86101:93,l2dc86102:92,l2dc86728:95,l2dc89000:96,l2dc89001:96,l2dc89012:93,l2dc89015:79,l2dc89018:78,l2dc89020:97,l2dc89025:98,l2dc8ab21:78,l35371004:14,l35371007:63,l3537100b:14,l35371046:63,l35371058:63,l35371094:63,l35371097:63,l358a0102:63,l358a0202:63,l358a0203:63,l358a0204:63,m00790006:99,m00790011:100,m00791800:101,m00791803:102,m0079181c:41,m00791843:103,m00791844:104,m00791846:105,m007918d2:39,m0079954e:106,m046dc216:5,m046dc218:5,m046dc219:5,m046dc21a:18,m046dc21f:107,m04b4010a:108,m04b42411:20,m04b42412:20,m054c0268:22,m054c05c4:24,m054c09cc:24,m054c0ba0:24,m054c0cda:25,m054c0ce6:24,m054c0df2:24,m054c0e5f:24,m054c1337:26,m057e2006:30,m057e2007:31,m057e2009:60,m057e2017:109,m057e2069:36,m057e2073:37,m05ac061a:41,m0e6f0109:42,m0e6f0184:110,m0e6f0187:5,m0e6f0201:107,m0e6f0203:45,m0e6f0207:46,m0e6f0401:107,m0f0d002d:54,m0f0d004d:7,m0f0d005e:111,m0f0d005f:7,m0f0d0066:24,m0f0d006e:7,m0f0d0084:8,m0f0d0085:7,m0f0d0087:112,m0f0d0088:57,m0f0d0092:58,m0f0d00aa:39,m0f0d00c1:7,m0f0d00ee:113,m0f0d00f6:3,m0f0d0138:62,m0f0d0200:7,m15320401:24,m15320402:7,m15320705:64,m15320900:65,m15320a03:107,m15321000:8,m15321100:24,m18d19400:65,m20d66271:71,m20d6792a:24,m20d6a710:7,m20d6a711:44,m20d6ca6d:7,m24c6543a:107,m24c65d04:107,m24c6891a:114,m24c6891b:63,m24c6892a:64,m24c6892b:63,m24c6fafe:107,m2dc80651:115,m2dc82820:116,m2dc82830:78,m2dc82840:78,m2dc82865:87,m2dc82869:80,m2dc8286a:81,m2dc83011:63,m2dc83012:63,m2dc83013:63,m2dc83015:117,m2dc83016:63,m2dc83017:118,m2dc83019:83,m2dc8301b:63,m2dc8301d:63,m2dc83100:9,m2dc83101:85,m2dc83102:85,m2dc83103:85,m2dc83104:85,m2dc83105:84,m2dc83230:119,m2dc83810:94,m2dc85006:120,m2dc85101:89,m2dc85103:86,m2dc85104:90,m2dc85107:121,m2dc85108:122,m2dc85109:90,m2dc85111:82,m2dc85112:82,m2dc86001:79,m2dc86002:85,m2dc86006:82,m2dc86009:123,m2dc86101:85,m2dc86102:85,m2dc86728:95,m2dc89000:96,m2dc89001:79,m2dc89012:78,m2dc89015:124,m2dc89018:78,m2dc89020:125,m2dc89025:126,m2dc89026:127,m2dc8ab12:116,m35371022:63,m35371041:63,m35371046:63,m35371104:63,m358a0102:63,m358a0201:128,m358a0202:128,m358a0203:128,m358a0204:63,w00790002:129,w00790007:129,w0079000a:129,w00790016:18,w00790122:99,w00790126:130,w00791804:131,w0079181a:7,w0079181b:113,w00791824:132,w00791830:133,w00791845:11,w00791847:12,w0079184f:134,w00791879:135,w0079188f:136,w007918ae:137,w007918d4:138,w046dc209:139,w046dc20a:16,w046dc20b:140,w046dc211:141,w046dc21d:138,w046dc21e:142,w046dc242:142,w046dca84:143,w046dca88:143,w046dcad1:5,w046dcad2:7,w04b42410:144,w04b4c681:130,w054c05c5:145,w057e0330:146,w05ac022d:144,w05ac033d:147,w05ac044d:147,w05ac055b:39,w05ac057a:148,w0e6f0003:149,w0e6f0111:7,w0e6f0114:7,w0e6f0119:7,w0e6f011a:7,w0e6f011e:7,w0e6f011f:150,w0e6f0124:42,w0e6f0128:7,w0e6f012f:7,w0e6f0130:7,w0e6f0132:7,w0e6f0146:138,w0e6f0164:151,w0e6f0180:7,w0e6f0181:7,w0e6f0185:44,w0e6f0188:7,w0e6f0189:7,w0e6f0214:7,w0e6f0301:138,w0e6f1113:51,w0e6f6302:7,w0f0d0009:7,w0f0d000a:152,w0f0d000c:153,w0f0d000d:154,w0f0d0010:155,w0f0d0011:57,w0f0d0013:155,w0f0d001b:152,w0f0d0021:155,w0f0d0022:54,w0f0d0025:42,w0f0d0026:155,w0f0d0027:42,w0f0d0032:155,w0f0d003d:156,w0f0d0040:157,w0f0d0042:155,w0f0d0049:7,w0f0d004b:155,w0f0d0051:155,w0f0d0054:7,w0f0d0055:8,w0f0d005b:113,w0f0d005c:7,w0f0d0064:155,w0f0d0067:70,w0f0d006a:8,w0f0d006b:7,w0f0d006f:158,w0f0d0070:57,w0f0d007b:155,w0f0d008a:8,w0f0d008b:7,w0f0d008c:138,w0f0d009c:8,w0f0d00a0:159,w0f0d00a5:160,w0f0d00a6:111,w0f0d00ad:161,w0f0d00ae:142,w0f0d00af:162,w0f0d00c0:138,w0f0d00c9:5,w0f0d00d8:163,w0f0d00dc:138,w0f0d0101:5,w0f0d0104:142,w0f0d0123:144,w0f0d0137:164,w0f0d0162:165,w0f0d0164:166,w0f0d0196:134,w0f0d0202:167,w0f0d1011:168,w153202a6:169,w15320300:170,w15320707:147,w15320a14:138,w15321004:145,w15321007:145,w15321009:145,w1532100a:5,w18d12c40:171,w20d60060:7,w20d60dad:142,w20d6319f:7,w20d64026:134,w20d64033:134,w20d6571d:7,w20d6576d:7,w20d65795:7,w20d657c7:7,w20d657e5:7,w20d689e5:172,w20d6a712:7,w20d6a713:7,w20d6a714:7,w20d6a720:7,w24c6531a:153,w24c65b02:138,w27f80bbf:173,w28de11fc:70,w28de11ff:174,w2dc802e0:175,w2dc81003:176,w2dc81080:176,w2dc82100:144,w2dc82810:177,w2dc82862:78,w2dc83000:78,w2dc83001:178,w2dc8301c:134,w2dc8310a:134,w2dc83820:179,w2dc85001:180,w2dc86000:79,w2dc86003:123,w2dc86012:134,w2dc86100:85,w2dc86103:123,w2dc8ab11:179,w2dc8ab20:178,w2dc8ab21:78,w35371004:138,w35371007:134,w35371094:134,w35371116:134},$a=e=>e.toLowerCase().padStart(4,`0`);function eo(e){let t=/^(.*?)\s*\((?:[^()]*?\s)?Vendor:\s*([0-9a-f]{1,4})\s+Product:\s*([0-9a-f]{1,4})\s*\)\s*$/i.exec(e);if(t)return{vendor:$a(t[2]),product:$a(t[3]),name:t[1].trim()};let n=/^([0-9a-f]{1,4})-([0-9a-f]{1,4})-(.*)$/i.exec(e.trim());return n?{vendor:$a(n[1]),product:$a(n[2]),name:n[3].trim()}:null}function to(e){return(eo(e)?.name??e.replace(/\s*\((?:XInput\s*)?STANDARD GAMEPAD\)\s*$/i,``)).trim()||e}function no(e=globalThis.navigator){let t=e?.userAgent??``;return/Android|iPhone|iPad|iPod/i.test(t)?null:/Macintosh|Mac OS X/i.test(t)?(e?.maxTouchPoints??0)>1?null:`m`:/Windows/i.test(t)?`w`:/Linux|CrOS|X11/i.test(t)?`l`:null}function ro(e,t){if(!t)return null;let n=t===`l`?[`l`]:[`m`,`w`];for(let t of n){let n=Qa[`${t}${e.vendor}${e.product}`];if(n!==void 0)return Za[n]??null}return null}function io(e){return e.mapping!==`standard`&&eo(e.id)?.vendor===`2dc8`}var ao={6003:`switch`,6006:`switch`,6103:`switch`,3010:`switch`,6001:`startx`,6002:`startx`,6101:`startx`,6102:`startx`,3011:`receiver`,3012:`receiver`,3013:`receiver`,3015:`receiver`,3016:`receiver`,3017:`receiver`,"301b":`receiver`,"301c":`receiver`,"301d":`receiver`,6012:`receiver`,5112:`none`,9020:`none`};function oo(e){let t=eo(e);return t&&ao[t.product]||`manual`}var so={1:0,2:2,4:4,8:6};function co(e){let t=0,n=!1;for(let r of e){let e=/a(\d+)/.exec(r);e&&(t=Math.max(t,Number(e[1])+1)),r.startsWith(`h`)&&(n=!0)}return{n:t,hat:n}}function lo(e,t,n){let{n:r,hat:i}=co(t),a=Ia.length,o=e.axes.findIndex(e=>Math.abs(e)>1.05),s=e=>e;if(i&&o<0)return n===`l`&&e.axes.length>=r+2?{hat:-1,hatXY:r,axis:s}:null;if(!(i?o>r:n!==`l`&&e.axes.length>=r+2))return{hat:o,hatXY:-1,axis:s};if(r<=4)return{hat:o,hatXY:-1,axis:e=>[0,1,2,5][e]??e};let c=t[a+2]?.replace(`~`,``)===`a2`&&t[a+3]?.replace(`~`,``)===`a3`,l=[t[6],t[7]].every(e=>/^a[45]~?$/.test(e??``));return r===6&&c&&l?{hat:o,hatXY:-1,axis:e=>[0,1,2,5,3,4][e]??e}:{hat:o,hatXY:-1,axis:s}}function uo(e,t){let n=/^b(\d+)$/.exec(e);if(n)return{b:Number(n[1])};if(n=/^([+-]?)a(\d+)(~?)$/.exec(e),n){let e=t.axis(Number(n[2]));return n[1]===`+`?{a:e,d:1}:n[1]===`-`?{a:e,d:-1}:n[3]?{a:e,d:-1,rest:1}:{a:e,d:1,rest:-1}}if(n=/^h0\.(\d)$/.exec(e),n){let e=so[n[1]];if(e===void 0)return null;if(t.hat>=0)return{h:t.hat,at:e};if(t.hatXY>=0)return e===0?{a:t.hatXY+1,d:-1}:e===4?{a:t.hatXY+1,d:1}:e===6?{a:t.hatXY,d:-1}:{a:t.hatXY,d:1}}return null}function fo(e,t){let n=/^a(\d+)(~?)$/.exec(e);if(n)return n[2]?{a:t.axis(Number(n[1])),inv:!0}:{a:t.axis(Number(n[1]))};if(e===`hx`||e===`hy`){if(t.hat>=0)return{a:t.hat,hat:e===`hx`?`x`:`y`};if(t.hatXY>=0)return{a:t.hatXY+ +(e===`hy`)}}return null}function po(e,t,n){let r=e.split(`,`),i=lo(t,r,n);if(!i)return null;let a={buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null};for(let e=0;eArray.isArray(e)&&e.length===2&&typeof e[0]==`number`&&_o(e[1]))&&[t.l2,t.r2,t.lx,t.ly,t.rx,t.ry].every(_o)}function yo(){try{let e=Lt(go),t=e?JSON.parse(e):null;return!t||typeof t!=`object`||Array.isArray(t)?{}:Object.fromEntries(Object.entries(t).filter(e=>vo(e[1])))}catch{return{}}}function bo(e,t){let n=yo();return t?n[e]=t:delete n[e],It(go,JSON.stringify(n)),xo=n,n}var xo=null;function So(e){return xo??=yo(),xo[e.id]??To(xo,e.id)??ho(e)??Ua(e)}function Co(e){return xo??=yo(),xo[e.id]?`saved`:e.mapping===`standard`?`standard`:ho(e)?`known`:`guess`}function wo(e){return ho(e)??Ua(e)}function To(e,t){if(!t.endsWith(` (app)`))return null;let n=t.slice(0,-6).trim().toLowerCase();if(!n)return null;let r=Object.keys(e).filter(e=>{let t=e.trim().toLowerCase();return t===n||t.includes(n)}),i=r.find(e=>e.trim().toLowerCase()===n)??(r.length===1?r[0]:null);return i?(xo=bo(t,e[i]),e[i]):null}function Eo(e){return{buttons:e.buttons.map(e=>Math.max(+!!e.pressed,e.value)),axes:[...e.axes]}}function Do(e,t){let n=null;if(t.buttons.forEach((t,r)=>{let i=t-(e.buttons[r]??0);t>.5&&i>.5&&(!n||i>n.amount)&&(n={src:{b:r},amount:i})}),n)return n.src;for(let n=0;n1.05?La(t.axes[n]):null;if(r!==null)return{h:n,at:r}}return t.axes.forEach((t,r)=>{let i=e.axes[r]??0,a=t-i;if(!(Math.abs(a)<.6)&&(!n||Math.abs(a)>n.amount)){let e=a>0?1:-1;n={src:Math.abs(i)>.5?{a:r,d:e,rest:i}:{a:r,d:e},amount:Math.abs(a)}}}),n?n.src:null}function Oo(e,t){let n=null;if(t.axes.forEach((t,r)=>{let i=t-(e.axes[r]??0);Math.abs(i)>=.6&&(!n||Math.abs(i)>Math.abs(n.moved))&&(n={a:r,moved:i})}),!n)return null;let r=n;return r.moved>0?{a:r.a}:{a:r.a,inv:!0}}var ko=[{kind:`button`,bit:R.CROSS,name:`✕`},{kind:`button`,bit:R.CIRCLE,name:`○`},{kind:`button`,bit:R.SQUARE,name:`□`},{kind:`button`,bit:R.TRIANGLE,name:`△`},{kind:`button`,bit:R.UP,name:`↑`},{kind:`button`,bit:R.DOWN,name:`↓`},{kind:`button`,bit:R.LEFT,name:`←`},{kind:`button`,bit:R.RIGHT,name:`→`},{kind:`button`,bit:R.L1,name:`L1`},{kind:`button`,bit:R.R1,name:`R1`},{kind:`trigger`,which:`l2`,name:`L2`},{kind:`trigger`,which:`r2`,name:`R2`},{kind:`button`,bit:R.L3,name:`L3`},{kind:`button`,bit:R.R3,name:`R3`},{kind:`button`,bit:R.OPTIONS,name:`Options`},{kind:`button`,bit:R.SHARE,name:`Create`},{kind:`button`,bit:R.PS,name:`PS`},{kind:`button`,bit:R.TOUCHPAD,name:`Touchpad`},{kind:`axis`,which:`lx`,name:`L →`},{kind:`axis`,which:`ly`,name:`L ↓`},{kind:`axis`,which:`rx`,name:`R →`},{kind:`axis`,which:`ry`,name:`R ↓`}];function Ao(){return{buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null}}function jo(e,t,n){return t.kind===`button`?{...e,buttons:[...e.buttons.filter(([e])=>e!==t.bit),[t.bit,n]]}:(t.kind,{...e,[t.which]:n})}function Mo(e,t=Va){let n=new Set(e.buttons.map(([e])=>e)),r=e=>`b`in e?`b${e.b}`:`h`in e?`h${e.h}.${e.at}`:`a${e.a}${e.d}`,i=new Set([...e.buttons.map(([,e])=>r(e)),...[e.l2,e.r2].filter(e=>!!e).map(r)]);return{buttons:[...e.buttons,...t.buttons.filter(([e,t])=>!n.has(e)&&!i.has(r(t)))],l2:e.l2??t.l2,r2:e.r2??t.r2,lx:e.lx??t.lx,ly:e.ly??t.ly,rx:e.rx??t.rx,ry:e.ry??t.ry}}var No=ko.filter(e=>e.kind!==`button`||![R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD].includes(e.bit));function Po(e,t){return t.buttons.every((t,n)=>Math.abs(t-(e.buttons[n]??0))<.3)&&t.axes.every((t,n)=>Math.abs(t-(e.axes[n]??0))<.3)}var Fo=class{constructor(e=ko){this.steps=e,this.step=0,this.prof=Ao(),this.rest=null,this.waiting=!0}get done(){return this.step>=this.steps.length}get current(){return this.steps[this.step]??null}feed(e){if(this.done)return!1;if(!this.rest)return this.rest=e,this.waiting=!1,!1;if(this.waiting)return Po(this.rest,e)&&(this.waiting=!1),!1;let t=this.steps[this.step],n=t.kind===`axis`?Oo(this.rest,e):Do(this.rest,e);return n?(this.prof=jo(this.prof,t,n),this.go(this.step+1),!0):!1}skip(){this.go(this.step+1)}back(){this.step>0&&this.go(this.step-1)}go(e){this.waiting=!0,this.step=Math.min(e,this.steps.length)}profile(e=Va){return Mo(this.prof,e)}};function Io(e,t){return e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry&&(e.touch?.[0]??-1)===(t.touch?.[0]??-1)&&(e.touch?.[1]??-1)===(t.touch?.[1]??-1)&&(e.motion?.t??-1)===(t.motion?.t??-1)}function Lo(){try{return typeof sessionStorage<`u`?sessionStorage:null}catch{return null}}var Ro=e=>`ps5upload.join.token.${e??`app`}`,zo=class{constructor(e){this.o=e,this.ws=null,this.stage={kind:`connecting`},this.token=null,this.player=0,this.last={...ja},this.lastSent=0,this.neutral=!1,this.stopped=!1,this.attempt=0,this.deadline=0,this.raf=0,this.keepalive=null,this.pinger=null,this.retry=null,this.lastHeard=0,this.hostAway=!1,this.pings=0,this.now=e.now??(()=>Date.now()),this.storage=e.storage===void 0?Lo():e.storage,this.WS=e.WebSocketImpl??WebSocket,this.seq=this.now()>>>0;try{this.token=this.storage?.getItem(this.key)??null}catch{this.token=null}}get key(){return Ro(this.o.invite??this.o.code??null)}get current(){return this.stage}get socket(){return this.ws}get resumeToken(){return this.token}setStage(e){this.stage=e,this.o.onStage(e)}start(){if(this.stopped=!1,this.setStage({kind:`connecting`}),this.connect(),this.stopped)return;let e=()=>{this.sendPad(!1),this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e)};this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e),this.keepalive=setInterval(()=>this.sendPad(!1),100),this.pinger=setInterval(()=>this.ping(),1e3)}connect(){let e;try{e=new this.WS(this.o.url)}catch{this.dropped();return}this.ws=e,e.binaryType=`arraybuffer`,e.onopen=()=>{if(this.ws!==e)return;this.lastHeard=this.now();let t={name:this.o.name};this.o.invite&&(t.invite=this.o.invite),this.o.code&&(t.code=this.o.code),this.token&&(t.resume=this.token),e.send(JSON.stringify({hello:t}))},e.onmessage=t=>{this.ws===e&&(this.lastHeard=this.now(),typeof t.data==`string`?this.onText(t.data):t.data instanceof ArrayBuffer&&this.stage.kind===`joined`&&this.o.onFrame?.(t.data))},e.onclose=t=>{if(this.ws!==e)return;this.ws=null;let n=Ue(t);n===`mismatch`?(this.forgetToken(),this.finish({kind:`ended`,why:n})):n&&this.stage.kind!==`joined`&&this.stage.kind!==`reconnecting`?this.finish({kind:`ended`,why:n}):this.dropped()},e.onerror=()=>{}}onText(e){let t=Je(e);if(t)switch(t.kind){case`pong`:{let e=this.now()-t.t;e>=0&&e<6e4&&this.o.onRtt?.(e);return}case`asking`:this.stage.kind!==`reconnecting`&&this.setStage({kind:`asking`});return;case`waiting`:this.hostAway||(this.hostAway=!0,this.deadline=this.now()+et),this.attempt=0,this.setStage(this.reconnectingStage());return;case`joined`:this.token=t.token,this.player=t.player,this.attempt=0,this.hostAway=!1;try{this.storage?.setItem(this.key,t.token)}catch{}{let e=t.track&&this.ws?.media||null;this.o.onCodec?.(t.hevc,e,!!e&&t.audio&&!!e.audio)}this.setStage({kind:`joined`,player:t.player,hevc:t.hevc}),this.sendPad(!0);return;case`refused`:this.forgetToken(),this.hostAway&&t.why!==`seat_taken`?this.finish({kind:`ended`,why:`host_stopped`}):this.finish({kind:`refused`,why:t.why});return;case`bye`:if(t.why===`host_stopped`&&this.token){this.hostWait();return}this.forgetToken(),this.finish({kind:`ended`,why:t.why});return;case`status`:this.stage.kind===`joined`&&t.status.player>0&&t.status.player!==this.stage.player&&(this.player=t.status.player,this.setStage({...this.stage,player:t.status.player})),this.o.onStatus?.(t.status);return;case`feedback`:t.rumble&&this.o.onRumble?.(t.rumble[0],t.rumble[1]),t.light&&this.o.onLight?.(t.light);return}}hostWait(){this.hostAway=!0,this.deadline=this.now()+et,this.attempt=0;let e=this.ws;this.ws=null;try{e?.close()}catch{}this.scheduleRetry()}reconnectingStage(){return{kind:`reconnecting`,player:this.player,attempt:this.attempt,deadline:this.deadline,...this.hostAway?{hostStopped:!0}:{}}}giveUp(){this.forgetToken(),this.finish({kind:`ended`,why:this.hostAway?`host_stopped`:`gave_up`})}dropped(){if(this.stopped)return;let e=this.stage;e.kind===`joined`||e.kind===`reconnecting`&&this.token?(e.kind===`joined`&&(this.deadline=this.now()+$e),this.scheduleRetry()):this.finish({kind:`ended`,why:`lost`})}scheduleRetry(){if(this.stopped)return;if(this.now()>=this.deadline){this.giveUp();return}let e=Qe(this.attempt);this.setStage(this.reconnectingStage()),this.attempt+=1,this.retry&&clearTimeout(this.retry),this.retry=setTimeout(()=>{this.retry=null,this.stopped||(this.now()>=this.deadline?this.giveUp():this.connect())},e)}forgetToken(){this.token=null;try{this.storage?.removeItem(this.key)}catch{}}ping(){if(this.hostAway&&!this.stopped&&this.now()>=this.deadline+5e3||!this.stopped&&this.stage.kind===`reconnecting`&&this.now()>=this.deadline+5e3){this.giveUp();return}let e=this.ws;if(e&&e.readyState===this.WS.OPEN){if(this.stage.kind===`joined`&&this.now()-this.lastHeard>3500){this.ws=null;try{e.close()}catch{}this.dropped()}else if(e.send(JSON.stringify({ping:this.now()})),this.stage.kind===`joined`&&this.o.readStats&&++this.pings%2==0){let t=this.o.readStats();t&&e.send(JSON.stringify({stats:t}))}}}setNeutral(e){this.neutral!==e&&(this.neutral=e,this.sendPad(!0))}sendPad(e){let t=this.ws;if(!t||t.readyState!==this.WS.OPEN||this.stage.kind!==`joined`)return;let n=this.neutral?{...ja,touch:null,motion:null}:this.o.readPad(),r=this.now();!e&&Io(n,this.last)&&r-this.lastSent<100||(this.last=n,this.lastSent=r,this.seq=this.seq+1>>>0,t.send(Ze(this.seq,n)))}clearTimers(){(this.o.cancelRaf??(e=>window.cancelAnimationFrame(e)))(this.raf),this.keepalive&&clearInterval(this.keepalive),this.pinger&&clearInterval(this.pinger),this.retry&&clearTimeout(this.retry),this.keepalive=this.pinger=this.retry=null}finish(e){this.stopped=!0,this.clearTimers();let t=this.ws;this.ws=null;try{t?.close()}catch{}this.setStage(e)}askKeyframe(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&e.send(JSON.stringify({keyframe:!0}))}leave(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&(this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),e.send(JSON.stringify({leave:1}))),this.forgetToken(),this.finish({kind:`ended`,why:`left`})}stop(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),this.stopped=!0,this.clearTimers(),this.ws=null;try{e?.close()}catch{}}},Bo=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),z=s(((e,t)=>{t.exports=Bo()}))(),Vo=`ps5upload.openIn`,Ho=`ps5upload.openIn.tab`;function Uo(){try{return sessionStorage.getItem(Ho)===`browser`}catch{return!1}}function B(){try{sessionStorage.setItem(Ho,`browser`)}catch{}}function V(e){return e===`browser`?`browser`:e===`app`?`opening`:`ask`}function Wo({appLink:e,children:t}){let n=Ie(),[r,i]=(0,D.useState)(()=>Uo()?`browser`:V(Lt(Vo))),[a,o]=(0,D.useState)(!1);if((0,D.useEffect)(()=>{r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&(location.href=e)},[]),r===`browser`)return(0,z.jsx)(z.Fragment,{children:t});let s=()=>{a&&It(Vo,`app`),i(`opening`),location.href=e},c=()=>{r===`ask`&&a?It(Vo,`browser`):r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&Rt(Vo),B(),i(`browser`)};return(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`open-in-gate`,"data-join-ui":``,children:(0,z.jsx)(`div`,{className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,children:r===`ask`?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_title`,void 0,`Open in the PS5Upload app?`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_body`,void 0,`Have the PS5Upload app on this device? Open this there, or carry on in the browser.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:s,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-app`,children:n(`open_in_app`,void 0,`Open in the app`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)}),(0,z.jsxs)(`label`,{className:`flex items-center justify-center gap-2 text-xs text-white/60`,children:[(0,z.jsx)(`input`,{type:`checkbox`,checked:a,onChange:e=>o(e.target.checked),"data-testid":`open-in-remember`}),n(`open_in_remember`,void 0,`Remember my choice on this device`)]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_opening`,void 0,`Opening the PS5Upload app…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_not_opened`,void 0,`Nothing happened? The app may not be on this device.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>location.href=e,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-again`,children:n(`open_in_again`,void 0,`Try again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)})]})})})}var Go=[`a[href]`,`button:not([disabled])`,`input:not([disabled]):not([type='hidden'])`,`select:not([disabled])`,`textarea:not([disabled])`,`summary`,`[contenteditable='true']`,`[tabindex]`].map(e=>`${e}:not([tabindex='-1'])`).join(`, `),Ko=new Set,qo=[];function Jo(){for(let e of Ko)e()}function Yo(){return qo.length}function Xo(e){return qo.push(e),Jo(),()=>{let t=qo.lastIndexOf(e);t!==-1&&qo.splice(t,1),Jo()}}function Zo(e,t,n){switch(n){case`down`:return t.top-e.bottom;case`up`:return e.top-t.bottom;case`right`:return t.left-e.right;case`left`:return e.left-t.right}}function Qo(e,t,n){let r=(e.left+e.right)/2,i=(e.top+e.bottom)/2,a=(t.left+t.right)/2,o=(t.top+t.bottom)/2;switch(n){case`down`:return o>i&&t.top>=e.top+1;case`up`:return or&&t.left>=e.left+1;case`left`:return a0?{gap:0,overlap:c}:{gap:-c,overlap:0}}function es(e,t,n){let r=null,i=1/0,a=!1;for(let o of t){if(!Qo(e,o.rect,n))continue;let t=Math.max(0,Zo(e,o.rect,n)),s=$o(e,o.rect,n),c=s.overlap>0;if(a&&!c)continue;let l=c?t-s.overlap/1e6:Math.hypot(t,2*s.gap);(c&&!a||l`u`?void 0:window){try{return!!e?.PS5UploadTv?.isTv()}catch{return!1}}function is(e=typeof document>`u`?void 0:document){return e?.documentElement.dataset.tv===`1`}function as(e,t){if(!e)return!1;if(e.closest(`[data-own-arrows]`))return!0;let n=e.tagName;if(n===`TEXTAREA`||e.isContentEditable)return!0;let r=t===`left`||t===`right`;if(n===`INPUT`){let t=(e.type||`text`).toLowerCase();if(t===`range`||ns.test(t))return r}return!1}var os=`[aria-modal="true"], [role="dialog"], [role="alertdialog"]`;function ss(e){let t=e.activeElement?.closest(os);if(t)return t;if(Yo()>0){let t=e.querySelectorAll(os);if(t.length)return t[t.length-1]}return e}function cs(e){let t=[];return e.querySelectorAll(Go).forEach(e=>{if(e.closest(`[inert], [aria-hidden='true']`)||e.disabled)return;let n=e.getBoundingClientRect();n.width<=0||n.height<=0||t.push({el:e,rect:n})}),t}function ls(e){return(e.find(e=>e.el.getAttribute(`aria-current`)===`page`)??e[0])?.el??null}function us(e,t=document){let n=ts[e.key];if(!n||e.defaultPrevented||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return!1;let r=t.activeElement;if(as(r,n))return!1;let i=cs(ss(t));if(!i.length)return!1;let a=i.find(e=>e.el===r),o=a?es(a.rect,i.filter(e=>e!==a),n):ls(i);return o?(e.preventDefault(),o.focus(),typeof o.scrollIntoView==`function`&&o.scrollIntoView({block:`nearest`,inline:`nearest`}),!0):!1}var ds=!1;function fs(e){ds||(ds=!0,e.addEventListener(`keydown`,t=>void us(t,e.document)))}function ps(e=typeof window>`u`?void 0:window){e&&(rs(e)&&(e.document.documentElement.dataset.tv=`1`),fs(e))}function ms({id:e,className:t}){let n=Ie(),r=oo(e);if(r===`none`)return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_no_xinput`,void 0,`This 8BitDo has no X-input mode. If a button is wrong, check the controller.`)});let i=r===`switch`?n(`pad_8bitdo_how_switch`,void 0,`set the switch on the back to X, then press Start`):r===`startx`?n(`pad_8bitdo_how_startx`,void 0,`turn it off, then hold Start + X to turn it on`):r===`receiver`?n(`pad_8bitdo_how_receiver`,void 0,`use its 2.4G receiver or a USB cable`):n(`pad_8bitdo_how_manual`,void 0,`its manual says how`);return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_xinput`,{how:i},`For the best result, switch your 8BitDo to X-input mode: ${i}.`)})}var hs=new Set,gs={held:new Set,touch:null,touchPad:ja,mapping:!1,get paused(){return hs.size>0},motion:null},_s={s:.85,m:1,l:1.15},vs=.25;function ys(e){return typeof e!=`number`||!Number.isFinite(e)?1:Math.min(1,Math.max(vs,e))}var bs={overlay:{width:844,height:390},deck:{width:390,height:480}},xs=.7,Ss=1.4;function Cs(e,t,n,r){let i=_s[e]??1;if(!(t>0)||!(n>0))return i;let a=r?bs.deck:bs.overlay,o=Math.min(Ss,Math.max(xs,Math.min(t/a.width,n/a.height)));return Math.round(o*i*1e3)/1e3}var ws=34;function Ts(e,t){return t>0&&8+Math.max(112*e,90)+156*e+124*e+Math.max(56*e,44)+ws>t}function Es(e,t,n){let r=e/32767,i=t/32767,a=Math.hypot(r,i),o=a>1?1/a:1;return{dx:r*o*n,dy:i*o*n}}var Ds=`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,Os=32767,ks=12;function As({stream:e,layout:t=`overlay`,opacity:n=1,size:r=`m`,deckTop:i=`0px`,onMenu:a}){let o=Ie(),s=(0,D.useRef)(new Map),c=(0,D.useRef)({...ja}),[l,u]=(0,D.useState)({...ja}),[d,f]=(0,D.useState)({l:!1,r:!1,touchpad:!1}),p=(0,D.useRef)(null),[m,h]=(0,D.useState)({width:0,height:0});(0,D.useEffect)(()=>{let e=p.current;if(!e)return;let t=()=>{let t=e.getBoundingClientRect();h(e=>e.width===t.width&&e.height===t.height?e:{width:t.width,height:t.height})};if(t(),typeof ResizeObserver>`u`)return window.addEventListener(`resize`,t),()=>window.removeEventListener(`resize`,t);let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,D.useEffect)(()=>()=>{gs.touchPad={...ja}},[]);let g=()=>{let t={...ja,touch:null},n={l:!1,r:!1,touchpad:!1};for(let e of s.current.values())e.kind===`stick`&&(n[e.which]=!0),e.kind===`touchpad`&&(n.touchpad=!0),e.kind===`button`&&(t.buttons|=e.bit),e.kind===`trigger`&&(t[e.which]=255),e.kind===`touchpad`&&e.pressed&&(t.buttons|=R.TOUCHPAD);t.lx=c.current.lx,t.ly=c.current.ly,t.rx=c.current.rx,t.ry=c.current.ry,t.touch=c.current.touch??null,gs.touchPad=t,e?.sendPad(),u(t),f(e=>e.l===n.l&&e.r===n.r&&e.touchpad===n.touchpad?e:n)},_=(e,t,n)=>{let r=Math.max(-1,Math.min(1,(t-e.cx)/e.radius)),i=Math.max(-1,Math.min(1,(n-e.cy)/e.radius));c.current[e.which===`l`?`lx`:`rx`]=Math.round(r*Os),c.current[e.which===`l`?`ly`:`ry`]=Math.round(i*Os)},v=(e,t)=>{e.preventDefault(),e.stopPropagation();let n=e.currentTarget;try{n.setPointerCapture(e.pointerId)}catch{}let r=t(n);s.current.set(e.pointerId,r),r.kind===`stick`&&_(r,e.clientX,e.clientY),r.kind===`touchpad`&&(c.current.touch=Ma((e.clientX-r.rect.left)/r.rect.width,(e.clientY-r.rect.top)/r.rect.height)),navigator.vibrate?.(8),g()},y=e=>{let t=s.current.get(e.pointerId);if(t){if(e.stopPropagation(),t.kind===`stick`)_(t,e.clientX,e.clientY);else if(t.kind===`touchpad`)c.current.touch=Ma((e.clientX-t.rect.left)/t.rect.width,(e.clientY-t.rect.top)/t.rect.height),t.pressed&&Math.hypot(e.clientX-t.x0,e.clientY-t.y0)>ks&&(t.pressed=!1);else return;g()}},b=e=>{let t=s.current.get(e.pointerId);t&&(e.stopPropagation(),s.current.delete(e.pointerId),t.kind===`stick`&&(c.current[t.which===`l`?`lx`:`rx`]=0,c.current[t.which===`l`?`ly`:`ry`]=0),t.kind===`touchpad`&&(c.current.touch=null),g())},x=e=>e.stopPropagation(),S={onPointerMove:y,onPointerUp:b,onPointerCancel:b,onClick:x,onDoubleClick:x},ee=e=>(l.buttons&e)!==0,C=e=>`border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.35)] transition-colors duration-75 ${e?`border-white bg-white/50`:`border-white/70 bg-white/10`}`,w=`text-white [text-shadow:0_1px_2px_rgba(0,0,0,0.6)]`,T={filter:`drop-shadow(0 0 1.5px rgba(0,0,0,0.5))`},E=e=>({stroke:e?`#fff`:`rgba(255,255,255,0.75)`,fill:e?`rgba(255,255,255,0.5)`:`rgba(255,255,255,0.1)`}),te=`pointer-events-auto flex touch-none select-none items-center justify-center bg-transparent p-0`,ne={minHeight:`calc(44px / var(--k))`,minWidth:`calc(44px / var(--k))`},re=(e,t,n,r)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`button`,bit:t})),...S,className:`${te} ${n}`,style:ne,children:r}),ie=(e,t,n,r)=>(0,z.jsx)(`span`,{className:`flex h-[32px] w-[76px] items-center justify-center text-[13px] font-semibold tracking-wide ${w} ${C(t)}`,style:{borderRadius:r?n===`l`?`16px 9px 9px 9px`:`9px 16px 9px 9px`:`9px`},children:e}),ae=(e,t,n,r)=>re(e,t,`h-[44px] w-[84px]`,ie(e,ee(t),n,r)),oe=(e,t,n)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`trigger`,which:t})),...S,className:`${te} h-[44px] w-[84px]`,style:ne,children:ie(e,l[t]>0,n,!0)}),se=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsx)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:(0,z.jsxs)(`g`,{transform:`rotate(${n} 26 26)`,strokeWidth:`1.5`,strokeLinejoin:`round`,...E(ee(t)),children:[(0,z.jsx)(`path`,{d:`M10 9 Q10 3 16 3 L36 3 Q42 3 42 9 L42 30 Q42 34.5 38.5 38 L29.5 47 Q26 50.5 22.5 47 L13.5 38 Q10 34.5 10 30 Z`}),(0,z.jsx)(`path`,{d:`M20.5 23 L26 17 L31.5 23`,fill:`none`,stroke:`#fff`,strokeLinecap:`round`,strokeWidth:`1.8`})]})})),ce=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsxs)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:[(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`22.5`,strokeWidth:`1.5`,...E(ee(t))}),(0,z.jsx)(`g`,{fill:`none`,stroke:`#fff`,strokeWidth:`1.8`,strokeLinejoin:`round`,strokeLinecap:`round`,children:n})]})),le=(e,t)=>re(e,t,`h-[44px] min-w-[64px] px-[4px]`,(0,z.jsx)(`span`,{className:`flex h-[24px] items-center rounded-full px-[10px] text-[10px] font-semibold uppercase tracking-wider ${w} ${C(ee(t))}`,children:e})),ue=(e,t)=>re(e,t,`h-[44px] w-[44px]`,(0,z.jsx)(`span`,{className:`flex h-[36px] w-[36px] items-center justify-center rounded-full text-[11px] font-bold ${w} ${C(ee(t))}`,children:e})),de=e=>{let{dx:t,dy:n}=Es(e===`l`?l.lx:l.rx,e===`l`?l.ly:l.ry,34),r=d[e];return(0,z.jsx)(`div`,{"aria-label":e===`l`?o(`rp_touch_left_stick`,void 0,`Left stick`):o(`rp_touch_right_stick`,void 0,`Right stick`),onPointerDown:t=>v(t,t=>{let n=t.getBoundingClientRect();return{kind:`stick`,which:e,cx:n.left+n.width/2,cy:n.top+n.height/2,radius:n.width/2}}),...S,className:`pointer-events-auto relative h-[124px] w-[124px] touch-none rounded-full border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${r?`border-white/80 bg-white/[0.12]`:`border-white/45 bg-white/[0.05]`}`,children:(0,z.jsx)(`div`,{className:`absolute left-1/2 top-1/2 h-[54px] w-[54px] rounded-full ${C(r)}`,style:{transform:`translate(calc(-50% + ${t}px), calc(-50% + ${n}px))`}})})},O=t===`deck`,fe=Cs(r,m.width,m.height,O),pe=e=>`${e}px * var(--k)`,k=`max(12px, env(safe-area-inset-left))`,me=`max(12px, env(safe-area-inset-right))`,he=`max(12px, env(safe-area-inset-bottom))`,ge=O?`8px`:t===`overlay-bar`?`3.5rem`:`max(10px, env(safe-area-inset-top))`,_e=(e,t,n=0)=>t?n?`calc(${e} + max(${pe(t)}, ${n}px))`:`calc(${e} + ${pe(t)})`:e,ye=(e,t)=>({position:`absolute`,...t,transform:`scale(var(--k))`,transformOrigin:e}),be=O&&Ts(fe,m.height),A=O?void 0:`58%`,j=e=>O?{top:_e(ge,be?96:112,be?72:90),[e]:e===`left`?k:me}:{top:A,translate:`0 -50%`,[e]:e===`left`?k:me},xe=e=>({bottom:be?he:_e(he,O?56:0,44),[e]:be?`calc(${e===`left`?k:me} + 8px + max(${pe(80)}, 44px))`:_e(e===`left`?k:me,O?40:168)}),Se=!!a&&!O;return(0,z.jsxs)(`div`,{ref:p,className:`pointer-events-none absolute z-10 select-none [-webkit-touch-callout:none] ${O?`inset-x-0 bottom-0`:`inset-0`}`,style:{top:O?i:void 0,"--k":fe},"data-testid":`rp-touch`,"data-layout":t,"data-scale":fe,onContextMenu:e=>e.preventDefault(),children:[(0,z.jsxs)(`div`,{className:`absolute inset-0`,style:{opacity:ys(n)},children:[(0,z.jsx)(`div`,{style:ye(`top left`,{top:ge,left:k}),children:(0,z.jsxs)(`div`,{className:`ms-[8px] flex flex-col`,style:{rotate:O?void 0:`6deg`,transformOrigin:`top left`},children:[oe(`L2`,`l2`,`l`),ae(`L1`,R.L1,`l`,!1)]})}),(0,z.jsx)(`div`,{style:ye(`top right`,{top:ge,right:me}),children:(0,z.jsxs)(`div`,{className:`me-[8px] flex flex-col items-end`,style:{rotate:O?void 0:`-6deg`,transformOrigin:`top right`},children:[oe(`R2`,`r2`,`r`),ae(`R1`,R.R1,`r`,!1)]})}),(0,z.jsx)(`div`,{"aria-label":o(`rp_touch_touchpad`,void 0,`Touchpad`),onPointerDown:e=>v(e,t=>({kind:`touchpad`,rect:t.getBoundingClientRect(),x0:e.clientX,y0:e.clientY,pressed:!0})),...S,className:`pointer-events-auto absolute touch-none rounded-2xl border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${d.touchpad?`border-white/80 bg-white/25`:`border-white/40 bg-white/[0.05]`}`,style:O?{top:_e(ge,6),left:_e(k,104),right:_e(me,104),height:`max(44px, calc(${pe(64)}))`}:{top:ge,left:`50%`,translate:`-50% 0`,width:`min(calc(${pe(250)}), 34vw)`,height:`max(44px, calc(${pe(56)}))`}}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top left`:`left center`,j(`left`)),children:[(0,z.jsx)(`span`,{}),se(`↑`,R.UP,0),(0,z.jsx)(`span`,{}),se(`←`,R.LEFT,-90),(0,z.jsx)(`span`,{}),se(`→`,R.RIGHT,90),(0,z.jsx)(`span`,{}),se(`↓`,R.DOWN,180),(0,z.jsx)(`span`,{})]}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top right`:`right center`,j(`right`)),children:[(0,z.jsx)(`span`,{}),ce(`△`,R.TRIANGLE,(0,z.jsx)(`path`,{d:`M26 16.5 L35 32 L17 32 Z`})),(0,z.jsx)(`span`,{}),ce(`□`,R.SQUARE,(0,z.jsx)(`rect`,{x:`18`,y:`18`,width:`16`,height:`16`,rx:`1`})),(0,z.jsx)(`span`,{}),ce(`○`,R.CIRCLE,(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`8.5`})),(0,z.jsx)(`span`,{}),ce(`✕`,R.CROSS,(0,z.jsx)(`path`,{d:`M19 19 L33 33 M33 19 L19 33`})),(0,z.jsx)(`span`,{})]}),(0,z.jsx)(`div`,{style:ye(`bottom left`,xe(`left`)),children:de(`l`)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,xe(`right`)),children:de(`r`)}),(0,z.jsx)(`div`,{style:ye(`bottom left`,{bottom:he,left:k}),children:le(`Create`,R.SHARE)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,{bottom:he,right:me}),children:le(`Options`,R.OPTIONS)}),(0,z.jsx)(`div`,{style:ye(`bottom center`,{bottom:be?_e(he,124,88):_e(he,Se?48:0,48),left:Ds,translate:`-50% 0`}),children:ue(`PS`,R.PS)})]}),Se&&(0,z.jsx)(`div`,{style:{...ye(`bottom center`,{bottom:he,left:`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,translate:`-50% 0`}),opacity:Math.max(.7,ys(n))},children:(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),a?.()},onDoubleClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),"aria-label":o(`rp_menu`,void 0,`Menu`),"aria-haspopup":`dialog`,className:`${te} h-[44px] w-[56px]`,style:ne,"data-testid":`rp-menu-handle`,children:(0,z.jsx)(`span`,{className:`flex h-[26px] w-[44px] items-center justify-center rounded-full ${w} ${C(!1)}`,children:(0,z.jsx)(ve,{size:15,strokeWidth:2,"aria-hidden":!0})})})})]})}var js=`data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAYZbW9vdgAAAGxtdmhkAAAAAAAAAAAAAAAAAAAfQAAAfQAAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAmt0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAABAAAAAAAAfQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAABAAAAAQAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAH0AAAAAAAABAAAAAAHjbWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAABAAAABAABVxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAABjm1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAU5zdGJsAAAAunN0c2QAAAAAAAAAAQAAAKphdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABAAEABIAAAASAAAAAAAAAABFExhdmM2My4xLjEwMiBsaWJ4MjY0AAAAAAAAAAAAAAAAGP//AAAAMGF2Y0MBQsAK/+EAF2dCwAqmEXsBEAAAAwAQAAADACDxImEYAQAGaMhCAZSyAAAAEHBhc3AAAAABAAAAAQAAABRidHJ0AAAAAAAABUAAAAAAAAAAGHN0dHMAAAAAAAAAAQAAAAQAAEAAAAAAFHN0c3MAAAAAAAAAAQAAAAEAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAJHN0c3oAAAAAAAAAAAAAAAQAAAKCAAAACgAAAAoAAAAKAAAAIHN0Y28AAAAAAAAABAAABlwAAAj+AAAJKAAACVIAAALZdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAgAAAAAAAH0AAAAAAAAAAAAAAAABAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAB9AAAABAAAAQAAAAACUW1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAAH0AAAIEAVcQAAAAAAC1oZGxyAAAAAAAAAABzb3VuAAAAAAAAAAAAAAAAU291bmRIYW5kbGVyAAAAAfxtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAcBzdGJsAAAAfnN0c2QAAAAAAAAAAQAAAG5tcDRhAAAAAAAAAAEAAAAAAAAAAAABABAAAAAAH0AAAAAAADZlc2RzAAAAAAOAgIAlAAIABICAgBdAFQAAAAAAH0AAAAEcBYCAgAUViFblAAaAgIABAgAAABRidHJ0AAAAAAAAH0AAAAEcAAAAIHN0dHMAAAAAAAAAAgAAACAAAAQAAAAAAQAAAQAAAAAoc3RzYwAAAAAAAAACAAAAAQAAAAEAAAABAAAAAgAAAAgAAAABAAAAmHN0c3oAAAAAAAAAAAAAACEAAAATAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAkc3RjbwAAAAAAAAAFAAAGSQAACN4AAAkIAAAJMgAACVwAAAAac2dwZAEAAAByb2xsAAAAAgAAAAH//wAAABxzYmdwAAAAAHJvbGwAAAABAAAAIQAAAAEAAABhdWR0YQAAAFltZXRhAAAAAAAAACFoZGxyAAAAAAAAAABtZGlyYXBwbAAAAAAAAAAAAAAAACxpbHN0AAAAJKl0b28AAAAcZGF0YQAAAAEAAAAATGF2ZjYzLjEuMTAyAAAACGZyZWUAAAM7bWRhdNwATGF2YzYzLjEuMTAyAAIwQA4AAAJvBgX//2vcRem95tlIt5Ys2CDZI+7veDI2NCAtIGNvcmUgMTY1IHIzMjIyIGIzNTYwNWEgLSBILjI2NC9NUEVHLTQgQVZDIGNvZGVjIC0gQ29weWxlZnQgMjAwMy0yMDI1IC0gaHR0cDovL3d3dy52aWRlb2xhbi5vcmcveDI2NC5odG1sIC0gb3B0aW9uczogY2FiYWM9MCByZWY9MTYgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDEzMSBtZT11bWggc3VibWU9MTAgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0yNCBjaHJvbWFfbWU9MSB0cmVsbGlzPTIgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz0xIGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9pbnRyYT0wIGJmcmFtZXM9MCB3ZWlnaHRwPTAga2V5aW50PTQga2V5aW50X21pbj0xIHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NCByYz1jcmYgbWJ0cmVlPTEgY3JmPTUxLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IGlwX3JhdGlvPTEuNDAgYXE9MToxLjAwAIAAAAALZYiCAv5MUAAQv8ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmhwF/UABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmioBb1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmjsBX1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBw==`,Ms=null,Ns=null;function Ps(e){e.play().catch(()=>{if(Ns||Ms!==e)return;let t=()=>{Fs(),Ms===e&&e.play().catch(()=>{})};window.addEventListener(`pointerdown`,t,{capture:!0}),Ns=()=>window.removeEventListener(`pointerdown`,t,{capture:!0})})}function Fs(){Ns?.(),Ns=null}function Is(){if(typeof document<`u`){if(!Ms){let e=document.createElement(`video`);e.muted=!0,e.loop=!0,e.playsInline=!0,e.setAttribute(`playsinline`,``),e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`data-testid`,`keep-screen-video`),e.style.cssText=`position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none`,e.src=js,document.body.appendChild(e),Ms=e}Ps(Ms)}}function Ls(){Fs(),Ms&&=(Ms.pause(),Ms.removeAttribute(`src`),Ms.remove(),null)}function Rs(){return typeof navigator>`u`?null:navigator.wakeLock??null}function zs(){return dt()||!Pn()}var Bs=new Set,Vs=null,Hs=Promise.resolve(),Us=!1;async function Ws(){if(Bs.size===0||Vs&&!Vs.released)return;let e=Rs();if(!e)dt()&&Is();else try{let t=await e.request(`screen`);t.addEventListener(`release`,()=>{Vs===t&&(Vs=null)}),Vs=t}catch{}}async function Gs(){Ls();let e=Vs;if(Vs=null,e&&!e.released)try{await e.release()}catch{}}function Ks(){Us||typeof document>`u`||(Us=!0,document.addEventListener(`visibilitychange`,()=>{document.visibilityState===`visible`&&Bs.size>0&&(Hs=Hs.then(Ws))}))}function qs(e,t){if(!zs())return;Ks();let n=Bs.size>0;t?Bs.add(e):Bs.delete(e);let r=Bs.size>0;n!==r&&(Hs=Hs.then(r?Ws:Gs))}var Js=new Set;function Ys(){if(typeof window<`u`)return window.PS5UploadPad}function Xs(e,t){let n=Js.size>0;t?Js.add(e):Js.delete(e);let r=Js.size>0;if(n!==r)try{Ys()?.setActive(r)}catch{}}var Zs=class e{constructor(e){this.receiver=e,this.last=null,this.was={}}get frames(){return Number(this.last?.frames??0)}static report(e,t){let n=t=>e[t]??0,r=e=>n(e)-(t[e]??0),i=(e,t)=>r(t)>0?Math.round(r(e)/r(t)*1e4)/10:0;return{frames:n(`framesDecoded`),dropped:n(`framesDropped`),stalls:n(`freezeCount`),stall_ms:Math.round(n(`totalFreezesDuration`)*1e3),decode_ms:i(`totalDecodeTime`,`framesDecoded`),jitter_ms:i(`jitterBufferDelay`,`jitterBufferEmittedCount`),nacks:n(`nackCount`),plis:n(`pliCount`),decoder:`track`}}snapshot(){return this.receiver.getStats().then(t=>{t.forEach(t=>{t.type===`inbound-rtp`&&t.kind===`video`&&(this.last=e.report(t,this.was),this.was={...t})})}).catch(()=>{}),this.last}},Qs=class{constructor(e){this.inner=e,this.video=document.createElement(`video`),this.wrap=document.createElement(`div`),this.media=null,this.trackStats=null,this.audio=!1,this.soundOn=!1,this.muted=!1;let t=this.video;t.muted=t.autoplay=t.playsInline=!0,t.className=`block h-full w-full object-contain`,t.dataset.testid=`track-video`,this.wrap.className=`h-full w-full`,this.wrap.append(t,e.element),this.setTrack(null)}get element(){return this.wrap}get stats(){return this.trackStats??this.inner.stats}setTrack(e,t=!1){this.media=e,this.audio=!!e&&t,this.applySound(),this.trackStats=e?new Zs(e.receiver):null,this.video.style.display=e?``:`none`,this.inner.element.style.display=e?`none`:``,this.video.srcObject!==(e?.stream??null)&&(this.video.srcObject=e?.stream??null),e&&this.play()}play(){try{this.video.play()?.catch?.(()=>{})}catch{}}onMessage(e){let t=new Uint8Array(e)[0];this.media&&t<=1||(!this.audio||t!==3&&t!==4)&&this.inner.onMessage(e)}applySound(){this.video.muted=!(this.audio&&this.soundOn&&!this.muted)}setHevc(e){this.inner.setHevc(e)}set onSoundFail(e){this.inner.onSoundFail=e}soundReport(){return this.inner.soundReport()}startSound(){this.inner.startSound(),this.soundOn=!0,this.applySound(),this.media&&this.play()}setMuted(e){this.inner.setMuted(e),this.muted=e,this.applySound()}resumeSound(){this.inner.resumeSound(),this.media&&this.video.paused&&this.play()}stop(){this.inner.stop(),this.video.srcObject=null}},$s=`ps5upload.join.muted`,ec=5e3,tc=Object.fromEntries(Object.entries(Na).filter(([e])=>e!==`Escape`)),nc=new Set;function rc(e){if(!(e.code in tc)||e.ctrlKey||e.metaKey||e.altKey)return!1;let t=e.target;if(e.code===`Tab`&&(e.shiftKey||ic(t)))return!1;let n=t?.tagName;return!(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`||t?.isContentEditable||ic(t))}function ic(e){let t=e?.tagName;if(t===`BUTTON`||t===`A`)return!0;let n=e?.getAttribute?.(`role`);return n===`button`||n===`link`||n===`menuitem`||n===`tab`||n===`switch`}var ac=!1;function oc(e){ac=e}function sc(e,t,n=null){if(!e||e.frames===0&&!t)return null;let r=e.snapshot();return r&&{...r,...t?{problem:t}:{},...n??{}}}function cc(){if(ac)return{...ja};let e=Ga(Xa(typeof navigator>`u`?void 0:navigator),So),t=gs.touchPad;return{...Ka(Ka(e,Fa(nc,tc)),t),touch:t.touch??null,motion:gs.motion??null}}var lc=class{constructor(e){this.opts=e,this.player=null,this.listeners=new Set,this.cleanups=[],this.subscribe=e=>(this.listeners.add(e),()=>this.listeners.delete(e)),this.snap={stage:{kind:`connecting`},status:null,rttMs:null,light:null,problem:null,sound:!1,noSound:!1,host:e.host,muted:dc(),path:null},this.client=new zo({url:e.url,invite:e.invite,code:e.code??null,name:e.name,WebSocketImpl:e.transport,readPad:cc,onStage:e=>{this.set({stage:e}),e.kind===`joined`&&this.readPath(),(e.kind===`refused`||e.kind===`ended`)&&this.teardown()},onStatus:e=>this.set({status:e,host:e.host??this.snap.host}),onRtt:e=>this.set({rttMs:e}),onFrame:e=>this.picture().onMessage(e),readStats:()=>sc(this.player?.stats??null,this.snap.problem,this.player?.soundReport()??null),onCodec:(e,t,n)=>{let r=this.picture();r.setHevc(e),r instanceof Qs&&(r.setTrack(t,!!n),t&&this.snap.problem&&this.set({problem:null}))},onRumble:(e,t)=>{let n=Xa(typeof navigator>`u`?void 0:navigator);qa(n,e,t),n.some(e=>e?.connected)||navigator.vibrate?.(e||t?200:0)},onLight:e=>this.set({light:e})})}picture(){if(!this.player){let e=oa(e=>this.set({problem:e}),`player`,()=>this.client.askKeyframe());this.player=this.opts.transport?new Qs(e):e,this.player.onSoundFail=()=>this.set({noSound:!0}),this.player.setMuted(this.snap.muted)}return this.player}async readPath(){let e=this.client.socket,t=this.opts.path??null;if(e?.netPath)try{t=await e.netPath()??this.opts.path??null}catch{t=null}t!==this.snap.path&&this.set({path:t})}get element(){return this.picture().element}start(){let e=()=>{document.visibilityState===`hidden`?nc.clear():this.player?.resumeSound(),this.client.setNeutral(document.visibilityState===`hidden`)},t=()=>{nc.clear(),this.client.setNeutral(!0)},n=e=>{this.client.current.kind===`joined`&&rc(e)&&(!this.opts.keysLive||this.opts.keysLive())&&(e.preventDefault(),nc.add(e.code))},r=e=>{nc.delete(e.code)&&rc(e)&&e.preventDefault()};window.addEventListener(`keydown`,n),window.addEventListener(`keyup`,r);let i=()=>{this.client.setNeutral(document.visibilityState===`hidden`),document.visibilityState!==`hidden`&&this.player?.resumeSound()};document.addEventListener(`visibilitychange`,e),window.addEventListener(`blur`,t),window.addEventListener(`focus`,i);let a=setInterval(()=>{this.client.current.kind===`joined`&&this.readPath()},ec);this.cleanups.push(()=>{clearInterval(a),document.removeEventListener(`visibilitychange`,e),window.removeEventListener(`blur`,t),window.removeEventListener(`focus`,i),window.removeEventListener(`keydown`,n),window.removeEventListener(`keyup`,r),nc.clear()}),this.client.start()}setMuted(e){this.player?.setMuted(e);try{localStorage.setItem($s,e?`1`:`0`)}catch{}this.set({muted:e})}startSound(){this.snap.sound||(this.picture().startSound(),this.set({sound:!0}))}leave(){this.client.leave(),this.teardown()}stop(){this.client.stop(),this.teardown()}teardown(){for(let e of this.cleanups.splice(0))e();gs.touchPad={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};let e=this.player;this.player=null,e&&(e.stop(),e.element.remove())}sendPad(){this.client.sendPad(!1)}get snapshot(){return this.snap}set(e){this.snap={...this.snap,...e};for(let e of this.listeners)e()}};function uc(e){return(0,D.useSyncExternalStore)(e.subscribe,()=>e.snapshot)}function dc(){try{return typeof localStorage<`u`&&localStorage.getItem($s)===`1`}catch{return!1}}function fc(e){let t=()=>{let t=e.snapshot.stage.kind,n=t!==`refused`&&t!==`ended`;qs(`play-together`,n),Xs(`play-together`,n)};t();let n=e.subscribe(t);return()=>{n(),qs(`play-together`,!1),Xs(`play-together`,!1)}}var pc=3e3,mc=class{constructor(e,t=pc){this.onChange=e,this.delay=t,this.enabled=!1,this.pinned=!1,this.sticky=!1,this.shown=!0,this.timer=null}get visible(){return!this.enabled||this.pinned||this.shown}set(e,t,n=!1){let r=this.enabled&&!this.pinned,i=this.enabled,a=this.sticky;this.enabled=e,this.pinned=t,this.sticky=n,!e||t?(this.stop(),this.show(!0)):n?(this.stop(),!i||!a?this.show(!1):r||this.show(!0)):(!r||a)&&(this.show(!0),this.arm())}poke(){this.show(!0),this.enabled&&!this.pinned&&!this.sticky&&this.arm()}toggle(){this.visible?this.hide():this.poke()}hide(){this.enabled&&!this.pinned&&(this.stop(),this.show(!1))}dispose(){this.stop()}arm(){this.stop(),this.timer=setTimeout(()=>{this.timer=null,this.show(!1)},this.delay)}stop(){this.timer!==null&&clearTimeout(this.timer),this.timer=null}show(e){this.shown!==e&&(this.shown=e,this.onChange(e))}};function hc(e,t,n=!1){let[r,i]=(0,D.useState)(!0),a=(0,D.useRef)(null);(0,D.useEffect)(()=>{let e=new mc(i);return a.current=e,()=>{e.dispose(),a.current=null}},[]),(0,D.useEffect)(()=>{a.current?.set(e,t,n)},[e,t,n]);let o=(0,D.useCallback)(()=>a.current?.poke(),[]),s=(0,D.useCallback)(()=>a.current?.hide(),[]),c=(0,D.useCallback)(()=>a.current?.toggle(),[]);return{shown:!e||t||r,poke:o,hide:s,toggle:c}}var gc=3e4,_c=class{constructor(e,t=gc){this.onChange=e,this.ms=t,this.picking=!1,this.over=!1,this.timer=null}get shown(){return this.picking&&!this.over}set(e){e!==this.picking&&(this.picking=e,this.over=!1,this.stop(),e&&(this.timer=setTimeout(()=>{this.timer=null,this.over=!0,this.onChange()},this.ms)))}stop(){this.timer&&clearTimeout(this.timer),this.timer=null}reset(){this.stop(),this.picking=!1,this.over=!1}};function vc(e){let[,t]=(0,D.useState)(0),[n]=(0,D.useState)(()=>new _c(()=>t(e=>e+1)));return(0,D.useEffect)(()=>{n.set(e),t(e=>e+1)},[n,e]),(0,D.useEffect)(()=>()=>n.reset(),[n]),n.shown}var yc=()=>Xa(typeof navigator>`u`?void 0:navigator).filter(e=>!!e?.connected);function bc(e,t){if(t.kind===`axis`)return t.which===`lx`?e(`rp_pad_step_lx`,void 0,`Push the left stick right`):t.which===`ly`?e(`rp_pad_step_ly`,void 0,`Push the left stick down`):t.which===`rx`?e(`rp_pad_step_rx`,void 0,`Push the right stick right`):e(`rp_pad_step_ry`,void 0,`Push the right stick down`);if(t.kind===`button`){if(t.bit===R.CROSS)return e(`join_check_bottom`,void 0,`Press the bottom face button (✕)`);if(t.bit===R.CIRCLE)return e(`join_check_right`,void 0,`Press the right face button (○)`);if(t.bit===R.SQUARE)return e(`join_check_left`,void 0,`Press the left face button (□)`);if(t.bit===R.TRIANGLE)return e(`join_check_top`,void 0,`Press the top face button (△)`)}return e(`rp_pad_press`,{name:t.name},`Press ${t.name}`)}function xc(e,t){let n=(0,D.useRef)(t);(0,D.useEffect)(()=>{n.current=t}),(0,D.useEffect)(()=>{if(e===null)return;let t=0,r=()=>{n.current(yc().find(t=>t.index===e)??null),t=window.requestAnimationFrame(r)};return t=window.requestAnimationFrame(r),()=>window.cancelAnimationFrame(t)},[e])}var Sc=[[R.CROSS,`✕`],[R.CIRCLE,`○`],[R.SQUARE,`□`],[R.TRIANGLE,`△`],[R.UP,`↑`],[R.DOWN,`↓`],[R.LEFT,`←`],[R.RIGHT,`→`],[R.L1,`L1`],[R.R1,`R1`],[R.L3,`L3`],[R.R3,`R3`],[R.SHARE,`Create`],[R.OPTIONS,`Options`],[R.PS,`PS`],[R.TOUCHPAD,`Touchpad`]];function Cc({pad:e}){let t=e=>`flex h-8 min-w-8 items-center justify-center rounded-md px-1.5 text-xs font-medium ${e?`bg-white text-black`:`bg-white/10 text-white/70`}`,n=(e,t,n)=>(0,z.jsxs)(`span`,{className:`relative flex h-12 w-12 items-center justify-center rounded-full bg-white/10 text-[10px] text-white/50`,children:[n,(0,z.jsx)(`span`,{className:`absolute h-3 w-3 rounded-full bg-white`,style:{left:`calc(50% + ${e/32767*18}px - 6px)`,top:`calc(50% + ${t/32767*18}px - 6px)`}})]});return(0,z.jsxs)(`div`,{className:`space-y-2`,"data-testid":`join-pad-test`,"data-buttons":e.buttons,children:[(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[Sc.map(([n,r])=>(0,z.jsx)(`span`,{className:t((e.buttons&n)!==0),"data-on":(e.buttons&n)===0?`0`:`1`,children:r},n)),(0,z.jsx)(`span`,{className:t(e.l2>30),children:`L2`}),(0,z.jsx)(`span`,{className:t(e.r2>30),children:`R2`})]}),(0,z.jsxs)(`div`,{className:`flex gap-3`,children:[n(e.lx,e.ly,`L`),n(e.rx,e.ry,`R`)]})]})}function wc({onClose:e}){let t=Ie(),[n,r]=(0,D.useState)(()=>yc().map(e=>({index:e.index,id:e.id}))),[i,a]=(0,D.useState)(()=>yc()[0]?.index??null),[o,s]=(0,D.useState)(ja),[c,l]=(0,D.useState)(null),[u,d]=(0,D.useState)(0),[f,p]=(0,D.useState)(yo),[m,h]=(0,D.useState)(null),[g,_]=(0,D.useState)(null),v=(0,D.useRef)(null);(0,D.useEffect)(()=>(oc(!0),()=>oc(!1)),[]),(0,D.useEffect)(()=>{(v.current?.querySelector(`[data-testid="join-pad-learn-start"]`)??v.current?.querySelector(`[data-testid="join-pad-check-close"]`))?.focus({preventScroll:!0})},[]),(0,D.useEffect)(()=>{let e=document.activeElement;e&&e!==document.body||v.current?.querySelector(`button:not([disabled])`)?.focus({preventScroll:!0})},[c,u]),(0,D.useEffect)(()=>{let e=()=>{let e=yc();r(t=>t.length===e.length&&t.every((t,n)=>t.id===e[n].id&&t.index===e[n].index)?t:e.map(e=>({index:e.index,id:e.id}))),a(t=>t!==null&&e.some(e=>e.index===t)?t:e[0]?.index??null)},t=window.setInterval(e,500);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(t),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),xc(i,e=>{if(_(t=>t?.id===e?.id?t:e),!e)return;if(c){c.feed(Eo(e))&&y(c,e);return}let t=Ga([e],So);s(e=>e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry?e:t)});let y=(e,n)=>{if(!e.done)return d(e.step);let r=n?.id??g?.id;l(null),r&&(p(bo(r,e.profile(n?wo(n):void 0))),h(t(`join_check_saved`,void 0,`Saved for this controller on this device. Try it below.`)))},b=()=>{h(null),d(0),l(new Fo(No))},x=g,S=x?Co(x):null,ee=!!(x&&f[x.id]);return(0,z.jsx)(`div`,{ref:v,role:`dialog`,"aria-modal":`true`,"aria-label":t(`join_check_title`,void 0,`Check your controller`),className:`absolute inset-0 z-40 flex items-center justify-center bg-black/70 p-4 backdrop-blur-sm`,"data-testid":`join-pad-check`,onPointerDown:e=>e.stopPropagation(),children:(0,z.jsxs)(`div`,{className:`w-[min(26rem,100%)] space-y-3 rounded-2xl border border-white/10 bg-neutral-900/95 p-4 text-sm text-white shadow-2xl`,children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,z.jsx)(me,{size:16,className:`text-white/70`}),(0,z.jsx)(`p`,{className:`flex-1 font-semibold`,children:t(`join_check_title`,void 0,`Check your controller`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,"aria-label":t(`join_done`,void 0,`Done`),className:`flex h-8 w-8 items-center justify-center rounded-full bg-white/10 hover:bg-white/20`,"data-testid":`join-pad-check-close`,children:(0,z.jsx)(De,{size:15})})]}),x?(0,z.jsxs)(z.Fragment,{children:[n.length>1&&(0,z.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:n.map(e=>(0,z.jsx)(`button`,{type:`button`,disabled:!!c,onClick:()=>a(e.index),className:`rounded-full px-2.5 py-1 text-xs ${e.index===i?`bg-white text-black`:`bg-white/10`}`,children:to(e.id)},`${e.index}-${e.id}`))}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`p`,{className:`truncate font-medium`,"data-testid":`join-pad-check-name`,children:to(x.id)}),(0,z.jsx)(`p`,{className:`text-xs text-white/60`,"data-testid":`join-pad-check-kind`,"data-kind":S??``,children:S===`saved`?t(`rp_pad_mapped`,void 0,`Plays with your mapping`):S===`guess`?t(`join_check_unknown`,void 0,`This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.`):t(`rp_pad_standard`,void 0,`Recognized`)}),io(x)&&(0,z.jsx)(ms,{id:x.id,className:`mt-1 block text-xs text-amber-200/90`})]}),c?(0,z.jsxs)(`div`,{className:`space-y-3`,"data-testid":`join-pad-learn`,children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`rp_pad_progress`,{n:u+1,total:c.steps.length},`${u+1} of ${c.steps.length}`)}),(0,z.jsx)(`p`,{className:`text-lg font-semibold`,"data-testid":`join-pad-learn-step`,children:c.current?bc(t,c.current):``}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.skip(),y(c,x)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-learn-skip`,children:t(`rp_pad_skip`,void 0,`Skip`)}),u>0&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.back(),d(c.step)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,children:t(`rp_pad_back`,void 0,`Back`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>l(null),className:`rounded-full px-3 py-1.5 text-xs text-white/70 hover:bg-white/10`,children:t(`rp_pad_cancel`,void 0,`Cancel`)})]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`join_check_try`,void 0,`Press buttons and move the sticks: what you press lights up.`)}),(0,z.jsx)(Cc,{pad:o}),m&&(0,z.jsx)(`p`,{className:`text-xs text-emerald-300`,role:`status`,children:m}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:b,className:`rounded-full bg-white px-3 py-1.5 text-xs font-medium text-black`,"data-testid":`join-pad-learn-start`,children:ee?t(`join_check_redo`,void 0,`Redo`):t(`join_check_map`,void 0,`Set up the buttons`)}),ee&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{p(bo(x.id,null)),h(null)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-reset`,children:t(`rp_pad_reset`,void 0,`Reset`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-check-done`,children:t(`join_done`,void 0,`Done`)})]})]})]}):(0,z.jsx)(`p`,{className:`text-white/70`,children:t(`rp_pads_none`,void 0,`No controller seen yet. Connect one and press any button on it.`)})]})})}function Tc(e,t){let[n,r]=(0,D.useState)(!1);return(0,D.useEffect)(()=>{if(!e||!t)return;let n=!0;return Be(e,Le).then(e=>{n&&!e&&r(!0)}),()=>{n=!1}},[e,t]),n}function Ec({href:e}){let t=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center`,"data-testid":`open-on-wifi`,children:[(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t(`join_open_lan_body`,void 0,`Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.`)}),(0,z.jsx)(`a`,{href:e,rel:`noreferrer`,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`open-on-wifi-link`,children:t(`join_open_lan`,void 0,`Open on this Wi-Fi`)})]})}function Dc(e){let t=Math.max(0,Math.ceil(e));return`${Math.floor(t/60)}:${String(t%60).padStart(2,`0`)}`}var Oc=`ps5upload.join.guided`,kc=1;function Ac(e){return e.player!==kc&&(!e.guided||e.movedOff)&&!e.reconnecting}function jc(e,t){switch(t){case`lan`:return e(`join_path_lan`,void 0,`Home network`);case`tailscale`:return e(`join_path_tailscale`,void 0,`Tailscale`);default:return e(`join_path_internet`,void 0,`Internet`)}}function Mc(e,t){return e(`join_seat_taken`,{host:t},`${t} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask ${t} to let you in again.`)}function Nc(e,t,n,r=!1){if(t.kind===`refused`)switch(t.why){case`key`:return e(`join_refused_key`,{host:n},`This invite has expired. Ask ${n} for a new link.`);case`expired`:return e(`join_refused_expired`,{host:n},`Your place in the game was lost. Ask ${n} to let you in again.`);case`full`:return e(`join_refused_full`,void 0,`The game is full: four players already.`);case`denied`:return e(`join_refused_denied`,{host:n},`${n} didn't let you in this time.`);case`no_answer`:return e(`join_refused_no_answer`,{host:n},`${n} didn't answer in time. Tell ${n}, then try again.`);case`closed`:return e(`join_refused_closed`,{host:n},`${n} isn't hosting Play Together right now.`);case`old_helper`:return e(`join_refused_old_helper`,{host:n},`${n}'s PS5 needs an updated helper for Play Together.`);case`not_playing`:return e(`join_refused_not_playing`,{host:n},`${n} isn't playing right now. Ask ${n} to start Play first.`);case`unreachable`:return e(`join_refused_unreachable`,{host:n},`${n}'s computer couldn't reach their PS5. Try again in a moment.`);case`slow_down`:return e(`join_refused_slow_down`,void 0,`Too many wrong codes. Wait a minute, then try again.`);case`address`:return e(`join_refused_address`,{host:n},`This link's address is outside your home network, so the app will not use it. Ask ${n} for a link with their computer's IP address.`);case`seat_taken`:return Mc(e,n);default:return e(`join_refused_other`,{host:n},`${n} didn't let you in.`)}if(t.kind===`ended`)switch(t.why){case`kicked`:return e(`join_ended_kicked`,{host:n},`${n} took you out of the game.`);case`closed`:return e(`join_ended_closed`,{host:n},`${n} closed Play Together.`);case`host_stopped`:return e(`join_ended_host_stopped`,void 0,`The host stopped playing.`);case`replaced`:return e(`join_ended_replaced`,void 0,`This game was opened in another tab or on another device, so it stopped here.`);case`pad_lost`:return e(`join_ended_pad_lost`,{host:n},`The PS5 lost your controller, so you're out of the game. Ask ${n} to let you in again.`);case`gave_up`:return e(`join_ended_gave_up`,{host:n},`The connection to ${n} didn't come back in time.`);case`lost`:return r?e(`join_net_lost`,{host:n},`The connection to ${n} dropped. Check your internet connection, then ask again.`):e(`join_ended_lost`,{host:n},`Couldn't reach ${n}. Check that you're on the same network.`);case`left`:return e(`join_ended_left`,void 0,`You left the game.`);case`seat_taken`:return Mc(e,n);case`mismatch`:return e(`join_net_mismatch`,void 0,`This link doesn't match the host; ask them for a new one.`);case`no_direct`:return e(`join_net_no_direct`,void 0,`A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.`);case`no_room`:return e(`join_net_no_room`,{host:n},`This invite isn't open any more. Ask ${n} for a new link.`);case`net_full`:return e(`join_net_full`,{host:n},`${n}'s game has no room for another friend right now. Try again in a moment.`);case`no_hub`:return e(`join_net_no_hub`,void 0,`Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.`);case`offer`:return e(`join_net_offer`,{host:n},`${n}'s computer couldn't connect to this browser. Try another browser.`);case`no_webrtc`:return e(`join_net_no_webrtc`,void 0,`This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.`)}return``}function Pc(e){let[t,n]=(0,D.useState)(()=>Date.now());return(0,D.useEffect)(()=>{if(!e)return;n(Date.now());let t=window.setInterval(()=>n(Date.now()),500);return()=>window.clearInterval(t)},[e]),t}function Fc(){let[e,t]=(0,D.useState)({ready:!1,pressed:!1,id:null,kind:null,weak8BitDo:!1});return(0,D.useEffect)(()=>{let e=()=>{let e=Xa(typeof navigator>`u`?void 0:navigator).find(e=>!!e?.connected),n=!!e,r=n?cc():null,i=!!r&&(r.buttons!==0||r.l2>30||r.r2>30),a=e?.id??null,o=e?Co(e):null,s=!!e&&io(e);t(e=>e.ready===n&&e.pressed===i&&e.id===a&&e.kind===o&&e.weak8BitDo===s?e:{ready:n,pressed:i,id:a,kind:o,weak8BitDo:s})};e();let n=window.setInterval(e,120);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(n),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),e}function Ic(e){return!!e?.closest?.(`[data-testid="rp-touch"]`)}var Lc=14,Rc=()=>typeof window<`u`&&!is()&&!!window.matchMedia?.(`(pointer: coarse)`).matches;function zc(e,t,n){return!e||e===t||e.closest?.(`[data-join-game]`)?`game`:n?.contains(e)?`controls`:`page`}function Bc(e){return e.checking?`close-check`:e.guide?`close-guide`:e.where===`game`?`show-controls`:e.full?`leave-full`:null}var Vc={good:`var(--color-good,#32d074)`,fair:`var(--color-warn,#ffb340)`,slow:`var(--color-bad,#ff6961)`,none:`rgba(255,255,255,.5)`};function Hc({text:e,body:t,onCancel:n}){let r=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-5 px-6 py-10 text-center`,"data-testid":`join-waiting`,children:[(0,z.jsxs)(`div`,{className:`relative flex h-24 w-24 items-center justify-center`,"aria-hidden":!0,children:[(0,z.jsx)(`span`,{className:`absolute inset-0 animate-ping rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`absolute inset-3 animate-pulse rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`relative flex h-14 w-14 items-center justify-center rounded-full bg-white/15`,children:(0,z.jsx)(Se,{size:26})})]}),(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-stage`,children:e}),t&&(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!0,className:`rounded-full bg-white/15 px-4 py-2 text-sm hover:bg-white/25`,"data-testid":`join-cancel`,children:r(`join_cancel`,void 0,`Cancel`)})]})}function Uc({session:e,inApp:t=!1,onLeave:n,onAgain:r,onFullscreen:i,lanUrl:a=null,hubDown:o=!1}){let s=Ie(),c=uc(e),{stage:l,status:u}=c,d=c.host??s(`join_host_fallback`,void 0,`your friend`),f=(0,D.useRef)(null),p=(0,D.useRef)(null),m=(0,D.useRef)(null),[h,g]=(0,D.useState)(!1),[_,v]=(0,D.useState)(()=>Lt(Oc)===`1`),[y,b]=(0,D.useState)(()=>typeof window<`u`&&window.innerHeight>window.innerWidth),x=Fc(),[S,ee]=(0,D.useState)(!1),C=l.kind===`reconnecting`,w=Pc(C),T=l.kind===`joined`||C,E=u?.state===`picking_user`,te=l.kind===`joined`||l.kind===`reconnecting`?l.player:0,[ne,re]=(0,D.useState)(!1),ie=(0,D.useRef)(te);(0,D.useEffect)(()=>{ie.current===kc&&te>kc&&re(!0),te&&(ie.current=te)},[te]);let[ae,oe]=(0,D.useState)(!1),[se,ce]=(0,D.useState)(!1),le=T&&(h||!t),de=Rc(),fe=vc(E),k=hc(le,C||fe&&!de||ae||se,de),{poke:he}=k,_e=(0,D.useRef)(null),ve=()=>{_e.current&&clearTimeout(_e.current.timer),_e.current=null};(0,D.useEffect)(()=>ve,[]);let[ye,A]=(0,D.useState)(!1),xe=(0,D.useRef)(!1);(0,D.useEffect)(()=>{if(!le||!de||k.shown||!_||xe.current)return;xe.current=!0,A(!0);let e=setTimeout(()=>A(!1),6e3);return()=>clearTimeout(e)},[le,de,k.shown,_]),(0,D.useEffect)(()=>{if(!T)return;let t=e.element;return f.current?.appendChild(t),()=>t.remove()},[T,e]),(0,D.useEffect)(()=>{if(!T||c.sound)return;let t=()=>e.startSound(),n=[`pointerup`,`touchend`,`click`,`keydown`];for(let e of n)window.addEventListener(e,t,!0);return()=>{for(let e of n)window.removeEventListener(e,t,!0)}},[T,c.sound,e]),(0,D.useEffect)(()=>{let e=()=>b(window.innerHeight>window.innerWidth);return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),(0,D.useEffect)(()=>{if(h)return()=>void i?.(!1)},[h,i]);let Ce=(0,D.useRef)(h);(0,D.useEffect)(()=>{Ce.current=h},[h]),(0,D.useEffect)(()=>{if(!t||!T||!Rc()||typeof window>`u`||!window.matchMedia)return;let e=window.matchMedia(`(orientation: landscape)`),n=()=>{e.matches&&!Ce.current&&(g(!0),i?.(!0))};return n(),e.addEventListener?.(`change`,n),()=>e.removeEventListener?.(`change`,n)},[t,T,i]),(0,D.useEffect)(()=>{t&&T&&is()&&!Ce.current&&(g(!0),i?.(!0))},[t,T,i]),(0,D.useEffect)(()=>{if(!T)return;let e=e=>{if(e.key!==`Escape`)return;if(S)return void Le.current();if(he(),h)return g(!1);let t=zc(document.activeElement,document.body,p.current);t===`game`?Le.current():t===`controls`&&m.current?.focus({preventScroll:!0})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[T,h,he,S]),(0,D.useEffect)(()=>{if(!h||!Rc())return;window.history.pushState(window.history.state,``);let e=window.location.href,t=!1,n=()=>{t=!0,g(!1)};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),!t&&window.location.href===e&&window.history.back()}},[h]),(0,D.useEffect)(()=>{if(!h||typeof document>`u`)return;let e=()=>{document.fullscreenElement||Rc()||g(!1)};return document.addEventListener(`fullscreenchange`,e),()=>document.removeEventListener(`fullscreenchange`,e)},[h]);let Te=is(),Ee=T&&Ac({player:te,guided:_,movedOff:ne,reconnecting:C})&&!u?.playsAs,De=async e=>{g(e),await i?.(e)},Oe=()=>m.current?.focus({preventScroll:!0}),ke=()=>{It(Oc,`1`),v(!0),re(!1)},Ae=()=>{he();let e=C?`[data-testid="join-reconnecting-leave"]`:`[data-testid="join-bar"] button`;p.current?.querySelector(e)?.focus({preventScroll:!0})},je=()=>{let e=p.current?.querySelector(`[data-testid="join-check-open"]`);e?e.focus({preventScroll:!0}):Oe(),ee(!1)},Me=()=>zc(document.activeElement,document.body,p.current),[Ne,Pe]=(0,D.useState)(`game`);(0,D.useEffect)(()=>{if(!T)return;let e=()=>Pe(Me()),t=()=>window.setTimeout(e,0);return e(),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t)}},[T]);let Fe=()=>{switch(T?Bc({checking:S,guide:Ee,where:Me(),full:h}):null){case`close-check`:return je(),!0;case`close-guide`:return ke(),Oe(),!0;case`show-controls`:return Ae(),!0;case`leave-full`:return De(!1),!0;default:return!1}},Le=(0,D.useRef)(Fe);(0,D.useEffect)(()=>{Le.current=Fe});let Re=t&&!de&&T&&Bc({checking:S,guide:Ee,where:Ne,full:h})!==null;(0,D.useEffect)(()=>{if(Re)return Xo(()=>void Le.current())},[Re]);let ze=!t&&T&&!de;(0,D.useEffect)(()=>{if(!ze)return;let e=window.location.href;window.history.pushState(window.history.state,``);let t=!0,n=()=>{if(t=!1,!Le.current())return window.history.back();window.history.pushState(window.history.state,``),t=!0};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),t&&window.location.href===e&&window.history.back()}},[ze]);let Be=l.kind===`joined`;(0,D.useEffect)(()=>{if(!Be)return;let e=document.activeElement;if(e&&e!==document.body)return;let t=Te&&Ee?p.current?.querySelector(`[data-testid="join-guide-ok"]`):null;t?t.focus({preventScroll:!0}):Oe()},[Be]),(0,D.useEffect)(()=>{x.pressed&&T&&!S&&Me()===`controls`&&Oe()},[x.pressed]);let Ve=()=>{e.leave(),n()};if(l.kind===`connecting`||l.kind===`asking`)return(0,z.jsxs)(`div`,{className:t?`rounded-[var(--radius-card)] bg-neutral-900 text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black text-white`,"data-join-ui":``,children:[l.kind===`connecting`&&o&&a&&(0,z.jsx)(Ec,{href:a}),(0,z.jsx)(Hc,{text:l.kind===`connecting`?s(`join_connecting`,{host:d},`Connecting to ${d}…`):s(`join_waiting`,{host:d},`Waiting for ${d} to let you in`),body:l.kind===`asking`?s(`join_waiting_body`,{host:d},`${d} sees your name on their screen and taps Allow.`):void 0,onCancel:Ve})]});if(l.kind===`refused`||l.kind===`ended`){let i=l.kind===`refused`||l.why!==`left`&&l.why!==`mismatch`;return(0,z.jsxs)(`div`,{className:t?`flex flex-col items-center gap-4 rounded-[var(--radius-card)] bg-neutral-900 px-6 py-10 text-center text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black px-6 text-center text-white`,"data-testid":`join-ended`,"data-why":l.why,"data-join-ui":``,children:[(0,z.jsx)(Se,{size:28,className:`text-white/60`}),(0,z.jsx)(`p`,{className:`max-w-sm text-base`,"data-testid":`join-ended-text`,children:Nc(s,l,d,e.opts.internet??!!e.opts.transport)}),a&&l.why===`no_hub`&&(0,z.jsx)(Ec,{href:a}),(0,z.jsxs)(`div`,{className:`flex flex-wrap justify-center gap-2`,children:[i&&(0,z.jsx)(`button`,{type:`button`,onClick:r,autoFocus:!0,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`join-again`,children:l.kind===`refused`&&l.why===`not_playing`?s(`join_retry`,void 0,`Try again`):s(`join_again`,void 0,`Ask to join again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!i,className:`rounded-full bg-white/15 px-4 py-2 text-sm`,"data-testid":`join-done`,children:s(`join_done`,void 0,`Done`)})]})]})}let He=l.player,Ue=c.light??at(He),We=c.rttMs??u?.rttMs??null,Ge=it(We),Ke=Rc(),qe=T&&!C&&!x.ready&&Ke&&(!t||h),Je=Ac({player:He,guided:_,movedOff:ne,reconnecting:C}),Ye=He===kc,Xe=u?.playsAs??null,Ze=C?(l.deadline-w)/1e3:0,Qe=()=>De(!h),$e=t&&!h&&Ke&&T,et=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`span`,{className:`flex items-center gap-1.5 rounded-full bg-black/60 px-2.5 py-1 font-medium`,"data-testid":`join-player`,children:[(0,z.jsx)(`span`,{className:`inline-block h-2.5 w-2.5 rounded-full`,style:{background:`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`}}),t&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[s(`join_playing_at`,{host:d},`Playing at ${d}'s`),` · `]}),s(`join_you_are`,{n:He},`You are Player ${He}`)]}),We!=null&&(0,z.jsxs)(`span`,{className:`rounded-full bg-black/60 px-2 py-1 tabular-nums`,style:{color:Vc[Ge]},"data-testid":`join-delay`,"data-tone":Ge,"data-path":c.path??void 0,children:[c.path&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[jc(s,c.path),` · `]}),Math.round(We),` ms`]}),Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-stream`,children:s(`join_seat_stream`,{host:d},`You're playing as ${d}'s PS5 user. No need to pick one.`)}),Xe&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-plays-as`,children:s(`join_plays_as`,{profile:Xe},`You're playing as ${Xe}. No need to pick one.`)}),E&&!Ye&&u?.seatNote&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-note`,children:s(`join_seat_tv_asks`,{host:d},`${d} chose a profile for you, but it couldn't be used. The TV will ask who you are.`)}),E&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-picking`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)})]}),tt=(0,z.jsxs)(z.Fragment,{children:[le&&de&&k.shown&&!C&&(0,z.jsxs)(`button`,{type:`button`,onClick:k.hide,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 font-medium`,"data-testid":`join-hide-controls`,children:[(0,z.jsx)(pe,{size:13}),s(`join_hide_controls`,void 0,`Hide`)]}),!c.sound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex items-center gap-1 rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-sound`,children:[(0,z.jsx)(we,{size:13}),s(`join_sound`,void 0,`Tap for sound`)]}),c.sound&&!c.noSound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-mute`,children:[c.muted?(0,z.jsx)(M,{size:13}):(0,z.jsx)(we,{size:13}),c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`)]}),c.noSound&&(0,z.jsxs)(`span`,{className:`flex items-center gap-1 rounded-full bg-black/60 px-2.5 py-1 text-white/80`,"data-testid":`join-no-sound`,children:[(0,z.jsx)(M,{size:13}),s(`join_no_sound`,void 0,`No sound in this browser`)]}),(t||typeof document<`u`&&!!document.documentElement.requestFullscreen)&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>void Qe(),"aria-label":h?s(`join_exit_fullscreen`,void 0,`Leave full screen`):s(`pad_fill`,void 0,`Full screen`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-full`,children:h?(0,z.jsx)(be,{size:13}):(0,z.jsx)(O,{size:13})}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),"aria-label":s(`join_check_title`,void 0,`Check your controller`),title:s(`join_check_title`,void 0,`Check your controller`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-check-open`,children:(0,z.jsx)(me,{size:13})}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex items-center gap-1 rounded-full bg-[var(--color-danger,#dc2626)] px-3 py-1 font-medium`,"data-testid":`join-leave`,children:[(0,z.jsx)(ge,{size:13}),s(`join_leave`,void 0,`Leave`)]})]}),nt=k.shown?`opacity-100`:`pointer-events-none opacity-0`,rt={"data-testid":`join-bar`,"data-shown":k.shown?`1`:`0`,onFocus:e=>{(Te||e.target.matches?.(`:focus-visible`))&&ce(!0)},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||ce(!1)},onPointerEnter:e=>{e.pointerType===`mouse`&&oe(!0)},onPointerLeave:()=>oe(!1)},ot=h||!t?`fixed inset-0 z-[200] bg-black`:`relative mx-auto aspect-video w-full max-w-[max(20rem,calc((100dvh_-_22rem)*16/9))] overflow-hidden rounded-[var(--radius-card)] bg-black shadow-[var(--shadow-2)]`,st=t&&h;return(0,z.jsxs)(`div`,{className:`space-y-2`,ref:p,"data-join-ui":``,children:[(0,z.jsxs)(`div`,{className:`${ot} select-none text-white [-webkit-touch-callout:none]`,style:{touchAction:`none`},role:st?`dialog`:void 0,"aria-modal":st?!0:void 0,"aria-label":st?s(`pad_fill`,void 0,`Full screen`):void 0,onPointerMove:e=>{if(e.pointerType===`mouse`)return he();let t=_e.current;t&&t.id===e.pointerId&&Math.hypot(e.clientX-t.x,e.clientY-t.y)>Lc&&ve()},onPointerDown:e=>{if(Ic(e.target))return;if(e.pointerType===`mouse`||!de)return he();if(e.target.closest?.(`[data-testid="join-bar"], button, a, input, [role="button"]`))return;ve();let{pointerId:t,clientX:n,clientY:r}=e;_e.current={id:t,x:n,y:r,timer:setTimeout(()=>{_e.current=null,navigator.vibrate?.(15),k.toggle()},450)}},onPointerUp:ve,onPointerCancel:ve,onPointerLeave:ve,"data-testid":`join-stage-view`,children:[(0,z.jsx)(`div`,{ref:f,className:`pointer-events-none absolute inset-0 z-0 flex items-center justify-center`,"aria-hidden":!0}),le&&!k.shown&&!C&&We!=null&&(0,z.jsxs)(`span`,{className:`pointer-events-none absolute z-10 rounded-full bg-black/40 px-1.5 py-0.5 text-[10px] leading-none tabular-nums`,style:{color:Vc[Ge],top:`max(0.5rem, env(safe-area-inset-top))`,right:`max(0.5rem, env(safe-area-inset-right))`},"data-testid":`join-delay-corner`,children:[Math.round(We),` ms`]}),qe?(0,z.jsxs)(`div`,{className:`absolute left-1/2 top-1/2 z-20 flex w-max max-w-[min(24rem,calc(100%-2rem))] -translate-x-1/2 -translate-y-1/2 flex-col items-center gap-2 rounded-2xl bg-black/70 p-3 text-xs backdrop-blur-sm transition-opacity duration-300 ${nt}`,...rt,children:[(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:et}),(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:tt})]}):$e?null:(0,z.jsxs)(`div`,{className:`absolute inset-x-0 top-0 z-20 flex flex-wrap items-center gap-2 bg-gradient-to-b from-black/70 to-transparent px-3 pb-5 pt-[max(8px,env(safe-area-inset-top))] text-xs transition-opacity duration-300 ${nt}`,...rt,children:[et,(0,z.jsx)(`span`,{className:`flex-1`}),tt]}),!k.shown&&!qe&&(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),he()},"aria-label":s(`join_show_controls`,void 0,`Show controls`),className:`absolute left-1/2 top-[max(6px,env(safe-area-inset-top))] z-20 flex h-7 w-11 -translate-x-1/2 items-center justify-center rounded-full bg-black/40 text-white/70 opacity-60 hover:opacity-100 focus-visible:opacity-100`,"data-testid":`join-show-controls`,children:(0,z.jsx)(ue,{size:16,"aria-hidden":!0})}),ye&&!k.shown&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-[max(10px,env(safe-area-inset-top))] z-20 -translate-x-1/2 rounded-full bg-black/60 px-3 py-1 text-xs text-white/85`,"data-testid":`join-hold-hint`,children:s(`join_hold_hint`,void 0,`Press and hold the picture to show the buttons`)}),c.problem&&(0,z.jsx)(`p`,{className:`absolute inset-x-4 top-1/2 z-10 -translate-y-1/2 text-center text-sm text-white/85`,"data-testid":`join-problem`,children:c.problem===`no_hevc`?s(`pad_watch_no_hevc`,void 0,`This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.`):s(`pad_watch_decode`,void 0,`The picture could not be played here.`)}),S&&(0,z.jsx)(wc,{onClose:je}),qe&&(0,z.jsx)(As,{stream:e,layout:`overlay`,onMenu:()=>k.shown?k.hide():he()}),!qe&&!C&&(0,z.jsxs)(`div`,{className:`absolute bottom-3 left-3 z-20 flex items-center gap-2 rounded-2xl bg-black/70 px-3 py-1.5 text-xs transition-opacity duration-300 ${nt}`,"data-testid":`join-pad`,children:[(0,z.jsx)(me,{size:14,style:{color:x.pressed?`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`:void 0}}),x.ready?(0,z.jsxs)(`span`,{className:`flex flex-col items-start gap-1`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_ready`,void 0,`Your controller is ready`)}),x.weak8BitDo&&x.id&&(0,z.jsx)(ms,{id:x.id,className:`text-amber-200/90`}),x.kind===`guess`&&no()&&(0,z.jsxs)(`span`,{className:`flex flex-wrap items-center gap-2 text-white/75`,"data-testid":`join-pad-unknown`,children:[s(`join_check_unknown_short`,void 0,`Not on our list: buttons may be mixed up.`),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),className:`rounded-full bg-white px-2.5 py-0.5 font-medium text-black`,"data-testid":`join-pad-unknown-check`,children:s(`join_check_title`,void 0,`Check your controller`)})]})]}):Ke&&t&&!h?s(`join_full_to_play`,void 0,`Tap full screen to play with the on-screen controller.`):(0,z.jsxs)(`span`,{className:`flex flex-col`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_none`,void 0,`Connect a controller (USB or Bluetooth) and press any button.`)}),(0,z.jsx)(`span`,{className:`text-white/60`,"data-testid":`join-pad-keys`,children:s(`join_pad_keys`,void 0,`Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.`)})]}),Te&&(0,z.jsx)(`span`,{className:`max-w-[14rem] border-l border-white/20 pl-2 text-white/70`,"data-testid":`join-tv-back`,children:s(`join_tv_back_hint`,void 0,`Press Back on the remote for the buttons.`)})]}),u?.blockSystem&&u.state===`playing`&&!qe&&(0,z.jsx)(`p`,{className:`absolute bottom-3 right-3 z-20 rounded-full bg-black/60 px-3 py-1 text-[11px] text-white/70 transition-opacity duration-300 ${nt}`,"data-testid":`join-blocked`,children:s(`join_block_note`,{host:d},`${d} turned off PS and Create for friends.`)}),fe&&!Ye&&de&&!k.shown&&!C&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-2 z-20 -translate-x-1/2 whitespace-nowrap rounded-full bg-white/90 px-2.5 py-1 text-xs font-medium text-black`,"data-testid":`join-picking-note`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)}),Je&&!Xe&&(0,z.jsxs)(`div`,{className:`absolute bottom-14 left-1/2 z-30 w-[min(22rem,calc(100%-2rem))] -translate-x-1/2 rounded-2xl border border-white/10 bg-neutral-900/90 p-4 text-sm shadow-2xl backdrop-blur-md`,"data-testid":`join-guide`,children:[(0,z.jsx)(`p`,{className:`font-semibold`,children:s(`join_guide_title`,void 0,`One more step on the TV`)}),(0,z.jsx)(`p`,{className:`mt-1 text-white/75`,children:s(`join_guide_body`,void 0,`On your controller, press PS once. The TV asks "Who's using this controller?". Pick Quick Play or your own user. The host doesn't need to do anything.`)}),(0,z.jsx)(`p`,{className:`mt-1 text-white/60`,children:s(`join_guide_menus`,void 0,`On the PS5's home screen only the host controls the menus; your controller plays inside games.`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>{ke(),Oe()},className:`mt-3 rounded-full bg-white px-3 py-1 text-xs font-medium text-black`,"data-testid":`join-guide-ok`,children:s(`join_guide_ok`,void 0,`Got it`)})]}),C&&(0,z.jsxs)(`div`,{className:`absolute inset-0 z-30 flex flex-col items-center justify-center gap-3 bg-black/70 px-6 text-center`,"data-testid":`join-reconnecting`,children:[(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`absolute right-3 top-[max(10px,env(safe-area-inset-top))] flex items-center gap-1 rounded-full bg-white/15 px-3 py-1.5 text-sm font-medium hover:bg-white/25`,"data-testid":`join-reconnecting-leave`,children:[(0,z.jsx)(ge,{size:14}),s(`join_leave`,void 0,`Leave`)]}),(0,z.jsx)(`span`,{className:`h-7 w-7 animate-spin rounded-full border-2 border-white/30 border-t-white`,"aria-hidden":!0}),l.hostStopped?(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-host-away`,children:s(`join_host_away`,{time:Dc(Ze)},`The host stopped playing — waiting for them to start again (${Dc(Ze)})`)}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-base font-medium`,children:s(`join_reconnecting`,void 0,`Reconnecting…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/70`,"data-testid":`join-reconnecting-left`,children:s(`join_reconnecting_left`,{time:Dc(Ze)},`Your place is kept for ${Dc(Ze)}.`)})]})]}),!t&&T&&y&&Ke&&(0,z.jsx)(`div`,{className:`pointer-events-none absolute inset-x-0 bottom-16 z-20 flex justify-center`,children:(0,z.jsxs)(`span`,{className:`flex items-center gap-2 rounded-full bg-black/70 px-3 py-1.5 text-xs text-white/85`,children:[(0,z.jsx)(j,{size:14}),s(`pad_turn`,void 0,`Turn the phone sideways`)]})}),(0,z.jsx)(`div`,{ref:m,tabIndex:0,"data-own-arrows":``,"data-join-game":``,"aria-label":s(`join_game_label`,{host:d},`${d}'s game`),className:`pointer-events-none absolute inset-0 outline-none`,"data-testid":`join-game`})]}),$e&&(0,z.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 rounded-[var(--radius-card)] bg-neutral-900 px-3 py-2 text-xs text-white`,"data-testid":`join-bar`,"data-shown":`1`,"data-below":`1`,children:[(0,z.jsx)(`div`,{className:`flex w-full min-w-0 flex-wrap items-center gap-2`,children:et}),(0,z.jsxs)(`button`,{type:`button`,onClick:()=>void Qe(),className:`flex h-11 min-w-0 flex-1 items-center justify-center gap-1.5 rounded-full bg-white/15 px-3 text-sm font-medium hover:bg-white/25`,"data-testid":`join-fullscreen-below`,children:[(0,z.jsx)(O,{size:15}),s(`pad_fill`,void 0,`Full screen`)]}),c.sound&&!c.noSound?(0,z.jsx)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,"aria-label":c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`),className:`flex h-11 w-11 items-center justify-center rounded-full bg-white/15 hover:bg-white/25`,children:c.muted?(0,z.jsx)(M,{size:16}):(0,z.jsx)(we,{size:16})}):c.sound?null:(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-white px-3 text-sm font-medium text-black`,children:[(0,z.jsx)(we,{size:15}),s(`join_sound`,void 0,`Tap for sound`)]}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-[var(--color-danger,#dc2626)] px-4 text-sm font-medium`,"data-testid":`join-leave-below`,children:[(0,z.jsx)(ge,{size:15}),s(`join_leave`,void 0,`Leave`)]})]})]})}var Wc=`ps5upload.join.name`;function Gc(e){return/iPhone/.test(e)?`iPhone`:/iPad/.test(e)?`iPad`:/Android/.test(e)?`Android`:``}function Kc(e){return e.trim().slice(0,32)}function qc(e=``){return Kc(Lt(`ps5upload.join.name`)??``)||e}function Jc(e){let t=Kc(e);return t&&It(Wc,t),t}function Yc(e){try{return!!sessionStorage.getItem(Ro(e))}catch{return!1}}async function Xc(e){try{e?(await document.documentElement.requestFullscreen?.({navigationUI:`hide`}),await screen.orientation.lock?.(`landscape`)):document.fullscreenElement&&await document.exitFullscreen()}catch{}}function Zc({url:e,invite:t,host:n,transport:r,lanUrl:i=null,path:a=null,internet:o}){let s=Ie(),c=Tc(r&&o!==!1?e:null,i),[l,u]=(0,D.useState)(()=>qc(Gc(typeof navigator>`u`?``:navigator.userAgent))),[d,f]=(0,D.useState)(null),[p,m]=(0,D.useState)(0),h=(0,D.useCallback)(e=>{if(!e)return;let t=typeof window<`u`&&!!window.matchMedia?.(`(pointer: coarse)`).matches,n=e.querySelector(`[data-testid="join-name"]`)?.value.trim()?`join-go`:t?null:`join-name`;n&&e.querySelector(`[data-testid="${n}"]`)?.focus({preventScroll:!0})},[]),g=i=>{let s=Jc(i);if(!s)return;let c=new lc({url:e,invite:t,name:s,host:n,transport:r,path:a,...o===void 0?{}:{internet:o}});f(c),m(e=>e+1),c.start()};if((0,D.useEffect)(()=>{!d&&Yc(t)&&l.trim()&&g(l)},[]),(0,D.useEffect)(()=>d?fc(d):void 0,[d]),(0,D.useEffect)(()=>{if(!d)return;let e=()=>d.stop();return window.addEventListener(`pagehide`,e),()=>window.removeEventListener(`pagehide`,e)},[d]),d)return(0,z.jsx)(Uc,{session:d,lanUrl:i,hubDown:c,onLeave:()=>f(null),onAgain:()=>{d.stop(),g(l)},onFullscreen:Xc},p);let _=n??s(`join_host_fallback`,void 0,`your friend`),v=(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`join-name-step`,"data-join-ui":``,children:(0,z.jsxs)(`form`,{ref:h,className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,onSubmit:e=>{e.preventDefault(),g(l)},children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,z.jsx)(`span`,{className:`flex h-10 w-10 items-center justify-center rounded-full bg-white/10`,children:(0,z.jsx)(Se,{size:20})}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:s(`join_title`,void 0,`Join a friend's game`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:s(`join_title_body`,{host:_},`Play on ${_}'s PS5 as Player 2, 3 or 4.`)})]})]}),(0,z.jsxs)(`label`,{className:`block space-y-1.5`,children:[(0,z.jsx)(`span`,{className:`text-sm font-medium`,children:s(`join_name_label`,void 0,`Your name`)}),(0,z.jsx)(`input`,{value:l,onChange:e=>u(e.target.value),maxLength:32,autoComplete:`nickname`,className:`block w-full rounded-lg border border-white/15 bg-black px-3 py-2 text-base outline-none focus:border-white/50`,"data-testid":`join-name`}),(0,z.jsx)(`span`,{className:`block text-xs text-white/50`,children:s(`join_name_hint`,void 0,`Your friend sees this when you ask to join.`)})]}),(0,z.jsx)(`button`,{type:`submit`,disabled:!l.trim(),className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black disabled:opacity-40`,"data-testid":`join-go`,children:s(`join_button`,void 0,`Join`)}),c&&i&&(0,z.jsx)(Ec,{href:i})]})});return t?(0,z.jsx)(Wo,{appLink:rt(location.href),children:v}):v}function Qc(e){let t=(e??``).trim().replace(/^\[|\]$/g,``).toLowerCase(),n=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/.exec(t);if(n){let e=n.slice(1).map(Number);if(e.some(e=>e>255))return null;let[t,r]=e;return t===10||t===172&&r>=16&&r<32||t===192&&r===168||t===169&&r===254||t===127?0:t===100&&r>=64&&r<128?1:2}if(!t.includes(`:`)||!/^[0-9a-f:.]+$/.test(t))return null;if(t.startsWith(`fd7a:115c:a1e0:`))return 1;let r=parseInt(t.split(`:`)[0]||`0`,16);return(r&65024)==64512||(r&65472)==65152||t===`::1`?0:2}function $c(e,t){let n=Qc(e),r=Qc(t);return n===1||r===1?`tailscale`:r===0?`lan`:r===2?`internet`:null}function el(e){let t=(e??``).toLowerCase();if(t.endsWith(`.local`))return`lan`;if(t.endsWith(`.ts.net`))return`tailscale`;let n=Qc(t);return n===0?`lan`:n===1?`tailscale`:null}function tl(e){let t=[];if(typeof e.forEach==`function`)e.forEach(e=>t.push(e));else for(let n of e)t.push(n);let n=new Map(t.map(e=>[String(e.id),e])),r=t.filter(e=>e.type===`candidate-pair`),i=t.filter(e=>e.type===`transport`&&typeof e.selectedCandidatePairId==`string`).map(e=>n.get(String(e.selectedCandidatePairId))).find(Boolean)??r.find(e=>e.selected===!0)??r.find(e=>e.nominated===!0&&e.state===`succeeded`);if(!i)return null;let a=e=>{let t=n.get(String(e));if(!t)return null;let r=t.address??t.ip;return typeof r==`string`?r:null};return $c(a(i.localCandidateId),a(i.remoteCandidateId))}function nl(e){let t=e.replace(/:\d+$/,``).replace(/^\[|\]$/g,``);return`${t===`localhost`||t===`127.0.0.1`||t===`::1`?`ws`:`wss`}://${e}/ws`}function rl(e){let t=new Set;for(let n of e.matchAll(/^a=fingerprint:sha-256[ \t]+([0-9A-Fa-f:]+)[ \t]*\r?$/gim))t.add(n[1].toUpperCase());return/^a=fingerprint:(?!sha-256[ \t])/im.test(e)?null:t.size===1?[...t][0]:null}function il(e,t){let n=rl(e);return n!==null&&n===t.toUpperCase()}var al=16777216;function ol(e){let t=16383,n=Math.max(1,Math.ceil(e.length/t)),r=[];for(let i=0;ithis.max)return this.parts=[],this.size=0,{kind:`error`,why:`too_big`};if(this.parts.push(r.slice()),this.size+=r.length,n===1)return{kind:`partial`};let i=new Uint8Array(this.size),a=0;for(let e of this.parts)i.set(e,a),a+=e.length;return this.parts=[],this.size=0,{kind:`message`,data:i.buffer}}};function cl(e){let t=new Uint8Array(9);return t[0]=3,t.set(e.subarray(0,8),1),t}var ll=[`stun:stun.cloudflare.com:3478`,`stun:stun.l.google.com:19302`];function ul(e){let t=e.trim().replace(/^a=/,``).split(/\s+/);return t.length<8||t[6]!==`typ`||t[2].toLowerCase()===`udp`&&!t[4].toLowerCase().endsWith(`.local`)}var dl=1500,fl=2e4;function pl(e){let t=e?.codecs??[],n=e=>t.filter(t=>t.mimeType.toLowerCase()===e);return[...n(`video/h264`),...n(`video/h265`),...n(`video/rtx`)]}var ml=null;function hl(e){e.onopen=e.onmessage=e.onclose=e.onerror=null;try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}function gl(e,t={}){let n=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket);if(!n||ml)return;let r=nl(e.hub),i;try{i=new n(r)}catch{return}let a={url:r,room:e.room,ws:i,msgs:[],timer:null};ml=a;let o=()=>{ml===a&&(ml=null,a.timer&&clearTimeout(a.timer),hl(i))};i.onopen=()=>i.send(JSON.stringify({v:1,t:`join`,room:e.room})),i.onmessage=e=>{if(typeof e.data==`string`)try{a.msgs.push(JSON.parse(e.data))}catch{}},i.onclose=o,i.onerror=()=>{},a.timer=setTimeout(o,t.keepMs??6e4)}function _l(e,t){let n=ml;return n?(ml=null,n.timer&&clearTimeout(n.timer),n.url!==e||n.room!==t||n.ws.readyState>1||n.msgs.some(e=>e.t===`error`||e.t===`closed`)?(hl(n.ws),null):{ws:n.ws,msgs:n.msgs}):null}function vl(e,t={}){var n;let r=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket),i=t.PeerConnection??(typeof RTCPeerConnection>`u`?void 0:RTCPeerConnection),a=t.iceTimeoutMs??15e3,o=t.log??(()=>{});class s{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.hub=null,this.pc=null,this.dc=null,this.timer=null,this.rx=new sl,this.answered=!1,this.early=[],this.hubBackUntil=0,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[],this.media=null,setTimeout(()=>this.begin(),0)}begin(){if(this.readyState!==0)return;if(!i||!r){this.fail(`no_webrtc`);return}let n=t.signalUrl??nl(e.hub),a=t.signalUrl||t.lan?null:_l(n,e.room),s;if(a)s=a.ws,o(`hub: joined early`);else try{s=new r(n)}catch{this.fail(`no_hub`);return}if(this.hub=s,this.prepare(),this.readyState===0){s.onopen=()=>s.send(JSON.stringify(t.lan?{v:1,t:`join`,lan:!0}:{v:1,t:`join`,room:e.room})),s.onmessage=e=>{if(typeof e.data!=`string`)return;let t;try{t=JSON.parse(e.data)}catch{return}this.onHub(t)},s.onclose=e=>{this.hub===s&&(this.hub=null,this.readyState===0&&(this.answered||e?.code===1001&&this.hubRestarting()||this.fail(`no_hub`)))},s.onerror=()=>{};for(let e of a?.msgs??[])this.onHub(e)}}signal(e){let t=this.hub;t&&t.readyState===1&&t.send(JSON.stringify({t:`signal`,to:`host`,data:e}))}onHub(e){if(this.readyState===0)switch(e.t){case`joined`:o(`hub: joined room as ${e.gid??`?`}`),this.sendOffer();return;case`signal`:e.from===`host`&&e.data&&typeof e.data==`object`&&this.onSignal(e.data);return;case`closed`:this.fail(`no_room`);return;case`error`:if(o(`hub: error ${e.why??`?`}`),e.why===`no_room`&&this.hubBackUntil&&this.hubRestarting())return;this.fail(e.why===`no_room`?`no_room`:e.why===`room_full`?`net_full`:`no_hub`);return}}prepare(){if(!i)return;this.offerSent=!1,this.ownEarly=[];let e;try{e=new i({iceServers:[{urls:ll}]})}catch{this.fail(`no_webrtc`);return}this.pc=e;let n=e.createDataChannel(t.label??`join`,{ordered:!0});if(n.binaryType=`arraybuffer`,this.dc=n,n.onopen=()=>this.opened(n),n.onmessage=e=>this.fromChannel(e.data),n.onclose=()=>{this.dc===n&&this.dropped()},t.video&&e.addTransceiver){try{let t=e.addTransceiver(`video`,{direction:`recvonly`}),n=pl(globalThis.RTCRtpReceiver?.getCapabilities?.(`video`));n.length&&t.setCodecPreferences&&t.setCodecPreferences(n)}catch{}try{e.addTransceiver(`audio`,{direction:`recvonly`})}catch{}e.ontrack=t=>{if(this.pc!==e)return;let n=this.media?.stream??t.streams[0]??new MediaStream;n.getTracks().includes(t.track)||n.addTrack(t.track),this.media=t.track.kind===`audio`?{stream:n,receiver:this.media?.receiver??t.receiver,audio:t.receiver}:{stream:n,receiver:t.receiver,...this.media?.audio?{audio:this.media.audio}:{}}}}e.onicecandidate=t=>{if(this.pc!==e)return;let n=t.candidate;if(!n||!n.candidate||!ul(n.candidate))return;let r={type:`candidate`,candidate:n.candidate,sdpMid:n.sdpMid??`0`};this.offerSent?this.signal(r):this.ownEarly.push(r)},e.oniceconnectionstatechange=()=>{if(this.pc!==e)return;let t=e.iceConnectionState;o(`ice: ${t}`),t===`failed`&&(this.readyState===0?this.fail(`no_direct`):this.dropped())},this.offerSdp=(async()=>{let t=await e.createOffer();return await e.setLocalDescription(t),e.localDescription?.sdp??t.sdp??``})().catch(()=>(this.pc===e&&this.fail(`no_webrtc`),null))}async sendOffer(){let e=this.pc,t=this.offerSdp;if(!e||!t||this.offerSent)return;this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,this.readyState===0&&this.fail(`no_direct`)},a);let n=await t;if(this.pc===e&&n!==null&&this.readyState===0){this.signal({type:`offer`,sdp:n}),this.offerSent=!0;for(let e of this.ownEarly.splice(0))this.signal(e)}}async onSignal(t){let n=this.pc;if(t.type===`bye`)this.fail(t.why===`full`?`net_full`:`offer`);else if(n){if(t.type===`answer`){if(this.answered||typeof t.sdp!=`string`)return;if(e.fp?!il(t.sdp,e.fp):rl(t.sdp)===null){o(`answer: fingerprint does not match the link`),this.fail(`mismatch`);return}this.answered=!0;try{await n.setRemoteDescription({type:`answer`,sdp:t.sdp});for(let e of this.early.splice(0))await n.addIceCandidate(e).catch(()=>{})}catch{this.fail(`offer`)}}else if(t.type===`candidate`&&typeof t.candidate==`string`&&t.candidate){let e={candidate:t.candidate,sdpMid:typeof t.sdpMid==`string`?t.sdpMid:`0`,sdpMLineIndex:typeof t.sdpMLineIndex==`number`?t.sdpMLineIndex:0};this.answered?await n.addIceCandidate(e).catch(()=>{}):this.early.push(e)}}}opened(e){this.dc===e&&this.readyState===0&&(this.clearTimer(),this.readyState=1,o(`channel open`),this.leaveHub(),this.onopen?.(new Event(`open`)))}fromChannel(e){if(this.readyState!==1)return;if(typeof e==`string`){this.onmessage?.(new MessageEvent(`message`,{data:e}));return}if(!(e instanceof ArrayBuffer))return;let t=this.rx.push(e);switch(t.kind){case`ping`:try{this.dc?.send(cl(t.data))}catch{}return;case`message`:this.onmessage?.(new MessageEvent(`message`,{data:t.data}));return;case`error`:o(`channel: bad binary message (${t.why})`),this.dropped();return;default:return}}async netPath(){let e=this.pc;if(!e||this.readyState!==1||typeof e.getStats!=`function`)return null;try{return tl(await e.getStats())}catch{return null}}send(e){let t=this.dc;if(this.readyState!==1||!t||t.readyState!==`open`)throw Error(`not open`);if(typeof e==`string`){t.send(e);return}let n=ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e);for(let e of ol(n))t.send(e)}close(){this.readyState!==3&&(this.teardown(),this.emitClose(1e3,``,!0))}clearTimer(){this.timer&&clearTimeout(this.timer),this.timer=null}leaveHub(){let e=this.hub;if(this.hub=null,e)try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}hubRestarting(){let e=Date.now();return this.hubBackUntil||=e+fl,e>=this.hubBackUntil?!1:(o(`hub: restarting, trying again`),this.clearTimer(),this.leaveHub(),this.closePeer(),this.answered=!1,this.early=[],this.timer=setTimeout(()=>{this.timer=null,this.begin()},dl),!0)}teardown(){this.readyState=3,this.clearTimer(),this.leaveHub(),this.closePeer()}closePeer(){let e=this.pc,t=this.dc;this.pc=null,this.dc=null,this.media=null,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[];try{t?.close()}catch{}try{e?.close()}catch{}}dropped(){this.readyState!==3&&(this.teardown(),this.emitClose(1006,``,!1))}fail(e){this.readyState!==3&&(o(`failed: ${e}`),this.teardown(),this.emitClose(He,`net:${e}`,!1))}emitClose(e,t,n){let r=this.onclose;if(!r)return;let i=typeof CloseEvent>`u`?{type:`close`,code:e,reason:t,wasClean:n}:new CloseEvent(`close`,{code:e,reason:t,wasClean:n});setTimeout(()=>r(i),0)}}return n=s,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,s}var yl=3e3;function H(e,t){return/^https?:\/\/[^/?#]+(\/[^?#]*)?\/join\/?$/.test(e)?e.replace(/^http/,`ws`).replace(/\/join\/?$/,`/${t}`):null}var bl=e=>H(e,`api/join/signal`);function xl(e){let t=[];if(e.rtc){let n=e.net??{room:``,key:``,fp:e.fp??``,hub:``};for(let[r,i]of[[`lan`,e.lan],[`tailscale`,e.ts]]){let a=i?bl(i):null;if(!a)continue;let o=e.rtcMake(n,{signalUrl:e.reach(a),...e.net?{}:{lan:!0}});t.push({via:r,make:()=>new o(``),pinned:!!n.fp})}if(e.net){let n=e.rtcMake(e.net,{});t.push({via:`hub`,make:()=>new n(``),pinned:!0})}}let n=e.lan?H(e.lan,`api/join/ws`):null;if(n){let r=e.reach(n);t.push({via:`socket`,make:()=>e.socket(r)})}return t}var Sl=new Map;function Cl(e,t,n=300,r=yl){let i=e.some(e=>e===`lan`||e===`tailscale`),a=e.some(e=>e!==`socket`);return e.map(e=>e===t?0:e===`hub`&&i?n:e===`socket`&&a?r:0)}function wl(e){let t=e.find(e=>e.via===`hub`),n=e.find(e=>(e.via===`lan`||e.via===`tailscale`)&&[`no_direct`,`net_full`,`offer`].includes(Ue(e.e)??``));return t&&(Ue(t.e)!==`no_hub`||!n)?t.e:n?n.e:t?.e??e[e.length-1]?.e??null}function Tl(e,t){var n;let r=t.log??(()=>{}),i=t.headStartMs??300,a=t.socketAfterMs??3e3;class o{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.live=[],this.waiting=[],this.pinned=new Set,this.t0=0,this.closes=[],this.winner=null,setTimeout(()=>this.begin(),0)}get via(){return this.winner?.via??null}get media(){return this.winner?.s?.media??null}async netPath(){let e=this.winner?.s;return e?.netPath?e.netPath():null}begin(){if(this.readyState!==0)return;let n=e();if(!n.length){this.end({type:`close`,code:1006,reason:``,wasClean:!1});return}this.t0=Date.now();for(let e of n)e.pinned&&this.pinned.add(e.via);let r=Cl(n.map(e=>e.via),Sl.get(t.room)??null,i,a);n.forEach((e,t)=>{r[t]===0?this.launch(e.via,e.make):this.waiting.push({via:e.via,make:e.make,timer:setTimeout(()=>this.startWaiting(e.via),r[t])})})}startWaiting(e){let t=this.waiting.findIndex(t=>t.via===e);if(t<0)return;let[n]=this.waiting.splice(t,1);clearTimeout(n.timer),this.launch(n.via,n.make)}launch(e,t){if(this.readyState!==0)return;let n;try{n=t()}catch{this.tryClosed(e,{type:`close`,code:1006,reason:``,wasClean:!1});return}r(`path: trying ${e}`);let i={via:e,s:n};this.live.push(i),n.binaryType=this.binaryType,n.onopen=e=>this.won(i,e),n.onclose=t=>{this.live=this.live.filter(e=>e!==i),this.tryClosed(e,t)},n.onerror=()=>{},n.onmessage=null}tryClosed(e,t){if(this.readyState===0){if(r(`path: ${e} failed after ${Date.now()-this.t0} ms${t?.reason?` (${t.reason})`:``}`),this.closes.push({via:e,e:t}),this.pinned.has(e)&&Ue(t)===`mismatch`){for(let e of this.waiting.filter(e=>e.via===`socket`))clearTimeout(e.timer);this.waiting=this.waiting.filter(e=>e.via!==`socket`)}!this.live.length&&this.waiting.length?this.startWaiting(this.waiting[0].via):!this.live.length&&!this.waiting.length&&this.end(wl(this.closes))}}won(e,n){if(this.readyState!==0)return;this.winner=e,Sl.set(t.room,e.via),r(`path: playing by ${e.via} after ${Date.now()-this.t0} ms`);for(let e of this.waiting.splice(0))clearTimeout(e.timer);for(let t of this.live.splice(0))if(t!==e){t.s.onopen=t.s.onclose=t.s.onmessage=t.s.onerror=null;try{t.s.close()}catch{}}let i=e.s;i.onmessage=e=>this.onmessage?.(e),i.onerror=e=>this.onerror?.(e),i.onclose=e=>{this.readyState!==3&&(this.readyState=3,this.onclose?.(e))},this.readyState=1,t.onWin?.(e.via),this.onopen?.(n)}send(e){if(this.readyState!==1||!this.winner)throw Error(`not open`);this.winner.s.send(e)}close(e,t){if(this.readyState===3)return;let n=this.readyState===1;this.readyState=3;for(let e of this.waiting.splice(0))clearTimeout(e.timer);let r=this.winner?[this.winner,...this.live]:this.live.splice(0);for(let n of r){n.s.onopen=n.s.onclose=n.s.onmessage=n.s.onerror=null;try{n.s.close(e,t)}catch{}}let i=this.onclose;if(i){let r={type:`close`,code:e??1e3,reason:t??``,wasClean:n};setTimeout(()=>i(r),0)}}end(e){if(this.readyState===3)return;this.readyState=3;let t=this.onclose,n=e??{type:`close`,code:1006,reason:``,wasClean:!1};t&&setTimeout(()=>t(n),0)}}return n=o,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,o}ps();var El=new URLSearchParams(location.hash.slice(1)),Dl=El.get(`n`)?.trim()||null,U=nt(location.hash);U&&gl(U);var Ol=(0,x.createRoot)(document.getElementById(`root`));if(U){let e=vl(U,{video:!0,log:e=>console.info(`[join] ${e}`)}),t=Re(location.hash,`join`);Ol.render((0,z.jsx)(Zc,{url:nl(U.hub),invite:U.key,host:Dl,transport:e,lanUrl:t?ze(t,{key:U.key}):null}))}else{let e=El.get(`i`)||null,t=location.pathname.replace(/\/join\/?$/,``),n=`${location.protocol===`https:`?`wss`:`ws`}://${location.host}${t}/api/join/ws`,r=e=>console.info(`[join] ${e}`),i=`${location.origin}${t}/join`,a=typeof RTCPeerConnection>`u`?void 0:Tl(()=>xl({net:null,lan:i,ts:null,fp:tt(El.get(`fp`)),rtc:!0,reach:e=>e,rtcMake:(e,t)=>vl(e,{video:!0,log:r,...t}),socket:e=>new WebSocket(e)}),{room:i,log:r});Ol.render((0,z.jsx)(Zc,{url:n,invite:e,host:Dl,path:el(location.hostname),transport:a,internet:!1}))} +I€wu¸öôú!3å6³‹âVq£³¹´RN£%y10º:pŠ#\:J:b9Hµ7h_Ž:¢I9 _¼™µV,þ <`});var E={a:v};this.setModule=t=>{e.setModule(bi,t)},this.getModule=()=>e.getModule(bi),this.instantiate=()=>(this.getModule().then(e=>WebAssembly.instantiate(e,E)).then(e=>{let t=e.exports;y(t),a=t.g,o(),T(t),n()}),this.ready=new Promise(e=>{n=e}).then(()=>{this.HEAP=a.buffer,this.malloc=x,this.free=C,this.opus_frame_decoder_create=b,this.opus_frame_decode_float_deinterleaved=S,this.opus_frame_decoder_destroy=ee}),this)}var xi=o((()=>{}));function Si(e={}){Si.errors||Object.defineProperties(Si,{errors:{value:new Map([[-1,`OPUS_BAD_ARG: One or more invalid/out of range arguments`],[-2,`OPUS_BUFFER_TOO_SMALL: Not enough bytes allocated in the buffer`],[-3,`OPUS_INTERNAL_ERROR: An internal error was detected`],[-4,`OPUS_INVALID_PACKET: The compressed data passed is corrupted`],[-5,`OPUS_UNIMPLEMENTED: Invalid/unsupported request number`],[-6,`OPUS_INVALID_STATE: An encoder or decoder structure is invalid or already freed`],[-7,`OPUS_ALLOC_FAIL: Memory allocation has failed`]])}}),this._init=()=>new this._WASMAudioDecoderCommon(this).instantiate(this._EmscriptenWASM,this._module).then(e=>{this._common=e,this._inputBytes=0,this._outputSamples=0,this._frameNumber=0,this._input=this._common.allocateTypedArray(this._inputSize,Uint8Array),this._output=this._common.allocateTypedArray(this._outputChannels*this._outputChannelSize,Float32Array);let t=this._common.allocateTypedArray(this._channels,Uint8Array);t.buf.set(this._channelMappingTable),this._decoder=this._common.wasm.opus_frame_decoder_create(this._sampleRate,this._channels,this._streamCount,this._coupledStreamCount,t.ptr,this._preSkip,this._forceStereo)}),Object.defineProperty(this,"ready",{enumerable:!0,get:()=>this._ready}),this.reset=()=>(this.free(),this._init()),this.free=()=>{this._common.free(),this._common.wasm.opus_frame_decoder_destroy(this._decoder),this._common.wasm.free(this._decoder)},this._decode=e=>{if(!(e instanceof Uint8Array))throw Error(`Data to decode must be Uint8Array. Instead got `+typeof e);this._input.buf.set(e);let t=this._common.wasm.opus_frame_decode_float_deinterleaved(this._decoder,this._input.ptr,e.length,this._output.ptr),n;return t<0&&(n=`libopus `+t+` `+(Si.errors.get(t)||`Unknown Error`),console.error(n),t=0),{outputBuffer:this._common.getOutputChannels(this._output.buf,this._outputChannels,t),samplesDecoded:t,error:n}},this.decodeFrame=e=>{let t=[],n=this._decode(e);return n.error&&this._common.addError(t,n.error,e.length,this._frameNumber,this._inputBytes,this._outputSamples),this._frameNumber++,this._inputBytes+=e.length,this._outputSamples+=n.samplesDecoded,this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(t,[n.outputBuffer],this._outputChannels,n.samplesDecoded,this._sampleRate)},this.decodeFrames=e=>{let t=[],n=[],r=0,i=0;for(;itypeof e==`number`,n=e.sampleRate,r=e.channels,i=e.streamCount,a=e.coupledStreamCount,o=e.channelMappingTable,s=e.preSkip,c=+!!e.forceStereo;if(r>2&&(!t(i)||!t(a)||!Array.isArray(o)))throw Error(`Invalid Opus Decoder Options for multichannel decoding.`);return this._sampleRate=[8e3,12e3,16e3,24e3,48e3].includes(n)?n:48e3,this._channels=t(r)?r:2,this._streamCount=t(i)?i:1,this._coupledStreamCount=t(a)?a:this._channels-1,this._channelMappingTable=o||(this._channels===2?[0,1]:[0]),this._preSkip=s||0,this._forceStereo=r<=8&&r!=2?c:0,this._inputSize=3840*this._channels,this._outputChannelSize=5760,this._outputChannels=this._forceStereo?2:this._channels,this._ready=this._init(),this}var Ci=o((()=>{yi(),xi()})),wi,Ti=o((()=>{yi(),xi(),Ci(),wi=class extends hi{constructor(e){super(e,`opus-decoder`,Si,bi)}async decodeFrame(e){return this.postToDecoder(`decodeFrame`,e)}async decodeFrames(e){return this.postToDecoder(`decodeFrames`,e)}}})),Ei=c({OpusDecoder:()=>Si,OpusDecoderWebWorker:()=>wi}),Di=o((()=>{Ci(),Ti(),yi(),_i(Si,`OpusDecoder`),_i(wi,`OpusDecoderWebWorker`)})),Oi=[8e3,12e3,16e3,24e3,48e3],ki=null;function Ai(){return ki??=Xn(()=>Promise.resolve().then(()=>(Di(),Ei)),__VITE_PRELOAD__,import.meta.url).catch(e=>{throw ki=null,e}),ki}function ji(){return typeof WebAssembly==`object`&&typeof WebAssembly.instantiate==`function`}function Mi(e,t,n,r){return{numberOfFrames:t,numberOfChannels:e.length,sampleRate:n,timestamp:r,format:`f32-planar`,duration:Math.round(t/n*1e6),copyTo(n,r){n.set(e[r.planeIndex].subarray(0,t))},close(){}}}var Ni=class{constructor(e,t=Ai){this.init=e,this.load=t,this.state=`unconfigured`,this.dec=null,this.pending=[]}configure(e){if(this.state===`closed`)throw Error(`the decoder is closed`);if(!ji())throw Error(`no WebAssembly here`);let t=e.sampleRate;if(!Oi.includes(t))throw Error(`Opus does not decode at ${t} Hz`);let n=e.numberOfChannels;if(n<1||n>2)throw Error(`${n} channels: only mono and stereo are decoded`);this.state=`configured`,this.load().then(async e=>{if(this.state===`closed`)return;let r=new e.OpusDecoder({channels:n,sampleRate:t});if(await r.ready,this.state!==`configured`){r.free();return}this.dec=r;let i=this.pending;this.pending=[];for(let e of i)this.state===`configured`&&this.run(e)}).catch(e=>this.fail(e))}decode(e){if(this.state!==`configured`)return;let t=e;if(this.dec)return this.run(t);this.pending.push({timestamp:t.timestamp,data:t.data.slice()}),this.pending.length>50&&this.pending.shift()}run(e){let t=this.dec;if(!t)return;let n;try{n=t.decodeFrame(e.data)}catch(e){return this.fail(e)}n.samplesDecoded&&n.channelData.length&&this.init.output(Mi(n.channelData,n.samplesDecoded,n.sampleRate,e.timestamp))}fail(e){if(this.state===`closed`)return;this.close();let t=e instanceof Error?e:Error(String(e));queueMicrotask(()=>this.init.error(t))}close(){this.state=`closed`,this.pending=[];let e=this.dec;this.dec=null;try{e?.free()}catch{}}},Pi={makeDecoder:e=>new Ni(e),makeChunk:e=>({type:e.type,timestamp:e.timestamp,data:e.data instanceof Uint8Array?e.data:new Uint8Array(e.data)})};function Fi(e,t){for(let n=0;n+3>1&63;if(t>=16&&t<=21)return!0;if(t<16)return!1}else{let t=e[n+3]&31;if(t===5)return!0;if(t===1)return!1}}return!1}function Ii(e){for(let t=0;t+6e.toString(16).padStart(2,`0`);return`avc1.${n(e[t+4])}${n(e[t+5])}${n(e[t+6])}`}return`avc1.4d4028`}var Li=[`hev1.1.6.L153.B0`,`hvc1.1.6.L153.B0`,`hev1.2.4.L153.B0`,`hvc1.2.4.L153.B0`,`hev1.1.6.L150.90`];async function Ri(e,t){if(typeof VideoDecoder>`u`)return null;for(let n of Li)try{if((await VideoDecoder.isConfigSupported({codec:n,codedWidth:e,codedHeight:t})).supported)return n}catch{}return null}function zi(e){let t=[];for(let n=0;n+2{let i=r+1n&&e[i-1]===0;)i--;return e.subarray(n,i)}).filter(e=>e.length>0)}var Bi=(e,t)=>t?e[0]>>1&63:e[0]&31;function Vi(e,...t){let n=8+t.reduce((e,t)=>e+t.length,0),r=new Uint8Array(n);new DataView(r.buffer).setUint32(0,n);for(let t=0;t<4;t++)r[4+t]=e.charCodeAt(t);let i=8;for(let e of t)r.set(e,i),i+=e.length;return r}function F(...e){let t=new Uint8Array(e.reduce((e,[,t])=>e+t,0)),n=0;for(let[r,i]of e){for(let e=i-1;e>=0;e--)t[n+i-1-e]=Math.floor(r/2**(8*e))&255;n+=i}return t}var Hi=(e,t,n,...r)=>Vi(e,F([t,1],[n,3]),...r),Ui=F([65536,4],[0,4],[0,4],[0,4],[65536,4],[0,4],[0,4],[0,4],[1073741824,4]);function Wi(e){let t=e.handler===`vide`,n=Vi(`ftyp`,new TextEncoder().encode(`isom`),F([1,4]),new TextEncoder().encode(`isomiso6mp41`)),r=Vi(`moov`,Hi(`mvhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[65536,4],[256,2],[0,2],[0,4],[0,4]),Ui,new Uint8Array(24),F([2,4])),Vi(`trak`,Hi(`tkhd`,0,3,F([0,4],[0,4],[1,4],[0,4],[0,4],[0,4],[0,4],[0,2],[0,2],[t?0:256,2],[0,2]),Ui,F([(e.width??0)*65536,4],[(e.height??0)*65536,4])),Vi(`mdia`,Hi(`mdhd`,0,0,F([0,4],[0,4],[e.timescale,4],[0,4],[21956,2],[0,2])),Hi(`hdlr`,0,0,F([0,4]),new TextEncoder().encode(e.handler),new Uint8Array(12),F([0,1])),Vi(`minf`,t?Hi(`vmhd`,0,1,new Uint8Array(8)):Hi(`smhd`,0,0,F([0,4])),Vi(`dinf`,Hi(`dref`,0,0,F([1,4]),Hi(`url `,0,1))),Vi(`stbl`,Hi(`stsd`,0,0,F([1,4]),e.sampleEntry),Hi(`stts`,0,0,F([0,4])),Hi(`stsc`,0,0,F([0,4])),Hi(`stsz`,0,0,F([0,4],[0,4])),Hi(`stco`,0,0,F([0,4])))))),Vi(`mvex`,Hi(`trex`,0,0,F([1,4],[1,4],[0,4],[0,4],[0,4])))),i=new Uint8Array(n.length+r.length);return i.set(n,0),i.set(r,n.length),i}function Gi(e,t,n,r,i){let a=i?33554432:16842752,o=e=>Hi(`trun`,0,1793,F([1,4],[e,4],[n,4],[r.length,4],[a,4])),s=e=>Vi(`traf`,Hi(`tfhd`,0,131072,F([1,4])),Hi(`tfdt`,1,0,F([t,8])),o(e)),c=Hi(`mfhd`,0,0,F([e,4])),l=Vi(`moof`,c,s(0)).length,u=Vi(`moof`,c,s(l+8)),d=Vi(`mdat`,r),f=new Uint8Array(u.length+d.length);return f.set(u,0),f.set(d,u.length),f}function Ki(e,t,n=!1){let r=t?[35,...n?[32,33,34]:[]]:[9,...n?[7,8]:[]],i=zi(e).filter(e=>!r.includes(Bi(e,t))),a=new Uint8Array(i.reduce((e,t)=>e+4+t.length,0)),o=new DataView(a.buffer),s=0;for(let e of i)o.setUint32(s,e.length),a.set(e,s+4),s+=4+e.length;return a}var qi=e=>e.toString(16).padStart(2,`0`),Ji=e=>{let t=new Uint8Array(2+e.length);return t[0]=e.length>>8,t[1]=e.length&255,t.set(e,2),t},Yi=e=>{let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t};function Xi(e){let t=zi(e),n=t.filter(e=>Bi(e,!1)===7),r=t.filter(e=>Bi(e,!1)===8);return!n.length||!r.length||n[0].length<4?null:Yi([F([1,1],[n[0][1],1],[n[0][2],1],[n[0][3],1],[255,1],[224|n.length,1]),...n.map(Ji),F([r.length,1]),...r.map(Ji)])}function Zi(e,t,n){let r=zi(e),i=e=>r.filter(n=>Bi(n,t)===e),a=(e,t)=>Vi(e,new Uint8Array(6),F([1,2],[0,16],[n.w,2],[n.h,2],[4718592,4],[4718592,4],[0,4],[1,2]),new Uint8Array(32),F([24,2],[65535,2]),t);if(!t){let t=i(7),r=Xi(e);return r?{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`avc1`,Vi(`avcC`,r)),width:n.w,height:n.h}),mime:`video/mp4; codecs="avc1.${qi(t[0][1])}${qi(t[0][2])}${qi(t[0][3])}"`}:null}let o=i(32),s=i(33),c=i(34);if(!o.length||!s.length||!c.length)return null;let l=Xr(s[0]);if(l.length<15)return null;let u=l.subarray(3,15),d=u[0]&31,f=d===2?2:0,p=(e,t)=>Yi([F([128|e,1],[t.length,2]),...t.map(Ji)]),m=Vi(`hvcC`,F([1,1]),u,F([61440,2],[252,1],[253,1],[248|f,1],[248|f,1],[0,2],[15,1],[3,1]),p(32,o),p(33,s),p(34,c)),h=[``,`A`,`B`,`C`][u[0]>>6],g=0,_=(u[1]<<24|u[2]<<16|u[3]<<8|u[4])>>>0;for(let e=0;e<32;e++)_&1<>>0).toString(16),`${u[0]&32?`H`:`L`}${u[11]}`,...v.map(e=>e.toString(16))].join(`.`);return{init:Wi({handler:`vide`,timescale:9e4,sampleEntry:a(`hvc1`,m),width:n.w,height:n.h}),mime:`video/mp4; codecs="${y}"`}}function Qi(e,t,n,r,i,a){return Gi(e,t,n,Ki(r,i),a)}function $i(e,t){let n=Vi(`dOps`,F([0,1],[e,1],[312,2],[t,4],[0,2],[0,1]));return Wi({handler:`soun`,timescale:48e3,sampleEntry:Vi(`Opus`,new Uint8Array(6),F([1,2],[0,8],[e,2],[16,2],[0,4],[3145728e3,4]),n)})}function ea(e){if(!e.length)return 960;let t=e[0]>>3,n=t<12?[480,960,1920,2880][t%4]:t<16?[480,960][t%2]:[120,240,480,960][t%4],r=e[0]&3,i=r===0?1:r===3?(e[1]??1)&63:2;return n*Math.max(1,i)}function ta(e,t,n){return Gi(e,t,ea(n),n,!0)}var na={watch:30,player:4},ra={watch:{seek:.5,speed:1/0,target:.05},player:{seek:.15,speed:.06,target:.02}},ia={seek:.8,speed:.25,target:.12};function aa(e,t,n){let r=typeof n==`string`?ra[n]:n;return e>r.seek?{seekTo:t-r.target,rate:1}:e>r.speed?{seekTo:null,rate:1.1}:{seekTo:null,rate:1}}function oa(e,t=`watch`,n){return typeof VideoDecoder<`u`?new ha(e,t,n):new ka(e,t,n)}var sa=class{constructor(e,t=()=>performance.now()){this.ask=e,this.now=t,this.last=-1/0}waiting(){if(!this.ask)return;let e=this.now();e-this.last<1e3||(this.last=e,this.ask())}};function I(e){return e.length<3?null:{index:e[0]<<8|e[1],packet:e.subarray(2)}}var L=class{constructor(){this.last=-1}take(e){if(this.last>=0){let t=e-this.last&65535;if(t===0||t>=32768)return!1}return this.last=e,!0}reset(){this.last=-1}};function ca(e){if(e.length>=10)return e;let t=new Uint8Array(10);t.set(e.subarray(0,6));let n=new DataView(t.buffer);return n.setUint32(6,Math.round(n.getUint32(2)/100)||480),t}function la(e,t){return{snd:e,snd_decoded:t.decoded,snd_concealed:t.concealed,snd_underruns:t.underruns,snd_dropped:t.dropped}}var ua=class{constructor(e,t=.2){this.min=e,this.max=t,this.next=0,this.calmSince=0,this.minLead=1/0,this.windowAt=0,this.underruns=0,this.dropped=0,this.cushion=e}at(e,t){this.next0&&(this.underruns++,this.cushion=Math.min(this.max,this.cushion+.02)),this.calmSince=e,this.next=e+this.cushion,this.minLead=1/0,this.windowAt=e):e-this.calmSince>10&&this.cushion>this.min&&(this.cushion=Math.max(this.min,this.cushion-.01),this.calmSince=e);let n=this.next-e;if(n>this.cushion+.15)return this.dropped++,null;if(this.minLead=Math.min(this.minLead,n),e-this.windowAt>=.25){let t=this.minLead>this.cushion+da;if(this.minLead=1/0,this.windowAt=e,t)return this.dropped++,null}let r=this.next;return this.next+=t,r}reset(){this.next=0}},da=.02;async function fa(e,t){try{return typeof AudioDecoder>`u`?!1:!!(await AudioDecoder.isConfigSupported({codec:`opus`,sampleRate:e,numberOfChannels:t})).supported}catch{return!1}}var pa=class{constructor(e,t=()=>performance.now()){this.decoder=e,this.now=t,this.n={frames:0,dropped:0,late:0,stalls:0,stall_ms:0,worst_stall_ms:0,key_waits:0},this.a=0,this.d=0,this.w=!1,this.q=[],this.sum=0,this.cnt=0,this.codec=``}get frames(){return this.n.frames}arrived(){let e=this.now();this.a&&e-this.a>50&&this.n.late++,this.a=e}drop(){this.n.dropped++,this.w||this.n.key_waits++,this.w=!0}decoding(){this.w=!1,this.q.push(this.now())>64&&this.q.shift()}drawn(e=!1){let t=this.now(),n=e?this.q.shift():void 0;n!==void 0&&(this.sum+=t-n,this.cnt++);let r=this.d?t-this.d:0;r>100&&this.stall(r),this.d=t,this.n.frames++}stall(e){this.n.stalls++,this.n.stall_ms+=e,this.n.worst_stall_ms=Math.max(this.n.worst_stall_ms,e)}snapshot(){let e=this.d?this.now()-this.d:0,t={...this.n,decoder:this.decoder};this.codec&&(t.codec=this.codec),e>100&&(t.stalls=this.n.stalls+1,t.stall_ms=this.n.stall_ms+e,t.worst_stall_ms=Math.max(this.n.worst_stall_ms,e));for(let e of[`stall_ms`,`worst_stall_ms`])t[e]=Math.round(t[e]);return t.decode_ms=this.cnt?Math.round(this.sum/this.cnt*10)/10:0,this.sum=this.cnt=0,t}},ma=[`pointerup`,`touchend`,`click`,`keydown`],ha=class{get element(){if(!this.wrap){let e=document.createElement(`div`);e.className=`h-full w-full`,e.append(this.canvas),this.mse&&e.append(this.mse.element),this.wrap=e}return this.wrap}get stats(){return this.mse?.stats??this.ownStats}soundReport(){return this.soundOn?this.mseSound?this.mseSound.report():la(this.soundWasm?`wasm`:`webcodecs`,this.soundStats):null}constructor(e,t=`watch`,n){this.onProblem=e,this.latency=t,this.onNeedKey=n,this.canvas=document.createElement(`canvas`),this.wrap=null,this.mse=null,this.failsNoPicture=0,this.ctx=this.canvas.getContext(`2d`,{alpha:!1}),this.hevc=!1,this.header=null,this.spsRect=null,this.software=!1,this.video=null,this.opening=!1,this.stopped=!1,this.sawKey=!1,this.ownStats=new pa(`webcodecs`),this.problemShown=!1,this.ts=0,this.pipe=null,this.audioGen=0,this.actx=null,this.soundOn=!1,this.unarm=null,this.mseSound=null,this.audioHeader=null,this.soundWasm=!1,this.onSoundFail=null,this.muted=!1,this.keyAsk=new sa(n),this.clock=new ua(t===`player`?.05:.08),typeof AudioDecoder>`u`&&va()&&(this.mseSound=new ya(t,()=>this.mseSoundFailed())),this.canvas.className=`block h-full w-full object-contain`,this.canvas.dataset.testid=`watch-canvas`}setHevc(e){this.hevc=e,this.header&&(this.spsRect=ni(this.header,e)),this.mse?.setHevc(e)}get onMse(){return!!this.mse}decodeFailed(){if(this.mse||this.ownStats.frames>0||++this.failsNoPicture<3||!xa())return!1;let e=new ka(this.onProblem,this.latency,this.onNeedKey);e.setHevc(this.hevc),e.markProblemShown(),this.mse=e;let t=this.video;this.video=null;try{t?.close()}catch{}return this.canvas.style&&(this.canvas.style.display=`none`),this.wrap?.append(e.element),this.header&&e.onMessage(new Uint8Array([0,...this.header]).buffer),this.onNeedKey?.(),!0}startSound(){this.soundOn=!0,ga(),this.mseSound?this.mseSound.start():this.openContext()}openContext(){try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{})}catch{this.onSoundFail?.()}}get sound(){return this.soundOn}setMuted(e){this.muted=e,this.mseSound?.setMuted(e)}resumeSound(){if(!this.soundOn)return;if(this.mseSound)return this.mseSound.resume();let e=this.actx;e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}get soundStats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped,cushionMs:Math.round(this.clock.cushion*1e3)}}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}onMessage(e){let t=new Uint8Array(e);if(t.length<1||this.stopped)return;let n=t[0],r=t.subarray(1);if(this.mse&&(n===0||n===1))return n===0&&(this.header=r.slice()),this.mse.onMessage(e);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?this.openAudio(r.slice()):n===4&&this.onAudio(r)}async openVideo(e){if(this.header=e,this.spsRect=ni(e,this.hevc),!this.opening){this.opening=!0;try{let t=this.hevc?await Aa(e):Ii(e);if(this.mse||this.stopped)return;if(!t){this.problemShown=!0,this.onProblem(`no_hevc`);return}this.ownStats.codec=t;let n=this.hevc?void 0:Xi(e)??void 0;try{this.video?.close()}catch{}let r=new VideoDecoder({output:e=>{let t=this.realVisible(e),n=this.canvas;(n.width!==t.displayWidth||n.height!==t.displayHeight)&&(n.width=t.displayWidth,n.height=t.displayHeight),this.ctx?.drawImage(t,0,0,n.width,n.height),this.ownStats.drawn(!0),t.close(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))},error:()=>{this.video===r&&(this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()||this.rebuild())}}),i={codec:t,optimizeForLatency:!0};n&&(i.description=n),this.software&&(i.hardwareAcceleration=`prefer-software`),r.configure(i),this.video=r,this.sawKey=!1}catch{this.problemShown=!0,this.onProblem(`decode`),this.decodeFailed()}finally{this.opening=!1}}}realVisible(e){let t=this.spsRect,n=ri(e,t);if(n)try{let t=new VideoFrame(e,{visibleRect:{x:n.x,y:n.y,width:n.w,height:n.h},displayWidth:n.w,displayHeight:n.h});return e.close(),t}catch{return e}let r=e.visibleRect;if(t&&r&&!this.software&&(r.width{if(this.video===e){try{e?.close()}catch{}this.rebuild(),this.onNeedKey?.()}})}return e}rebuild(){this.mse||this.stopped||(this.video=null,this.sawKey=!1,this.header&&this.openVideo(this.header).then(()=>this.keyAsk.waiting()))}onVideo(e){let t=this.video;if(t?.state===`closed`){this.opening||this.rebuild();return}if(!t||t.state!==`configured`)return;let n=Fi(e,this.hevc);if(this.ownStats.arrived(),!this.sawKey&&!n)return this.ownStats.drop(),this.keyAsk.waiting();if(!n&&t.decodeQueueSize>na[this.latency])return this.sawKey=!1,this.ownStats.drop(),this.keyAsk.waiting();this.sawKey=!0;let r=e;this.hevc?n&&this.header&&(r=new Uint8Array(this.header.length+e.length),r.set(this.header,0),r.set(e,this.header.length)):r=Ki(e,!1,!0),this.ts+=16667,this.ownStats.decoding(),t.decode(new EncodedVideoChunk({type:n?`key`:`delta`,timestamp:this.ts,data:r}))}openAudio(e){if(e.length<6)return;let t=++this.audioGen;if(this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.audioHeader=e,this.mseSound)return this.mseSound.setHeader(e);let n=e[0];fa(new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2),n).then(n=>{if(t!==this.audioGen)return;if(!n)return va()?this.soundThroughMse(e):this.soundThroughWasm(e);let r=new si((e,t)=>this.play(e,t,r.sampleRate));try{r.header(ca(e)),this.pipe=r}catch{this.soundThroughMse(e)}})}soundThroughMse(e){this.pipe=null,this.mseSound||(this.mseSound=new ya(this.latency,()=>this.mseSoundFailed()),this.soundOn&&this.mseSound.start()),this.mseSound.setHeader(e)}soundThroughWasm(e){this.pipe?.reset(),this.soundWasm=!0;let t=new si((e,n)=>this.play(e,n,t.sampleRate),Pi,()=>{this.pipe===t&&(this.pipe=null),this.onSoundFail?.()});this.pipe=t,t.header(ca(e))}mseSoundFailed(){let e=this.mseSound;e&&(this.mseSound=null,e.stop(),this.soundOn&&(this.openContext(),this.actx&&this.actx.state!==`running`&&this.armResume()),this.audioHeader&&this.soundThroughWasm(this.audioHeader))}onAudio(e){if(this.mseSound)return this.mseSound.frame(e);this.soundOn&&this.pipe&&this.pipe.packet(e)}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a)}stop(){this.stopped=!0;try{this.video?.close()}catch{}this.mse?.stop(),this.audioGen++,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.mseSound?.stop()}};function ga(){try{let e=navigator.audioSession;e&&e.type!==`playback`&&(e.type=`playback`)}catch{}}function _a(e,t){try{return e.isTypeSupported(t)}catch{return!1}}function va(){let e=typeof window>`u`?null:xa();return!!e&&(_a(e,`audio/mp4; codecs="Opus"`)||_a(e,`audio/mp4; codecs="opus"`))}var ya=class{constructor(e,t,n=document.createElement(`audio`)){this.onFail=t,this.header=null,this.time=0,this.on=!1,this.failed=!1,this.order=new L,this.el=n,this.track=new Ta(n,()=>this.fail(),e===`player`?ia:e)}get playing(){return this.on&&!this.failed}report(){return{snd:`mse`,snd_jumps:this.track.seeks}}setHeader(e){this.header=e,this.on&&this.open()}start(){if(!this.on&&(this.on=!0,this.header&&this.open(),!this.failed))try{this.el.play()?.catch?.(()=>{})}catch{}}frame(e){if(!this.on||this.failed||!this.track.ready&&!this.track.backlog)return;let t=I(e);if(!t||!this.order.take(t.index))return;let n=ta(this.track.nextSeq(),this.time,t.packet);this.time+=ea(t.packet),this.track.push(n)}setMuted(e){this.el.muted=e}resume(){if(this.playing&&this.el.paused)try{this.el.play()?.catch?.(()=>{})}catch{}}stop(){this.on=!1,this.track.close()}open(){let e=this.header;if(!e||e.length<6||this.failed)return;let t=e[0],n=$i(t,new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(2));this.track.open(`audio/mp4; codecs="Opus"`,n)||this.track.open(`audio/mp4; codecs="opus"`,n)?(this.time=0,this.order.reset()):this.fail()}fail(){this.failed||(this.failed=!0,this.onFail())}},ba=class{constructor(e,t,n=Pi){this.onFail=t,this.codecs=n,this.actx=null,this.pipe=null,this.header=null,this.on=!1,this.failed=!1,this.muted=!1,this.unarm=null,this.played=!1,this.clock=new ua(e===`player`?.05:.08)}get playing(){return this.on&&!this.failed}get stats(){return{decoded:this.pipe?.decoded??0,concealed:this.pipe?.concealed??0,underruns:this.clock.underruns,dropped:this.clock.dropped}}start(){if(!this.failed){this.on=!0,ga();try{if(!this.actx){let e=new AudioContext({latencyHint:`interactive`});this.actx=e,e.onstatechange=()=>{this.actx===e&&e.state!==`running`&&e.state!==`closed`&&this.armResume()}}this.actx.resume().catch(()=>{}),this.actx.state!==`running`&&this.armResume()}catch{return this.fail()}this.header&&!this.pipe&&this.open()}}setHeader(e){e.length<6||(this.header=e,this.pipe?.reset(),this.pipe=null,this.clock.reset(),this.on&&this.open())}frame(e){this.on&&!this.failed&&this.pipe?.packet(e)}setMuted(e){this.muted=e}resume(){let e=this.actx;this.playing&&e&&e.state!==`running`&&e.state!==`closed`&&(this.clock.reset(),e.resume().catch(()=>{}),this.armResume())}stop(){this.on=!1,this.pipe?.reset(),this.pipe=null,this.unarm?.(),this.actx?.close().catch(()=>{}),this.actx=null}open(){let e=this.header;if(!e||this.failed)return;let t=new si((e,n)=>this.play(e,n,t.sampleRate),this.codecs,()=>{this.pipe===t&&this.fail()});this.pipe=t,t.header(ca(e))}play(e,t,n){let r=this.actx;if(!r||r.state!==`running`||!e.length)return;let i=e[0].length,a=this.clock.at(r.currentTime,i/n);if(a===null)return;let o=r.createBuffer(e.length,i,n),s=this.muted?0:t;e.forEach((e,t)=>o.copyToChannel(s===1?e:e.map(e=>e*s),t));let c=r.createBufferSource();c.buffer=o,c.connect(r.destination),c.start(a),this.played=!0}armResume(){if(this.unarm||typeof window>`u`||!window.addEventListener)return;let e=()=>{let e=this.actx;if(!e||e.state===`closed`)return this.unarm?.();this.clock.reset(),e.resume().then(()=>{e.state===`running`&&this.unarm?.()}).catch(()=>{})};for(let t of ma)window.addEventListener(t,e,!0);this.unarm=()=>{for(let t of ma)window.removeEventListener(t,e,!0);this.unarm=null}}fail(){this.failed||(this.failed=!0,this.stop(),this.onFail())}};function xa(){let e=window;return e.ManagedMediaSource??e.MediaSource??null}var Sa=10,Ca=3;function wa(e,t,n,r=Ca){let i=null;for(let a of e)a>t&&a<=n-r&&(i=a);return i}var Ta=class{constructor(e,t,n=`watch`,r,i=()=>performance.now()){this.el=e,this.onError=t,this.latency=n,this.onNeedKey=r,this.now=i,this.ms=null,this.sb=null,this.queue=[],this.mime=``,this.seq=1,this.ready=!1,this.dropped=!1,this.keys=null,this.seeks=0,this.maxLagS=0,this.fromZero=0,this.trims=0,this.lastJump=null,this.trimAt=-1,this.trimFrom=-1,this.keyAt=-1,this.attached=null,r&&(this.keys=[])}setEdge(e){this.latency=e}markKey(e){this.keys?.push(e),this.keyAt=this.now()}open(e,t){let n=xa();if(!n||!_a(n,e))return!1;this.close();let r=new n;return this.ms=r,this.mime=e,this.queue=[t],this.seq=1,this.ready=!1,this.keys&&=[],r.addEventListener(`sourceopen`,()=>{if(this.ms===r)try{let e=r.addSourceBuffer(this.mime);e.mode=`segments`,e.addEventListener(`updateend`,()=>this.pump()),e.addEventListener(`error`,()=>this.onError()),this.sb=e,this.ready=!0,this.pump()}catch{this.onError()}}),`ManagedMediaSource`in window&&n===window.ManagedMediaSource&&(this.el.disableRemotePlayback=!0),this.attached=Ea(this.el,r),!0}nextSeq(){return this.seq++}get backlog(){return this.queue.length}push(e){this.queue.push(e),this.pump()}pump(){let e=this.sb;if(!e||e.updating||!this.ready)return;let t=this.el;if(e.buffered.length){let n=e.buffered.end(e.buffered.length-1),r=e.buffered.start(0),i=n-t.currentTime,a=aa(i,n,this.latency);if(a.seekTo!==null){this.seeks++,this.maxLagS=Math.max(this.maxLagS,i);let o=this.now(),s=e=>e<0?-1:Math.round(o-e);t.currentTime<.05&&r>1&&this.fromZero++,this.lastJump={at:t.currentTime,start:r,end:n,ranges:e.buffered.length,readyState:t.readyState,paused:t.paused,seeking:t.seeking,sinceTrimMs:s(this.trimAt),trimFrom:this.trimFrom,sinceKeyMs:s(this.keyAt)},t.currentTime=Math.max(r,a.seekTo)}if(t.playbackRate!==a.rate&&(t.playbackRate=a.rate),t.currentTime-r>Sa&&this.trim(e,r))return}let n=this.queue.shift();if(n){try{e.appendBuffer(n)}catch{this.dropped=!0}t.paused&&t.play().catch(()=>{})}}trim(e,t){let n=this.el.currentTime,r=n-Ca;if(this.keys){if(r=wa(this.keys,t,n),r===null)return(this.keys[this.keys.length-1]??-1/0)<=n-Ca&&this.onNeedKey?.(),!1;let e=r;this.keys=this.keys.filter(t=>t>=e),r-=.001}try{return e.remove(t,r),this.trims++,this.trimAt=this.now(),this.trimFrom=n,!0}catch{return!1}}close(){this.ready=!1,this.sb=null,this.queue=[];let e=this.ms;if(this.ms=null,e&&e.readyState===`open`)try{e.endOfStream()}catch{}if(this.attached===`object`)try{this.el.srcObject=null}catch{}this.attached=null,this.el.src?.startsWith(`blob:`)&&URL.revokeObjectURL(this.el.src),this.el.removeAttribute(`src`)}};function Ea(e,t){if(`srcObject`in e)try{return e.srcObject=t,`object`}catch{}return e.src=URL.createObjectURL(t),`url`}var Da=1e4,Oa=class{constructor(e=3,t=Da,n=()=>performance.now()){this.max=e,this.windowMs=t,this.now=n,this.at=[]}fail(){let e=this.now();return this.at=this.at.filter(t=>e-t=this.max}clear(){this.at=[]}},ka=class{constructor(e,t=`watch`,n,r){this.onProblem=e,this.latency=t,this.wasm=null,this.audioHeader=null,this.muted=!1,this.gaveUp=!1,this.reopening=!1,this.failedWhileOpening=!1,this.wrap=document.createElement(`div`),this.hevc=!1,this.header=null,this.sawKey=!1,this.stats=new pa(`mse`),this.problemShown=!1,this.vTime=0,this.vLast=0,this.soundOn=!1,this.onSoundFail=null,this.onGiveUp=null,this.keyAsk=new sa(n),this.fails=new Oa(3,Da,r);let i=document.createElement(`video`);i.muted=!0,i.autoplay=!0,i.playsInline=!0,i.className=`block h-full w-full object-contain`,i.dataset.testid=`watch-video`,this.audio=new ya(t,()=>this.soundThroughWasm()),this.wrap.className=`h-full w-full`,this.wrap.append(i,this.audio.el),this.video=new Ta(i,()=>this.showProblem(),t,()=>this.keyAsk.waiting()),i.addEventListener(`error`,()=>this.restartVideo()),i.addEventListener(`playing`,()=>{this.fails.clear(),this.problemShown&&(this.problemShown=!1,this.onProblem(null))})}markProblemShown(){this.problemShown=!0}showProblem(){this.problemShown||(this.problemShown=!0,this.onProblem(`decode`))}restartVideo(){if(this.gaveUp)return;if(this.reopening){this.failedWhileOpening=!0;return}if(this.showProblem(),this.fails.fail()){this.gaveUp=!0,this.video.close(),this.onGiveUp?.();return}let e=this.header;if(e){this.header=null,this.reopening=!0,this.failedWhileOpening=!1;try{this.openVideo(e)}finally{this.reopening=!1}this.sawKey=!1,this.keyAsk.waiting(),this.failedWhileOpening&&(this.failedWhileOpening=!1,this.restartVideo())}}get failed(){return this.gaveUp}setVideoEdge(e){this.video.setEdge(e)}get videoSeeks(){return{seeks:this.video.seeks,maxLagMs:Math.round(this.video.maxLagS*1e3),fromZero:this.video.fromZero,trims:this.video.trims,lastJump:this.video.lastJump}}get element(){return this.wrap}resume(){let e=this.video.el;e.paused&&e.play()?.catch?.(()=>{})}setHevc(e){this.hevc=e}startSound(){if(this.soundOn=!0,this.wasm)return this.wasm.start();if(!va())return this.soundThroughWasm();this.audio.start()}soundThroughWasm(){if(this.wasm)return;this.audio.stop();let e=new ba(this.latency,()=>this.onSoundFail?.());this.wasm=e,e.setMuted(this.muted),this.audioHeader&&e.setHeader(this.audioHeader),this.soundOn&&e.start()}resumeSound(){this.soundOn&&(this.wasm?this.wasm.resume():this.audio.resume())}setMuted(e){this.muted=e,this.audio.setMuted(e),this.wasm?.setMuted(e)}soundReport(){return this.soundOn?this.wasm?la(`wasm`,this.wasm.stats):this.audio.report():null}get soundPlaying(){return this.wasm?this.wasm.played:this.audio.playing}get sound(){return this.soundOn}onMessage(e){let t=new Uint8Array(e);if(t.length<1)return;let n=t[0],r=t.subarray(1);n===0?this.openVideo(r.slice()):n===1?this.onVideo(r):n===3?(this.audioHeader=r.slice(),(this.wasm??this.audio).setHeader(this.audioHeader)):n===4&&(this.wasm??this.audio).frame(r)}openVideo(e){let t=!!this.header&&this.header.length===e.length&&this.header.every((t,n)=>t===e[n]);if(t&&this.video.ready)return;if(this.gaveUp){if(t)return;this.gaveUp=!1,this.fails.clear()}this.header=e;let n=ni(e,this.hevc)??{w:1920,h:1080},r=Zi(e,this.hevc,n);r&&(this.stats.codec=/codecs="([^"]+)"/.exec(r.mime)?.[1]??``,this.video.open(r.mime,r.init)?(this.sawKey=!1,this.vTime=0,this.vLast=0):(this.problemShown=!0,this.onProblem(this.hevc?`no_hevc`:`decode`)))}onVideo(e){if(!this.video.ready&&!this.video.backlog)return;let t=Fi(e,this.hevc);if(this.video.dropped&&(this.video.dropped=!1,this.sawKey=!1),this.stats.arrived(),!this.sawKey&&!t)return this.stats.drop(),this.keyAsk.waiting();if(!t&&this.video.backlog>na[this.latency])return this.sawKey=!1,this.stats.drop(),this.keyAsk.waiting();this.sawKey=!0,this.stats.drawn();let n=performance.now(),r=this.vLast?Math.min(9e3,Math.max(750,Math.round((n-this.vLast)*90))):1500;this.vLast=n,t&&this.video.markKey(this.vTime/9e4),this.video.push(Qi(this.video.nextSeq(),this.vTime,r,e,this.hevc,t)),this.vTime+=r}stop(){this.video.close(),this.audio.stop(),this.wasm?.stop()}};async function Aa(e){let t=ii(e);if(t&&typeof VideoDecoder<`u`)try{if((await VideoDecoder.isConfigSupported({codec:t,codedWidth:1920,codedHeight:1080})).supported)return t}catch{}return Ri(1920,1080)}var R={CROSS:1,CIRCLE:2,SQUARE:4,TRIANGLE:8,LEFT:16,RIGHT:32,UP:64,DOWN:128,L1:256,R1:512,L3:1024,R3:2048,OPTIONS:4096,SHARE:8192,TOUCHPAD:16384,PS:32768},ja={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};function Ma(e,t){let n=e=>Math.max(0,Math.min(1,e));return[Math.round(n(e)*1919),Math.round(n(t)*941)]}var Na={ArrowUp:{button:R.UP},ArrowDown:{button:R.DOWN},ArrowLeft:{button:R.LEFT},ArrowRight:{button:R.RIGHT},Enter:{button:R.CROSS},Space:{button:R.CROSS},Backspace:{button:R.CIRCLE},Escape:{button:R.CIRCLE},KeyQ:{button:R.SQUARE},KeyE:{button:R.TRIANGLE},KeyZ:{button:R.L1},KeyC:{button:R.R1},Digit1:{trigger:`l2`},Digit3:{trigger:`r2`},KeyF:{button:R.L3},KeyG:{button:R.R3},Tab:{button:R.OPTIONS},Backquote:{button:R.SHARE},KeyH:{button:R.PS},KeyT:{button:R.TOUCHPAD},KeyW:{stick:`ly`,dir:-1},KeyS:{stick:`ly`,dir:1},KeyA:{stick:`lx`,dir:-1},KeyD:{stick:`lx`,dir:1},KeyI:{stick:`ry`,dir:-1},KeyK:{stick:`ry`,dir:1},KeyJ:{stick:`rx`,dir:-1},KeyL:{stick:`rx`,dir:1}};R.UP,R.DOWN,R.LEFT,R.RIGHT,R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD;var Pa=e=>Math.max(-32768,Math.min(32767,Math.round(e)));function Fa(e,t=Na){let n={...ja};for(let r of e){let e=t[r];e&&(`button`in e?n.buttons|=e.button:`stick`in e?n[e.stick]=Pa(n[e.stick]+e.dir*32767):n[e.trigger]=255)}return n}var Ia=[R.CROSS,R.CIRCLE,R.SQUARE,R.TRIANGLE,R.L1,R.R1,0,0,R.SHARE,R.OPTIONS,R.L3,R.R3,R.UP,R.DOWN,R.LEFT,R.RIGHT,R.PS,R.TOUCHPAD];function La(e){return Math.abs(e)<=1.01?Math.round((e+1)*3.5)%8:null}var Ra=[0,1,1,1,0,-1,-1,-1],za=[-1,-1,0,1,1,1,0,-1];function Ba(e,t){let n=e.axes[t.a]??0;if(t.hat){let e=La(n);return e===null?0:(t.hat===`x`?Ra:za)[e]}return t.inv?-n:n}var Va={buttons:Ia.flatMap((e,t)=>e?[[e,{b:t}]]:[]),l2:{b:6},r2:{b:7},lx:{a:0},ly:{a:1},rx:{a:2},ry:{a:3}};function Ha(e,t,n=!1){if(`b`in t){let r=e.buttons[t.b];return r?n&&r.value>0?Math.min(1,r.value):Math.max(+!!r.pressed,r.value):0}if(`h`in t){let n=La(e.axes[t.h]??9);if(n===null)return 0;let r=(n-t.at+8)%8;return+(r===0||r===1||r===7)}let r=e.axes[t.a];if(r===void 0)return 0;let i=t.rest??0;return Math.min(1,Math.max(0,(r-i)/(t.d-i)))}function Ua(e){if(e.mapping===`standard`)return Va;let t=Wa.get(e.id);if(t)return t;let n=e.axes.findIndex(e=>Math.abs(e)>1.05);if(n<0)return Va;let r={...Va,buttons:[...Va.buttons,[R.UP,{h:n,at:0}],[R.RIGHT,{h:n,at:2}],[R.DOWN,{h:n,at:4}],[R.LEFT,{h:n,at:6}]]};return Wa.set(e.id,r),r}var Wa=new Map;function Ga(e,t=Ua){let n={...ja},r=e=>Math.abs(e)<.08?0:Pa(e*32767),i=(e,t)=>Math.abs(t)>Math.abs(e)?t:e,a=(e,t)=>t?r(Ba(e,t)):0;for(let r of e){if(!r||!r.connected)continue;let e=t(r);for(let[t,i]of e.buttons)Ha(r,i)>.5&&(n.buttons|=t);e.l2&&(n.l2=Math.max(n.l2,Math.round(Ha(r,e.l2,!0)*255))),e.r2&&(n.r2=Math.max(n.r2,Math.round(Ha(r,e.r2,!0)*255))),n.lx=i(n.lx,a(r,e.lx)),n.ly=i(n.ly,a(r,e.ly)),n.rx=i(n.rx,a(r,e.rx)),n.ry=i(n.ry,a(r,e.ry))}return n}function Ka(e,t){return{buttons:e.buttons|t.buttons,l2:Math.max(e.l2,t.l2),r2:Math.max(e.r2,t.r2),lx:Pa(e.lx+t.lx),ly:Pa(e.ly+t.ly),rx:Pa(e.rx+t.rx),ry:Pa(e.ry+t.ry),touch:e.touch??t.touch??null,motion:e.motion??t.motion??null}}function qa(e,t,n,r=()=>globalThis.navigator?.getGamepads?.()??[]){let i=e=>e?.vibrationActuator;for(let a of e.some(i)?e:r()){let e=i(a);e&&(t===0&&n===0?e.reset?.():e.playEffect?.(`dual-rumble`,{duration:1e3,strongMagnitude:t/255,weakMagnitude:n/255}))}}var Ja=new Map;function Ya(e,t){return{id:`${e.id} (app)`,index:3+e.slot,connected:!0,mapping:`standard`,timestamp:0,axes:e.axes,buttons:e.buttons.map(e=>({pressed:e>.5,touched:e>0,value:e})),vibrationActuator:t?.vibrationActuator??null,hapticActuators:t?.hapticActuators??[]}}function Xa(e){let t=e?.getGamepads?.()??[];return Ja.size===0||t.some(e=>!!e?.connected)?[...t]:[...Ja.values()].sort((e,t)=>e.slot-t.slot).map(e=>Ya(e))}var Za=`b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,,,,,,,a0,a1(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,,,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b2,b3,b0,b1,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1(b1,b0,b2,b3,,b7,a3,a4,,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b1,b0,b2,b3,,b7,b4,b5,,b9,,,b12,b14,b15,b13,,,a0,a1,a5~,a2~(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,,,b7,b5,b4,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b3,b4,b6,b5,b7,b2,b8,,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b9,b10,b2,b8,,,h0.1,h0.4,h0.8,h0.2,b5,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b5,b7,b2,,b8,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b12,b13,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b14,b13,b15,b12,b10,b11,b8,b9,b0,b3,b1,b2,b4,b6,b7,b5,b16,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,a2,a5,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,,,-a1,+a1,-a0,+a0(b1,b2,b0,b3,b4,b5,,,b8,b9,,,b12,b13,b15,b14,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,b11,b12,b13,b14,b15,b16,b10,,a0,a1,a2,a3(b0,b1,b3,b2,,b6,a2,a5,,b7,,,b8,b9,b10,b11,,,a0,a1,a3,a4(b0,b1,b3,b2,b4,b5,,,b8,b9,,,b10,b11,b12,b13,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,,,b13,b8,b10,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,,,b12,b9,b11,,,,,,,,hx,hy(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,b14,b15,b16,b17,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b5,b6,b7,b8,b9,b10,b12,b13,h0.1,h0.4,h0.8,h0.2,b11,,a0,a1,a2,a3(b0,b1,b3,b2,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,,,,b2,,b4,,b5,,,h0.1,h0.4,h0.8,h0.2,b6(b0,b1,b2,b3,b12,b4,b13,b5,b14,b6,b15,b7,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b1,b3,b0,b2,b13,b5,b12,b4,,b6,,,b11,b8,b10,b9,b16,,a0,a1~,a2,a3~(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b33,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b16,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b15,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,,,,,b8,,a0,a1,a3,a4(b1,b0,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,,h0.1,h0.4,h0.8,h0.2,b12,b13(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b11,b12,h0.1,h0.4,h0.8,h0.2,b10,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b12,b13,b14,b15,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,b14,b13,b14,b13,,,a0,a1,a3,a4(b1,b0,b2,b3,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b2,b3,b1,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b10(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,+a2,+a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,a2,a5,b6,b7,,,h0.1,h0.4,h0.8,h0.2,b8(b1,b2,,,,,,,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b21,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a5,a4,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b8,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b13,b13,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,a5,a4,,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a5,b7,b6,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,b7,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a5,a4,b9,b6,b7,b8,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b22,,a0,a1,a2,a3(b0,b1,b2,b3,b4,b5,a2,a3,b6,b7,b9,,b12,b14,b15,b13,b8,,a0,a1(b3,b4,b5,b6,b7,b8,a9,a8,b11,b12,b14,b15,b16,b17,b18,b19,b13,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b7,b9,b6,b8,b10,b11,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b9,b10,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b4,b3,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b3,b1,b4,,b10,a5,a4,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,,,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,,,,,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b8,b6,b9,b7,,b10,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b6,b4,b7,b5,b8,b9,,,-a4,+a4,-a3,+a3(b4,b8,b0,b12,b16,b20,b24,b28,b32,b36,b40,b44,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a8,a12(b8,b12,b0,b4,b16,b20,b24,b28,b32,b36,,,h0.1,h0.4,h0.8,h0.2,b44,,a0,a4,a8,a12(b4,b0,b8,b12,,b28,a12,a16,,b36,,,h0.1,h0.4,h0.8,h0.2,,,a0,a4,a20,a8(b1,b2,b0,b3,,b7,a3,a4,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b4,b0,b8,b12,,b28,a12,a16,,b36,,,b48,b56,b60,b52,,,a0,a4,a20,a8(b1,b2,,,b7,b5,a3,,,b9,,,b12,b14,b15,b13,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a5,b9,b8,b6,b7,b11,b12,b13,b14,b10,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,,,b5,b8,,,-a1,+a1,-a0,+a0,b2(b0,b1,b2,b3,b4,b5,b6,b15,b8,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b13,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a5(b0,b1,b3,b4,b6,b7,a5,a4,b12,b13,b15,b16,h0.1,h0.4,h0.8,h0.2,b14,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,-a1,+a1,-a0,+a0,b2(b0,b1,b3,b4,b6,b7,,,b10,b11,,,-a1,+a1,-a0,+a0(b0,b1,b3,b4,b6,b7,b8,a4,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a31(b0,b1,b3,b4,b8,b6,b9,b7,,b11,,,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b0,b4,b3,b6,b7,a4,a5,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a3(b1,b0,b4,b3,b6,b7,a5,a4,b10,b11,,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,hx,hy(b0,b1,b2,b3,b4,b5,b6,b7,b16,b15,b8,b9,b10,b11,b13,b12,b17,,a0,a1~,a2,a3~(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a4(b2,b1,b3,b0,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b33,b5,,,b6,b7,,,h0.1,h0.4,h0.8,h0.2(b0,b1,b3,b4,b6,b2,,,,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b1,b2,,,b6,,b9,b7,,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a2(b2,b1,b3,b0,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b4,,b6,,b2,b7,b9,,,b2,b14,b15,b13(b0,b1,b2,b3,b4,b5,a2,a5,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b5,b7,b2,b10,b8,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,a5~,a2~,b2,b8,b8,b5,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b4,,b9,b10,b6,b7,b8,,b5,b2,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b5,b4,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b3,b2,b6,b7,b4,b5,b8,b9,b11,b12,b13,b14,b15,b16,,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b16,b19,b17,b18,b6,b7,b8,b9,b10,b11,b13,,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a3,a4(b2,b1,b3,b0,b6,b7,b4,b5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a5,a2(b0,b1,b2,b3,b4,b5,a2,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,a2,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,b8,b9,b6,b7,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,b10,b11,b7,b6,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b10,b5,b11,b7,b8,b9,b4,b6,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b5,b7,b4,b6,b8,b9,,,h0.1,h0.4,h0.8,h0.2,b12(b1,b2,b0,b3,b4,b5,a3,a4,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a3(b1,b2,b0,b3,b4,b5,a3,a4,b8,b13,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,b13,a0,a1,a2,a5(b0,b4,b2,b1,b3,b6,,,b11,b9,,,h0.1,h0.4,h0.8,h0.2(b1,b2,b0,b3,b4,b5,a2,a5,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b2,b3,b9,b10,a4,a5,b4,b6,b7,b8,b11,b12,b13,b14,,,a0,a1,a2,a3(b1,b0,b3,b2,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b1,b2,b0,b3,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b1,b0,b3,b2,b4,b5,b6,b7,b8,b9,b10,b11,h0.1,h0.4,h0.8,h0.2,b12,,a0,a1,a2,a3(b0,b1,b3,b4,b6,b7,,,,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,b11,b14,b12,b13,b10,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,,a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,b3,b4,b6,b7,a4,a3,,,b13,b14,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b0,b1,b2,b3,b4,b5,,,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a2,a5(b6,b7,b9,b10,b12,b13,b14,b15,b16,b17,b19,b20,h0.1,h0.4,h0.8,h0.2,b18,,a0,a1,a3,a4(b0,b1,b2,b3,b4,b5,+a2,-a2,b6,b7,b8,b9,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a4(b0,b1,,,,,,,b7,b6,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1(b0,b1,b3,b4,b6,b7,,,b10,b11,,,,,,,,,a0,a1(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a2,a5(b1,b0,b4,b3,b6,b7,b8,b9,b10,b11,b13,b14,h0.1,h0.4,h0.8,h0.2,b2,,a0,a1,a3,a4(b1,b0,b4,b3,,b6,,b7,b10,b11,,,h0.1,h0.4,h0.8,h0.2,,,a0,a1,a3,a5`.split(`(`),Qa={l00790006:0,l00790011:1,l00790016:2,l00790122:3,l00790126:4,l00791800:5,l00791803:6,l0079181a:7,l0079181b:8,l0079181c:9,l00791830:10,l00791843:11,l00791844:12,l00791845:11,l00791846:13,l007918d2:7,l007918d4:14,l0079954e:15,l046dc20a:16,l046dc211:17,l046dc216:5,l046dc218:5,l046dc219:5,l046dc21a:18,l046dc21d:14,l046dc21e:14,l046dc21f:14,l046dcad1:5,l046dcad2:5,l04b4010a:19,l04b42411:20,l04b42412:21,l054c0268:22,l054c05c4:23,l054c09cc:24,l054c0ba0:24,l054c0cda:25,l054c0ce6:24,l054c0df2:24,l054c0e5f:24,l054c1337:26,l057e0330:27,l057e0337:28,l057e1337:29,l057e2006:30,l057e2007:31,l057e2008:32,l057e2009:33,l057e2017:34,l057e201e:35,l057e2069:36,l057e2073:37,l05ac022d:38,l05ac055b:39,l05ac057a:40,l05ac061a:41,l0e6f0109:42,l0e6f011e:7,l0e6f011f:14,l0e6f0128:5,l0e6f012f:7,l0e6f0130:7,l0e6f0131:14,l0e6f0139:14,l0e6f0146:43,l0e6f0164:14,l0e6f0180:7,l0e6f0181:7,l0e6f0184:7,l0e6f0185:44,l0e6f0187:7,l0e6f0188:7,l0e6f0203:45,l0e6f0207:46,l0e6f0213:14,l0e6f0214:7,l0e6f02a7:14,l0e6f02a8:47,l0e6f02b2:48,l0e6f02b8:14,l0e6f02c8:14,l0e6f02d7:49,l0e6f02d8:14,l0e6f02da:14,l0e6f02ef:14,l0e6f02f1:14,l0e6f0301:14,l0e6f0315:14,l0e6f0401:14,l0e6f0413:14,l0e6f1112:50,l0e6f1113:51,l0e6ff501:14,l0f0d0009:7,l0f0d0010:42,l0f0d0011:7,l0f0d0016:52,l0f0d0022:42,l0f0d004d:7,l0f0d005e:53,l0f0d005f:54,l0f0d0066:24,l0f0d0067:14,l0f0d006a:8,l0f0d006b:7,l0f0d006d:55,l0f0d006e:7,l0f0d0084:8,l0f0d0085:7,l0f0d0086:47,l0f0d0087:56,l0f0d0088:57,l0f0d0092:58,l0f0d00aa:39,l0f0d00c1:7,l0f0d00ee:59,l0f0d00f6:60,l0f0d00fb:39,l0f0d0137:61,l0f0d0138:62,l0f0d0150:14,l0f0d0185:14,l0f0d0196:63,l0f0d01ab:63,l15320401:24,l15320402:7,l15320705:64,l15320900:65,l15320a03:14,l15320a14:14,l15320a29:14,l15321000:8,l15321008:66,l1532100a:59,l1532100b:24,l15321100:24,l18d19400:65,l20d60dad:67,l20d62002:68,l20d62005:14,l20d6200b:14,l20d6200f:69,l20d62065:14,l20d62802:14,l20d64001:70,l20d64002:70,l20d64005:14,l20d66271:71,l20d6792a:24,l20d689e5:71,l20d6a710:5,l20d6a711:7,l20d6a712:7,l20d6a713:7,l20d6a714:7,l20d6ca6d:7,l24c65300:14,l24c6531a:14,l24c6541a:14,l24c6543a:14,l24c6581a:14,l24c65b02:14,l24c65d04:14,l24c6891a:63,l24c6891b:63,l24c6892a:72,l24c6892b:63,l24c6fafe:14,l27f80bbf:63,l28de1102:73,l28de1105:73,l28de1106:73,l28de1142:73,l28de11fc:43,l28de11ff:14,l28de1201:73,l28de1202:73,l28de1205:74,l2dc80651:75,l2dc81003:76,l2dc81080:76,l2dc82000:14,l2dc82003:14,l2dc8200a:77,l2dc82019:14,l2dc82025:14,l2dc82101:63,l2dc82830:78,l2dc82862:79,l2dc82865:79,l2dc82869:80,l2dc8286a:81,l2dc83010:82,l2dc83011:63,l2dc83012:63,l2dc83013:63,l2dc83015:63,l2dc83016:63,l2dc83017:63,l2dc83019:83,l2dc8301b:63,l2dc8301d:63,l2dc83100:84,l2dc83101:85,l2dc83102:85,l2dc83103:85,l2dc83104:85,l2dc83106:14,l2dc8310a:14,l2dc8310b:14,l2dc83230:86,l2dc83810:79,l2dc83820:87,l2dc85006:88,l2dc85101:89,l2dc85103:86,l2dc85104:90,l2dc85107:91,l2dc85108:91,l2dc85109:90,l2dc85111:92,l2dc85112:82,l2dc86000:92,l2dc86001:93,l2dc86002:92,l2dc86006:82,l2dc86007:94,l2dc86009:82,l2dc86012:63,l2dc86100:87,l2dc86101:93,l2dc86102:92,l2dc86728:95,l2dc89000:96,l2dc89001:96,l2dc89012:93,l2dc89015:79,l2dc89018:78,l2dc89020:97,l2dc89025:98,l2dc8ab21:78,l35371004:14,l35371007:63,l3537100b:14,l35371046:63,l35371058:63,l35371094:63,l35371097:63,l358a0102:63,l358a0202:63,l358a0203:63,l358a0204:63,m00790006:99,m00790011:100,m00791800:101,m00791803:102,m0079181c:41,m00791843:103,m00791844:104,m00791846:105,m007918d2:39,m0079954e:106,m046dc216:5,m046dc218:5,m046dc219:5,m046dc21a:18,m046dc21f:107,m04b4010a:108,m04b42411:20,m04b42412:20,m054c0268:22,m054c05c4:24,m054c09cc:24,m054c0ba0:24,m054c0cda:25,m054c0ce6:24,m054c0df2:24,m054c0e5f:24,m054c1337:26,m057e2006:30,m057e2007:31,m057e2009:60,m057e2017:109,m057e2069:36,m057e2073:37,m05ac061a:41,m0e6f0109:42,m0e6f0184:110,m0e6f0187:5,m0e6f0201:107,m0e6f0203:45,m0e6f0207:46,m0e6f0401:107,m0f0d002d:54,m0f0d004d:7,m0f0d005e:111,m0f0d005f:7,m0f0d0066:24,m0f0d006e:7,m0f0d0084:8,m0f0d0085:7,m0f0d0087:112,m0f0d0088:57,m0f0d0092:58,m0f0d00aa:39,m0f0d00c1:7,m0f0d00ee:113,m0f0d00f6:3,m0f0d0138:62,m0f0d0200:7,m15320401:24,m15320402:7,m15320705:64,m15320900:65,m15320a03:107,m15321000:8,m15321100:24,m18d19400:65,m20d66271:71,m20d6792a:24,m20d6a710:7,m20d6a711:44,m20d6ca6d:7,m24c6543a:107,m24c65d04:107,m24c6891a:114,m24c6891b:63,m24c6892a:64,m24c6892b:63,m24c6fafe:107,m2dc80651:115,m2dc82820:116,m2dc82830:78,m2dc82840:78,m2dc82865:87,m2dc82869:80,m2dc8286a:81,m2dc83011:63,m2dc83012:63,m2dc83013:63,m2dc83015:117,m2dc83016:63,m2dc83017:118,m2dc83019:83,m2dc8301b:63,m2dc8301d:63,m2dc83100:9,m2dc83101:85,m2dc83102:85,m2dc83103:85,m2dc83104:85,m2dc83105:84,m2dc83230:119,m2dc83810:94,m2dc85006:120,m2dc85101:89,m2dc85103:86,m2dc85104:90,m2dc85107:121,m2dc85108:122,m2dc85109:90,m2dc85111:82,m2dc85112:82,m2dc86001:79,m2dc86002:85,m2dc86006:82,m2dc86009:123,m2dc86101:85,m2dc86102:85,m2dc86728:95,m2dc89000:96,m2dc89001:79,m2dc89012:78,m2dc89015:124,m2dc89018:78,m2dc89020:125,m2dc89025:126,m2dc89026:127,m2dc8ab12:116,m35371022:63,m35371041:63,m35371046:63,m35371104:63,m358a0102:63,m358a0201:128,m358a0202:128,m358a0203:128,m358a0204:63,w00790002:129,w00790007:129,w0079000a:129,w00790016:18,w00790122:99,w00790126:130,w00791804:131,w0079181a:7,w0079181b:113,w00791824:132,w00791830:133,w00791845:11,w00791847:12,w0079184f:134,w00791879:135,w0079188f:136,w007918ae:137,w007918d4:138,w046dc209:139,w046dc20a:16,w046dc20b:140,w046dc211:141,w046dc21d:138,w046dc21e:142,w046dc242:142,w046dca84:143,w046dca88:143,w046dcad1:5,w046dcad2:7,w04b42410:144,w04b4c681:130,w054c05c5:145,w057e0330:146,w05ac022d:144,w05ac033d:147,w05ac044d:147,w05ac055b:39,w05ac057a:148,w0e6f0003:149,w0e6f0111:7,w0e6f0114:7,w0e6f0119:7,w0e6f011a:7,w0e6f011e:7,w0e6f011f:150,w0e6f0124:42,w0e6f0128:7,w0e6f012f:7,w0e6f0130:7,w0e6f0132:7,w0e6f0146:138,w0e6f0164:151,w0e6f0180:7,w0e6f0181:7,w0e6f0185:44,w0e6f0188:7,w0e6f0189:7,w0e6f0214:7,w0e6f0301:138,w0e6f1113:51,w0e6f6302:7,w0f0d0009:7,w0f0d000a:152,w0f0d000c:153,w0f0d000d:154,w0f0d0010:155,w0f0d0011:57,w0f0d0013:155,w0f0d001b:152,w0f0d0021:155,w0f0d0022:54,w0f0d0025:42,w0f0d0026:155,w0f0d0027:42,w0f0d0032:155,w0f0d003d:156,w0f0d0040:157,w0f0d0042:155,w0f0d0049:7,w0f0d004b:155,w0f0d0051:155,w0f0d0054:7,w0f0d0055:8,w0f0d005b:113,w0f0d005c:7,w0f0d0064:155,w0f0d0067:70,w0f0d006a:8,w0f0d006b:7,w0f0d006f:158,w0f0d0070:57,w0f0d007b:155,w0f0d008a:8,w0f0d008b:7,w0f0d008c:138,w0f0d009c:8,w0f0d00a0:159,w0f0d00a5:160,w0f0d00a6:111,w0f0d00ad:161,w0f0d00ae:142,w0f0d00af:162,w0f0d00c0:138,w0f0d00c9:5,w0f0d00d8:163,w0f0d00dc:138,w0f0d0101:5,w0f0d0104:142,w0f0d0123:144,w0f0d0137:164,w0f0d0162:165,w0f0d0164:166,w0f0d0196:134,w0f0d0202:167,w0f0d1011:168,w153202a6:169,w15320300:170,w15320707:147,w15320a14:138,w15321004:145,w15321007:145,w15321009:145,w1532100a:5,w18d12c40:171,w20d60060:7,w20d60dad:142,w20d6319f:7,w20d64026:134,w20d64033:134,w20d6571d:7,w20d6576d:7,w20d65795:7,w20d657c7:7,w20d657e5:7,w20d689e5:172,w20d6a712:7,w20d6a713:7,w20d6a714:7,w20d6a720:7,w24c6531a:153,w24c65b02:138,w27f80bbf:173,w28de11fc:70,w28de11ff:174,w2dc802e0:175,w2dc81003:176,w2dc81080:176,w2dc82100:144,w2dc82810:177,w2dc82862:78,w2dc83000:78,w2dc83001:178,w2dc8301c:134,w2dc8310a:134,w2dc83820:179,w2dc85001:180,w2dc86000:79,w2dc86003:123,w2dc86012:134,w2dc86100:85,w2dc86103:123,w2dc8ab11:179,w2dc8ab20:178,w2dc8ab21:78,w35371004:138,w35371007:134,w35371094:134,w35371116:134},$a=e=>e.toLowerCase().padStart(4,`0`);function eo(e){let t=/^(.*?)\s*\((?:[^()]*?\s)?Vendor:\s*([0-9a-f]{1,4})\s+Product:\s*([0-9a-f]{1,4})\s*\)\s*$/i.exec(e);if(t)return{vendor:$a(t[2]),product:$a(t[3]),name:t[1].trim()};let n=/^([0-9a-f]{1,4})-([0-9a-f]{1,4})-(.*)$/i.exec(e.trim());return n?{vendor:$a(n[1]),product:$a(n[2]),name:n[3].trim()}:null}function to(e){return(eo(e)?.name??e.replace(/\s*\((?:XInput\s*)?STANDARD GAMEPAD\)\s*$/i,``)).trim()||e}function no(e=globalThis.navigator){let t=e?.userAgent??``;return/Android|iPhone|iPad|iPod/i.test(t)?null:/Macintosh|Mac OS X/i.test(t)?(e?.maxTouchPoints??0)>1?null:`m`:/Windows/i.test(t)?`w`:/Linux|CrOS|X11/i.test(t)?`l`:null}function ro(e,t){if(!t)return null;let n=t===`l`?[`l`]:[`m`,`w`];for(let t of n){let n=Qa[`${t}${e.vendor}${e.product}`];if(n!==void 0)return Za[n]??null}return null}function io(e){return e.mapping!==`standard`&&eo(e.id)?.vendor===`2dc8`}var ao={6003:`switch`,6006:`switch`,6103:`switch`,3010:`switch`,6001:`startx`,6002:`startx`,6101:`startx`,6102:`startx`,3011:`receiver`,3012:`receiver`,3013:`receiver`,3015:`receiver`,3016:`receiver`,3017:`receiver`,"301b":`receiver`,"301c":`receiver`,"301d":`receiver`,6012:`receiver`,5112:`none`,9020:`none`};function oo(e){let t=eo(e);return t&&ao[t.product]||`manual`}var so={1:0,2:2,4:4,8:6};function co(e){let t=0,n=!1;for(let r of e){let e=/a(\d+)/.exec(r);e&&(t=Math.max(t,Number(e[1])+1)),r.startsWith(`h`)&&(n=!0)}return{n:t,hat:n}}function lo(e,t,n){let{n:r,hat:i}=co(t),a=Ia.length,o=e.axes.findIndex(e=>Math.abs(e)>1.05),s=e=>e;if(i&&o<0)return n===`l`&&e.axes.length>=r+2?{hat:-1,hatXY:r,axis:s}:null;if(!(i?o>r:n!==`l`&&e.axes.length>=r+2))return{hat:o,hatXY:-1,axis:s};if(r<=4)return{hat:o,hatXY:-1,axis:e=>[0,1,2,5][e]??e};let c=t[a+2]?.replace(`~`,``)===`a2`&&t[a+3]?.replace(`~`,``)===`a3`,l=[t[6],t[7]].every(e=>/^a[45]~?$/.test(e??``));return r===6&&c&&l?{hat:o,hatXY:-1,axis:e=>[0,1,2,5,3,4][e]??e}:{hat:o,hatXY:-1,axis:s}}function uo(e,t){let n=/^b(\d+)$/.exec(e);if(n)return{b:Number(n[1])};if(n=/^([+-]?)a(\d+)(~?)$/.exec(e),n){let e=t.axis(Number(n[2]));return n[1]===`+`?{a:e,d:1}:n[1]===`-`?{a:e,d:-1}:n[3]?{a:e,d:-1,rest:1}:{a:e,d:1,rest:-1}}if(n=/^h0\.(\d)$/.exec(e),n){let e=so[n[1]];if(e===void 0)return null;if(t.hat>=0)return{h:t.hat,at:e};if(t.hatXY>=0)return e===0?{a:t.hatXY+1,d:-1}:e===4?{a:t.hatXY+1,d:1}:e===6?{a:t.hatXY,d:-1}:{a:t.hatXY,d:1}}return null}function fo(e,t){let n=/^a(\d+)(~?)$/.exec(e);if(n)return n[2]?{a:t.axis(Number(n[1])),inv:!0}:{a:t.axis(Number(n[1]))};if(e===`hx`||e===`hy`){if(t.hat>=0)return{a:t.hat,hat:e===`hx`?`x`:`y`};if(t.hatXY>=0)return{a:t.hatXY+ +(e===`hy`)}}return null}function po(e,t,n){let r=e.split(`,`),i=lo(t,r,n);if(!i)return null;let a={buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null};for(let e=0;eArray.isArray(e)&&e.length===2&&typeof e[0]==`number`&&_o(e[1]))&&[t.l2,t.r2,t.lx,t.ly,t.rx,t.ry].every(_o)}function yo(){try{let e=Lt(go),t=e?JSON.parse(e):null;return!t||typeof t!=`object`||Array.isArray(t)?{}:Object.fromEntries(Object.entries(t).filter(e=>vo(e[1])))}catch{return{}}}function bo(e,t){let n=yo();return t?n[e]=t:delete n[e],It(go,JSON.stringify(n)),xo=n,n}var xo=null;function So(e){return xo??=yo(),xo[e.id]??To(xo,e.id)??ho(e)??Ua(e)}function Co(e){return xo??=yo(),xo[e.id]?`saved`:e.mapping===`standard`?`standard`:ho(e)?`known`:`guess`}function wo(e){return ho(e)??Ua(e)}function To(e,t){if(!t.endsWith(` (app)`))return null;let n=t.slice(0,-6).trim().toLowerCase();if(!n)return null;let r=Object.keys(e).filter(e=>{let t=e.trim().toLowerCase();return t===n||t.includes(n)}),i=r.find(e=>e.trim().toLowerCase()===n)??(r.length===1?r[0]:null);return i?(xo=bo(t,e[i]),e[i]):null}function Eo(e){return{buttons:e.buttons.map(e=>Math.max(+!!e.pressed,e.value)),axes:[...e.axes]}}function Do(e,t){let n=null;if(t.buttons.forEach((t,r)=>{let i=t-(e.buttons[r]??0);t>.5&&i>.5&&(!n||i>n.amount)&&(n={src:{b:r},amount:i})}),n)return n.src;for(let n=0;n1.05?La(t.axes[n]):null;if(r!==null)return{h:n,at:r}}return t.axes.forEach((t,r)=>{let i=e.axes[r]??0,a=t-i;if(!(Math.abs(a)<.6)&&(!n||Math.abs(a)>n.amount)){let e=a>0?1:-1;n={src:Math.abs(i)>.5?{a:r,d:e,rest:i}:{a:r,d:e},amount:Math.abs(a)}}}),n?n.src:null}function Oo(e,t){let n=null;if(t.axes.forEach((t,r)=>{let i=t-(e.axes[r]??0);Math.abs(i)>=.6&&(!n||Math.abs(i)>Math.abs(n.moved))&&(n={a:r,moved:i})}),!n)return null;let r=n;return r.moved>0?{a:r.a}:{a:r.a,inv:!0}}var ko=[{kind:`button`,bit:R.CROSS,name:`✕`},{kind:`button`,bit:R.CIRCLE,name:`○`},{kind:`button`,bit:R.SQUARE,name:`□`},{kind:`button`,bit:R.TRIANGLE,name:`△`},{kind:`button`,bit:R.UP,name:`↑`},{kind:`button`,bit:R.DOWN,name:`↓`},{kind:`button`,bit:R.LEFT,name:`←`},{kind:`button`,bit:R.RIGHT,name:`→`},{kind:`button`,bit:R.L1,name:`L1`},{kind:`button`,bit:R.R1,name:`R1`},{kind:`trigger`,which:`l2`,name:`L2`},{kind:`trigger`,which:`r2`,name:`R2`},{kind:`button`,bit:R.L3,name:`L3`},{kind:`button`,bit:R.R3,name:`R3`},{kind:`button`,bit:R.OPTIONS,name:`Options`},{kind:`button`,bit:R.SHARE,name:`Create`},{kind:`button`,bit:R.PS,name:`PS`},{kind:`button`,bit:R.TOUCHPAD,name:`Touchpad`},{kind:`axis`,which:`lx`,name:`L →`},{kind:`axis`,which:`ly`,name:`L ↓`},{kind:`axis`,which:`rx`,name:`R →`},{kind:`axis`,which:`ry`,name:`R ↓`}];function Ao(){return{buttons:[],l2:null,r2:null,lx:null,ly:null,rx:null,ry:null}}function jo(e,t,n){return t.kind===`button`?{...e,buttons:[...e.buttons.filter(([e])=>e!==t.bit),[t.bit,n]]}:(t.kind,{...e,[t.which]:n})}function Mo(e,t=Va){let n=new Set(e.buttons.map(([e])=>e)),r=e=>`b`in e?`b${e.b}`:`h`in e?`h${e.h}.${e.at}`:`a${e.a}${e.d}`,i=new Set([...e.buttons.map(([,e])=>r(e)),...[e.l2,e.r2].filter(e=>!!e).map(r)]);return{buttons:[...e.buttons,...t.buttons.filter(([e,t])=>!n.has(e)&&!i.has(r(t)))],l2:e.l2??t.l2,r2:e.r2??t.r2,lx:e.lx??t.lx,ly:e.ly??t.ly,rx:e.rx??t.rx,ry:e.ry??t.ry}}var No=ko.filter(e=>e.kind!==`button`||![R.L3,R.R3,R.OPTIONS,R.SHARE,R.PS,R.TOUCHPAD].includes(e.bit));function Po(e,t){return t.buttons.every((t,n)=>Math.abs(t-(e.buttons[n]??0))<.3)&&t.axes.every((t,n)=>Math.abs(t-(e.axes[n]??0))<.3)}var Fo=class{constructor(e=ko){this.steps=e,this.step=0,this.prof=Ao(),this.rest=null,this.waiting=!0}get done(){return this.step>=this.steps.length}get current(){return this.steps[this.step]??null}feed(e){if(this.done)return!1;if(!this.rest)return this.rest=e,this.waiting=!1,!1;if(this.waiting)return Po(this.rest,e)&&(this.waiting=!1),!1;let t=this.steps[this.step],n=t.kind===`axis`?Oo(this.rest,e):Do(this.rest,e);return n?(this.prof=jo(this.prof,t,n),this.go(this.step+1),!0):!1}skip(){this.go(this.step+1)}back(){this.step>0&&this.go(this.step-1)}go(e){this.waiting=!0,this.step=Math.min(e,this.steps.length)}profile(e=Va){return Mo(this.prof,e)}};function Io(e,t){return e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry&&(e.touch?.[0]??-1)===(t.touch?.[0]??-1)&&(e.touch?.[1]??-1)===(t.touch?.[1]??-1)&&(e.motion?.t??-1)===(t.motion?.t??-1)}function Lo(){try{return typeof sessionStorage<`u`?sessionStorage:null}catch{return null}}var Ro=e=>`ps5upload.join.token.${e??`app`}`,zo=class{constructor(e){this.o=e,this.ws=null,this.stage={kind:`connecting`},this.token=null,this.player=0,this.last={...ja},this.lastSent=0,this.neutral=!1,this.stopped=!1,this.attempt=0,this.deadline=0,this.raf=0,this.keepalive=null,this.pinger=null,this.retry=null,this.lastHeard=0,this.hostAway=!1,this.pings=0,this.now=e.now??(()=>Date.now()),this.storage=e.storage===void 0?Lo():e.storage,this.WS=e.WebSocketImpl??WebSocket,this.seq=this.now()>>>0;try{this.token=this.storage?.getItem(this.key)??null}catch{this.token=null}}get key(){return Ro(this.o.invite??this.o.code??null)}get current(){return this.stage}get socket(){return this.ws}get resumeToken(){return this.token}setStage(e){this.stage=e,this.o.onStage(e)}start(){if(this.stopped=!1,this.setStage({kind:`connecting`}),this.connect(),this.stopped)return;let e=()=>{this.sendPad(!1),this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e)};this.raf=(this.o.raf??(e=>window.requestAnimationFrame(e)))(e),this.keepalive=setInterval(()=>this.sendPad(!1),100),this.pinger=setInterval(()=>this.ping(),1e3)}connect(){let e;try{e=new this.WS(this.o.url)}catch{this.dropped();return}this.ws=e,e.binaryType=`arraybuffer`,e.onopen=()=>{if(this.ws!==e)return;this.lastHeard=this.now();let t={name:this.o.name};this.o.invite&&(t.invite=this.o.invite),this.o.code&&(t.code=this.o.code),this.token&&(t.resume=this.token),e.send(JSON.stringify({hello:t}))},e.onmessage=t=>{this.ws===e&&(this.lastHeard=this.now(),typeof t.data==`string`?this.onText(t.data):t.data instanceof ArrayBuffer&&this.stage.kind===`joined`&&this.o.onFrame?.(t.data))},e.onclose=t=>{if(this.ws!==e)return;this.ws=null;let n=Ue(t);n===`mismatch`?(this.forgetToken(),this.finish({kind:`ended`,why:n})):n&&this.stage.kind!==`joined`&&this.stage.kind!==`reconnecting`?this.finish({kind:`ended`,why:n}):this.dropped()},e.onerror=()=>{}}onText(e){let t=Je(e);if(t)switch(t.kind){case`pong`:{let e=this.now()-t.t;e>=0&&e<6e4&&this.o.onRtt?.(e);return}case`asking`:this.stage.kind!==`reconnecting`&&this.setStage({kind:`asking`});return;case`waiting`:this.hostAway||(this.hostAway=!0,this.deadline=this.now()+et),this.attempt=0,this.setStage(this.reconnectingStage());return;case`joined`:this.token=t.token,this.player=t.player,this.attempt=0,this.hostAway=!1;try{this.storage?.setItem(this.key,t.token)}catch{}{let e=t.track&&this.ws?.media||null;this.o.onCodec?.(t.hevc,e,!!e&&t.audio&&!!e.audio)}this.setStage({kind:`joined`,player:t.player,hevc:t.hevc}),this.sendPad(!0);return;case`refused`:this.forgetToken(),this.hostAway&&t.why!==`seat_taken`?this.finish({kind:`ended`,why:`host_stopped`}):this.finish({kind:`refused`,why:t.why});return;case`bye`:if(t.why===`host_stopped`&&this.token){this.hostWait();return}this.forgetToken(),this.finish({kind:`ended`,why:t.why});return;case`status`:this.stage.kind===`joined`&&t.status.player>0&&t.status.player!==this.stage.player&&(this.player=t.status.player,this.setStage({...this.stage,player:t.status.player})),this.o.onStatus?.(t.status);return;case`feedback`:t.rumble&&this.o.onRumble?.(t.rumble[0],t.rumble[1]),t.light&&this.o.onLight?.(t.light);return}}hostWait(){this.hostAway=!0,this.deadline=this.now()+et,this.attempt=0;let e=this.ws;this.ws=null;try{e?.close()}catch{}this.scheduleRetry()}reconnectingStage(){return{kind:`reconnecting`,player:this.player,attempt:this.attempt,deadline:this.deadline,...this.hostAway?{hostStopped:!0}:{}}}giveUp(){this.forgetToken(),this.finish({kind:`ended`,why:this.hostAway?`host_stopped`:`gave_up`})}dropped(){if(this.stopped)return;let e=this.stage;e.kind===`joined`||e.kind===`reconnecting`&&this.token?(e.kind===`joined`&&(this.deadline=this.now()+$e),this.scheduleRetry()):this.finish({kind:`ended`,why:`lost`})}scheduleRetry(){if(this.stopped)return;if(this.now()>=this.deadline){this.giveUp();return}let e=Qe(this.attempt);this.setStage(this.reconnectingStage()),this.attempt+=1,this.retry&&clearTimeout(this.retry),this.retry=setTimeout(()=>{this.retry=null,this.stopped||(this.now()>=this.deadline?this.giveUp():this.connect())},e)}forgetToken(){this.token=null;try{this.storage?.removeItem(this.key)}catch{}}ping(){if(this.hostAway&&!this.stopped&&this.now()>=this.deadline+5e3||!this.stopped&&this.stage.kind===`reconnecting`&&this.now()>=this.deadline+5e3){this.giveUp();return}let e=this.ws;if(e&&e.readyState===this.WS.OPEN){if(this.stage.kind===`joined`&&this.now()-this.lastHeard>3500){this.ws=null;try{e.close()}catch{}this.dropped()}else if(e.send(JSON.stringify({ping:this.now()})),this.stage.kind===`joined`&&this.o.readStats&&++this.pings%2==0){let t=this.o.readStats();t&&e.send(JSON.stringify({stats:t}))}}}setNeutral(e){this.neutral!==e&&(this.neutral=e,this.sendPad(!0))}sendPad(e){let t=this.ws;if(!t||t.readyState!==this.WS.OPEN||this.stage.kind!==`joined`)return;let n=this.neutral?{...ja,touch:null,motion:null}:this.o.readPad(),r=this.now();!e&&Io(n,this.last)&&r-this.lastSent<100||(this.last=n,this.lastSent=r,this.seq=this.seq+1>>>0,t.send(Ze(this.seq,n)))}clearTimers(){(this.o.cancelRaf??(e=>window.cancelAnimationFrame(e)))(this.raf),this.keepalive&&clearInterval(this.keepalive),this.pinger&&clearInterval(this.pinger),this.retry&&clearTimeout(this.retry),this.keepalive=this.pinger=this.retry=null}finish(e){this.stopped=!0,this.clearTimers();let t=this.ws;this.ws=null;try{t?.close()}catch{}this.setStage(e)}askKeyframe(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&e.send(JSON.stringify({keyframe:!0}))}leave(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&(this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),e.send(JSON.stringify({leave:1}))),this.forgetToken(),this.finish({kind:`ended`,why:`left`})}stop(){let e=this.ws;e&&e.readyState===this.WS.OPEN&&this.stage.kind===`joined`&&(this.seq=this.seq+1>>>0,e.send(Ze(this.seq,ja))),this.stopped=!0,this.clearTimers(),this.ws=null;try{e?.close()}catch{}}},Bo=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),z=s(((e,t)=>{t.exports=Bo()}))(),Vo=`ps5upload.openIn`,Ho=`ps5upload.openIn.tab`;function Uo(){try{return sessionStorage.getItem(Ho)===`browser`}catch{return!1}}function B(){try{sessionStorage.setItem(Ho,`browser`)}catch{}}function V(e){return e===`browser`?`browser`:e===`app`?`opening`:`ask`}function Wo({appLink:e,children:t}){let n=Ie(),[r,i]=(0,D.useState)(()=>Uo()?`browser`:V(Lt(Vo))),[a,o]=(0,D.useState)(!1);if((0,D.useEffect)(()=>{r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&(location.href=e)},[]),r===`browser`)return(0,z.jsx)(z.Fragment,{children:t});let s=()=>{a&&It(Vo,`app`),i(`opening`),location.href=e},c=()=>{r===`ask`&&a?It(Vo,`browser`):r===`opening`&&Lt(`ps5upload.openIn`)===`app`&&Rt(Vo),B(),i(`browser`)};return(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`open-in-gate`,"data-join-ui":``,children:(0,z.jsx)(`div`,{className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,children:r===`ask`?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_title`,void 0,`Open in the PS5Upload app?`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_body`,void 0,`Have the PS5Upload app on this device? Open this there, or carry on in the browser.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:s,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-app`,children:n(`open_in_app`,void 0,`Open in the app`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)}),(0,z.jsxs)(`label`,{className:`flex items-center justify-center gap-2 text-xs text-white/60`,children:[(0,z.jsx)(`input`,{type:`checkbox`,checked:a,onChange:e=>o(e.target.checked),"data-testid":`open-in-remember`}),n(`open_in_remember`,void 0,`Remember my choice on this device`)]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`div`,{className:`space-y-1`,children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`open_in_opening`,void 0,`Opening the PS5Upload app…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:n(`open_in_not_opened`,void 0,`Nothing happened? The app may not be on this device.`)})]}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>location.href=e,autoFocus:!0,className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black`,"data-testid":`open-in-again`,children:n(`open_in_again`,void 0,`Try again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:c,className:`w-full rounded-full border border-white/20 py-2.5 text-sm font-semibold text-white hover:bg-white/10`,"data-testid":`open-in-browser`,children:n(`open_in_browser`,void 0,`Continue in browser`)})]})})})}var Go=[`a[href]`,`button:not([disabled])`,`input:not([disabled]):not([type='hidden'])`,`select:not([disabled])`,`textarea:not([disabled])`,`summary`,`[contenteditable='true']`,`[tabindex]`].map(e=>`${e}:not([tabindex='-1'])`).join(`, `),Ko=new Set,qo=[];function Jo(){for(let e of Ko)e()}function Yo(){return qo.length}function Xo(e){return qo.push(e),Jo(),()=>{let t=qo.lastIndexOf(e);t!==-1&&qo.splice(t,1),Jo()}}function Zo(e,t,n){switch(n){case`down`:return t.top-e.bottom;case`up`:return e.top-t.bottom;case`right`:return t.left-e.right;case`left`:return e.left-t.right}}function H(e,t,n){let r=(e.left+e.right)/2,i=(e.top+e.bottom)/2,a=(t.left+t.right)/2,o=(t.top+t.bottom)/2;switch(n){case`down`:return o>i&&t.top>=e.top+1;case`up`:return or&&t.left>=e.left+1;case`left`:return a0?{gap:0,overlap:c}:{gap:-c,overlap:0}}function $o(e,t,n){let r=null,i=1/0,a=!1;for(let o of t){if(!H(e,o.rect,n))continue;let t=Math.max(0,Zo(e,o.rect,n)),s=Qo(e,o.rect,n),c=s.overlap>0;if(a&&!c)continue;let l=c?t-s.overlap/1e6:Math.hypot(t,2*s.gap);(c&&!a||l`u`?void 0:window){try{return!!e?.PS5UploadTv?.isTv()}catch{return!1}}function rs(e=typeof document>`u`?void 0:document){return e?.documentElement.dataset.tv===`1`}function is(e,t){if(!e)return!1;if(e.closest(`[data-own-arrows]`))return!0;let n=e.tagName;if(n===`TEXTAREA`||e.isContentEditable)return!0;let r=t===`left`||t===`right`;if(n===`INPUT`){let t=(e.type||`text`).toLowerCase();if(t===`range`||ts.test(t))return r}return!1}var as=`[aria-modal="true"], [role="dialog"], [role="alertdialog"]`;function os(e){let t=e.activeElement?.closest(as);if(t)return t;if(Yo()>0){let t=e.querySelectorAll(as);if(t.length)return t[t.length-1]}return e}function ss(e){let t=[];return e.querySelectorAll(Go).forEach(e=>{if(e.closest(`[inert], [aria-hidden='true']`)||e.disabled)return;let n=e.getBoundingClientRect();n.width<=0||n.height<=0||t.push({el:e,rect:n})}),t}function cs(e){return(e.find(e=>e.el.getAttribute(`aria-current`)===`page`)??e[0])?.el??null}function ls(e,t=document){let n=es[e.key];if(!n||e.defaultPrevented||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)return!1;let r=t.activeElement;if(is(r,n))return!1;let i=ss(os(t));if(!i.length)return!1;let a=i.find(e=>e.el===r),o=a?$o(a.rect,i.filter(e=>e!==a),n):cs(i);return o?(e.preventDefault(),o.focus(),typeof o.scrollIntoView==`function`&&o.scrollIntoView({block:`nearest`,inline:`nearest`}),!0):!1}var us=!1;function ds(e){us||(us=!0,e.addEventListener(`keydown`,t=>void ls(t,e.document)))}function fs(e=typeof window>`u`?void 0:window){e&&(ns(e)&&(e.document.documentElement.dataset.tv=`1`),ds(e))}function ps({id:e,className:t}){let n=Ie(),r=oo(e);if(r===`none`)return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_no_xinput`,void 0,`This 8BitDo has no X-input mode. If a button is wrong, check the controller.`)});let i=r===`switch`?n(`pad_8bitdo_how_switch`,void 0,`set the switch on the back to X, then press Start`):r===`startx`?n(`pad_8bitdo_how_startx`,void 0,`turn it off, then hold Start + X to turn it on`):r===`receiver`?n(`pad_8bitdo_how_receiver`,void 0,`use its 2.4G receiver or a USB cable`):n(`pad_8bitdo_how_manual`,void 0,`its manual says how`);return(0,z.jsx)(`span`,{className:t,"data-testid":`pad-8bitdo-hint`,"data-how":r,children:n(`pad_8bitdo_xinput`,{how:i},`For the best result, switch your 8BitDo to X-input mode: ${i}.`)})}var ms=new Set,hs={held:new Set,touch:null,touchPad:ja,mapping:!1,get paused(){return ms.size>0},motion:null},gs={s:.85,m:1,l:1.15},_s=.25;function vs(e){return typeof e!=`number`||!Number.isFinite(e)?1:Math.min(1,Math.max(_s,e))}var ys={overlay:{width:844,height:390},deck:{width:390,height:480}},bs=.7,xs=1.4;function Ss(e,t,n,r){let i=gs[e]??1;if(!(t>0)||!(n>0))return i;let a=r?ys.deck:ys.overlay,o=Math.min(xs,Math.max(bs,Math.min(t/a.width,n/a.height)));return Math.round(o*i*1e3)/1e3}var Cs=34;function ws(e,t){return t>0&&8+Math.max(112*e,90)+156*e+124*e+Math.max(56*e,44)+Cs>t}function Ts(e,t,n){let r=e/32767,i=t/32767,a=Math.hypot(r,i),o=a>1?1/a:1;return{dx:r*o*n,dy:i*o*n}}var Es=`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,Ds=32767,Os=12;function ks({stream:e,layout:t=`overlay`,opacity:n=1,size:r=`m`,deckTop:i=`0px`,onMenu:a}){let o=Ie(),s=(0,D.useRef)(new Map),c=(0,D.useRef)({...ja}),[l,u]=(0,D.useState)({...ja}),[d,f]=(0,D.useState)({l:!1,r:!1,touchpad:!1}),p=(0,D.useRef)(null),[m,h]=(0,D.useState)({width:0,height:0});(0,D.useEffect)(()=>{let e=p.current;if(!e)return;let t=()=>{let t=e.getBoundingClientRect();h(e=>e.width===t.width&&e.height===t.height?e:{width:t.width,height:t.height})};if(t(),typeof ResizeObserver>`u`)return window.addEventListener(`resize`,t),()=>window.removeEventListener(`resize`,t);let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,D.useEffect)(()=>()=>{hs.touchPad={...ja}},[]);let g=()=>{let t={...ja,touch:null},n={l:!1,r:!1,touchpad:!1};for(let e of s.current.values())e.kind===`stick`&&(n[e.which]=!0),e.kind===`touchpad`&&(n.touchpad=!0),e.kind===`button`&&(t.buttons|=e.bit),e.kind===`trigger`&&(t[e.which]=255),e.kind===`touchpad`&&e.pressed&&(t.buttons|=R.TOUCHPAD);t.lx=c.current.lx,t.ly=c.current.ly,t.rx=c.current.rx,t.ry=c.current.ry,t.touch=c.current.touch??null,hs.touchPad=t,e?.sendPad(),u(t),f(e=>e.l===n.l&&e.r===n.r&&e.touchpad===n.touchpad?e:n)},_=(e,t,n)=>{let r=Math.max(-1,Math.min(1,(t-e.cx)/e.radius)),i=Math.max(-1,Math.min(1,(n-e.cy)/e.radius));c.current[e.which===`l`?`lx`:`rx`]=Math.round(r*Ds),c.current[e.which===`l`?`ly`:`ry`]=Math.round(i*Ds)},v=(e,t)=>{e.preventDefault(),e.stopPropagation();let n=e.currentTarget;try{n.setPointerCapture(e.pointerId)}catch{}let r=t(n);s.current.set(e.pointerId,r),r.kind===`stick`&&_(r,e.clientX,e.clientY),r.kind===`touchpad`&&(c.current.touch=Ma((e.clientX-r.rect.left)/r.rect.width,(e.clientY-r.rect.top)/r.rect.height)),navigator.vibrate?.(8),g()},y=e=>{let t=s.current.get(e.pointerId);if(t){if(e.stopPropagation(),t.kind===`stick`)_(t,e.clientX,e.clientY);else if(t.kind===`touchpad`)c.current.touch=Ma((e.clientX-t.rect.left)/t.rect.width,(e.clientY-t.rect.top)/t.rect.height),t.pressed&&Math.hypot(e.clientX-t.x0,e.clientY-t.y0)>Os&&(t.pressed=!1);else return;g()}},b=e=>{let t=s.current.get(e.pointerId);t&&(e.stopPropagation(),s.current.delete(e.pointerId),t.kind===`stick`&&(c.current[t.which===`l`?`lx`:`rx`]=0,c.current[t.which===`l`?`ly`:`ry`]=0),t.kind===`touchpad`&&(c.current.touch=null),g())},x=e=>e.stopPropagation(),S={onPointerMove:y,onPointerUp:b,onPointerCancel:b,onClick:x,onDoubleClick:x},ee=e=>(l.buttons&e)!==0,C=e=>`border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.35)] transition-colors duration-75 ${e?`border-white bg-white/50`:`border-white/70 bg-white/10`}`,w=`text-white [text-shadow:0_1px_2px_rgba(0,0,0,0.6)]`,T={filter:`drop-shadow(0 0 1.5px rgba(0,0,0,0.5))`},E=e=>({stroke:e?`#fff`:`rgba(255,255,255,0.75)`,fill:e?`rgba(255,255,255,0.5)`:`rgba(255,255,255,0.1)`}),te=`pointer-events-auto flex touch-none select-none items-center justify-center bg-transparent p-0`,ne={minHeight:`calc(44px / var(--k))`,minWidth:`calc(44px / var(--k))`},re=(e,t,n,r)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`button`,bit:t})),...S,className:`${te} ${n}`,style:ne,children:r}),ie=(e,t,n,r)=>(0,z.jsx)(`span`,{className:`flex h-[32px] w-[76px] items-center justify-center text-[13px] font-semibold tracking-wide ${w} ${C(t)}`,style:{borderRadius:r?n===`l`?`16px 9px 9px 9px`:`9px 16px 9px 9px`:`9px`},children:e}),ae=(e,t,n,r)=>re(e,t,`h-[44px] w-[84px]`,ie(e,ee(t),n,r)),oe=(e,t,n)=>(0,z.jsx)(`button`,{type:`button`,"aria-label":e,onPointerDown:e=>v(e,()=>({kind:`trigger`,which:t})),...S,className:`${te} h-[44px] w-[84px]`,style:ne,children:ie(e,l[t]>0,n,!0)}),se=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsx)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:(0,z.jsxs)(`g`,{transform:`rotate(${n} 26 26)`,strokeWidth:`1.5`,strokeLinejoin:`round`,...E(ee(t)),children:[(0,z.jsx)(`path`,{d:`M10 9 Q10 3 16 3 L36 3 Q42 3 42 9 L42 30 Q42 34.5 38.5 38 L29.5 47 Q26 50.5 22.5 47 L13.5 38 Q10 34.5 10 30 Z`}),(0,z.jsx)(`path`,{d:`M20.5 23 L26 17 L31.5 23`,fill:`none`,stroke:`#fff`,strokeLinecap:`round`,strokeWidth:`1.8`})]})})),ce=(e,t,n)=>re(e,t,`h-[52px] w-[52px]`,(0,z.jsxs)(`svg`,{viewBox:`0 0 52 52`,width:`52`,height:`52`,"aria-hidden":!0,style:T,children:[(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`22.5`,strokeWidth:`1.5`,...E(ee(t))}),(0,z.jsx)(`g`,{fill:`none`,stroke:`#fff`,strokeWidth:`1.8`,strokeLinejoin:`round`,strokeLinecap:`round`,children:n})]})),le=(e,t)=>re(e,t,`h-[44px] min-w-[64px] px-[4px]`,(0,z.jsx)(`span`,{className:`flex h-[24px] items-center rounded-full px-[10px] text-[10px] font-semibold uppercase tracking-wider ${w} ${C(ee(t))}`,children:e})),ue=(e,t)=>re(e,t,`h-[44px] w-[44px]`,(0,z.jsx)(`span`,{className:`flex h-[36px] w-[36px] items-center justify-center rounded-full text-[11px] font-bold ${w} ${C(ee(t))}`,children:e})),de=e=>{let{dx:t,dy:n}=Ts(e===`l`?l.lx:l.rx,e===`l`?l.ly:l.ry,34),r=d[e];return(0,z.jsx)(`div`,{"aria-label":e===`l`?o(`rp_touch_left_stick`,void 0,`Left stick`):o(`rp_touch_right_stick`,void 0,`Right stick`),onPointerDown:t=>v(t,t=>{let n=t.getBoundingClientRect();return{kind:`stick`,which:e,cx:n.left+n.width/2,cy:n.top+n.height/2,radius:n.width/2}}),...S,className:`pointer-events-auto relative h-[124px] w-[124px] touch-none rounded-full border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${r?`border-white/80 bg-white/[0.12]`:`border-white/45 bg-white/[0.05]`}`,children:(0,z.jsx)(`div`,{className:`absolute left-1/2 top-1/2 h-[54px] w-[54px] rounded-full ${C(r)}`,style:{transform:`translate(calc(-50% + ${t}px), calc(-50% + ${n}px))`}})})},O=t===`deck`,fe=Ss(r,m.width,m.height,O),pe=e=>`${e}px * var(--k)`,k=`max(12px, env(safe-area-inset-left))`,me=`max(12px, env(safe-area-inset-right))`,he=`max(12px, env(safe-area-inset-bottom))`,ge=O?`8px`:t===`overlay-bar`?`3.5rem`:`max(10px, env(safe-area-inset-top))`,_e=(e,t,n=0)=>t?n?`calc(${e} + max(${pe(t)}, ${n}px))`:`calc(${e} + ${pe(t)})`:e,ye=(e,t)=>({position:`absolute`,...t,transform:`scale(var(--k))`,transformOrigin:e}),be=O&&ws(fe,m.height),A=O?void 0:`58%`,j=e=>O?{top:_e(ge,be?96:112,be?72:90),[e]:e===`left`?k:me}:{top:A,translate:`0 -50%`,[e]:e===`left`?k:me},xe=e=>({bottom:be?he:_e(he,O?56:0,44),[e]:be?`calc(${e===`left`?k:me} + 8px + max(${pe(80)}, 44px))`:_e(e===`left`?k:me,O?40:168)}),Se=!!a&&!O;return(0,z.jsxs)(`div`,{ref:p,className:`pointer-events-none absolute z-10 select-none [-webkit-touch-callout:none] ${O?`inset-x-0 bottom-0`:`inset-0`}`,style:{top:O?i:void 0,"--k":fe},"data-testid":`rp-touch`,"data-layout":t,"data-scale":fe,onContextMenu:e=>e.preventDefault(),children:[(0,z.jsxs)(`div`,{className:`absolute inset-0`,style:{opacity:vs(n)},children:[(0,z.jsx)(`div`,{style:ye(`top left`,{top:ge,left:k}),children:(0,z.jsxs)(`div`,{className:`ms-[8px] flex flex-col`,style:{rotate:O?void 0:`6deg`,transformOrigin:`top left`},children:[oe(`L2`,`l2`,`l`),ae(`L1`,R.L1,`l`,!1)]})}),(0,z.jsx)(`div`,{style:ye(`top right`,{top:ge,right:me}),children:(0,z.jsxs)(`div`,{className:`me-[8px] flex flex-col items-end`,style:{rotate:O?void 0:`-6deg`,transformOrigin:`top right`},children:[oe(`R2`,`r2`,`r`),ae(`R1`,R.R1,`r`,!1)]})}),(0,z.jsx)(`div`,{"aria-label":o(`rp_touch_touchpad`,void 0,`Touchpad`),onPointerDown:e=>v(e,t=>({kind:`touchpad`,rect:t.getBoundingClientRect(),x0:e.clientX,y0:e.clientY,pressed:!0})),...S,className:`pointer-events-auto absolute touch-none rounded-2xl border-[1.5px] shadow-[0_0_3px_rgba(0,0,0,0.3)] transition-colors duration-75 ${d.touchpad?`border-white/80 bg-white/25`:`border-white/40 bg-white/[0.05]`}`,style:O?{top:_e(ge,6),left:_e(k,104),right:_e(me,104),height:`max(44px, calc(${pe(64)}))`}:{top:ge,left:`50%`,translate:`-50% 0`,width:`min(calc(${pe(250)}), 34vw)`,height:`max(44px, calc(${pe(56)}))`}}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top left`:`left center`,j(`left`)),children:[(0,z.jsx)(`span`,{}),se(`↑`,R.UP,0),(0,z.jsx)(`span`,{}),se(`←`,R.LEFT,-90),(0,z.jsx)(`span`,{}),se(`→`,R.RIGHT,90),(0,z.jsx)(`span`,{}),se(`↓`,R.DOWN,180),(0,z.jsx)(`span`,{})]}),(0,z.jsxs)(`div`,{className:`grid grid-cols-3 grid-rows-3`,style:ye(O?`top right`:`right center`,j(`right`)),children:[(0,z.jsx)(`span`,{}),ce(`△`,R.TRIANGLE,(0,z.jsx)(`path`,{d:`M26 16.5 L35 32 L17 32 Z`})),(0,z.jsx)(`span`,{}),ce(`□`,R.SQUARE,(0,z.jsx)(`rect`,{x:`18`,y:`18`,width:`16`,height:`16`,rx:`1`})),(0,z.jsx)(`span`,{}),ce(`○`,R.CIRCLE,(0,z.jsx)(`circle`,{cx:`26`,cy:`26`,r:`8.5`})),(0,z.jsx)(`span`,{}),ce(`✕`,R.CROSS,(0,z.jsx)(`path`,{d:`M19 19 L33 33 M33 19 L19 33`})),(0,z.jsx)(`span`,{})]}),(0,z.jsx)(`div`,{style:ye(`bottom left`,xe(`left`)),children:de(`l`)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,xe(`right`)),children:de(`r`)}),(0,z.jsx)(`div`,{style:ye(`bottom left`,{bottom:he,left:k}),children:le(`Create`,R.SHARE)}),(0,z.jsx)(`div`,{style:ye(`bottom right`,{bottom:he,right:me}),children:le(`Options`,R.OPTIONS)}),(0,z.jsx)(`div`,{style:ye(`bottom center`,{bottom:be?_e(he,124,88):_e(he,Se?48:0,48),left:Es,translate:`-50% 0`}),children:ue(`PS`,R.PS)})]}),Se&&(0,z.jsx)(`div`,{style:{...ye(`bottom center`,{bottom:he,left:`calc(50% + (env(safe-area-inset-left) - env(safe-area-inset-right)) / 2)`,translate:`-50% 0`}),opacity:Math.max(.7,vs(n))},children:(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),a?.()},onDoubleClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),"aria-label":o(`rp_menu`,void 0,`Menu`),"aria-haspopup":`dialog`,className:`${te} h-[44px] w-[56px]`,style:ne,"data-testid":`rp-menu-handle`,children:(0,z.jsx)(`span`,{className:`flex h-[26px] w-[44px] items-center justify-center rounded-full ${w} ${C(!1)}`,children:(0,z.jsx)(ve,{size:15,strokeWidth:2,"aria-hidden":!0})})})})]})}var As=`data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAYZbW9vdgAAAGxtdmhkAAAAAAAAAAAAAAAAAAAfQAAAfQAAAQAAAQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAmt0cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAABAAAAAAAAfQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAABAAAAAQAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAH0AAAAAAAABAAAAAAHjbWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAABAAAABAABVxAAAAAAALWhkbHIAAAAAAAAAAHZpZGUAAAAAAAAAAAAAAABWaWRlb0hhbmRsZXIAAAABjm1pbmYAAAAUdm1oZAAAAAEAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAU5zdGJsAAAAunN0c2QAAAAAAAAAAQAAAKphdmMxAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAABAAEABIAAAASAAAAAAAAAABFExhdmM2My4xLjEwMiBsaWJ4MjY0AAAAAAAAAAAAAAAAGP//AAAAMGF2Y0MBQsAK/+EAF2dCwAqmEXsBEAAAAwAQAAADACDxImEYAQAGaMhCAZSyAAAAEHBhc3AAAAABAAAAAQAAABRidHJ0AAAAAAAABUAAAAAAAAAAGHN0dHMAAAAAAAAAAQAAAAQAAEAAAAAAFHN0c3MAAAAAAAAAAQAAAAEAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAJHN0c3oAAAAAAAAAAAAAAAQAAAKCAAAACgAAAAoAAAAKAAAAIHN0Y28AAAAAAAAABAAABlwAAAj+AAAJKAAACVIAAALZdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAgAAAAAAAH0AAAAAAAAAAAAAAAABAQAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAB9AAAABAAAAQAAAAACUW1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAAAAH0AAAIEAVcQAAAAAAC1oZGxyAAAAAAAAAABzb3VuAAAAAAAAAAAAAAAAU291bmRIYW5kbGVyAAAAAfxtaW5mAAAAEHNtaGQAAAAAAAAAAAAAACRkaW5mAAAAHGRyZWYAAAAAAAAAAQAAAAx1cmwgAAAAAQAAAcBzdGJsAAAAfnN0c2QAAAAAAAAAAQAAAG5tcDRhAAAAAAAAAAEAAAAAAAAAAAABABAAAAAAH0AAAAAAADZlc2RzAAAAAAOAgIAlAAIABICAgBdAFQAAAAAAH0AAAAEcBYCAgAUViFblAAaAgIABAgAAABRidHJ0AAAAAAAAH0AAAAEcAAAAIHN0dHMAAAAAAAAAAgAAACAAAAQAAAAAAQAAAQAAAAAoc3RzYwAAAAAAAAACAAAAAQAAAAEAAAABAAAAAgAAAAgAAAABAAAAmHN0c3oAAAAAAAAAAAAAACEAAAATAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAkc3RjbwAAAAAAAAAFAAAGSQAACN4AAAkIAAAJMgAACVwAAAAac2dwZAEAAAByb2xsAAAAAgAAAAH//wAAABxzYmdwAAAAAHJvbGwAAAABAAAAIQAAAAEAAABhdWR0YQAAAFltZXRhAAAAAAAAACFoZGxyAAAAAAAAAABtZGlyYXBwbAAAAAAAAAAAAAAAACxpbHN0AAAAJKl0b28AAAAcZGF0YQAAAAEAAAAATGF2ZjYzLjEuMTAyAAAACGZyZWUAAAM7bWRhdNwATGF2YzYzLjEuMTAyAAIwQA4AAAJvBgX//2vcRem95tlIt5Ys2CDZI+7veDI2NCAtIGNvcmUgMTY1IHIzMjIyIGIzNTYwNWEgLSBILjI2NC9NUEVHLTQgQVZDIGNvZGVjIC0gQ29weWxlZnQgMjAwMy0yMDI1IC0gaHR0cDovL3d3dy52aWRlb2xhbi5vcmcveDI2NC5odG1sIC0gb3B0aW9uczogY2FiYWM9MCByZWY9MTYgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDEzMSBtZT11bWggc3VibWU9MTAgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MSBtZV9yYW5nZT0yNCBjaHJvbWFfbWU9MSB0cmVsbGlzPTIgOHg4ZGN0PTAgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz0xIGxvb2thaGVhZF90aHJlYWRzPTEgc2xpY2VkX3RocmVhZHM9MCBucj0wIGRlY2ltYXRlPTEgaW50ZXJsYWNlZD0wIGJsdXJheV9jb21wYXQ9MCBjb25zdHJhaW5lZF9pbnRyYT0wIGJmcmFtZXM9MCB3ZWlnaHRwPTAga2V5aW50PTQga2V5aW50X21pbj0xIHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NCByYz1jcmYgbWJ0cmVlPTEgY3JmPTUxLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IGlwX3JhdGlvPTEuNDAgYXE9MToxLjAwAIAAAAALZYiCAv5MUAAQv8ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmhwF/UABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmioBb1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBwAAAAZBmjsBX1ABGCAHARggBwEYIAcBGCAHARggBwEYIAcBGCAHARggBw==`,js=null,Ms=null;function Ns(e){e.play().catch(()=>{if(Ms||js!==e)return;let t=()=>{Ps(),js===e&&e.play().catch(()=>{})};window.addEventListener(`pointerdown`,t,{capture:!0}),Ms=()=>window.removeEventListener(`pointerdown`,t,{capture:!0})})}function Ps(){Ms?.(),Ms=null}function Fs(){if(typeof document<`u`){if(!js){let e=document.createElement(`video`);e.muted=!0,e.loop=!0,e.playsInline=!0,e.setAttribute(`playsinline`,``),e.setAttribute(`aria-hidden`,`true`),e.setAttribute(`data-testid`,`keep-screen-video`),e.style.cssText=`position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none`,e.src=As,document.body.appendChild(e),js=e}Ns(js)}}function Is(){Ps(),js&&=(js.pause(),js.removeAttribute(`src`),js.remove(),null)}function Ls(){return typeof navigator>`u`?null:navigator.wakeLock??null}function Rs(){return dt()||!Pn()}var zs=new Set,Bs=null,Vs=Promise.resolve(),Hs=!1;async function Us(){if(zs.size===0||Bs&&!Bs.released)return;let e=Ls();if(!e)dt()&&Fs();else try{let t=await e.request(`screen`);t.addEventListener(`release`,()=>{Bs===t&&(Bs=null)}),Bs=t}catch{}}async function Ws(){Is();let e=Bs;if(Bs=null,e&&!e.released)try{await e.release()}catch{}}function Gs(){Hs||typeof document>`u`||(Hs=!0,document.addEventListener(`visibilitychange`,()=>{document.visibilityState===`visible`&&zs.size>0&&(Vs=Vs.then(Us))}))}function Ks(e,t){if(!Rs())return;Gs();let n=zs.size>0;t?zs.add(e):zs.delete(e);let r=zs.size>0;n!==r&&(Vs=Vs.then(r?Us:Ws))}var qs=new Set;function Js(){if(typeof window<`u`)return window.PS5UploadPad}function Ys(e,t){let n=qs.size>0;t?qs.add(e):qs.delete(e);let r=qs.size>0;if(n!==r)try{Js()?.setActive(r)}catch{}}var Xs=class e{constructor(e){this.receiver=e,this.last=null,this.was={}}get frames(){return Number(this.last?.frames??0)}static report(e,t){let n=t=>e[t]??0,r=e=>n(e)-(t[e]??0),i=(e,t)=>r(t)>0?Math.round(r(e)/r(t)*1e4)/10:0;return{frames:n(`framesDecoded`),dropped:n(`framesDropped`),stalls:n(`freezeCount`),stall_ms:Math.round(n(`totalFreezesDuration`)*1e3),decode_ms:i(`totalDecodeTime`,`framesDecoded`),jitter_ms:i(`jitterBufferDelay`,`jitterBufferEmittedCount`),nacks:n(`nackCount`),plis:n(`pliCount`),decoder:`track`}}snapshot(){return this.receiver.getStats().then(t=>{t.forEach(t=>{t.type===`inbound-rtp`&&t.kind===`video`&&(this.last=e.report(t,this.was),this.was={...t})})}).catch(()=>{}),this.last}},Zs=class{constructor(e){this.inner=e,this.video=document.createElement(`video`),this.wrap=document.createElement(`div`),this.media=null,this.trackStats=null,this.audio=!1,this.soundOn=!1,this.muted=!1;let t=this.video;t.muted=t.autoplay=t.playsInline=!0,t.className=`block h-full w-full object-contain`,t.dataset.testid=`track-video`,this.wrap.className=`h-full w-full`,this.wrap.append(t,e.element),this.setTrack(null)}get element(){return this.wrap}get stats(){return this.trackStats??this.inner.stats}setTrack(e,t=!1){this.media=e,this.audio=!!e&&t,this.applySound(),this.trackStats=e?new Xs(e.receiver):null,this.video.style.display=e?``:`none`,this.inner.element.style.display=e?`none`:``,this.video.srcObject!==(e?.stream??null)&&(this.video.srcObject=e?.stream??null),e&&this.play()}play(){try{this.video.play()?.catch?.(()=>{})}catch{}}onMessage(e){let t=new Uint8Array(e)[0];this.media&&t<=1||(!this.audio||t!==3&&t!==4)&&this.inner.onMessage(e)}applySound(){this.video.muted=!(this.audio&&this.soundOn&&!this.muted)}setHevc(e){this.inner.setHevc(e)}set onSoundFail(e){this.inner.onSoundFail=e}soundReport(){return this.inner.soundReport()}startSound(){this.inner.startSound(),this.soundOn=!0,this.applySound(),this.media&&this.play()}setMuted(e){this.inner.setMuted(e),this.muted=e,this.applySound()}resumeSound(){this.inner.resumeSound(),this.media&&this.video.paused&&this.play()}stop(){this.inner.stop(),this.video.srcObject=null}},Qs=`ps5upload.join.muted`,$s=5e3,ec=Object.fromEntries(Object.entries(Na).filter(([e])=>e!==`Escape`)),tc=new Set;function nc(e){if(!(e.code in ec)||e.ctrlKey||e.metaKey||e.altKey)return!1;let t=e.target;if(e.code===`Tab`&&(e.shiftKey||rc(t)))return!1;let n=t?.tagName;return!(n===`INPUT`||n===`TEXTAREA`||n===`SELECT`||t?.isContentEditable||rc(t))}function rc(e){let t=e?.tagName;if(t===`BUTTON`||t===`A`)return!0;let n=e?.getAttribute?.(`role`);return n===`button`||n===`link`||n===`menuitem`||n===`tab`||n===`switch`}var ic=!1;function ac(e){ic=e}function oc(e,t,n=null){if(!e||e.frames===0&&!t)return null;let r=e.snapshot();return r&&{...r,...t?{problem:t}:{},...n??{}}}function sc(){if(ic)return{...ja};let e=Ga(Xa(typeof navigator>`u`?void 0:navigator),So),t=hs.touchPad;return{...Ka(Ka(e,Fa(tc,ec)),t),touch:t.touch??null,motion:hs.motion??null}}var cc=class{constructor(e){this.opts=e,this.player=null,this.listeners=new Set,this.cleanups=[],this.subscribe=e=>(this.listeners.add(e),()=>this.listeners.delete(e)),this.snap={stage:{kind:`connecting`},status:null,rttMs:null,light:null,problem:null,sound:!1,noSound:!1,host:e.host,muted:uc(),path:null},this.client=new zo({url:e.url,invite:e.invite,code:e.code??null,name:e.name,WebSocketImpl:e.transport,readPad:sc,onStage:e=>{this.set({stage:e}),e.kind===`joined`&&this.readPath(),(e.kind===`refused`||e.kind===`ended`)&&this.teardown()},onStatus:e=>this.set({status:e,host:e.host??this.snap.host}),onRtt:e=>this.set({rttMs:e}),onFrame:e=>this.picture().onMessage(e),readStats:()=>oc(this.player?.stats??null,this.snap.problem,this.player?.soundReport()??null),onCodec:(e,t,n)=>{let r=this.picture();r.setHevc(e),r instanceof Zs&&(r.setTrack(t,!!n),t&&this.snap.problem&&this.set({problem:null}))},onRumble:(e,t)=>{let n=Xa(typeof navigator>`u`?void 0:navigator);qa(n,e,t),n.some(e=>e?.connected)||navigator.vibrate?.(e||t?200:0)},onLight:e=>this.set({light:e})})}picture(){if(!this.player){let e=oa(e=>this.set({problem:e}),`player`,()=>this.client.askKeyframe());this.player=this.opts.transport?new Zs(e):e,this.player.onSoundFail=()=>this.set({noSound:!0}),this.player.setMuted(this.snap.muted)}return this.player}async readPath(){let e=this.client.socket,t=this.opts.path??null;if(e?.netPath)try{t=await e.netPath()??this.opts.path??null}catch{t=null}t!==this.snap.path&&this.set({path:t})}get element(){return this.picture().element}start(){let e=()=>{document.visibilityState===`hidden`?tc.clear():this.player?.resumeSound(),this.client.setNeutral(document.visibilityState===`hidden`)},t=()=>{tc.clear(),this.client.setNeutral(!0)},n=e=>{this.client.current.kind===`joined`&&nc(e)&&(!this.opts.keysLive||this.opts.keysLive())&&(e.preventDefault(),tc.add(e.code))},r=e=>{tc.delete(e.code)&&nc(e)&&e.preventDefault()};window.addEventListener(`keydown`,n),window.addEventListener(`keyup`,r);let i=()=>{this.client.setNeutral(document.visibilityState===`hidden`),document.visibilityState!==`hidden`&&this.player?.resumeSound()};document.addEventListener(`visibilitychange`,e),window.addEventListener(`blur`,t),window.addEventListener(`focus`,i);let a=setInterval(()=>{this.client.current.kind===`joined`&&this.readPath()},$s);this.cleanups.push(()=>{clearInterval(a),document.removeEventListener(`visibilitychange`,e),window.removeEventListener(`blur`,t),window.removeEventListener(`focus`,i),window.removeEventListener(`keydown`,n),window.removeEventListener(`keyup`,r),tc.clear()}),this.client.start()}setMuted(e){this.player?.setMuted(e);try{localStorage.setItem(Qs,e?`1`:`0`)}catch{}this.set({muted:e})}startSound(){this.snap.sound||(this.picture().startSound(),this.set({sound:!0}))}leave(){this.client.leave(),this.teardown()}stop(){this.client.stop(),this.teardown()}teardown(){for(let e of this.cleanups.splice(0))e();hs.touchPad={buttons:0,l2:0,r2:0,lx:0,ly:0,rx:0,ry:0};let e=this.player;this.player=null,e&&(e.stop(),e.element.remove())}sendPad(){this.client.sendPad(!1)}get snapshot(){return this.snap}set(e){this.snap={...this.snap,...e};for(let e of this.listeners)e()}};function lc(e){return(0,D.useSyncExternalStore)(e.subscribe,()=>e.snapshot)}function uc(){try{return typeof localStorage<`u`&&localStorage.getItem(Qs)===`1`}catch{return!1}}function dc(e){let t=()=>{let t=e.snapshot.stage.kind,n=t!==`refused`&&t!==`ended`;Ks(`play-together`,n),Ys(`play-together`,n)};t();let n=e.subscribe(t);return()=>{n(),Ks(`play-together`,!1),Ys(`play-together`,!1)}}var fc=3e3,pc=class{constructor(e,t=fc){this.onChange=e,this.delay=t,this.enabled=!1,this.pinned=!1,this.sticky=!1,this.shown=!0,this.timer=null}get visible(){return!this.enabled||this.pinned||this.shown}set(e,t,n=!1){let r=this.enabled&&!this.pinned,i=this.enabled,a=this.sticky;this.enabled=e,this.pinned=t,this.sticky=n,!e||t?(this.stop(),this.show(!0)):n?(this.stop(),!i||!a?this.show(!1):r||this.show(!0)):(!r||a)&&(this.show(!0),this.arm())}poke(){this.show(!0),this.enabled&&!this.pinned&&!this.sticky&&this.arm()}toggle(){this.visible?this.hide():this.poke()}hide(){this.enabled&&!this.pinned&&(this.stop(),this.show(!1))}dispose(){this.stop()}arm(){this.stop(),this.timer=setTimeout(()=>{this.timer=null,this.show(!1)},this.delay)}stop(){this.timer!==null&&clearTimeout(this.timer),this.timer=null}show(e){this.shown!==e&&(this.shown=e,this.onChange(e))}};function mc(e,t,n=!1){let[r,i]=(0,D.useState)(!0),a=(0,D.useRef)(null);(0,D.useEffect)(()=>{let e=new pc(i);return a.current=e,()=>{e.dispose(),a.current=null}},[]),(0,D.useEffect)(()=>{a.current?.set(e,t,n)},[e,t,n]);let o=(0,D.useCallback)(()=>a.current?.poke(),[]),s=(0,D.useCallback)(()=>a.current?.hide(),[]),c=(0,D.useCallback)(()=>a.current?.toggle(),[]);return{shown:!e||t||r,poke:o,hide:s,toggle:c}}var hc=3e4,gc=class{constructor(e,t=hc){this.onChange=e,this.ms=t,this.picking=!1,this.over=!1,this.timer=null}get shown(){return this.picking&&!this.over}set(e){e!==this.picking&&(this.picking=e,this.over=!1,this.stop(),e&&(this.timer=setTimeout(()=>{this.timer=null,this.over=!0,this.onChange()},this.ms)))}stop(){this.timer&&clearTimeout(this.timer),this.timer=null}reset(){this.stop(),this.picking=!1,this.over=!1}};function _c(e){let[,t]=(0,D.useState)(0),[n]=(0,D.useState)(()=>new gc(()=>t(e=>e+1)));return(0,D.useEffect)(()=>{n.set(e),t(e=>e+1)},[n,e]),(0,D.useEffect)(()=>()=>n.reset(),[n]),n.shown}var vc=()=>Xa(typeof navigator>`u`?void 0:navigator).filter(e=>!!e?.connected);function yc(e,t){if(t.kind===`axis`)return t.which===`lx`?e(`rp_pad_step_lx`,void 0,`Push the left stick right`):t.which===`ly`?e(`rp_pad_step_ly`,void 0,`Push the left stick down`):t.which===`rx`?e(`rp_pad_step_rx`,void 0,`Push the right stick right`):e(`rp_pad_step_ry`,void 0,`Push the right stick down`);if(t.kind===`button`){if(t.bit===R.CROSS)return e(`join_check_bottom`,void 0,`Press the bottom face button (✕)`);if(t.bit===R.CIRCLE)return e(`join_check_right`,void 0,`Press the right face button (○)`);if(t.bit===R.SQUARE)return e(`join_check_left`,void 0,`Press the left face button (□)`);if(t.bit===R.TRIANGLE)return e(`join_check_top`,void 0,`Press the top face button (△)`)}return e(`rp_pad_press`,{name:t.name},`Press ${t.name}`)}function bc(e,t){let n=(0,D.useRef)(t);(0,D.useEffect)(()=>{n.current=t}),(0,D.useEffect)(()=>{if(e===null)return;let t=0,r=()=>{n.current(vc().find(t=>t.index===e)??null),t=window.requestAnimationFrame(r)};return t=window.requestAnimationFrame(r),()=>window.cancelAnimationFrame(t)},[e])}var xc=[[R.CROSS,`✕`],[R.CIRCLE,`○`],[R.SQUARE,`□`],[R.TRIANGLE,`△`],[R.UP,`↑`],[R.DOWN,`↓`],[R.LEFT,`←`],[R.RIGHT,`→`],[R.L1,`L1`],[R.R1,`R1`],[R.L3,`L3`],[R.R3,`R3`],[R.SHARE,`Create`],[R.OPTIONS,`Options`],[R.PS,`PS`],[R.TOUCHPAD,`Touchpad`]];function Sc({pad:e}){let t=e=>`flex h-8 min-w-8 items-center justify-center rounded-md px-1.5 text-xs font-medium ${e?`bg-white text-black`:`bg-white/10 text-white/70`}`,n=(e,t,n)=>(0,z.jsxs)(`span`,{className:`relative flex h-12 w-12 items-center justify-center rounded-full bg-white/10 text-[10px] text-white/50`,children:[n,(0,z.jsx)(`span`,{className:`absolute h-3 w-3 rounded-full bg-white`,style:{left:`calc(50% + ${e/32767*18}px - 6px)`,top:`calc(50% + ${t/32767*18}px - 6px)`}})]});return(0,z.jsxs)(`div`,{className:`space-y-2`,"data-testid":`join-pad-test`,"data-buttons":e.buttons,children:[(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-1`,children:[xc.map(([n,r])=>(0,z.jsx)(`span`,{className:t((e.buttons&n)!==0),"data-on":(e.buttons&n)===0?`0`:`1`,children:r},n)),(0,z.jsx)(`span`,{className:t(e.l2>30),children:`L2`}),(0,z.jsx)(`span`,{className:t(e.r2>30),children:`R2`})]}),(0,z.jsxs)(`div`,{className:`flex gap-3`,children:[n(e.lx,e.ly,`L`),n(e.rx,e.ry,`R`)]})]})}function Cc({onClose:e}){let t=Ie(),[n,r]=(0,D.useState)(()=>vc().map(e=>({index:e.index,id:e.id}))),[i,a]=(0,D.useState)(()=>vc()[0]?.index??null),[o,s]=(0,D.useState)(ja),[c,l]=(0,D.useState)(null),[u,d]=(0,D.useState)(0),[f,p]=(0,D.useState)(yo),[m,h]=(0,D.useState)(null),[g,_]=(0,D.useState)(null),v=(0,D.useRef)(null);(0,D.useEffect)(()=>(ac(!0),()=>ac(!1)),[]),(0,D.useEffect)(()=>{(v.current?.querySelector(`[data-testid="join-pad-learn-start"]`)??v.current?.querySelector(`[data-testid="join-pad-check-close"]`))?.focus({preventScroll:!0})},[]),(0,D.useEffect)(()=>{let e=document.activeElement;e&&e!==document.body||v.current?.querySelector(`button:not([disabled])`)?.focus({preventScroll:!0})},[c,u]),(0,D.useEffect)(()=>{let e=()=>{let e=vc();r(t=>t.length===e.length&&t.every((t,n)=>t.id===e[n].id&&t.index===e[n].index)?t:e.map(e=>({index:e.index,id:e.id}))),a(t=>t!==null&&e.some(e=>e.index===t)?t:e[0]?.index??null)},t=window.setInterval(e,500);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(t),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),bc(i,e=>{if(_(t=>t?.id===e?.id?t:e),!e)return;if(c){c.feed(Eo(e))&&y(c,e);return}let t=Ga([e],So);s(e=>e.buttons===t.buttons&&e.l2===t.l2&&e.r2===t.r2&&e.lx===t.lx&&e.ly===t.ly&&e.rx===t.rx&&e.ry===t.ry?e:t)});let y=(e,n)=>{if(!e.done)return d(e.step);let r=n?.id??g?.id;l(null),r&&(p(bo(r,e.profile(n?wo(n):void 0))),h(t(`join_check_saved`,void 0,`Saved for this controller on this device. Try it below.`)))},b=()=>{h(null),d(0),l(new Fo(No))},x=g,S=x?Co(x):null,ee=!!(x&&f[x.id]);return(0,z.jsx)(`div`,{ref:v,role:`dialog`,"aria-modal":`true`,"aria-label":t(`join_check_title`,void 0,`Check your controller`),className:`absolute inset-0 z-40 flex items-center justify-center bg-black/70 p-4 backdrop-blur-sm`,"data-testid":`join-pad-check`,onPointerDown:e=>e.stopPropagation(),children:(0,z.jsxs)(`div`,{className:`w-[min(26rem,100%)] space-y-3 rounded-2xl border border-white/10 bg-neutral-900/95 p-4 text-sm text-white shadow-2xl`,children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,z.jsx)(me,{size:16,className:`text-white/70`}),(0,z.jsx)(`p`,{className:`flex-1 font-semibold`,children:t(`join_check_title`,void 0,`Check your controller`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,"aria-label":t(`join_done`,void 0,`Done`),className:`flex h-8 w-8 items-center justify-center rounded-full bg-white/10 hover:bg-white/20`,"data-testid":`join-pad-check-close`,children:(0,z.jsx)(De,{size:15})})]}),x?(0,z.jsxs)(z.Fragment,{children:[n.length>1&&(0,z.jsx)(`div`,{className:`flex flex-wrap gap-1`,children:n.map(e=>(0,z.jsx)(`button`,{type:`button`,disabled:!!c,onClick:()=>a(e.index),className:`rounded-full px-2.5 py-1 text-xs ${e.index===i?`bg-white text-black`:`bg-white/10`}`,children:to(e.id)},`${e.index}-${e.id}`))}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`p`,{className:`truncate font-medium`,"data-testid":`join-pad-check-name`,children:to(x.id)}),(0,z.jsx)(`p`,{className:`text-xs text-white/60`,"data-testid":`join-pad-check-kind`,"data-kind":S??``,children:S===`saved`?t(`rp_pad_mapped`,void 0,`Plays with your mapping`):S===`guess`?t(`join_check_unknown`,void 0,`This controller isn't on our list, so its buttons may be mixed up. Setting it up takes a few seconds.`):t(`rp_pad_standard`,void 0,`Recognized`)}),io(x)&&(0,z.jsx)(ps,{id:x.id,className:`mt-1 block text-xs text-amber-200/90`})]}),c?(0,z.jsxs)(`div`,{className:`space-y-3`,"data-testid":`join-pad-learn`,children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`rp_pad_progress`,{n:u+1,total:c.steps.length},`${u+1} of ${c.steps.length}`)}),(0,z.jsx)(`p`,{className:`text-lg font-semibold`,"data-testid":`join-pad-learn-step`,children:c.current?yc(t,c.current):``}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.skip(),y(c,x)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-learn-skip`,children:t(`rp_pad_skip`,void 0,`Skip`)}),u>0&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{c.back(),d(c.step)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,children:t(`rp_pad_back`,void 0,`Back`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>l(null),className:`rounded-full px-3 py-1.5 text-xs text-white/70 hover:bg-white/10`,children:t(`rp_pad_cancel`,void 0,`Cancel`)})]})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-xs text-white/60`,children:t(`join_check_try`,void 0,`Press buttons and move the sticks: what you press lights up.`)}),(0,z.jsx)(Sc,{pad:o}),m&&(0,z.jsx)(`p`,{className:`text-xs text-emerald-300`,role:`status`,children:m}),(0,z.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:b,className:`rounded-full bg-white px-3 py-1.5 text-xs font-medium text-black`,"data-testid":`join-pad-learn-start`,children:ee?t(`join_check_redo`,void 0,`Redo`):t(`join_check_map`,void 0,`Set up the buttons`)}),ee&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>{p(bo(x.id,null)),h(null)},className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-reset`,children:t(`rp_pad_reset`,void 0,`Reset`)}),(0,z.jsx)(`button`,{type:`button`,onClick:e,className:`rounded-full bg-white/15 px-3 py-1.5 text-xs hover:bg-white/25`,"data-testid":`join-pad-check-done`,children:t(`join_done`,void 0,`Done`)})]})]})]}):(0,z.jsx)(`p`,{className:`text-white/70`,children:t(`rp_pads_none`,void 0,`No controller seen yet. Connect one and press any button on it.`)})]})})}function wc(e,t){let[n,r]=(0,D.useState)(!1);return(0,D.useEffect)(()=>{if(!e||!t)return;let n=!0;return Be(e,Le).then(e=>{n&&!e&&r(!0)}),()=>{n=!1}},[e,t]),n}function Tc({href:e}){let t=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-3 text-center`,"data-testid":`open-on-wifi`,children:[(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t(`join_open_lan_body`,void 0,`Can't reach the internet? If you're on the same Wi-Fi as your friend, open the game there.`)}),(0,z.jsx)(`a`,{href:e,rel:`noreferrer`,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`open-on-wifi-link`,children:t(`join_open_lan`,void 0,`Open on this Wi-Fi`)})]})}function Ec(e){let t=Math.max(0,Math.ceil(e));return`${Math.floor(t/60)}:${String(t%60).padStart(2,`0`)}`}var Dc=`ps5upload.join.guided`,Oc=1;function kc(e){return e.player!==Oc&&(!e.guided||e.movedOff)&&!e.reconnecting}function Ac(e,t,n){return!t||!(t.state===`picking_user`||t.moveFirst)?null:t.tookHost?e(`join_took_host`,{host:n},`${n}'s game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.`):t.hostUser?e(`join_not_host_user`,{user:t.hostUser,host:n},`Move to Quick Play before pressing ✕. Don't pick ${t.hostUser}: that's ${n}'s user, and it ends their game.`):e(`join_not_host_user_unnamed`,{host:n},`Move to Quick Play before pressing ✕. Don't pick ${n}'s PS5 user: it ends their game.`)}function jc(e,t){switch(t){case`lan`:return e(`join_path_lan`,void 0,`Home network`);case`tailscale`:return e(`join_path_tailscale`,void 0,`Tailscale`);default:return e(`join_path_internet`,void 0,`Internet`)}}function Mc(e,t){return e(`join_seat_taken`,{host:t},`${t} needed their controller back and no other controller was free on the PS5, so you're out of the game. Ask ${t} to let you in again.`)}function Nc(e,t,n,r=!1){if(t.kind===`refused`)switch(t.why){case`key`:return e(`join_refused_key`,{host:n},`This invite has expired. Ask ${n} for a new link.`);case`expired`:return e(`join_refused_expired`,{host:n},`Your place in the game was lost. Ask ${n} to let you in again.`);case`full`:return e(`join_refused_full`,void 0,`The game is full: four players already.`);case`denied`:return e(`join_refused_denied`,{host:n},`${n} didn't let you in this time.`);case`no_answer`:return e(`join_refused_no_answer`,{host:n},`${n} didn't answer in time. Tell ${n}, then try again.`);case`closed`:return e(`join_refused_closed`,{host:n},`${n} isn't hosting Play Together right now.`);case`old_helper`:return e(`join_refused_old_helper`,{host:n},`${n}'s PS5 needs an updated helper for Play Together.`);case`not_playing`:return e(`join_refused_not_playing`,{host:n},`${n} isn't playing right now. Ask ${n} to start Play first.`);case`unreachable`:return e(`join_refused_unreachable`,{host:n},`${n}'s computer couldn't reach their PS5. Try again in a moment.`);case`slow_down`:return e(`join_refused_slow_down`,void 0,`Too many wrong codes. Wait a minute, then try again.`);case`address`:return e(`join_refused_address`,{host:n},`This link's address is outside your home network, so the app will not use it. Ask ${n} for a link with their computer's IP address.`);case`seat_taken`:return Mc(e,n);default:return e(`join_refused_other`,{host:n},`${n} didn't let you in.`)}if(t.kind===`ended`)switch(t.why){case`kicked`:return e(`join_ended_kicked`,{host:n},`${n} took you out of the game.`);case`closed`:return e(`join_ended_closed`,{host:n},`${n} closed Play Together.`);case`host_stopped`:return e(`join_ended_host_stopped`,void 0,`The host stopped playing.`);case`replaced`:return e(`join_ended_replaced`,void 0,`This game was opened in another tab or on another device, so it stopped here.`);case`pad_lost`:return e(`join_ended_pad_lost`,{host:n},`The PS5 lost your controller, so you're out of the game. Ask ${n} to let you in again.`);case`gave_up`:return e(`join_ended_gave_up`,{host:n},`The connection to ${n} didn't come back in time.`);case`lost`:return r?e(`join_net_lost`,{host:n},`The connection to ${n} dropped. Check your internet connection, then ask again.`):e(`join_ended_lost`,{host:n},`Couldn't reach ${n}. Check that you're on the same network.`);case`left`:return e(`join_ended_left`,void 0,`You left the game.`);case`seat_taken`:return Mc(e,n);case`mismatch`:return e(`join_net_mismatch`,void 0,`This link doesn't match the host; ask them for a new one.`);case`no_direct`:return e(`join_net_no_direct`,void 0,`A direct connection isn't possible from this network (both sides' routers are strict). Try Wi-Fi instead of mobile data, or ask the host to turn on UPnP.`);case`no_room`:return e(`join_net_no_room`,{host:n},`This invite isn't open any more. Ask ${n} for a new link.`);case`net_full`:return e(`join_net_full`,{host:n},`${n}'s game has no room for another friend right now. Try again in a moment.`);case`no_hub`:return e(`join_net_no_hub`,void 0,`Couldn't reach the PS5Upload invite service. Check your internet connection, then try again.`);case`offer`:return e(`join_net_offer`,{host:n},`${n}'s computer couldn't connect to this browser. Try another browser.`);case`no_webrtc`:return e(`join_net_no_webrtc`,void 0,`This browser can't make direct connections. Try a recent Chrome, Safari or Firefox.`)}return``}function Pc(e){let[t,n]=(0,D.useState)(()=>Date.now());return(0,D.useEffect)(()=>{if(!e)return;n(Date.now());let t=window.setInterval(()=>n(Date.now()),500);return()=>window.clearInterval(t)},[e]),t}function Fc(){let[e,t]=(0,D.useState)({ready:!1,pressed:!1,id:null,kind:null,weak8BitDo:!1});return(0,D.useEffect)(()=>{let e=()=>{let e=Xa(typeof navigator>`u`?void 0:navigator).find(e=>!!e?.connected),n=!!e,r=n?sc():null,i=!!r&&(r.buttons!==0||r.l2>30||r.r2>30),a=e?.id??null,o=e?Co(e):null,s=!!e&&io(e);t(e=>e.ready===n&&e.pressed===i&&e.id===a&&e.kind===o&&e.weak8BitDo===s?e:{ready:n,pressed:i,id:a,kind:o,weak8BitDo:s})};e();let n=window.setInterval(e,120);return window.addEventListener(`gamepadconnected`,e),window.addEventListener(`gamepaddisconnected`,e),()=>{window.clearInterval(n),window.removeEventListener(`gamepadconnected`,e),window.removeEventListener(`gamepaddisconnected`,e)}},[]),e}function Ic(e){return!!e?.closest?.(`[data-testid="rp-touch"]`)}var Lc=14,Rc=()=>typeof window<`u`&&!rs()&&!!window.matchMedia?.(`(pointer: coarse)`).matches;function zc(e,t,n){return!e||e===t||e.closest?.(`[data-join-game]`)?`game`:n?.contains(e)?`controls`:`page`}function Bc(e){return e.checking?`close-check`:e.guide?`close-guide`:e.where===`game`?`show-controls`:e.full?`leave-full`:null}var Vc={good:`var(--color-good,#32d074)`,fair:`var(--color-warn,#ffb340)`,slow:`var(--color-bad,#ff6961)`,none:`rgba(255,255,255,.5)`};function Hc({text:e,body:t,onCancel:n}){let r=Ie();return(0,z.jsxs)(`div`,{className:`flex flex-col items-center gap-5 px-6 py-10 text-center`,"data-testid":`join-waiting`,children:[(0,z.jsxs)(`div`,{className:`relative flex h-24 w-24 items-center justify-center`,"aria-hidden":!0,children:[(0,z.jsx)(`span`,{className:`absolute inset-0 animate-ping rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`absolute inset-3 animate-pulse rounded-full bg-white/10 [animation-duration:2.4s]`}),(0,z.jsx)(`span`,{className:`relative flex h-14 w-14 items-center justify-center rounded-full bg-white/15`,children:(0,z.jsx)(Se,{size:26})})]}),(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-stage`,children:e}),t&&(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-white/60`,children:t}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!0,className:`rounded-full bg-white/15 px-4 py-2 text-sm hover:bg-white/25`,"data-testid":`join-cancel`,children:r(`join_cancel`,void 0,`Cancel`)})]})}function Uc({session:e,inApp:t=!1,onLeave:n,onAgain:r,onFullscreen:i,lanUrl:a=null,hubDown:o=!1}){let s=Ie(),c=lc(e),{stage:l,status:u}=c,d=c.host??s(`join_host_fallback`,void 0,`your friend`),f=(0,D.useRef)(null),p=(0,D.useRef)(null),m=(0,D.useRef)(null),[h,g]=(0,D.useState)(!1),[_,v]=(0,D.useState)(()=>Lt(Dc)===`1`),[y,b]=(0,D.useState)(()=>typeof window<`u`&&window.innerHeight>window.innerWidth),x=Fc(),[S,ee]=(0,D.useState)(!1),C=l.kind===`reconnecting`,w=Pc(C),T=l.kind===`joined`||C,E=u?.state===`picking_user`,te=l.kind===`joined`||l.kind===`reconnecting`?l.player:0,[ne,re]=(0,D.useState)(!1),ie=(0,D.useRef)(te);(0,D.useEffect)(()=>{ie.current===Oc&&te>Oc&&re(!0),te&&(ie.current=te)},[te]);let[ae,oe]=(0,D.useState)(!1),[se,ce]=(0,D.useState)(!1),le=T&&(h||!t),de=Rc(),fe=_c(E),k=mc(le,C||fe&&!de||ae||se,de),{poke:he}=k,_e=(0,D.useRef)(null),ve=()=>{_e.current&&clearTimeout(_e.current.timer),_e.current=null};(0,D.useEffect)(()=>ve,[]);let[ye,A]=(0,D.useState)(!1),xe=(0,D.useRef)(!1);(0,D.useEffect)(()=>{if(!le||!de||k.shown||!_||xe.current)return;xe.current=!0,A(!0);let e=setTimeout(()=>A(!1),6e3);return()=>clearTimeout(e)},[le,de,k.shown,_]),(0,D.useEffect)(()=>{if(!T)return;let t=e.element;return f.current?.appendChild(t),()=>t.remove()},[T,e]),(0,D.useEffect)(()=>{if(!T||c.sound)return;let t=()=>e.startSound(),n=[`pointerup`,`touchend`,`click`,`keydown`];for(let e of n)window.addEventListener(e,t,!0);return()=>{for(let e of n)window.removeEventListener(e,t,!0)}},[T,c.sound,e]),(0,D.useEffect)(()=>{let e=()=>b(window.innerHeight>window.innerWidth);return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]),(0,D.useEffect)(()=>{if(h)return()=>void i?.(!1)},[h,i]);let Ce=(0,D.useRef)(h);(0,D.useEffect)(()=>{Ce.current=h},[h]),(0,D.useEffect)(()=>{if(!t||!T||!Rc()||typeof window>`u`||!window.matchMedia)return;let e=window.matchMedia(`(orientation: landscape)`),n=()=>{e.matches&&!Ce.current&&(g(!0),i?.(!0))};return n(),e.addEventListener?.(`change`,n),()=>e.removeEventListener?.(`change`,n)},[t,T,i]),(0,D.useEffect)(()=>{t&&T&&rs()&&!Ce.current&&(g(!0),i?.(!0))},[t,T,i]),(0,D.useEffect)(()=>{if(!T)return;let e=e=>{if(e.key!==`Escape`)return;if(S)return void Le.current();if(he(),h)return g(!1);let t=zc(document.activeElement,document.body,p.current);t===`game`?Le.current():t===`controls`&&m.current?.focus({preventScroll:!0})};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[T,h,he,S]),(0,D.useEffect)(()=>{if(!h||!Rc())return;window.history.pushState(window.history.state,``);let e=window.location.href,t=!1,n=()=>{t=!0,g(!1)};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),!t&&window.location.href===e&&window.history.back()}},[h]),(0,D.useEffect)(()=>{if(!h||typeof document>`u`)return;let e=()=>{document.fullscreenElement||Rc()||g(!1)};return document.addEventListener(`fullscreenchange`,e),()=>document.removeEventListener(`fullscreenchange`,e)},[h]);let Te=rs(),Ee=T&&kc({player:te,guided:_,movedOff:ne,reconnecting:C})&&!u?.playsAs,De=async e=>{g(e),await i?.(e)},Oe=()=>m.current?.focus({preventScroll:!0}),ke=()=>{It(Dc,`1`),v(!0),re(!1)},Ae=()=>{he();let e=C?`[data-testid="join-reconnecting-leave"]`:`[data-testid="join-bar"] button`;p.current?.querySelector(e)?.focus({preventScroll:!0})},je=()=>{let e=p.current?.querySelector(`[data-testid="join-check-open"]`);e?e.focus({preventScroll:!0}):Oe(),ee(!1)},Me=()=>zc(document.activeElement,document.body,p.current),[Ne,Pe]=(0,D.useState)(`game`);(0,D.useEffect)(()=>{if(!T)return;let e=()=>Pe(Me()),t=()=>window.setTimeout(e,0);return e(),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t)}},[T]);let Fe=()=>{switch(T?Bc({checking:S,guide:Ee,where:Me(),full:h}):null){case`close-check`:return je(),!0;case`close-guide`:return ke(),Oe(),!0;case`show-controls`:return Ae(),!0;case`leave-full`:return De(!1),!0;default:return!1}},Le=(0,D.useRef)(Fe);(0,D.useEffect)(()=>{Le.current=Fe});let Re=t&&!de&&T&&Bc({checking:S,guide:Ee,where:Ne,full:h})!==null;(0,D.useEffect)(()=>{if(Re)return Xo(()=>void Le.current())},[Re]);let ze=!t&&T&&!de;(0,D.useEffect)(()=>{if(!ze)return;let e=window.location.href;window.history.pushState(window.history.state,``);let t=!0,n=()=>{if(t=!1,!Le.current())return window.history.back();window.history.pushState(window.history.state,``),t=!0};return window.addEventListener(`popstate`,n),()=>{window.removeEventListener(`popstate`,n),t&&window.location.href===e&&window.history.back()}},[ze]);let Be=l.kind===`joined`;(0,D.useEffect)(()=>{if(!Be)return;let e=document.activeElement;if(e&&e!==document.body)return;let t=Te&&Ee?p.current?.querySelector(`[data-testid="join-guide-ok"]`):null;t?t.focus({preventScroll:!0}):Oe()},[Be]),(0,D.useEffect)(()=>{x.pressed&&T&&!S&&Me()===`controls`&&Oe()},[x.pressed]);let Ve=()=>{e.leave(),n()};if(l.kind===`connecting`||l.kind===`asking`)return(0,z.jsxs)(`div`,{className:t?`rounded-[var(--radius-card)] bg-neutral-900 text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black text-white`,"data-join-ui":``,children:[l.kind===`connecting`&&o&&a&&(0,z.jsx)(Tc,{href:a}),(0,z.jsx)(Hc,{text:l.kind===`connecting`?s(`join_connecting`,{host:d},`Connecting to ${d}…`):s(`join_waiting`,{host:d},`Waiting for ${d} to let you in`),body:l.kind===`asking`?s(`join_waiting_body`,{host:d},`${d} sees your name on their screen and taps Allow.`):void 0,onCancel:Ve})]});if(l.kind===`refused`||l.kind===`ended`){let i=l.kind===`refused`||l.why!==`left`&&l.why!==`mismatch`;return(0,z.jsxs)(`div`,{className:t?`flex flex-col items-center gap-4 rounded-[var(--radius-card)] bg-neutral-900 px-6 py-10 text-center text-white`:`flex min-h-[100dvh] flex-col items-center justify-center gap-4 bg-black px-6 text-center text-white`,"data-testid":`join-ended`,"data-why":l.why,"data-join-ui":``,children:[(0,z.jsx)(Se,{size:28,className:`text-white/60`}),(0,z.jsx)(`p`,{className:`max-w-sm text-base`,"data-testid":`join-ended-text`,children:Nc(s,l,d,e.opts.internet??!!e.opts.transport)}),a&&l.why===`no_hub`&&(0,z.jsx)(Tc,{href:a}),(0,z.jsxs)(`div`,{className:`flex flex-wrap justify-center gap-2`,children:[i&&(0,z.jsx)(`button`,{type:`button`,onClick:r,autoFocus:!0,className:`rounded-full bg-white px-4 py-2 text-sm font-medium text-black`,"data-testid":`join-again`,children:l.kind===`refused`&&l.why===`not_playing`?s(`join_retry`,void 0,`Try again`):s(`join_again`,void 0,`Ask to join again`)}),(0,z.jsx)(`button`,{type:`button`,onClick:n,autoFocus:!i,className:`rounded-full bg-white/15 px-4 py-2 text-sm`,"data-testid":`join-done`,children:s(`join_done`,void 0,`Done`)})]})]})}let He=l.player,Ue=c.light??at(He),We=c.rttMs??u?.rttMs??null,Ge=it(We),Ke=Rc(),qe=T&&!C&&!x.ready&&Ke&&(!t||h),Je=kc({player:He,guided:_,movedOff:ne,reconnecting:C}),Ye=He===Oc,Xe=u?.playsAs??null,Ze=!Ye&&!Xe?Ac(s,u,d):null,Qe=C?(l.deadline-w)/1e3:0,$e=()=>De(!h),et=t&&!h&&Ke&&T,tt=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)(`span`,{className:`flex items-center gap-1.5 rounded-full bg-black/60 px-2.5 py-1 font-medium`,"data-testid":`join-player`,children:[(0,z.jsx)(`span`,{className:`inline-block h-2.5 w-2.5 rounded-full`,style:{background:`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`}}),t&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[s(`join_playing_at`,{host:d},`Playing at ${d}'s`),` · `]}),s(`join_you_are`,{n:He},`You are Player ${He}`)]}),We!=null&&(0,z.jsxs)(`span`,{className:`rounded-full bg-black/60 px-2 py-1 tabular-nums`,style:{color:Vc[Ge]},"data-testid":`join-delay`,"data-tone":Ge,"data-path":c.path??void 0,children:[c.path&&(0,z.jsxs)(`span`,{className:`text-white/80`,children:[jc(s,c.path),` · `]}),Math.round(We),` ms`]}),Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-stream`,children:s(`join_seat_stream`,{host:d},`You're playing as ${d}'s PS5 user. No need to pick one.`)}),Xe&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-plays-as`,children:s(`join_plays_as`,{profile:Xe},`You're playing as ${Xe}. No need to pick one.`)}),E&&!Ye&&u?.seatNote&&(0,z.jsx)(`span`,{className:`rounded-full bg-black/60 px-2.5 py-1 text-white/85`,"data-testid":`join-seat-note`,children:s(`join_seat_tv_asks`,{host:d},`${d} chose a profile for you, but it couldn't be used. The TV will ask who you are.`)}),E&&!Ye&&(0,z.jsx)(`span`,{className:`rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-picking`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)}),Ze&&(0,z.jsx)(`span`,{className:`rounded-full bg-amber-300 px-2.5 py-1 font-medium text-black`,"data-testid":`join-not-host-user`,children:Ze})]}),nt=(0,z.jsxs)(z.Fragment,{children:[le&&de&&k.shown&&!C&&(0,z.jsxs)(`button`,{type:`button`,onClick:k.hide,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 font-medium`,"data-testid":`join-hide-controls`,children:[(0,z.jsx)(pe,{size:13}),s(`join_hide_controls`,void 0,`Hide`)]}),!c.sound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex items-center gap-1 rounded-full bg-white/90 px-2.5 py-1 font-medium text-black`,"data-testid":`join-sound`,children:[(0,z.jsx)(we,{size:13}),s(`join_sound`,void 0,`Tap for sound`)]}),c.sound&&!c.noSound&&(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-mute`,children:[c.muted?(0,z.jsx)(M,{size:13}):(0,z.jsx)(we,{size:13}),c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`)]}),c.noSound&&(0,z.jsxs)(`span`,{className:`flex items-center gap-1 rounded-full bg-black/60 px-2.5 py-1 text-white/80`,"data-testid":`join-no-sound`,children:[(0,z.jsx)(M,{size:13}),s(`join_no_sound`,void 0,`No sound in this browser`)]}),(t||typeof document<`u`&&!!document.documentElement.requestFullscreen)&&(0,z.jsx)(`button`,{type:`button`,onClick:()=>void $e(),"aria-label":h?s(`join_exit_fullscreen`,void 0,`Leave full screen`):s(`pad_fill`,void 0,`Full screen`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-full`,children:h?(0,z.jsx)(be,{size:13}):(0,z.jsx)(O,{size:13})}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),"aria-label":s(`join_check_title`,void 0,`Check your controller`),title:s(`join_check_title`,void 0,`Check your controller`),className:`flex items-center gap-1 rounded-full bg-white/15 px-2.5 py-1 hover:bg-white/25`,"data-testid":`join-check-open`,children:(0,z.jsx)(me,{size:13})}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex items-center gap-1 rounded-full bg-[var(--color-danger,#dc2626)] px-3 py-1 font-medium`,"data-testid":`join-leave`,children:[(0,z.jsx)(ge,{size:13}),s(`join_leave`,void 0,`Leave`)]})]}),rt=k.shown?`opacity-100`:`pointer-events-none opacity-0`,ot={"data-testid":`join-bar`,"data-shown":k.shown?`1`:`0`,onFocus:e=>{(Te||e.target.matches?.(`:focus-visible`))&&ce(!0)},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||ce(!1)},onPointerEnter:e=>{e.pointerType===`mouse`&&oe(!0)},onPointerLeave:()=>oe(!1)},st=h||!t?`fixed inset-0 z-[200] bg-black`:`relative mx-auto aspect-video w-full max-w-[max(20rem,calc((100dvh_-_22rem)*16/9))] overflow-hidden rounded-[var(--radius-card)] bg-black shadow-[var(--shadow-2)]`,ct=t&&h;return(0,z.jsxs)(`div`,{className:`space-y-2`,ref:p,"data-join-ui":``,children:[(0,z.jsxs)(`div`,{className:`${st} select-none text-white [-webkit-touch-callout:none]`,style:{touchAction:`none`},role:ct?`dialog`:void 0,"aria-modal":ct?!0:void 0,"aria-label":ct?s(`pad_fill`,void 0,`Full screen`):void 0,onPointerMove:e=>{if(e.pointerType===`mouse`)return he();let t=_e.current;t&&t.id===e.pointerId&&Math.hypot(e.clientX-t.x,e.clientY-t.y)>Lc&&ve()},onPointerDown:e=>{if(Ic(e.target))return;if(e.pointerType===`mouse`||!de)return he();if(e.target.closest?.(`[data-testid="join-bar"], button, a, input, [role="button"]`))return;ve();let{pointerId:t,clientX:n,clientY:r}=e;_e.current={id:t,x:n,y:r,timer:setTimeout(()=>{_e.current=null,navigator.vibrate?.(15),k.toggle()},450)}},onPointerUp:ve,onPointerCancel:ve,onPointerLeave:ve,"data-testid":`join-stage-view`,children:[(0,z.jsx)(`div`,{ref:f,className:`pointer-events-none absolute inset-0 z-0 flex items-center justify-center`,"aria-hidden":!0}),le&&!k.shown&&!C&&We!=null&&(0,z.jsxs)(`span`,{className:`pointer-events-none absolute z-10 rounded-full bg-black/40 px-1.5 py-0.5 text-[10px] leading-none tabular-nums`,style:{color:Vc[Ge],top:`max(0.5rem, env(safe-area-inset-top))`,right:`max(0.5rem, env(safe-area-inset-right))`},"data-testid":`join-delay-corner`,children:[Math.round(We),` ms`]}),qe?(0,z.jsxs)(`div`,{className:`absolute left-1/2 top-1/2 z-20 flex w-max max-w-[min(24rem,calc(100%-2rem))] -translate-x-1/2 -translate-y-1/2 flex-col items-center gap-2 rounded-2xl bg-black/70 p-3 text-xs backdrop-blur-sm transition-opacity duration-300 ${rt}`,...ot,children:[(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:tt}),(0,z.jsx)(`div`,{className:`flex flex-wrap items-center justify-center gap-2`,children:nt})]}):et?null:(0,z.jsxs)(`div`,{className:`absolute inset-x-0 top-0 z-20 flex flex-wrap items-center gap-2 bg-gradient-to-b from-black/70 to-transparent px-3 pb-5 pt-[max(8px,env(safe-area-inset-top))] text-xs transition-opacity duration-300 ${rt}`,...ot,children:[tt,(0,z.jsx)(`span`,{className:`flex-1`}),nt]}),!k.shown&&!qe&&(0,z.jsx)(`button`,{type:`button`,onClick:e=>{e.stopPropagation(),he()},"aria-label":s(`join_show_controls`,void 0,`Show controls`),className:`absolute left-1/2 top-[max(6px,env(safe-area-inset-top))] z-20 flex h-7 w-11 -translate-x-1/2 items-center justify-center rounded-full bg-black/40 text-white/70 opacity-60 hover:opacity-100 focus-visible:opacity-100`,"data-testid":`join-show-controls`,children:(0,z.jsx)(ue,{size:16,"aria-hidden":!0})}),ye&&!k.shown&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-[max(10px,env(safe-area-inset-top))] z-20 -translate-x-1/2 rounded-full bg-black/60 px-3 py-1 text-xs text-white/85`,"data-testid":`join-hold-hint`,children:s(`join_hold_hint`,void 0,`Press and hold the picture to show the buttons`)}),c.problem&&(0,z.jsx)(`p`,{className:`absolute inset-x-4 top-1/2 z-10 -translate-y-1/2 text-center text-sm text-white/85`,"data-testid":`join-problem`,children:c.problem===`no_hevc`?s(`pad_watch_no_hevc`,void 0,`This device can't play this stream's picture: the computer streams HEVC, and this device plays only H.264.`):s(`pad_watch_decode`,void 0,`The picture could not be played here.`)}),S&&(0,z.jsx)(Cc,{onClose:je}),qe&&(0,z.jsx)(ks,{stream:e,layout:`overlay`,onMenu:()=>k.shown?k.hide():he()}),!qe&&!C&&(0,z.jsxs)(`div`,{className:`absolute bottom-3 left-3 z-20 flex items-center gap-2 rounded-2xl bg-black/70 px-3 py-1.5 text-xs transition-opacity duration-300 ${rt}`,"data-testid":`join-pad`,children:[(0,z.jsx)(me,{size:14,style:{color:x.pressed?`rgb(${Ue[0]},${Ue[1]},${Ue[2]})`:void 0}}),x.ready?(0,z.jsxs)(`span`,{className:`flex flex-col items-start gap-1`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_ready`,void 0,`Your controller is ready`)}),x.weak8BitDo&&x.id&&(0,z.jsx)(ps,{id:x.id,className:`text-amber-200/90`}),x.kind===`guess`&&no()&&(0,z.jsxs)(`span`,{className:`flex flex-wrap items-center gap-2 text-white/75`,"data-testid":`join-pad-unknown`,children:[s(`join_check_unknown_short`,void 0,`Not on our list: buttons may be mixed up.`),(0,z.jsx)(`button`,{type:`button`,onClick:()=>ee(!0),className:`rounded-full bg-white px-2.5 py-0.5 font-medium text-black`,"data-testid":`join-pad-unknown-check`,children:s(`join_check_title`,void 0,`Check your controller`)})]})]}):Ke&&t&&!h?s(`join_full_to_play`,void 0,`Tap full screen to play with the on-screen controller.`):(0,z.jsxs)(`span`,{className:`flex flex-col`,children:[(0,z.jsx)(`span`,{children:s(`join_pad_none`,void 0,`Connect a controller (USB or Bluetooth) and press any button.`)}),(0,z.jsx)(`span`,{className:`text-white/60`,"data-testid":`join-pad-keys`,children:s(`join_pad_keys`,void 0,`Or use the keyboard: WASD move, arrows D-pad, Enter ✕, Backspace ○, Q □, E △, Tab Options.`)})]}),Te&&(0,z.jsx)(`span`,{className:`max-w-[14rem] border-l border-white/20 pl-2 text-white/70`,"data-testid":`join-tv-back`,children:s(`join_tv_back_hint`,void 0,`Press Back on the remote for the buttons.`)})]}),u?.blockSystem&&u.state===`playing`&&!qe&&(0,z.jsx)(`p`,{className:`absolute bottom-3 right-3 z-20 rounded-full bg-black/60 px-3 py-1 text-[11px] text-white/70 transition-opacity duration-300 ${rt}`,"data-testid":`join-blocked`,children:s(`join_block_note`,{host:d},`${d} turned off PS and Create for friends.`)}),fe&&!Ye&&de&&!k.shown&&!C&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-2 z-20 -translate-x-1/2 whitespace-nowrap rounded-full bg-white/90 px-2.5 py-1 text-xs font-medium text-black`,"data-testid":`join-picking-note`,children:s(`join_picking`,void 0,`Press PS, then pick Quick Play on the TV`)}),Ze&&fe&&de&&!k.shown&&!C&&(0,z.jsx)(`p`,{className:`pointer-events-none absolute left-1/2 top-10 z-20 w-max max-w-[calc(100%-2rem)] -translate-x-1/2 rounded-2xl bg-amber-300 px-2.5 py-1 text-center text-xs font-medium text-black`,"data-testid":`join-not-host-user-note`,children:Ze}),Je&&!Xe&&(0,z.jsxs)(`div`,{className:`absolute bottom-14 left-1/2 z-30 w-[min(22rem,calc(100%-2rem))] -translate-x-1/2 rounded-2xl border border-white/10 bg-neutral-900/90 p-4 text-sm shadow-2xl backdrop-blur-md`,"data-testid":`join-guide`,children:[(0,z.jsx)(`p`,{className:`font-semibold`,children:s(`join_guide_title`,void 0,`One more step on the TV`)}),(0,z.jsx)(`p`,{className:`mt-1 text-white/75`,children:s(`join_guide_body`,void 0,`On your controller, press PS once. The TV asks "Who's using this controller?". Pick Quick Play or your own user. The host doesn't need to do anything.`)}),Ze&&(0,z.jsx)(`p`,{className:`mt-1 font-medium text-amber-300`,children:Ze}),(0,z.jsx)(`p`,{className:`mt-1 text-white/60`,children:s(`join_guide_menus`,void 0,`On the PS5's home screen only the host controls the menus; your controller plays inside games.`)}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>{ke(),Oe()},className:`mt-3 rounded-full bg-white px-3 py-1 text-xs font-medium text-black`,"data-testid":`join-guide-ok`,children:s(`join_guide_ok`,void 0,`Got it`)})]}),C&&(0,z.jsxs)(`div`,{className:`absolute inset-0 z-30 flex flex-col items-center justify-center gap-3 bg-black/70 px-6 text-center`,"data-testid":`join-reconnecting`,children:[(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`absolute right-3 top-[max(10px,env(safe-area-inset-top))] flex items-center gap-1 rounded-full bg-white/15 px-3 py-1.5 text-sm font-medium hover:bg-white/25`,"data-testid":`join-reconnecting-leave`,children:[(0,z.jsx)(ge,{size:14}),s(`join_leave`,void 0,`Leave`)]}),(0,z.jsx)(`span`,{className:`h-7 w-7 animate-spin rounded-full border-2 border-white/30 border-t-white`,"aria-hidden":!0}),l.hostStopped?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`max-w-sm text-base font-medium`,"data-testid":`join-host-away`,children:s(`join_host_away`,{time:Ec(Qe)},`The host stopped playing — waiting for them to start again (${Ec(Qe)})`)}),u?.tookHost&&(0,z.jsx)(`p`,{className:`max-w-sm text-sm text-amber-300`,"data-testid":`join-took-host`,children:s(`join_took_host_away`,{host:d},`${d}'s PS5 user was picked on your controller, which ends their game. When it's back and the TV asks who you are, move to Quick Play first, then press ✕.`)})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(`p`,{className:`text-base font-medium`,children:s(`join_reconnecting`,void 0,`Reconnecting…`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/70`,"data-testid":`join-reconnecting-left`,children:s(`join_reconnecting_left`,{time:Ec(Qe)},`Your place is kept for ${Ec(Qe)}.`)})]})]}),!t&&T&&y&&Ke&&(0,z.jsx)(`div`,{className:`pointer-events-none absolute inset-x-0 bottom-16 z-20 flex justify-center`,children:(0,z.jsxs)(`span`,{className:`flex items-center gap-2 rounded-full bg-black/70 px-3 py-1.5 text-xs text-white/85`,children:[(0,z.jsx)(j,{size:14}),s(`pad_turn`,void 0,`Turn the phone sideways`)]})}),(0,z.jsx)(`div`,{ref:m,tabIndex:0,"data-own-arrows":``,"data-join-game":``,"aria-label":s(`join_game_label`,{host:d},`${d}'s game`),className:`pointer-events-none absolute inset-0 outline-none`,"data-testid":`join-game`})]}),et&&(0,z.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2 rounded-[var(--radius-card)] bg-neutral-900 px-3 py-2 text-xs text-white`,"data-testid":`join-bar`,"data-shown":`1`,"data-below":`1`,children:[(0,z.jsx)(`div`,{className:`flex w-full min-w-0 flex-wrap items-center gap-2`,children:tt}),(0,z.jsxs)(`button`,{type:`button`,onClick:()=>void $e(),className:`flex h-11 min-w-0 flex-1 items-center justify-center gap-1.5 rounded-full bg-white/15 px-3 text-sm font-medium hover:bg-white/25`,"data-testid":`join-fullscreen-below`,children:[(0,z.jsx)(O,{size:15}),s(`pad_fill`,void 0,`Full screen`)]}),c.sound&&!c.noSound?(0,z.jsx)(`button`,{type:`button`,onClick:()=>e.setMuted(!c.muted),"aria-pressed":c.muted,"aria-label":c.muted?s(`rp_unmute`,void 0,`Sound on`):s(`rp_mute`,void 0,`Mute`),className:`flex h-11 w-11 items-center justify-center rounded-full bg-white/15 hover:bg-white/25`,children:c.muted?(0,z.jsx)(M,{size:16}):(0,z.jsx)(we,{size:16})}):c.sound?null:(0,z.jsxs)(`button`,{type:`button`,onClick:()=>e.startSound(),className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-white px-3 text-sm font-medium text-black`,children:[(0,z.jsx)(we,{size:15}),s(`join_sound`,void 0,`Tap for sound`)]}),(0,z.jsxs)(`button`,{type:`button`,onClick:Ve,className:`flex h-11 items-center justify-center gap-1.5 rounded-full bg-[var(--color-danger,#dc2626)] px-4 text-sm font-medium`,"data-testid":`join-leave-below`,children:[(0,z.jsx)(ge,{size:15}),s(`join_leave`,void 0,`Leave`)]})]})]})}var Wc=`ps5upload.join.name`;function Gc(e){return/iPhone/.test(e)?`iPhone`:/iPad/.test(e)?`iPad`:/Android/.test(e)?`Android`:``}function Kc(e){return e.trim().slice(0,32)}function qc(e=``){return Kc(Lt(`ps5upload.join.name`)??``)||e}function Jc(e){let t=Kc(e);return t&&It(Wc,t),t}function Yc(e){try{return!!sessionStorage.getItem(Ro(e))}catch{return!1}}async function Xc(e){try{e?(await document.documentElement.requestFullscreen?.({navigationUI:`hide`}),await screen.orientation.lock?.(`landscape`)):document.fullscreenElement&&await document.exitFullscreen()}catch{}}function Zc({url:e,invite:t,host:n,transport:r,lanUrl:i=null,path:a=null,internet:o}){let s=Ie(),c=wc(r&&o!==!1?e:null,i),[l,u]=(0,D.useState)(()=>qc(Gc(typeof navigator>`u`?``:navigator.userAgent))),[d,f]=(0,D.useState)(null),[p,m]=(0,D.useState)(0),h=(0,D.useCallback)(e=>{if(!e)return;let t=typeof window<`u`&&!!window.matchMedia?.(`(pointer: coarse)`).matches,n=e.querySelector(`[data-testid="join-name"]`)?.value.trim()?`join-go`:t?null:`join-name`;n&&e.querySelector(`[data-testid="${n}"]`)?.focus({preventScroll:!0})},[]),g=i=>{let s=Jc(i);if(!s)return;let c=new cc({url:e,invite:t,name:s,host:n,transport:r,path:a,...o===void 0?{}:{internet:o}});f(c),m(e=>e+1),c.start()};if((0,D.useEffect)(()=>{!d&&Yc(t)&&l.trim()&&g(l)},[]),(0,D.useEffect)(()=>d?dc(d):void 0,[d]),(0,D.useEffect)(()=>{if(!d)return;let e=()=>d.stop();return window.addEventListener(`pagehide`,e),()=>window.removeEventListener(`pagehide`,e)},[d]),d)return(0,z.jsx)(Uc,{session:d,lanUrl:i,hubDown:c,onLeave:()=>f(null),onAgain:()=>{d.stop(),g(l)},onFullscreen:Xc},p);let _=n??s(`join_host_fallback`,void 0,`your friend`),v=(0,z.jsx)(`div`,{className:`flex min-h-[100dvh] items-center justify-center bg-black px-6 text-white`,"data-testid":`join-name-step`,"data-join-ui":``,children:(0,z.jsxs)(`form`,{ref:h,className:`w-full max-w-sm space-y-4 rounded-2xl border border-white/10 bg-neutral-900 p-6`,onSubmit:e=>{e.preventDefault(),g(l)},children:[(0,z.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,z.jsx)(`span`,{className:`flex h-10 w-10 items-center justify-center rounded-full bg-white/10`,children:(0,z.jsx)(Se,{size:20})}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`h1`,{className:`text-lg font-semibold`,children:s(`join_title`,void 0,`Join a friend's game`)}),(0,z.jsx)(`p`,{className:`text-sm text-white/60`,children:s(`join_title_body`,{host:_},`Play on ${_}'s PS5 as Player 2, 3 or 4.`)})]})]}),(0,z.jsxs)(`label`,{className:`block space-y-1.5`,children:[(0,z.jsx)(`span`,{className:`text-sm font-medium`,children:s(`join_name_label`,void 0,`Your name`)}),(0,z.jsx)(`input`,{value:l,onChange:e=>u(e.target.value),maxLength:32,autoComplete:`nickname`,className:`block w-full rounded-lg border border-white/15 bg-black px-3 py-2 text-base outline-none focus:border-white/50`,"data-testid":`join-name`}),(0,z.jsx)(`span`,{className:`block text-xs text-white/50`,children:s(`join_name_hint`,void 0,`Your friend sees this when you ask to join.`)})]}),(0,z.jsx)(`button`,{type:`submit`,disabled:!l.trim(),className:`w-full rounded-full bg-white py-2.5 text-sm font-semibold text-black disabled:opacity-40`,"data-testid":`join-go`,children:s(`join_button`,void 0,`Join`)}),c&&i&&(0,z.jsx)(Tc,{href:i})]})});return t?(0,z.jsx)(Wo,{appLink:rt(location.href),children:v}):v}function Qc(e){let t=(e??``).trim().replace(/^\[|\]$/g,``).toLowerCase(),n=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/.exec(t);if(n){let e=n.slice(1).map(Number);if(e.some(e=>e>255))return null;let[t,r]=e;return t===10||t===172&&r>=16&&r<32||t===192&&r===168||t===169&&r===254||t===127?0:t===100&&r>=64&&r<128?1:2}if(!t.includes(`:`)||!/^[0-9a-f:.]+$/.test(t))return null;if(t.startsWith(`fd7a:115c:a1e0:`))return 1;let r=parseInt(t.split(`:`)[0]||`0`,16);return(r&65024)==64512||(r&65472)==65152||t===`::1`?0:2}function $c(e,t){let n=Qc(e),r=Qc(t);return n===1||r===1?`tailscale`:r===0?`lan`:r===2?`internet`:null}function el(e){let t=(e??``).toLowerCase();if(t.endsWith(`.local`))return`lan`;if(t.endsWith(`.ts.net`))return`tailscale`;let n=Qc(t);return n===0?`lan`:n===1?`tailscale`:null}function tl(e){let t=[];if(typeof e.forEach==`function`)e.forEach(e=>t.push(e));else for(let n of e)t.push(n);let n=new Map(t.map(e=>[String(e.id),e])),r=t.filter(e=>e.type===`candidate-pair`),i=t.filter(e=>e.type===`transport`&&typeof e.selectedCandidatePairId==`string`).map(e=>n.get(String(e.selectedCandidatePairId))).find(Boolean)??r.find(e=>e.selected===!0)??r.find(e=>e.nominated===!0&&e.state===`succeeded`);if(!i)return null;let a=e=>{let t=n.get(String(e));if(!t)return null;let r=t.address??t.ip;return typeof r==`string`?r:null};return $c(a(i.localCandidateId),a(i.remoteCandidateId))}function nl(e){let t=e.replace(/:\d+$/,``).replace(/^\[|\]$/g,``);return`${t===`localhost`||t===`127.0.0.1`||t===`::1`?`ws`:`wss`}://${e}/ws`}function rl(e){let t=new Set;for(let n of e.matchAll(/^a=fingerprint:sha-256[ \t]+([0-9A-Fa-f:]+)[ \t]*\r?$/gim))t.add(n[1].toUpperCase());return/^a=fingerprint:(?!sha-256[ \t])/im.test(e)?null:t.size===1?[...t][0]:null}function il(e,t){let n=rl(e);return n!==null&&n===t.toUpperCase()}var al=16777216;function ol(e){let t=16383,n=Math.max(1,Math.ceil(e.length/t)),r=[];for(let i=0;ithis.max)return this.parts=[],this.size=0,{kind:`error`,why:`too_big`};if(this.parts.push(r.slice()),this.size+=r.length,n===1)return{kind:`partial`};let i=new Uint8Array(this.size),a=0;for(let e of this.parts)i.set(e,a),a+=e.length;return this.parts=[],this.size=0,{kind:`message`,data:i.buffer}}};function cl(e){let t=new Uint8Array(9);return t[0]=3,t.set(e.subarray(0,8),1),t}var ll=[`stun:stun.cloudflare.com:3478`,`stun:stun.l.google.com:19302`];function ul(e){let t=e.trim().replace(/^a=/,``).split(/\s+/);return t.length<8||t[6]!==`typ`||t[2].toLowerCase()===`udp`&&!t[4].toLowerCase().endsWith(`.local`)}var dl=1500,fl=2e4;function pl(e){let t=e?.codecs??[],n=e=>t.filter(t=>t.mimeType.toLowerCase()===e);return[...n(`video/h264`),...n(`video/h265`),...n(`video/rtx`)]}var ml=null;function hl(e){e.onopen=e.onmessage=e.onclose=e.onerror=null;try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}function gl(e,t={}){let n=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket);if(!n||ml)return;let r=nl(e.hub),i;try{i=new n(r)}catch{return}let a={url:r,room:e.room,ws:i,msgs:[],timer:null};ml=a;let o=()=>{ml===a&&(ml=null,a.timer&&clearTimeout(a.timer),hl(i))};i.onopen=()=>i.send(JSON.stringify({v:1,t:`join`,room:e.room})),i.onmessage=e=>{if(typeof e.data==`string`)try{a.msgs.push(JSON.parse(e.data))}catch{}},i.onclose=o,i.onerror=()=>{},a.timer=setTimeout(o,t.keepMs??6e4)}function _l(e,t){let n=ml;return n?(ml=null,n.timer&&clearTimeout(n.timer),n.url!==e||n.room!==t||n.ws.readyState>1||n.msgs.some(e=>e.t===`error`||e.t===`closed`)?(hl(n.ws),null):{ws:n.ws,msgs:n.msgs}):null}function vl(e,t={}){var n;let r=t.WebSocketImpl??(typeof WebSocket>`u`?void 0:WebSocket),i=t.PeerConnection??(typeof RTCPeerConnection>`u`?void 0:RTCPeerConnection),a=t.iceTimeoutMs??15e3,o=t.log??(()=>{});class s{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.hub=null,this.pc=null,this.dc=null,this.timer=null,this.rx=new sl,this.answered=!1,this.early=[],this.hubBackUntil=0,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[],this.media=null,setTimeout(()=>this.begin(),0)}begin(){if(this.readyState!==0)return;if(!i||!r){this.fail(`no_webrtc`);return}let n=t.signalUrl??nl(e.hub),a=t.signalUrl||t.lan?null:_l(n,e.room),s;if(a)s=a.ws,o(`hub: joined early`);else try{s=new r(n)}catch{this.fail(`no_hub`);return}if(this.hub=s,this.prepare(),this.readyState===0){s.onopen=()=>s.send(JSON.stringify(t.lan?{v:1,t:`join`,lan:!0}:{v:1,t:`join`,room:e.room})),s.onmessage=e=>{if(typeof e.data!=`string`)return;let t;try{t=JSON.parse(e.data)}catch{return}this.onHub(t)},s.onclose=e=>{this.hub===s&&(this.hub=null,this.readyState===0&&(this.answered||e?.code===1001&&this.hubRestarting()||this.fail(`no_hub`)))},s.onerror=()=>{};for(let e of a?.msgs??[])this.onHub(e)}}signal(e){let t=this.hub;t&&t.readyState===1&&t.send(JSON.stringify({t:`signal`,to:`host`,data:e}))}onHub(e){if(this.readyState===0)switch(e.t){case`joined`:o(`hub: joined room as ${e.gid??`?`}`),this.sendOffer();return;case`signal`:e.from===`host`&&e.data&&typeof e.data==`object`&&this.onSignal(e.data);return;case`closed`:this.fail(`no_room`);return;case`error`:if(o(`hub: error ${e.why??`?`}`),e.why===`no_room`&&this.hubBackUntil&&this.hubRestarting())return;this.fail(e.why===`no_room`?`no_room`:e.why===`room_full`?`net_full`:`no_hub`);return}}prepare(){if(!i)return;this.offerSent=!1,this.ownEarly=[];let e;try{e=new i({iceServers:[{urls:ll}]})}catch{this.fail(`no_webrtc`);return}this.pc=e;let n=e.createDataChannel(t.label??`join`,{ordered:!0});if(n.binaryType=`arraybuffer`,this.dc=n,n.onopen=()=>this.opened(n),n.onmessage=e=>this.fromChannel(e.data),n.onclose=()=>{this.dc===n&&this.dropped()},t.video&&e.addTransceiver){try{let t=e.addTransceiver(`video`,{direction:`recvonly`}),n=pl(globalThis.RTCRtpReceiver?.getCapabilities?.(`video`));n.length&&t.setCodecPreferences&&t.setCodecPreferences(n)}catch{}try{e.addTransceiver(`audio`,{direction:`recvonly`})}catch{}e.ontrack=t=>{if(this.pc!==e)return;let n=this.media?.stream??t.streams[0]??new MediaStream;n.getTracks().includes(t.track)||n.addTrack(t.track),this.media=t.track.kind===`audio`?{stream:n,receiver:this.media?.receiver??t.receiver,audio:t.receiver}:{stream:n,receiver:t.receiver,...this.media?.audio?{audio:this.media.audio}:{}}}}e.onicecandidate=t=>{if(this.pc!==e)return;let n=t.candidate;if(!n||!n.candidate||!ul(n.candidate))return;let r={type:`candidate`,candidate:n.candidate,sdpMid:n.sdpMid??`0`};this.offerSent?this.signal(r):this.ownEarly.push(r)},e.oniceconnectionstatechange=()=>{if(this.pc!==e)return;let t=e.iceConnectionState;o(`ice: ${t}`),t===`failed`&&(this.readyState===0?this.fail(`no_direct`):this.dropped())},this.offerSdp=(async()=>{let t=await e.createOffer();return await e.setLocalDescription(t),e.localDescription?.sdp??t.sdp??``})().catch(()=>(this.pc===e&&this.fail(`no_webrtc`),null))}async sendOffer(){let e=this.pc,t=this.offerSdp;if(!e||!t||this.offerSent)return;this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,this.readyState===0&&this.fail(`no_direct`)},a);let n=await t;if(this.pc===e&&n!==null&&this.readyState===0){this.signal({type:`offer`,sdp:n}),this.offerSent=!0;for(let e of this.ownEarly.splice(0))this.signal(e)}}async onSignal(t){let n=this.pc;if(t.type===`bye`)this.fail(t.why===`full`?`net_full`:`offer`);else if(n){if(t.type===`answer`){if(this.answered||typeof t.sdp!=`string`)return;if(e.fp?!il(t.sdp,e.fp):rl(t.sdp)===null){o(`answer: fingerprint does not match the link`),this.fail(`mismatch`);return}this.answered=!0;try{await n.setRemoteDescription({type:`answer`,sdp:t.sdp});for(let e of this.early.splice(0))await n.addIceCandidate(e).catch(()=>{})}catch{this.fail(`offer`)}}else if(t.type===`candidate`&&typeof t.candidate==`string`&&t.candidate){let e={candidate:t.candidate,sdpMid:typeof t.sdpMid==`string`?t.sdpMid:`0`,sdpMLineIndex:typeof t.sdpMLineIndex==`number`?t.sdpMLineIndex:0};this.answered?await n.addIceCandidate(e).catch(()=>{}):this.early.push(e)}}}opened(e){this.dc===e&&this.readyState===0&&(this.clearTimer(),this.readyState=1,o(`channel open`),this.leaveHub(),this.onopen?.(new Event(`open`)))}fromChannel(e){if(this.readyState!==1)return;if(typeof e==`string`){this.onmessage?.(new MessageEvent(`message`,{data:e}));return}if(!(e instanceof ArrayBuffer))return;let t=this.rx.push(e);switch(t.kind){case`ping`:try{this.dc?.send(cl(t.data))}catch{}return;case`message`:this.onmessage?.(new MessageEvent(`message`,{data:t.data}));return;case`error`:o(`channel: bad binary message (${t.why})`),this.dropped();return;default:return}}async netPath(){let e=this.pc;if(!e||this.readyState!==1||typeof e.getStats!=`function`)return null;try{return tl(await e.getStats())}catch{return null}}send(e){let t=this.dc;if(this.readyState!==1||!t||t.readyState!==`open`)throw Error(`not open`);if(typeof e==`string`){t.send(e);return}let n=ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(e);for(let e of ol(n))t.send(e)}close(){this.readyState!==3&&(this.teardown(),this.emitClose(1e3,``,!0))}clearTimer(){this.timer&&clearTimeout(this.timer),this.timer=null}leaveHub(){let e=this.hub;if(this.hub=null,e)try{e.readyState===1&&e.send(JSON.stringify({t:`leave`})),e.close(1e3)}catch{}}hubRestarting(){let e=Date.now();return this.hubBackUntil||=e+fl,e>=this.hubBackUntil?!1:(o(`hub: restarting, trying again`),this.clearTimer(),this.leaveHub(),this.closePeer(),this.answered=!1,this.early=[],this.timer=setTimeout(()=>{this.timer=null,this.begin()},dl),!0)}teardown(){this.readyState=3,this.clearTimer(),this.leaveHub(),this.closePeer()}closePeer(){let e=this.pc,t=this.dc;this.pc=null,this.dc=null,this.media=null,this.offerSdp=null,this.offerSent=!1,this.ownEarly=[];try{t?.close()}catch{}try{e?.close()}catch{}}dropped(){this.readyState!==3&&(this.teardown(),this.emitClose(1006,``,!1))}fail(e){this.readyState!==3&&(o(`failed: ${e}`),this.teardown(),this.emitClose(He,`net:${e}`,!1))}emitClose(e,t,n){let r=this.onclose;if(!r)return;let i=typeof CloseEvent>`u`?{type:`close`,code:e,reason:t,wasClean:n}:new CloseEvent(`close`,{code:e,reason:t,wasClean:n});setTimeout(()=>r(i),0)}}return n=s,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,s}var U=3e3;function yl(e,t){return/^https?:\/\/[^/?#]+(\/[^?#]*)?\/join\/?$/.test(e)?e.replace(/^http/,`ws`).replace(/\/join\/?$/,`/${t}`):null}var bl=e=>yl(e,`api/join/signal`);function xl(e){let t=[];if(e.rtc){let n=e.net??{room:``,key:``,fp:e.fp??``,hub:``};for(let[r,i]of[[`lan`,e.lan],[`tailscale`,e.ts]]){let a=i?bl(i):null;if(!a)continue;let o=e.rtcMake(n,{signalUrl:e.reach(a),...e.net?{}:{lan:!0}});t.push({via:r,make:()=>new o(``),pinned:!!n.fp})}if(e.net){let n=e.rtcMake(e.net,{});t.push({via:`hub`,make:()=>new n(``),pinned:!0})}}let n=e.lan?yl(e.lan,`api/join/ws`):null;if(n){let r=e.reach(n);t.push({via:`socket`,make:()=>e.socket(r)})}return t}var Sl=new Map;function Cl(e,t,n=300,r=U){let i=e.some(e=>e===`lan`||e===`tailscale`),a=e.some(e=>e!==`socket`);return e.map(e=>e===t?0:e===`hub`&&i?n:e===`socket`&&a?r:0)}function wl(e){let t=e.find(e=>e.via===`hub`),n=e.find(e=>(e.via===`lan`||e.via===`tailscale`)&&[`no_direct`,`net_full`,`offer`].includes(Ue(e.e)??``));return t&&(Ue(t.e)!==`no_hub`||!n)?t.e:n?n.e:t?.e??e[e.length-1]?.e??null}function Tl(e,t){var n;let r=t.log??(()=>{}),i=t.headStartMs??300,a=t.socketAfterMs??3e3;class o{constructor(e){this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this.readyState=0,this.binaryType=`arraybuffer`,this.onopen=null,this.onmessage=null,this.onclose=null,this.onerror=null,this.live=[],this.waiting=[],this.pinned=new Set,this.t0=0,this.closes=[],this.winner=null,setTimeout(()=>this.begin(),0)}get via(){return this.winner?.via??null}get media(){return this.winner?.s?.media??null}async netPath(){let e=this.winner?.s;return e?.netPath?e.netPath():null}begin(){if(this.readyState!==0)return;let n=e();if(!n.length){this.end({type:`close`,code:1006,reason:``,wasClean:!1});return}this.t0=Date.now();for(let e of n)e.pinned&&this.pinned.add(e.via);let r=Cl(n.map(e=>e.via),Sl.get(t.room)??null,i,a);n.forEach((e,t)=>{r[t]===0?this.launch(e.via,e.make):this.waiting.push({via:e.via,make:e.make,timer:setTimeout(()=>this.startWaiting(e.via),r[t])})})}startWaiting(e){let t=this.waiting.findIndex(t=>t.via===e);if(t<0)return;let[n]=this.waiting.splice(t,1);clearTimeout(n.timer),this.launch(n.via,n.make)}launch(e,t){if(this.readyState!==0)return;let n;try{n=t()}catch{this.tryClosed(e,{type:`close`,code:1006,reason:``,wasClean:!1});return}r(`path: trying ${e}`);let i={via:e,s:n};this.live.push(i),n.binaryType=this.binaryType,n.onopen=e=>this.won(i,e),n.onclose=t=>{this.live=this.live.filter(e=>e!==i),this.tryClosed(e,t)},n.onerror=()=>{},n.onmessage=null}tryClosed(e,t){if(this.readyState===0){if(r(`path: ${e} failed after ${Date.now()-this.t0} ms${t?.reason?` (${t.reason})`:``}`),this.closes.push({via:e,e:t}),this.pinned.has(e)&&Ue(t)===`mismatch`){for(let e of this.waiting.filter(e=>e.via===`socket`))clearTimeout(e.timer);this.waiting=this.waiting.filter(e=>e.via!==`socket`)}!this.live.length&&this.waiting.length?this.startWaiting(this.waiting[0].via):!this.live.length&&!this.waiting.length&&this.end(wl(this.closes))}}won(e,n){if(this.readyState!==0)return;this.winner=e,Sl.set(t.room,e.via),r(`path: playing by ${e.via} after ${Date.now()-this.t0} ms`);for(let e of this.waiting.splice(0))clearTimeout(e.timer);for(let t of this.live.splice(0))if(t!==e){t.s.onopen=t.s.onclose=t.s.onmessage=t.s.onerror=null;try{t.s.close()}catch{}}let i=e.s;i.onmessage=e=>this.onmessage?.(e),i.onerror=e=>this.onerror?.(e),i.onclose=e=>{this.readyState!==3&&(this.readyState=3,this.onclose?.(e))},this.readyState=1,t.onWin?.(e.via),this.onopen?.(n)}send(e){if(this.readyState!==1||!this.winner)throw Error(`not open`);this.winner.s.send(e)}close(e,t){if(this.readyState===3)return;let n=this.readyState===1;this.readyState=3;for(let e of this.waiting.splice(0))clearTimeout(e.timer);let r=this.winner?[this.winner,...this.live]:this.live.splice(0);for(let n of r){n.s.onopen=n.s.onclose=n.s.onmessage=n.s.onerror=null;try{n.s.close(e,t)}catch{}}let i=this.onclose;if(i){let r={type:`close`,code:e??1e3,reason:t??``,wasClean:n};setTimeout(()=>i(r),0)}}end(e){if(this.readyState===3)return;this.readyState=3;let t=this.onclose,n=e??{type:`close`,code:1006,reason:``,wasClean:!1};t&&setTimeout(()=>t(n),0)}}return n=o,n.CONNECTING=0,n.OPEN=1,n.CLOSING=2,n.CLOSED=3,o}fs();var El=new URLSearchParams(location.hash.slice(1)),Dl=El.get(`n`)?.trim()||null,Ol=nt(location.hash);Ol&&gl(Ol);var kl=(0,x.createRoot)(document.getElementById(`root`));if(Ol){let e=vl(Ol,{video:!0,log:e=>console.info(`[join] ${e}`)}),t=Re(location.hash,`join`);kl.render((0,z.jsx)(Zc,{url:nl(Ol.hub),invite:Ol.key,host:Dl,transport:e,lanUrl:t?ze(t,{key:Ol.key}):null}))}else{let e=El.get(`i`)||null,t=location.pathname.replace(/\/join\/?$/,``),n=`${location.protocol===`https:`?`wss`:`ws`}://${location.host}${t}/api/join/ws`,r=e=>console.info(`[join] ${e}`),i=`${location.origin}${t}/join`,a=typeof RTCPeerConnection>`u`?void 0:Tl(()=>xl({net:null,lan:i,ts:null,fp:tt(El.get(`fp`)),rtc:!0,reach:e=>e,rtcMake:(e,t)=>vl(e,{video:!0,log:r,...t}),socket:e=>new WebSocket(e)}),{room:i,log:r});kl.render((0,z.jsx)(Zc,{url:n,invite:e,host:Dl,path:el(location.hostname),transport:a,internet:!1}))} From 2d5680680cbae7dfa974beb5ae75a82a6da1e66c Mon Sep 17 00:00:00 2001 From: phantomptr Date: Thu, 26 Nov 2026 23:45:57 -0800 Subject: [PATCH 16/23] Remote Play: show or hide the on-screen controller from the stream It was only in Play's Settings. The stream's bar on a computer and the menu on a phone (in and out of full screen) now have a button for it; it sets the same setting (Always / Never). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- client/src/i18n/locales/en.ts | 2 + client/src/screens/Play/PlayMenu.test.tsx | 21 +++ client/src/screens/Play/PlayMenu.tsx | 25 +++ client/src/screens/Play/StreamPanel.tsx | 16 ++ scripts/i18n-known-missing.json | 194 +++++++++++++--------- scripts/i18n-source-hashes.json | 2 + 6 files changed, 183 insertions(+), 77 deletions(-) diff --git a/client/src/i18n/locales/en.ts b/client/src/i18n/locales/en.ts index fc9ca484c..c4cc19e5a 100644 --- a/client/src/i18n/locales/en.ts +++ b/client/src/i18n/locales/en.ts @@ -7732,6 +7732,8 @@ library_compressed_hint: "Compressed images need ShadowMount+ to play. To edit, "rp_mic_setting": "Microphone (experimental)", "rp_mic_setting_hint": "Adds a mic button for voice chat. Applies from the next start.", "rp_touch_controls": "On-screen controller", +"rp_touch_show": "Show the on-screen controller", +"rp_touch_hide": "Hide the on-screen controller", "rp_touch_auto": "On touch screens", "rp_touch_on": "Always", "rp_touch_off": "Never", diff --git a/client/src/screens/Play/PlayMenu.test.tsx b/client/src/screens/Play/PlayMenu.test.tsx index eec363c72..d6c88095b 100644 --- a/client/src/screens/Play/PlayMenu.test.tsx +++ b/client/src/screens/Play/PlayMenu.test.tsx @@ -53,3 +53,24 @@ describe("PlayMenu: Stream on a phone (#731)", () => { expect(out).not.toContain("rp-menu-golive"); }); }); + +describe("PlayMenu: the on-screen controller from the stream", () => { + it("offers Show or Hide while the picture is on this device, not without it", async () => { + const { useRemotePlayStore } = await import("../../state/remotePlay"); + // A static render reads the store's first state, so change that one. + const st = useRemotePlayStore.getInitialState() as unknown as Record; + const was = { pictureHere: st.pictureHere, prefs: st.prefs }; + try { + Object.assign(st, { pictureHere: true, prefs: { volume: 1, muted: false, touchControls: "on" } }); + const shown = menu({}); + expect(shown).toContain('data-testid="rp-menu-touch"'); + expect(shown).toContain("Hide the on-screen controller"); + st.prefs = { volume: 1, muted: false, touchControls: "off" }; + expect(menu({})).toContain("Show the on-screen controller"); + st.pictureHere = false; + expect(menu({})).not.toContain('data-testid="rp-menu-touch"'); + } finally { + Object.assign(st, was); + } + }); +}); diff --git a/client/src/screens/Play/PlayMenu.tsx b/client/src/screens/Play/PlayMenu.tsx index 589654497..79a149774 100644 --- a/client/src/screens/Play/PlayMenu.tsx +++ b/client/src/screens/Play/PlayMenu.tsx @@ -2,6 +2,7 @@ import { BarChart3, CircleDot, Gamepad2, + Joystick, Minimize, Monitor, MonitorOff, @@ -21,6 +22,7 @@ import { useTr } from "../../state/lang"; import { useRemotePlayStore } from "../../state/remotePlay"; import { CaptureRow } from "./CaptureControls"; import { GoLiveBarIcon } from "./GoLivePanel"; +import { useTouchFirst } from "./TouchControls"; /** Volume, on the picture's bar and in the player menu (Settings has it too). Keys and presses * on it never reach the pad. */ @@ -200,6 +202,7 @@ export function PlayMenu({ /> )} + {pictureHere && !pip && } {!!pipKind && pictureHere && ( ); } + +/** Show or hide the on-screen controller from the stream itself: the same setting as Play's + * Settings › On-screen controller (Always / Never), which was the only way to reach it. */ +function TouchControllerTile() { + const tr = useTr(); + const mode = useRemotePlayStore((s) => s.prefs.touchControls); + const setPrefs = useRemotePlayStore((s) => s.setPrefs); + const shown = useTouchFirst(mode); + return ( + } + onClick={() => setPrefs({ touchControls: shown ? "off" : "on" })} + testId="rp-menu-touch" + active={shown} + /> + ); +} diff --git a/client/src/screens/Play/StreamPanel.tsx b/client/src/screens/Play/StreamPanel.tsx index ec393af94..2c82f90cc 100644 --- a/client/src/screens/Play/StreamPanel.tsx +++ b/client/src/screens/Play/StreamPanel.tsx @@ -8,6 +8,7 @@ import { Expand, Gamepad, Gamepad2, + Joystick, Keyboard, Loader2, Lock, @@ -1522,6 +1523,21 @@ export function StreamPanel({ )} {playing && } + {running && pictureHere && !pip && ( + setPrefs({ touchControls: touchFirst ? "off" : "on" })} + testId="rp-touch-toggle" + > + + + )} Date: Thu, 26 Nov 2026 23:46:28 -0800 Subject: [PATCH 17/23] 12.6.39 release notes; catch up to 12.6.38 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- CHANGELOG.md | 19 +++++++++++++++ VERSION | 2 +- client/package-lock.json | 4 ++-- client/package.json | 2 +- client/src-tauri/Cargo.lock | 30 ++++++++++++------------ client/src-tauri/Cargo.toml | 2 +- client/src-tauri/tauri.conf.json | 2 +- engine/Cargo.lock | 40 ++++++++++++++++---------------- engine/Cargo.toml | 2 +- payload/include/config.h | 2 +- 10 files changed, 62 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea9a00009..2f6a9a147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,25 @@ What's new in ps5upload, written for humans. ## Unreleased +**Play Together** +- **A friend joining can no longer end your game by taking your PS5 user.** When a friend's controller connected, the PS5 asked who was using it with your user picked, and pressing ✕ moved your user to them, which ended your Remote Play. A friend's plain ✕ is now held back until they move off your user, and their page says not to pick it. If the PS5 still ends your stream that way, the app starts it again by itself. + +**Remote Play** +- **Show or hide the on-screen controller from the stream.** A button on the stream's bar on a computer, and in the stream menu on a phone or tablet (also in full screen). It was only in Settings before. + +**Games** +- **Uninstall can also delete the game's files.** For a game played from a folder or a disk image, Uninstall asks whether to keep them or delete them too (it shows the size), and deletes only after the uninstall worked; an image is unmounted first. An installed fake package, or a game whose files are already gone, uninstalls as before. +- **The console's page shows the real title and cover of disk images on a network share (#963)**, and lists several copies of one game as one. Compressed `.ffpfsc` images show their title id with "Title not read". + +**Fake packages** +- **The Workshop says what it builds:** a fake PS5 package with a plaintext game image, the kind the latest kstuff (fake-package support up to 13.60) and Kraken Mount both take, with the two ways to play it side by side. a53_ppr is only mentioned for firmware up to 11.40, and a game installed with an older kstuff may need installing again. +- **Converting a game in zstd packs to `.pkg` no longer warns that its ampr_emu.index is stale** when the only differences are the files the conversion itself rewrites. + +**Payloads** +- **Your saved Payload Manager payloads stay listed on On your PS5.** A failed second request could hide the list while the count still included it. + +## 12.6.38 + **Games** - **Games that vanished from the home screen after Rebuild Database can be put back (#961).** A fake package game still on its drive but no longer on the PS5's home screen now shows **Not on the PS5's home screen** on its page, with **Restore to home screen**; **Restore all** in Games does every such game. The PS5's own installer takes the package back from the drive, so nothing is downloaded. Your database is backed up first, and if the PS5 won't take a game, its files are put back where they were. It needs room for one more copy of the game while it runs. - **Pressing Play on such a game no longer unsettles the console.** It used to try harder and harder ways to start a game the PS5 no longer knows, which could restart the PS5's menu. It now stops within seconds and points you to Restore. diff --git a/VERSION b/VERSION index c82752ae3..6dfdc1104 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -12.6.37 +12.6.38 diff --git a/client/package-lock.json b/client/package-lock.json index 2e6cae6a8..821a606aa 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "ps5upload-client", - "version": "12.6.37", + "version": "12.6.38", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ps5upload-client", - "version": "12.6.37", + "version": "12.6.38", "dependencies": { "@tauri-apps/api": "^2.12.5", "@tauri-apps/plugin-dialog": "^2.8.4", diff --git a/client/package.json b/client/package.json index 2b5cfbc3b..2bd59ac34 100644 --- a/client/package.json +++ b/client/package.json @@ -2,7 +2,7 @@ "name": "ps5upload-client", "private": true, "type": "module", - "version": "12.6.37", + "version": "12.6.38", "description": "The all-in-one PS5 companion app.", "homepage": "https://github.com/phantomptr/ps5upload", "author": "PhantomPtr ", diff --git a/client/src-tauri/Cargo.lock b/client/src-tauri/Cargo.lock index c540be181..e00b08e5d 100644 --- a/client/src-tauri/Cargo.lock +++ b/client/src-tauri/Cargo.lock @@ -4743,7 +4743,7 @@ dependencies = [ [[package]] name = "ps5-dump-forge-exfat" -version = "12.6.37" +version = "12.6.38" dependencies = [ "ps5-dump-forge-patch", "ps5upload-fpkg", @@ -4752,14 +4752,14 @@ dependencies = [ [[package]] name = "ps5-dump-forge-patch" -version = "12.6.37" +version = "12.6.38" dependencies = [ "crc32fast", ] [[package]] name = "ps5-dump-forge-pfs" -version = "12.6.37" +version = "12.6.38" dependencies = [ "flate2", "ps5-dump-forge-patch", @@ -4768,7 +4768,7 @@ dependencies = [ [[package]] name = "ps5-dump-forge-ufs2" -version = "12.6.37" +version = "12.6.38" dependencies = [ "ps5-dump-forge-patch", "ps5upload-fpkg", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "ps5-dump-forge-zstd" -version = "12.6.37" +version = "12.6.38" dependencies = [ "crc32fast", "getrandom 0.4.3", @@ -4788,7 +4788,7 @@ dependencies = [ [[package]] name = "ps5upload-archive" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "crc32fast", @@ -4798,7 +4798,7 @@ dependencies = [ [[package]] name = "ps5upload-ava1" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "ava1", @@ -4817,7 +4817,7 @@ dependencies = [ [[package]] name = "ps5upload-convert-core" -version = "12.6.37" +version = "12.6.38" dependencies = [ "blake3", "libc", @@ -4834,7 +4834,7 @@ dependencies = [ [[package]] name = "ps5upload-core" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.2", "aes-gcm 0.11.0", @@ -4868,7 +4868,7 @@ dependencies = [ [[package]] name = "ps5upload-desktop" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "ava1", @@ -4910,7 +4910,7 @@ dependencies = [ [[package]] name = "ps5upload-engine" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.2", "aes-gcm 0.11.0", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "ps5upload-fpkg" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.2", "crc32fast", @@ -4997,7 +4997,7 @@ dependencies = [ [[package]] name = "ps5upload-hub" -version = "12.6.37" +version = "12.6.38" dependencies = [ "axum", "base64 0.23.1", @@ -5011,7 +5011,7 @@ dependencies = [ [[package]] name = "ps5upload-pkg" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.2", "blake3", @@ -5023,7 +5023,7 @@ dependencies = [ [[package]] name = "ps5upload-tailnet" -version = "12.6.37" +version = "12.6.38" dependencies = [ "cc", ] diff --git a/client/src-tauri/Cargo.toml b/client/src-tauri/Cargo.toml index 0a0779862..30d501132 100644 --- a/client/src-tauri/Cargo.toml +++ b/client/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ps5upload-desktop" -version = "12.6.37" +version = "12.6.38" description = "The all-in-one PS5 companion app." license = "GPL-3.0-or-later" edition = "2021" diff --git a/client/src-tauri/tauri.conf.json b/client/src-tauri/tauri.conf.json index 16a725f5f..98c633628 100644 --- a/client/src-tauri/tauri.conf.json +++ b/client/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "PS5Upload", - "version": "12.6.37", + "version": "12.6.38", "identifier": "com.phantomptr.ps5upload", "build": { "beforeDevCommand": "npm run dev:vite", diff --git a/engine/Cargo.lock b/engine/Cargo.lock index 3626a6b43..693995ab3 100644 --- a/engine/Cargo.lock +++ b/engine/Cargo.lock @@ -2561,7 +2561,7 @@ dependencies = [ [[package]] name = "ps5-dump-forge-exfat" -version = "12.6.37" +version = "12.6.38" dependencies = [ "ps5-dump-forge-patch", "ps5upload-fpkg", @@ -2570,14 +2570,14 @@ dependencies = [ [[package]] name = "ps5-dump-forge-patch" -version = "12.6.37" +version = "12.6.38" dependencies = [ "crc32fast", ] [[package]] name = "ps5-dump-forge-pfs" -version = "12.6.37" +version = "12.6.38" dependencies = [ "flate2", "ps5-dump-forge-patch", @@ -2587,7 +2587,7 @@ dependencies = [ [[package]] name = "ps5-dump-forge-ufs2" -version = "12.6.37" +version = "12.6.38" dependencies = [ "ps5-dump-forge-patch", "ps5upload-fpkg", @@ -2597,7 +2597,7 @@ dependencies = [ [[package]] name = "ps5-dump-forge-zstd" -version = "12.6.37" +version = "12.6.38" dependencies = [ "crc32fast", "getrandom 0.4.3", @@ -2608,7 +2608,7 @@ dependencies = [ [[package]] name = "ps5upload-apidoc" -version = "12.6.37" +version = "12.6.38" dependencies = [ "proc-macro2", "quote", @@ -2618,7 +2618,7 @@ dependencies = [ [[package]] name = "ps5upload-archive" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "crc32fast", @@ -2628,7 +2628,7 @@ dependencies = [ [[package]] name = "ps5upload-ava1" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "ava1", @@ -2651,7 +2651,7 @@ dependencies = [ [[package]] name = "ps5upload-convert" -version = "12.6.37" +version = "12.6.38" dependencies = [ "libc", "ps5upload-archive", @@ -2666,7 +2666,7 @@ dependencies = [ [[package]] name = "ps5upload-convert-core" -version = "12.6.37" +version = "12.6.38" dependencies = [ "blake3", "flate2", @@ -2686,7 +2686,7 @@ dependencies = [ [[package]] name = "ps5upload-core" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.4", "aes-gcm 0.11.1", @@ -2720,7 +2720,7 @@ dependencies = [ [[package]] name = "ps5upload-ctest" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "ava1", @@ -2736,7 +2736,7 @@ dependencies = [ [[package]] name = "ps5upload-engine" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.4", "aes-gcm 0.11.1", @@ -2804,7 +2804,7 @@ dependencies = [ [[package]] name = "ps5upload-fpkg" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.4", "blake3", @@ -2828,7 +2828,7 @@ dependencies = [ [[package]] name = "ps5upload-hub" -version = "12.6.37" +version = "12.6.38" dependencies = [ "axum", "base64 0.23.1", @@ -2843,7 +2843,7 @@ dependencies = [ [[package]] name = "ps5upload-lab" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "ava1", @@ -2861,7 +2861,7 @@ dependencies = [ [[package]] name = "ps5upload-pkg" -version = "12.6.37" +version = "12.6.38" dependencies = [ "aes 0.9.4", "blake3", @@ -2873,14 +2873,14 @@ dependencies = [ [[package]] name = "ps5upload-tailnet" -version = "12.6.37" +version = "12.6.38" dependencies = [ "cc", ] [[package]] name = "ps5upload-tests" -version = "12.6.37" +version = "12.6.38" dependencies = [ "anyhow", "ava1", @@ -2898,7 +2898,7 @@ dependencies = [ [[package]] name = "ps5upload-unrar" -version = "12.6.37" +version = "12.6.38" dependencies = [ "serde", "serde_json", diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 45417414d..946dd1e66 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -32,7 +32,7 @@ resolver = "2" [workspace.package] edition = "2021" license = "GPL-3.0-or-later" -version = "12.6.37" +version = "12.6.38" [workspace.dependencies] # AVA1 (github.com/phantomptr/ava1): the Rust crate from crates.io; the payload builds the C side diff --git a/payload/include/config.h b/payload/include/config.h index f6a5e5062..4a3fb6d13 100644 --- a/payload/include/config.h +++ b/payload/include/config.h @@ -5,7 +5,7 @@ * UI tell apart an old payload still running from a build that includes * a particular fix, without having to boot the console. Keep in sync * with the desktop app's package.json during releases. */ -#define PS5UPLOAD2_VERSION "12.6.37" +#define PS5UPLOAD2_VERSION "12.6.38" /* Author credit — embedded in the startup toast so anyone looking at * the console screen knows who wrote the software that just loaded. * Kept separate from VERSION so release scripts can bump the version From a38f200225e6c799a1ebd247ad36e842d6402974 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Fri, 27 Nov 2026 00:04:28 -0800 Subject: [PATCH 18/23] Uninstall source test: no old port number in its address Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- engine/crates/ps5upload-engine/src/uninstall_source.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/crates/ps5upload-engine/src/uninstall_source.rs b/engine/crates/ps5upload-engine/src/uninstall_source.rs index 13e86a818..b78682c70 100644 --- a/engine/crates/ps5upload-engine/src/uninstall_source.rs +++ b/engine/crates/ps5upload-engine/src/uninstall_source.rs @@ -544,7 +544,7 @@ mod tests { }) } - const ADDR: &str = "192.0.2.10:9113"; + const ADDR: &str = "192.0.2.10"; #[test] fn a_folder_is_offered_only_while_it_is_there_and_holds_a_game() { From a5d2bdd9f5e0c0cb9c8f78b27999d1791d497e27 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Fri, 27 Nov 2026 00:31:44 -0800 Subject: [PATCH 19/23] Payloads: explain kstuff that stays in the kernel Newer kstuff builds live in the kernel without a running program, so the Payloads page never listed them and a second send quietly did nothing. When the console reports kernel access and no kstuff program runs, the On your PS5 tab and Send payload (for a kstuff file) now say kstuff is probably active, that it can't be stopped or replaced by sending again, and to restart the console to change it. A fake package that installs and starts confirms it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- client/src/i18n/locales/en.ts | 4 + client/src/screens/Payloads/SendPanel.tsx | 9 +++ .../src/screens/Payloads/hub/OnPs5Panel.tsx | 4 + .../Payloads/hub/kstuffKernel.test.tsx | 30 +++++++ .../src/screens/Payloads/hub/kstuffKernel.tsx | 50 ++++++++++++ scripts/i18n-known-missing.json | 80 +++++++++++++++++++ scripts/i18n-source-hashes.json | 4 + 7 files changed, 181 insertions(+) create mode 100644 client/src/screens/Payloads/hub/kstuffKernel.test.tsx create mode 100644 client/src/screens/Payloads/hub/kstuffKernel.tsx diff --git a/client/src/i18n/locales/en.ts b/client/src/i18n/locales/en.ts index c4cc19e5a..db2804bb4 100644 --- a/client/src/i18n/locales/en.ts +++ b/client/src/i18n/locales/en.ts @@ -5815,6 +5815,10 @@ hub_checking: "Checking what is on this PS5…", hub_count: "{n} on this PS5", hub_error: "Couldn't read what is running on the PS5", hub_empty_title: "Nothing found on this PS5", +kstuff_kernel_title: "kstuff: probably active in the kernel", +kstuff_kernel_send_title: "kstuff may already be active", +kstuff_kernel_body: "This PS5 reports kernel access, but no kstuff program is running. Newer kstuff builds stay in the kernel without a running program, so they don't show as running and can't be stopped. Kernel access can also come from other payloads, so this isn't certain: if a fake package installs and starts, kstuff is active.", +kstuff_kernel_change: "Sending kstuff again does nothing while one is active. To change kstuff, restart the console and send the one you want first.", hub_state_running: "Running", hub_state_installed: "Installed", hub_state_unknown: "Not found", diff --git a/client/src/screens/Payloads/SendPanel.tsx b/client/src/screens/Payloads/SendPanel.tsx index fd9fda989..de970aa32 100644 --- a/client/src/screens/Payloads/SendPanel.tsx +++ b/client/src/screens/Payloads/SendPanel.tsx @@ -28,6 +28,7 @@ import { PlaylistsPanel } from "./PlaylistsPanel"; import { dropIsOwnedElsewhere } from "./dropZone"; import { probeVerdict, sendBlockedByRest } from "./probeVerdict"; import { formatAgo } from "../../lib/formatDate"; +import { isKstuffName, KstuffKernelNote } from "./hub/kstuffKernel"; /** * Send tab of the Payloads screen — send any custom ELF (or BIN/JS/ @@ -111,6 +112,7 @@ export default function SendPanel() { const host = hostDraft ?? selectedHost; const power = useConnectionStore((s) => s.power); const helperStatus = useConnectionStore((s) => s.payloadStatus); + const ucredElevated = useConnectionStore((s) => s.ucredElevated); const asleep = sendBlockedByRest(host, selectedHost, power, helperStatus); const [elfPath, setElfPath] = useState(null); // Mirror of `elfPath` used by the editable text input so the user can @@ -594,6 +596,13 @@ export default function SendPanel() {
+ {/* Kernel access is reported for the selected console only. */} + {host === selectedHost && ucredElevated === true && isKstuffName(elfPath ?? elfPathText) && ( +
+ +
+ )} + {status.kind === "sent" && (
s.host); const payloadStatus = useConnectionStore((s) => s.payloadStatus); + const ucredElevated = useConnectionStore((s) => s.ucredElevated); const online = payloadStatus === "up"; const addr = mgmtAddr(host); const windowVisible = useDocumentVisible(); @@ -630,6 +632,8 @@ function OnPs5Body() { /> )} + {procsLoaded && kstuffProbablyInKernel(procs, ucredElevated) && } + {loading && cards.length === 0 ? ( ) : cards.length === 0 ? ( diff --git a/client/src/screens/Payloads/hub/kstuffKernel.test.tsx b/client/src/screens/Payloads/hub/kstuffKernel.test.tsx new file mode 100644 index 000000000..8d66ee26a --- /dev/null +++ b/client/src/screens/Payloads/hub/kstuffKernel.test.tsx @@ -0,0 +1,30 @@ +import { describe, expect, it } from "vitest"; +import { renderToStaticMarkup } from "react-dom/server"; +import { isKstuffName, kstuffProbablyInKernel, KstuffKernelNote } from "./kstuffKernel"; + +const p = (comm: string) => ({ comm, name: comm, is_self: false }); + +describe("kstuff in the kernel", () => { + it("knows kstuff file names", () => { + expect(isKstuffName("/Users/me/kstuff-1.15-fpkg.elf")).toBe(true); + expect(isKstuffName("C:\\x\\KSTUFF.elf")).toBe(true); + expect(isKstuffName("/kstuff/etaHEN.bin")).toBe(false); + expect(isKstuffName(null)).toBe(false); + }); + + it("is a probably only with kernel access and no kstuff process", () => { + expect(kstuffProbablyInKernel([p("elfldr.elf")], true)).toBe(true); + expect(kstuffProbablyInKernel([p("kstuff.elf")], true)).toBe(false); + expect(kstuffProbablyInKernel([], false)).toBe(false); + expect(kstuffProbablyInKernel([], null)).toBe(false); + }); + + it("says it is not certain and how to change kstuff, for both places", () => { + for (const v of ["hub", "send"] as const) { + const html = renderToStaticMarkup(); + expect(html).toContain(`kstuff-kernel-${v}`); + expect(html).toContain("isn't certain"); + expect(html).toContain("restart the console"); + } + }); +}); diff --git a/client/src/screens/Payloads/hub/kstuffKernel.tsx b/client/src/screens/Payloads/hub/kstuffKernel.tsx new file mode 100644 index 000000000..52b7a581a --- /dev/null +++ b/client/src/screens/Payloads/hub/kstuffKernel.tsx @@ -0,0 +1,50 @@ +import { Callout } from "../../../components/Callout"; +import { useTr } from "../../../state/lang"; + +/** A file or process name that is kstuff ("kstuff.elf", "kstuff-1.15-fpkg.elf"). */ +export function isKstuffName(name: string | null | undefined): boolean { + if (!name) return false; + const base = name.split(/[\\/]/).pop() ?? ""; + return /kstuff/i.test(base); +} + +/** Newer kstuff builds stay in the kernel and leave no running program, so the only sign is + * the console's kernel access. That can come from other kernel payloads too, so this is a + * "probably", never proof. True when kernel access is reported and no kstuff process runs. */ +export function kstuffProbablyInKernel( + processes: readonly { comm: string; name: string; is_self?: boolean }[], + ucredElevated: boolean | null, +): boolean { + if (ucredElevated !== true) return false; + return !processes.some((p) => !p.is_self && (isKstuffName(p.comm) || isKstuffName(p.name))); +} + +/** The explanation shown on the Payloads page and when sending a kstuff file. */ +export function KstuffKernelNote({ variant }: { variant: "hub" | "send" }) { + const tr = useTr(); + return ( + +

+ {tr( + "kstuff_kernel_body", + undefined, + "This PS5 reports kernel access, but no kstuff program is running. Newer kstuff builds stay in the kernel without a running program, so they don't show as running and can't be stopped. Kernel access can also come from other payloads, so this isn't certain: if a fake package installs and starts, kstuff is active.", + )} +

+

+ {tr( + "kstuff_kernel_change", + undefined, + "Sending kstuff again does nothing while one is active. To change kstuff, restart the console and send the one you want first.", + )} +

+
+ ); +} diff --git a/scripts/i18n-known-missing.json b/scripts/i18n-known-missing.json index 8e512e37b..0b3a02317 100644 --- a/scripts/i18n-known-missing.json +++ b/scripts/i18n-known-missing.json @@ -15,6 +15,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -103,6 +107,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -191,6 +199,10 @@ "installed_uninstall_only", "installed_uninstall_size_at_least", "installed_uninstall_source_kept", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -289,6 +301,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -383,6 +399,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -473,6 +493,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -566,6 +590,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -658,6 +686,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -755,6 +787,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -854,6 +890,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -953,6 +993,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1042,6 +1086,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1133,6 +1181,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1227,6 +1279,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1321,6 +1377,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1414,6 +1474,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1507,6 +1571,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1603,6 +1671,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1698,6 +1770,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", @@ -1787,6 +1863,10 @@ "join_not_host_user_unnamed", "join_took_host", "join_took_host_away", + "kstuff_kernel_body", + "kstuff_kernel_change", + "kstuff_kernel_send_title", + "kstuff_kernel_title", "payloads_fpkg_ppr_note_v3", "pkglib.fpkgsupport.install_kstuff_v2", "pkglib.fpkgsupport.install_ppr_v2", diff --git a/scripts/i18n-source-hashes.json b/scripts/i18n-source-hashes.json index 69c129908..b2689c29f 100644 --- a/scripts/i18n-source-hashes.json +++ b/scripts/i18n-source-hashes.json @@ -5000,6 +5000,10 @@ "klog_read_failed": "d2895c3d _pdc-5jz0T2iOmkzey7QFdYC8sd1wDetlD6RlzzFkF9V2j-T6zQSKdNWokLV", "kraken_update_note": "0d06b4d3 kPhjUw9_CAkbQuvCgn9XTIRe9W-tHm8ftCaUBTtIG1ua33brc4TjwuIpEDqz", "kraken_update_open": "d6e6cdd8 dOtD9SWSUl3YlHJQbJ2fq8Q0FPBiUKZgK_r4hqqkgbwzr7lQ84S5grhUle4_", + "kstuff_kernel_body": "5c2ddc65 ------------------------------------------------------------", + "kstuff_kernel_change": "75587149 ------------------------------------------------------------", + "kstuff_kernel_send_title": "b22af4bc ------------------------------------------------------------", + "kstuff_kernel_title": "532bff9a ------------------------------------------------------------", "lang_load_failed": "5e6140ed Ea5xitfHLA6LTrOHAyds4J39GqxJWVyY-gxXWKUtKMIlh7rN4RuGcRb_PLm5", "language": "a4fe6526 ZSCGKg8qHeun7dCX2uNgCicUwXSD8yloK2HBMUzeunW9VXkUeBU8SMn2_3wK", "library": "dc20b3d5 n_RXJrcIYyRajf1cJrzRv9SFfMek8NosVag-lSIyRa1lnDsgdI3WBRLDbM1f", From 5946f65f3c837bb6247b5c78d9464ff6e5efc174 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Fri, 27 Nov 2026 00:38:48 -0800 Subject: [PATCH 20/23] Workshop fake-sign: put the package content id in the NPDRM block Fake-signed executables now carry the first 19 bytes of the package's content id at NPDRM control block +0x10, as make_fself --content-id writes since drakmor/make_fself 99d8fe02. Executables already fake-signed in the source get the same bytes when they name a different id. With no content id the block stays zero as before. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- engine/crates/ps5upload-fpkg/src/build.rs | 16 +- engine/crates/ps5upload-fpkg/src/fself.rs | 255 ++++++++++++++++++++-- 2 files changed, 253 insertions(+), 18 deletions(-) diff --git a/engine/crates/ps5upload-fpkg/src/build.rs b/engine/crates/ps5upload-fpkg/src/build.rs index cf145c3e6..540a26b84 100644 --- a/engine/crates/ps5upload-fpkg/src/build.rs +++ b/engine/crates/ps5upload-fpkg/src/build.rs @@ -328,8 +328,20 @@ fn build_mode( Some(reader) => (reader.0)(opened).map_err(crate::Error::Format)?, None => opened, }; - // An unsigned executable would install and then never start: it goes in fake-signed. - let (mut tree, signing) = crate::fself::wrap(opened); + let mut opened = opened; + // An unsigned executable would install and then never start: it goes in fake-signed, its + // NPDRM block naming the content id the package is built under (checked again below). + let signing_id = request.content_id.clone().or_else(|| { + source::read_small( + opened.as_mut(), + "sce_sys/param.json", + source::MAX_PARAM_BYTES, + ) + .ok() + .and_then(|p| source::content_id(&p)) + }); + let signing_id = signing_id.filter(|id| id.len() == 36 && content_id_is_plain(id)); + let (mut tree, signing) = crate::fself::wrap_with(opened, signing_id.as_deref()); if let Some(line) = signing.describe() { progress(&line); } diff --git a/engine/crates/ps5upload-fpkg/src/fself.rs b/engine/crates/ps5upload-fpkg/src/fself.rs index 57cbdf56f..de4946805 100644 --- a/engine/crates/ps5upload-fpkg/src/fself.rs +++ b/engine/crates/ps5upload-fpkg/src/fself.rs @@ -3,8 +3,9 @@ //! Ported from PS5 Dump Forge (quer3q, GPL-3.0-or-later, with its UnRAR exception). Byte for byte what ampr-emu-ng's //! `tools/make_fself.py --ptype fake` writes (its defaults: paid `0x3100000000000002`, ptype 1, //! versions 0, no auth info): a header, an entry pair per copied segment (zero digests, then the -//! segment's bytes), the ELF and program headers, ex-info with the ELF's SHA-256, a zero NPDRM -//! block, zero meta blocks, footer and signature, then the segments, then any `PT_SCE_VERSION` +//! segment's bytes), the ELF and program headers, ex-info with the ELF's SHA-256, an NPDRM +//! block (the package's content id prefix at +0x10 when one is known, as Drakmor's make_fself +//! `--content-id` writes it since 99d8fe02; zeros otherwise), zero meta blocks, footer and signature, then the segments, then any `PT_SCE_VERSION` //! bytes. //! //! The source is never touched; only what a Convert build reads from it changes. A folder sent to @@ -43,6 +44,48 @@ const EXTENSIONS: [&str; 5] = ["bin", "elf", "self", "prx", "sprx"]; const MAX_EXECUTABLES: usize = 4096; /// A path index this big is not read. const MAX_INDEX: u64 = 64 << 20; +/// The content id bytes an NPDRM control block holds (make_fself's +/// `SELF_NPDRM_CONTROL_BLOCK_CONTENT_ID_SIZE`): `UP0000-CUSA00000_00` of a 36-byte id. +pub const CONTENT_ID_PREFIX: usize = 0x13; +/// The NPDRM control block (` Option<[u8; CONTENT_ID_PREFIX]> { + let b = content_id.as_bytes().get(..CONTENT_ID_PREFIX)?; + b.iter() + .all(|c| (0x21..=0x7E).contains(c)) + .then(|| b.try_into().ok()) + .flatten() +} + +/// Where an already fake-signed executable's NPDRM content id sits, from its first bytes +/// (header size at 0xC); `None` when `head` isn't a fake SELF this tool or make_fself writes, +/// or has no NPDRM block. make_fself's `fself_content_id_offset`, accepting both its current +/// header (version 0x10, key type 0x10000101) and the ampr-emu-ng one written here. +fn fself_content_id_at(head: &[u8], size: u64) -> Option { + let block = fself_header_size(head, size)? - NPDRM_BLOCK; + (u16_at(head, block)? == NPDRM_TYPE).then_some(block + NPDRM_CONTENT_ID_AT) +} + +/// The header size of a fake SELF from its first 0x10 bytes; `None` when it isn't one. +fn fself_header_size(head: &[u8], size: u64) -> Option { + let m = head.get(..4)?; + if m != magic::SELF_PS4 && m != magic::SELF_PS5 { + return None; + } + if !matches!(head.get(4..8)?, [0x00 | 0x10, 0x01, 0x01, 0x12]) { + return None; + } + if !matches!(u32_at(head, 8)?, 0x101 | 0x1000_0101) { + return None; + } + let header_size = usize::from(u16_at(head, 0xC)?); + (header_size >= NPDRM_BLOCK && header_size as u64 <= size).then_some(header_size) +} /// An executable by extension, a `.bin` only when named `eboot*`: games hold thousands of data /// `.bin` files, and a solid archive would be decoded to the last one just to look. @@ -118,7 +161,12 @@ struct Plan { } /// The SELF of the ELF at `path` (`elf_size` bytes), from its headers only. -fn plan(tree: &mut dyn SourceTree, path: &str, elf_size: u64) -> std::result::Result { +fn plan( + tree: &mut dyn SourceTree, + path: &str, + elf_size: u64, + content_id: Option<&[u8; CONTENT_ID_PREFIX]>, +) -> std::result::Result { let err = |e: Error| e.to_string(); // The header and (where it fits, as usual) the program headers in one read: a second read // right after it would make a remote source fetch a whole read-ahead window. @@ -239,7 +287,10 @@ fn plan(tree: &mut dyn SourceTree, path: &str, elf_size: u64) -> std::result::Re info, &[PAID, PTYPE_FAKE, 0, 0].map(u64::to_le_bytes).concat(), ); - put(info + 0x40, &3u16.to_le_bytes()); + put(info + 0x40, &NPDRM_TYPE.to_le_bytes()); + if let Some(id) = content_id { + put(info + 0x40 + NPDRM_CONTENT_ID_AT, id); + } let footer = info + 0x70 + 0x50 * n; put(footer + 48, &0x10000u32.to_le_bytes()); @@ -267,12 +318,14 @@ pub struct Signing { pub refused: Vec<(String, String)>, /// How many `ampr_emu.index` records it set to the signed sizes. pub resized: usize, + /// Executables already fake-signed whose NPDRM content id it set to the package's. + pub restamped: Vec, } impl Signing { /// One line for a log; `None` when there was nothing to sign. pub fn describe(&self) -> Option { - if self.signed.is_empty() && self.refused.is_empty() { + if self.signed.is_empty() && self.refused.is_empty() && self.restamped.is_empty() { return None; } let mut line = format!("fake-signing {} unsigned executable(s)", self.signed.len()); @@ -292,6 +345,12 @@ impl Signing { self.resized )); } + if !self.restamped.is_empty() { + line.push_str(&format!( + "; content id set in {} already signed executable(s)", + self.restamped.len() + )); + } for (path, why) in &self.refused { line.push_str(&format!("; can't sign {path}: {why}, left as it is")); } @@ -302,7 +361,19 @@ impl Signing { /// `tree` with its unsigned PS5 executables read as fake-signed SELFs at their SELF sizes; one /// that can't be planned, and every other file, read as they are. The tree unchanged when it /// has none. -pub fn wrap(mut inner: Box) -> (Box, Signing) { +pub fn wrap(inner: Box) -> (Box, Signing) { + wrap_with(inner, None) +} + +/// [`wrap`] for a package built under `content_id`: its prefix goes into each signed +/// executable's NPDRM block, and into each already fake-signed one's that says something else +/// (make_fself's repair with `--content-id`; the rest of that repair, a magic rewrite and a +/// trailer move, is not done). `None`, or an id without a usable prefix, is [`wrap`]. +pub fn wrap_with( + mut inner: Box, + content_id: Option<&str>, +) -> (Box, Signing) { + let id = content_id.and_then(content_id_prefix); let sizes: HashMap = inner .files() .iter() @@ -311,16 +382,26 @@ pub fn wrap(mut inner: Box) -> (Box, Signing) { let mut plans = HashMap::new(); let mut signing = Signing::default(); for path in unsigned(inner.as_mut()) { - match plan(inner.as_mut(), &path, sizes[&path]) { + match plan(inner.as_mut(), &path, sizes[&path], id.as_ref()) { Ok(p) => { plans.insert(path, p); } Err(why) => signing.refused.push((path, why)), } } - if plans.is_empty() { + let stamps = match &id { + Some(id) => restamps(inner.as_mut(), &plans, id), + None => HashMap::new(), + }; + if plans.is_empty() && stamps.is_empty() { return (inner, signing); } + signing.restamped = inner + .files() + .iter() + .filter(|f| stamps.contains_key(&f.path)) + .map(|f| f.path.clone()) + .collect(); let files: Vec = inner .files() .iter() @@ -342,11 +423,47 @@ pub fn wrap(mut inner: Box) -> (Box, Signing) { inner, files, plans, + stamps, index: index.map(|(bytes, _)| bytes), }; (Box::new(tree), signing) } +/// The already fake-signed executables (by extension) whose NPDRM content id isn't `id`, with +/// where it sits. +fn restamps( + inner: &mut dyn SourceTree, + plans: &HashMap, + id: &[u8; CONTENT_ID_PREFIX], +) -> HashMap { + let paths: Vec<(String, u64)> = inner + .files() + .iter() + .filter(|f| f.size >= 0x20 && executable(&f.path) && !plans.contains_key(&f.path)) + .map(|f| (f.path.clone(), f.size)) + .take(MAX_EXECUTABLES) + .collect(); + let mut stamps = HashMap::new(); + for (path, size) in paths { + let Ok(head) = inner.read_range(&path, 0, 0x20) else { + continue; + }; + let Some(header_size) = fself_header_size(&head, size) else { + continue; + }; + let Ok(head) = inner.read_range(&path, 0, header_size) else { + continue; + }; + let Some(at) = fself_content_id_at(&head, size) else { + continue; + }; + if head.get(at..at + CONTENT_ID_PREFIX) != Some(&id[..]) { + stamps.insert(path, (at as u64, *id)); + } + } + stamps +} + /// `ampr_emu.index` with each record of a signed file that lists its ELF size set to its SELF /// size, and the count; `None` when it doesn't read or lists none of them. The runtime answers /// `/app0` lookups from it, and a packed game keeps it as it is. @@ -402,10 +519,29 @@ fn digest(tree: &mut dyn SourceTree, path: &str, size: u64) -> Result<[u8; 32]> Ok(hash.finalize().into()) } +/// `bytes` (read at `offset`) with `id` over the part of it that `at..at + id.len()` covers. +fn stamp(bytes: &mut [u8], offset: u64, at: u64, id: &[u8]) { + let end = offset + bytes.len() as u64; + let (s, e) = (offset.max(at), end.min(at + id.len() as u64)); + if s < e { + bytes[(s - offset) as usize..(e - offset) as usize] + .copy_from_slice(&id[(s - at) as usize..(e - at) as usize]); + } +} + +impl Signed { + /// A file whose bytes this tree serves itself rather than the source's. + fn special(&self, path: &str) -> bool { + self.plans.contains_key(path) || self.stamps.contains_key(path) || path == ampr_index::NAME + } +} + struct Signed { inner: Box, files: Vec, plans: HashMap, + /// Already signed executables served with these bytes at this offset (their content id). + stamps: HashMap, /// `ampr_emu.index` with the signed files' records at their SELF sizes, when it lists any. index: Option>, } @@ -428,7 +564,13 @@ impl SourceTree for Signed { let size = usize::try_from(p.size).unwrap_or(usize::MAX); self.read_range(path, 0, size) } - None => self.inner.read(path), + None => { + let mut bytes = self.inner.read(path)?; + if let Some(&(at, id)) = self.stamps.get(path) { + stamp(&mut bytes, 0, at, &id); + } + Ok(bytes) + } } } @@ -436,6 +578,7 @@ impl SourceTree for Signed { let Self { inner, plans, + stamps, index, .. } = self; @@ -446,7 +589,11 @@ impl SourceTree for Signed { return Ok(bytes[start..start.saturating_add(len).min(bytes.len())].to_vec()); } let Some(p) = plans.get_mut(path) else { - return inner.read_range(path, offset, len); + let mut bytes = inner.read_range(path, offset, len)?; + if let Some(&(at, id)) = stamps.get(path) { + stamp(&mut bytes, offset, at, &id); + } + return Ok(bytes); }; let start = offset.min(p.size); let end = start.saturating_add(len as u64).min(p.size); @@ -480,16 +627,12 @@ impl SourceTree for Signed { len: usize, progress: &mut dyn FnMut(usize) -> bool, ) -> Result>> { - let plain: Vec = paths - .iter() - .filter(|p| !self.plans.contains_key(*p) && **p != ampr_index::NAME) - .cloned() - .collect(); + let plain: Vec = paths.iter().filter(|p| !self.special(p)).cloned().collect(); let mut heads = self.inner.read_heads(&plain, len, progress)?.into_iter(); paths .iter() .map(|p| { - if self.plans.contains_key(p) || p == ampr_index::NAME { + if self.special(p) { self.read_range(p, 0, len) } else { heads @@ -744,4 +887,84 @@ mod tests { served[3..12] ); } + + const ID: &str = "UP9999-PPSA99999_00-ABCDEFGHIJKLMNOP"; + + /// The NPDRM content id's place in a signed executable: header size minus the 0x30-byte + /// block, plus 0x10. + fn content_id_at(bytes: &[u8]) -> usize { + let at = fself_content_id_at(bytes, bytes.len() as u64).unwrap(); + let header_size = usize::from(u16_at(bytes, 0xC).unwrap()); + assert_eq!(at, header_size - 0x30 + 0x10); + assert_eq!(u16_at(bytes, header_size - 0x30), Some(3)); + at + } + + #[test] + fn the_content_id_prefix_goes_in_the_npdrm_block() { + let plain = signed().read("eboot.bin").unwrap(); + let (mut tree, _) = wrap_with( + Files::new(vec![("eboot.bin", elf(ET_SCE_EXEC_ASLR))]), + Some(ID), + ); + let stamped = tree.read("eboot.bin").unwrap(); + let at = content_id_at(&stamped); + assert_eq!(&stamped[at..at + 19], b"UP9999-PPSA99999_00"); + // Only those 19 bytes differ, and a range read agrees. + let mut want = plain.clone(); + want[at..at + 19].copy_from_slice(b"UP9999-PPSA99999_00"); + assert_eq!(stamped, want); + assert_eq!( + tree.read_range("eboot.bin", at as u64 - 3, 8).unwrap(), + stamped[at - 3..at + 5] + ); + } + + #[test] + fn no_content_id_keeps_zeros() { + let plain = signed().read("eboot.bin").unwrap(); + let at = content_id_at(&plain); + assert_eq!(plain[at..at + 19], [0; 19]); + // An id with no usable prefix signs as before. + let (mut tree, _) = wrap_with( + Files::new(vec![("eboot.bin", elf(ET_SCE_EXEC_ASLR))]), + Some("short"), + ); + assert_eq!(tree.read("eboot.bin").unwrap(), plain); + assert_eq!(content_id_prefix("UP0000-CUSA 0000_00-X"), None); + } + + /// An executable already fake-signed with another (or no) content id is served with the + /// package's, as make_fself's repair writes it; one that already names it is left alone. + #[test] + fn an_already_signed_executable_gets_the_content_id() { + let plain = signed().read("eboot.bin").unwrap(); + let at = content_id_at(&plain); + let mut right = plain.clone(); + right[at..at + 19].copy_from_slice(b"UP9999-PPSA99999_00"); + let (mut tree, signing) = wrap_with( + Files::new(vec![ + ("eboot.bin", plain.clone()), + ("sce_module/libfoo.prx", right.clone()), + ("data/x.dat", vec![9; 0x40]), + ]), + Some(ID), + ); + assert_eq!(signing.signed, Vec::::new()); + assert_eq!(signing.restamped, ["eboot.bin"]); + assert!(signing.describe().unwrap().contains("content id set in 1")); + assert_eq!(tree.files()[0].size, plain.len() as u64); + assert_eq!(tree.read("eboot.bin").unwrap(), right); + assert_eq!( + tree.read_range("eboot.bin", at as u64 + 10, 0x40).unwrap(), + right[at + 10..at + 0x4A] + ); + let paths: Vec = ["eboot.bin", "data/x.dat"].map(String::from).into(); + let heads = tree.read_heads(&paths, at + 19, &mut |_| true).unwrap(); + assert_eq!(heads[0], right[..at + 19]); + assert_eq!(tree.read("sce_module/libfoo.prx").unwrap(), right); + // Without an id nothing is touched. + let (_, signing) = wrap_with(Files::new(vec![("eboot.bin", plain)]), None); + assert_eq!(signing, Signing::default()); + } } From 4108bb330f08836bcdafb32c3428eb87aa1fd021 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Fri, 27 Nov 2026 00:41:16 -0800 Subject: [PATCH 21/23] Helper: a launch the console refuses for the title itself stops before the ShellUI route On a Pro (FW 13.60) Play on an installed fake package came back from the in-process launcher as 0x80020016. The title is in app.db, so the #961 guard let it through, and launch_title went on to the ShellUI ptrace route: SceShellUI restarted and took ShadowMount+ down with it, and the title never started. launch_refusal_is_final (payload/include/launch_route.h) now names the refusals no other route can change: SCE kernel errors (0x8002xxxx) and the launcher's homebrew/fake-package refusal 0x80940033, for which the ShellUI route was measured to start nothing. For those, launch_title checks that the title did not start anyway and reports launch_sony_error_0x without the ShellUI call or the three later launcher calls. A missing in-process symbol (-1) and the other launcher codes keep the old ladder. The app now explains 0x80020016: the console refused to start the game's program, usually because kstuff is not loaded or the package's program files are not accepted. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- Makefile | 5 +++ client/src/i18n/locales/en.ts | 1 + client/src/lib/humanizeError.test.ts | 8 ++++ client/src/lib/humanizeError.ts | 5 +++ payload/include/launch_route.h | 56 +++++++++++++++++++++++++++ payload/src/register.c | 25 +++++++++++- payload/tests/launch_route_selftest.c | 56 +++++++++++++++++++++++++++ scripts/i18n-known-missing.json | 20 ++++++++++ scripts/i18n-source-hashes.json | 1 + 9 files changed, 175 insertions(+), 2 deletions(-) create mode 100644 payload/include/launch_route.h create mode 100644 payload/tests/launch_route_selftest.c diff --git a/Makefile b/Makefile index bd3b5ee67..c72352f69 100644 --- a/Makefile +++ b/Makefile @@ -1518,6 +1518,11 @@ test-payload: payload $(PAYLOAD_DIR)/tests/shellui_launch_selftest.c @$(RUN_LIMITED) $(SELFTEST_DIR)/ps5upload-shellui-launch-selftest @echo "✓ a Sony launch error reaches the caller as an error with its code, not as 'never ran'" + @echo "Running launch route self-test (host build)..." + @cc -O2 -Wall -Wextra -Werror -o $(SELFTEST_DIR)/ps5upload-launch-route-selftest \ + $(PAYLOAD_DIR)/tests/launch_route_selftest.c + @$(RUN_LIMITED) $(SELFTEST_DIR)/ps5upload-launch-route-selftest + @echo "✓ a launch the console refuses for the title itself stops before the ShellUI route" @echo "Running app.db raw-scan self-test (host build)..." @cc -O2 -Wall -Wextra -Werror -o $(SELFTEST_DIR)/ps5upload-appdb-scan-selftest \ $(PAYLOAD_DIR)/tests/appdb_scan_selftest.c diff --git a/client/src/i18n/locales/en.ts b/client/src/i18n/locales/en.ts index db2804bb4..fcc82d8d3 100644 --- a/client/src/i18n/locales/en.ts +++ b/client/src/i18n/locales/en.ts @@ -9876,6 +9876,7 @@ restore_where_usb: "USB extended storage", "join_not_host_user_unnamed": "Move to Quick Play before pressing ✕. Don't pick {host}'s PS5 user: it ends their game.", "join_took_host": "{host}'s game stopped because their PS5 user was picked on your controller. This time, move to Quick Play first, then press ✕.", "join_took_host_away": "{host}'s PS5 user was picked on your controller, which ends their game. When it's back and the TV asks who you are, move to Quick Play first, then press ✕.", +err_launch_program_refused: "The PS5 refused to start this game's program (0x80020016). Usually fake-package and homebrew support (kstuff) isn't loaded, or the package holds program files the console won't accept. Load kstuff and press Play again; if it still won't start, rebuild or re-download the package.", }; export default en; diff --git a/client/src/lib/humanizeError.test.ts b/client/src/lib/humanizeError.test.ts index 69a8e64a6..d8929f9af 100644 --- a/client/src/lib/humanizeError.test.ts +++ b/client/src/lib/humanizeError.test.ts @@ -255,6 +255,14 @@ describe("humanizePs5Error", () => { /corrupted/i, ); }); + it("80020016 → the console refused the program (kstuff or the package)", () => { + const out = humanizePs5Error( + "payload rejected APP_LAUNCH: launch_sony_error_0x80020016", + ); + expect(out).toMatch(/refused to start this game's program \(0x80020016\)/); + expect(out).toMatch(/kstuff/); + expect(out).not.toMatch(/launcher returned/i); + }); it("unknown launcher code falls back to generic 'returned 0xN' copy", () => { const out = humanizePs5Error("launch_sony_error_0x80940099"); expect(out).toMatch(/launcher returned/i); diff --git a/client/src/lib/humanizeError.ts b/client/src/lib/humanizeError.ts index 19e01c4ba..e43d9ebe9 100644 --- a/client/src/lib/humanizeError.ts +++ b/client/src/lib/humanizeError.ts @@ -397,6 +397,11 @@ export function humanizePs5Error( if (code === "80940033") { return te("err_launch_homebrew_refused"); } + // SCE kernel EINVAL: the console refused to start the program itself. The helper stops here + // rather than trying the ShellUI route, which only restarted the system UI for it. + if (code === "80020016") { + return te("err_launch_program_refused"); + } return te("err_launch_unknown", { code }); } diff --git a/payload/include/launch_route.h b/payload/include/launch_route.h new file mode 100644 index 000000000..9681163e4 --- /dev/null +++ b/payload/include/launch_route.h @@ -0,0 +1,56 @@ +/* Which launch refusals end launch_title instead of trying the other routes. + * + * launch_title (register.c) asks Sony's launcher in-process first + * (sceSystemServiceLaunchApp). When that call is refused it used to go on to + * the ShellUI route (a ptrace call into SceShellUI) and then three more + * in-process launcher calls. The ShellUI route exists for a launcher that will + * not take the call from our process (the caller-pid check the route was + * written for) or a firmware without the in-process symbol. It does nothing for + * a title the console itself will not start, and invoking the launcher through + * ptrace is what restarts SceShellUI (focus-drop control runs on FW 9.60; a + * no-user launch on FW 13.60), taking homebrew running inside it down too. + * + * Measured 2026-11-27 (Pro, FW 13.60, helper 12.6.37): an installed fake + * package (PPSA99261, in app.db) was refused with 0x80020016, the ladder went + * on to the ShellUI route, SceShellUI restarted and shadowmountplus.elf went + * down with it. The title never started. + * + * Refusals that end the launch here (after the caller has checked that the + * title did not start anyway; a non-zero return can still be a launch that is + * proceeding, see launch_took_effect): + * + * 0x8002xxxx SCE kernel errors (errno + 0x80020000). The launcher got as far + * as asking the kernel to start the program and the kernel said + * no (0x80020016 = EINVAL; the same code came back when a + * malformed fake package's files were refused). The kernel + * gives the same answer whichever process asks. + * 0x80940033 the launcher's "this console starts no homebrew or fake-package + * title right now". The ShellUI route was measured to dispatch + * and start nothing for it (FW 13.60 sweep, 2026-09-29), and the + * app's repair flow (launchRefusal.ts) needs only this code. + * + * Everything else keeps the old ladder: -1 (no in-process symbol), and other + * 0x8094xxxx launcher codes, some of which are transient (0x8094000F right + * after a register) and are what the ShellUI retry was written to heal. The + * no-signed-in-user case is stopped earlier in launch_title. + * + * Pure, so payload/tests/launch_route_selftest.c pins it on the host. */ +#ifndef PS5UPLOAD2_LAUNCH_ROUTE_H +#define PS5UPLOAD2_LAUNCH_ROUTE_H + +#include + +#define LAUNCH_SCE_KERNEL_ERROR_MASK 0xFFFF0000u +#define LAUNCH_SCE_KERNEL_ERROR_BASE 0x80020000u +#define LAUNCH_LNC_HOMEBREW_REFUSED 0x80940033u + +/* 1 when the in-process launcher's rc means no other route can start the + * title, so launch_title reports it instead of trying the ShellUI route. */ +static inline int launch_refusal_is_final(int rc) { + uint32_t code = (uint32_t)rc; + if (rc >= 0 || rc == -1) return 0; + if ((code & LAUNCH_SCE_KERNEL_ERROR_MASK) == LAUNCH_SCE_KERNEL_ERROR_BASE) return 1; + return code == LAUNCH_LNC_HOMEBREW_REFUSED; +} + +#endif /* PS5UPLOAD2_LAUNCH_ROUTE_H */ diff --git a/payload/src/register.c b/payload/src/register.c index b320e2ae3..cda9a29f0 100644 --- a/payload/src/register.c +++ b/payload/src/register.c @@ -41,6 +41,7 @@ #include "sony_api_lock.h" #include "proc_list.h" #include "shellui_rpc.h" +#include "launch_route.h" #include "kernel_rw_lock.h" /* Serialization mutex `sony_api_lock` and the 200µs post-call grace @@ -2251,6 +2252,26 @@ int launch_title(const char *title_id, const char **err_reason_out, } } + /* A refusal no other route can change (launch_route.h): report it and stop. The ShellUI + * route below runs the launcher on SceShellUI's stack, and for a title the console itself + * will not start that only restarts the system UI and the homebrew inside it (a fake + * package refused with 0x80020016 on FW 13.60, 2026-11-27). A non-zero return can still + * be a launch that is proceeding, so look first. */ + if (launch_refusal_is_final(rc_ss)) { + if (launch_took_effect(title_id)) return 0; + fprintf(stderr, + "[payload2] launch %s: launcher refused (0x%08x), a refusal the other routes " + "cannot change: not trying them\n", + title_id, (unsigned int)rc_ss); + if (reason_buf && reason_cap > 0) { + snprintf(reason_buf, reason_cap, "launch_sony_error_0x%08x", (unsigned int)rc_ss); + if (err_reason_out) *err_reason_out = reason_buf; + } else if (err_reason_out) { + *err_reason_out = "launch_sony_error"; + } + return -1; + } + (void)shellui_rpc_init(); if (shellui_rpc_ready()) { /* rc > 0 means "Sony's function ran and refused"; the code it gave is @@ -2261,8 +2282,8 @@ int launch_title(const char *title_id, const char **err_reason_out, if (rc == 0 || rc == -2) { /* 0 / -2 mean the ShellUI request was dispatched, not that the * title started. When the launcher above had already REFUSED it - * (a negative rc, e.g. 0x80940033 for a homebrew app on FW 13.60 - * with no fake-package support), check before claiming success: + * (a negative rc; 0x80940033, measured here for a homebrew app on FW + * 13.60, now stops above), check before claiming success: * otherwise the UI says "launched" and nothing happens (measured * on the Pro, 2026-09-29). ~6 s covers a slow start; a normal * launch through the primary path never reaches here. -2 is diff --git a/payload/tests/launch_route_selftest.c b/payload/tests/launch_route_selftest.c new file mode 100644 index 000000000..021684390 --- /dev/null +++ b/payload/tests/launch_route_selftest.c @@ -0,0 +1,56 @@ +/* Host-side test for which in-process launch refusals end launch_title + * (launch_refusal_is_final, payload/include/launch_route.h). + * + * The regression: on a Pro (FW 13.60) an installed fake package was refused + * with 0x80020016, the ladder went on to the ShellUI ptrace route, and + * SceShellUI restarted, taking ShadowMount+ down with it. A refusal the kernel + * or the launcher gives for the title itself must stop there; the cases the + * ShellUI route was written for must still reach it. */ +#include +#include + +#include "../include/launch_route.h" + +static int failures = 0; + +#define CHECK(expr) \ + do { \ + if (!(expr)) { \ + fprintf(stderr, "FAIL line %d: %s\n", __LINE__, #expr); \ + failures++; \ + } \ + } while (0) + +static int sce(uint32_t code) { return (int)code; } + +int main(void) { + /* THE INCIDENT: kernel EINVAL for a known title stops. */ + CHECK(launch_refusal_is_final(sce(0x80020016u)) == 1); + /* Any SCE kernel error does: the kernel answers the same to ShellUI. */ + CHECK(launch_refusal_is_final(sce(0x80020001u)) == 1); /* EPERM */ + CHECK(launch_refusal_is_final(sce(0x8002000Du)) == 1); /* EACCES */ + CHECK(launch_refusal_is_final(sce(0x80020002u)) == 1); /* ENOENT */ + CHECK(launch_refusal_is_final(sce(0x8002FFFFu)) == 1); + /* The homebrew/fake-package refusal: ShellUI dispatched and started nothing. */ + CHECK(launch_refusal_is_final(sce(0x80940033u)) == 1); + + /* Success: sceSystemServiceLaunchApp returns the new app id. */ + CHECK(launch_refusal_is_final(0) == 0); + CHECK(launch_refusal_is_final(0xe018) == 0); + /* Symbol absent on this firmware: the ShellUI route is the only one left. */ + CHECK(launch_refusal_is_final(-1) == 0); + /* Launcher codes that keep the ladder (transient or caller-specific). */ + CHECK(launch_refusal_is_final(sce(0x8094000Fu)) == 0); /* no fg user yet */ + CHECK(launch_refusal_is_final(sce(0x80940005u)) == 0); + CHECK(launch_refusal_is_final(sce(0x80940010u)) == 0); + CHECK(launch_refusal_is_final(sce(0x8094000Cu)) == 0); + CHECK(launch_refusal_is_final(sce(0x80940032u)) == 0); + CHECK(launch_refusal_is_final(sce(0x80940034u)) == 0); + /* Neighbouring namespaces are not kernel errors. */ + CHECK(launch_refusal_is_final(sce(0x80030016u)) == 0); + CHECK(launch_refusal_is_final(sce(0x80010016u)) == 0); + CHECK(launch_refusal_is_final(-2) == 0); + + printf("launch_route_selftest: %s\n", failures == 0 ? "ALL PASS" : "FAILED"); + return failures == 0 ? 0 : 1; +} diff --git a/scripts/i18n-known-missing.json b/scripts/i18n-known-missing.json index 0b3a02317..96d6d1d39 100644 --- a/scripts/i18n-known-missing.json +++ b/scripts/i18n-known-missing.json @@ -2,6 +2,7 @@ "ar": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -94,6 +95,7 @@ "bn": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -190,6 +192,7 @@ "de": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -288,6 +291,7 @@ "es": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -386,6 +390,7 @@ "fa": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -480,6 +485,7 @@ "fr": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -577,6 +583,7 @@ "hi": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -673,6 +680,7 @@ "hu": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -774,6 +782,7 @@ "id": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -877,6 +886,7 @@ "it": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -980,6 +990,7 @@ "ja": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1073,6 +1084,7 @@ "ko": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1168,6 +1180,7 @@ "pl": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1266,6 +1279,7 @@ "pt-BR": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1364,6 +1378,7 @@ "ru": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1461,6 +1476,7 @@ "th": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1558,6 +1574,7 @@ "tr": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1658,6 +1675,7 @@ "vi": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1757,6 +1775,7 @@ "zh-CN": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", @@ -1850,6 +1869,7 @@ "zh-TW": { "missing": [ "err_launch_not_in_database", + "err_launch_program_refused", "fpkg.aboutFake_v3", "installed_uninstall_confirm_choose", "installed_uninstall_delete_folder", diff --git a/scripts/i18n-source-hashes.json b/scripts/i18n-source-hashes.json index b2689c29f..33112f64e 100644 --- a/scripts/i18n-source-hashes.json +++ b/scripts/i18n-source-hashes.json @@ -3186,6 +3186,7 @@ "err_launch_no_user": "0c0edca9 AO6TKLwQEDN_Nu4JCaGjfvoG4jZVwYEjp3tNYop-2gw39sYVLC_u5sbp0JYi", "err_launch_not_in_database": "179fe2d8 ------------------------------------------------------------", "err_launch_not_registered": "589d1b57 -PyXj9vlj4nZZkjcdztW5O_tuE9a82akzfyF4sf2iY6n0TN8MYBy8WeB1jeW", + "err_launch_program_refused": "6385953a ------------------------------------------------------------", "err_launch_title_id_invalid": "9159905c Jo-srl8cbkSxC2j0jdFvbvAF_FsNsfD76gmHhEiT6TPlYsDMOU7k_UeILJAm", "err_launch_unknown": "95a0ad26 DC6oRrdYrX6aVSqIxP4eypa6vViEBNNXoM4tEqhq1r43cfADaBQWD3Ec-AtP", "err_link_changed": "6657b2cb _IdkN8ggh5GEC6YDpLd_63dgbSt00_ptORJJKHBezE82gD_ZaV2w26Jsk0aR", From 95b160209058bb3b305ebcaa0169b2f2450f8e2e Mon Sep 17 00:00:00 2001 From: phantomptr Date: Fri, 27 Nov 2026 01:47:37 -0800 Subject: [PATCH 22/23] 12.6.39 notes: launch refusals, content id, kstuff in the kernel Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f6a9a147..40f059ddd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,12 @@ What's new in ps5upload, written for humans. - **The Workshop says what it builds:** a fake PS5 package with a plaintext game image, the kind the latest kstuff (fake-package support up to 13.60) and Kraken Mount both take, with the two ways to play it side by side. a53_ppr is only mentioned for firmware up to 11.40, and a game installed with an older kstuff may need installing again. - **Converting a game in zstd packs to `.pkg` no longer warns that its ampr_emu.index is stale** when the only differences are the files the conversion itself rewrites. +**Starting games** +- **A game the PS5 refuses to start no longer restarts the PS5's menu.** After the console refused a launch outright (for example 0x80020016), the helper tried a second way in through the menu, which restarted it and could stop ShadowMount+. It now stops and says what the refusal means. +- **Packages built in the Workshop write their content id into their fake-signed programs**, as the current signing tool does; they were zeros before. + **Payloads** +- **kstuff that stays in the kernel is explained.** Newer kstuff builds don't keep a running program, so they never show as running and can't be stopped. When the PS5 reports kernel access but no kstuff program runs, the Payloads page and Send payload say kstuff is probably active, how to check, and that changing it needs a restart. - **Your saved Payload Manager payloads stay listed on On your PS5.** A failed second request could hide the list while the count still included it. ## 12.6.38 From 355dfc1a11b3f39aa867ac74082d38910be17806 Mon Sep 17 00:00:00 2001 From: phantomptr Date: Fri, 27 Nov 2026 02:00:10 -0800 Subject: [PATCH 23/23] Stream bar: the on-screen controller button sits by Full screen; FPKG note e2e text The keyboard and mouse button stays right before Game, as the bar's order is tested; the e2e for Upload & Install reads the 11.40 a53_ppr wording. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GtiJiJdHq1hekoZ6vizvVT --- client/e2e/upload-install.spec.ts | 2 +- client/src/screens/Play/StreamPanel.tsx | 30 ++++++++++++------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/client/e2e/upload-install.spec.ts b/client/e2e/upload-install.spec.ts index 3fc381309..1188bebe1 100644 --- a/client/e2e/upload-install.spec.ts +++ b/client/e2e/upload-install.spec.ts @@ -27,7 +27,7 @@ test("Upload & Install opens with the FPKG note and one drop zone", async ({ pag const mount = note.getByTestId("fpkg-way-mount"); await expect(install).toContainText("the latest kstuff (with fake-package support up to 13.60)"); await expect(install).toContainText("send the latest one with Send payload"); - await expect(install).toContainText("If the console refuses the install, also load a53_ppr_install_fast.elf"); + await expect(install).toContainText("Up to firmware 11.40, if the console refuses the install, also load a53_ppr_install_fast.elf"); await expect(mount).toContainText("Choose Copy as a file for the package here"); await expect(mount).toContainText("not PS4 or retail packages"); // Nothing says Kraken Mount runs here: the mocked engine reports no mounter. diff --git a/client/src/screens/Play/StreamPanel.tsx b/client/src/screens/Play/StreamPanel.tsx index 2c82f90cc..99895c007 100644 --- a/client/src/screens/Play/StreamPanel.tsx +++ b/client/src/screens/Play/StreamPanel.tsx @@ -1523,21 +1523,6 @@ export function StreamPanel({ )} {playing && } - {running && pictureHere && !pip && ( - setPrefs({ touchControls: touchFirst ? "off" : "on" })} - testId="rp-touch-toggle" - > - - - )} )} + {running && pictureHere && !pip && ( + setPrefs({ touchControls: touchFirst ? "off" : "on" })} + testId="rp-touch-toggle" + > + + + )}