Warning: Permanently added '100.27.18.210' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/9800465-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.6 PID: 8668 Logging PID: 8670 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 9800465, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': True, 'fedora_review': False, 'git_hash': '255c6866b3f2048c42371aeff361cd05da32bb9b', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/jackyzy823/myown/python-yt-dlp-ejs', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-yt-dlp-ejs', 'package_version': '0.3.1-1', 'project_dirname': 'myown', 'project_name': 'myown', 'project_owner': 'jackyzy823', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/jackyzy823/myown/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'jackyzy823/myown--jackyzy823', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': None, 'submitter': 'jackyzy823', 'tags': [], 'task_id': '9800465-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/jackyzy823/myown/python-yt-dlp-ejs /var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/jackyzy823/myown/python-yt-dlp-ejs', '/var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs'... Running: git checkout 255c6866b3f2048c42371aeff361cd05da32bb9b -- cmd: ['git', 'checkout', '255c6866b3f2048c42371aeff361cd05da32bb9b', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs rc: 0 stdout: stderr: Note: switching to '255c6866b3f2048c42371aeff361cd05da32bb9b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 255c686 automatic import of python-yt-dlp-ejs Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading astring-1.9.0.tgz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o astring-1.9.0.tgz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/jackyzy823/myown/python-yt-dlp-ejs/astring-1.9.0.tgz/md5/7888010870c6e613d0146aae74526f53/astring-1.9.0.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 60574 100 60574 0 0 5146k 0 --:--:-- --:--:-- --:--:-- 5377k INFO: Reading stdout from command: md5sum astring-1.9.0.tgz INFO: Downloading meriyah-6.1.4.tgz INFO: Calling: curl -H Pragma: -o meriyah-6.1.4.tgz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/jackyzy823/myown/python-yt-dlp-ejs/meriyah-6.1.4.tgz/md5/baf8a9f824079317cce872e30620b203/meriyah-6.1.4.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 271k 100 271k 0 0 20.3M 0 --:--:-- --:--:-- --:--:-- 22.0M INFO: Reading stdout from command: md5sum meriyah-6.1.4.tgz INFO: Calling: curl -H Pragma: -o yt_dlp_ejs-0.3.1.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/jackyzy823/myown/python-yt-dlp-ejs/yt_dlp_ejs-0.3.1.tar.gz/md5/7001eea74deef76530524aa29741186e/yt_dlp_ejs-0.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 33805 100 33805 0 0 3261k 0 --:--:-- --:--:-- --:--:-- 3301k INFO: Reading stdout from command: md5sum yt_dlp_ejs-0.3.1.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs/python-yt-dlp-ejs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1763196414.847165 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.5 starting (python version = 3.13.7, NVR = mock-6.5-1.fc42), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs/python-yt-dlp-ejs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1763196414.847165 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs/python-yt-dlp-ejs.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.5 INFO: Mock Version: 6.5 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1763196414.847165/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-9fe4d76b-55cd-43e5-a14e-bb071d6a0e48 INFO: Checking that 54f2a672cf2f3b8ab8b593c2177c9cec839ef55ac675f1e7ec3bcf4c2bfcfed5 image matches host's architecture INFO: Copy content of container 54f2a672cf2f3b8ab8b593c2177c9cec839ef55ac675f1e7ec3bcf4c2bfcfed5 to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1763196414.847165/root INFO: mounting 54f2a672cf2f3b8ab8b593c2177c9cec839ef55ac675f1e7ec3bcf4c2bfcfed5 with podman image mount INFO: image 54f2a672cf2f3b8ab8b593c2177c9cec839ef55ac675f1e7ec3bcf4c2bfcfed5 as /var/lib/containers/storage/overlay/908390c1421b57f74770f9511dc6aea2a8b14476e64eaacfb4435277b0bae926/merged INFO: umounting image 54f2a672cf2f3b8ab8b593c2177c9cec839ef55ac675f1e7ec3bcf4c2bfcfed5 (/var/lib/containers/storage/overlay/908390c1421b57f74770f9511dc6aea2a8b14476e64eaacfb4435277b0bae926/merged) with podman image umount INFO: Removing image mock-bootstrap-9fe4d76b-55cd-43e5-a14e-bb071d6a0e48 INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1763196414.847165/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.0.0-1.fc44.x86_64 rpm-sequoia-1.9.0-2.fc43.x86_64 dnf5-5.3.0.0-2.fc44.x86_64 dnf5-plugins-5.3.0.0-2.fc44.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 57.4 KiB/s | 13.3 KiB | 00m00s fedora 100% | 17.5 MiB/s | 21.8 MiB | 00m01s >>> Downloading successful, but checksum doesn't match. Calculated: d60016aca0a51a93bfe52f9a3a66986916d68df69eed34f21bf9c73653e113b7a185c3b1b74c6c7231bbd47d9c348024a6324816ede8f798a746c64ef965b3e5(sha512) d60016aca0a51a93bfe52f9a3a66986916d68df69eed34f21bf9c73653e113b7a185c3b1b74c6c7231bbd47d9c348024a6324816ede8f798a746c64ef965b3e5(sha512) d60016aca0a51a93bfe52f9a3a66986916d68df69eed34f21bf9c73653e113b7a185c3b1b74c6c7231bbd47d9c348024a6324816ede8f798a746c64ef965b3e5(sha512) d60016aca0a51a93bfe52f9a3a66986916d68df69eed34f21bf9c73653e113b7a185c3b1b74c6c7231bbd47d9c348024a6324816ede8f798a746c64ef965b3e5(sha512) Expected: ae88b7e0b76ed69a3a9b1c36ff8bb23a86ff266bc1bbd9a8f08de7d9dc938edd2b261ffa3a943487c7baedc79c7a059cda7e974ac32c889a88df94142869f139(sha512) 12e7af216a9abb6be0d6f60db962c8b582c4029c47b2ac3a273a4fef140df25c06fb13c595e6587ece610f234584a497bc573020f5569e504acc4ac824abe038(sha512) ba116fc4e102aedf896cada41a2879f3e8d3a43a85ac6bc71744800f7c8192060a9dbd4807dcdda909870562fb7fc0fba68d60a2a46d3853189c9ec61ced538c(sha512) 2438fe8d38d55364a2f5f22c92cbc164548c24a37a69f46f07f01909a3a3449237d162a4ccec1e63d0f5bb3fa21da956209edf0925f38df43485b3160af091af(sha512) - https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/repomd.xml >>> Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/15692919e6801b42acf502e21417bf1fa572612b8b9efa54f9d65f8b99675571-primary.xml.zck (IP: 54.230.21.23) - https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/15692919e6801b42acf502e21417bf1fa572612b8b9efa54f9d65f8b99675571-primary.xml.zck >>> Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/868627aab954d55407b0339b96a8c75a54b05818b2b6d4ff26f1a0f761a5e9dd-comps-Everything.x86_64.xml.zst (IP: 54.230.21.23) - https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/868627aab954d55407b0339b96a8c75a54b05818b2b6d4ff26f1a0f761a5e9dd-comps-Everything.x86_64.xml.zst Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 0:5.3.0-2.fc43 fedora 8.4 MiB bzip2 x86_64 0:1.0.8-21.fc43 fedora 95.3 KiB coreutils x86_64 0:9.8-3.fc44 fedora 5.4 MiB cpio x86_64 0:2.15-6.fc43 fedora 1.1 MiB diffutils x86_64 0:3.12-3.fc43 fedora 1.6 MiB fedora-release-common noarch 0:44-0.5 fedora 20.6 KiB findutils x86_64 1:4.10.0-6.fc43 fedora 1.8 MiB gawk x86_64 0:5.3.2-2.fc43 fedora 1.8 MiB glibc-minimal-langpack x86_64 0:2.42.9000-10.fc44 fedora 0.0 B grep x86_64 0:3.12-2.fc43 fedora 1.0 MiB gzip x86_64 0:1.14-1.fc44 fedora 397.8 KiB info x86_64 0:7.2-6.fc43 fedora 353.9 KiB patch x86_64 0:2.8-2.fc43 fedora 222.8 KiB redhat-rpm-config noarch 0:343-14.fc44 fedora 183.3 KiB rpm-build x86_64 0:6.0.0-1.fc44 fedora 287.4 KiB sed x86_64 0:4.9-6.fc44 fedora 857.3 KiB shadow-utils x86_64 2:4.18.0-3.fc43 fedora 3.9 MiB tar x86_64 2:1.35-6.fc43 fedora 2.9 MiB unzip x86_64 0:6.0-68.fc44 fedora 390.3 KiB util-linux x86_64 0:2.41.2-7.fc44 fedora 3.5 MiB which x86_64 0:2.23-3.fc43 fedora 83.5 KiB xz x86_64 1:5.8.1-2.fc43 fedora 1.3 MiB Installing dependencies: add-determinism x86_64 0:0.7.2-2.fc44 fedora 2.3 MiB alternatives x86_64 0:1.33-3.fc44 fedora 62.2 KiB ansible-srpm-macros noarch 0:1-18.1.fc43 fedora 35.7 KiB audit-libs x86_64 0:4.1.2-2.fc44 fedora 378.8 KiB binutils x86_64 0:2.45.50-8.fc44 fedora 27.0 MiB build-reproducibility-srpm-macros noarch 0:0.7.2-2.fc44 fedora 1.2 KiB bzip2-libs x86_64 0:1.0.8-21.fc43 fedora 80.6 KiB ca-certificates noarch 0:2025.2.80_v9.0.304-2.fc44 fedora 2.7 MiB coreutils-common x86_64 0:9.8-3.fc44 fedora 11.1 MiB crypto-policies noarch 0:20250714-5.gitcd6043a.fc44 fedora 146.9 KiB curl x86_64 0:8.17.0-2.fc44 fedora 462.2 KiB cyrus-sasl-lib x86_64 0:2.1.28-33.fc44 fedora 2.3 MiB debugedit x86_64 0:5.2-3.fc44 fedora 214.0 KiB dwz x86_64 0:0.16-2.fc43 fedora 287.1 KiB ed x86_64 0:1.22.2-1.fc44 fedora 148.1 KiB efi-srpm-macros noarch 0:6-5.fc44 fedora 40.2 KiB elfutils x86_64 0:0.194-1.fc44 fedora 2.9 MiB elfutils-debuginfod-client x86_64 0:0.194-1.fc44 fedora 84.0 KiB elfutils-default-yama-scope noarch 0:0.194-1.fc44 fedora 1.8 KiB elfutils-libelf x86_64 0:0.194-1.fc44 fedora 1.1 MiB elfutils-libs x86_64 0:0.194-1.fc44 fedora 687.5 KiB fedora-gpg-keys noarch 0:44-0.1 fedora 131.2 KiB fedora-release noarch 0:44-0.5 fedora 0.0 B fedora-release-identity-basic noarch 0:44-0.5 fedora 664.0 B fedora-repos noarch 0:44-0.1 fedora 4.9 KiB fedora-repos-rawhide noarch 0:44-0.1 fedora 2.2 KiB file x86_64 0:5.46-8.fc44 fedora 100.2 KiB file-libs x86_64 0:5.46-8.fc44 fedora 11.9 MiB filesystem x86_64 0:3.18-50.fc43 fedora 112.0 B filesystem-srpm-macros noarch 0:3.18-50.fc43 fedora 38.2 KiB fonts-srpm-macros noarch 1:5.0.0-1.fc44 fedora 55.8 KiB forge-srpm-macros noarch 0:0.4.0-3.fc43 fedora 38.9 KiB fpc-srpm-macros noarch 0:1.3-15.fc43 fedora 144.0 B gap-srpm-macros noarch 0:2-1.fc44 fedora 2.1 KiB gdb-minimal x86_64 0:16.3-6.fc44 fedora 13.3 MiB gdbm-libs x86_64 1:1.23-10.fc43 fedora 129.9 KiB ghc-srpm-macros noarch 0:1.9.2-3.fc43 fedora 779.0 B glibc x86_64 0:2.42.9000-10.fc44 fedora 6.8 MiB glibc-common x86_64 0:2.42.9000-10.fc44 fedora 1.0 MiB glibc-gconv-extra x86_64 0:2.42.9000-10.fc44 fedora 7.2 MiB gmp x86_64 1:6.3.0-4.fc44 fedora 815.3 KiB gnat-srpm-macros noarch 0:6-8.fc43 fedora 1.0 KiB gnulib-l10n noarch 0:20241231-1.fc44 fedora 655.0 KiB gnupg2 x86_64 0:2.4.8-4.fc43 fedora 6.5 MiB gnupg2-dirmngr x86_64 0:2.4.8-4.fc43 fedora 618.4 KiB gnupg2-gpg-agent x86_64 0:2.4.8-4.fc43 fedora 671.4 KiB gnupg2-gpgconf x86_64 0:2.4.8-4.fc43 fedora 250.0 KiB gnupg2-keyboxd x86_64 0:2.4.8-4.fc43 fedora 201.4 KiB gnupg2-verify x86_64 0:2.4.8-4.fc43 fedora 348.5 KiB gnutls x86_64 0:3.8.10-5.fc44 fedora 3.8 MiB go-srpm-macros noarch 0:3.8.0-1.fc44 fedora 61.9 KiB gpgverify noarch 0:2.2-3.fc43 fedora 8.7 KiB ima-evm-utils-libs x86_64 0:1.6.2-7.fc44 fedora 60.7 KiB jansson x86_64 0:2.14-3.fc43 fedora 89.1 KiB java-srpm-macros noarch 0:1-7.fc43 fedora 870.0 B json-c x86_64 0:0.18-7.fc43 fedora 82.7 KiB kernel-srpm-macros noarch 0:1.0-27.fc43 fedora 1.9 KiB keyutils-libs x86_64 0:1.6.3-6.fc43 fedora 54.3 KiB krb5-libs x86_64 0:1.21.3-10.fc44 fedora 2.3 MiB libacl x86_64 0:2.3.2-4.fc43 fedora 35.9 KiB libarchive x86_64 0:3.8.2-1.fc44 fedora 955.2 KiB libassuan x86_64 0:2.5.7-4.fc43 fedora 163.8 KiB libattr x86_64 0:2.5.2-6.fc43 fedora 24.4 KiB libblkid x86_64 0:2.41.2-7.fc44 fedora 262.4 KiB libbrotli x86_64 0:1.1.0-10.fc44 fedora 833.3 KiB libcap x86_64 0:2.77-1.fc44 fedora 209.1 KiB libcap-ng x86_64 0:0.8.5-8.fc44 fedora 68.9 KiB libcom_err x86_64 0:1.47.3-3.fc44 fedora 63.1 KiB libcurl x86_64 0:8.17.0-2.fc44 fedora 927.3 KiB libeconf x86_64 0:0.7.9-2.fc43 fedora 64.9 KiB libevent x86_64 0:2.1.12-16.fc43 fedora 883.1 KiB libfdisk x86_64 0:2.41.2-7.fc44 fedora 380.4 KiB libffi x86_64 0:3.5.2-1.fc44 fedora 83.8 KiB libfsverity x86_64 0:1.6-3.fc43 fedora 28.5 KiB libgcc x86_64 0:15.2.1-4.fc44 fedora 266.6 KiB libgcrypt x86_64 0:1.11.2-1.fc44 fedora 1.6 MiB libgomp x86_64 0:15.2.1-4.fc44 fedora 541.6 KiB libgpg-error x86_64 0:1.56-1.fc44 fedora 916.6 KiB libidn2 x86_64 0:2.3.8-2.fc43 fedora 552.5 KiB libksba x86_64 0:1.6.7-4.fc43 fedora 398.5 KiB liblastlog2 x86_64 0:2.41.2-7.fc44 fedora 33.9 KiB libmount x86_64 0:2.41.2-7.fc44 fedora 372.7 KiB libnghttp2 x86_64 0:1.68.0-1.fc44 fedora 162.2 KiB libpkgconf x86_64 0:2.3.0-3.fc43 fedora 78.1 KiB libpsl x86_64 0:0.21.5-6.fc43 fedora 76.4 KiB libselinux x86_64 0:3.9-5.fc44 fedora 193.1 KiB libselinux-utils x86_64 0:3.9-5.fc44 fedora 309.0 KiB libsemanage x86_64 0:3.9-4.fc44 fedora 308.5 KiB libsepol x86_64 0:3.9-2.fc43 fedora 822.0 KiB libsmartcols x86_64 0:2.41.2-7.fc44 fedora 180.5 KiB libssh x86_64 0:0.11.3-1.fc44 fedora 567.1 KiB libssh-config noarch 0:0.11.3-1.fc44 fedora 277.0 B libstdc++ x86_64 0:15.2.1-4.fc44 fedora 2.8 MiB libtasn1 x86_64 0:4.20.0-2.fc43 fedora 176.3 KiB libtool-ltdl x86_64 0:2.5.4-7.fc43 fedora 70.1 KiB libunistring x86_64 0:1.1-10.fc43 fedora 1.7 MiB libusb1 x86_64 0:1.0.29-4.fc44 fedora 171.3 KiB libuuid x86_64 0:2.41.2-7.fc44 fedora 37.3 KiB libverto x86_64 0:0.3.2-11.fc43 fedora 25.4 KiB libxcrypt x86_64 0:4.5.2-1.fc44 fedora 285.3 KiB libxml2 x86_64 0:2.12.10-5.fc44 fedora 1.7 MiB libzstd x86_64 0:1.5.7-3.fc44 fedora 940.3 KiB linkdupes x86_64 0:0.7.2-2.fc44 fedora 838.7 KiB lua-libs x86_64 0:5.4.8-3.fc44 fedora 280.8 KiB lua-srpm-macros noarch 0:1-16.fc43 fedora 1.3 KiB lz4-libs x86_64 0:1.10.0-3.fc43 fedora 161.4 KiB mpfr x86_64 0:4.2.2-2.fc43 fedora 832.8 KiB ncurses-base noarch 0:6.5-7.20250614.fc43 fedora 328.1 KiB ncurses-libs x86_64 0:6.5-7.20250614.fc43 fedora 946.3 KiB nettle x86_64 0:3.10.1-2.fc43 fedora 790.6 KiB npth x86_64 0:1.8-3.fc43 fedora 49.6 KiB ocaml-srpm-macros noarch 0:11-2.fc43 fedora 1.9 KiB openblas-srpm-macros noarch 0:2-20.fc43 fedora 112.0 B openldap x86_64 0:2.6.10-4.fc44 fedora 659.8 KiB openssl-libs x86_64 1:3.5.4-1.fc44 fedora 8.9 MiB p11-kit x86_64 0:0.25.8-1.fc44 fedora 2.3 MiB p11-kit-trust x86_64 0:0.25.8-1.fc44 fedora 446.5 KiB package-notes-srpm-macros noarch 0:0.5-14.fc43 fedora 1.6 KiB pam-libs x86_64 0:1.7.1-3.fc43 fedora 126.8 KiB pcre2 x86_64 0:10.47-1.fc44 fedora 702.6 KiB pcre2-syntax noarch 0:10.47-1.fc44 fedora 281.9 KiB perl-srpm-macros noarch 0:1-60.fc43 fedora 861.0 B pkgconf x86_64 0:2.3.0-3.fc43 fedora 88.5 KiB pkgconf-m4 noarch 0:2.3.0-3.fc43 fedora 14.4 KiB pkgconf-pkg-config x86_64 0:2.3.0-3.fc43 fedora 989.0 B policycoreutils x86_64 0:3.9-5.fc44 fedora 683.5 KiB popt x86_64 0:1.19-9.fc43 fedora 132.8 KiB publicsuffix-list-dafsa noarch 0:20250616-2.fc43 fedora 69.1 KiB pyproject-srpm-macros noarch 0:1.18.5-1.fc44 fedora 1.9 KiB python-srpm-macros noarch 0:3.14-9.fc44 fedora 51.6 KiB qt5-srpm-macros noarch 0:5.15.18-1.fc44 fedora 500.0 B qt6-srpm-macros noarch 0:6.10.0-1.fc44 fedora 464.0 B readline x86_64 0:8.3-2.fc43 fedora 511.7 KiB rpm x86_64 0:6.0.0-1.fc44 fedora 3.1 MiB rpm-build-libs x86_64 0:6.0.0-1.fc44 fedora 268.4 KiB rpm-libs x86_64 0:6.0.0-1.fc44 fedora 933.8 KiB rpm-plugin-selinux x86_64 0:6.0.0-1.fc44 fedora 12.0 KiB rpm-sequoia x86_64 0:1.9.0-2.fc43 fedora 2.5 MiB rpm-sign-libs x86_64 0:6.0.0-1.fc44 fedora 39.7 KiB rust-srpm-macros noarch 0:26.4-1.fc44 fedora 4.8 KiB selinux-policy noarch 0:42.15-1.fc44 fedora 32.0 KiB selinux-policy-targeted noarch 0:42.15-1.fc44 fedora 18.7 MiB setup noarch 0:2.15.0-27.fc44 fedora 724.9 KiB sqlite-libs x86_64 0:3.51.0-1.fc44 fedora 1.5 MiB systemd-libs x86_64 0:258.2-1.fc44 fedora 2.3 MiB systemd-standalone-sysusers x86_64 0:258.2-1.fc44 fedora 293.5 KiB tpm2-tss x86_64 0:4.1.3-8.fc43 fedora 1.6 MiB tree-sitter-srpm-macros noarch 0:0.4.2-1.fc43 fedora 8.3 KiB util-linux-core x86_64 0:2.41.2-7.fc44 fedora 1.5 MiB xxhash-libs x86_64 0:0.8.3-3.fc43 fedora 90.2 KiB xz-libs x86_64 1:5.8.1-2.fc43 fedora 217.8 KiB zig-srpm-macros noarch 0:1-5.fc43 fedora 1.1 KiB zip x86_64 0:3.0-44.fc43 fedora 694.5 KiB zlib-ng-compat x86_64 0:2.2.5-2.fc44 fedora 137.6 KiB zstd x86_64 0:1.5.7-3.fc44 fedora 506.2 KiB Installing groups: Buildsystem building group Transaction Summary: Installing: 177 packages Total size of inbound packages is 67 MiB. Need to download 67 MiB. After this operation, 219 MiB extra will be used (install 219 MiB, remove 0 B). [ 1/177] bzip2-0:1.0.8-21.fc43.x86_64 100% | 3.9 MiB/s | 51.6 KiB | 00m00s [ 2/177] bash-0:5.3.0-2.fc43.x86_64 100% | 98.4 MiB/s | 1.9 MiB | 00m00s [ 3/177] cpio-0:2.15-6.fc43.x86_64 100% | 40.9 MiB/s | 293.1 KiB | 00m00s [ 4/177] coreutils-0:9.8-3.fc44.x86_64 100% | 52.2 MiB/s | 1.1 MiB | 00m00s [ 5/177] fedora-release-common-0:44-0. 100% | 24.1 MiB/s | 24.7 KiB | 00m00s [ 6/177] diffutils-0:3.12-3.fc43.x86_6 100% | 95.8 MiB/s | 392.3 KiB | 00m00s [ 7/177] glibc-minimal-langpack-0:2.42 100% | 19.1 MiB/s | 58.7 KiB | 00m00s [ 8/177] findutils-1:4.10.0-6.fc43.x86 100% | 107.4 MiB/s | 550.0 KiB | 00m00s [ 9/177] grep-0:3.12-2.fc43.x86_64 100% | 73.0 MiB/s | 299.1 KiB | 00m00s [ 10/177] gzip-0:1.14-1.fc44.x86_64 100% | 43.4 MiB/s | 177.7 KiB | 00m00s [ 11/177] info-0:7.2-6.fc43.x86_64 100% | 59.5 MiB/s | 182.9 KiB | 00m00s [ 12/177] patch-0:2.8-2.fc43.x86_64 100% | 37.0 MiB/s | 113.8 KiB | 00m00s [ 13/177] redhat-rpm-config-0:343-14.fc 100% | 25.8 MiB/s | 79.2 KiB | 00m00s [ 14/177] rpm-build-0:6.0.0-1.fc44.x86_ 100% | 33.7 MiB/s | 138.0 KiB | 00m00s [ 15/177] sed-0:4.9-6.fc44.x86_64 100% | 77.4 MiB/s | 317.1 KiB | 00m00s [ 16/177] unzip-0:6.0-68.fc44.x86_64 100% | 36.1 MiB/s | 184.6 KiB | 00m00s [ 17/177] shadow-utils-2:4.18.0-3.fc43. 100% | 128.3 MiB/s | 1.3 MiB | 00m00s [ 18/177] tar-2:1.35-6.fc43.x86_64 100% | 92.9 MiB/s | 856.4 KiB | 00m00s [ 19/177] which-0:2.23-3.fc43.x86_64 100% | 20.4 MiB/s | 41.7 KiB | 00m00s [ 20/177] xz-1:5.8.1-2.fc43.x86_64 100% | 139.8 MiB/s | 572.5 KiB | 00m00s [ 21/177] gawk-0:5.3.2-2.fc43.x86_64 100% | 160.7 MiB/s | 1.1 MiB | 00m00s [ 22/177] util-linux-0:2.41.2-7.fc44.x8 100% | 119.3 MiB/s | 1.2 MiB | 00m00s [ 23/177] filesystem-0:3.18-50.fc43.x86 100% | 121.2 MiB/s | 1.3 MiB | 00m00s [ 24/177] ncurses-libs-0:6.5-7.20250614 100% | 65.0 MiB/s | 332.7 KiB | 00m00s [ 25/177] bzip2-libs-0:1.0.8-21.fc43.x8 100% | 14.0 MiB/s | 43.1 KiB | 00m00s [ 26/177] glibc-0:2.42.9000-10.fc44.x86 100% | 176.6 MiB/s | 2.3 MiB | 00m00s [ 27/177] gmp-1:6.3.0-4.fc44.x86_64 100% | 78.0 MiB/s | 319.3 KiB | 00m00s [ 28/177] libacl-0:2.3.2-4.fc43.x86_64 100% | 7.9 MiB/s | 24.3 KiB | 00m00s [ 29/177] libattr-0:2.5.2-6.fc43.x86_64 100% | 5.8 MiB/s | 17.9 KiB | 00m00s [ 30/177] coreutils-common-0:9.8-3.fc44 100% | 161.1 MiB/s | 2.1 MiB | 00m00s [ 31/177] libcap-0:2.77-1.fc44.x86_64 100% | 17.0 MiB/s | 87.1 KiB | 00m00s [ 32/177] libselinux-0:3.9-5.fc44.x86_6 100% | 23.9 MiB/s | 97.8 KiB | 00m00s [ 33/177] fedora-repos-0:44-0.1.noarch 100% | 4.4 MiB/s | 9.1 KiB | 00m00s [ 34/177] systemd-libs-0:258.2-1.fc44.x 100% | 133.2 MiB/s | 818.4 KiB | 00m00s [ 35/177] glibc-common-0:2.42.9000-10.f 100% | 56.3 MiB/s | 345.7 KiB | 00m00s [ 36/177] openssl-libs-1:3.5.4-1.fc44.x 100% | 163.6 MiB/s | 2.6 MiB | 00m00s [ 37/177] pcre2-0:10.47-1.fc44.x86_64 100% | 29.0 MiB/s | 267.2 KiB | 00m00s [ 38/177] ed-0:1.22.2-1.fc44.x86_64 100% | 11.7 MiB/s | 83.7 KiB | 00m00s [ 39/177] build-reproducibility-srpm-ma 100% | 6.3 MiB/s | 12.9 KiB | 00m00s [ 40/177] ansible-srpm-macros-0:1-18.1. 100% | 6.5 MiB/s | 19.9 KiB | 00m00s [ 41/177] dwz-0:0.16-2.fc43.x86_64 100% | 66.2 MiB/s | 135.5 KiB | 00m00s [ 42/177] efi-srpm-macros-0:6-5.fc44.no 100% | 11.0 MiB/s | 22.5 KiB | 00m00s [ 43/177] file-0:5.46-8.fc44.x86_64 100% | 23.8 MiB/s | 48.8 KiB | 00m00s [ 44/177] filesystem-srpm-macros-0:3.18 100% | 12.9 MiB/s | 26.4 KiB | 00m00s [ 45/177] fonts-srpm-macros-1:5.0.0-1.f 100% | 13.3 MiB/s | 27.3 KiB | 00m00s [ 46/177] forge-srpm-macros-0:0.4.0-3.f 100% | 9.8 MiB/s | 20.1 KiB | 00m00s [ 47/177] fpc-srpm-macros-0:1.3-15.fc43 100% | 3.9 MiB/s | 7.9 KiB | 00m00s [ 48/177] gap-srpm-macros-0:2-1.fc44.no 100% | 2.9 MiB/s | 9.1 KiB | 00m00s [ 49/177] ghc-srpm-macros-0:1.9.2-3.fc4 100% | 2.8 MiB/s | 8.7 KiB | 00m00s [ 50/177] gnat-srpm-macros-0:6-8.fc43.n 100% | 2.8 MiB/s | 8.5 KiB | 00m00s [ 51/177] kernel-srpm-macros-0:1.0-27.f 100% | 4.4 MiB/s | 8.9 KiB | 00m00s [ 52/177] go-srpm-macros-0:3.8.0-1.fc44 100% | 13.8 MiB/s | 28.3 KiB | 00m00s [ 53/177] java-srpm-macros-0:1-7.fc43.n 100% | 2.6 MiB/s | 7.9 KiB | 00m00s [ 54/177] lua-srpm-macros-0:1-16.fc43.n 100% | 2.9 MiB/s | 8.8 KiB | 00m00s [ 55/177] ocaml-srpm-macros-0:11-2.fc43 100% | 3.0 MiB/s | 9.3 KiB | 00m00s [ 56/177] openblas-srpm-macros-0:2-20.f 100% | 2.5 MiB/s | 7.6 KiB | 00m00s [ 57/177] package-notes-srpm-macros-0:0 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [ 58/177] perl-srpm-macros-0:1-60.fc43. 100% | 4.0 MiB/s | 8.3 KiB | 00m00s [ 59/177] pyproject-srpm-macros-0:1.18. 100% | 12.9 MiB/s | 13.2 KiB | 00m00s [ 60/177] qt5-srpm-macros-0:5.15.18-1.f 100% | 8.4 MiB/s | 8.6 KiB | 00m00s [ 61/177] qt6-srpm-macros-0:6.10.0-1.fc 100% | 9.1 MiB/s | 9.4 KiB | 00m00s [ 62/177] python-srpm-macros-0:3.14-9.f 100% | 11.6 MiB/s | 23.8 KiB | 00m00s [ 63/177] rust-srpm-macros-0:26.4-1.fc4 100% | 10.9 MiB/s | 11.2 KiB | 00m00s [ 64/177] tree-sitter-srpm-macros-0:0.4 100% | 13.0 MiB/s | 13.4 KiB | 00m00s [ 65/177] rpm-0:6.0.0-1.fc44.x86_64 100% | 187.7 MiB/s | 576.6 KiB | 00m00s [ 66/177] zig-srpm-macros-0:1-5.fc43.no 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [ 67/177] zip-0:3.0-44.fc43.x86_64 100% | 85.1 MiB/s | 261.6 KiB | 00m00s [ 68/177] debugedit-0:5.2-3.fc44.x86_64 100% | 41.8 MiB/s | 85.6 KiB | 00m00s [ 69/177] elfutils-0:0.194-1.fc44.x86_6 100% | 140.6 MiB/s | 575.8 KiB | 00m00s [ 70/177] elfutils-libelf-0:0.194-1.fc4 100% | 40.1 MiB/s | 205.3 KiB | 00m00s [ 71/177] libarchive-0:3.8.2-1.fc44.x86 100% | 58.9 MiB/s | 422.2 KiB | 00m00s [ 72/177] libgcc-0:15.2.1-4.fc44.x86_64 100% | 18.7 MiB/s | 134.1 KiB | 00m00s [ 73/177] popt-0:1.19-9.fc43.x86_64 100% | 21.4 MiB/s | 65.7 KiB | 00m00s [ 74/177] libstdc++-0:15.2.1-4.fc44.x86 100% | 90.0 MiB/s | 921.3 KiB | 00m00s [ 75/177] readline-0:8.3-2.fc43.x86_64 100% | 43.9 MiB/s | 224.6 KiB | 00m00s [ 76/177] rpm-build-libs-0:6.0.0-1.fc44 100% | 25.0 MiB/s | 127.9 KiB | 00m00s [ 77/177] rpm-libs-0:6.0.0-1.fc44.x86_6 100% | 97.8 MiB/s | 400.5 KiB | 00m00s [ 78/177] zstd-0:1.5.7-3.fc44.x86_64 100% | 46.3 MiB/s | 189.5 KiB | 00m00s [ 79/177] audit-libs-0:4.1.2-2.fc44.x86 100% | 33.8 MiB/s | 138.4 KiB | 00m00s [ 80/177] libeconf-0:0.7.9-2.fc43.x86_6 100% | 11.5 MiB/s | 35.2 KiB | 00m00s [ 81/177] libsemanage-0:3.9-4.fc44.x86_ 100% | 30.2 MiB/s | 123.5 KiB | 00m00s [ 82/177] libxcrypt-0:4.5.2-1.fc44.x86_ 100% | 31.3 MiB/s | 128.1 KiB | 00m00s [ 83/177] pam-libs-0:1.7.1-3.fc43.x86_6 100% | 18.7 MiB/s | 57.5 KiB | 00m00s [ 84/177] setup-0:2.15.0-27.fc44.noarch 100% | 76.9 MiB/s | 157.4 KiB | 00m00s [ 85/177] xz-libs-1:5.8.1-2.fc43.x86_64 100% | 55.1 MiB/s | 112.9 KiB | 00m00s [ 86/177] mpfr-0:4.2.2-2.fc43.x86_64 100% | 112.9 MiB/s | 347.0 KiB | 00m00s [ 87/177] libblkid-0:2.41.2-7.fc44.x86_ 100% | 60.2 MiB/s | 123.2 KiB | 00m00s [ 88/177] libcap-ng-0:0.8.5-8.fc44.x86_ 100% | 15.7 MiB/s | 32.2 KiB | 00m00s [ 89/177] libfdisk-0:2.41.2-7.fc44.x86_ 100% | 79.1 MiB/s | 162.0 KiB | 00m00s [ 90/177] liblastlog2-0:2.41.2-7.fc44.x 100% | 11.4 MiB/s | 23.3 KiB | 00m00s [ 91/177] libmount-0:2.41.2-7.fc44.x86_ 100% | 39.7 MiB/s | 162.7 KiB | 00m00s [ 92/177] libsmartcols-0:2.41.2-7.fc44. 100% | 41.1 MiB/s | 84.1 KiB | 00m00s [ 93/177] libuuid-0:2.41.2-7.fc44.x86_6 100% | 12.9 MiB/s | 26.3 KiB | 00m00s [ 94/177] util-linux-core-0:2.41.2-7.fc 100% | 76.8 MiB/s | 550.8 KiB | 00m00s [ 95/177] zlib-ng-compat-0:2.2.5-2.fc44 100% | 11.1 MiB/s | 79.2 KiB | 00m00s [ 96/177] glibc-gconv-extra-0:2.42.9000 100% | 160.3 MiB/s | 1.6 MiB | 00m00s [ 97/177] ncurses-base-0:6.5-7.20250614 100% | 17.2 MiB/s | 88.2 KiB | 00m00s [ 98/177] gnulib-l10n-0:20241231-1.fc44 100% | 29.3 MiB/s | 150.2 KiB | 00m00s [ 99/177] libsepol-0:3.9-2.fc43.x86_64 100% | 84.3 MiB/s | 345.4 KiB | 00m00s [100/177] crypto-policies-0:20250714-5. 100% | 24.0 MiB/s | 98.5 KiB | 00m00s [101/177] ca-certificates-0:2025.2.80_v 100% | 118.9 MiB/s | 973.8 KiB | 00m00s [102/177] fedora-repos-rawhide-0:44-0.1 100% | 4.2 MiB/s | 8.6 KiB | 00m00s [103/177] fedora-gpg-keys-0:44-0.1.noar 100% | 27.1 MiB/s | 138.8 KiB | 00m00s [104/177] pcre2-syntax-0:10.47-1.fc44.n 100% | 80.4 MiB/s | 164.7 KiB | 00m00s [105/177] linkdupes-0:0.7.2-2.fc44.x86_ 100% | 116.0 MiB/s | 356.3 KiB | 00m00s [106/177] add-determinism-0:0.7.2-2.fc4 100% | 173.4 MiB/s | 887.6 KiB | 00m00s [107/177] file-libs-0:5.46-8.fc44.x86_6 100% | 138.3 MiB/s | 849.9 KiB | 00m00s [108/177] elfutils-libs-0:0.194-1.fc44. 100% | 66.3 MiB/s | 271.6 KiB | 00m00s [109/177] elfutils-debuginfod-client-0: 100% | 45.8 MiB/s | 46.9 KiB | 00m00s [110/177] libzstd-0:1.5.7-3.fc44.x86_64 100% | 116.9 MiB/s | 359.1 KiB | 00m00s [111/177] libxml2-0:2.12.10-5.fc44.x86_ 100% | 169.1 MiB/s | 692.7 KiB | 00m00s [112/177] lz4-libs-0:1.10.0-3.fc43.x86_ 100% | 25.4 MiB/s | 78.0 KiB | 00m00s [113/177] lua-libs-0:5.4.8-3.fc44.x86_6 100% | 42.9 MiB/s | 131.9 KiB | 00m00s [114/177] libgomp-0:15.2.1-4.fc44.x86_6 100% | 61.0 MiB/s | 374.5 KiB | 00m00s [115/177] rpm-sign-libs-0:6.0.0-1.fc44. 100% | 13.8 MiB/s | 28.2 KiB | 00m00s [116/177] rpm-sequoia-0:1.9.0-2.fc43.x8 100% | 151.9 MiB/s | 933.3 KiB | 00m00s [117/177] sqlite-libs-0:3.51.0-1.fc44.x 100% | 124.8 MiB/s | 766.5 KiB | 00m00s [118/177] elfutils-default-yama-scope-0 100% | 12.1 MiB/s | 12.4 KiB | 00m00s [119/177] json-c-0:0.18-7.fc43.x86_64 100% | 43.9 MiB/s | 45.0 KiB | 00m00s [120/177] ima-evm-utils-libs-0:1.6.2-7. 100% | 14.4 MiB/s | 29.4 KiB | 00m00s [121/177] gnupg2-0:2.4.8-4.fc43.x86_64 100% | 234.9 MiB/s | 1.6 MiB | 00m00s [122/177] libfsverity-0:1.6-3.fc43.x86_ 100% | 4.5 MiB/s | 18.6 KiB | 00m00s [123/177] gpgverify-0:2.2-3.fc43.noarch 100% | 10.8 MiB/s | 11.1 KiB | 00m00s [124/177] gnupg2-dirmngr-0:2.4.8-4.fc43 100% | 134.1 MiB/s | 274.6 KiB | 00m00s [125/177] gnupg2-gpg-agent-0:2.4.8-4.fc 100% | 133.2 MiB/s | 272.9 KiB | 00m00s [126/177] gnupg2-gpgconf-0:2.4.8-4.fc43 100% | 37.4 MiB/s | 115.0 KiB | 00m00s [127/177] gnupg2-keyboxd-0:2.4.8-4.fc43 100% | 30.8 MiB/s | 94.7 KiB | 00m00s [128/177] libassuan-0:2.5.7-4.fc43.x86_ 100% | 32.9 MiB/s | 67.4 KiB | 00m00s [129/177] gnupg2-verify-0:2.4.8-4.fc43. 100% | 27.9 MiB/s | 171.2 KiB | 00m00s [130/177] libgcrypt-0:1.11.2-1.fc44.x86 100% | 116.4 MiB/s | 596.1 KiB | 00m00s [131/177] libgpg-error-0:1.56-1.fc44.x8 100% | 60.0 MiB/s | 245.7 KiB | 00m00s [132/177] npth-0:1.8-3.fc43.x86_64 100% | 8.4 MiB/s | 25.7 KiB | 00m00s [133/177] tpm2-tss-0:4.1.3-8.fc43.x86_6 100% | 104.0 MiB/s | 425.9 KiB | 00m00s [134/177] libksba-0:1.6.7-4.fc43.x86_64 100% | 14.2 MiB/s | 160.4 KiB | 00m00s [135/177] gnutls-0:3.8.10-5.fc44.x86_64 100% | 93.6 MiB/s | 1.4 MiB | 00m00s [136/177] openldap-0:2.6.10-4.fc44.x86_ 100% | 63.3 MiB/s | 259.5 KiB | 00m00s [137/177] libusb1-0:1.0.29-4.fc44.x86_6 100% | 26.0 MiB/s | 79.9 KiB | 00m00s [138/177] libidn2-0:2.3.8-2.fc43.x86_64 100% | 85.4 MiB/s | 174.9 KiB | 00m00s [139/177] libtasn1-0:4.20.0-2.fc43.x86_ 100% | 36.4 MiB/s | 74.5 KiB | 00m00s [140/177] libunistring-0:1.1-10.fc43.x8 100% | 176.7 MiB/s | 542.9 KiB | 00m00s [141/177] nettle-0:3.10.1-2.fc43.x86_64 100% | 138.1 MiB/s | 424.2 KiB | 00m00s [142/177] p11-kit-0:0.25.8-1.fc44.x86_6 100% | 124.5 MiB/s | 510.0 KiB | 00m00s [143/177] cyrus-sasl-lib-0:2.1.28-33.fc 100% | 129.6 MiB/s | 796.5 KiB | 00m00s [144/177] libevent-0:2.1.12-16.fc43.x86 100% | 50.3 MiB/s | 257.8 KiB | 00m00s [145/177] libtool-ltdl-0:2.5.4-7.fc43.x 100% | 11.8 MiB/s | 36.2 KiB | 00m00s [146/177] libffi-0:3.5.2-1.fc44.x86_64 100% | 20.0 MiB/s | 41.1 KiB | 00m00s [147/177] gdbm-libs-1:1.23-10.fc43.x86_ 100% | 18.5 MiB/s | 56.8 KiB | 00m00s [148/177] alternatives-0:1.33-3.fc44.x8 100% | 13.3 MiB/s | 40.8 KiB | 00m00s [149/177] jansson-0:2.14-3.fc43.x86_64 100% | 22.1 MiB/s | 45.3 KiB | 00m00s [150/177] pkgconf-pkg-config-0:2.3.0-3. 100% | 4.7 MiB/s | 9.6 KiB | 00m00s [151/177] binutils-0:2.45.50-8.fc44.x86 100% | 295.0 MiB/s | 5.9 MiB | 00m00s [152/177] pkgconf-0:2.3.0-3.fc43.x86_64 100% | 4.4 MiB/s | 44.6 KiB | 00m00s [153/177] pkgconf-m4-0:2.3.0-3.fc43.noa 100% | 6.8 MiB/s | 13.9 KiB | 00m00s [154/177] libpkgconf-0:2.3.0-3.fc43.x86 100% | 18.5 MiB/s | 37.9 KiB | 00m00s [155/177] fedora-release-0:44-0.5.noarc 100% | 6.6 MiB/s | 13.6 KiB | 00m00s [156/177] p11-kit-trust-0:0.25.8-1.fc44 100% | 45.5 MiB/s | 139.7 KiB | 00m00s [157/177] systemd-standalone-sysusers-0 100% | 45.9 MiB/s | 141.1 KiB | 00m00s [158/177] xxhash-libs-0:0.8.3-3.fc43.x8 100% | 18.8 MiB/s | 38.5 KiB | 00m00s [159/177] fedora-release-identity-basic 100% | 7.0 MiB/s | 14.3 KiB | 00m00s [160/177] gdb-minimal-0:16.3-6.fc44.x86 100% | 259.2 MiB/s | 4.4 MiB | 00m00s [161/177] krb5-libs-0:1.21.3-10.fc44.x8 100% | 185.8 MiB/s | 761.1 KiB | 00m00s [162/177] libbrotli-0:1.1.0-10.fc44.x86 100% | 82.8 MiB/s | 339.1 KiB | 00m00s [163/177] libnghttp2-0:1.68.0-1.fc44.x8 100% | 35.5 MiB/s | 72.8 KiB | 00m00s [164/177] libpsl-0:0.21.5-6.fc43.x86_64 100% | 21.1 MiB/s | 65.0 KiB | 00m00s [165/177] libssh-0:0.11.3-1.fc44.x86_64 100% | 113.7 MiB/s | 232.8 KiB | 00m00s [166/177] keyutils-libs-0:1.6.3-6.fc43. 100% | 30.6 MiB/s | 31.4 KiB | 00m00s [167/177] libcom_err-0:1.47.3-3.fc44.x8 100% | 8.8 MiB/s | 26.9 KiB | 00m00s [168/177] libverto-0:0.3.2-11.fc43.x86_ 100% | 20.2 MiB/s | 20.7 KiB | 00m00s [169/177] publicsuffix-list-dafsa-0:202 100% | 28.9 MiB/s | 59.2 KiB | 00m00s [170/177] libssh-config-0:0.11.3-1.fc44 100% | 8.9 MiB/s | 9.1 KiB | 00m00s [171/177] selinux-policy-targeted-0:42. 100% | 283.1 MiB/s | 6.8 MiB | 00m00s [172/177] policycoreutils-0:3.9-5.fc44. 100% | 52.4 MiB/s | 214.6 KiB | 00m00s [173/177] selinux-policy-0:42.15-1.fc44 100% | 31.0 MiB/s | 63.4 KiB | 00m00s [174/177] libselinux-utils-0:3.9-5.fc44 100% | 38.8 MiB/s | 119.3 KiB | 00m00s [175/177] rpm-plugin-selinux-0:6.0.0-1. 100% | 9.5 MiB/s | 19.5 KiB | 00m00s [176/177] curl-0:8.17.0-2.fc44.x86_64 100% | 883.3 KiB/s | 232.3 KiB | 00m00s >>> Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/c/curl-8.17.0-2.fc44.x86_64.rpm (IP: 54.230.21.6) - https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/c/curl-8.17.0-2.fc44.x86_64.rpm [177/177] libcurl-0:8.17.0-2.fc44.x86_6 100% | 1.4 MiB/s | 412.4 KiB | 00m00s >>> Status code: 404 for https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/libcurl-8.17.0-2.fc44.x86_64.rpm (IP: 54.230.21.6) - https://d2lzkl7pfhq30w.cloudfront.net/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/l/libcurl-8.17.0-2.fc44.x86_64.rpm -------------------------------------------------------------------------------- [177/177] Total 100% | 108.7 MiB/s | 66.6 MiB | 00m01s Running transaction Importing OpenPGP key 0x6D9F90A6: UserID : "Fedora (44) " Fingerprint: 36F612DCF27F7D1A48A835E4DBFCF71C6D9F90A6 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-44-primary The key was successfully imported. Importing OpenPGP key 0x6D9F90A6: UserID : "Fedora (44) " Fingerprint: 36F612DCF27F7D1A48A835E4DBFCF71C6D9F90A6 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-44-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. Importing OpenPGP key 0xF577861E: UserID : "Fedora (45) " Fingerprint: 4F50A6114CD5C6976A7F1179655A4B02F577861E From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-45-primary The key was successfully imported. [ 1/179] Verify package files 100% | 673.0 B/s | 177.0 B | 00m00s [ 2/179] Prepare transaction 100% | 3.3 KiB/s | 177.0 B | 00m00s [ 3/179] Installing libgcc-0:15.2.1-4. 100% | 262.0 MiB/s | 268.3 KiB | 00m00s [ 4/179] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/179] Installing publicsuffix-list- 100% | 0.0 B/s | 69.8 KiB | 00m00s [ 6/179] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 7/179] Installing fedora-gpg-keys-0: 100% | 43.7 MiB/s | 179.0 KiB | 00m00s [ 8/179] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 9/179] Installing fedora-repos-0:44- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/179] Installing fedora-release-com 100% | 24.3 MiB/s | 24.9 KiB | 00m00s [ 11/179] Installing fedora-release-0:4 100% | 17.3 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-27.fc44.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-27.fc44.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 12/179] Installing setup-0:2.15.0-27. 100% | 51.0 MiB/s | 730.6 KiB | 00m00s [ 13/179] Installing filesystem-0:3.18- 100% | 2.8 MiB/s | 212.8 KiB | 00m00s [ 14/179] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 15/179] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 16/179] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 17/179] Installing coreutils-common-0 100% | 399.1 MiB/s | 11.2 MiB | 00m00s [ 18/179] Installing ncurses-base-0:6.5 100% | 86.3 MiB/s | 353.5 KiB | 00m00s [ 19/179] Installing bash-0:5.3.0-2.fc4 100% | 271.9 MiB/s | 8.4 MiB | 00m00s [ 20/179] Installing glibc-common-0:2.4 100% | 60.1 MiB/s | 1.0 MiB | 00m00s [ 21/179] Installing glibc-gconv-extra- 100% | 292.6 MiB/s | 7.3 MiB | 00m00s [ 22/179] Installing glibc-0:2.42.9000- 100% | 189.5 MiB/s | 6.8 MiB | 00m00s [ 23/179] Installing ncurses-libs-0:6.5 100% | 232.6 MiB/s | 952.8 KiB | 00m00s [ 24/179] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 25/179] Installing zlib-ng-compat-0:2 100% | 135.2 MiB/s | 138.4 KiB | 00m00s [ 26/179] Installing bzip2-libs-0:1.0.8 100% | 79.8 MiB/s | 81.7 KiB | 00m00s [ 27/179] Installing libgpg-error-0:1.5 100% | 60.1 MiB/s | 922.5 KiB | 00m00s [ 28/179] Installing libstdc++-0:15.2.1 100% | 406.3 MiB/s | 2.8 MiB | 00m00s [ 29/179] Installing libassuan-0:2.5.7- 100% | 161.7 MiB/s | 165.6 KiB | 00m00s [ 30/179] Installing libgcrypt-0:1.11.2 100% | 394.0 MiB/s | 1.6 MiB | 00m00s [ 31/179] Installing readline-0:8.3-2.f 100% | 250.9 MiB/s | 513.9 KiB | 00m00s [ 32/179] Installing gmp-1:6.3.0-4.fc44 100% | 399.2 MiB/s | 817.5 KiB | 00m00s [ 33/179] Installing xz-libs-1:5.8.1-2. 100% | 213.8 MiB/s | 218.9 KiB | 00m00s [ 34/179] Installing libuuid-0:2.41.2-7 100% | 0.0 B/s | 38.5 KiB | 00m00s [ 35/179] Installing popt-0:1.19-9.fc43 100% | 68.1 MiB/s | 139.4 KiB | 00m00s [ 36/179] Installing libzstd-0:1.5.7-3. 100% | 306.5 MiB/s | 941.6 KiB | 00m00s [ 37/179] Installing elfutils-libelf-0: 100% | 373.7 MiB/s | 1.1 MiB | 00m00s [ 38/179] Installing npth-0:1.8-3.fc43. 100% | 0.0 B/s | 50.7 KiB | 00m00s [ 39/179] Installing libblkid-0:2.41.2- 100% | 257.4 MiB/s | 263.5 KiB | 00m00s [ 40/179] Installing libxcrypt-0:4.5.2- 100% | 281.3 MiB/s | 288.0 KiB | 00m00s [ 41/179] Installing libsepol-0:3.9-2.f 100% | 401.8 MiB/s | 822.9 KiB | 00m00s [ 42/179] Installing sqlite-libs-0:3.51 100% | 383.0 MiB/s | 1.5 MiB | 00m00s [ 43/179] Installing gnupg2-gpgconf-0:2 100% | 18.9 MiB/s | 252.0 KiB | 00m00s [ 44/179] Installing libattr-0:2.5.2-6. 100% | 0.0 B/s | 25.4 KiB | 00m00s [ 45/179] Installing libacl-0:2.3.2-4.f 100% | 0.0 B/s | 36.8 KiB | 00m00s [ 46/179] Installing pcre2-0:10.47-1.fc 100% | 343.8 MiB/s | 704.1 KiB | 00m00s [ 47/179] Installing libselinux-0:3.9-5 100% | 189.8 MiB/s | 194.4 KiB | 00m00s [ 48/179] Installing grep-0:3.12-2.fc43 100% | 62.7 MiB/s | 1.0 MiB | 00m00s [ 49/179] Installing sed-0:4.9-6.fc44.x 100% | 56.3 MiB/s | 865.5 KiB | 00m00s [ 50/179] Installing findutils-1:4.10.0 100% | 109.3 MiB/s | 1.9 MiB | 00m00s [ 51/179] Installing libtasn1-0:4.20.0- 100% | 173.9 MiB/s | 178.1 KiB | 00m00s [ 52/179] Installing libunistring-0:1.1 100% | 345.3 MiB/s | 1.7 MiB | 00m00s [ 53/179] Installing libidn2-0:2.3.8-2. 100% | 60.6 MiB/s | 558.7 KiB | 00m00s [ 54/179] Installing crypto-policies-0: 100% | 33.6 MiB/s | 172.0 KiB | 00m00s [ 55/179] Installing xz-1:5.8.1-2.fc43. 100% | 74.0 MiB/s | 1.3 MiB | 00m00s [ 56/179] Installing libmount-0:2.41.2- 100% | 365.0 MiB/s | 373.8 KiB | 00m00s [ 57/179] Installing gnupg2-verify-0:2. 100% | 26.3 MiB/s | 349.9 KiB | 00m00s [ 58/179] Installing dwz-0:0.16-2.fc43. 100% | 23.5 MiB/s | 288.5 KiB | 00m00s [ 59/179] Installing mpfr-0:4.2.2-2.fc4 100% | 271.6 MiB/s | 834.4 KiB | 00m00s [ 60/179] Installing gawk-0:5.3.2-2.fc4 100% | 100.9 MiB/s | 1.8 MiB | 00m00s [ 61/179] Installing libksba-0:1.6.7-4. 100% | 195.8 MiB/s | 401.1 KiB | 00m00s [ 62/179] Installing unzip-0:6.0-68.fc4 100% | 29.6 MiB/s | 393.8 KiB | 00m00s [ 63/179] Installing file-libs-0:5.46-8 100% | 658.7 MiB/s | 11.9 MiB | 00m00s [ 64/179] Installing file-0:5.46-8.fc44 100% | 8.3 MiB/s | 101.7 KiB | 00m00s [ 65/179] Installing diffutils-0:3.12-3 100% | 97.6 MiB/s | 1.6 MiB | 00m00s [ 66/179] Installing libeconf-0:0.7.9-2 100% | 65.0 MiB/s | 66.5 KiB | 00m00s [ 67/179] Installing libcap-ng-0:0.8.5- 100% | 69.2 MiB/s | 70.8 KiB | 00m00s [ 68/179] Installing audit-libs-0:4.1.2 100% | 186.3 MiB/s | 381.5 KiB | 00m00s [ 69/179] Installing pam-libs-0:1.7.1-3 100% | 126.0 MiB/s | 129.0 KiB | 00m00s [ 70/179] Installing libcap-0:2.77-1.fc 100% | 16.1 MiB/s | 214.3 KiB | 00m00s [ 71/179] Installing systemd-libs-0:258 100% | 333.8 MiB/s | 2.3 MiB | 00m00s [ 72/179] Installing libsemanage-0:3.9- 100% | 303.0 MiB/s | 310.2 KiB | 00m00s [ 73/179] Installing libsmartcols-0:2.4 100% | 177.3 MiB/s | 181.6 KiB | 00m00s [ 74/179] Installing lua-libs-0:5.4.8-3 100% | 275.4 MiB/s | 282.0 KiB | 00m00s [ 75/179] Installing json-c-0:0.18-7.fc 100% | 82.0 MiB/s | 84.0 KiB | 00m00s [ 76/179] Installing libffi-0:3.5.2-1.f 100% | 83.2 MiB/s | 85.2 KiB | 00m00s [ 77/179] Installing p11-kit-0:0.25.8-1 100% | 120.5 MiB/s | 2.3 MiB | 00m00s [ 78/179] Installing alternatives-0:1.3 100% | 5.2 MiB/s | 63.8 KiB | 00m00s [ 79/179] Installing p11-kit-trust-0:0. 100% | 21.9 MiB/s | 448.3 KiB | 00m00s [ 80/179] Installing openssl-libs-1:3.5 100% | 371.3 MiB/s | 8.9 MiB | 00m00s [ 81/179] Installing coreutils-0:9.8-3. 100% | 165.9 MiB/s | 5.5 MiB | 00m00s [ 82/179] Installing ca-certificates-0: 100% | 2.1 MiB/s | 2.5 MiB | 00m01s [ 83/179] Installing gzip-0:1.14-1.fc44 100% | 26.3 MiB/s | 403.3 KiB | 00m00s [ 84/179] Installing rpm-sequoia-0:1.9. 100% | 354.1 MiB/s | 2.5 MiB | 00m00s [ 85/179] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 29.5 KiB | 00m00s [ 86/179] Installing libevent-0:2.1.12- 100% | 288.7 MiB/s | 886.8 KiB | 00m00s [ 87/179] Installing util-linux-core-0: 100% | 82.2 MiB/s | 1.5 MiB | 00m00s [ 88/179] Installing libusb1-0:1.0.29-4 100% | 21.1 MiB/s | 172.9 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-8.fc43.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-8.fc43.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [ 89/179] Installing tpm2-tss-0:4.1.3-8 100% | 262.0 MiB/s | 1.6 MiB | 00m00s [ 90/179] Installing ima-evm-utils-libs 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [ 91/179] Installing gnupg2-gpg-agent-0 100% | 31.4 MiB/s | 675.4 KiB | 00m00s [ 92/179] Installing systemd-standalone 100% | 22.1 MiB/s | 294.1 KiB | 00m00s [ 93/179] Installing rpm-libs-0:6.0.0-1 100% | 304.5 MiB/s | 935.3 KiB | 00m00s [ 94/179] Installing zip-0:3.0-44.fc43. 100% | 48.7 MiB/s | 698.4 KiB | 00m00s [ 95/179] Installing gnupg2-keyboxd-0:2 100% | 33.0 MiB/s | 202.7 KiB | 00m00s [ 96/179] Installing libpsl-0:0.21.5-6. 100% | 75.7 MiB/s | 77.5 KiB | 00m00s [ 97/179] Installing tar-2:1.35-6.fc43. 100% | 140.9 MiB/s | 3.0 MiB | 00m00s [ 98/179] Installing linkdupes-0:0.7.2- 100% | 58.6 MiB/s | 840.1 KiB | 00m00s [ 99/179] Installing libselinux-utils-0 100% | 22.6 MiB/s | 323.4 KiB | 00m00s [100/179] Installing liblastlog2-0:2.41 100% | 7.0 MiB/s | 35.9 KiB | 00m00s [101/179] Installing libfdisk-0:2.41.2- 100% | 124.2 MiB/s | 381.6 KiB | 00m00s [102/179] Installing util-linux-0:2.41. 100% | 102.1 MiB/s | 3.6 MiB | 00m00s [103/179] Installing policycoreutils-0: 100% | 27.8 MiB/s | 711.8 KiB | 00m00s [104/179] Installing selinux-policy-0:4 100% | 1.6 MiB/s | 33.6 KiB | 00m00s [105/179] Installing selinux-policy-tar 100% | 193.6 MiB/s | 14.9 MiB | 00m00s [106/179] Installing zstd-0:1.5.7-3.fc4 100% | 31.1 MiB/s | 509.8 KiB | 00m00s [107/179] Installing libxml2-0:2.12.10- 100% | 100.3 MiB/s | 1.7 MiB | 00m00s [108/179] Installing nettle-0:3.10.1-2. 100% | 258.4 MiB/s | 793.7 KiB | 00m00s [109/179] Installing gnutls-0:3.8.10-5. 100% | 384.3 MiB/s | 3.8 MiB | 00m00s [110/179] Installing bzip2-0:1.0.8-21.f 100% | 7.5 MiB/s | 99.8 KiB | 00m00s [111/179] Installing add-determinism-0: 100% | 135.6 MiB/s | 2.3 MiB | 00m00s [112/179] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [113/179] Installing cpio-0:2.15-6.fc43 100% | 73.3 MiB/s | 1.1 MiB | 00m00s [114/179] Installing ed-0:1.22.2-1.fc44 100% | 11.3 MiB/s | 150.4 KiB | 00m00s [115/179] Installing patch-0:2.8-2.fc43 100% | 16.9 MiB/s | 224.3 KiB | 00m00s [116/179] Installing lz4-libs-0:1.10.0- 100% | 158.6 MiB/s | 162.5 KiB | 00m00s [117/179] Installing libarchive-0:3.8.2 100% | 311.6 MiB/s | 957.2 KiB | 00m00s [118/179] Installing libgomp-0:15.2.1-4 100% | 265.1 MiB/s | 543.0 KiB | 00m00s [119/179] Installing libtool-ltdl-0:2.5 100% | 69.6 MiB/s | 71.2 KiB | 00m00s [120/179] Installing gdbm-libs-1:1.23-1 100% | 128.5 MiB/s | 131.6 KiB | 00m00s [121/179] Installing cyrus-sasl-lib-0:2 100% | 127.8 MiB/s | 2.3 MiB | 00m00s [122/179] Installing openldap-0:2.6.10- 100% | 216.0 MiB/s | 663.6 KiB | 00m00s [123/179] Installing gnupg2-dirmngr-0:2 100% | 30.3 MiB/s | 621.1 KiB | 00m00s [124/179] Installing gnupg2-0:2.4.8-4.f 100% | 225.9 MiB/s | 6.6 MiB | 00m00s [125/179] Installing rpm-sign-libs-0:6. 100% | 39.6 MiB/s | 40.6 KiB | 00m00s [126/179] Installing gpgverify-0:2.2-3. 100% | 0.0 B/s | 9.4 KiB | 00m00s [127/179] Installing jansson-0:2.14-3.f 100% | 88.3 MiB/s | 90.5 KiB | 00m00s [128/179] Installing libpkgconf-0:2.3.0 100% | 77.4 MiB/s | 79.2 KiB | 00m00s [129/179] Installing pkgconf-0:2.3.0-3. 100% | 7.4 MiB/s | 91.0 KiB | 00m00s [130/179] Installing pkgconf-pkg-config 100% | 147.8 KiB/s | 1.8 KiB | 00m00s [131/179] Installing xxhash-libs-0:0.8. 100% | 89.4 MiB/s | 91.6 KiB | 00m00s [132/179] Installing libbrotli-0:1.1.0- 100% | 272.0 MiB/s | 835.6 KiB | 00m00s [133/179] Installing libnghttp2-0:1.68. 100% | 159.5 MiB/s | 163.4 KiB | 00m00s [134/179] Installing keyutils-libs-0:1. 100% | 54.4 MiB/s | 55.7 KiB | 00m00s [135/179] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.2 KiB | 00m00s [136/179] Installing libverto-0:0.3.2-1 100% | 26.6 MiB/s | 27.2 KiB | 00m00s [137/179] Installing krb5-libs-0:1.21.3 100% | 287.5 MiB/s | 2.3 MiB | 00m00s [138/179] Installing libssh-0:0.11.3-1. 100% | 277.9 MiB/s | 569.2 KiB | 00m00s [139/179] Installing libcurl-0:8.17.0-2 100% | 302.2 MiB/s | 928.4 KiB | 00m00s [140/179] Installing curl-0:8.17.0-2.fc 100% | 20.6 MiB/s | 464.7 KiB | 00m00s [141/179] Installing rpm-0:6.0.0-1.fc44 100% | 80.5 MiB/s | 2.6 MiB | 00m00s [142/179] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [143/179] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [144/179] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [145/179] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.3 KiB | 00m00s [146/179] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [147/179] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [148/179] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s [149/179] Installing elfutils-libs-0:0. 100% | 224.4 MiB/s | 689.3 KiB | 00m00s [150/179] Installing elfutils-debuginfo 100% | 6.0 MiB/s | 86.3 KiB | 00m00s [151/179] Installing elfutils-0:0.194-1 100% | 154.2 MiB/s | 2.9 MiB | 00m00s [152/179] Installing binutils-0:2.45.50 100% | 334.4 MiB/s | 27.1 MiB | 00m00s [153/179] Installing gdb-minimal-0:16.3 100% | 282.0 MiB/s | 13.3 MiB | 00m00s [154/179] Installing debugedit-0:5.2-3. 100% | 16.3 MiB/s | 217.3 KiB | 00m00s [155/179] Installing rpm-build-libs-0:6 100% | 262.9 MiB/s | 269.2 KiB | 00m00s [156/179] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [157/179] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 740.0 B | 00m00s [158/179] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [159/179] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [160/179] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [161/179] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [162/179] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [163/179] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [164/179] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [165/179] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [166/179] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [167/179] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [168/179] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [169/179] Installing redhat-rpm-config- 100% | 92.5 MiB/s | 189.5 KiB | 00m00s [170/179] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [171/179] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [172/179] Installing go-srpm-macros-0:3 100% | 61.6 MiB/s | 63.0 KiB | 00m00s [173/179] Installing rpm-build-0:6.0.0- 100% | 20.7 MiB/s | 296.5 KiB | 00m00s [174/179] Installing pyproject-srpm-mac 100% | 623.0 KiB/s | 2.5 KiB | 00m00s [175/179] Installing python-srpm-macros 100% | 0.0 B/s | 52.9 KiB | 00m00s [176/179] Installing rpm-plugin-selinux 100% | 0.0 B/s | 13.0 KiB | 00m00s [177/179] Installing which-0:2.23-3.fc4 100% | 6.0 MiB/s | 85.7 KiB | 00m00s [178/179] Installing shadow-utils-2:4.1 100% | 141.8 MiB/s | 4.0 MiB | 00m00s [179/179] Installing info-0:7.2-6.fc43. 100% | 49.5 KiB/s | 354.3 KiB | 00m07s Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.7.2-2.fc44.x86_64 alternatives-1.33-3.fc44.x86_64 ansible-srpm-macros-1-18.1.fc43.noarch audit-libs-4.1.2-2.fc44.x86_64 bash-5.3.0-2.fc43.x86_64 binutils-2.45.50-8.fc44.x86_64 build-reproducibility-srpm-macros-0.7.2-2.fc44.noarch bzip2-1.0.8-21.fc43.x86_64 bzip2-libs-1.0.8-21.fc43.x86_64 ca-certificates-2025.2.80_v9.0.304-2.fc44.noarch coreutils-9.8-3.fc44.x86_64 coreutils-common-9.8-3.fc44.x86_64 cpio-2.15-6.fc43.x86_64 crypto-policies-20250714-5.gitcd6043a.fc44.noarch curl-8.17.0-2.fc44.x86_64 cyrus-sasl-lib-2.1.28-33.fc44.x86_64 debugedit-5.2-3.fc44.x86_64 diffutils-3.12-3.fc43.x86_64 dwz-0.16-2.fc43.x86_64 ed-1.22.2-1.fc44.x86_64 efi-srpm-macros-6-5.fc44.noarch elfutils-0.194-1.fc44.x86_64 elfutils-debuginfod-client-0.194-1.fc44.x86_64 elfutils-default-yama-scope-0.194-1.fc44.noarch elfutils-libelf-0.194-1.fc44.x86_64 elfutils-libs-0.194-1.fc44.x86_64 fedora-gpg-keys-44-0.1.noarch fedora-release-44-0.5.noarch fedora-release-common-44-0.5.noarch fedora-release-identity-basic-44-0.5.noarch fedora-repos-44-0.1.noarch fedora-repos-rawhide-44-0.1.noarch file-5.46-8.fc44.x86_64 file-libs-5.46-8.fc44.x86_64 filesystem-3.18-50.fc43.x86_64 filesystem-srpm-macros-3.18-50.fc43.noarch findutils-4.10.0-6.fc43.x86_64 fonts-srpm-macros-5.0.0-1.fc44.noarch forge-srpm-macros-0.4.0-3.fc43.noarch fpc-srpm-macros-1.3-15.fc43.noarch gap-srpm-macros-2-1.fc44.noarch gawk-5.3.2-2.fc43.x86_64 gdb-minimal-16.3-6.fc44.x86_64 gdbm-libs-1.23-10.fc43.x86_64 ghc-srpm-macros-1.9.2-3.fc43.noarch glibc-2.42.9000-10.fc44.x86_64 glibc-common-2.42.9000-10.fc44.x86_64 glibc-gconv-extra-2.42.9000-10.fc44.x86_64 glibc-minimal-langpack-2.42.9000-10.fc44.x86_64 gmp-6.3.0-4.fc44.x86_64 gnat-srpm-macros-6-8.fc43.noarch gnulib-l10n-20241231-1.fc44.noarch gnupg2-2.4.8-4.fc43.x86_64 gnupg2-dirmngr-2.4.8-4.fc43.x86_64 gnupg2-gpg-agent-2.4.8-4.fc43.x86_64 gnupg2-gpgconf-2.4.8-4.fc43.x86_64 gnupg2-keyboxd-2.4.8-4.fc43.x86_64 gnupg2-verify-2.4.8-4.fc43.x86_64 gnutls-3.8.10-5.fc44.x86_64 go-srpm-macros-3.8.0-1.fc44.noarch gpg-pubkey-36f612dcf27f7d1a48a835e4dbfcf71c6d9f90a6-6786af3b gpg-pubkey-4f50a6114cd5c6976a7f1179655a4b02f577861e-6888bc98 gpg-pubkey-c6e7f081cf80e13146676e88829b606631645531-66b6dccf gpgverify-2.2-3.fc43.noarch grep-3.12-2.fc43.x86_64 gzip-1.14-1.fc44.x86_64 ima-evm-utils-libs-1.6.2-7.fc44.x86_64 info-7.2-6.fc43.x86_64 jansson-2.14-3.fc43.x86_64 java-srpm-macros-1-7.fc43.noarch json-c-0.18-7.fc43.x86_64 kernel-srpm-macros-1.0-27.fc43.noarch keyutils-libs-1.6.3-6.fc43.x86_64 krb5-libs-1.21.3-10.fc44.x86_64 libacl-2.3.2-4.fc43.x86_64 libarchive-3.8.2-1.fc44.x86_64 libassuan-2.5.7-4.fc43.x86_64 libattr-2.5.2-6.fc43.x86_64 libblkid-2.41.2-7.fc44.x86_64 libbrotli-1.1.0-10.fc44.x86_64 libcap-2.77-1.fc44.x86_64 libcap-ng-0.8.5-8.fc44.x86_64 libcom_err-1.47.3-3.fc44.x86_64 libcurl-8.17.0-2.fc44.x86_64 libeconf-0.7.9-2.fc43.x86_64 libevent-2.1.12-16.fc43.x86_64 libfdisk-2.41.2-7.fc44.x86_64 libffi-3.5.2-1.fc44.x86_64 libfsverity-1.6-3.fc43.x86_64 libgcc-15.2.1-4.fc44.x86_64 libgcrypt-1.11.2-1.fc44.x86_64 libgomp-15.2.1-4.fc44.x86_64 libgpg-error-1.56-1.fc44.x86_64 libidn2-2.3.8-2.fc43.x86_64 libksba-1.6.7-4.fc43.x86_64 liblastlog2-2.41.2-7.fc44.x86_64 libmount-2.41.2-7.fc44.x86_64 libnghttp2-1.68.0-1.fc44.x86_64 libpkgconf-2.3.0-3.fc43.x86_64 libpsl-0.21.5-6.fc43.x86_64 libselinux-3.9-5.fc44.x86_64 libselinux-utils-3.9-5.fc44.x86_64 libsemanage-3.9-4.fc44.x86_64 libsepol-3.9-2.fc43.x86_64 libsmartcols-2.41.2-7.fc44.x86_64 libssh-0.11.3-1.fc44.x86_64 libssh-config-0.11.3-1.fc44.noarch libstdc++-15.2.1-4.fc44.x86_64 libtasn1-4.20.0-2.fc43.x86_64 libtool-ltdl-2.5.4-7.fc43.x86_64 libunistring-1.1-10.fc43.x86_64 libusb1-1.0.29-4.fc44.x86_64 libuuid-2.41.2-7.fc44.x86_64 libverto-0.3.2-11.fc43.x86_64 libxcrypt-4.5.2-1.fc44.x86_64 libxml2-2.12.10-5.fc44.x86_64 libzstd-1.5.7-3.fc44.x86_64 linkdupes-0.7.2-2.fc44.x86_64 lua-libs-5.4.8-3.fc44.x86_64 lua-srpm-macros-1-16.fc43.noarch lz4-libs-1.10.0-3.fc43.x86_64 mpfr-4.2.2-2.fc43.x86_64 ncurses-base-6.5-7.20250614.fc43.noarch ncurses-libs-6.5-7.20250614.fc43.x86_64 nettle-3.10.1-2.fc43.x86_64 npth-1.8-3.fc43.x86_64 ocaml-srpm-macros-11-2.fc43.noarch openblas-srpm-macros-2-20.fc43.noarch openldap-2.6.10-4.fc44.x86_64 openssl-libs-3.5.4-1.fc44.x86_64 p11-kit-0.25.8-1.fc44.x86_64 p11-kit-trust-0.25.8-1.fc44.x86_64 package-notes-srpm-macros-0.5-14.fc43.noarch pam-libs-1.7.1-3.fc43.x86_64 patch-2.8-2.fc43.x86_64 pcre2-10.47-1.fc44.x86_64 pcre2-syntax-10.47-1.fc44.noarch perl-srpm-macros-1-60.fc43.noarch pkgconf-2.3.0-3.fc43.x86_64 pkgconf-m4-2.3.0-3.fc43.noarch pkgconf-pkg-config-2.3.0-3.fc43.x86_64 policycoreutils-3.9-5.fc44.x86_64 popt-1.19-9.fc43.x86_64 publicsuffix-list-dafsa-20250616-2.fc43.noarch pyproject-srpm-macros-1.18.5-1.fc44.noarch python-srpm-macros-3.14-9.fc44.noarch qt5-srpm-macros-5.15.18-1.fc44.noarch qt6-srpm-macros-6.10.0-1.fc44.noarch readline-8.3-2.fc43.x86_64 redhat-rpm-config-343-14.fc44.noarch rpm-6.0.0-1.fc44.x86_64 rpm-build-6.0.0-1.fc44.x86_64 rpm-build-libs-6.0.0-1.fc44.x86_64 rpm-libs-6.0.0-1.fc44.x86_64 rpm-plugin-selinux-6.0.0-1.fc44.x86_64 rpm-sequoia-1.9.0-2.fc43.x86_64 rpm-sign-libs-6.0.0-1.fc44.x86_64 rust-srpm-macros-26.4-1.fc44.noarch sed-4.9-6.fc44.x86_64 selinux-policy-42.15-1.fc44.noarch selinux-policy-targeted-42.15-1.fc44.noarch setup-2.15.0-27.fc44.noarch shadow-utils-4.18.0-3.fc43.x86_64 sqlite-libs-3.51.0-1.fc44.x86_64 systemd-libs-258.2-1.fc44.x86_64 systemd-standalone-sysusers-258.2-1.fc44.x86_64 tar-1.35-6.fc43.x86_64 tpm2-tss-4.1.3-8.fc43.x86_64 tree-sitter-srpm-macros-0.4.2-1.fc43.noarch unzip-6.0-68.fc44.x86_64 util-linux-2.41.2-7.fc44.x86_64 util-linux-core-2.41.2-7.fc44.x86_64 which-2.23-3.fc43.x86_64 xxhash-libs-0.8.3-3.fc43.x86_64 xz-5.8.1-2.fc43.x86_64 xz-libs-5.8.1-2.fc43.x86_64 zig-srpm-macros-1-5.fc43.noarch zip-3.0-44.fc43.x86_64 zlib-ng-compat-2.2.5-2.fc44.x86_64 zstd-1.5.7-3.fc44.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1763164800 Wrote: /builddir/build/SRPMS/python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1763196414.847165/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-u6ihxwtk/python-yt-dlp-ejs/python-yt-dlp-ejs.spec) Config(child) 0 minutes 24 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1763196414.847165/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1763196414.847165/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1763196414.847165/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.0.0-1.fc44.x86_64 rpm-sequoia-1.9.0-2.fc43.x86_64 dnf5-5.3.0.0-2.fc44.x86_64 dnf5-plugins-5.3.0.0-2.fc44.x86_64 Finish: chroot init Start: build phase for python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Start: build setup for python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1763164800 Wrote: /builddir/build/SRPMS/python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Updating and loading repositories: Copr repository 100% | 140.3 KiB/s | 1.8 KiB | 00m00s fedora 100% | 108.6 KiB/s | 30.2 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: golang-github-evanw-esbuild x86_64 0:0.24.2-6.fc44 fedora 10.7 MiB nodejs24-devel x86_64 1:24.9.0-1.fc44 fedora 1.3 MiB python3-devel x86_64 0:3.14.0-2.fc44 fedora 1.9 MiB Installing dependencies: brotli x86_64 0:1.1.0-10.fc44 fedora 31.6 KiB brotli-devel x86_64 0:1.1.0-10.fc44 fedora 65.6 KiB c-ares x86_64 0:1.34.5-2.fc43 fedora 269.1 KiB cmake-filesystem x86_64 0:3.31.6-4.fc43 fedora 0.0 B expat x86_64 0:2.7.2-1.fc44 fedora 298.6 KiB libuv x86_64 1:1.51.0-2.fc43 fedora 570.2 KiB libuv-devel x86_64 1:1.51.0-2.fc43 fedora 192.5 KiB libuv-static x86_64 1:1.51.0-2.fc43 fedora 2.1 MiB mpdecimal x86_64 0:4.0.1-2.fc43 fedora 217.2 KiB nodejs-packaging noarch 0:2023.10-12.fc44 fedora 41.0 KiB nodejs24 x86_64 1:24.9.0-1.fc44 fedora 302.6 KiB nodejs24-libs x86_64 1:24.9.0-1.fc44 fedora 83.6 MiB openssl-devel x86_64 1:3.5.4-1.fc44 fedora 4.6 MiB pyproject-rpm-macros noarch 0:1.18.5-1.fc44 fedora 115.0 KiB python-pip-wheel noarch 0:25.2-4.fc44 fedora 1.2 MiB python-rpm-macros noarch 0:3.14-9.fc44 fedora 27.6 KiB python3 x86_64 0:3.14.0-2.fc44 fedora 28.9 KiB python3-libs x86_64 0:3.14.0-2.fc44 fedora 43.0 MiB python3-packaging noarch 0:25.0-7.fc44 fedora 607.4 KiB python3-rpm-generators noarch 0:14-13.fc43 fedora 81.7 KiB python3-rpm-macros noarch 0:3.14-9.fc44 fedora 6.5 KiB tzdata noarch 0:2025b-3.fc43 fedora 1.6 MiB zlib-ng-compat-devel x86_64 0:2.2.5-2.fc44 fedora 107.0 KiB Transaction Summary: Installing: 26 packages Total size of inbound packages is 42 MiB. Need to download 42 MiB. After this operation, 153 MiB extra will be used (install 153 MiB, remove 0 B). [ 1/26] python3-devel-0:3.14.0-2.fc44.x 100% | 25.0 MiB/s | 434.9 KiB | 00m00s [ 2/26] brotli-devel-0:1.1.0-10.fc44.x8 100% | 16.6 MiB/s | 33.9 KiB | 00m00s [ 3/26] nodejs24-devel-1:24.9.0-1.fc44. 100% | 3.5 MiB/s | 270.6 KiB | 00m00s [ 4/26] libuv-devel-1:1.51.0-2.fc43.x86 100% | 602.4 KiB/s | 41.0 KiB | 00m00s [ 5/26] nodejs-packaging-0:2023.10-12.f 100% | 345.1 KiB/s | 20.4 KiB | 00m00s [ 6/26] nodejs24-1:24.9.0-1.fc44.x86_64 100% | 929.9 KiB/s | 67.0 KiB | 00m00s [ 7/26] golang-github-evanw-esbuild-0:0 100% | 23.0 MiB/s | 3.8 MiB | 00m00s [ 8/26] zlib-ng-compat-devel-0:2.2.5-2. 100% | 5.3 MiB/s | 38.3 KiB | 00m00s [ 9/26] openssl-devel-1:3.5.4-1.fc44.x8 100% | 177.2 MiB/s | 3.0 MiB | 00m00s [10/26] brotli-0:1.1.0-10.fc44.x86_64 100% | 4.8 MiB/s | 19.8 KiB | 00m00s [11/26] cmake-filesystem-0:3.31.6-4.fc4 100% | 7.6 MiB/s | 15.5 KiB | 00m00s [12/26] libuv-1:1.51.0-2.fc43.x86_64 100% | 65.0 MiB/s | 266.1 KiB | 00m00s [13/26] python3-libs-0:3.14.0-2.fc44.x8 100% | 280.6 MiB/s | 9.8 MiB | 00m00s [14/26] c-ares-0:1.34.5-2.fc43.x86_64 100% | 38.1 MiB/s | 117.0 KiB | 00m00s [15/26] expat-0:2.7.2-1.fc44.x86_64 100% | 58.1 MiB/s | 119.0 KiB | 00m00s [16/26] mpdecimal-0:4.0.1-2.fc43.x86_64 100% | 47.4 MiB/s | 97.1 KiB | 00m00s [17/26] python-pip-wheel-0:25.2-4.fc44. 100% | 188.9 MiB/s | 1.1 MiB | 00m00s [18/26] tzdata-0:2025b-3.fc43.noarch 100% | 174.3 MiB/s | 713.9 KiB | 00m00s [19/26] python3-0:3.14.0-2.fc44.x86_64 100% | 27.0 MiB/s | 27.7 KiB | 00m00s [20/26] pyproject-rpm-macros-0:1.18.5-1 100% | 10.8 MiB/s | 44.4 KiB | 00m00s [21/26] python-rpm-macros-0:3.14-9.fc44 100% | 19.2 MiB/s | 19.6 KiB | 00m00s [22/26] python3-rpm-generators-0:14-13. 100% | 27.9 MiB/s | 28.5 KiB | 00m00s [23/26] python3-rpm-macros-0:3.14-9.fc4 100% | 11.9 MiB/s | 12.2 KiB | 00m00s [24/26] python3-packaging-0:25.0-7.fc44 100% | 78.8 MiB/s | 161.4 KiB | 00m00s [25/26] libuv-static-1:1.51.0-2.fc43.x8 100% | 4.4 MiB/s | 494.5 KiB | 00m00s [26/26] nodejs24-libs-1:24.9.0-1.fc44.x 100% | 100.1 MiB/s | 20.8 MiB | 00m00s -------------------------------------------------------------------------------- [26/26] Total 100% | 120.1 MiB/s | 41.5 MiB | 00m00s Running transaction [ 1/28] Verify package files 100% | 171.0 B/s | 26.0 B | 00m00s [ 2/28] Prepare transaction 100% | 440.0 B/s | 26.0 B | 00m00s [ 3/28] Installing python-rpm-macros-0: 100% | 27.8 MiB/s | 28.5 KiB | 00m00s [ 4/28] Installing python3-rpm-macros-0 100% | 0.0 B/s | 6.8 KiB | 00m00s [ 5/28] Installing libuv-1:1.51.0-2.fc4 100% | 279.8 MiB/s | 573.0 KiB | 00m00s [ 6/28] Installing cmake-filesystem-0:3 100% | 7.4 MiB/s | 7.6 KiB | 00m00s [ 7/28] Installing libuv-devel-1:1.51.0 100% | 190.8 MiB/s | 195.4 KiB | 00m00s [ 8/28] Installing libuv-static-1:1.51. 100% | 422.1 MiB/s | 2.1 MiB | 00m00s [ 9/28] Installing zlib-ng-compat-devel 100% | 106.0 MiB/s | 108.5 KiB | 00m00s [10/28] Installing pyproject-rpm-macros 100% | 28.6 MiB/s | 117.0 KiB | 00m00s [11/28] Installing tzdata-0:2025b-3.fc4 100% | 63.1 MiB/s | 1.9 MiB | 00m00s [12/28] Installing python-pip-wheel-0:2 100% | 589.9 MiB/s | 1.2 MiB | 00m00s [13/28] Installing mpdecimal-0:4.0.1-2. 100% | 213.7 MiB/s | 218.8 KiB | 00m00s [14/28] Installing expat-0:2.7.2-1.fc44 100% | 16.3 MiB/s | 300.7 KiB | 00m00s [15/28] Installing python3-libs-0:3.14. 100% | 341.3 MiB/s | 43.3 MiB | 00m00s [16/28] Installing python3-0:3.14.0-2.f 100% | 2.5 MiB/s | 30.6 KiB | 00m00s [17/28] Installing nodejs-packaging-0:2 100% | 41.6 MiB/s | 42.6 KiB | 00m00s [18/28] Installing python3-packaging-0: 100% | 201.8 MiB/s | 619.9 KiB | 00m00s [19/28] Installing python3-rpm-generato 100% | 0.0 B/s | 82.9 KiB | 00m00s [20/28] Installing c-ares-0:1.34.5-2.fc 100% | 264.3 MiB/s | 270.6 KiB | 00m00s [21/28] Installing nodejs24-libs-1:24.9 100% | 459.2 MiB/s | 83.6 MiB | 00m00s [22/28] Installing nodejs24-1:24.9.0-1. 100% | 22.9 MiB/s | 305.1 KiB | 00m00s [23/28] Installing brotli-0:1.1.0-10.fc 100% | 2.6 MiB/s | 32.3 KiB | 00m00s [24/28] Installing brotli-devel-0:1.1.0 100% | 8.3 MiB/s | 68.0 KiB | 00m00s [25/28] Installing openssl-devel-1:3.5. 100% | 69.1 MiB/s | 5.6 MiB | 00m00s [26/28] Installing nodejs24-devel-1:24. 100% | 221.3 MiB/s | 1.3 MiB | 00m00s [27/28] Installing python3-devel-0:3.14 100% | 94.8 MiB/s | 2.0 MiB | 00m00s [28/28] Installing golang-github-evanw- 100% | 171.9 MiB/s | 10.7 MiB | 00m00s Complete! Finish: build setup for python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Start: rpmbuild python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 27: %{__nodejs} macro , instead of fixed path setting SOURCE_DATE_EPOCH=1763164800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.vn3xKm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H7hM3P + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + rm -rf yt_dlp_ejs-0.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/yt_dlp_ejs-0.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd yt_dlp_ejs-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hatch_with_esbuild.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + mkdir node_modules + pushd node_modules ~/build/BUILD/python-yt-dlp-ejs-0.3.1-build/yt_dlp_ejs-0.3.1/node_modules ~/build/BUILD/python-yt-dlp-ejs-0.3.1-build/yt_dlp_ejs-0.3.1 + mkdir meriyah + tar -x --strip-components=1 -C meriyah -f /builddir/build/SOURCES/meriyah-6.1.4.tgz + mkdir astring + tar -x --strip-components=1 -C astring -f /builddir/build/SOURCES/astring-1.9.0.tgz + popd ~/build/BUILD/python-yt-dlp-ejs-0.3.1-build/yt_dlp_ejs-0.3.1 + cp -p /builddir/build/SOURCES/tests.py . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Fn6zyj + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + cd yt_dlp_ejs-0.3.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-buildrequires Handling hatchling>=1.27.0 from build-system.requires Requirement not satisfied: hatchling>=1.27.0 Handling hatch-vcs from build-system.requires Requirement not satisfied: hatch-vcs Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-yt-dlp-ejs-0.3.1-1.fc44.buildreqs.nosrc.rpm RPM build warnings: Macro expanded in comment on line 27: %{__nodejs} macro , instead of fixed path INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 121.6 KiB/s | 1.8 KiB | 00m00s fedora 100% | 284.7 KiB/s | 30.2 KiB | 00m00s Repositories loaded. Package "golang-github-evanw-esbuild-0.24.2-6.fc44.x86_64" is already installed. Package "nodejs24-devel-1:24.9.0-1.fc44.x86_64" is already installed. Package "pyproject-rpm-macros-1.18.5-1.fc44.noarch" is already installed. Package "python3-devel-3.14.0-2.fc44.x86_64" is already installed. Package "python3-packaging-25.0-7.fc44.noarch" is already installed. Package Arch Version Repository Size Installing: python3-hatch-vcs noarch 0:0.5.0-5.fc44 fedora 34.9 KiB python3-hatchling noarch 0:1.27.0-7.fc44 fedora 652.9 KiB python3-pip noarch 0:25.2-4.fc44 fedora 11.3 MiB Installing dependencies: python3-pathspec noarch 0:0.12.1-12.fc44 fedora 207.8 KiB python3-pluggy noarch 0:1.6.0-4.fc44 fedora 211.0 KiB python3-setuptools noarch 0:80.9.0-1.fc44 fedora 8.6 MiB python3-setuptools_scm noarch 0:8.3.1-8.fc44 fedora 354.5 KiB python3-trove-classifiers noarch 0:2025.9.11.17-1.fc44 fedora 111.4 KiB Transaction Summary: Installing: 8 packages Total size of inbound packages is 5 MiB. Need to download 5 MiB. After this operation, 21 MiB extra will be used (install 21 MiB, remove 0 B). [1/8] python3-hatch-vcs-0:0.5.0-5.fc44. 100% | 2.1 MiB/s | 28.1 KiB | 00m00s [2/8] python3-hatchling-0:1.27.0-7.fc44 100% | 14.0 MiB/s | 229.1 KiB | 00m00s [3/8] python3-setuptools_scm-0:8.3.1-8. 100% | 39.6 MiB/s | 121.6 KiB | 00m00s [4/8] python3-pip-0:25.2-4.fc44.noarch 100% | 131.3 MiB/s | 2.6 MiB | 00m00s [5/8] python3-pluggy-0:1.6.0-4.fc44.noa 100% | 20.0 MiB/s | 61.6 KiB | 00m00s [6/8] python3-pathspec-0:0.12.1-12.fc44 100% | 12.5 MiB/s | 64.2 KiB | 00m00s [7/8] python3-trove-classifiers-0:2025. 100% | 16.5 MiB/s | 33.7 KiB | 00m00s [8/8] python3-setuptools-0:80.9.0-1.fc4 100% | 220.0 MiB/s | 2.0 MiB | 00m00s -------------------------------------------------------------------------------- [8/8] Total 100% | 165.5 MiB/s | 5.1 MiB | 00m00s Running transaction [ 1/10] Verify package files 100% | 444.0 B/s | 8.0 B | 00m00s [ 2/10] Prepare transaction 100% | 333.0 B/s | 8.0 B | 00m00s [ 3/10] Installing python3-setuptools-0 100% | 219.7 MiB/s | 8.8 MiB | 00m00s [ 4/10] Installing python3-setuptools_s 100% | 121.9 MiB/s | 374.4 KiB | 00m00s [ 5/10] Installing python3-trove-classi 100% | 8.0 MiB/s | 115.2 KiB | 00m00s [ 6/10] Installing python3-pluggy-0:1.6 100% | 212.4 MiB/s | 217.5 KiB | 00m00s [ 7/10] Installing python3-pathspec-0:0 100% | 104.9 MiB/s | 214.9 KiB | 00m00s [ 8/10] Installing python3-hatchling-0: 100% | 38.1 MiB/s | 702.0 KiB | 00m00s [ 9/10] Installing python3-hatch-vcs-0: 100% | 10.0 MiB/s | 41.0 KiB | 00m00s [10/10] Installing python3-pip-0:25.2-4 100% | 147.8 MiB/s | 11.5 MiB | 00m00s Complete! Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 27: %{__nodejs} macro , instead of fixed path setting SOURCE_DATE_EPOCH=1763164800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ltchDb + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + cd yt_dlp_ejs-0.3.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-buildrequires Handling hatchling>=1.27.0 from build-system.requires Requirement satisfied: hatchling>=1.27.0 (installed: hatchling 1.27.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.5.0) + cat /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-buildrequires + rm -rfv yt_dlp_ejs-0.3.1.dist-info/ removed 'yt_dlp_ejs-0.3.1.dist-info/METADATA' removed directory 'yt_dlp_ejs-0.3.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-yt-dlp-ejs-0.3.1-1.fc44.buildreqs.nosrc.rpm RPM build warnings: Macro expanded in comment on line 27: %{__nodejs} macro , instead of fixed path INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Copr repository 100% | 140.3 KiB/s | 1.8 KiB | 00m00s fedora 100% | 397.1 KiB/s | 30.2 KiB | 00m00s Repositories loaded. Package "golang-github-evanw-esbuild-0.24.2-6.fc44.x86_64" is already installed. Package "nodejs24-devel-1:24.9.0-1.fc44.x86_64" is already installed. Package "pyproject-rpm-macros-1.18.5-1.fc44.noarch" is already installed. Package "python3-devel-3.14.0-2.fc44.x86_64" is already installed. Package "python3-hatch-vcs-0.5.0-5.fc44.noarch" is already installed. Package "python3-hatchling-1.27.0-7.fc44.noarch" is already installed. Package "python3-packaging-25.0-7.fc44.noarch" is already installed. Package "python3-pip-25.2-4.fc44.noarch" is already installed. Nothing to do. Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 27: %{__nodejs} macro , instead of fixed path setting SOURCE_DATE_EPOCH=1763164800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.PlpxLY + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + cd yt_dlp_ejs-0.3.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=44 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir --output /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-buildrequires Handling hatchling>=1.27.0 from build-system.requires Requirement satisfied: hatchling>=1.27.0 (installed: hatchling 1.27.0) Handling hatch-vcs from build-system.requires Requirement satisfied: hatch-vcs (installed: hatch-vcs 0.5.0) + cat /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-buildrequires + rm -rfv yt_dlp_ejs-0.3.1.dist-info/ removed 'yt_dlp_ejs-0.3.1.dist-info/METADATA' removed directory 'yt_dlp_ejs-0.3.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oFaI4m + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd yt_dlp_ejs-0.3.1 + mkdir -p /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir Processing /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/yt_dlp_ejs-0.3.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Building with esbuild... dist/yt.solver.core.min.js 160.3kb âš¡ Done in 18ms dist/yt.solver.lib.min.js 61b âš¡ Done in 2ms Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: yt-dlp-ejs Building wheel for yt-dlp-ejs (pyproject.toml): started Running command Building wheel for yt-dlp-ejs (pyproject.toml) Building wheel for yt-dlp-ejs (pyproject.toml): finished with status 'done' Created wheel for yt-dlp-ejs: filename=yt_dlp_ejs-0.3.1-py3-none-any.whl size=52236 sha256=761ac58a055d157fdd04493d5b674955ce6c647defa5e1d06b7fcf3745f4374f Stored in directory: /builddir/.cache/pip/wheels/14/8f/c0/e8c9917ffba0dc17ee346e2b6c3939659f825364405ad6fe37 Successfully built yt-dlp-ejs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bBgRia + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + '[' /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + mkdir /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd yt_dlp_ejs-0.3.1 ++ ls /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir/yt_dlp_ejs-0.3.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=yt_dlp_ejs==0.3.1 + '[' -z yt_dlp_ejs==0.3.1 ']' + TMPDIR=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir yt_dlp_ejs==0.3.1 Using pip 25.2 from /usr/lib/python3.14/site-packages/pip (python 3.14) Looking in links: /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir Processing /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/pyproject-wheeldir/yt_dlp_ejs-0.3.1-py3-none-any.whl Installing collected packages: yt_dlp_ejs Successfully installed yt_dlp_ejs-0.3.1 + '[' -d /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages ']' + site_dirs+=("/usr/lib/python3.14/site-packages") + '[' /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib64/python3.14/site-packages '!=' /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages ']' + '[' -d /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib64/python3.14/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost %dir /usr/lib/python3.14/site-packages/yt_dlp_ejs-0.3.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs-0.3.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT --record /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs-0.3.1.dist-info/RECORD --output /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs-0.3.1.dist-info/RECORD removed '/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs-0.3.1.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs-0.3.1.dist-info/REQUESTED removed '/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs-0.3.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT --sitelib /usr/lib/python3.14/site-packages --sitearch /usr/lib64/python3.14/site-packages --python-version 3.14 --pyproject-record /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-record --prefix /usr -l yt_dlp_ejs + install -Dpm0644 -t LICENSE.bundled/astring node_modules/astring/LICENSE + install -Dpm0644 -t LICENSE.bundled/meriyah node_modules/meriyah/LICENSE.md + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14 using python3.14 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j4 /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs/__pycache__/_version.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs/yt/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages/yt_dlp_ejs/yt/solver/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents Scanned 13 directories and 18 files, processed 4 inodes, 4 modified (0 replaced + 4 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr Scanned 12 directories and 18 files, considered 18 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.My7Wte + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd yt_dlp_ejs-0.3.1 + '[' '!' -f /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-modules ']' + PATH=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib64/python3.14/site-packages:/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages + _PYTHONSITE=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib64/python3.14/site-packages:/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/python-yt-dlp-ejs-0.3.1-1.fc44.x86_64-pyproject-modules Check import: yt_dlp_ejs Check import: yt_dlp_ejs.yt Check import: yt_dlp_ejs.yt.solver + cp dist/yt.solver.core.min.js yt_dlp_ejs/yt/solver/core.min.js + cp dist/yt.solver.lib.min.js yt_dlp_ejs/yt/solver/lib.min.js + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib64/python3.14/site-packages:/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/python3 -m unittest /* SPDX-License-Identifier: Unlicense */ var lib=(()=>{})(); ; Object.assign(globalThis, lib); /* SPDX-License-Identifier: Unlicense */ var jsc=(()=>{var Z=(e,t)=>()=>(e&&(t=e(e=0)),t);var bt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);function h(e){return e.column++,e.currentChar=e.source.charCodeAt(++e.index)}function _e(e){let t=e.currentChar;if((t&64512)!==55296)return 0;let n=e.source.charCodeAt(e.index+1);return(n&64512)!==56320?0:65536+((t&1023)<<10)+(n&1023)}function We(e,t){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,t&4||(e.column=0,e.line++)}function ee(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function Dt(e){return e===160||e===65279||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===8201||e===65519}function U(e){return e<65?e-48:e-65+10&15}function wt(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 131:return"TemplateLiteral";default:return(e&143360)===143360?"Identifier":(e&4096)===4096?"Keyword":"Punctuator"}}function Ae(e){return e<=127?At[e]>0:w2(e)}function be(e){return e<=127?A2[e]>0:yt(e)||e===8204||e===8205}function Ct(e){let{source:t}=e;e.currentChar===35&&t.charCodeAt(e.index+1)===33&&(h(e),h(e),Ye(e,t,0,4,e.tokenStart))}function h2(e,t,n,i,u,o){return i&2&&e.report(0),Ye(e,t,n,u,o)}function Ye(e,t,n,i,u){let{index:o}=e;for(e.tokenIndex=e.index,e.tokenLine=e.line,e.tokenColumn=e.column;e.index=e.source.length)return e.report(34)}let i=e.index-1,u=N.Empty,o=e.currentChar,{index:l}=e;for(;be(o);){switch(o){case 103:u&N.Global&&e.report(36,"g"),u|=N.Global;break;case 105:u&N.IgnoreCase&&e.report(36,"i"),u|=N.IgnoreCase;break;case 109:u&N.Multiline&&e.report(36,"m"),u|=N.Multiline;break;case 117:u&N.Unicode&&e.report(36,"u"),u&N.UnicodeSets&&e.report(36,"vu"),u|=N.Unicode;break;case 118:u&N.Unicode&&e.report(36,"uv"),u&N.UnicodeSets&&e.report(36,"v"),u|=N.UnicodeSets;break;case 121:u&N.Sticky&&e.report(36,"y"),u|=N.Sticky;break;case 115:u&N.DotAll&&e.report(36,"s"),u|=N.DotAll;break;case 100:u&N.Indices&&e.report(36,"d"),u|=N.Indices;break;default:e.report(35)}o=h(e)}let f=e.source.slice(l,e.index),c=e.source.slice(t,i);return e.tokenRegExp={pattern:c,flags:f},e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),e.tokenValue=Bt(e,c,f),65540}function Bt(e,t,n){try{return new RegExp(t,n)}catch{try{return new RegExp(t,n),null}catch{e.report(34)}}}function St(e,t,n){let{index:i}=e,u="",o=h(e),l=e.index;for(;!(T[o]&8);){if(o===n)return u+=e.source.slice(l,e.index),h(e),e.options.raw&&(e.tokenRaw=e.source.slice(i,e.index)),e.tokenValue=u,134283267;if((o&8)===8&&o===92){if(u+=e.source.slice(l,e.index),o=h(e),o<127||o===8232||o===8233){let f=E2(e,t,o);f>=0?u+=String.fromCodePoint(f):T2(e,f,0)}else u+=String.fromCodePoint(o);l=e.index+1}else(o===8232||o===8233)&&(e.column=-1,e.line++);e.index>=e.end&&e.report(16),o=h(e)}e.report(16)}function E2(e,t,n,i=0){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:if(e.index1114111)return-5;return e.currentChar<1||e.currentChar!==125?-4:o}else{if(!(T[u]&64))return-4;let o=e.source.charCodeAt(e.index+1);if(!(T[o]&64))return-4;let l=e.source.charCodeAt(e.index+2);if(!(T[l]&64))return-4;let f=e.source.charCodeAt(e.index+3);return T[f]&64?(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),U(u)<<12|U(o)<<8|U(l)<<4|U(f)):-4}}case 56:case 57:if(i||!e.options.webcompat||t&1)return-3;e.flags|=4096;default:return n}}function T2(e,t,n){switch(t){case-1:return;case-2:e.report(n?2:1);case-3:e.report(n?3:14);case-4:e.report(7);case-5:e.report(104)}}function B2(e,t){let{index:n}=e,i=67174409,u="",o=h(e);for(;o!==96;){if(o===36&&e.source.charCodeAt(e.index+1)===123){h(e),i=67174408;break}else if(o===92)if(o=h(e),o>126)u+=String.fromCodePoint(o);else{let{index:l,line:f,column:c}=e,d=E2(e,t|1,o,1);if(d>=0)u+=String.fromCodePoint(d);else if(d!==-1&&t&64){e.index=l,e.line=f,e.column=c,u=null,o=Ft(e,o),o<0&&(i=67174408);break}else T2(e,d,1)}else e.index=e.end&&e.report(17),o=h(e)}return h(e),e.tokenValue=u,e.tokenRaw=e.source.slice(n+1,e.index-(i===67174409?1:2)),i}function Ft(e,t){for(;t!==96;){switch(t){case 36:{let n=e.index+1;if(n=e.end&&e.report(17),t=h(e)}return t}function qt(e,t){return e.index>=e.end&&e.report(0),e.index--,e.column--,B2(e,t)}function m2(e,t,n){let i=e.currentChar,u=0,o=9,l=n&64?0:1,f=0,c=0;if(n&64)u="."+re(e,i),i=e.currentChar,i===110&&e.report(12);else{if(i===48)if(i=h(e),(i|32)===120){for(n=136,i=h(e);T[i]&4160;){if(i===95){c||e.report(152),c=0,i=h(e);continue}c=1,u=u*16+U(i),f++,i=h(e)}(f===0||!c)&&e.report(f===0?21:153)}else if((i|32)===111){for(n=132,i=h(e);T[i]&4128;){if(i===95){c||e.report(152),c=0,i=h(e);continue}c=1,u=u*8+(i-48),f++,i=h(e)}(f===0||!c)&&e.report(f===0?0:153)}else if((i|32)===98){for(n=130,i=h(e);T[i]&4224;){if(i===95){c||e.report(152),c=0,i=h(e);continue}c=1,u=u*2+(i-48),f++,i=h(e)}(f===0||!c)&&e.report(f===0?0:153)}else if(T[i]&32)for(t&1&&e.report(1),n=1;T[i]&16;){if(T[i]&512){n=32,l=0;break}u=u*8+(i-48),i=h(e)}else T[i]&512?(t&1&&e.report(1),e.flags|=64,n=32):i===95&&e.report(0);if(n&48){if(l){for(;o>=0&&T[i]&4112;){if(i===95){if(i=h(e),i===95||n&32)throw new L(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},152);c=1;continue}c=0,u=10*u+(i-48),i=h(e),--o}if(c)throw new L(e.currentLocation,{index:e.index+1,line:e.line,column:e.column},153);if(o>=0&&!Ae(i)&&i!==46)return e.tokenValue=u,e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283266}u+=re(e,i),i=e.currentChar,i===46&&(h(e)===95&&e.report(0),n=64,u+="."+re(e,e.currentChar),i=e.currentChar)}}let d=e.index,s=0;if(i===110&&n&128)s=1,i=h(e);else if((i|32)===101){i=h(e),T[i]&256&&(i=h(e));let{index:g}=e;T[i]&16||e.report(11),u+=e.source.substring(d,g)+re(e,i),i=e.currentChar}return(e.index0)be(l)||e.report(20,String.fromCodePoint(l)),e.currentChar=l,e.index++,e.column++;else if(!be(e.currentChar))break;h(e)}e.index<=e.end&&(e.tokenValue+=e.source.slice(u,e.index));let{length:o}=e.tokenValue;if(i&&o>=2&&o<=11){let l=Fe(S2,e.tokenValue);return l===void 0?208897|(n?-2147483648:0):n?l===209006?t&2050?-2147483528:l|-2147483648:t&1?l===36970||(l&36864)===36864?-2147483527:(l&20480)===20480?t&262144&&!(t&8)?l|-2147483648:-2147483528:-2147274630:t&262144&&!(t&8)&&(l&20480)===20480?l|-2147483648:l===241771?t&262144?-2147274630:t&1024?-2147483528:l|-2147483648:l===209005?-2147274630:(l&36864)===36864?l|12288|-2147483648:-2147483528:l}return 208897|(n?-2147483648:0)}function Ot(e){let t=h(e);if(t===92)return 130;let n=_e(e);return n&&(t=n),Ae(t)||e.report(96),130}function N2(e){return e.source.charCodeAt(e.index+1)!==117&&e.report(5),e.currentChar=e.source.charCodeAt(e.index+=2),e.column+=2,Pt(e)}function Pt(e){let t=0,n=e.currentChar;if(n===123){let l=e.index-2;for(;T[h(e)]&64;)if(t=t<<4|U(e.currentChar),t>1114111)throw new L({index:l,line:e.line,column:e.column},e.currentLocation,104);if(e.currentChar!==125)throw new L({index:l,line:e.line,column:e.column},e.currentLocation,7);return h(e),t}T[n]&64||e.report(7);let i=e.source.charCodeAt(e.index+1);T[i]&64||e.report(7);let u=e.source.charCodeAt(e.index+2);T[u]&64||e.report(7);let o=e.source.charCodeAt(e.index+3);return T[o]&64||e.report(7),t=U(n)<<12|U(i)<<8|U(u)<<4|U(o),e.currentChar=e.source.charCodeAt(e.index+=4),e.column+=4,t}function m(e,t){e.flags=(e.flags|1)^1,e.startIndex=e.index,e.startColumn=e.column,e.startLine=e.line,e.setToken(V2(e,t,0))}function V2(e,t,n){let i=e.index===0,{source:u}=e,o=e.currentLocation;for(;e.index=e.end)return 8391476;let c=e.currentChar;return c===61?(h(e),4194338):c!==42?8391476:h(e)!==61?8391735:(h(e),4194335)}case 8389959:return h(e)!==61?8389959:(h(e),4194341);case 25233968:{h(e);let c=e.currentChar;return c===43?(h(e),33619993):c===61?(h(e),4194336):25233968}case 25233969:{h(e);let c=e.currentChar;if(c===45){if(h(e),(n&1||i)&&e.currentChar===62){e.options.webcompat||e.report(112),h(e),n=h2(e,u,n,t,3,o),o=e.tokenStart;continue}return 33619994}return c===61?(h(e),4194337):25233969}case 8457014:{if(h(e),e.index=48&&c<=57)return m2(e,t,80);if(c===46){let d=e.index+1;if(d=48&&c<=57)))return h(e),67108990}return 22}}}else{if((l^8232)<=1){n=n&-5|1,ee(e);continue}let f=_e(e);if(f>0&&(l=f),w2(l))return e.tokenValue="",Ze(e,t,0,0);if(Dt(l)){h(e);continue}e.report(20,String.fromCodePoint(l))}}return 1048576}function Mt(e){return e.replace(/&(?:[a-zA-Z]+|#[xX][\da-fA-F]+|#\d+);/g,t=>{if(t.charAt(1)==="#"){let n=t.charAt(2),i=n==="X"||n==="x"?parseInt(t.slice(3),16):parseInt(t.slice(2),10);return Jt(i)}return Fe(vt,t.slice(1,-1))??t})}function Jt(e){return e>=55296&&e<=57343||e>1114111?"\uFFFD":String.fromCodePoint(Fe(Ut,e)??e)}function jt(e,t){return e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.setToken(T[e.currentChar]&8192?Xt(e):V2(e,t,0)),e.getToken()}function Xt(e){let t=e.currentChar,n=h(e),i=e.index;for(;n!==t;)e.index>=e.end&&e.report(16),n=h(e);return n!==t&&e.report(16),e.tokenValue=e.source.slice(i,e.index),h(e),e.options.raw&&(e.tokenRaw=e.source.slice(e.tokenIndex,e.index)),134283267}function ge(e){if(e.startIndex=e.tokenIndex=e.index,e.startColumn=e.tokenColumn=e.column,e.startLine=e.tokenLine=e.line,e.index>=e.end){e.setToken(1048576);return}if(e.currentChar===60){h(e),e.setToken(8456256);return}if(e.currentChar===123){h(e),e.setToken(2162700);return}let t=0;for(;e.index1&&o&32&&e.getToken()&262144&&e.report(61,B[e.getToken()&255]),f}function k2(e,t,n,i,u,o){let{tokenStart:l}=e,f=e.getToken(),c=null,d=Y2(e,t,n,i,u,o);if(e.getToken()===1077936155){if(m(e,t|32),c=q(e,t,i,1,0,e.tokenStart),(o&32||!(f&2097152))&&(e.getToken()===471156||e.getToken()===8673330&&(f&2097152||!(u&4)||t&1)))throw new L(l,e.currentLocation,60,e.getToken()===471156?"of":"in")}else(u&16||(f&2097152)>0)&&(e.getToken()&262144)!==262144&&e.report(59,u&16?"const":"destructuring");return e.finishNode({type:"VariableDeclarator",id:d,init:c},l)}function hn(e,t,n,i,u){let o=e.tokenStart;m(e,t);let l=((t&2048)>0||(t&2)>0&&(t&8)>0)&&A(e,t,209006);k(e,t|32,67174411),n=n?.createChildScope(1);let f=null,c=null,d=0,s=null,g=e.getToken()===86088||e.getToken()===241737||e.getToken()===86090,a,{tokenStart:b}=e,y=e.getToken();if(g)y===241737?(s=F(e,t),e.getToken()&2240512?(e.getToken()===8673330?t&1&&e.report(67):s=e.finishNode({type:"VariableDeclaration",kind:"let",declarations:ne(e,t|131072,n,i,8,32)},b),e.assignable=1):t&1?e.report(67):(g=!1,e.assignable=1,s=S(e,t,i,s,0,0,b),e.getToken()===471156&&e.report(115))):(m(e,t),s=e.finishNode(y===86088?{type:"VariableDeclaration",kind:"var",declarations:ne(e,t|131072,n,i,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:ne(e,t|131072,n,i,16,32)},b),e.assignable=1);else if(y===1074790417)l&&e.report(82);else if((y&2097152)===2097152){let D=e.tokenStart;s=y===2162700?X(e,t,void 0,i,1,0,0,2,32):j(e,t,void 0,i,1,0,0,2,32),d=e.destructible,d&64&&e.report(63),e.assignable=d&16?2:1,s=S(e,t|131072,i,s,0,0,D)}else s=J(e,t|131072,i,1,0,1);if((e.getToken()&262144)===262144){if(e.getToken()===471156){e.assignable&2&&e.report(80,l?"await":"of"),H(e,s),m(e,t|32),a=q(e,t,i,1,0,e.tokenStart),k(e,t|32,16);let w=ce(e,t,n,i,u);return e.finishNode({type:"ForOfStatement",left:s,right:a,body:w,await:l},o)}e.assignable&2&&e.report(80,"in"),H(e,s),m(e,t|32),l&&e.report(82),a=P(e,t,i,0,1,e.tokenStart),k(e,t|32,16);let D=ce(e,t,n,i,u);return e.finishNode({type:"ForInStatement",body:D,left:s,right:a},o)}l&&e.report(82),g||(d&8&&e.getToken()!==1077936155&&e.report(80,"loop"),s=I(e,t|131072,i,0,0,b,s)),e.getToken()===18&&(s=Y(e,t,i,0,b,s)),k(e,t|32,1074790417),e.getToken()!==1074790417&&(f=P(e,t,i,0,1,e.tokenStart)),k(e,t|32,1074790417),e.getToken()!==16&&(c=P(e,t,i,0,1,e.tokenStart)),k(e,t|32,16);let E=ce(e,t,n,i,u);return e.finishNode({type:"ForStatement",init:s,test:f,update:c,body:E},o)}function R2(e,t,n){return de(t,e.getToken())||e.report(118),(e.getToken()&537079808)===537079808&&e.report(119),n?.addBlockName(t,e.tokenValue,8,0),F(e,t)}function mn(e,t,n){let i=e.tokenStart;m(e,t);let u=null,{tokenStart:o}=e,l=[];if(e.getToken()===134283267)u=V(e,t);else{if(e.getToken()&143360){let d=R2(e,t,n);if(l=[e.finishNode({type:"ImportDefaultSpecifier",local:d},o)],A(e,t,18))switch(e.getToken()){case 8391476:l.push(b2(e,t,n));break;case 2162700:y2(e,t,n,l);break;default:e.report(107)}}else switch(e.getToken()){case 8391476:l=[b2(e,t,n)];break;case 2162700:y2(e,t,n,l);break;case 67174411:return U2(e,t,void 0,i);case 67108877:return v2(e,t,i);default:e.report(30,B[e.getToken()&255])}u=an(e,t)}let f=He(e,t),c={type:"ImportDeclaration",specifiers:l,source:u,attributes:f};return R(e,t|32),e.finishNode(c,i)}function b2(e,t,n){let{tokenStart:i}=e;if(m(e,t),k(e,t,77932),(e.getToken()&134217728)===134217728)throw new L(i,e.currentLocation,30,B[e.getToken()&255]);return e.finishNode({type:"ImportNamespaceSpecifier",local:R2(e,t,n)},i)}function an(e,t){return k(e,t,209011),e.getToken()!==134283267&&e.report(105,"Import"),V(e,t)}function y2(e,t,n,i){for(m(e,t);e.getToken()&143360||e.getToken()===134283267;){let{tokenValue:u,tokenStart:o}=e,l=e.getToken(),f=ye(e,t),c;A(e,t,77932)?((e.getToken()&134217728)===134217728||e.getToken()===18?e.report(106):Ce(e,t,16,e.getToken(),0),u=e.tokenValue,c=F(e,t)):f.type==="Identifier"?(Ce(e,t,16,l,0),c=f):e.report(25,B[108]),n?.addBlockName(t,u,8,0),i.push(e.finishNode({type:"ImportSpecifier",local:c,imported:f},o)),e.getToken()!==1074790415&&k(e,t,18)}return k(e,t,1074790415),i}function v2(e,t,n){let i=M2(e,t,e.finishNode({type:"Identifier",name:"import"},n),n);return i=S(e,t,void 0,i,0,0,n),i=I(e,t,void 0,0,0,n,i),e.getToken()===18&&(i=Y(e,t,void 0,0,n,i)),ie(e,t,i,n)}function U2(e,t,n,i){let u=J2(e,t,n,0,i);return u=S(e,t,n,u,0,0,i),e.getToken()===18&&(u=Y(e,t,n,0,i,u)),ie(e,t,u,i)}function rn(e,t,n){let i=e.leadingDecorators.decorators.length?e.leadingDecorators.start:e.tokenStart;m(e,t|32);let u=[],o=null,l=null,f=[];if(A(e,t|32,20561)){switch(e.getToken()){case 86104:{o=G(e,t,n,void 0,4,1,1,0,e.tokenStart);break}case 132:case 86094:o=$e(e,t,n,void 0,1);break;case 209005:{let{tokenStart:d}=e;o=F(e,t);let{flags:s}=e;s&1||(e.getToken()===86104?o=G(e,t,n,void 0,4,1,1,1,d):e.getToken()===67174411?(o=i2(e,t,void 0,o,1,1,0,s,d),o=S(e,t,void 0,o,0,0,d),o=I(e,t,void 0,0,0,d,o)):e.getToken()&143360&&(n&&(n=qe(e,t,e.tokenValue)),o=F(e,t),o=ae(e,t,n,void 0,[o],1,d)));break}default:o=q(e,t,void 0,1,0,e.tokenStart),R(e,t|32)}return n&&e.declareUnboundVariable("default"),e.finishNode({type:"ExportDefaultDeclaration",declaration:o},i)}switch(e.getToken()){case 8391476:{m(e,t);let d=null;A(e,t,77932)&&(n&&e.declareUnboundVariable(e.tokenValue),d=ye(e,t)),k(e,t,209011),e.getToken()!==134283267&&e.report(105,"Export"),l=V(e,t);let g=He(e,t),a={type:"ExportAllDeclaration",source:l,exported:d,attributes:g};return R(e,t|32),e.finishNode(a,i)}case 2162700:{m(e,t);let d=[],s=[],g=0;for(;e.getToken()&143360||e.getToken()===134283267;){let{tokenStart:a,tokenValue:b}=e,y=ye(e,t);y.type==="Literal"&&(g=1);let E;e.getToken()===77932?(m(e,t),!(e.getToken()&143360)&&e.getToken()!==134283267&&e.report(106),n&&(d.push(e.tokenValue),s.push(b)),E=ye(e,t)):(n&&(d.push(e.tokenValue),s.push(e.tokenValue)),E=y),u.push(e.finishNode({type:"ExportSpecifier",local:y,exported:E},a)),e.getToken()!==1074790415&&k(e,t,18)}k(e,t,1074790415),A(e,t,209011)?(e.getToken()!==134283267&&e.report(105,"Export"),l=V(e,t),f=He(e,t),n&&d.forEach(a=>e.declareUnboundVariable(a))):(g&&e.report(172),n&&(d.forEach(a=>e.declareUnboundVariable(a)),s.forEach(a=>e.addBindingToExports(a)))),R(e,t|32);break}case 132:case 86094:o=$e(e,t,n,void 0,2);break;case 86104:o=G(e,t,n,void 0,4,1,2,0,e.tokenStart);break;case 241737:o=ze(e,t,n,void 0,8,64);break;case 86090:o=ze(e,t,n,void 0,16,64);break;case 86088:o=P2(e,t,n,void 0,64);break;case 209005:{let{tokenStart:d}=e;if(m(e,t),!(e.flags&1)&&e.getToken()===86104){o=G(e,t,n,void 0,4,1,2,1,d);break}}default:e.report(30,B[e.getToken()&255])}let c={type:"ExportNamedDeclaration",declaration:o,specifiers:u,source:l,attributes:f};return e.finishNode(c,i)}function q(e,t,n,i,u,o){let l=M(e,t,n,2,0,i,u,1,o);return l=S(e,t,n,l,u,0,o),I(e,t,n,u,0,o,l)}function Y(e,t,n,i,u,o){let l=[o];for(;A(e,t|32,18);)l.push(q(e,t,n,1,i,e.tokenStart));return e.finishNode({type:"SequenceExpression",expressions:l},u)}function P(e,t,n,i,u,o){let l=q(e,t,n,u,i,o);return e.getToken()===18?Y(e,t,n,i,o,l):l}function I(e,t,n,i,u,o,l){let f=e.getToken();if((f&4194304)===4194304){e.assignable&2&&e.report(26),(!u&&f===1077936155&&l.type==="ArrayExpression"||l.type==="ObjectExpression")&&H(e,l),m(e,t|32);let c=q(e,t,n,1,i,e.tokenStart);return e.assignable=2,e.finishNode(u?{type:"AssignmentPattern",left:l,right:c}:{type:"AssignmentExpression",left:l,operator:B[f&255],right:c},o)}return(f&8388608)===8388608&&(l=x(e,t,n,i,o,4,f,l)),A(e,t|32,22)&&(l=p(e,t,n,l,o)),l}function ke(e,t,n,i,u,o,l){let f=e.getToken();m(e,t|32);let c=q(e,t,n,1,i,e.tokenStart);return l=e.finishNode(u?{type:"AssignmentPattern",left:l,right:c}:{type:"AssignmentExpression",left:l,operator:B[f&255],right:c},o),e.assignable=2,l}function p(e,t,n,i,u){let o=q(e,(t|131072)^131072,n,1,0,e.tokenStart);k(e,t|32,21),e.assignable=1;let l=q(e,t,n,1,0,e.tokenStart);return e.assignable=2,e.finishNode({type:"ConditionalExpression",test:i,consequent:o,alternate:l},u)}function x(e,t,n,i,u,o,l,f){let c=-((t&131072)>0)&8673330,d,s;for(e.assignable=2;e.getToken()&8388608&&(d=e.getToken(),s=d&3840,(d&524288&&l&268435456||l&524288&&d&268435456)&&e.report(165),!(s+((d===8391735)<<8)-((c===d)<<12)<=o));)m(e,t|32),f=e.finishNode({type:d&524288||d&268435456?"LogicalExpression":"BinaryExpression",left:f,right:x(e,t,n,i,e.tokenStart,s,d,J(e,t,n,0,i,1)),operator:B[d&255]},u);return e.getToken()===1077936155&&e.report(26),f}function kn(e,t,n,i,u){i||e.report(0);let{tokenStart:o}=e,l=e.getToken();m(e,t|32);let f=J(e,t,n,0,u,1);return e.getToken()===8391735&&e.report(33),t&1&&l===16863276&&(f.type==="Identifier"?e.report(121):Lt(f)&&e.report(127)),e.assignable=2,e.finishNode({type:"UnaryExpression",operator:B[l&255],argument:f,prefix:!0},o)}function bn(e,t,n,i,u,o,l,f){let c=e.getToken(),d=F(e,t),{flags:s}=e;if(!(s&1)){if(e.getToken()===86104)return X2(e,t,n,1,i,f);if(de(t,e.getToken()))return u||e.report(0),(e.getToken()&36864)===36864&&(e.flags|=256),$2(e,t,n,o,f)}return!l&&e.getToken()===67174411?i2(e,t,n,d,o,1,0,s,f):e.getToken()===10?(Se(e,t,c),l&&e.report(51),(c&36864)===36864&&(e.flags|=256),Le(e,t,n,e.tokenValue,d,l,o,0,f)):(e.assignable=1,d)}function yn(e,t,n,i,u,o){if(i&&(e.destructible|=256),t&1024){m(e,t|32),t&8192&&e.report(32),u||e.report(26),e.getToken()===22&&e.report(124);let l=null,f=!1;return e.flags&1?e.getToken()===8391476&&e.report(30,B[e.getToken()&255]):(f=A(e,t|32,8391476),(e.getToken()&77824||f)&&(l=q(e,t,n,1,0,e.tokenStart))),e.assignable=2,e.finishNode({type:"YieldExpression",argument:l,delegate:f},o)}return t&1&&e.report(97,"yield"),n2(e,t,n)}function Dn(e,t,n,i,u,o){u&&(e.destructible|=128),t&524288&&e.report(177);let l=n2(e,t,n);if(l.type==="ArrowFunctionExpression"||(e.getToken()&65536)===0){if(t&2048)throw new L(o,{index:e.startIndex,line:e.startLine,column:e.startColumn},176);if(t&2)throw new L(o,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);if(t&8192&&t&2048)throw new L(o,{index:e.startIndex,line:e.startLine,column:e.startColumn},110);return l}if(t&8192)throw new L(o,{index:e.startIndex,line:e.startLine,column:e.startColumn},31);if(t&2048||t&2&&t&8){if(i)throw new L(o,{index:e.startIndex,line:e.startLine,column:e.startColumn},0);let c=J(e,t,n,0,0,1);return e.getToken()===8391735&&e.report(33),e.assignable=2,e.finishNode({type:"AwaitExpression",argument:c},o)}if(t&2)throw new L(o,{index:e.startIndex,line:e.startLine,column:e.startColumn},98);return l}function Ie(e,t,n,i,u,o,l){let{tokenStart:f}=e;k(e,t|32,2162700);let c=[];if(e.getToken()!==1074790415){for(;e.getToken()===134283267;){let{index:d,tokenStart:s,tokenIndex:g,tokenValue:a}=e,b=e.getToken(),y=V(e,t);if(F2(e,d,g,a)){if(t|=1,e.flags&128)throw new L(s,e.currentLocation,66);if(e.flags&64)throw new L(s,e.currentLocation,9);if(e.flags&4096)throw new L(s,e.currentLocation,15);l?.reportScopeError()}c.push(xe(e,t,y,b,s))}t&1&&(o&&((o&537079808)===537079808&&e.report(119),(o&36864)===36864&&e.report(40)),e.flags&512&&e.report(119),e.flags&256&&e.report(118))}for(e.flags=(e.flags|512|256|64|4096)^4928,e.destructible=(e.destructible|256)^256;e.getToken()!==1074790415;)c.push(he(e,t,n,i,4,{}));return k(e,u&24?t|32:t,1074790415),e.flags&=-4289,e.getToken()===1077936155&&e.report(26),e.finishNode({type:"BlockStatement",body:c},f)}function wn(e,t){let{tokenStart:n}=e;switch(m(e,t),e.getToken()){case 67108990:e.report(167);case 67174411:{t&512||e.report(28),e.assignable=2;break}case 69271571:case 67108877:{t&256||e.report(29),e.assignable=1;break}default:e.report(30,"super")}return e.finishNode({type:"Super"},n)}function J(e,t,n,i,u,o){let l=e.tokenStart,f=M(e,t,n,2,0,i,u,o,l);return S(e,t,n,f,u,0,l)}function An(e,t,n,i){e.assignable&2&&e.report(55);let u=e.getToken();return m(e,t),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:n,operator:B[u&255],prefix:!1},i)}function S(e,t,n,i,u,o,l){if((e.getToken()&33619968)===33619968&&!(e.flags&1))i=An(e,t,i,l);else if((e.getToken()&67108864)===67108864){switch(t=(t|131072)^131072,e.getToken()){case 67108877:{m(e,(t|262144|8)^8),t&16&&e.getToken()===130&&e.tokenValue==="super"&&e.report(173),e.assignable=1;let f=Ge(e,t|64,n);i=e.finishNode({type:"MemberExpression",object:i,computed:!1,property:f,optional:!1},l);break}case 69271571:{let f=!1;(e.flags&2048)===2048&&(f=!0,e.flags=(e.flags|2048)^2048),m(e,t|32);let{tokenStart:c}=e,d=P(e,t,n,u,1,c);k(e,t,20),e.assignable=1,i=e.finishNode({type:"MemberExpression",object:i,computed:!0,property:d,optional:!1},l),f&&(e.flags|=2048);break}case 67174411:{if((e.flags&1024)===1024)return e.flags=(e.flags|1024)^1024,i;let f=!1;(e.flags&2048)===2048&&(f=!0,e.flags=(e.flags|2048)^2048);let c=t2(e,t,n,u);e.assignable=2,i=e.finishNode({type:"CallExpression",callee:i,arguments:c,optional:!1},l),f&&(e.flags|=2048);break}case 67108990:{m(e,(t|262144|8)^8),e.flags|=2048,e.assignable=2,i=Cn(e,t,n,i,l);break}default:(e.flags&2048)===2048&&e.report(166),e.assignable=2,i=e.finishNode({type:"TaggedTemplateExpression",tag:i,quasi:e.getToken()===67174408?e2(e,t|64,n):pe(e,t)},l)}i=S(e,t,n,i,0,1,l)}return o===0&&(e.flags&2048)===2048&&(e.flags=(e.flags|2048)^2048,i=e.finishNode({type:"ChainExpression",expression:i},l)),i}function Cn(e,t,n,i,u){let o=!1,l;if((e.getToken()===69271571||e.getToken()===67174411)&&(e.flags&2048)===2048&&(o=!0,e.flags=(e.flags|2048)^2048),e.getToken()===69271571){m(e,t|32);let{tokenStart:f}=e,c=P(e,t,n,0,1,f);k(e,t,20),e.assignable=2,l=e.finishNode({type:"MemberExpression",object:i,computed:!0,optional:!0,property:c},u)}else if(e.getToken()===67174411){let f=t2(e,t,n,0);e.assignable=2,l=e.finishNode({type:"CallExpression",callee:i,arguments:f,optional:!0},u)}else{let f=Ge(e,t,n);e.assignable=2,l=e.finishNode({type:"MemberExpression",object:i,computed:!1,optional:!0,property:f},u)}return o&&(e.flags|=2048),l}function Ge(e,t,n){return!(e.getToken()&143360)&&e.getToken()!==-2147483528&&e.getToken()!==-2147483527&&e.getToken()!==130&&e.report(160),e.getToken()===130?Be(e,t,n,0):F(e,t)}function En(e,t,n,i,u,o){i&&e.report(56),u||e.report(0);let l=e.getToken();m(e,t|32);let f=J(e,t,n,0,0,1);return e.assignable&2&&e.report(55),e.assignable=2,e.finishNode({type:"UpdateExpression",argument:f,operator:B[l&255],prefix:!0},o)}function M(e,t,n,i,u,o,l,f,c){if((e.getToken()&143360)===143360){switch(e.getToken()){case 209006:return Dn(e,t,n,u,l,c);case 241771:return yn(e,t,n,l,o,c);case 209005:return bn(e,t,n,l,f,o,u,c)}let{tokenValue:d}=e,s=e.getToken(),g=F(e,t|64);return e.getToken()===10?(f||e.report(0),Se(e,t,s),(s&36864)===36864&&(e.flags|=256),Le(e,t,n,d,g,u,o,0,c)):(t&16&&!(t&32768)&&!(t&8192)&&e.tokenValue==="arguments"&&e.report(130),(s&255)===73&&(t&1&&e.report(113),i&24&&e.report(100)),e.assignable=t&1&&(s&537079808)===537079808?2:1,g)}if((e.getToken()&134217728)===134217728)return V(e,t);switch(e.getToken()){case 33619993:case 33619994:return En(e,t,n,u,f,c);case 16863276:case 16842798:case 16842799:case 25233968:case 25233969:case 16863275:case 16863277:return kn(e,t,n,f,l);case 86104:return X2(e,t,n,0,l,c);case 2162700:return Vn(e,t,n,o?0:1,l);case 69271571:return Nn(e,t,n,o?0:1,l);case 67174411:return Pn(e,t|64,n,o,1,0,c);case 86021:case 86022:case 86023:return In(e,t);case 86111:return Ln(e,t);case 65540:return Un(e,t);case 132:case 86094:return Mn(e,t,n,l,c);case 86109:return wn(e,t);case 67174409:return pe(e,t);case 67174408:return e2(e,t,n);case 86107:return Rn(e,t,n,l);case 134283388:return j2(e,t);case 130:return Be(e,t,n,0);case 86106:return Tn(e,t,n,u,l,c);case 8456256:if(e.options.jsx)return Ve(e,t,n,0,e.tokenStart);default:if(de(t,e.getToken()))return n2(e,t,n);e.report(30,B[e.getToken()&255])}}function Tn(e,t,n,i,u,o){let l=F(e,t);return e.getToken()===67108877?M2(e,t,l,o):(i&&e.report(142),l=J2(e,t,n,u,o),e.assignable=2,S(e,t,n,l,u,0,o))}function M2(e,t,n,i){t&2||e.report(169),m(e,t);let u=e.getToken();return u!==209030&&e.tokenValue!=="meta"?e.report(174):u&-2147483648&&e.report(175),e.assignable=2,e.finishNode({type:"MetaProperty",meta:n,property:F(e,t)},i)}function J2(e,t,n,i,u){k(e,t|32,67174411),e.getToken()===14&&e.report(143);let o=q(e,t,n,1,i,e.tokenStart),l=null;if(e.getToken()===18){if(k(e,t,18),e.getToken()!==16){let c=(t|131072)^131072;l=q(e,c,n,1,i,e.tokenStart)}A(e,t,18)}let f={type:"ImportExpression",source:o,options:l};return k(e,t,16),e.finishNode(f,u)}function He(e,t){if(!A(e,t,20579))return[];k(e,t,2162700);let n=[],i=new Set;for(;e.getToken()!==1074790415;){let u=e.tokenStart,o=Sn(e,t);k(e,t,21);let l=Bn(e,t),f=o.type==="Literal"?o.value:o.name;i.has(f)&&e.report(145,`${f}`),i.add(f),n.push(e.finishNode({type:"ImportAttribute",key:o,value:l},u)),e.getToken()!==1074790415&&k(e,t,18)}return k(e,t,1074790415),n}function Bn(e,t){if(e.getToken()===134283267)return V(e,t);e.report(30,B[e.getToken()&255])}function Sn(e,t){if(e.getToken()===134283267)return V(e,t);if(e.getToken()&143360)return F(e,t);e.report(30,B[e.getToken()&255])}function Fn(e,t){let n=t.length;for(let i=0;i56319||++i>=n||(t.charCodeAt(i)&64512)!==56320)&&e.report(171,JSON.stringify(t.charAt(i--)))}}function ye(e,t){if(e.getToken()===134283267)return Fn(e,e.tokenValue),V(e,t);if(e.getToken()&143360)return F(e,t);e.report(30,B[e.getToken()&255])}function j2(e,t){let{tokenRaw:n,tokenValue:i,tokenStart:u}=e;m(e,t),e.assignable=2;let o={type:"Literal",value:i,bigint:String(i)};return e.options.raw&&(o.raw=n),e.finishNode(o,u)}function pe(e,t){e.assignable=2;let{tokenValue:n,tokenRaw:i,tokenStart:u}=e;k(e,t,67174409);let o=[De(e,n,i,u,!0)];return e.finishNode({type:"TemplateLiteral",expressions:[],quasis:o},u)}function e2(e,t,n){t=(t|131072)^131072;let{tokenValue:i,tokenRaw:u,tokenStart:o}=e;k(e,t&-65|32,67174408);let l=[De(e,i,u,o,!1)],f=[P(e,t&-65,n,0,1,e.tokenStart)];for(e.getToken()!==1074790415&&e.report(83);e.setToken(qt(e,t),!0)!==67174409;){let{tokenValue:c,tokenRaw:d,tokenStart:s}=e;k(e,t&-65|32,67174408),l.push(De(e,c,d,s,!1)),f.push(P(e,t,n,0,1,e.tokenStart)),e.getToken()!==1074790415&&e.report(83)}{let{tokenValue:c,tokenRaw:d,tokenStart:s}=e;k(e,t,67174409),l.push(De(e,c,d,s,!0))}return e.finishNode({type:"TemplateLiteral",expressions:f,quasis:l},o)}function De(e,t,n,i,u){let o=e.finishNode({type:"TemplateElement",value:{cooked:t,raw:n},tail:u},i),l=u?1:2;return e.options.ranges&&(o.start+=1,o.range[0]+=1,o.end-=l,o.range[1]-=l),e.options.loc&&(o.loc.start.column+=1,o.loc.end.column-=l),o}function qn(e,t,n){let i=e.tokenStart;t=(t|131072)^131072,k(e,t|32,14);let u=q(e,t,n,1,0,e.tokenStart);return e.assignable=1,e.finishNode({type:"SpreadElement",argument:u},i)}function t2(e,t,n,i){m(e,t|32);let u=[];if(e.getToken()===16)return m(e,t|64),u;for(;e.getToken()!==16&&(e.getToken()===14?u.push(qn(e,t,n)):u.push(q(e,t,n,1,i,e.tokenStart)),!(e.getToken()!==18||(m(e,t|32),e.getToken()===16))););return k(e,t|64,16),u}function F(e,t){let{tokenValue:n,tokenStart:i}=e,u=n==="await"&&(e.getToken()&-2147483648)===0;return m(e,t|(u?32:0)),e.finishNode({type:"Identifier",name:n},i)}function V(e,t){let{tokenValue:n,tokenRaw:i,tokenStart:u}=e;return e.getToken()===134283388?j2(e,t):(m(e,t),e.assignable=2,e.finishNode(e.options.raw?{type:"Literal",value:n,raw:i}:{type:"Literal",value:n},u))}function In(e,t){let n=e.tokenStart,i=B[e.getToken()&255],u=e.getToken()===86023?null:i==="true";return m(e,t),e.assignable=2,e.finishNode(e.options.raw?{type:"Literal",value:u,raw:i}:{type:"Literal",value:u},n)}function Ln(e,t){let{tokenStart:n}=e;return m(e,t),e.assignable=2,e.finishNode({type:"ThisExpression"},n)}function G(e,t,n,i,u,o,l,f,c){m(e,t|32);let d=o?Ke(e,t,8391476):0,s=null,g,a=n?e.createScope():void 0;if(e.getToken()===67174411)l&1||e.report(39,"Function");else{let D=u&4&&(!(t&8)||!(t&2))?4:64|(f?1024:0)|(d?1024:0);q2(e,t,e.getToken()),n&&(D&4?n.addVarName(t,e.tokenValue,D):n.addBlockName(t,e.tokenValue,D,u),a=a?.createChildScope(128),l&&l&2&&e.declareUnboundVariable(e.tokenValue)),g=e.getToken(),e.getToken()&143360?s=F(e,t):e.report(30,B[e.getToken()&255])}t=(t|28416)^28416|65536|(f?2048:0)|(d?1024:0)|(d?0:262144),a=a?.createChildScope(256);let b=H2(e,(t|8192)&-524289,a,i,0,1),y=524428,E=Ie(e,(t|y)^y|32768|4096,a?.createChildScope(64),i,8,g,a);return e.finishNode({type:"FunctionDeclaration",id:s,params:b,body:E,async:f===1,generator:d===1},c)}function X2(e,t,n,i,u,o){m(e,t|32);let l=Ke(e,t,8391476),f=(i?2048:0)|(l?1024:0),c=null,d,s=e.createScopeIfLexical(),g=552704;e.getToken()&143360&&(q2(e,(t|g)^g|f,e.getToken()),s=s?.createChildScope(128),d=e.getToken(),c=F(e,t)),t=(t|g)^g|65536|f|(l?0:262144),s=s?.createChildScope(256);let a=H2(e,(t|8192)&-524289,s,n,u,1),b=Ie(e,t&-131229|32768|4096,s?.createChildScope(64),n,0,d,s);return e.assignable=2,e.finishNode({type:"FunctionExpression",id:c,params:a,body:b,async:i===1,generator:l===1},o)}function Nn(e,t,n,i,u){let o=j(e,t,void 0,n,i,u,0,2,0);return e.destructible&64&&e.report(63),e.destructible&8&&e.report(62),o}function j(e,t,n,i,u,o,l,f,c){let{tokenStart:d}=e;m(e,t|32);let s=[],g=0;for(t=(t|131072)^131072;e.getToken()!==20;)if(A(e,t|32,18))s.push(null);else{let b,{tokenStart:y,tokenValue:E}=e,D=e.getToken();if(D&143360)if(b=M(e,t,i,f,0,1,o,1,y),e.getToken()===1077936155){e.assignable&2&&e.report(26),m(e,t|32),n?.addVarOrBlock(t,E,f,c);let w=q(e,t,i,1,o,e.tokenStart);b=e.finishNode(l?{type:"AssignmentPattern",left:b,right:w}:{type:"AssignmentExpression",operator:"=",left:b,right:w},y),g|=e.destructible&256?256:0|e.destructible&128?128:0}else e.getToken()===18||e.getToken()===20?(e.assignable&2?g|=16:n?.addVarOrBlock(t,E,f,c),g|=e.destructible&256?256:0|e.destructible&128?128:0):(g|=f&1?32:f&2?0:16,b=S(e,t,i,b,o,0,y),e.getToken()!==18&&e.getToken()!==20?(e.getToken()!==1077936155&&(g|=16),b=I(e,t,i,o,l,y,b)):e.getToken()!==1077936155&&(g|=e.assignable&2?16:32));else D&2097152?(b=e.getToken()===2162700?X(e,t,n,i,0,o,l,f,c):j(e,t,n,i,0,o,l,f,c),g|=e.destructible,e.assignable=e.destructible&16?2:1,e.getToken()===18||e.getToken()===20?e.assignable&2&&(g|=16):e.destructible&8?e.report(71):(b=S(e,t,i,b,o,0,y),g=e.assignable&2?16:0,e.getToken()!==18&&e.getToken()!==20?b=I(e,t,i,o,l,y,b):e.getToken()!==1077936155&&(g|=e.assignable&2?16:32))):D===14?(b=ue(e,t,n,i,20,f,c,0,o,l),g|=e.destructible,e.getToken()!==18&&e.getToken()!==20&&e.report(30,B[e.getToken()&255])):(b=J(e,t,i,1,0,1),e.getToken()!==18&&e.getToken()!==20?(b=I(e,t,i,o,l,y,b),!(f&3)&&D===67174411&&(g|=16)):e.assignable&2?g|=16:D===67174411&&(g|=e.assignable&1&&f&3?32:16));if(s.push(b),A(e,t|32,18)){if(e.getToken()===20)break}else break}k(e,t,20);let a=e.finishNode({type:l?"ArrayPattern":"ArrayExpression",elements:s},d);return!u&&e.getToken()&4194304?z2(e,t,i,g,o,l,d,a):(e.destructible=g,a)}function z2(e,t,n,i,u,o,l,f){e.getToken()!==1077936155&&e.report(26),m(e,t|32),i&16&&e.report(26),o||H(e,f);let{tokenStart:c}=e,d=q(e,t,n,1,u,c);return e.destructible=(i|64|8)^72|(e.destructible&128?128:0)|(e.destructible&256?256:0),e.finishNode(o?{type:"AssignmentPattern",left:f,right:d}:{type:"AssignmentExpression",left:f,operator:"=",right:d},l)}function ue(e,t,n,i,u,o,l,f,c,d){let{tokenStart:s}=e;m(e,t|32);let g=null,a=0,{tokenValue:b,tokenStart:y}=e,E=e.getToken();if(E&143360)e.assignable=1,g=M(e,t,i,o,0,1,c,1,y),E=e.getToken(),g=S(e,t,i,g,c,0,y),e.getToken()!==18&&e.getToken()!==u&&(e.assignable&2&&e.getToken()===1077936155&&e.report(71),a|=16,g=I(e,t,i,c,d,y,g)),e.assignable&2?a|=16:E===u||E===18?n?.addVarOrBlock(t,b,o,l):a|=32,a|=e.destructible&128?128:0;else if(E===u)e.report(41);else if(E&2097152)g=e.getToken()===2162700?X(e,t,n,i,1,c,d,o,l):j(e,t,n,i,1,c,d,o,l),E=e.getToken(),E!==1077936155&&E!==u&&E!==18?(e.destructible&8&&e.report(71),g=S(e,t,i,g,c,0,y),a|=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?(e.getToken()!==1077936155&&(a|=16),g=I(e,t,i,c,d,y,g)):((e.getToken()&8388608)===8388608&&(g=x(e,t,i,1,y,4,E,g)),A(e,t|32,22)&&(g=p(e,t,i,g,y)),a|=e.assignable&2?16:32)):a|=u===1074790415&&E!==1077936155?16:e.destructible;else{a|=32,g=J(e,t,i,1,c,1);let{tokenStart:D}=e,w=e.getToken();return w===1077936155?(e.assignable&2&&e.report(26),g=I(e,t,i,c,d,D,g),a|=16):(w===18?a|=16:w!==u&&(g=I(e,t,i,c,d,D,g)),a|=e.assignable&1?32:16),e.destructible=a,e.getToken()!==u&&e.getToken()!==18&&e.report(161),e.finishNode({type:d?"RestElement":"SpreadElement",argument:g},s)}if(e.getToken()!==u)if(o&1&&(a|=f?16:32),A(e,t|32,1077936155)){a&16&&e.report(26),H(e,g);let D=q(e,t,i,1,c,e.tokenStart);g=e.finishNode(d?{type:"AssignmentPattern",left:g,right:D}:{type:"AssignmentExpression",left:g,operator:"=",right:D},y),a=16}else a|=16;return e.destructible=a,e.finishNode({type:d?"RestElement":"SpreadElement",argument:g},s)}function z(e,t,n,i,u,o){let l=11264|(i&64?0:16896);t=(t|l)^l|(i&8?1024:0)|(i&16?2048:0)|(i&64?16384:0)|256|32768|65536;let f=e.createScopeIfLexical(256),c=On(e,(t|8192)&-524289,f,n,i,1,u);f=f?.createChildScope(64);let d=Ie(e,t&-655373|32768|4096,f,n,0,void 0,f?.parent);return e.finishNode({type:"FunctionExpression",params:c,body:d,async:(i&16)>0,generator:(i&8)>0,id:null},o)}function Vn(e,t,n,i,u){let o=X(e,t,void 0,n,i,u,0,2,0);return e.destructible&64&&e.report(63),e.destructible&8&&e.report(62),o}function X(e,t,n,i,u,o,l,f,c){let{tokenStart:d}=e;m(e,t);let s=[],g=0,a=0;for(t=(t|131072)^131072;e.getToken()!==1074790415;){let{tokenValue:y,tokenStart:E}=e,D=e.getToken();if(D===14)s.push(ue(e,t,n,i,1074790415,f,c,0,o,l));else{let w=0,O=null,r;if(e.getToken()&143360||e.getToken()===-2147483528||e.getToken()===-2147483527)if(e.getToken()===-2147483527&&(g|=16),O=F(e,t),e.getToken()===18||e.getToken()===1074790415||e.getToken()===1077936155)if(w|=4,t&1&&(D&537079808)===537079808?g|=16:Ce(e,t,f,D,0),n?.addVarOrBlock(t,y,f,c),A(e,t|32,1077936155)){g|=8;let C=q(e,t,i,1,o,e.tokenStart);g|=e.destructible&256?256:0|e.destructible&128?128:0,r=e.finishNode({type:"AssignmentPattern",left:e.options.uniqueKeyInPattern?Object.assign({},O):O,right:C},E)}else g|=(D===209006?128:0)|(D===-2147483528?16:0),r=e.options.uniqueKeyInPattern?Object.assign({},O):O;else if(A(e,t|32,21)){let{tokenStart:C}=e;if(y==="__proto__"&&a++,e.getToken()&143360){let le=e.getToken(),K=e.tokenValue;r=M(e,t,i,f,0,1,o,1,C);let _=e.getToken();r=S(e,t,i,r,o,0,C),e.getToken()===18||e.getToken()===1074790415?_===1077936155||_===1074790415||_===18?(g|=e.destructible&128?128:0,e.assignable&2?g|=16:(le&143360)===143360&&n?.addVarOrBlock(t,K,f,c)):g|=e.assignable&1?32:16:(e.getToken()&4194304)===4194304?(e.assignable&2?g|=16:_!==1077936155?g|=32:n?.addVarOrBlock(t,K,f,c),r=I(e,t,i,o,l,C,r)):(g|=16,(e.getToken()&8388608)===8388608&&(r=x(e,t,i,1,C,4,_,r)),A(e,t|32,22)&&(r=p(e,t,i,r,C)))}else(e.getToken()&2097152)===2097152?(r=e.getToken()===69271571?j(e,t,n,i,0,o,l,f,c):X(e,t,n,i,0,o,l,f,c),g=e.destructible,e.assignable=g&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(g|=16):e.destructible&8?e.report(71):(r=S(e,t,i,r,o,0,C),g=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?r=ke(e,t,i,o,l,C,r):((e.getToken()&8388608)===8388608&&(r=x(e,t,i,1,C,4,D,r)),A(e,t|32,22)&&(r=p(e,t,i,r,C)),g|=e.assignable&2?16:32))):(r=J(e,t,i,1,o,1),g|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(g|=16):(r=S(e,t,i,r,o,0,C),g=e.assignable&2?16:0,e.getToken()!==18&&D!==1074790415&&(e.getToken()!==1077936155&&(g|=16),r=I(e,t,i,o,l,C,r))))}else e.getToken()===69271571?(g|=16,D===209005&&(w|=16),w|=(D===209008?256:D===209009?512:1)|2,O=te(e,t,i,o),g|=e.assignable,r=z(e,t,i,w,o,e.tokenStart)):e.getToken()&143360?(g|=16,D===-2147483528&&e.report(95),D===209005?(e.flags&1&&e.report(132),w|=17):D===209008?w|=256:D===209009?w|=512:e.report(0),O=F(e,t),r=z(e,t,i,w,o,e.tokenStart)):e.getToken()===67174411?(g|=16,w|=1,r=z(e,t,i,w,o,e.tokenStart)):e.getToken()===8391476?(g|=16,D===209008?e.report(42):D===209009?e.report(43):D!==209005&&e.report(30,B[52]),m(e,t),w|=9|(D===209005?16:0),e.getToken()&143360?O=F(e,t):(e.getToken()&134217728)===134217728?O=V(e,t):e.getToken()===69271571?(w|=2,O=te(e,t,i,o),g|=e.assignable):e.report(30,B[e.getToken()&255]),r=z(e,t,i,w,o,e.tokenStart)):(e.getToken()&134217728)===134217728?(D===209005&&(w|=16),w|=D===209008?256:D===209009?512:1,g|=16,O=V(e,t),r=z(e,t,i,w,o,e.tokenStart)):e.report(133);else if((e.getToken()&134217728)===134217728)if(O=V(e,t),e.getToken()===21){k(e,t|32,21);let{tokenStart:C}=e;if(y==="__proto__"&&a++,e.getToken()&143360){r=M(e,t,i,f,0,1,o,1,C);let{tokenValue:le}=e,K=e.getToken();r=S(e,t,i,r,o,0,C),e.getToken()===18||e.getToken()===1074790415?K===1077936155||K===1074790415||K===18?e.assignable&2?g|=16:n?.addVarOrBlock(t,le,f,c):g|=e.assignable&1?32:16:e.getToken()===1077936155?(e.assignable&2&&(g|=16),r=I(e,t,i,o,l,C,r)):(g|=16,r=I(e,t,i,o,l,C,r))}else(e.getToken()&2097152)===2097152?(r=e.getToken()===69271571?j(e,t,n,i,0,o,l,f,c):X(e,t,n,i,0,o,l,f,c),g=e.destructible,e.assignable=g&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(g|=16):(e.destructible&8)!==8&&(r=S(e,t,i,r,o,0,C),g=e.assignable&2?16:0,(e.getToken()&4194304)===4194304?r=ke(e,t,i,o,l,C,r):((e.getToken()&8388608)===8388608&&(r=x(e,t,i,1,C,4,D,r)),A(e,t|32,22)&&(r=p(e,t,i,r,C)),g|=e.assignable&2?16:32))):(r=J(e,t,i,1,0,1),g|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(g|=16):(r=S(e,t,i,r,o,0,C),g=e.assignable&1?0:16,e.getToken()!==18&&e.getToken()!==1074790415&&(e.getToken()!==1077936155&&(g|=16),r=I(e,t,i,o,l,C,r))))}else e.getToken()===67174411?(w|=1,r=z(e,t,i,w,o,e.tokenStart),g=e.assignable|16):e.report(134);else if(e.getToken()===69271571)if(O=te(e,t,i,o),g|=e.destructible&256?256:0,w|=2,e.getToken()===21){m(e,t|32);let{tokenStart:C,tokenValue:le}=e,K=e.getToken();if(e.getToken()&143360){r=M(e,t,i,f,0,1,o,1,C);let _=e.getToken();r=S(e,t,i,r,o,0,C),(e.getToken()&4194304)===4194304?(g|=e.assignable&2?16:_===1077936155?0:32,r=ke(e,t,i,o,l,C,r)):e.getToken()===18||e.getToken()===1074790415?_===1077936155||_===1074790415||_===18?e.assignable&2?g|=16:(K&143360)===143360&&n?.addVarOrBlock(t,le,f,c):g|=e.assignable&1?32:16:(g|=16,r=I(e,t,i,o,l,C,r))}else(e.getToken()&2097152)===2097152?(r=e.getToken()===69271571?j(e,t,n,i,0,o,l,f,c):X(e,t,n,i,0,o,l,f,c),g=e.destructible,e.assignable=g&16?2:1,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(g|=16):g&8?e.report(62):(r=S(e,t,i,r,o,0,C),g=e.assignable&2?g|16:0,(e.getToken()&4194304)===4194304?(e.getToken()!==1077936155&&(g|=16),r=ke(e,t,i,o,l,C,r)):((e.getToken()&8388608)===8388608&&(r=x(e,t,i,1,C,4,D,r)),A(e,t|32,22)&&(r=p(e,t,i,r,C)),g|=e.assignable&2?16:32))):(r=J(e,t,i,1,0,1),g|=e.assignable&1?32:16,e.getToken()===18||e.getToken()===1074790415?e.assignable&2&&(g|=16):(r=S(e,t,i,r,o,0,C),g=e.assignable&1?0:16,e.getToken()!==18&&e.getToken()!==1074790415&&(e.getToken()!==1077936155&&(g|=16),r=I(e,t,i,o,l,C,r))))}else e.getToken()===67174411?(w|=1,r=z(e,t,i,w,o,e.tokenStart),g=16):e.report(44);else if(D===8391476)if(k(e,t|32,8391476),w|=8,e.getToken()&143360){let C=e.getToken();if(O=F(e,t),w|=1,e.getToken()===67174411)g|=16,r=z(e,t,i,w,o,e.tokenStart);else throw new L(e.tokenStart,e.currentLocation,C===209005?46:C===209008||e.getToken()===209009?45:47,B[C&255])}else(e.getToken()&134217728)===134217728?(g|=16,O=V(e,t),w|=1,r=z(e,t,i,w,o,e.tokenStart)):e.getToken()===69271571?(g|=16,w|=3,O=te(e,t,i,o),r=z(e,t,i,w,o,e.tokenStart)):e.report(126);else e.report(30,B[D&255]);g|=e.destructible&128?128:0,e.destructible=g,s.push(e.finishNode({type:"Property",key:O,value:r,kind:w&768?w&512?"set":"get":"init",computed:(w&2)>0,method:(w&1)>0,shorthand:(w&4)>0},E))}if(g|=e.destructible,e.getToken()!==18)break;m(e,t)}k(e,t,1074790415),a>1&&(g|=64);let b=e.finishNode({type:l?"ObjectPattern":"ObjectExpression",properties:s},d);return!u&&e.getToken()&4194304?z2(e,t,i,g,o,l,d,b):(e.destructible=g,b)}function On(e,t,n,i,u,o,l){k(e,t,67174411);let f=[];if(e.flags=(e.flags|128)^128,e.getToken()===16)return u&512&&e.report(37,"Setter","one",""),m(e,t),f;u&256&&e.report(37,"Getter","no","s"),u&512&&e.getToken()===14&&e.report(38),t=(t|131072)^131072;let c=0,d=0;for(;e.getToken()!==18;){let s=null,{tokenStart:g}=e;if(e.getToken()&143360?(t&1||((e.getToken()&36864)===36864&&(e.flags|=256),(e.getToken()&537079808)===537079808&&(e.flags|=512)),s=u2(e,t,n,u|1,0)):(e.getToken()===2162700?s=X(e,t,n,i,1,l,1,o,0):e.getToken()===69271571?s=j(e,t,n,i,1,l,1,o,0):e.getToken()===14&&(s=ue(e,t,n,i,16,o,0,0,l,1)),d=1,e.destructible&48&&e.report(50)),e.getToken()===1077936155){m(e,t|32),d=1;let a=q(e,t,i,1,0,e.tokenStart);s=e.finishNode({type:"AssignmentPattern",left:s,right:a},g)}if(c++,f.push(s),!A(e,t,18)||e.getToken()===16)break}return u&512&&c!==1&&e.report(37,"Setter","one",""),n?.reportScopeError(),d&&(e.flags|=128),k(e,t,16),f}function te(e,t,n,i){m(e,t|32);let u=q(e,(t|131072)^131072,n,1,i,e.tokenStart);return k(e,t,20),u}function Pn(e,t,n,i,u,o,l){e.flags=(e.flags|128)^128;let f=e.tokenStart;m(e,t|32|262144);let c=e.createScopeIfLexical()?.createChildScope(512);if(t=(t|131072)^131072,A(e,t,16))return Te(e,t,c,n,[],i,0,l);let d=0;e.destructible&=-385;let s,g=[],a=0,b=0,y=0,E=e.tokenStart;for(e.assignable=1;e.getToken()!==16;){let{tokenStart:D}=e,w=e.getToken();if(w&143360)c?.addBlockName(t,e.tokenValue,1,0),(w&537079808)===537079808?b=1:(w&36864)===36864&&(y=1),s=M(e,t,n,u,0,1,1,1,D),e.getToken()===16||e.getToken()===18?e.assignable&2&&(d|=16,b=1):(e.getToken()===1077936155?b=1:d|=16,s=S(e,t,n,s,1,0,D),e.getToken()!==16&&e.getToken()!==18&&(s=I(e,t,n,1,0,D,s)));else if((w&2097152)===2097152)s=w===2162700?X(e,t|262144,c,n,0,1,0,u,o):j(e,t|262144,c,n,0,1,0,u,o),d|=e.destructible,b=1,e.assignable=2,e.getToken()!==16&&e.getToken()!==18&&(d&8&&e.report(122),s=S(e,t,n,s,0,0,D),d|=16,e.getToken()!==16&&e.getToken()!==18&&(s=I(e,t,n,0,0,D,s)));else if(w===14){s=ue(e,t,c,n,16,u,o,0,1,0),e.destructible&16&&e.report(74),b=1,a&&(e.getToken()===16||e.getToken()===18)&&g.push(s),d|=8;break}else{if(d|=16,s=q(e,t,n,1,1,D),a&&(e.getToken()===16||e.getToken()===18)&&g.push(s),e.getToken()===18&&(a||(a=1,g=[s])),a){for(;A(e,t|32,18);)g.push(q(e,t,n,1,1,e.tokenStart));e.assignable=2,s=e.finishNode({type:"SequenceExpression",expressions:g},E)}return k(e,t,16),e.destructible=d,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:s},f):s}if(a&&(e.getToken()===16||e.getToken()===18)&&g.push(s),!A(e,t|32,18))break;if(a||(a=1,g=[s]),e.getToken()===16){d|=8;break}}return a&&(e.assignable=2,s=e.finishNode({type:"SequenceExpression",expressions:g},E)),k(e,t,16),d&16&&d&8&&e.report(151),d|=e.destructible&256?256:0|e.destructible&128?128:0,e.getToken()===10?(d&48&&e.report(49),t&2050&&d&128&&e.report(31),t&1025&&d&256&&e.report(32),b&&(e.flags|=128),y&&(e.flags|=256),Te(e,t,c,n,a?g:[s],i,0,l)):(d&64&&e.report(63),d&8&&e.report(144),e.destructible=(e.destructible|256)^256|d,e.options.preserveParens?e.finishNode({type:"ParenthesizedExpression",expression:s},f):s)}function n2(e,t,n){let{tokenStart:i}=e,{tokenValue:u}=e,o=0,l=0;(e.getToken()&537079808)===537079808?o=1:(e.getToken()&36864)===36864&&(l=1);let f=F(e,t);if(e.assignable=1,e.getToken()===10){let c=e.options.lexical?qe(e,t,u):void 0;return o&&(e.flags|=128),l&&(e.flags|=256),ae(e,t,c,n,[f],0,i)}return f}function Le(e,t,n,i,u,o,l,f,c){l||e.report(57),o&&e.report(51),e.flags&=-129;let d=e.options.lexical?qe(e,t,i):void 0;return ae(e,t,d,n,[u],f,c)}function Te(e,t,n,i,u,o,l,f){o||e.report(57);for(let c=0;c0&&e.tokenValue==="constructor"&&e.report(109),e.getToken()===1074790415&&e.report(108),A(e,t,1074790417)){y.length>0&&e.report(120);continue}a.push(W2(e,t,i,d,n,o,y,0,f,y.length>0?b:e.tokenStart))}return k(e,l&8?t|32:t,1074790415),d?.validatePrivateIdentifierRefs(),e.flags=e.flags&-33|g,e.finishNode({type:"ClassBody",body:a},c)}function W2(e,t,n,i,u,o,l,f,c,d){let s=f?32:0,g=null,a=e.getToken();if(a&176128||a===-2147483528)switch(g=F(e,t),a){case 36970:if(!f&&e.getToken()!==67174411&&(e.getToken()&1048576)!==1048576&&e.getToken()!==1077936155)return W2(e,t,n,i,u,o,l,1,c,d);break;case 209005:if(e.getToken()!==67174411&&!(e.flags&1)){if((e.getToken()&1073741824)===1073741824)return fe(e,t,i,g,s,l,d);s|=16|(Ke(e,t,8391476)?8:0)}break;case 209008:if(e.getToken()!==67174411){if((e.getToken()&1073741824)===1073741824)return fe(e,t,i,g,s,l,d);s|=256}break;case 209009:if(e.getToken()!==67174411){if((e.getToken()&1073741824)===1073741824)return fe(e,t,i,g,s,l,d);s|=512}break;case 12402:if(e.getToken()!==67174411&&!(e.flags&1)){if((e.getToken()&1073741824)===1073741824)return fe(e,t,i,g,s,l,d);e.options.next&&(s|=1024)}break}else if(a===69271571)s|=2,g=te(e,u,i,c);else if((a&134217728)===134217728)g=V(e,t);else if(a===8391476)s|=8,m(e,t);else if(e.getToken()===130)s|=8192,g=Be(e,t|16,i,768);else if((e.getToken()&1073741824)===1073741824)s|=128;else{if(f&&a===2162700)return sn(e,t|16,n,i,d);a===-2147483527?(g=F(e,t),e.getToken()!==67174411&&e.report(30,B[e.getToken()&255])):e.report(30,B[e.getToken()&255])}if(s&1816&&(e.getToken()&143360||e.getToken()===-2147483528||e.getToken()===-2147483527?g=F(e,t):(e.getToken()&134217728)===134217728?g=V(e,t):e.getToken()===69271571?(s|=2,g=te(e,t,i,0)):e.getToken()===130?(s|=8192,g=Be(e,t,i,s)):e.report(135)),s&2||(e.tokenValue==="constructor"?((e.getToken()&1073741824)===1073741824?e.report(129):!(s&32)&&e.getToken()===67174411&&(s&920?e.report(53,"accessor"):t&512||(e.flags&32?e.report(54):e.flags|=32)),s|=64):!(s&8192)&&s&32&&e.tokenValue==="prototype"&&e.report(52)),s&1024||e.getToken()!==67174411&&!(s&768))return fe(e,t,i,g,s,l,d);let b=z(e,t|16,i,s,c,e.tokenStart);return e.finishNode({type:"MethodDefinition",kind:!(s&32)&&s&64?"constructor":s&256?"get":s&512?"set":"method",static:(s&32)>0,computed:(s&2)>0,key:g,value:b,...e.options.next?{decorators:l}:null},d)}function Be(e,t,n,i){let{tokenStart:u}=e;m(e,t);let{tokenValue:o}=e;return o==="constructor"&&e.report(128),e.options.lexical&&(n||e.report(4,o),i?n.addPrivateIdentifier(o,i):n.addPrivateIdentifierRef(o)),m(e,t),e.finishNode({type:"PrivateIdentifier",name:o},u)}function fe(e,t,n,i,u,o,l){let f=null;if(u&8&&e.report(0),e.getToken()===1077936155){m(e,t|32);let{tokenStart:c}=e;e.getToken()===537079927&&e.report(119);let d=11264|(u&64?0:16896);t=(t|d)^d|(u&8?1024:0)|(u&16?2048:0)|(u&64?16384:0)|256|65536,f=M(e,t|16,n,2,0,1,0,1,c),((e.getToken()&1073741824)!==1073741824||(e.getToken()&4194304)===4194304)&&(f=S(e,t|16,n,f,0,0,c),f=I(e,t|16,n,0,0,c,f))}return R(e,t),e.finishNode({type:u&1024?"AccessorProperty":"PropertyDefinition",key:i,value:f,static:(u&32)>0,computed:(u&2)>0,...e.options.next?{decorators:o}:null},l)}function Y2(e,t,n,i,u,o){if(e.getToken()&143360||!(t&1)&&e.getToken()===-2147483527)return u2(e,t,n,u,o);(e.getToken()&2097152)!==2097152&&e.report(30,B[e.getToken()&255]);let l=e.getToken()===69271571?j(e,t,n,i,1,0,1,u,o):X(e,t,n,i,1,0,1,u,o);return e.destructible&16&&e.report(50),e.destructible&32&&e.report(50),l}function u2(e,t,n,i,u){let o=e.getToken();t&1&&((o&537079808)===537079808?e.report(119):((o&36864)===36864||o===-2147483527)&&e.report(118)),(o&20480)===20480&&e.report(102),o===241771&&(t&1024&&e.report(32),t&2&&e.report(111)),(o&255)===73&&i&24&&e.report(100),o===209006&&(t&2048&&e.report(176),t&2&&e.report(110));let{tokenValue:l,tokenStart:f}=e;return m(e,t),n?.addVarOrBlock(t,l,i,u),e.finishNode({type:"Identifier",name:l},f)}function Ve(e,t,n,i,u){if(i||k(e,t,8456256),e.getToken()===8390721){let c=jn(e,u),[d,s]=$n(e,t,n,i);return e.finishNode({type:"JSXFragment",openingFragment:c,children:d,closingFragment:s},u)}e.getToken()===8457014&&e.report(30,B[e.getToken()&255]);let o=null,l=[],f=Yn(e,t,n,i,u);if(!f.selfClosing){[l,o]=Hn(e,t,n,i);let c=Ee(o.name);Ee(f.name)!==c&&e.report(155,c)}return e.finishNode({type:"JSXElement",children:l,openingElement:f,closingElement:o},u)}function jn(e,t){return ge(e),e.finishNode({type:"JSXOpeningFragment"},t)}function Xn(e,t,n,i){k(e,t,8457014);let u=Z2(e,t);return e.getToken()!==8390721&&e.report(25,B[65]),n?ge(e):m(e,t),e.finishNode({type:"JSXClosingElement",name:u},i)}function zn(e,t,n,i){return k(e,t,8457014),e.getToken()!==8390721&&e.report(25,B[65]),n?ge(e):m(e,t),e.finishNode({type:"JSXClosingFragment"},i)}function Hn(e,t,n,i){let u=[];for(;;){let o=_n(e,t,n,i);if(o.type==="JSXClosingElement")return[u,o];u.push(o)}}function $n(e,t,n,i){let u=[];for(;;){let o=Wn(e,t,n,i);if(o.type==="JSXClosingFragment")return[u,o];u.push(o)}}function _n(e,t,n,i){if(e.getToken()===137)return K2(e,t);if(e.getToken()===2162700)return o2(e,t,n,1,0);if(e.getToken()===8456256){let{tokenStart:u}=e;return m(e,t),e.getToken()===8457014?Xn(e,t,i,u):Ve(e,t,n,1,u)}e.report(0)}function Wn(e,t,n,i){if(e.getToken()===137)return K2(e,t);if(e.getToken()===2162700)return o2(e,t,n,1,0);if(e.getToken()===8456256){let{tokenStart:u}=e;return m(e,t),e.getToken()===8457014?zn(e,t,i,u):Ve(e,t,n,1,u)}e.report(0)}function K2(e,t){let n=e.tokenStart;m(e,t);let i={type:"JSXText",value:e.tokenValue};return e.options.raw&&(i.raw=e.tokenRaw),e.finishNode(i,n)}function Yn(e,t,n,i,u){(e.getToken()&143360)!==143360&&(e.getToken()&4096)!==4096&&e.report(0);let o=Z2(e,t),l=Zn(e,t,n),f=e.getToken()===8457014;return f&&k(e,t,8457014),e.getToken()!==8390721&&e.report(25,B[65]),i||!f?ge(e):m(e,t),e.finishNode({type:"JSXOpeningElement",name:o,attributes:l,selfClosing:f},u)}function Z2(e,t){let{tokenStart:n}=e;Me(e);let i=Oe(e,t);if(e.getToken()===21)return Q2(e,t,i,n);for(;A(e,t,67108877);)Me(e),i=Kn(e,t,i,n);return i}function Kn(e,t,n,i){let u=Oe(e,t);return e.finishNode({type:"JSXMemberExpression",object:n,property:u},i)}function Zn(e,t,n){let i=[];for(;e.getToken()!==8457014&&e.getToken()!==8390721&&e.getToken()!==1048576;)i.push(xn(e,t,n));return i}function Qn(e,t,n){let i=e.tokenStart;m(e,t),k(e,t,14);let u=q(e,t,n,1,0,e.tokenStart);return k(e,t,1074790415),e.finishNode({type:"JSXSpreadAttribute",argument:u},i)}function xn(e,t,n){let{tokenStart:i}=e;if(e.getToken()===2162700)return Qn(e,t,n);Me(e);let u=null,o=Oe(e,t);if(e.getToken()===21&&(o=Q2(e,t,o,i)),e.getToken()===1077936155)switch(jt(e,t)){case 134283267:u=V(e,t);break;case 8456256:u=Ve(e,t,n,0,e.tokenStart);break;case 2162700:u=o2(e,t,n,0,1);break;default:e.report(154)}return e.finishNode({type:"JSXAttribute",value:u,name:o},i)}function Q2(e,t,n,i){k(e,t,21);let u=Oe(e,t);return e.finishNode({type:"JSXNamespacedName",namespace:n,name:u},i)}function o2(e,t,n,i,u){let{tokenStart:o}=e;m(e,t|32);let{tokenStart:l}=e;if(e.getToken()===14)return Gn(e,t,n,o);let f=null;return e.getToken()===1074790415?(u&&e.report(157),f=pn(e,{index:e.startIndex,line:e.startLine,column:e.startColumn})):f=q(e,t,n,1,0,l),e.getToken()!==1074790415&&e.report(25,B[15]),i?ge(e):m(e,t),e.finishNode({type:"JSXExpressionContainer",expression:f},o)}function Gn(e,t,n,i){k(e,t,14);let u=q(e,t,n,1,0,e.tokenStart);return k(e,t,1074790415),e.finishNode({type:"JSXSpreadChild",expression:u},i)}function pn(e,t){return e.finishNode({type:"JSXEmptyExpression"},t,e.tokenStart)}function Oe(e,t){let n=e.tokenStart;e.getToken()&143360||e.report(30,B[e.getToken()&255]);let{tokenValue:i}=e;return m(e,t),e.finishNode({type:"JSXIdentifier",name:i},n)}function Pe(e,t){return _t(e,t)}var D2,yt,w2,T,At,A2,C2,Q,N,It,L,B,S2,Rt,vt,Ut,Je,je,Xe,l2=Z(()=>{D2=((e,t)=>{let n=new Uint32Array(69632),i=0,u=0;for(;i<2571;){let o=e[i++];if(o<0)u-=o;else{let l=e[i++];o&2&&(l=t[l]),o&1?n.fill(l,u,u+=e[i++]):n[u++]=l}}return n})([-1,2,26,2,27,2,5,-1,0,77595648,3,44,2,3,0,14,2,63,2,64,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,41,3,0,4,0,4294966523,3,0,4,2,16,2,65,2,0,0,4294836735,0,3221225471,0,4294901942,2,66,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,18,2,0,0,4294961151,3,0,2,2,19,2,0,0,608174079,2,0,2,60,2,7,2,6,0,4286611199,3,0,2,2,1,3,0,3,0,4294901711,2,40,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2967484831,0,196559,0,3594373100,0,3288319768,0,8469959,0,65472,2,3,0,4093640191,0,660618719,0,65487,0,4294828015,0,4092591615,0,1616920031,0,982991,2,3,2,0,0,2163244511,0,4227923919,0,4236247022,2,71,0,4284449919,0,851904,2,4,2,12,0,67076095,-1,2,72,0,1073741743,0,4093607775,-1,0,50331649,0,3265266687,2,33,0,4294844415,0,4278190047,2,20,2,137,-1,3,0,2,2,23,2,0,2,10,2,0,2,15,2,22,3,0,10,2,74,2,0,2,75,2,76,2,77,2,0,2,78,2,0,2,11,0,261632,2,25,3,0,2,2,13,2,4,3,0,18,2,79,2,5,3,0,2,2,80,0,2151677951,2,29,2,9,0,909311,3,0,2,0,814743551,2,49,0,67090432,3,0,2,2,42,2,0,2,6,2,0,2,30,2,8,0,268374015,2,110,2,51,2,0,2,81,0,134153215,-1,2,7,2,0,2,8,0,2684354559,0,67044351,0,3221160064,2,17,-1,3,0,2,2,53,0,1046528,3,0,3,2,9,2,0,2,54,0,4294960127,2,10,2,6,2,11,0,4294377472,2,12,3,0,16,2,13,2,0,2,82,2,10,2,0,2,83,2,84,2,85,0,12288,2,55,0,1048577,2,86,2,14,-1,2,14,0,131042,2,87,2,88,2,89,2,0,2,34,-83,3,0,7,0,1046559,2,0,2,15,2,0,0,2147516671,2,21,3,90,2,2,0,-16,2,91,0,524222462,2,4,2,0,0,4269801471,2,4,3,0,2,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,73,-1,2,18,2,10,3,0,8,2,93,2,133,2,0,0,3220242431,3,0,3,2,19,2,94,2,95,3,0,2,2,96,2,0,2,97,2,46,2,0,0,4351,2,0,2,9,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,9,2,20,3,0,2,0,67076097,2,8,2,0,2,21,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,101,2,102,2,22,2,23,3,0,3,0,67057663,3,0,349,2,103,2,104,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,3774349439,2,105,2,106,3,0,2,2,19,2,107,3,0,10,2,10,2,18,2,0,2,47,2,0,2,31,2,108,2,25,0,1638399,0,57344,2,109,3,0,3,2,20,2,26,2,27,2,5,2,28,2,0,2,8,2,111,-1,2,112,2,113,2,114,-1,3,0,3,2,12,-2,2,0,2,29,-3,0,536870912,-4,2,20,2,0,2,36,0,1,2,0,2,67,2,6,2,12,2,10,2,0,2,115,-1,3,0,4,2,10,2,23,2,116,2,7,2,0,2,117,2,0,2,118,2,119,2,120,2,0,2,9,3,0,9,2,21,2,30,2,31,2,121,2,122,-2,2,123,2,124,2,30,2,21,2,8,-2,2,125,2,30,2,32,-2,2,0,2,39,-2,0,4277137519,0,2269118463,-1,3,20,2,-1,2,33,2,38,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,48,2,0,0,4294950463,2,37,-7,2,0,0,203775,2,57,0,4026531840,2,20,2,43,2,36,2,18,2,37,2,18,2,126,2,21,3,0,2,2,38,0,2151677888,2,0,2,12,0,4294901764,2,144,2,0,2,58,2,56,0,5242879,3,0,2,0,402644511,-1,2,128,2,39,0,3,-1,2,129,2,130,2,0,0,67045375,2,40,0,4226678271,0,3766565279,0,2039759,2,132,2,41,0,1046437,0,6,3,0,2,0,3288270847,0,3,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,42,2,23,2,50,2,11,2,61,2,38,-5,2,0,2,12,-3,3,0,2,0,2147484671,2,134,0,4190109695,2,52,-2,2,135,0,4244635647,0,27,2,0,2,8,2,43,2,0,2,68,2,18,2,0,2,42,-6,2,0,2,45,2,59,2,44,2,45,2,46,2,47,0,8388351,-2,2,136,0,3028287487,2,48,2,138,0,33259519,2,49,-9,2,21,0,4294836223,0,3355443199,0,134152199,-2,2,69,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,50,-81,2,18,3,0,2,2,36,3,0,33,2,25,2,30,3,0,124,2,12,3,0,18,2,38,-213,2,0,2,32,-54,3,0,17,2,42,2,8,2,23,2,0,2,8,2,23,2,51,2,0,2,21,2,52,2,139,2,25,-13,2,0,2,53,-6,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,0,196635,3,0,191,2,54,3,0,38,2,30,2,55,2,34,-278,2,140,3,0,9,2,141,2,142,2,56,3,0,11,2,7,-72,3,0,3,2,143,0,1677656575,-130,2,26,-16,2,0,2,24,2,38,-16,0,4161266656,0,4071,0,15360,-4,2,57,-13,3,0,2,2,58,2,0,2,145,2,146,2,62,2,0,2,147,2,148,2,149,3,0,10,2,150,2,151,2,22,3,58,2,3,152,2,3,59,2,0,4294954999,2,0,-16,2,0,2,92,2,0,0,2105343,0,4160749584,0,65534,-34,2,8,2,154,-6,0,4194303871,0,4294903771,2,0,2,60,2,100,-3,2,0,0,1073684479,0,17407,-9,2,18,2,17,2,0,2,32,-14,2,18,2,32,-6,2,18,2,12,-15,2,155,3,0,6,0,8323103,-1,3,0,2,2,61,-37,2,62,2,156,2,157,2,158,2,159,2,160,-105,2,26,-32,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,161,3,0,233,2,162,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-22250,3,0,7,2,25,-6130,3,5,2,-1,0,69207040,3,44,2,3,0,14,2,63,2,64,-3,0,3168731136,0,4294956864,2,1,2,0,2,41,3,0,4,0,4294966275,3,0,4,2,16,2,65,2,0,2,34,-1,2,18,2,66,-1,2,0,0,2047,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,25,2,67,3,0,2,0,131135,2,98,0,70256639,0,71303167,0,272,2,42,2,6,0,32511,2,0,2,49,-1,2,99,2,68,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,70,2,69,0,33554435,2,131,2,70,0,2952790016,0,131075,0,3594373096,0,67094296,2,69,-1,0,4294828e3,0,603979263,0,654311424,0,3,0,4294828001,0,602930687,0,1610612736,0,393219,0,4294828016,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,71,2,38,-1,2,4,0,917503,2,38,-1,2,72,0,537788335,0,4026531935,-1,0,1,-1,2,33,2,73,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,15,2,22,3,0,10,2,74,2,0,2,75,2,76,2,77,2,0,2,78,2,0,2,12,-1,2,25,3,0,2,2,13,2,4,3,0,18,2,79,2,5,3,0,2,2,80,0,2147745791,3,19,2,0,122879,2,0,2,9,0,276824064,-2,3,0,2,2,42,2,0,0,4294903295,2,0,2,30,2,8,-1,2,18,2,51,2,0,2,81,2,49,-1,2,21,2,0,2,29,-2,0,128,-2,2,28,2,9,0,8160,-1,2,127,0,4227907585,2,0,2,37,2,0,2,50,0,4227915776,2,10,2,6,2,11,-1,0,74440192,3,0,6,-2,3,0,8,2,13,2,0,2,82,2,10,2,0,2,83,2,84,2,85,-3,2,86,2,14,-3,2,87,2,88,2,89,2,0,2,34,-83,3,0,7,0,817183,2,0,2,15,2,0,0,33023,2,21,3,90,2,-17,2,91,0,524157950,2,4,2,0,2,92,2,4,2,0,2,22,2,28,2,16,3,0,2,2,17,2,0,-1,2,18,-16,3,0,206,-2,3,0,692,2,73,-1,2,18,2,10,3,0,8,2,93,0,3072,2,0,0,2147516415,2,10,3,0,2,2,25,2,94,2,95,3,0,2,2,96,2,0,2,97,2,46,0,4294965179,0,7,2,0,2,9,2,95,2,9,-1,0,1761345536,2,98,0,4294901823,2,38,2,20,2,99,2,35,2,100,0,2080440287,2,0,2,34,2,153,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,101,2,102,2,22,2,23,3,0,3,0,7,3,0,349,2,103,2,104,2,7,-264,3,0,11,2,24,3,0,2,2,32,-1,0,2700607615,2,105,2,106,3,0,2,2,19,2,107,3,0,10,2,10,2,18,2,0,2,47,2,0,2,31,2,108,-3,2,109,3,0,3,2,20,-1,3,5,2,2,110,2,0,2,8,2,111,-1,2,112,2,113,2,114,-1,3,0,3,2,12,-2,2,0,2,29,-8,2,20,2,0,2,36,-1,2,0,2,67,2,6,2,30,2,10,2,0,2,115,-1,3,0,4,2,10,2,18,2,116,2,7,2,0,2,117,2,0,2,118,2,119,2,120,2,0,2,9,3,0,9,2,21,2,30,2,31,2,121,2,122,-2,2,123,2,124,2,30,2,21,2,8,-2,2,125,2,30,2,32,-2,2,0,2,39,-2,0,4277075969,2,30,-1,3,20,2,-1,2,33,2,126,2,0,3,30,2,2,35,2,19,-3,3,0,2,2,34,-1,2,0,2,35,2,0,2,35,2,0,2,50,2,98,0,4294934591,2,37,-7,2,0,0,197631,2,57,-1,2,20,2,43,2,37,2,18,0,3,2,18,2,126,2,21,2,127,2,54,-1,0,2490368,2,127,2,25,2,18,2,34,2,127,2,38,0,4294901904,0,4718591,2,127,2,35,0,335544350,-1,2,128,0,2147487743,0,1,-1,2,129,2,130,2,8,-1,2,131,2,70,0,3758161920,0,3,2,132,0,12582911,0,655360,-1,2,0,2,29,0,2147485568,0,3,2,0,2,25,0,176,-5,2,0,2,17,0,251658240,-1,2,0,2,25,0,16,-1,2,0,0,16779263,-2,2,12,-1,2,38,-5,2,0,2,133,-3,3,0,2,2,55,2,134,0,2147549183,0,2,-2,2,135,2,36,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,2,18,2,0,2,42,-6,2,0,0,1,2,59,2,17,0,1,2,46,2,25,-3,2,136,2,36,2,137,2,138,0,16778239,-10,2,35,0,4294836212,2,9,-3,2,69,-2,3,0,28,2,32,-3,3,0,3,2,17,3,0,6,2,50,-81,2,18,3,0,2,2,36,3,0,33,2,25,0,126,3,0,124,2,12,3,0,18,2,38,-213,2,10,-55,3,0,17,2,42,2,8,2,18,2,0,2,8,2,18,2,60,2,0,2,25,2,50,2,139,2,25,-13,2,0,2,73,-6,3,0,2,-4,3,0,2,0,67583,-1,2,107,-2,0,11,3,0,191,2,54,3,0,38,2,30,2,55,2,34,-278,2,140,3,0,9,2,141,2,142,2,56,3,0,11,2,7,-72,3,0,3,2,143,2,144,-187,3,0,2,2,58,2,0,2,145,2,146,2,62,2,0,2,147,2,148,2,149,3,0,10,2,150,2,151,2,22,3,58,2,3,152,2,3,59,2,2,153,-57,2,8,2,154,-7,2,18,2,0,2,60,-4,2,0,0,1065361407,0,16384,-9,2,18,2,60,2,0,2,133,-14,2,18,2,133,-6,2,18,0,81919,-15,2,155,3,0,6,2,126,-1,3,0,2,0,2063,-37,2,62,2,156,2,157,2,158,2,159,2,160,-138,3,0,1335,-1,3,0,129,2,32,3,0,6,2,10,3,0,180,2,161,3,0,233,2,162,3,0,18,2,10,-77,3,0,16,2,10,-47,3,0,154,2,6,3,0,130,2,25,-28386],[4294967295,4294967291,4092460543,4294828031,4294967294,134217726,4294903807,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4294901759,32767,4294901760,262143,536870911,8388607,4160749567,4294902783,4294918143,65535,67043328,2281701374,4294967264,2097151,4194303,255,67108863,4294967039,511,524287,131071,63,127,3238002687,4294549487,4290772991,33554431,4294901888,4286578687,67043329,4294705152,4294770687,67043583,1023,15,2047999,67043343,67051519,16777215,2147483648,4294902e3,28,4292870143,4294966783,16383,67047423,4294967279,262083,20511,41943039,493567,4294959104,603979775,65536,602799615,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4286578688,4294967292,4294965759,535511039,4294966272,4294967280,32768,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,4294443008,268369920,4292804608,4294967232,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294902015,4160684047,4290246655,469499899,4294967231,134086655,4294966591,2445279231,3670015,31,4294967288,4294705151,3221208447,4294902271,4294549472,4294921215,4095,4285526655,4294966527,4294966143,64,4294966719,3774873592,1877934080,262151,2555904,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4294934527,4087,2016,2147446655,184024726,2862017156,1593309078,268434431,268434414,4294901763,4294901761]),yt=e=>(D2[(e>>>5)+0]>>>e&31&1)!==0,w2=e=>(D2[(e>>>5)+34816]>>>e&31&1)!==0;T=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],At=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],A2=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];C2=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];(function(e){e[e.Empty=0]="Empty",e[e.Escape=1]="Escape",e[e.Class=2]="Class"})(Q||(Q={}));(function(e){e[e.Empty=0]="Empty",e[e.IgnoreCase=1]="IgnoreCase",e[e.Global=2]="Global",e[e.Multiline=4]="Multiline",e[e.Unicode=16]="Unicode",e[e.Sticky=8]="Sticky",e[e.DotAll=32]="DotAll",e[e.Indices=64]="Indices",e[e.UnicodeSets=128]="UnicodeSets"})(N||(N={}));It={0:"Unexpected token",30:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"\\8 and \\9 are not allowed in template strings",4:"Private identifier #%0 is not defined",5:"Illegal Unicode escape sequence",6:"Invalid code point %0",7:"Invalid hexadecimal escape sequence",9:"Octal literals are not allowed in strict mode",8:"Decimal integer literals with a leading zero are forbidden in strict mode",10:"Expected number in radix %0",151:"Invalid left-hand side assignment to a destructible right-hand side",11:"Non-number found after exponent indicator",12:"Invalid BigIntLiteral",13:"No identifiers allowed directly after numeric literal",14:"Escapes \\8 or \\9 are not syntactically valid escapes",15:"Escapes \\8 or \\9 are not allowed in strict mode",16:"Unterminated string literal",17:"Unterminated template literal",18:"Multiline comment was not closed properly",19:"The identifier contained dynamic unicode escape that was not closed",20:"Illegal character '%0'",21:"Missing hexadecimal digits",22:"Invalid implicit octal",23:"Invalid line break in string literal",24:"Only unicode escapes are legal in identifier names",25:"Expected '%0'",26:"Invalid left-hand side in assignment",27:"Invalid left-hand side in async arrow",28:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',29:"Member access on super must be in a method",31:"Await expression not allowed in formal parameter",32:"Yield expression not allowed in formal parameter",95:"Unexpected token: 'escaped keyword'",33:"Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses",123:"Async functions can only be declared at the top level or inside a block",34:"Unterminated regular expression",35:"Unexpected regular expression flag",36:"Duplicate regular expression flag '%0'",37:"%0 functions must have exactly %1 argument%2",38:"Setter function argument must not be a rest parameter",39:"%0 declaration must have a name in this context",40:"Function name may not contain any reserved words or be eval or arguments in strict mode",41:"The rest operator is missing an argument",42:"A getter cannot be a generator",43:"A setter cannot be a generator",44:"A computed property name must be followed by a colon or paren",134:"Object literal keys that are strings or numbers must be a method or have a colon",46:"Found `* async x(){}` but this should be `async * x(){}`",45:"Getters and setters can not be generators",47:"'%0' can not be generator method",48:"No line break is allowed after '=>'",49:"The left-hand side of the arrow can only be destructed through assignment",50:"The binding declaration is not destructible",51:"Async arrow can not be followed by new expression",52:"Classes may not have a static property named 'prototype'",53:"Class constructor may not be a %0",54:"Duplicate constructor method in class",55:"Invalid increment/decrement operand",56:"Invalid use of `new` keyword on an increment/decrement expression",57:"`=>` is an invalid assignment target",58:"Rest element may not have a trailing comma",59:"Missing initializer in %0 declaration",60:"'for-%0' loop head declarations can not have an initializer",61:"Invalid left-hand side in for-%0 loop: Must have a single binding",62:"Invalid shorthand property initializer",63:"Property name __proto__ appears more than once in object literal",64:"Let is disallowed as a lexically bound name",65:"Invalid use of '%0' inside new expression",66:"Illegal 'use strict' directive in function with non-simple parameter list",67:'Identifier "let" disallowed as left-hand side expression in strict mode',68:"Illegal continue statement",69:"Illegal break statement",70:"Cannot have `let[...]` as a var name in strict mode",71:"Invalid destructuring assignment target",72:"Rest parameter may not have a default initializer",73:"The rest argument must the be last parameter",74:"Invalid rest argument",76:"In strict mode code, functions can only be declared at top level or inside a block",77:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",78:"Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement",79:"Class declaration can't appear in single-statement context",80:"Invalid left-hand side in for-%0",81:"Invalid assignment in for-%0",82:"for await (... of ...) is only valid in async functions and async generators",83:"The first token after the template expression should be a continuation of the template",85:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",84:"`let \n [` is a restricted production at the start of a statement",86:"Catch clause requires exactly one parameter, not more (and no trailing comma)",87:"Catch clause parameter does not support default values",88:"Missing catch or finally after try",89:"More than one default clause in switch statement",90:"Illegal newline after throw",91:"Strict mode code may not include a with statement",92:"Illegal return statement",93:"The left hand side of the for-header binding declaration is not destructible",94:"new.target only allowed within functions or static blocks",96:"'#' not followed by identifier",102:"Invalid keyword",101:"Can not use 'let' as a class name",100:"'A lexical declaration can't define a 'let' binding",99:"Can not use `let` as variable name in strict mode",97:"'%0' may not be used as an identifier in this context",98:"Await is only valid in async functions",103:"The %0 keyword can only be used with the module goal",104:"Unicode codepoint must not be greater than 0x10FFFF",105:"%0 source must be string",106:"Only a identifier or string can be used to indicate alias",107:"Only '*' or '{...}' can be imported after default",108:"Trailing decorator may be followed by method",109:"Decorators can't be used with a constructor",110:"Can not use `await` as identifier in module or async func",111:"Can not use `await` as identifier in module",112:"HTML comments are only allowed with web compatibility (Annex B)",113:"The identifier 'let' must not be in expression position in strict mode",114:"Cannot assign to `eval` and `arguments` in strict mode",115:"The left-hand side of a for-of loop may not start with 'let'",116:"Block body arrows can not be immediately invoked without a group",117:"Block body arrows can not be immediately accessed without a group",118:"Unexpected strict mode reserved word",119:"Unexpected eval or arguments in strict mode",120:"Decorators must not be followed by a semicolon",121:"Calling delete on expression not allowed in strict mode",122:"Pattern can not have a tail",124:"Can not have a `yield` expression on the left side of a ternary",125:"An arrow function can not have a postfix update operator",126:"Invalid object literal key character after generator star",127:"Private fields can not be deleted",129:"Classes may not have a field called constructor",128:"Classes may not have a private element named constructor",130:"A class field initializer or static block may not contain arguments",131:"Generators can only be declared at the top level or inside a block",132:"Async methods are a restricted production and cannot have a newline following it",133:"Unexpected character after object literal property name",135:"Invalid key token",136:"Label '%0' has already been declared",137:"continue statement must be nested within an iteration statement",138:"Undefined label '%0'",139:"Trailing comma is disallowed inside import(...) arguments",140:"Invalid binding in JSON import",141:"import() requires exactly one argument",142:"Cannot use new with import(...)",143:"... is not allowed in import()",144:"Expected '=>'",145:"Duplicate binding '%0'",146:"Duplicate private identifier #%0",147:"Cannot export a duplicate name '%0'",150:"Duplicate %0 for-binding",148:"Exported binding '%0' needs to refer to a top-level declared variable",149:"Unexpected private field",153:"Numeric separators are not allowed at the end of numeric literals",152:"Only one underscore is allowed as numeric separator",154:"JSX value should be either an expression or a quoted JSX text",155:"Expected corresponding JSX closing tag for %0",156:"Adjacent JSX elements must be wrapped in an enclosing tag",157:"JSX attributes must only be assigned a non-empty 'expression'",158:"'%0' has already been declared",159:"'%0' shadowed a catch clause binding",160:"Dot property must be an identifier",161:"Encountered invalid input after spread/rest argument",162:"Catch without try",163:"Finally without try",164:"Expected corresponding closing tag for JSX fragment",165:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",166:"Invalid tagged template on optional chain",167:"Invalid optional chain from super property",168:"Invalid optional chain from new expression",169:'Cannot use "import.meta" outside a module',170:"Leading decorators must be attached to a class declaration",171:"An export name cannot include a lone surrogate, found %0",172:"A string literal cannot be used as an exported binding without `from`",173:"Private fields can't be accessed on super",174:"The only valid meta property for import is 'import.meta'",175:"'import.meta' must not contain escaped characters",176:'cannot use "await" as identifier inside an async function',177:'cannot use "await" in static blocks'},L=class extends SyntaxError{start;end;range;loc;description;constructor(t,n,i,...u){let o=It[i].replace(/%(\d+)/g,(f,c)=>u[c]),l="["+t.line+":"+t.column+"-"+n.line+":"+n.column+"]: "+o;super(l),this.start=t.index,this.end=n.index,this.range=[t.index,n.index],this.loc={start:{line:t.line,column:t.column},end:{line:n.line,column:n.column}},this.description=o}};B=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","||=","&&=","??=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","accessor","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],S2={this:86111,function:86104,if:20569,return:20572,var:86088,else:20563,for:20567,new:86107,in:8673330,typeof:16863275,while:20578,case:20556,break:20555,try:20577,catch:20557,delete:16863276,throw:86112,switch:86110,continue:20559,default:20561,instanceof:8411187,do:20562,void:16863277,finally:20566,async:209005,await:209006,class:86094,const:86090,constructor:12399,debugger:20560,export:20564,extends:20565,false:86021,from:209011,get:209008,implements:36964,import:86106,interface:36965,let:241737,null:86023,of:471156,package:36966,private:36967,protected:36968,public:36969,set:209009,static:36970,super:86109,true:86022,with:20579,yield:241771,enum:86133,eval:537079926,as:77932,arguments:537079927,target:209029,meta:209030,accessor:12402};Rt=[128,128,128,128,128,128,128,128,128,127,135,127,127,129,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,127,16842798,134283267,130,208897,8391477,8390213,134283267,67174411,16,8391476,25233968,18,25233969,67108877,8457014,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456256,1077936155,8390721,22,132,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,136,20,8389959,208897,131,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8389702,1074790415,16842799,128];vt={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},Ut={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};Je=class e{parser;type;parent;scopeError;variableBindings=new Map;constructor(t,n=2,i){this.parser=t,this.type=n,this.parent=i}createChildScope(t){return new e(this.parser,t,this)}addVarOrBlock(t,n,i,u){i&4?this.addVarName(t,n,i):this.addBlockName(t,n,i,u),u&64&&this.parser.declareUnboundVariable(n)}addVarName(t,n,i){let{parser:u}=this,o=this;for(;o&&!(o.type&128);){let{variableBindings:l}=o,f=l.get(n);f&&f&248&&(u.options.webcompat&&!(t&1)&&(i&128&&f&68||f&128&&i&68)||u.report(145,n)),o===this&&f&&f&1&&i&1&&o.recordScopeError(145,n),f&&(f&256||f&512&&!u.options.webcompat)&&u.report(145,n),o.variableBindings.set(n,i),o=o.parent}}hasVariable(t){return this.variableBindings.has(t)}addBlockName(t,n,i,u){let{parser:o}=this,l=this.variableBindings.get(n);l&&!(l&2)&&(i&1?this.recordScopeError(145,n):o.options.webcompat&&!(t&1)&&u&2&&l===64&&i===64||o.report(145,n)),this.type&64&&this.parent?.hasVariable(n)&&!(this.parent.variableBindings.get(n)&2)&&o.report(145,n),this.type&512&&l&&!(l&2)&&i&1&&this.recordScopeError(145,n),this.type&32&&this.parent.variableBindings.get(n)&768&&o.report(159,n),this.variableBindings.set(n,i)}recordScopeError(t,...n){this.scopeError={type:t,params:n,start:this.parser.tokenStart,end:this.parser.currentLocation}}reportScopeError(){let{scopeError:t}=this;if(t)throw new L(t.start,t.end,t.type,...t.params)}};je=class{parser;parent;refs=Object.create(null);privateIdentifiers=new Map;constructor(t,n){this.parser=t,this.parent=n}addPrivateIdentifier(t,n){let{privateIdentifiers:i}=this,u=n&800;u&768||(u|=768);let o=i.get(t);this.hasPrivateIdentifier(t)&&((o&32)!==(u&32)||o&u&768)&&this.parser.report(146,t),i.set(t,this.hasPrivateIdentifier(t)?o|u:u)}addPrivateIdentifierRef(t){this.refs[t]??=[],this.refs[t].push(this.parser.tokenStart)}isPrivateIdentifierDefined(t){return this.hasPrivateIdentifier(t)||!!this.parent?.isPrivateIdentifierDefined(t)}validatePrivateIdentifierRefs(){for(let t in this.refs)if(!this.isPrivateIdentifierDefined(t)){let{index:n,line:i,column:u}=this.refs[t][0];throw new L({index:n,line:i,column:u},{index:n+t.length,line:i,column:u+t.length},4,t)}}hasPrivateIdentifier(t){return this.privateIdentifiers.has(t)}},Xe=class{source;options;lastOnToken=null;token=1048576;flags=0;index=0;line=1;column=0;startIndex=0;end=0;tokenIndex=0;startColumn=0;tokenColumn=0;tokenLine=1;startLine=1;tokenValue="";tokenRaw="";tokenRegExp=void 0;currentChar=0;exportedNames=new Set;exportedBindings=new Set;assignable=1;destructible=0;leadingDecorators={decorators:[]};constructor(t,n={}){this.source=t,this.options=n,this.end=t.length,this.currentChar=t.charCodeAt(0)}getToken(){return this.token}setToken(t,n=!1){this.token=t;let{onToken:i}=this.options;if(i)if(t!==1048576){let u={start:{line:this.tokenLine,column:this.tokenColumn},end:{line:this.line,column:this.column}};!n&&this.lastOnToken&&i(...this.lastOnToken),this.lastOnToken=[wt(t),this.tokenIndex,this.index,u]}else this.lastOnToken&&(i(...this.lastOnToken),this.lastOnToken=null);return t}get tokenStart(){return{index:this.tokenIndex,line:this.tokenLine,column:this.tokenColumn}}get currentLocation(){return{index:this.index,line:this.line,column:this.column}}finishNode(t,n,i){if(this.options.ranges){t.start=n.index;let u=i?i.index:this.startIndex;t.end=u,t.range=[n.index,u]}return this.options.loc&&(t.loc={start:{line:n.line,column:n.column},end:i?{line:i.line,column:i.column}:{line:this.startLine,column:this.startColumn}},this.options.source&&(t.loc.source=this.options.source)),t}addBindingToExports(t){this.exportedBindings.add(t)}declareUnboundVariable(t){let{exportedNames:n}=this;n.has(t)&&this.report(147,t),n.add(t)}report(t,...n){throw new L(this.tokenStart,this.currentLocation,t,...n)}createScopeIfLexical(t,n){if(this.options.lexical)return this.createScope(t,n)}createScope(t,n){return new Je(this,t,n)}createPrivateScopeIfLexical(t){if(this.options.lexical)return new je(this,t)}}});function oe(e,t){let{generator:n}=e;if(e.write("("),t!=null&&t.length>0){n[t[0].type](t[0],e);let{length:i}=t;for(let u=1;u0){e.write(i);for(let l=1;l0){n.VariableDeclarator(i[0],e);for(let o=1;o{({stringify:ei}=JSON);if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");Re={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},$=17,ti={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:$,ClassExpression:$,FunctionExpression:$,ObjectExpression:$,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};ui={Program(e,t){let n=t.indent.repeat(t.indentLevel),{lineEnd:i,writeComments:u}=t;u&&e.comments!=null&&v(t,e.comments,n,i);let o=e.body,{length:l}=o;for(let f=0;f0){t.write(i),u&&e.comments!=null&&v(t,e.comments,o,i);let{length:f}=l;for(let c=0;c0){for(;o0&&t.write(", ");let l=n[o],f=l.type[6];if(f==="D")t.write(l.local.name,l),o++;else if(f==="N")t.write("* as "+l.local.name,l),o++;else break}if(o0){t.write(" with { ");for(let l=0;l0)for(let u=0;;){let o=n[u],{name:l}=o.local;if(t.write(l,o),l!==o.exported.name&&t.write(" as "+o.exported.name),++u0){t.write(" with { ");for(let u=0;u0){t.write(" with { ");for(let n=0;n "),e.body.type[0]==="O"?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:p2=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:p2,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),ve(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:n,expressions:i}=e;t.write("`");let{length:u}=i;for(let l=0;l0){let{elements:n}=e,{length:i}=n;for(let u=0;;){let o=n[u];if(o!=null&&this[o.type](o,t),++u0){t.write(i),u&&e.comments!=null&&v(t,e.comments,o,i);let l=","+i,{properties:f}=e,{length:c}=f;for(let d=0;;){let s=f[d];if(u&&s.comments!=null&&v(t,s.comments,o,i),t.write(o),this[s.type](s,t),++d0){let{properties:n}=e,{length:i}=n;for(let u=0;this[n[u].type](n[u],t),++u1||u[0]==="U"&&(u[1]==="n"||u[1]==="p")&&i.prefix&&i.operator[0]===n&&(n==="+"||n==="-"))&&t.write(" "),o?(t.write(n.length>1?" (":"("),this[u](i,t),t.write(")")):this[u](i,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:et=function(e,t){let n=e.operator==="in";n&&t.write("("),ve(t,e.left,e,!1),t.write(" "+e.operator+" "),ve(t,e.right,e,!0),n&&t.write(")")},LogicalExpression:et,ConditionalExpression(e,t){let{test:n}=e,i=t.expressionsPrecedence[n.type];i===$||i<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[n.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let n=t.expressionsPrecedence[e.callee.type];n===$||n0&&(this.lineEndSize>0&&(u.length===1?t[i-1]===u:t.endsWith(u))?(this.line+=this.lineEndSize,this.column=0):this.column+=i)}toString(){return this.output}}});function W(e,t){if(Array.isArray(t))return Array.isArray(e)?t.length===e.length&&t.every((n,i)=>W(e[i],n)):!1;if(typeof t=="object"){if(!e)return!t;if("or"in t)return t.or.some(n=>W(e,n));if("anykey"in t&&Array.isArray(t.anykey)){let n=Array.isArray(e)?e:Object.values(e);return t.anykey.every(i=>n.some(u=>W(u,i)))}for(let[n,i]of Object.entries(t))if(!W(e[n],i))return!1;return!0}return t===e}function ot(e,...t){return t.includes(e)}var Ue=Z(()=>{});function lt(e){if(!W(e,fi))return null;let t;if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.right.type==="FunctionExpression")t=e.expression.right.body;else if(e.type==="VariableDeclaration"){for(let u of e.declarations)if(u.type==="VariableDeclarator"&&u.init?.type==="FunctionExpression"&&u.init?.params.length===3){t=u.init.body;break}}else if(e.type==="FunctionDeclaration")t=e.body;else return null;let n=t?.body.at(-2);if(!W(n,li)||n?.type!=="ExpressionStatement"||n.expression.type!=="LogicalExpression"||n.expression.right.type!=="SequenceExpression"||n.expression.right.expressions[0].type!=="AssignmentExpression")return null;let i=n.expression.right.expressions[0].right;return i.type!=="CallExpression"||i.callee.type!=="Identifier"?null:{type:"ArrowFunctionExpression",params:[{type:"Identifier",name:"sig"}],body:{type:"CallExpression",callee:{type:"Identifier",name:i.callee.name},arguments:i.arguments.length===1?[{type:"Identifier",name:"sig"}]:[i.arguments[0],{type:"Identifier",name:"sig"}],optional:!1},async:!1,expression:!1,generator:!1}}var li,fi,ft=Z(()=>{Ue();li={type:"ExpressionStatement",expression:{type:"LogicalExpression",left:{type:"Identifier"},right:{type:"SequenceExpression",expressions:[{type:"AssignmentExpression",left:{type:"Identifier"},operator:"=",right:{type:"CallExpression",callee:{type:"Identifier"},arguments:{or:[[{type:"Literal"},{type:"CallExpression",callee:{type:"Identifier",name:"decodeURIComponent"},arguments:[{type:"Identifier"}],optional:!1}],[{type:"CallExpression",callee:{type:"Identifier",name:"decodeURIComponent"},arguments:[{type:"Identifier"}],optional:!1}]]},optional:!1}},{type:"CallExpression"}]},operator:"&&"}},fi={or:[{type:"ExpressionStatement",expression:{type:"AssignmentExpression",operator:"=",left:{type:"Identifier"},right:{type:"FunctionExpression",params:[{},{},{}]}}},{type:"FunctionDeclaration",params:[{},{},{}]},{type:"VariableDeclaration",declarations:{anykey:[{type:"VariableDeclarator",init:{type:"FunctionExpression",params:[{},{},{}]}}]}}]}});function ct(e){if(!W(e,ci)){let t=null,n=null;switch(e.type){case"ExpressionStatement":{e.expression.type==="AssignmentExpression"&&e.expression.left.type==="Identifier"&&e.expression.right.type==="FunctionExpression"&&e.expression.right.params.length===1&&(t=e.expression.left.name,n=e.expression.right.body);break}case"FunctionDeclaration":{e.params.length===1&&(t=e.id?.name,n=e.body);break}}if(!n||!t)return null;let i=n.body.at(-2);if(i?.type!=="TryStatement"||i.handler?.type!=="CatchClause")return null;let u=i.handler.body.body;return W(u,si)?d2(t):null}if(e.type==="VariableDeclaration")for(let t of e.declarations){if(t.type!=="VariableDeclarator"||!t.init||t.init.type!=="ArrayExpression"||t.init.elements.length!==1)continue;let[n]=t.init.elements;if(n&&n.type==="Identifier")return d2(n.name)}else if(e.type==="ExpressionStatement"){let t=e.expression;if(t.type==="AssignmentExpression"&&t.left.type==="Identifier"&&t.operator==="="&&t.right.type==="ArrayExpression"&&t.right.elements.length===1){let[n]=t.right.elements;if(n&&n.type==="Identifier")return d2(n.name)}}return null}function d2(e){return{type:"ArrowFunctionExpression",params:[{type:"Identifier",name:"n"}],body:{type:"CallExpression",callee:{type:"Identifier",name:e},arguments:[{type:"Identifier",name:"n"}],optional:!1},async:!1,expression:!1,generator:!1}}var ci,si,st=Z(()=>{Ue();ci={or:[{type:"VariableDeclaration",kind:"var",declarations:{anykey:[{type:"VariableDeclarator",id:{type:"Identifier"},init:{type:"ArrayExpression",elements:[{type:"Identifier"}]}}]}},{type:"ExpressionStatement",expression:{type:"AssignmentExpression",left:{type:"Identifier"},operator:"=",right:{type:"ArrayExpression",elements:[{type:"Identifier"}]}}}]},si=[{type:"ReturnStatement",argument:{type:"BinaryExpression",left:{type:"MemberExpression",object:{type:"Identifier"},computed:!0,property:{type:"Literal"},optional:!1},right:{type:"Identifier"},operator:"+"}}]});var dt,gt=Z(()=>{l2();dt=Pe(` if (typeof globalThis.XMLHttpRequest === "undefined") { globalThis.XMLHttpRequest = { prototype: {} }; } const window = Object.create(null); if (typeof URL === "undefined") { window.location = { hash: "", host: "www.youtube.com", hostname: "www.youtube.com", href: "https://www.youtube.com/watch?v=yt-dlp-wins", origin: "https://www.youtube.com", password: "", pathname: "/watch", port: "", protocol: "https:", search: "?v=yt-dlp-wins", username: "", }; } else { window.location = new URL("https://www.youtube.com/watch?v=yt-dlp-wins"); } if (typeof globalThis.document === "undefined") { globalThis.document = Object.create(null); } if (typeof globalThis.navigator === "undefined") { globalThis.navigator = Object.create(null); } if (typeof globalThis.self === "undefined") { globalThis.self = globalThis; } `).body});function ht(e){let t=Pe(e),n=t.body,i=(()=>{switch(n.length){case 1:{let l=n[0];if(l?.type==="ExpressionStatement"&&l.expression.type==="CallExpression"&&l.expression.callee.type==="MemberExpression"&&l.expression.callee.object.type==="FunctionExpression")return l.expression.callee.object.body;break}case 2:{let l=n[1];if(l?.type==="ExpressionStatement"&&l.expression.type==="CallExpression"&&l.expression.callee.type==="FunctionExpression"){let f=l.expression.callee.body;return f.body.splice(0,1),f}break}}throw"unexpected structure"})(),u={n:[],sig:[]},o=i.body.filter(l=>{let f=ct(l);f&&u.n.push(f);let c=lt(l);return c&&u.sig.push(c),l.type==="ExpressionStatement"?l.expression.type==="AssignmentExpression"?!0:l.expression.type==="Literal":!0});i.body=o;for(let[l,f]of Object.entries(u)){let c=new Set(f.map(d=>JSON.stringify(d)));if(c.size!==1)throw`found ${c.size} ${l} function possibilities`+(c.size?`: ${f.map(s=>s2(s)).join(", ")}`:"");o.push({type:"ExpressionStatement",expression:{type:"AssignmentExpression",operator:"=",left:{type:"MemberExpression",computed:!1,object:{type:"Identifier",name:"_result"},property:{type:"Identifier",name:l}},right:f[0]}})}return t.body.splice(0,0,...dt),s2(t)}function mt(e){let t={n:null,sig:null};return Function("_result",e)(t),t}var at=Z(()=>{l2();ut();ft();st();gt()});function g2(e){let t=e.type==="player"?ht(e.player):e.preprocessed_player,n=mt(t),u={type:"result",responses:e.requests.map(o=>{if(!ot(o.type,"n","sig"))return{type:"error",error:`Unknown request type: ${o.type}`};let l=n[o.type];if(!l)return{type:"error",error:`Failed to extract ${o.type} function`};try{return{type:"result",data:Object.fromEntries(o.challenges.map(f=>[f,l(f)]))}}catch(f){return{type:"error",error:f instanceof Error?`${f.message} ${f.stack}`:`${f}`}}})};return e.type==="player"&&e.output_preprocessed&&(u.preprocessed_player=t),u}var rt=Z(()=>{at();Ue()});var di=bt((Ni,kt)=>{rt();kt.exports=g2});return di();})(); ; var initial = jsc({"type": "player", "player": "var _yt_player={};(function(g){var window=this;/*\n\n Copyright The Closure Library Authors.\n SPDX-License-Identifier: Apache-2.0\n*/\n/*\n\n Copyright Google LLC\n SPDX-License-Identifier: Apache-2.0\n*/\n/*\n\n (The MIT License)\n\n Copyright (C) 2014 by Vitaly Puzrin\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n\n -----------------------------------------------------------------------------\n Ported from zlib, which is under the following license\n https://github.com/madler/zlib/blob/master/zlib.h\n\n zlib.h -- interface of the 'zlib' general purpose compression library\n version 1.2.8, April 28th, 2013\n Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler\n This software is provided 'as-is', without any express or implied\n warranty. In no event will the authors be held liable for any damages\n arising from the use of this software.\n Permission is granted to anyone to use this software for any purpose,\n including commercial applications, and to alter it and redistribute it\n freely, subject to the following restrictions:\n 1. The origin of this software must not be misrepresented; you must not\n claim that you wrote the original software. If you use this software\n in a product, an acknowledgment in the product documentation would be\n appreciated but is not required.\n 2. Altered source versions must be plainly marked as such, and must not be\n misrepresented as being the original software.\n 3. This notice may not be removed or altered from any source distribution.\n Jean-loup Gailly Mark Adler\n jloup@gzip.org madler@alumni.caltech.edu\n The data format used by the zlib library is described by RFCs (Request for\n Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950\n (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).\n*/\n/*\n\n\n The MIT License (MIT)\n\n Copyright (c) 2015-present Dan Abramov\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n/*\n\n Copyright Google LLC All Rights Reserved.\n\n Use of this source code is governed by an MIT-style license that can be\n found in the LICENSE file at https://angular.dev/license\n*/\n'use strict';var S=\"J;K;/videoplayback;;//;W;startsWith;path;splice;url;unshift;1970-01-01T03:15:16.000+03:15;push;length;call;get;youtube.player.web_20250818_09_RC00;T;kY;www.youtube.com;/;n;scheme;\\\\.a1\\\\.googlevideo\\\\.com$;r;[,,(,/;BM;cmo=pf;fallback_count;/,,,;2;cmo=td;pow;=;&;Ip;toString;split;reverse;slice;?;redirector.googlevideo.com;signatureCipher;local;fvip;,;replace;assign;1970-01-01T02:14:56.000+02:15;cmo;set;http://local;match;rr;prototype;---;1;file;indexOf;1970-01-01T01:45:18.000+01:45;Untrusted URL;s;1969-12-31T16:15:29.000-07:45;%3D;OV;/initplayback;playerfallback;sp;pop;else;O9;:;1970-01-01T07:00:56.000+07:00;C;\\\\.googlevideo\\\\.com$;clone;fromCharCode;forEach;rr?[1-9].*\\\\.c\\\\.youtube\\\\.com$;https://local;in;cmo=;/file/index.m3u8;d5;a1.googlevideo.com;join;index.m3u8;mn;undefined;://;Y4M9927dt-s354BoOH-_w8_;1970-01-01T01:15:04.000+01:15;/api/manifest\".split(\";\"),\nvd,LC,Wp,E5z,Zc,Jqd,n$,K$,zK,Fz,sdq,vp,lQ,f$,D6F,Ox,g57,Hk,Ex,zS5,sx,zm,wdX,yqX,o52,vk,lXv,x8,x62,Y$,XZ,fX5,Se,NvX,ZY,tQ,Rq,$cF,kKF,PQv,TBF,pc,JQ,jjF,SKd,h95,BBC,FZ,O$6,uzF,Mw7,twS,qK2,R9C,ppV,K1z,EhS,rNF,ANd,z97,um,ghd,wpX,Qjd,oh1,Eh,vh1,Av,CQd,gs,FG,L11,b$d,cN1,xc1,fcC,VwS,NB7,cL,fX,acd,WUd,S9,$Sd,Bl,uq,ZW,iq,s$,CX,dZ,gZ,yL,e9,U$,Sx6,OT1,MV7,tVS,qx7,R50,pk7,hC,E81,JmF,sqz,rmS,AmC,dSC,H7,mS6,AC,di,Qw,yw,FU0,ri,wkC,o8F,v8d,Icq,en,qL,LUv,US7,CZ,lRd,b4,xSz,Md,fR5,aRV,KF,$Ld,XZF,Fg,bx,cs,Oc1,Zcv,Mez,\nted,R06,HcC,n$S,spz,rQz,P3,Tl,z06,FuS,Qpz,B3,v$7,LuX,H3,pt,Te,gU,wU,NB,bcV,Ct,b8,Vb,Ve2,Qb,ih,MH,aYF,WT7,Kk,Yh6,sd,Pmz,j_z,I55,r2,OX5,uG1,ZX7,iXV,Rrq,QY,vQ,HX5,ns1,Esd,Jvd,s_5,T0,rv7,Av0,B7,Ig,dB7,gsV,Bu,wLz,Rg,yvV,l5z,cv7,Eo,f5F,Vhz,Bp,Ns1,yC,QP,yP,og,Wa2,DX,Uo,$_S,Zk,uX1,Mu,dE,M91,Rz,q$5,GV,na0,Je,Ge5,EaC,rx5,wp,Q$,d_S,m_q,hE,v4,D_2,Q3X,WI,oIF,PI,vI1,jR,C42,LAd,SR,Uv5,R3,l$z,bZ2,cCV,vZ,Vn6,NiV,v3,$d5,AW,z9,k3v,m6,EE,j70,S1S,BlX,OFd,wT,F9,ZFC,o5,Ml7,CH,tlX,bp,Tt,VS,N4,Mhd,W9,kd,TR,j2,K5z,fc,Ix,s7v,\nS2,a7,AZd,hU,B9,z7z,DdV,gQ2,u3,F5q,wsq,Q75,P72,GR,JU,Jb,rg,vQd,AU,dg,CxS,mQ,L5V,Udd,gg,FA,VV7,Vlz,v9,Cv,aiS,Vx,NW,YL0,P82,jFS,X3V,SL0,jd,hs2,BUv,uK,u9z,q$,nM,pM,Mjd,Htz,p3S,JR,Yn,Kj6,JE1,zu,Dv,rEV,yS,dM,Fd,AE6,wM,QN,zsX,mmz,Fj0,Z$q,bq,lK,QF2,hr5,bK,ca,Xp7,gWC,fM,vWX,N$,av,UmF,l96,btV,cEv,rT,qv,OU,i9,tP,ikd,n_,p_,Go,qdd,JP,zo,KmX,Erq,JbF,mY,Dx,te,AbV,zK1,dH0,mHX,cH,GlC,grd,Na,wQv,Xu,yb2,Z3,ChX,LmS,is,M9,t4,uk,no,Ko,Ur,alF,bs,W22,fo,Tlq,N9,YK,$K,$F5,Tr2,kK,Iq0,Xu0,MF,mj,Br7,Xb,OLC,uO5,d9,ZLv,tDS,qo5,\nRaV,uG,HL2,nnX,ZE,iG,pu0,G00,MC,XA,K2z,Rh,HD,qC,Jr,zs,my,DE,gF,JL2,rL2,Z5,ALd,ym,dF0,mFv,eM,DFF,oh,gnd,lG,cD,F2d,wuF,Qg6,yLX,Vm,lqC,e5d,bLV,xFF,rO,BsC,AB,$u7,kV7,Ojq,NK,Zj7,WO,YF,kF,TS,qEF,j0,az,Ik,Mi6,R46,Hjq,niC,BO,GV6,Eid,iC,mud,tl,Du7,giC,JE,w4v,GS,Jl,Al,T3,yeq,F5,wD,Qq,dcC,CkF,L9F,M4,Uu7,bjv,ce1,xu6,fe,u7,Vi1,Np0,b_,tZ,Yu7,P8,k9q,j56,Iv7,XId,SuF,XH,S5,hgV,BTC,OH2,uMd,ZH1,iHq,uN,MRC,tR1,qu0,tj,q5,nJ,Rgz,pJ,ok,GX,re,Aj,md,HH1,FH,we,QW,yW,rWV,AW7,v8,zg5,m4d,D4q,M7C,F67,wIX,Q5v,oeC,$4,jr,I0,N5,U4F,\ncW0,fvq,VR0,t8,NTC,qP,avd,WQX,YJ1,nQ,pQ,G_,sj,mg,DK,ivX,t27,Uj,bu,ndS,x4,p9F,Vk,a0,$WX,IB,XT,GRd,hI,xu,ej,i$,KQ5,tI,Edq,na,pa,GN,rp,sY,AI,up5,dy,rUF,Dg,AU5,Qr,yr,eK,oB,Ca,La,UY,mW0,l$,b$,DW1,gdC,xj,FQ1,Vr,XJ,QxS,aB,tr,vd1,w7v,Yx,C3v,Is,LQ5,UW7,BJ,ag,O5,HQ,iD,nx,px,f45,Ng2,W$0,E5,YvC,$h,Ce,pj,$$5,zH,dj,De,Fe,TMd,jvS,y4,os,Iud,Svd,AQ,OM0,ZM0,rZ,iMF,Md0,td0,xx,qvd,RPq,WM,nwv,paS,jy,Gud,xs,K$0,Ew1,OZ,ud,sv5,rRq,id,MO,tu,W8,d$V,m$V,HM,gwz,pU,F$F,waV,Qvq,yRX,Au,ow0,zy,BE1,vH,U$z,RF,dH,VW,cR1,mq,fu5,VdC,\nh75,YU0,vM,$av,b9,UZ,kov,erX,ld,P9z,cM,Ix5,XH2,SUd,fU,e5,O_v,mu,km,Ib,Sa,hd,mr,OI,uo,pHv,Hs,io,GoS,My,JPS,s22,td,qK,Rb,HP,rP7,mA,daC,maz,VDS,ni,gA6,FYd,Q2q,yP0,EWd,sI,rq,JZv,gq,C9F,yK,ob,cP1,WHV,fi,Yrv,uld,UU,PE,T92,GZ,SrV,SC,B91,uu1,Zo7,BE,Ok,Z7,$$,GxC,KHV,Rl,nS,r45,rG,Aw,V4,hh,zw,mR,TO2,Fn,vD,D92,EAd,yWS,DB6,QF,yF,gNv,ol,vE,FH2,wez,QYS,CS,y45,eZC,cE,fS,LHv,TJ,l35,bo7,c4z,N9d,a32,Wy0,Eeq,YQ0,Wud,$Cq,pez,PGF,jhS,A7,zf,eQ,hVd,BFC,iIC,Pe,RVV,oV,nK6,pD0,bB,shd,xo,cw,rrd,Ar1,aV,Wj,Yp,JI,Hp,LI,DC7,Fy7,\nwD6,IA,Oq,Lyq,ub,Zp,ib,jiz,Gz,K2,Xyz,Eq,Ck,G1V,S6,rt,Bs,ONz,uU6,zz,ZNz,dt,Dp,gt,bm,iNF,lx,VF,MU6,Qa,ya,qiF,vj,REq,kh,nGV,L2,cU1,Uq,EQS,G57,KfS,HB2,JBC,siv,Va,rBv,AB1,aA,z42,Yg,mKS,n2,FX,kg,gGv,Qi5,Ny,jO,eE6,I1,vGz,UKF,lJ5,bNz,xKX,OG,fJz,CpS,iP,MQ,t9,viv,aJ2,gG,t1,sJ,$8F,H2,TDX,Gb,jk7,J9,yE5,sG,rk,A9,Ssd,BD0,zb,eVz,Oe6,EQ,Ze2,ie6,aj,t0V,RB1,Hez,nFV,pO6,Kr1,xZ,C6,eS0,Xg,sk2,rl5,Yy,d8q,$y,ky,m8C,gFX,wOd,ylq,XQ,pi,R1,RX,a8,mp,CCS,LrX,XX,U8d,lV2,Br,bev,cl0,x80,V0z,uH,NDV,aVS,kx,od,sFS,Rf,Hr,bt,YPS,nK,\ngj,$5v,kXd,Dw,FU,Te1,C81,X85,SPS,CU,H_z,wS,Qc,yc,EP,e4,of,nuX,Jj5,cr,rj0,zbv,d52,NU,Z0,af,jV,Y1,m50,k1,PT,J7,mK,T2,jv,Nu,gud,Sv,yj0,Ol,LdF,U5d,bJ0,cjF,x5v,uZ,iZ,V57,HT,Ne5,KU,K5,Yjd,Pud,DcX,TS2,j0F,IK5,Df,Sjz,D5z,h$V,QR,yR,BSX,C5,L5,lZ,uJv,j8,x1,a9,WC,$B,kB,SM,ZQC,iQ5,kZ,HQ2,si,ke,G_v,KgF,fQ,E41,J80,lP,VUV,T9,s0v,wwV,Q0V,y82,ma,iY,Shz,e$F,o4V,v4F,Cu2,Gl,Mt,UPd,ZId,lKv,bQ6,y1,IF,c8V,NSS,RH,aKz,Ej,HC,uY,WpF,nY,pY,Gs,YYv,$l0,kN0,S8,pT,Jf,Ty2,r6,zt,IgX,Af,XAS,DS6,wY,vK1,hfd,OaC,uTq,Zav,Q8,K7,ec,km0,CY,\nTYq,MK0,tKS,qYV,Rfd,bY,Kpq,Ejd,cC,WP,xB,Tu,sBF,rIX,fY,AIS,j9,zfq,KW,lid,dld,Pu,kD,ml6,gjX,yI,Tn,jt,Fp7,OI0,M2,St,x$d,yIv,oj2,C$2,Os,Zt,e71,Uld,MZ,qZ,RL,I95,baV,cI0,xlS,dF,hx2,JA,VKv,NyX,ag5,da,CL,oL,vv,Rp,vO,gi,lE,Ie2,cv,xD,hW1,aL,Bjz,CKz,nx6,pJ1,GHC,EF,M3,t$,KSX,Exq,IS5,Ah0,zG,zWX,Pj,et,$A,FS5,g8,F2,zN,yy,oI,CP,LP,UN,CDv,LSX,URd,le,c$,bxV,xX,chq,THX,W4,IM5,aI,Wb,XMq,ZTz,$E,kE,ov,Pb,MyF,In,w8d,ty5,ru6,FO,AuV,Mj,zGd,Nn,mOC,gZv,hW,tV,leV,FqS,h9,wMV,Hb,QaF,eGF,eO,vZS,I4V,Cd0,VrV,bUz,mw,NHd,Dh,SId,UQ,\nGc,on,OiF,vb,uRv,ZiF,l2,wHd,tad,xE,qI2,aH,Ks1,vuS,EmF,Nj,Jd1,$k,kHv,sbv,rdv,jqd,Q5,Oa,Qb2,yd1,ekC,HL,omS,ZP,vmq,lOS,ta,cdF,xyd,PNz,fO5,VaF,Nqd,p1,WRF,Gp,Ea,Ja,YkV,rm,Mv,PtV,jlC,Aa,K_,mZ,dm,Tz,Mx,I75,XE1,hHV,BGS,Fo,OS2,JeX,iSq,MC1,DP,W$,Ljz,eP,HSd,ix,nfF,Ef2,sl5,rwd,dkC,mk7,gfd,FR6,bS,wES,cW,xk,Ng,aN,W0,ofV,Yk,vW,$t,vA0,Ct0,W7,Ukv,TC,jb,l7v,bSV,xkC,Sb,VC5,NG2,a7C,uW,Zs,iW,q2,WLv,YcX,Vw,$x7,Me,yQ,kJ6,Pl1,TAX,V1,jC7,h40,nm,B2,I0z,bT2,ScC,BAz,j5,KJ,Z7z,JM,i7d,FT,MB2,ro,VK,zC,qcz,Rz2,KR,HA,nSv,pgd,ES0,\nsC7,Py,NY5,A2v,XY,Lk,$f,UL5,zzq,Lm,U7,QQ,Oo,Xp,dx6,bW,IH,rS,c0,mx0,DxV,gS2,FLz,s6,wgS,fm,y21,ez2,oS7,dl,kx7,f7,LL5,Ux0,b76,c2z,WR,q_,xx0,ka,pP0,fK,hZv,KN,f0S,Xs6,NA5,Yb,Ah,kb,PR,j$,ZS1,WT,Xc,WZS,YTz,ixv,BR,kf2,Oy,$a,PBV,op,uU,DJ,TL2,jVX,yr7,X6,Im6,XhV,Q0,u5C,ms,H8,h30,BLd,M82,t87,qTV,C1,Ot6,R31,IV2,Ls7,nov,Gfz,Ey,Eo6,ddV,rl,mo,r77,Po7,d27,uP,n85,D2d,Fc,e$,whz,QV7,qW,gH,LZ1,Ma,oQ,Ri,U26,vJ,vR,Cb,Nd,Uy,lU,hP,fmF,bU,zE1,V8V,NLC,cR,thS,amv,Yq0,V2,uD,U5,fZ,jAV,e6,gf,Ipd,Wr,SqS,hq7,Bt6,kRV,rY,Z22,i27,M6z,\nSw,P_,e2,Zv,Ev,jq,IO,iB,KKC,Sq,A1X,ht,B_,Xe0,Z$,Yod,dVV,$N,gw,e0d,wjS,qN,opz,tYq,wk,H_,nr,pr,CbC,Kr,sW,rz,x22,b2q,Fs7,fpq,F$,v_,xb,$QF,fx,kbC,nZ,z55,Tk2,j1q,IwF,hed,V_,Bk2,u41,Gz7,MO6,ax,Re7,ng7,$O,oAC,SoV,KFv,jN,Eg1,J91,aSS,Qu,s1v,r9V,SN,hn,pAC,nN,Bq,A9V,up,Yu,KH,ch,nj,w25,tn,kt,qG,rhS,Q12,cJ,Hq,i3,Rs,NtS,KA,yU1,go7,es0,An,CP2,ze,zY,UQ6,G4,Dz,lwd,RB,Qk,cZ,g3,Bg,c9S,uj,FB,w3,Qh,VOv,pV,awV,kO6,f_,T50,jf2,Id5,LA,xO,vfC,hU6,B5V,Bv,At,W6,iKz,M4V,e8,NP,sy,P$,c3,P_q,P6,TB,qfV,IT,HKq,ny2,prz,Yo,a02,hZ,HWC,\n$w,D85,KNC,Jpz,OC,OWC,rpC,B0,zU7,O9,DUq,Ey5,ak,i6,gyX,uDF,pjd,s3C,wrV,fe1,qD,QfX,yp1,GB,lk,Jt,Bgv,oy7,t97,vyS,s9,rV,CH7,LNd,UU1,ld1,cpC,mi,xU0,gV,H2v,V46,Z2,Nm,KL,HJd,kW,Ju,nP,Wn2,pA,Qz,PZ7,j9d,Yd2,e_,Ty,Q8F,Ch,SY2,Lh,njX,S_,h1F,EJ,Ra,U9,Bwd,xvz,Hl,b6,uPv,KLd,rD,fh,cqF,i57,u8,MvV,ND,yNz,aT,sl,Q2,cT,tvq,Y0,FD,jE,Ph0,ql7,R1d,n1d,pT7,G2X,KnC,J_5,s9d,r_0,mn7,O5C,em,ph,Kd5,tE,Ms,e1d,Ln6,TE5,lf5,c_d,bC6,Ma2,R4,afC,WWv,Zv7,PPX,E4,J6,SMV,Rk,s4,Dd,rR,Vc,wo,Nl,xd7,ZYd,ie,zW,dR,DG,ba,TD,mf,Fk,wR,cm1,iYd,er,\nvn,Cz,nF,tcq,If,PJ,R22,trd,I4,Vp,b2,HYF,nBd,pC1,$US,x0,EBd,Jf1,GJ6,fz,HNd,aq,o10,VO,MB,Ns,DQS,Y9,$9,lh,z2S,JUS,dtX,TM,qF6,mtF,jW,gBv,Xs,hD,h_,v0,Ob,uf,e2F,oBv,ZA,vB5,Mq,CYq,LW5,Wy,N62,GO,Qe,HV,nl,pl,aQV,WbS,dL,p4q,Y65,Eb,lg,R$d,JD,sb,$ZS,dW,Fs,wW,PEC,Xk,TaF,yn,XvS,x7,Ql2,A2,N2,oR,Ba6,vV,NN,Tv,Cl,SW,ww,Q91,Ww,p82,cV,MtX,Xrd,tt2,q6F,Vn,uS,HVF,Csd,l6,ED0,O2C,sL1,JZ,$T,Wv,E1,hP0,rA1,DL1,d47,Tgq,dZX,Y$d,P1,Pr,TT,DZd,gDF,Fb1,qs,yAX,el0,ssd,X4,Gy,CES,bG,SQS,Lb2,jk,SK,Xr,mU2,O7X,lt1,YNd,gk,ii,bl,$3F,kG7,\ne42,efq,oy,H1,nu,ITC,X$5,B86,Ku,OP5,Kb,u2d,EH,J2,sYz,r7,qNd,RXv,wF,p$z,GGF,Kkq,Ap0,wTF,L6,EX7,d7,m4,kI,gKC,PK5,Qx,Qyz,DZ,g7,l,yo,EF1,ooF,ek,sIS,r$F,Lx,BOv,o2,Gaz,m32,UH,D3X,gXz,lw,li,CA,GD,Pg,bi,To,c1,ZZ,yhq,xZ0,xT,lY7,QIV,yb,y$0,uQ,RI,Vo,h4,Cez,Lkd,WS,U3C,Q4,Kv,lT0,kJ,vnS,KI,Jm,Tg,bPV,x31,fTC,N8d,Im,$jd,xN,ho,BS,P2C,Oz,T0z,u5,VR,bHq,gA,$1,Zn,i5,B00,ORz,oH,to,qX,ZRF,vX0,gm5,IR,qj7,Ad,qb,mH,iw,jxV,iRd,g40,eT7,sz,S6z,Rpz,HRv,O1,$J,dU,nE2,sP,oiF,eaz,Zi,zg,dnV,Gvz,Kw2,dX,SS,V5,tC7,EEd,WmV,N3,q5X,snd,\ngX,FI,n7,wX,rV2,AV1,IhV,QK,zpq,zeF,og5,yz,CD,fb,djv,jn,Ml,mjC,Dj5,Pdd,Ou,Fwz,wbV,jQ,Qn7,oi,w5,ET,epd,oEq,Uz,Ka5,b5,lhv,yQX,NV,WfV,cS,bR2,cVv,Uv,fD,yB0,J1d,fK6,ah5,WGq,WZ,Yaz,t56,Xh,EY,$gd,kp6,P9,PS5,hk,Tmv,BG,ko,IP5,SaS,ZC,uod,fEV,F12,eE,dWS,oO,gL,HG,tPz,ah,H1d,P7,pWS,nb,f2,BMd,KGC,EkC,$X,sNd,raz,vo0,UM,Jk,fl,jM,l0,QNd,Hxv,t_,UZd,CS0,oQ5,xt,fPS,$u,Pq7,aXd,NmC,GyC,Qs,zM,Y76,$ez,RO,jcq,pN,Isv,X0C,rs,nz,FWd,uKq,Zm7,imv,Mbz,ym6,tbd,as,nt5,C8,mJ,Kxz,g2,Ut,mX,Et0,JM5,lX,sc0,bX,xF,rMX,f8,deF,wlS,YV,qhV,\nOK,YI,PG,Qc1,D4,yMV,eCz,otC,I7,vtd,BA,rZ7,pyC,kV,lsC,Gcd,bm7,cMX,fs2,Vb7,asd,Yy6,$iF,PUq,Tfd,Ez,WH,Th,Bf5,jG,Ie,a3,kc7,Zb7,i4,XC,PQ,wt,Tb,G5,B1,t$1,RhS,hO,nbF,B5,RR,On,ue,GD1,Koz,JHv,ZG,M0,d8,tO,pP,A4,sQS,i_1,AHV,zhq,Ws,Gw,vA,$e,miX,q0,YA,DiF,gbz,HTd,LL,yHv,ZX,obF,Re,vbq,mz,a2,LoV,mF,gS,g6,lNF,bbd,MD,pEd,cH0,Gp1,Gh,V$0,i1q,aNd,Wz1,JO,sn,wL,H$7,hTV,$N0,oD1,zh,k86,H5F,mv,PaF,bWd,jOq,Vv,I2d,o0,Dq,Jhv,N0,luX,A$6,RLC,Hr0,n7V,YL,hG2,Kzd,pI5,kL,Us,PB,DNX,nZ7,P2,ga5,OY0,Ec,Ood,egX,Caz,Lz6,UN7,brS,Ir,f20,\nNzv,a25,WMd,U6,oz,c9,xn0,YC2,xP5,hS,rqd,y$,va,ez,PgF,T37,F8,OD,OH,pMF,B3F,zB,JH,uBq,ZA7,uA,xG,ZB,Bw,SVX,MI,SQ,iA2,WSd,MN6,zS,tN0,qCv,w7,xNC,RJd,mn,HAC,nOS,pqC,a40,JQX,KM2,EO7,GA,Et,wa,Kn,Wn,sP5,LS,WB,VP,Jp,$90,kyz,S$7,An0,ve6,O4,mGd,JS,yh,DGV,EpS,phC,sD,VQd,QPV,ft,H6C,zA,eJ7,oOF,DN,sZ,D5,LM2,UG,bAd,cn5,kN,qV,mE,cn,fzd,tW,UD,M_2,F4,gx,R_S,Hh2,RT,cB,YE,RbF,h2V,GB1,xL,Ki0,rw,ui,J4v,JK0,sT1,rKv,AKv,Hi2,z_C,WE,h$,b3,mD7,Lg2,wr,SB,y0,q9X,NR,Gm0,ar,sAX,oK6,k3,Pkd,f32,HB,QH7,nU,yN,YFz,WF,YH,QT7,p_v,e_2,o31,\nPL,Cwz,$m,v3q,Liz,UD5,a_0,Y4d,$sd,kWX,P0C,cuF,IW,g8z,sM,Xl2,Xnd,cQ,Nl7,S4d,Ozq,S70,h3,uk7,f7F,A4F,HbV,CWq,HW,Zz6,fN5,ME2,tEF,Fl,RY2,Cr,GW1,E07,J6v,s4C,r62,A60,ds0,msd,a5v,wn5,uz,eBC,Zb,Q4v,y6d,o0q,kB7,BoC,uF5,UsV,lG2,nhz,En5,bzC,Wa,c6d,OVF,aGX,mg7,Q_,q7,YZX,$qz,kMS,Pf5,W1q,$VS,SbX,Nx,Tqd,usV,P$d,iu,CNF,ilq,ds,fA,gm,qbd,A3,n92,pVS,m3,n35,GMC,E91,oFd,SD,MYS,fJ,Qk1,wx,X9z,JDz,Uj2,v95,bz,Uqq,lAC,mG,aX,T6,bld,V_5,cD2,zJ,pB,fAC,VWF,nrd,WY7,AjS,xH,NW7,SNF,VA,W4z,G3,Nw0,ou5,xS,$bd,PiX,JnV,T71,hH,FF6,yfC,\nIZ1,aW,X16,WK,pZ2,Ouv,$6,ur0,ZuC,iu1,mO,GKC,nT2,UOq,Pjz,k6,u_,GTV,K4q,ET0,YS,VQ,sJ7,AG7,GM,SV,udd,yOd,KV0,PK,ej2,yt7,Axz,LvS,aOX,YO,wV,$46,fD2,k_q,VG7,T7,NP5,aDz,PAS,Qg,hCF,Sy,nA,TxC,IB6,XB2,ID,D9,OU7,XS,SJ,zq2,umC,fw0,Zk1,OY,Zn6,VB0,in2,uT,Mud,qDV,Zy,iT,kD6,aQ,QdV,RRv,Hnv,P6V,Ak,nLq,pBF,dm7,GAV,x9,gxC,H$,GT,KE7,g0,$n1,tJ,sC,dD,ASF,L$5,dIF,mI1,qE,Ucq,ZD,c7v,oX7,gLd,ME,DS,FEd,wBF,OJ,AK,yS7,p16,eRd,HK,nO,oLd,Il0,Y9V,Bj,$R,Mb,UId,fiF,lBv,bn5,cS5,fBz,G7,VX,NxF,ok5,RM1,YS1,W6C,IbC,SS7,hA6,B$F,DA,pF,KO,\nWq,Zdv,Cj5,idC,U9V,Le,PH,r$,MoS,EX,tod,XB,sX,rK,qS2,nHF,xev,z7,RD,Km,Un7,MR,FS,KZ2,r3d,A30,yG,jPd,zA5,VNd,m7d,llv,D76,Sj,wK,gHC,aa,Q3,bw,F31,lE1,S4,NjC,a9v,wFd,QWS,y3v,JK,K3,y3,Z10,oD,eAd,Czd,L3F,U7V,lbV,h50,bC,md2,jD,j85,Oh,H5,ck,fb2,VoV,sRz,MJ6,qXV,JRX,RFS,mRv,wZd,HOv,n67,Fm,C_,hJ,aR,pKv,Ef,CC,xj0,nk,Wi,Vt6,zxV,G7z,dO,Kh5,jS,EZ0,BB,neV,TL,LM,bk,E6q,W9d,Ye,VYF,GYX,UT,rn,rJ1,AJq,zFq,RQ,dE5,k22,Sx,Hu,Fb,mE2,SlS,Bi,Ov,EKd,il,wK0,QDV,o1,yJV,eFz,GG,o62,Kz,PsS,bOd,cJd,bb,un,fyz,xW6,XL,NKF,ayd,d6,C0F,tg,\n$Od,tx,kw,wf,VJ,eW,$AC,mM,kLd,PnX,TJ1,a$6,I6d,qH,iWV,CFd,Sg5,ho1,BJC,LfF,mC6,uL5,LOz,GN7,ZyV,sf5,ny,iy6,lD,gK,Q_X,ES,sh,UF7,VJ6,Ha,Uk,gR,HmV,Ue0,ao,hNC,fMX,qg2,bhX,RoV,Hyz,D3,GL,tiV,nc0,pid,nm7,Ky,HP1,eY6,XjF,fq2,J3,GLC,lDF,K76,akv,Jg2,sg,a5,vB,NX,stF,Pp,rgz,zd,Agd,iav,zoz,dA7,fB,mAV,CQ,DAX,gcC,F76,QL,lv2,Ag,Qt1,Q1,IYq,oP,yg2,eoX,Wx7,b6d,zL,$GX,DM,wv7,Bzq,vcV,L7q,UA7,hg,osq,SGX,byd,cg7,xAq,onv,Ua7,Ui,Vx1,NJq,xK,pm,CgC,OOC,LKz,XP,RN1,a62,Wcv,YAX,CT,wJ,POC,Y8,Qj,T_d,jKX,SE2,I1q,dp,yj,dg2,Jg,mh,ex,xG0,\nb11,SAX,EC,Vy,ot,hvv,Ph,U0d,NO,Sk,B_d,zp,OqF,Wg5,kl1,uvS,Eg,T8,kX,Tw6,rc,iqC,Ug,ln,Msd,qAC,LK,HdF,Hq7,Bm0,ZJ,nM2,x90,E$S,bMv,Xb7,EMS,sKq,xc,Yf,hpV,vSC,DfV,Cn,gMF,ZS,Fc1,qMS,tW2,QKF,Xq5,ZOX,yq,mB1,Fnd,p7,E3C,oM7,YK0,QC6,$tS,eKS,tH,at,qVd,LcC,OT,pz,l5,icv,Z4,l15,RC,vi,UHS,WFV,l6d,Ro,e3v,bqz,ciz,xfV,MD0,N_7,kM,WB0,$d,GW,i_,vq,eXd,Ge,PN,ce,MMv,u4,ql,js,Td0,jw0,sa,IU2,Vz,Xz7,Na1,KV,FL,S02,vS,$c,hR0,YMF,Xv,BdC,uqC,Zf2,ifd,n4C,wJF,MXV,tXz,q01,R8d,HfF,TK2,s8v,pd,np5,uB,KBS,fP,Ss,Zlq,FTC,sw6,Kyv,ATd,eed,W_,\nDu,OdX,dTF,x$,VjC,Nc,YG5,LT1,m9F,DT5,BN,gy,t6,kn,OA,sW1,FBz,wzv,Vpd,Sl,Qw6,yT5,L_,Rq5,e82,dR0,dG,Fh6,x40,EW,e9C,oqX,uO,vqC,LBz,EL7,AD,d3,UT2,q4v,eu,bfF,iO,xTv,dV,fk2,fU1,x6,Mf,ti,Ao,qf,w9,w$,WeX,FE,$pF,kIC,tA,qA,cAz,y17,SDV,Rc,Tb6,BR6,jM7,Sp,pRC,cQ7,AP5,HN,Kx,eD1,BVz,nq,pq,fn,ug,G$,qWz,hmV,Kq,Bb7,SX2,eUz,qe,pb,DRd,tOd,Dav,IC,Iz,igC,MAS,qUF,SZ2,LEv,vLV,Hgd,n_0,pm7,GId,qsz,Ked,d6v,E_z,g07,sA,kCF,r_,ywV,Ai,QzX,k$1,Jw,J4,sM5,IES,Oc,d_,ryd,Ayd,zmv,xs7,mc,X9,dp0,$S,mp0,DO6,X_,c_,SU,unz,$fq,l9,Dqd,D2,En,\nFeF,wmv,fhd,azd,iBV,E7,QMz,o_7,j_,hYd,C6z,dB,CVd,Z_d,Lez,Bxz,Upd,Xiq,laV,GJ,bg6,Zd,syv,cyd,Ys,oK,faq,f6,VAV,Nb1,Cy,PF,F9z,WCX,yiC,g7F,P0,Dkd,rtz,y8,AP,rT0,z1C,qy0,$oC,iFz,kk2,Prq,hj,Lq,TNd,juV,Ijq,d7F,Ot,Uu,YN,BN1,OGF,R7,iG0,Qt,MFF,ocz,Wdq,bO,qO6,Rd1,HGC,RJ,cbd,nPz,Gk6,KCX,Vsd,LV7,FxX,cT5,J51,xA,$7,saq,hi,r5F,YM,xM,A5F,zdz,X_V,do1,xR,Gdd,mod,A6,HaF,yZ7,Fp,Do5,gPF,vs0,tp1,y5C,Gn,D0,xQ2,LZ,y9C,edV,tK,oV5,w36,vP0,WD,Cr1,aK,EPd,Xm,atC,c37,qt,lm,NG,Wz,Wr7,ra,bGd,c5d,xoV,A8z,fj7,eC,bA,NN2,q71,ajS,W0X,D6,\nZ6,eS,Y_v,Gsz,TH,GO1,Rn,$rS,kPv,Pyd,Cj,qL2,TQS,K1,jYX,Ki,jSd,vF,Rt,I80,KOd,XfV,S_d,eH7,C_X,TF,go,hOC,XaV,p6S,jX,CR,SE,uVv,zr7,qd,SCz,fq,yX,bn,KT6,dw,q_5,CZ7,VC,HE0,GFd,nYd,pfd,GPS,l40,fr,K0v,vr,H70,hJC,NQ,IL,sS2,Xq,Hg,eI,UVd,fa,ftd,r05,OEv,A00,eJ,Oyd,BW,drS,mr0,Ek,MA,dD1,B67,iUC,qj,EG,wov,Drd,ZP0,gYd,pv6,QSF,Ia5,lUv,UP,$DX,oYS,vY0,$Bq,uE2,hT,Cyd,Ur2,wz,l8C,Dmd,Bh,r8C,vNC,tuX,$o,Y5d,ZKd,EI,AMF,xrC,Mpd,AA,Sdv,Pa,jt6,NQq,a85,q3,gn,ZO,WDd,yB,$Jq,kQ2,PLv,De1,a1,K3z,TuX,Y2V,jGd,Io1,XUV,jp,v$,vw,o90,SeX,\nWjd,htq,wq,Vg,m62,Io,bd0,Z9V,V2F,tZS,XJq,z$V,CO0,nU2,pU0,Yd,GQ1,eq,Dn,lj7,RAV,bD,KDX,GY,Jzd,rS7,abV,VI,Ih,sGq,$L,FZX,jTV,rz2,AzV,kG,IP,ztF,mk,mJ1,MT,DJ2,zR,FD1,Gt6,wUS,wm,QGd,yz1,Hi,ks6,oW5,y_v,Qm,Cm6,et5,v1V,iTF,yC7,IJz,vUX,CL6,SO5,Xg7,LDd,P3X,i67,RN,T5,J76,C2X,O90,foq,rb6,MSS,VZq,Vu,fSX,W8v,YB6,AH,Ip,Tw,tJV,Ti,k00,v56,Pcv,$HC,TI7,CG1,jUz,ggX,us,eN,XX7,SB5,v6,hA,hu2,jy1,rr,O4d,i2,f$v,kuF,uN1,i4z,za,UB1,Qo,EU,XmC,Rw,nXd,sH7,pR,HvX,m5,S91,U4,zHq,Mf6,IN,$G,v7z,SI,reV,g$V,dx,jU,CBV,FmV,RuC,BKd,nf,Yeq,\nUV,SP,qBq,aY,nv5,pXv,n8,JXV,g$,sUV,wv,FP,rXd,sE,wy,GF,or,apF,QX,zuF,jpq,uX,XW0,HH,$D,sc,zv,v0X,d15,m1z,uYF,knv,v7,g9,bV6,F8z,wXS,UA,pZ,E0,Qy,v_X,f1,j2d,JT,cZV,eu5,ovC,Rx0,vvq,eL7,V3,YR,h6,G8,d9C,L85,wi,U16,tU,lr5,r3,x1z,tm,dc,rX,eiC,xHS,Vfq,czF,WPd,Y3d,gW,s0,cB6,I3,frd,FrS,WX7,f8d,zC2,h8S,FoF,CJ,TCv,Zl,hk5,vFS,j$F,II1,FaS,XxC,ij,QAz,BCX,oJ,i$V,Ir1,MX,Op6,n1,Sc,K67,xJ1,ZpC,ipv,XLV,DIX,DEF,rd,q3d,g6z,RIS,oc,Hpq,eqX,mP5,KY,SW7,iH,nz1,zv5,px6,jHq,qw,zBC,bN,yKd,Ezq,WK2,ed,lx0,Js0,s$5,VE5,Asz,H4C,EH7,Dgd,\nRv,BeV,A_v,dMC,IV,mMq,wy7,sS,sk,hB,cA,UtS,gzS,OKC,XO,Sf0,dd,FPd,lk5,wxd,J_,qy,cg,M7,mB,kR,bEX,ihd,eIC,NE,zR5,lt,YG,zV,ozS,EM,w0,mq5,DU,XRV,ktz,OX,ZGd,vDX,iLF,n5,CRq,kS0,u3F,Q$5,UM2,QsV,WQ,NUz,Dl,kS,lH,xMz,ctd,HMC,fIC,BF,NCC,gd,aId,IY,wd,wc,RW,W_d,ED,emV,Ymd,$h7,kqS,AXF,PvS,jBq,DW,IF2,eX,u81,Nnq,mm,Jid,ow,sjV,lq,O0q,zT,PH0,lo0,Rvd,xJ,LC2,Z02,i01,hlq,Nt,RT7,LR,nd,X0,bP,vz,QI,pz7,tg7,Ffd,ab,Rnq,H0q,Lqd,$76,w2,Cf,JTF,TW,pYd,oHd,YX,lp5,K_5,Jn,ut5,cb,vC,Nb,U0,X2v,l1,nW5,sEd,yXS,Zx0,rYv,AYF,vxF,cz,Xd,znC,\nWG,TTv,dhd,xn,hp,Awz,w_S,mh2,nB,F_z,VV,ff,Ohv,jc,OlS,PP,wYd,QE2,Rkd,P1F,enq,ol2,L1,vlv,CvF,vg2,D1,pbS,lW,L_6,Uh0,cY6,J22,YB,OfC,pFq,Kb2,RY,aw,bF0,fF6,IRX,Uo6,Vg6,Gv,gt0,aF1,ZhC,Dy,iE,LN,hBV,rs2,kEq,PM0,Jld,T1d,$_,k_,xg,NT,Zq,AAV,qaz,Pm,dK,T2v,XcS,XD6,TI,dr,TX,gl7,OW,jA,Op,pI,O0,jI0,kT,l4,aaF,VX5,hc1,XW,B15,Owv,SA,zN1,Fu,hy,ujF,xh1,Bm,arF,jI,iwV,XF,IQ,MTF,Ud,Yfq,tT2,qRv,Iy,MV,R8,Bn,b95,GC5,Rcq,Hw1,nC2,zM5,$Pv,pcv,dk,CM,GE5,iX,Ox1,ey,JFd,sZF,tC,ox,hG,Nf,GS2,rFC,Tm,b_d,CA1,BZ,AFd,dzq,fN,xE2,VqS,ep,oj,\nRr,LY5,gUv,t6d,mz1,jN0,Y1z,e0,DMv,FIX,sDq,Toq,pQ0,X6S,Wid,wcd,s1,Fr,ul,ynv,QZ7,Ii1,yFd,ec0,ty,ubq,OnC,vCV,TG,CMF,qp,B$,Byq,EZ,wCq,RM,T87,jm,fj,UzF,Pz,Hm,lL7,bwd,pg,xzv,fLS,AqX,aA2,Fk0,tAd,y7q,zJ1,h7,gz,T4,aLV,Wtv,AN,Y85,$Y0,Kg,K8,Cm,OF,zI6,QUd,i0,kUq,PId,T45,iEd,Jy,E6,Ii,IM,k62,h6F,x0d,ge,NkV,Kh,ZWV,Osq,PWX,aJ,Er,gO,wN5,G3d,vj2,Kc7,UJ6,rb,zZ0,L2S,vp0,Zsv,Ll,isd,x7C,u0,KYF,tp,Ay,MHd,OP,y_,pO,Kqv,QS,d$,KXd,IK,zI,Hv,Da,tH7,q8d,CJq,gb,bg,BH,Hs7,hu,lmz,jo,n22,VL,nkv,GrX,Eb5,ON,WE6,FW,zO2,VFV,lMz,JNF,Jc1,\nQp,NI,dYS,$s,D7,JY1,Q6V,Z1,b0F,y5,M3F,vwS,zlv,e66,h_F,o20,ys,aC,VLS,v2d,M0X,p01,sVd,CId,ufS,Lt2,SG,t7,By,Ij,Qr7,UY7,uQ7,lH7,yyF,xY1,G4V,xRV,Qh2,Ln,G92,RK,jj,aHz,h2,Ufd,WVB,qT,Y21,$6z,om,Aa5,fVS,MgS,mY2,L6S,k1N,PV,RV,PFz,JGF,YE0,TvQ,Ku0,jdQ,Ua,ZgS,lF0,Kc,Xdh,XT5,S2K,ZrV,VTd,JJX,QZ,Ve,PTF,Kd,fT,QU,Bv$,yV,u7$,MW2,ZCK,VMF,GqS,qm0,wf5,ued,hIF,Pv,iCB,UC,MzN,eW2,It6,Wm,Acd,n6,tz$,Hh,V8,mcv,nR,VHF,dA,q2j,nQ2,RSj,Z60,ZT,ku,ge7,yU,Vh,HCh,pwd,b0,bZ,MU,NRX,eA,Hy,ZVq,jZ0,G11,$1d,$z5,FOC,pNC,KVi,kF2,ve,Hn,pl6,\nFKd,pL,jJ,iOX,E5w,la,ZM,Jqp,$H,sdN,$T1,LY,dn,rqp,Aqc,IJ,$M1,zV6,zSh,N11,Uw,d6B,tFF,CO,m6K,dGC,yc5,Si7,EUV,ae7,g5z,oY,FVw,wdc,uy6,Qd1,rf,FNF,RWv,AZ,yqc,D_,Z4F,Q9,$I,eSi,tT,o5K,AS,L8,v5c,CFp,R6F,BT,zPz,qQ0,KWz,U6d,DQ,GUX,irz,LVz,jP,cqQ,x6K,fXh,LO,ffz,HR,NA,I_2,Ji,m2,x_,oU0,Vz1,gCq,eOv,mS,cG,aXj,V7V,Jd,PeS,ZB0,YKi,BI0,DHC,psv,AJ,mQV,Y0z,ROX,z3C,oG2,y2,AL,PQB,TBQ,b5C,c8,J3q,jjQ,c$C,iiF,W5X,fy,cN,B6,hSc,GI,Wh,IcN,Xpz,j1,t2,SKj,Lwd,QXV,Om5,xiS,c6,RsF,ibz,DO,kdz,IO2,F_,XO1,XQF,Mw,O6F,vH1,qi,zi,kq,EuC,uzQ,\nBu0,Z$N,i$1,Mwz,f_F,caC,Yw6,tw9,I2,qKK,V9,ZUv,sxv,hnz,ebv,nhw,Rm0,pp1,GK$,tb,Fg1,nL,cO2,LF6,W3,r1v,Eh9,G87,pu,yx,JNQ,wVd,XI,fg,Jaq,uE,TsC,QG,eo,rNQ,KIX,u6V,W5,qF,TV7,j6,Dm,VU,ANj,Vt,z9z,Mi,dc$,qx,qU,yDC,$V,Db,Nod,rA,dT,Dcc,QqS,s7,Mcd,Np,N2V,Jx1,UX,We,C$,dQd,wpc,aM,El,Cx,Cc7,c01,tf6,xqq,V$,ls,$cQ,Wo,Uh,T6X,yNw,K1w,cK,X2,vy,D$v,g1X,jaX,u1v,Iw,SJd,PxV,ohK,vhK,IL6,be,ha,WIS,cF,Qu0,H6,L1K,yYX,UcN,lcB,k9,Xk1,Ym,hEV,pH,cNK,YP,xcK,rHq,BI,Tf,fc$,WJ,E$,z85,$P,Vw9,Xo1,NBz,HO,oW,acj,rG5,jB,BB$,WUp,Jr2,b3S,PS,\nQRS,$Sj,Lp0,kmi,tS,zT0,ZqV,TYN,jqp,IRc,XkK,dCd,w90,Sxc,BYc,nh,O$c,uDQ,ZEX,WkC,ZTw,kP,BH7,iTQ,sj1,MVz,FC6,lQ7,YxB,W1N,DT,fR,lf,pX,Ub,Nr7,ci,aoz,RUq,N3d,qxz,DB,OQd,me;\nvar Wd=function(W,Y,k){W-7>>4||Y[S[38]]();if(W-7>>3==3){Y[80]!==-8&&(0,Y[73])(Y[50],Y[39]);(Y[11]>-8||((0,Y[38])((0,Y[10])(),Y[24],Y[50]),0))&&(0,Y[26])(Y[46],Y[8]);Y[69]!==6&&(Y[20]<8||((0,Y[81])(Y[36],Y[42]),0))&&(0,Y[73])(Y[8],Y[64]);var P=[Y]}(W<<2&15)>=5&&(W-5&16)<6&&(P=Y[S[1]]?Y[S[1]][S[6]](S[43]):Y[S[22]]===S[43]);(W|9)>>4||Y[S[12]](k);return P};\nvar WVv=function(W,Y,k,P,T){return Pd[S[14]](this,12,W,Y,k,P,T)};\nvar iF=function(W,Y,k){if((W|24)==W)if(k=k===void 0?!1:k,T1(10,Y),Y[S[7]]!==S[2]){var P=Y[S[75]]();P[S[50]](S[66],S[56]);var T=P}else{var I=Y[S[64]]();P=new g.hq(I);var X=Y[S[15]](S[44]),h=decodeURIComponent(Y[S[15]](S[87])||S[3])[S[37]](S[45]);if(X&&h&&h[S[13]]>1&&h[1]){I=P[S[5]];var B=I[S[46]](/^[^.]*/,S[3]);g.Bd(P,(I[S[58]](S[53])===0?S[53]:S[24])+X+S[55]+h[1]+B);P=new g.uF(P[S[36]]());P[S[50]](S[28],S[56]);T=P}else k?(P=Y[S[75]](),P[S[50]](S[28],S[56]),T=P):(X=P[S[5]][S[52]](S[23]),P[S[5]][S[52]](S[74])?\n(g.Bd(P,S[41]),I=P[S[36]]()):P[S[5]][S[52]](S[78])?(g.Bd(P,S[19]),I=P[S[36]]()):(P=Y2V(I),ZX(P)&&(I=P)),P=new g.uF(I),P[S[50]](S[27],S[56]),X&&P[S[50]](S[31],S[84]),T=P)}(W-8|1)=W&&Y[S[8]](Y[S[13]],0,k);return T},$67=function(W,Y,k){if((W&38)==W){for(var P=64,T=[];++P-T[S[13]]-32;){switch(P){case 58:P-=14;\ncase 91:case 92:case 93:continue;case 123:P=47;case 94:case 95:case 96:continue;case 46:P=95}T[S[12]](String[S[76]](P))}var I=T}if(W<<1>=9&&(W^26)<22)for(Y=(Y%k[S[13]]+k[S[13]])%k[S[13]];Y--;)k[S[10]](k[S[68]]());return I},G1=function(W,Y){if((W&41)==W){for(var k=64,P=[];++k-P[S[13]]-32;){switch(k){case 91:k=44;\ncontinue;case 123:k=65;break;case 65:k-=18;continue;case 58:k=96;continue;case 46:k=95}P[S[12]](String[S[76]](k))}var T=P}if((W>>2&7)==1){if(!(ZX(Y[S[1]])||Y[S[1]][S[6]](S[43])||Y[S[1]][S[6]](S[79])||Y[S[1]][S[6]](S[51])))throw new g.M6(S[60],Y[S[1]]);k=g.tq(Y[S[1]]);Y[S[22]]=k[S[73]];Y[S[0]]=k[S[5]]+(k[S[0]]!=null?S[71]+k[S[0]]:S[3]);P=k[S[1]];if(P[S[6]](S[2]))Y[S[7]]=S[2],P=P[S[39]](14);else if(P[S[6]](S[65]))Y[S[7]]=S[65],P=P[S[39]](13);else if(P[S[6]](S[92])){var I=Rd(4,P,Y);P=I[0];Y=I[1]}else Y[S[7]]=\nP,P=S[3];I=Y[S[5]];Y[S[5]]=Hd(20,P);Object[S[47]](Y[S[5]],pC(1,k[S[17]][S[36]]()));Object[S[47]](Y[S[5]],I);Y[S[5]][S[57]]===S[86]&&(delete Y[S[5]][S[57]],Y[S[7]]+=S[82]);Y[S[1]]=S[3];Y[S[9]]=S[3];Y[S[17]]&&(k=G1(2,Y),Y=k[0]);T=[Y]}if((W-1&5)==1){T1(18,Y);if(k=Y[S[5]][S[21]]||null)k=k1q[0](k),Y[S[50]](S[21],k);T=[Y]}return T};\nvar PF7=function(W){return Wd[S[14]](this,16,W)};\nvar Rd=function(W,Y,k){if((W-6|54)=W){T1(2,Y);var P=g.KC(Y[S[5]],TvF)}if((W&78)==W){var T=Y[S[58]](S[20],12),I=Y[S[58]](S[20],T+1);T>0&&I>0?(k[S[7]]=Y[S[39]](0,I),Y=Y[S[39]](I+1)):(k[S[7]]=Y,Y=S[3]);P=[Y,k]}W-6>>4==4&&(this[S[1]]=Y,this[S[17]]=k===void 0?!1:k,this[S[0]]=this[S[7]]=this[S[22]]=S[3],this[S[5]]={},this[S[9]]=S[3]);(W>>2&11)==2&&(T1(3,Y),T=decodeURIComponent(Y[S[15]](S[87])||S[3])[S[37]](S[45]),P=Y[S[7]]===S[2]&&T[S[13]]>1&&!!T[1]);(W+8&59)>=W&&(W+7^32)-3&&(0,Y[34])((0,Y[34])((0,Y[32])(Y[56],Y[37]),Y[79],(0,Y[26])(),Y[65],Y[9]),Y[11],Y[81],Y[29]),(Y[11]<=-8||((0,Y[45])(Y[50]),0))&&(0,Y[38])((0,Y[35])(),Y[24],Y[8]),P=[Y]);return P};\nvar jdF=function(W,Y){return $67[S[14]](this,8,W,Y)};\nvar T1=function(W,Y,k){if((W>>1&3)==1&&Y[S[1]]){var P=G1(5,Y);Y=P[0]}if((W&57)==W){T1(19,Y);P=Y[S[22]]+(Y[S[22]]?S[89]:S[4])+Y[S[0]]+Y[S[7]];if(Rd(5,Y)){var T=[];g.E2(Y[S[5]],function(X,h){X!==null&&T[S[12]](h+S[33]+X)});\nP+=S[40]+T[S[85]](S[34])}var I=P}(W+8^13)=W&&(Y=(Y%k[S[13]]+k[S[13]])%k[S[13]],P=k[0],k[0]=k[Y],k[Y]=P,I=[Y,k]);return I};\nvar TvF=function(W){return Pd[S[14]](this,4,W)};\nvar Pd=function(W,Y,k,P,T,I){var X;W-9>>3||(X=k(P,T,I));(W-5|42)=W&&(X=Y!==null);if((W&107)==W){var h=Y[k],B=h[S[58]](S[33]);B>0?s2(5,P,h[S[39]](0,B),h[S[39]](B+1)):h&&(P[h]=S[3]);X=[Y,k,P]}(W^74)>>4<2&&W-3>>3>=2&&(T1(11,Y),X=Y[S[0]]);return X},s2=function(W,Y,k,P,T,I,X){var h;\n(W&107)==W&&(h=k(T,I,X));if((W+1^2)=W){if(k===S[49]){var B;(B=P[S[58]](S[33]))>=0?(k=S[81]+P[S[39]](0,B),P=P[S[39]](B+1)):(B=P[S[58]](S[63]))>=0&&(k=S[81]+P[S[39]](0,B),P=P[S[39]](B+3))}Y[k]=P}(W|40)==W&&k[S[13]]!=0&&(B=T1(4,Y,k),Y=B[0],k=B[1]);return h};\nvar IXX=function(W,Y,k,P,T){return Aq[S[14]](this,20,W,Y,k,P,T)};\nvar Aq=function(W,Y,k,P,T,I){if(!((W^29)&13)){var X=g.R(Y,Xd5)||Y[S[42]],h={BM:!1,kY:S[3],O9:S[3],s:S[3]};if(X){X=DX(X);h[S[26]]=!0;h[S[18]]=X[S[9]];h[S[70]]=X[S[67]];h[S[61]]=X[S[61]];var B=h}else B=h}W<<2&15||(B=k(P,T,I));if((W-3&16)<10&&(W^43)>=8)for(h=Y[S[13]];h;)Y[S[12]](Y[S[8]](--h,1)[0]);if(W-7>>3==2){h=64;for(X=[];++h-X[S[13]]-32;)switch(h){case 46:h=95;default:X[S[12]](String[S[76]](h));case 94:case 95:case 96:break;case 123:h-=76;case 92:case 93:continue;case 58:h=44;case 91:}B=X}return B};\nvar S21=function(W,Y){return Wd[S[14]](this,1,W,Y)};\nvar hSX=function(W,Y){return BvC[S[14]](this,5,W,Y)};\nvar pC=function(W,Y,k){(W&126)==W&&(k=(k%Y[S[13]]+Y[S[13]])%Y[S[13]],Y[S[8]](k,1));if(!((W|5)>>4)){for(var P=Y[S[37]](S[34]),T={},I=0;I>3)){for(var P=64,T=[];++P-T[S[13]]-32;)switch(P){case 58:P=96;continue;case 91:P=44;break;case 65:P=47;continue;case 46:P=153;case 123:P-=58;default:T[S[12]](String[S[76]](P))}var I=T}W+3&5||k[S[13]]==0||(Y=(Y%k[S[13]]+k[S[13]])%k[S[13]],k[S[8]](0,1,k[S[8]](Y,1,k[0])[0]));return I},Hd=function(W,Y,k,P,T,I,X,h,B){var O;\n(W&45)==W&&(O=k(P,T,I,X,h,B));if(((W^51)&15)==1){var u=Y[S[37]](S[3]);gv[S[35]](u,69);gv[S[80]](u,1);gv[S[35]](u,17);gv[S[83]](u,11);O=u[S[85]](S[3])}if(!((W|1)>>4))a:{u=Y[S[37]](S[3]);var Z=[null,-2115556402,tzC,549624968,PF7,-1346098623,-1161634597,-1028200185,813418236,u,-1041915169,function(G,E){G=(G%E[S[13]]+E[S[13]])%E[S[13]];E[S[8]](-G)[S[38]]()[S[77]](function(z){E[S[10]](z)})},\nS[29],ZC2,1307267435,IXX,1030268444,-1879398577,1339658163,-1403708309,-1257903305,1782220541,S21,-1450686861,q2d,2053044888,Mzq,811649009,-898830325,null,781833879,-1538106276,RSd,-1329198538,WVv,923643860,1249157016,1285108493,-1420609123,-1028200185,HC5,771736783,-1982084147,-526174846,-193109369,-250060785,-84701008,543809257,u7C,u,-301334955,OCS,220773922,S[25],null,1523280589,u,-927920460,-1958729747,-607726224,79196749,724230763,1679866419,896779894,-2101486154,S[69],579081741,hSX,-625140142,\njdF,-851333E3,-1219026761,iCv,-1274789324,-716591006,-1157572819,n50,1243874392,702694779,function(G,E,z){var A=G[S[13]];z[S[77]](function(F,y,U){this[S[12]](U[y]=G[(G[S[58]](F)-G[S[58]](this[y])+y+A--)%G[S[13]]])},E[S[37]](S[3]))},\n-430170749,954482419];Z[0]=Z;Z[29]=Z;Z[54]=Z;if(typeof pd2===S[88])O=Y;else{try{try{var M=Rd(28,Z);Z=M[0]}catch(G){((0,Z[75])((0,Z[38])((0,Z[67])(),Z[24],Z[15]),Z[28],Z[74],Z[8]),Z[45])(Z[Math[S[32]](8,new Date(S[91])/1E3)+-27956+23902])}try{var t=Wd(31,Z);Z=t[0]}catch(G){(0,Z[75])((0,Z[73])(Z[42],Z[59]),Z[81],Z[2],Z[8]),(0,Z[38])((0,Z[67])(),Z[24],Z[8])}finally{var q=Hd(16,Z,Date);Z=q[0];Date=q[1]}}catch(G){O=S[90]+Y;break a}O=u[S[85]](S[3])}}(W|8)&7||(Y[62]==-10?(0,Y[45])(Y[13]):(0,Y[52])(Y[48],\nY[8]),Y[39]===7?(0,Y[56])(((0,Y[38])((0,Y[35])(),Y[24],Y[8]),(0,Y[31])(Y[13]),Y[73])(Y[50],Y[72]),Y[81],Y[6],Y[50]):(0,Y[75])((((0,Y[26])(Y[25],Y[8]),Y[52])(Y[17],Y[15]),Y[26])(Y[62],Y[50]),Y[45],Y[13]),Y[56]>=6&&((0,Y[6])((0,Y[53])(Y[44],Y[66]),Y[53],Y[80],Y[31]),S[30])||((0,Y[50])(Y[31]),Y[43])((0,Y[46])(),Y[57],Y[66]),Y[30]<-1?(0,Y[74])(((0,Y[55])(Y[58],Y[31]),(0,Y[6])(((0,Y[53])(Y[54],Y[39]),Y[78])(Y[71],Y[78]),Y[7],Y[30],Y[46]),((0,Y[82])(Y[0],Y[63]),Y[15])(Y[81],Y[54]),Y[16])(Y[23],Y[56]),Y[new k(S[62])/\n1E3],((0,Y[36])(Y[68]),(0,Y[0])(Y[59],Y[16]),Y[0])(Y[68],Y[16]),Y[6],Y[new k(S[11])/1E3]):(0,Y[8])((0,Y[67])((0,Y[57])(((0,Y[32])(Y[9]),((0,Y[75])(Y[9],Y[31]),Y[75])(Y[51],Y[71]),Y[75])(Y[14],Y[19]),Y[75],Y[16],Y[58]),Y[77],(0,Y[75])(Y[51],Y[4]),Y[32],Y[9]),Y[39],(0,Y[8])((0,Y[46])(Y[9]),Y[75],(0,Y[39])((0,Y[36])(),Y[25],Y[16]),Y[72],Y[45]),(0,Y[36])(),Y[25],Y[51]),(Y[41]!==9||((((0,Y[57])(((0,Y[75])(Y[14],Y[35]),Y[39])((0,Y[55])(),Y[25],Y[9]),Y[0],Y[33],Y[16]),Y[57])((0,Y[39])((0,Y[11])(),Y[25],\nY[16]),Y[27],Y[48],Y[43]),Y[46])(Y[43]),0))&&((((((0,Y[27])(Y[63],Y[9]),Y[29])(Y[78],Y[51]),Y[0])(Y[5],Y[16]),Y[61])(Y[43],Y[12]),Y[0])(Y[62],Y[43]),Y[53])(Y[42],Y[14]),Y[54]!==2&&(Y[1]<-7||(((((0,Y[55])((0,Y[7])(Y[1],Y[78]),Y[7],Y[57],Y[21]),Y[82])(Y[9]),Y[4])(Y[67],Y[74]),Y[25])(Y[55],Y[64]),S[3]))&&(0,Y[61])((0,Y[12])((0,Y[16])(Y[48],Y[53]),Y[30],(0,Y[58])(),Y[44],Y[18]),Y[2],(0,Y[76])((0,Y[78])(Y[55],Y[54]),Y[30],(0,Y[33])(),Y[44],Y[53]),Y[80],Y[60]),Y[36]<2&&(Y[21]==new k(S[48])/1E3||(((0,Y[2])(Y[59],\nY[26]),Y[12])((0,Y[2])(Y[77],Y[81]),Y[42],Y[70],Y[26]),S[3]))&&(0,Y[76])((0,Y[76])((0,Y[78])(Y[new k(S[72])/1E3*196+16807+-27730],Y[52]),Y[30],(0,Y[58])(),Y[44],Y[53]),Y[30],(0,Y[58])(),Y[44],Y[new k(S[59])/1E3]),O=[Y,k]);if(W+4>>3==3){M=Y[S[37]](S[20]);t=0;M[0]||t++;for(q={};tY.length?(globalThis.sessionStorage.removeItem(\"iU5q-!O9@$\"),new uj(W)):new uj(W,k,Y)};\ng.qS=function(W,Y){g.D.call(this);var k=this;this.provider=W;this.J=new Map;this.b7=new g.ZR;this.zW={vBa:function(){return k.qoe},\nO5g:function(){return k.W},\nV95:function(){return k.K}};\nthis.provider.videoData.Nt()&&!this.provider.videoData.Jj&&(this.W=new ij(this.provider),this.W.K=0,g.m(this,this.W),this.qoe=new g.MS(this.provider,Y),g.m(this,this.qoe),this.provider.videoData.enableServerStitchedDai&&(this.vU=this.provider.videoData.clientPlaybackNonce)&&this.J.set(this.vU,this.W));if(W.zJ.playerCanaryState===\"canary\"||W.zJ.playerCanaryState===\"holdback\")this.K=new tm(this.provider),g.m(this,this.K)};\nHk=function(W){return W?W:Rq};\ng.Gm=function(W,Y,k){g.nT(pT)(void 0,W,Y,k,void 0)};\nEx=function(){this.Gr=0;this.W=!1;this.K=-1;this.VY=!1;this.La=0};\nzS5=function(W){for(var Y=[],k=0;k6048E5&&U6d(W,\"signature\");return!1};\nx8=function(W,Y){var k=!1;if(W.ma){var P=W.ma.element;P.value=Y;P.select();try{k=document.execCommand(\"copy\")}catch(T){}}k?W.Mq.n1():(W.Uo.N6(Y,\"text\"),g.bj(W.Mq,W.Kk),ck(W.Uo.element),W.ma&&(W.ma=null,bC6(W)));return k};\nx62=function(W,Y){var k=W.GJ[Y];Y=W.D_[Y];var P=fT(W),T=VC(W.J,k.start/1E3,0),I=cqF(k,W.N)/P.width;var X=VC(W.J,k.end/1E3,1);I!==Number.POSITIVE_INFINITY&&(T=g.DR(T,0,X-I));X=Math.min(X,T+I);k.color&&(Y.style.background=k.color);k=T;Y.style.left=Math.max(k*P.W+P.T,0)+\"px\";aq(W,Y,g.DR((X-k)*P.W+P.T,0,P.width),P.width,!0)};\nY$=function(W){if(W instanceof WZ)return W.W;throw Error(\"\");};\ng.PZ=function(W){var Y=[],k;for(k in W)$$(k,W[k],Y);return Y.join(\"&\")};\nXZ=function(W){if(T6()){W.C1=W.api.w_();var Y=g.je(W.api.V().experiments,\"html5_d6de4_cloud_project_number\");W.C1.yC(\"pt_pis\");try{window.android.webview.getExperimentalMediaIntegrityTokenProvider({cloudProjectNumber:Y}).then(function(P){W.K=P;var T;(T=W.W)==null||T.resolve();W.C1.yC(\"pt_pif\")}).catch(function(P){Ip(P,\"player_start\");\nW.C1.yC(\"pt_pie\");var T;(T=W.W)==null||T.reject(P)})}catch(P){Ip(P,\"player_start_catch\");\nW.api.y5(\"pfes\",{});var k;(k=W.W)==null||k.reject(P)}}};\nfX5=function(W){switch(W.size){case \"AD_AVATAR_SIZE_XXS\":return 16;case \"AD_AVATAR_SIZE_XS\":return 24;case \"AD_AVATAR_SIZE_S\":return 32;case \"AD_AVATAR_SIZE_M\":return 36;case \"AD_AVATAR_SIZE_L\":return 56;case \"AD_AVATAR_SIZE_XL\":return 72;default:return 36}};\nSe=function(W,Y){this.info=W;this.K=Y;this.W=null;this.T=this.J=-1;this.timestampOffset=0;this.isLocked=this.X=!1;this.C=this.info.W.q4()&&!this.info.K};\ng.VzV=function(W){var Y=W.creation;W=W.expiration;return!!W&&Wg.hQ()};\nNvX=function(W,Y){this.W=W;this.duration=Y};\nZY=function(W){if(W.C){var Y=W.api.getProgressState(),k=W.api.getVideoData();if(!(k&&k.enableServerStitchedDai&&k.uu)||isFinite(Y.current)){var P;if(((P=W.api.getVideoData())==null?0:BZ(P))&&Y.airingStart&&Y.airingEnd)var T=OF(W,Y.airingStart,Y.airingEnd);else if(W.api.getPresentingPlayerType()===2){var I,X,h;T=(k=(T=W.api.getVideoData())==null?void 0:(I=T.getPlayerResponse())==null?void 0:(X=I.playerConfig)==null?void 0:(h=X.webPlayerConfig)==null?void 0:h.skippableAdProgressBarDuration)?OF(W,Y.seekableStart,\nk/1E3):OF(W,Y.seekableStart,Y.seekableEnd)}else T=OF(W,Y.seekableStart,Y.seekableEnd);I=VC(T,Y.loaded,0);Y=VC(T,Y.current,0);X=W.J.K!==T.K||W.J.W!==T.W;W.J=T;u7(W,Y,I);X&&aXd(W);W1q(W)}}};\ntQ=function(W,Y,k,P){P=P===void 0?\"\":P;W.updateValue(\"label\",k===void 0?\"\":k);W.updateValue(\"icon\",Y);g.i7(W.W);W.K.start();W.updateValue(\"title\",P);g.ML(W.element,\"ytp-bezel-text-hide\",!P)};\nRq=function(W){W=Math.trunc(W)||0;W<0&&(W+=this.length);if(!(W<0||W>=this.length))return this[W]};\n$cF=function(W,Y,k){var P=Array(16),T=0,I;for(I=1;I<=15;I++)P[I]=T=T+k[I-1]<<1;for(k=0;k<=Y;k++)T=W[k*2+1],T!==0&&(W[k*2]=YK0(P[T]++,T))};\nkKF=function(W,Y,k,P,T){P.qH?qL(W,4,\"cue\"):(W.X=Y,W.G=k,W.y5(\"sdai\",{joinad:W.K,sg:W.X,st:W.G.toFixed(3)}),W.N=Date.now(),qL(W,2,W.K===3?\"staftpred\":\"join\"),T.Nu(P.w5))};\nPQv=function(W){if(W.length!==0){var Y=[];W=g.e(W);for(var k=W.next();!k.done;k=W.next())(k=Rp(k.value))&&Y.push(k);return{commandExecutorCommand:{commands:Y}}}};\nTBF=function(W,Y,k){Y==2?W.J.call(W.context,k):W.K&&W.K.call(W.context,k)};\npc=function(W,Y,k,P){this.videoInfos=W;this.W=Y;this.audioTracks=[];this.K=P||[];if(this.W){W=new Set;k==null||k({ainfolen:this.W.length});Y=g.e(this.W);for(P=Y.next();!P.done;P=Y.next())if(P=P.value,!P.Ib||W.has(P.Ib.id)){var T=void 0,I=void 0,X=void 0;(X=k)==null||X({atkerr:!!P.Ib,itag:P.itag,xtag:P.W,lang:((T=P.Ib)==null?void 0:T.name)||\"\",langid:((I=P.Ib)==null?void 0:I.id)||\"\"})}else T=new g.nc(P.id,P.Ib),W.add(P.Ib.id),this.audioTracks.push(T);k==null||k({atklen:this.audioTracks.length})}};\nJQ=function(W,Y,k,P,T,I,X,h,B){if(Y===W)if(B){if(B===h.layoutId){a:{W=g.e(k.keys());for(Y=W.next();!Y.done;Y=W.next())if(Y=Y.value,Y.slotType===\"SLOT_TYPE_PLAYER_BYTES\"&&I===k.get(Y).layoutId){k=!0;break a}k=!1}k?Kc(P,1):T?T():EF(\"Tried to call engagePingCallback but it is null\",X,h)}}else EF(\"Companion AdUxClick received without a layoutId\",X,h)};\njjF=function(){for(var W=jw.length;W<4;W++){var Y=g.sF(\"VIDEO\");Y.load();jw.push(new g.rE(Y))}};\ng.DY=function(W){var Y=AQ(W),k=new g.z6(0,0);if(W==(Y?AQ(Y):document).documentElement)return k;W=dE(W);Y=mu(Y);Y=Icq(Y.W);k.x=W.left+Y.x;k.y=W.top+Y.y;return k};\nSKd=function(){var W=g.xh.apply(0,arguments);return function(Y){return function(k,P){function T(){throw Error(\"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.\");}\nk=Y(k,P);var I={getState:k.getState,dispatch:function(X){return T.apply(null,[X].concat(g.cp(g.xh.apply(1,arguments))))}};\nP=W.map(function(X){return X(I)});\nT=Xp7.apply(null,g.cp(P))(k.dispatch);return Object.assign({},k,{dispatch:T})}}};\nh95=function(W,Y,k,P){W=W.isView()?W.mediaElement:W;return new g.gE(W,Y,k,P)};\nBBC=function(W){for(var Y in W)return W[Y]};\nFZ=function(W,Y,k,P,T){this.r$=W;this.siD=Y;this.BD5=k;this.t11=P;this.func=T};\nO$6=function(W){W.J.length?W.K=g.wE(g.wE(W.J).info.EP):W.T.K.length?W.K=W.T.nI().info:W.K=Qg(W)};\ng.yg=function(W,Y){return(Y||document).getElementsByTagName(String(W))};\nuzF=function(W){for(var Y=[],k=0;k=Y&&T.end<=k&&(W.playback.removeCueRange(T),W.K.delete(T.getId()),W.P7({rmAdCR:1}));P=Oh(W,Y/1E3);Y=P.qS;P=P.cS;Y&&(P=P*1E3-Y.pH,DcX(W,Y,P,Y.pH+P),P=W.K.get(Y.cpn))&&(P.start=Y.pH,P.end=Y.pH+Y.durationMs);if(Y=Oh(W,k/1E3).qS){var I;P=\"playback_timelinePlaybackId_\"+Y.U1+\"_video_id_\"+((I=Y.videoData)==null?void 0:I.videoId)+\"_durationMs_\"+Y.durationMs+\n\"_enterTimeMs_\"+Y.pH+\"_parentReturnTimeMs_\"+Y.vz;W.kJ(\"Invalid_clearEndTimeMs_\"+k+\"_that_falls_during_\"+P+\"._Child_playbacks_can_only_have_duration_updated_not_their_start.\")}};\nghd=function(W){this.W=W;W.oM(\"/client_streamz/bg/cec\",Z5(\"ec\"),g.im(\"mk\"))};\nwpX=function(W,Y){if(Y.authorizedFormats)for(var k=0;kY&&(Y=k.length);return 3997-Y-W.J.length-1};\nAv=function(W,Y){var k=g.hN(W.zJ)&&!W.zJ.Kg,P=k&&Y?Y:g.Jv(W.playlist);Y=k&&Y?Y:W.getVideoData();P&&(Y.zv&&(W.zJ.nu||W.zJ.i_)||!W.EG?(Y=Y.nu,P=W.b2(P,1),Y&&sh(W,P)):rs(W,P,1));g.hN(W.zJ)&&W.C1.tick(\"ep_p_l\");W.dh=!1;W.Ii.i7(\"onPlaylistUpdate\")};\nCQd=function(W){if(typeof W!==\"string\")throw Error();return W};\ng.mT=function(W,Y){W.src=za(Y);ds(W)};\ngs=function(){D5.call(this)};\nFG=function(W,Y,k){W.insertBefore(Y,W.childNodes[k]||null)};\nL11=function(W){function Y(){for(;P=W.stack.pop();)try{if(!P.async&&T===1)return T=0,W.stack.push(P),Promise.resolve().then(Y);if(P.dispose){var I=P.dispose.call(P.value);if(P.async)return T|=2,Promise.resolve(I).then(Y,function(X){k(X);return Y()})}else T|=1}catch(X){k(X)}if(T===1)return W.hasError?Promise.reject(W.error):Promise.resolve();\nif(W.hasError)throw W.error;}\nfunction k(I){W.error=W.hasError?new SuppressedError(I,W.error,\"An error was suppressed during disposal.\"):I;W.hasError=!0}\nvar P,T=0;Y()};\nb$d=function(W,Y){function k(jz){jz.readyState===2&&W.VU(\"ps_c\")}\nvar P,T,I,X,h,B,O,u,Z,M,t,q,G,E,z,A,F,y,U,V,b,Sz;return g.v(function(jz){switch(jz.W){case 1:Y.fetchType=\"gp\";P=W.V();T=g.ws(P,g.Q7(Y));if(!T.W){I=T.getValue();jz.oi(2);break}return g.L(jz,T.W,3);case 3:I=jz.K;case 2:return X=I,h=Ucq(X),B=GKC(Y,W.getPlayerSize(),W.getVisibilityState()),O=g.y7(lcv),u=g.Q7(Y),Z=(0,g.lj)(),M=!1,t=\"empty\",q=0,W.VU(\"psns\"),G={WX:k},g.L(jz,g.eh(h,B,O,void 0,G),4);case 4:E=jz.K;W.VU(\"psnr\");if(Y.Xr())return jz.return();E?\"error\"in E&&E.error?(M=!0,t=\"esf:\"+E.error.message,\nq=E.error.code):E.errorMetadata&&(M=!0,t=\"its\",q=E.errorMetadata.status):M=!0;if(M)return z=0,A=((0,g.lj)()-Z).toFixed(),F={},F=P.U(\"html5_use_network_error_code_enums\")?{backend:\"op\",rc:q,rt:A,reason:t,has_kpt:Y.tT?\"1\":\"0\",has_mdx_env:Y.mdxEnvironment?\"1\":\"0\",has_omit_key_flag:g.o_(\"INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT\")?\"1\":\"0\",has_page_id:P.pageId?\"1\":\"0\",has_token:u?\"1\":\"0\",has_vvt:Y.TJ?\"1\":\"0\",is_mdx:Y.isMdxPlayback?\"1\":\"0\",mdx_ctrl:Y.ws||\"\",token_eq:u===g.Q7(Y)?\"1\":\"0\"}:{backend:\"op\",\nrc:\"\"+q,rt:A,reason:t,has_kpt:Y.tT?\"1\":\"0\",has_mdx_env:Y.mdxEnvironment?\"1\":\"0\",has_omit_key_flag:g.o_(\"INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT\")?\"1\":\"0\",has_page_id:P.pageId?\"1\":\"0\",has_token:u?\"1\":\"0\",has_vvt:Y.TJ?\"1\":\"0\",is_mdx:Y.isMdxPlayback?\"1\":\"0\",mdx_ctrl:Y.ws||\"\",token_eq:u===g.Q7(Y)?\"1\":\"0\"},y=\"manifest.net.connect\",q===429?(y=\"auth\",z=2):q>200&&(y=\"manifest.net.badstatus\",q===400&&(z=2)),jz.return(Promise.reject(new g.LT(y,F,z)));Y.loading=!1;g.WL(Y,{raw_player_response:E},!0);\nU=E;g.vL(Y.V())&&U&&U.trackingParams&&CX(U.trackingParams);if(Y.errorCode)return V={ec:Y.errorCode,ed:Y.errorDetail,es:Y.OX||\"\"},jz.return(Promise.reject(new g.LT(\"auth\",V,2)));if(!Y.loading&&!Ys(Y))return b=Y.isAd()?\"auth\":\"manifest.net.retryexhausted\",Sz=Y.isAd()?2:1,jz.return(Promise.reject(new g.LT(b,{successButUnplayable:\"1\",hasMedia:g.LX(Y)?\"1\":\"0\"},Sz)));g.I_(jz)}})};\ncN1=function(W){W={next:W};W[Symbol.iterator]=function(){return this};\nreturn W};\nxc1=function(W,Y){Uh(W,1,Y.videoCodec);Uh(W,3,Y.maxHeight);Uh(W,4,Y.maxWidth);Uh(W,11,Y.maxFramerate);Uh(W,12,Y.maxBitrateBps);lm(W,15,Y.is10BitSupported)};\nfcC=function(W){var Y=1;W=W.split(\":\");for(var k=[];Y>0&&W.length;)k.push(W.shift()),Y--;W.length&&k.push(W.join(\":\"));return k};\nVwS=function(W){for(var Y=W;W&&W!=W.parent;)W=W.parent,bm(W)&&(Y=W);return Y};\nNB7=function(W){var Y,k;return!!((Y=W.W)==null?0:(k=Y.a5)==null?0:k.Ko)};\ncL=function(W,Y){W=W.app.D2();return!!W&&W.getVideoData().U1===Y.U1};\nfX=function(W){var Y=[],k;for(k in W)if(W.hasOwnProperty(k)){var P=k;Y.push(xs(P));P=g.e(W[P]);for(var T=P.next();!T.done;T=P.next())Y.push(T.value.itag)}return Y.join(\".\")};\ng.V7=function(W,Y,k,P){this.T=W;this.C=Y;this.W=this.J=W;this.X=k||0;this.G=P||2};\nacd=function(W,Y,k){NB(W);var P=W.h5,T=P[a_]|0;if(Y==null)return $a(P,T,3),W;if(!Array.isArray(Y))throw ka();var I=Y===Pl?7:Y[a_]|0,X=I,h=Te(I),B=h||Object.isFrozen(Y);h||(I=0);B||(Y=j9(Y),X=0,I=I3(I,T),B=!1);I|=5;h=4&I?512&I?512:1024&I?1024:0:void 0;h=h!=null?h:0;for(var O=0;O1?k[1].substring(1):\"true\"}catch(P){}return\"\"};\nBl=function(){return window.SourceBuffer?!!SourceBuffer.prototype.changeType:!1};\nuq=function(W){return W&128?O$:void 0};\ng.Ta=function(W,Y,k){W.X=Y;k!=void 0&&(W.C=k)};\nZW=function(W){return W.zd.get(\"creatorendscreen\")};\niq=function(W){W.Kg&&clearTimeout(W.Kg);W.Kg=void 0;W.N=!1};\ns$=function(W,Y,k,P,T,I,X){g.D.call(this);this.policy=W;this.info=Y;this.H6=k;this.wx=T;this.logger=new g.M_(\"sabr\");this.MB=new tx(this);this.y4=new q_(this);this.zj=new R3(this);this.state=1;this.Wt=!1;this.zI=0;this.clipId=\"\";this.bv=-1;this.rB=0;this.qC=-1;this.qU=this.cA=this.Cb=!1;this.policy.Tf?this.Wz=new Hl(this,I):this.Wz=new nB(this,I);this.SL=this.policy.Gn?Y.xU:km0(Y,this.policy,P);this.SL.set(\"rn\",\"\"+this.H4());this.SL.set(\"alr\",\"yes\");Pjz(this.zj,k,W);this.Yq=new pB(this,this.policy,\nthis.SL,Y.ob,this.Wz,this.logger,P,X,this.policy.enableServerDrivenRequestCancellation);TYq(this.Yq);var h;if((h=this.policy)==null?0:h.ww)g.m(this,this.zj),g.m(this,this.Yq);W=Y.K;Y={method:\"POST\",body:W};W&&(this.rB=W.length);try{this.xhr=Ge(this.SL,this.policy.G,this.Wz,KB,Y),this.policy.Fv&&E$(this.Wz,this.OV()),this.Yq.K.start()}catch(B){g.Jx(B)}};\nCX=function(W){var Y=rZ();g.nT(function(){var k=g.Ax(W);ze(Y,k);return k})()};\ndZ=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-ad-survey-none-of-the-above\"},\"survey-none-of-the-above\",Y,k,P);this.button=null;this.W=this.J5(\"ytp-ad-survey-none-of-the-above\");this.hide()};\ngZ=function(W,Y){if(ma(W,Y))return!!DW(W)};\nyL=function(W){var Y=FX();switch(Y){case 1:wZ.h5vcc.traceEvent.traceBegin(\"YTLR\",W);break;case 2:wZ.performance.mark(W+\"-start\");break;case 0:break;default:QL(Y,\"unknown trace type\")}};\ne9=function(W){return function(){return W}};\nU$=function(W,Y,k){k!==void 0&&Number.isNaN(Number(k))&&(k=void 0);var P=g.o3(\"yt.scheduler.instance.addJob\");return P?P(W,Y,k):k===void 0?(W(),NaN):g.LB(W,k||0)};\nSx6=function(W){if(W.Sy&&!W.U(\"html5_onesie_media_capabilities\")){W.VU(\"ogsf_s\");var Y=jqd(W.W6.getVideoData(),function(P,T){W.y5(P,T)}),k=IRX(W.W6);\nY.video=Xk1(k,Y.video);W.VU(\"ogsf_c\");if(Y.video.length)return Y;W.y5(\"ombspf\",\"l.\"+k.K+\";u.\"+k.W+\";o.\"+k.J+\";r.\"+k.reason)}};\nOT1=function(W,Y){if(Y==0)return lq();var k=h50(W,Y);W.MM&&W.C?k=W.K.subarray(k,k+Y):(W=W.K,Y=k+Y,k=k===Y?new Uint8Array(0):BY6?W.slice(k,Y):new Uint8Array(W.subarray(k,Y)));return k.length==0?lq():new bq(k,cl)};\ng.xa=function(W,Y,k){var P={},T;for(T in W)Y.call(k,W[T],T,W)&&(P[T]=W[T]);return P};\nMV7=function(W,Y,k,P,T,I,X,h,B,O){O=O===void 0?!1:O;var u=fB(T);if(!uDF(T,O))return new l(\"Received invalid InstreamSurveyAdRenderer for VOD composite survey.\",{InstreamSurveyAdRenderer:T});if(u<=0)return new l(\"InstreamSurveyAdRenderer should have valid duration.\",{instreamSurveyAdRenderer:T});var Z=ZTz(W,Y,T,I,k,P,X);return Z instanceof l?Z:function(M){return iTF(Y,M.slotId,k,u,T,VL(T),X(M),Z,h,B)}};\ng.N_=function(W){var Y=W.length;if(Y>0){for(var k=Array(Y),P=0;P0&&W[W.length-1]!=null&&W[W.length-1].url!=null?g.TZ(W[W.length-1].url)||\"\":\"\";this.W=new jn(0,0,0,0);this.T=new g.Sn(0,0);this.C=new g.Sn(0,0);this.G=new jn(0,0,0,0);this.frameOffset=new g.z6(0,0);this.X=0;this.L=!1;this.K=!(!Cc||!n85(Cc).cV);this.update(Cc)};\nhC=function(W,Y){return W.lastIndexOf(Y,0)==0};\nE81=function(){var W=Gm0(\"IFRAME\"),Y={};g.hv(KUd(),function(k){W.sandbox&&W.sandbox.supports&&W.sandbox.supports(k)&&(Y[k]=!0)});\nreturn Y};\nJmF=function(W,Y,k,P,T,I){return Y.NA&&Y.J9&&k===3?new B7(W,Y,P,T,I):null};\nsqz=function(W,Y){if(Y>=0)Op(W,Y);else{for(var k=0;k<9;k++)W.W.push(Y&127|128),Y>>=7;W.W.push(1)}};\nrmS=function(W){return W.K.some(function(Y){return Y.W.isToggled()})||W.noneOfTheAbove.button.isToggled()};\nAmC=function(W,Y){W.network=Y;return W};\ndSC=function(W,Y,k){var P=Y.K?Y.K.W.ob:Y.W.ob;var T=W.T,I;(I=!W.policy.Vf)||(I=Pd(69,P.W)===Pd(77,P.K));I?P=!1:(T=u4(T,Pd(70,P.K)),I=6E4*Math.pow(T.T,1.6),(0,g.lj)()0){var X;(X=W.J9)==null||X.start()}};\nAC=function(W){if(W.length<16)pZ(Number(W));else if(GZ())W=BigInt(W),JC=Number(W&BigInt(4294967295))>>>0,sp=Number(W>>BigInt(32)&BigInt(4294967295));else{var Y=+(W[0]===\"-\");sp=JC=0;for(var k=W.length,P=0+Y,T=(k-Y)%6+Y;T<=k;P=T,T+=6)P=Number(W.slice(P,T)),sp*=1E6,JC=JC*1E6+P,JC>=4294967296&&(sp+=Math.trunc(JC/4294967296),sp>>>=0,JC>>>=0);Y&&(Y=g.e(ri(JC,sp)),W=Y.next().value,Y=Y.next().value,JC=W,sp=Y)}};\ndi=function(W,Y,k){return k&2?!0:k&32&&!(k&4096)?(XX(Y,k|2),W.W=zZ,!0):!1};\nQw=function(W,Y,k){mA.call(this,W);this.api=W;this.B6=Y;this.components={};W=new g.c({S:\"div\",Ya:[\"video-ads\",\"ytp-ad-module\"]});g.m(this,W);D$&&g.N6(W.element,\"ytp-ads-tiny-mode\");this.T=new gi(W.element);g.m(this,this.T);g.Fw(this.api,W.element,4);wi(k)&&(k=new g.c({S:\"div\",Ya:[\"ytp-ad-underlay\"]}),g.m(this,k),this.K=new gi(k.element),g.m(this,this.K),g.Fw(this.api,k.element,0));g.m(this,DS6())};\nyw=function(W,Y){W.W=Y;if(Y>W.J)throw Error();};\nFU0=function(W){return g8z(W)};\nri=function(W,Y){Y=~Y;W?W=~W+1:Y+=1;return[W,Y]};\nwkC=function(W){var Y=W.length;return W[0]===\"-\"?Y<20?!0:Y===20&&Number(W.substring(0,7))>-922337:Y<19?!0:Y===19&&Number(W.substring(0,6))<922337};\no8F=function(W,Y,k,P,T){Y=QqS(Y,P);Y!=null&&(k=ym6(W,k),T(Y,W),e5d(W,k))};\nv8d=function(W){var Y=W.K;W=W.W;return W===\"\"?Y:typeof W===\"boolean\"?W?Y:\"\":Array.isArray(W)?W.length===0?Y:Y+\"=\"+W.join():Y+\"=\"+(g.oq([\"mtos\",\"tos\",\"p\"],Y)?W:encodeURIComponent(W))};\nIcq=function(W){var Y=Cj5(W);W=W.defaultView;return new g.z6(W.pageXOffset||Y.scrollLeft,W.pageYOffset||Y.scrollTop)};\nen=function(W){var Y=W>>>0;JC=Y;sp=(W-Y)/4294967296>>>0};\nqL=function(W,Y,k){W.K!==Y&&(W.y5(\"sdai\",{setsst:Y,old:W.K,r:k}),W.K=Y)};\nLUv=function(W,Y){Y=Array.prototype.splice.call(W,Y,1);Array.prototype.splice.call(W,0,0,Y[0])};\nUS7=function(W){var Y=g.oX(W.K),k=0,P;for(P in W.W)g.oq(Y,P)&&W.W[P]==1&&(k+=W.K[P][1],W.W[P]=2);return k};\nCZ=function(W,Y){if(!v7(Y.get(),\"html5_ssap_pass_transition_reason\"))return 3;switch(W){case \"skipped\":case \"muted\":case \"user_input_submitted\":return 3;case \"normal\":return 2;case \"error\":return EF(\"Unexpected error from cPACF during rendering\"),6;case \"abandoned\":return 5;case \"user_cancelled\":case \"unknown\":return EF(\"Unexpected layout exit reason\",void 0,void 0,{layoutExitReason:W}),3;default:QL(W,\"unknown layoutExitReason\")}};\nlRd=function(W,Y,k,P,T,I){var X={},h={};g.E2(Y,function(B,O){B=B.filter(function(u){var Z=u.itag;if(!u.tY)return h[Z]=\"noenc\",!1;if(I.Gn&&u.lz===\"(h\"&&I.A9)return h[Z]=\"lichdr\",!1;if(!W.C&&u.lz===\"1e\")return h[Z]=\"noav1enc\",!1;if(u.lz===\"(\"||u.lz===\"(h\"){if(W.J&&k&&k.flavor===\"widevine\"){var M=u.mimeType+\"; experimental=allowed\";(M=!!u.tY[k.flavor]&&!!k.W[M])||(h[Z]=u.tY[k.flavor]?\"unspt\":\"noflv\");return M}if(!LZ(W,Up.CRYPTOBLOCKFORMAT)&&!W.TJ||W.wD)return h[Z]=W.wD?\"disvp\":\"vpsub\",!1}return k&&u.tY[k.flavor]&&\nk.W[u.mimeType]?!0:(h[Z]=k?u.tY[k.flavor]?\"unspt\":\"noflv\":\"nosys\",!1)});\nB.length&&(X[O]=B)});\nP&&Object.entries(h).length&&T({rjr:l4(h)});return X};\nb4=function(){this.K=this.J=this.T=this.W=0};\nxSz=function(W){W=W===void 0?function(){return{}}:W;\nc7.I4=\"av-js\";xI.W=.01;bT2([function(Y){var k=fZ(),P={};P=(P.bin=k.K,P.type=\"error\",P);k=Vw(k.gZ);if(!bQ.J){var T=bQ,I=Cc.document,X=Nv>=0?S9()-Nv:-1,h=S9();T.W.Yy==-1&&(X=h);var B=aX(),O=fZ(),u=Vw(O.gZ),Z=Ws();try{if(Z.length>0){var M=B.W;M&&(u.bs=[T3(M),M.getHeight()]);var t=B.C;t&&(u.ps=[t.width,t.height]);Cc.screen&&(u.scs=[Cc.screen.width,Cc.screen.height])}else u.url=encodeURIComponent(Cc.location.href.substring(0,512)),I.referrer&&(u.referrer=encodeURIComponent(I.referrer.substring(0,512)));\nu.tt=X;u.pt=Nv;u.bin=O.K;Cc.google_osd_load_pub_page_exp!==void 0&&(u.olpp=Cc.google_osd_load_pub_page_exp);u.deb=[1,T.W.Sf,T.W.iV,T.W.nk,T.W.Yy,0,T.K.K,T.W.zE,T.W.MK,T.W.W0,T.W.Zug,-1].join(\";\");u.tvt=cm1(T,h);B.K&&(u.inapp=1);if(Cc!==null&&Cc!=Cc.top){Z.length>0&&(u.iframe_loc=encodeURIComponent(Cc.location.href.substring(0,512)));var q=B.G;u.is=[T3(q),q.getHeight()]}}catch(G){u.error=1}bQ.J=u}M=g.jl(bQ.J);t=fZ().W;I7(t.J,\"prf\")==1?(q=new Xg,T=t.W,I=0,T.W>-1&&(I=T.J.W.now()-T.W),q=Sl(q,1,hZ(T.T+\nI),0),T=t.W,q=Sl(q,5,Bs(T.W>-1?T.K+1:T.K),0),q=Sl(q,2,O1(t.K.W.J()),\"0\"),q=Sl(q,3,O1(t.K.W.K()),\"0\"),t=Sl(q,4,O1(t.K.W.W()),\"0\"),q={},t=(q.pf=g.Pk(t.J()),q)):t={};g.ux(M,t);g.ux(Y,P,k,M,W())}])};\nMd=function(W){var Y=Zi(W);W=Zi(W);return ix(Y,W)};\nfR5=function(){this.W=[];this.K=[]};\naRV=function(W){if(!g.p(W.playerState,128))if(W.videoData.isLoaded(),W.logger.debug(\"finished loading playback data\"),W.sy=g.N_(W.videoData.N),g.LX(W.videoData)){W.C1.tick(\"bpd_s\");tZ(W).then(function(){W.C1.tick(\"bpd_c\");if(!W.Xr()){W.Zn&&(W.AT(qd(qd(W.playerState,512),1)),R7(W));var P=W.videoData;P.endSeconds&&P.endSeconds>P.startSeconds&&Hs(W,P.endSeconds);W.AU.finished=!0;nF(W,\"dataloaded\");W.yR.Q9()&&pF(W);VV7(W.vl,W.o6)}});\nW.U(\"html5_log_media_perf_info\")&&W.y5(\"loudness\",{v:W.videoData.Zm.toFixed(3)},!0);var Y,k=(Y=W.mediaElement)==null?void 0:Y.Tn();if(k&&\"disablePictureInPicture\"in k&&W.zJ.WV)try{k.disablePictureInPicture=W.zJ.vu&&!W.videoData.backgroundable}catch(P){g.Jx(P)}NY5(W);W.U(\"html5_enable_audio_feature_manager\")&&(W.FU=new G3(W.videoData))}else nF(W,\"dataloaded\")};\nKF=function(){this.keys=[];this.values=[]};\n$Ld=function(W){if(W.isExternallyHostedPodcast&&W.fN){var Y=E1(W.fN);if(!Y[0])return JZ();W.dIz=Y[0];return Wud(W.pg,Y[0]).then(function(k){s1(W,k)})}return W.Jj&&W.h1?YFz(W.pg,W.isAd(),W.Jj).then(function(k){s1(W,k)}):JZ()};\nXZF=function(W,Y){Y=Y===void 0?\"\":Y;W.state=1;W.Fr=(0,g.lj)();return k62(Y||W.sourceUrl).then(function(k){if(!W.Xr()){W.Zg=k.status;k=k.responseText;var P=new DOMParser;k=rl(P,P72(k),\"text/xml\").getElementsByTagName(\"MPD\")[0];W.Kg=TE5(AZ(k,\"minimumUpdatePeriod\"))*1E3||Infinity;b:{if(k.attributes){P=g.e(k.attributes);for(var T=P.next();!T.done;T=P.next())if(T=T.value,T.value===\"http://youtube.com/yt/2012/10/10\"){P=T.name.split(\":\")[1];break b}}P=\"\"}W.C=P;W.isLive=W.Kg1080&&!W.U2&&(W.Fr=36700160,W.Lg=5242880,W.GJ=Math.max(4194304,W.GJ),W.U2=!0);Y.video.qualityOrdinal>2160&&!W.n4&&(W.Fr=104857600,W.c6=13107200,W.n4=!0);g.je(W.pg.experiments,\"html5_samsung_kant_limit_max_bitrate\")!==0?Y.isEncrypted()&&g.xQ()&&g.fF(\"samsung\")&&(g.fF(\"kant\")||g.fF(\"muse\"))&&(W.c6=g.je(W.pg.experiments,\"html5_samsung_kant_limit_max_bitrate\")):Y.isEncrypted()&&g.xQ()&&g.fF(\"kant\")&&(W.c6=1310720);W.KI!==0&&Y.isEncrypted()&&\n(W.c6=W.KI);W.vF!==0&&Y.isEncrypted()&&k&&(W.c6=W.vF);Y.c6&&(W.JR=Math.max(W.vu,Math.min(W.GJ,5*Y.c6)))};\nZcv=function(W,Y){W.C=!0;g.Vf(function(){W.C&&uZ1.call(null,Y)})};\nMez=function(W){return W.tagName==\"A\"&&W.hasAttribute(\"href\")||W.tagName==\"INPUT\"||W.tagName==\"TEXTAREA\"||W.tagName==\"SELECT\"||W.tagName==\"BUTTON\"?!W.disabled&&(!W.hasAttribute(\"tabindex\")||icv(W)):W.hasAttribute(\"tabindex\")&&icv(W)};\nted=function(W,Y,k){var P,T=-1,I=Y[1],X=0,h=7,B=4;I===0&&(h=138,B=3);Y[(k+1)*2+1]=65535;for(P=0;P<=k;P++){var O=I;I=Y[(P+1)*2+1];++XW.width*W.height*.2)return{mD:3,hN:501,errorMessage:\"ad(\"+RF(k)+\") to container(\"+RF(W)+\") ratio exceeds limit.\"};if(k.height>W.height/3-Y)return{mD:3,hN:501,errorMessage:\"ad(\"+RF(k)+\") covers container(\"+RF(W)+\") center.\"}};\npt=function(W,Y,k){W=g.nt(W.r5(),Y);return k?(k.addOnDisposeCallback(W),null):W};\ng.YW=function(W,Y){Y=g.PZ(Y);return Gl(W,Y)};\nTe=function(W){return!!(2&W)&&!!(4&W)||!!(256&W)};\ngU=function(){var W=[new JE(Cc)],Y=dU(mj);Y.K=W;UL5(Y,function(){D9(\"i\")})?bQ.done||(lY7(),f$()):D9(\"i\")};\nwU=function(W,Y,k){F9.call(this,W,Y,k)};\nNB=function(W){if(!Qb(W)&&yb(W,W.h5[a_]|0))throw Error();};\nbcV=function(W){ej(oF,v3,1,W)};\nCt=function(W){return W===1701082227||W===1836019558||W===1836019574||W===1835297121||W===1835626086||W===1937007212||W===1953653094||W===1953653099||W===1836475768};\nb8=function(W,Y,k,P){var T=g.Lt(W.api.gx());if(T&&T.loaded){var I=W.api.getSubtitlesUserSettings();T=void 0;for(var X=0;Xk+1&&Y0&&(B=Math.floor(k/1E3)));var O={AD_BLOCK:T,AD_BREAK_LENGTH:I?I.sV:B,AUTONAV_STATE:Lk(W.player.V()),CA_TYPE:\"image\",CPN:W.player.getVideoData(1).clientPlaybackNonce,DRIFT_FROM_HEAD_MS:W.player.O3()*1E3,LACT:Ud(),LIVE_INDEX:I?W.J++:1,LIVE_TARGETING_CONTEXT:I&&I.context?I.context:\"\",MIDROLL_POS:X?Math.round(X.start/1E3):0,MIDROLL_POS_MS:X?Math.round(X.start):0,VIS:W.player.getVisibilityState(),\nP_H:W.player.ai().o3().height,P_W:W.player.ai().o3().width,YT_REMOTE:h?h.join(\",\"):\"\"},u=lh(bh);Object.keys(u).forEach(function(Z){u[Z]!=null&&(O[Z.toUpperCase()]=u[Z].toString())});\nP!==\"\"&&(O.BISCOTTI_ID=P);P={};cQ(Y)&&(P.sts=\"20319\",(W=W.player.V().forcedExperiments)&&(P.forced_experiments=W));return a8(g.Wu(Y,O),P)};\nEsd=function(W,Y,k){k=k===void 0?pL0:k;W=Yn(W,Y);Y=typeof W;W=W==null?W:Y===\"bigint\"?Fg($n(64,W)):kn(W)?Y===\"string\"?Gaz(W):KT6(W):void 0;return W!=null?W:k};\nJvd=function(W){return Pu(W,1,1)};\ns_5=function(W,Y){if(Y==null||Y==\"\")return new W;Y=JSON.parse(Y);if(!Array.isArray(Y))throw Error(\"dnarr\");Tt(Y,32);return new W(Y)};\nT0=function(W,Y,k,P){var T=this;this.G=W;this.H6=Y;this.policy=k;this.logger=P;this.Qy=[];this.va=[];this.W=-1;this.qT=null;this.X=this.timestampOffset=0;this.K=10;this.C=new Set;this.zW={jb:function(I){return T.jb(I)}};\nthis.T=Y.t9?0:1;k.uu>0&&(this.K=k.uu)};\nrv7=function(){var W=g.GK(\"yt-player-quality\");if(W instanceof Object&&W.quality&&W.previousQuality){if(W.quality>W.previousQuality)return 1;if(W.quality=56;t--)I[t]=M&255,M>>>=8;P(I);for(t=M=0;t<5;t++)for(var q=24;q>=0;q-=8)Z[M++]=T[t]>>q&255;return Z}\nfunction P(Z){for(var M=X,t=0;t<64;t+=4)M[t/4]=Z[t]<<24|Z[t+1]<<16|Z[t+2]<<8|Z[t+3];for(t=16;t<80;t++)Z=M[t-3]^M[t-8]^M[t-14]^M[t-16],M[t]=(Z<<1|Z>>>31)&4294967295;Z=T[0];var q=T[1],G=T[2],E=T[3],z=T[4];for(t=0;t<80;t++){if(t<40)if(t<20){var A=E^q&(G^E);var F=1518500249}else A=q^G^E,F=1859775393;else t<60?(A=q&G|E&(q|G),F=2400959708):(A=q^G^E,F=3395469782);A=((Z<<5|Z>>>27)&4294967295)+A+z+F+M[t]&4294967295;z=E;E=G;G=(q<<30|q>>>2)&4294967295;q=Z;Z=A}T[0]=T[0]+Z&4294967295;T[1]=T[1]+q&4294967295;T[2]=\nT[2]+G&4294967295;T[3]=T[3]+E&4294967295;T[4]=T[4]+z&4294967295}\nfor(var T=[],I=[],X=[],h=[128],B=1;B<64;++B)h[B]=0;var O,u;W();return{reset:W,update:Y,digest:k,CU:function(){for(var Z=k(),M=\"\",t=0;t0&&(T.push(O),T.push(new Oo(k.adPodSkipTarget)),P=[]);T.push(new u_(h.adPodIndex));k.isCritical&&(P=[new Zq(W.W,Y.layoutId,[\"error\"])].concat(g.cp(P)));return{Xu:{layoutId:Y.layoutId,layoutType:Y.layoutType,W7:Y.W7,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:Y.fg,\nclientMetadata:new i_(T),XA:Y.XA,adLayoutLoggingData:Y.adLayoutLoggingData},Yk:P,gM:Y.layoutExitMuteTriggers,uC:Y.layoutExitUserInputSubmittedTriggers,gt:Y.II}};\nRg=function(W,Y,k,P){var T,I,X=k.xx;W[Y]=function(h,B,O){return X(h,B,O,I||(I=MF(tL,qF,Rg,P).Vq),T||(T=Q_X(P)))}};\nyvV=function(W,Y){if(W.OM(\"getState\")===\"loading\")return new g.Sn(-1,-1);Y=W.OM(Y);if(!Y)return new g.Sn(-1,-1);W=parseInt(Y.width,10);Y=parseInt(Y.height,10);return isNaN(W)||isNaN(Y)?new g.Sn(-1,-1):new g.Sn(W,Y)};\nl5z=function(W,Y,k,P,T,I){P=P===void 0?Hu():P;T=T===void 0?Promise.resolve(void 0):T;var X,h,B,O,u,Z,M,t,q,G,E,z;g.v(function(A){switch(A.W){case 1:return g.L(A,0,3);case 3:h=null;if(!X){A.oi(6);break}nL(W,7);g.Ta(A,7);return g.L(A,pL(X.snapshot({}),I.hO,function(){return Promise.resolve(\"E:CTO\")}),9);\ncase 9:h=A.K;g.Vi(A,6);break;case 7:g.jh(A),h=\"E:UCE\";case 6:B=void 0,O=X?I.k6:I.DL,u=new g.V7(O,I.Q_,I.B0,I.fU),Z=1;case 10:if(!(Z<=I.maxAttempts)){A.oi(12);break}if(Z===1){A.oi(13);break}nL(W,0);W.W=new erX(u.getValue(),I.zl,I.i$);return g.L(A,W.W.promise,14);case 14:M=A.K,W.W=void 0,M===1?(Z=1,u.reset()):g.G0(u);case 13:g.Ta(A,15);t=void 0;if(k){t=k;A.oi(17);break}nL(W,5);q=P.W;return g.L(A,pL(osq(Y,W.logger,Z,q,h),I.lX,function(){return Promise.reject(Error(\"RGF:Fetch timed out\"))}),18);\ncase 18:t=A.K;case 17:return nL(W,3),g.L(A,pL(vs0(P,t),I.Pzh,function(){return Promise.reject(Error(\"DTZ:Script timed out\"))}),19);\ncase 19:return nL(W,8),g.L(A,T,20);case 20:return G=new KL({challenge:t,N4:W.options.N4,Vj:W.options.Vj}),g.L(A,pL(G.uR,I.tya,function(){return Promise.reject(Error(\"QEG:Setup timed out\"))}),21);\ncase 21:B=G;A.oi(12);break;case 15:E=g.jh(A),W.handleError(E),Cm6(W);case 11:Z++;A.oi(10);break;case 12:if(W.Xr()){A.oi(5);break}B&&(k=void 0,LT1(W,X),X=B,UB1(W,B),Cm6(W));nL(W,2);W.W=new erX(I.Gd6,I.zl,I.i$);return g.L(A,W.W.promise,22);case 22:W.W=void 0;if(W.Xr()){A.oi(5);break}A.oi(3);break;case 5:(z=X)==null||z.dispose(),g.I_(A)}})};\ncv7=function(){var W=null;if(!bXC)return W;try{var Y=function(k){return k};\nW=bXC.createPolicy(\"goog#html\",{createHTML:Y,createScript:Y,createScriptURL:Y})}catch(k){}return W};\nEo=function(){};\nf5F=function(W){return new g.JL(function(Y,k){W.length||Y(void 0);for(var P,T=0;T=Y-.01}else Y=!1;return Y};\nyC=function(W,Y,k){W&&!k&&(W=W.parentNode);for(k=0;W;){if(Y(W))return W;W=W.parentNode;k++}return null};\nQP=function(W){for(var Y=[],k=g.e(W),P=k.next();!P.done;P=k.next())P=P.value,Y[P]||(Y[P]=0),Y[P]++;var T=Y[0]=0;k=[];var I=0;P=0;for(var X=1;X7&&(I+=Y[X]);for(T=1;T>B&1;h=I<<4|X;if(X<=7)for(B=1<<7-X;B--;)P[B<>=7;X--;){P[B]||(P[B]=-Y,Y+=2);var O=T&1;T>>=1;B=O-P[B]}P[B]=h}}return P};\nyP=function(){this.T=this.W=this.K=0;this.J=!1};\nog=function(W){return W.length?eD?eD.decode(W):String.fromCharCode.apply(null,W):\"\"};\ng.vu=function(W,Y){for(var k in W)if(!(k in Y)||W[k]!==Y[k])return!1;for(var P in Y)if(!(P in W))return!1;return!0};\nWa2=function(W,Y){return function(k,P){var T={wE:!0};P&&Object.assign(T,P);k=a5v(k,void 0,void 0,T);try{var I=new W,X=I.h5;CL(Y)(X,k);var h=I}finally{k.free()}return h}};\nDX=function(W){W.charAt(0)===\"?\"&&(W=W.substring(1));return LL(W,\"&\")};\nUo=function(W,Y,k){k=k===void 0?Error():k;var P=Error.call(this);this.message=P.message;\"stack\"in P&&(this.stack=P.stack);this.code=W;Y+=\":\";k instanceof Error?(this.message=Y+k.message,this.stack=k.stack||\"\"):(this.message=Y+String(k),this.stack=\"\");Object.setPrototypeOf(this,this.constructor.prototype)};\n$_S=function(W,Y){var k;a:if((k=Y.W)&&k.videoInfos.length){for(var P=g.e(k.videoInfos),T=P.next();!T.done;T=P.next()){T=T.value;var I=void 0;if((I=T.K)==null?0:I.smooth){k=T.video.qualityOrdinal;break a}}k=k.videoInfos[0].video.qualityOrdinal}else k=0;Y$d()&&!g.l_(W.zJ)&&b_(Y.W.videoInfos[0])&&(k=Math.min(k,g.cu.large));P=g.je(W.zJ.experiments,\"html5_chipset_soft_cap\");P>0&&(k=Math.min(k,P));if(P=g.je(W.zJ.experiments,\"html5_max_vertical_resolution\")){T=4320;for(I=0;IP&&(T=Math.min(T,X.video.qualityOrdinal))}if(T<4320){for(X=I=0;X=0?O2.countDownSecsForFullscreen*1E3:-1);W.U(\"web_autonav_color_transition\")&&O2.watchToWatchTransitionRenderer&&(W.watchToWatchTransitionRenderer=g.R(O2.watchToWatchTransitionRenderer,\nBZ7))}var kQ=S$7(W);if(kQ){var Ya,U1,xr,fk=kQ==null?void 0:(Ya=kQ[0])==null?void 0:(U1=Ya.endScreenVideoRenderer)==null?void 0:(xr=U1.navigationEndpoint)==null?void 0:xr.clickTrackingParams,ki=g.Si(W);fk&&ki&&(ki.sessionData={itct:fk})}W.OP.currentVideoThumbnail&&(W.L=Iz(W.OP.currentVideoThumbnail));var sL,rU,AE,q4,P4,Xl=(sL=W.OP)==null?void 0:(rU=sL.contents)==null?void 0:(AE=rU.twoColumnWatchNextResults)==null?void 0:(q4=AE.results)==null?void 0:(P4=q4.results)==null?void 0:P4.contents;if(Xl&&Xl[1]){var TV,\nR5,zl,R_,Ps=(TV=Xl[1].videoSecondaryInfoRenderer)==null?void 0:(R5=TV.owner)==null?void 0:(zl=R5.videoOwnerRenderer)==null?void 0:(R_=zl.thumbnail)==null?void 0:R_.thumbnails;Ps&&Ps.length&&(W.profilePicture=Ps[Ps.length-1].url)}var Be=tE(Y),HI,VY=(HI=W.getWatchNextResponse())==null?void 0:HI.onResponseReceivedEndpoints;if(VY)for(var nH=g.e(VY),ji=nH.next();!ji.done;ji=nH.next()){var NH=ji.value;g.R(NH,he)&&(W.Ve=g.R(NH,he));var X5=g.R(NH,OBS),J1=void 0;if((J1=X5)==null?0:J1.entityKeys)W.Hr=X5.entityKeys||\n[],X5.visibleOnLoadKeys&&(W.visibleOnLoadKeys=X5.visibleOnLoadKeys)}if(W.U(\"web_key_moments_markers\")){var GC=g.B4.getState().entities,G9=g.OE(\"visibility_override\",\"markersVisibilityOverrideEntity\");var Or=uk(GC,\"markersVisibilityOverrideEntity\",G9);W.Q5=(Or==null?void 0:Or.videoId)===(W.videoId||Be)&&(Or==null?0:Or.visibilityOverrideMarkersKey)?Or.visibilityOverrideMarkersKey:W.visibleOnLoadKeys;W.visibleOnLoadKeys=[].concat(g.cp(W.Q5))}}};\nuX1=function(W){return W.fields.map(function(Y){return Y.fieldName})};\nMu=function(W){if(!W.K||!W.policy.T&&!W.K.info.Ib){var Y=W.X.W;W.K&&(Y=Y.filter(function(P){return P.audio.W===W.K.info.audio.W}),Y.length||(Y=W.X.W));\nW.K=W.H6.W[Y[0].id];if(Y.length>1&&!W.policy.V5){if(!W.policy.B4){var k=g.ik(Y,function(P){return P.audio.audioQuality!==\"AUDIO_QUALITY_HIGH\"});\nk&&(W.K=W.H6.W[k.id])}k=!1;if(k=W.policy.UV?!0:W.W.isLocked()?W.W.W<240:ZB0(W,W.K))W.K=W.H6.W[g.wE(Y).id]}}};\ndE=function(W){try{return W.getBoundingClientRect()}catch(Y){return{left:0,top:0,right:0,bottom:0}}};\nM91=function(W){var Y=[];iBV(W,function(k){Y.push(k)});\nreturn Y};\ng.qu=function(W,Y,k,P){Y=te(Y);return Y!==void 0?W.open(Y,k,P):null};\nRz=function(W,Y,k){W.IZ()?W.n1():W.fH(Y,k)};\nq$5=function(W){if(!W.api.V().xm){var Y=W.api.getVideoData(),k=new g.H4(\"Subscribe\",null,\"Subscribed\",null,!0,!1,Y.zC,Y.subscribed,\"channel_avatar\",null,W.api,!0);W.api.createServerVe(k.element,W);var P;W.api.setTrackingParams(k.element,((P=Y.subscribeButtonRenderer)==null?void 0:P.trackingParams)||null);W.Z(k.element,\"click\",function(){W.api.logClick(k.element)});\nW.subscribeButton=k;g.m(W,W.subscribeButton);W.subscribeButton.S1(W.C);W.subscribeButton.hide();var T=new nj(W.api);W.W=T;g.m(W,T);T.S1(W.C);T.hide();W.Z(W.api,\"SUBSCRIBE\",function(){Y.ww&&(T.show(),W.api.logVisibility(T.element,!0))});\nW.Z(W.api,\"UNSUBSCRIBE\",function(){Y.ww&&(T.hide(),W.api.logVisibility(T.element,!1),t97(T,!1))})}};\nGV=function(W,Y,k,P,T){var I=W.get(P);if(I!=null)return I;for(var X=I=0;X0&&(W.C.fexp=k.join())}k=g.e(Object.keys(W.C));for(var P=k.next();!P.done;P=k.next())P=P.value,Y=s3C(Y,P,W.C[P]);return Y};\nwp=function(W,Y,k){k=k===void 0?!1:k;var P,T,I,X;g.v(function(h){if(h.W==1){P=W.V();if(k&&(!g.Ae(P)||zV(Y)!==\"embedded\")||Y.yS||zV(Y)!==\"adunit\"&&(g.l_(P)||dp(P)||g.m9(P)||g.Dk(P)||g.gp(P)||Fp(P)===\"WEB_CREATOR\"))return h.return();T=g.ws(P,g.Q7(Y));return T.W?g.L(h,T.W,3):(I=T.getValue(),h.oi(2))}h.W!=2&&(I=h.K);X=I;return h.return(Axz(W,Y,X))})};\nQ$=function(W,Y){if(v7(Y.get(),\"html5_ssap_pass_transition_reason\"))switch(W){case 2:return\"normal\";case 4:case 6:case 7:return\"error\";case 5:return zM5(W),\"abandoned\";case 3:case 1:return zM5(W),\"error\";default:QL(W,\"unexpected transition reason\")}else switch(W){case 2:return\"normal\";case 4:return\"error\";case 5:case 3:case 1:case 6:case 7:return EF(\"getExitReason: unexpected reason\",void 0,void 0,{reason:W}),\"error\";default:QL(W,\"unexpected transition reason\")}};\nd_S=function(W,Y){var k=NaN;W=g.e(W.array);for(var P=W.next();!P.done;P=W.next())if(P=P.value,P.contains(Y)&&(isNaN(k)||P.endY&&(isNaN(k)||P.startW.clientWidth||W.scrollHeight>W.clientHeight||k==\"fixed\"||k==\"absolute\"||k==\"relative\"))return W;return null};\nvZ=function(){var W=dU(xvz);if(!W.W){if(!Cc)throw Error(\"Context has not been set and window is undefined.\");W.W=dU(up)}return W.W};\nVn6=function(W,Y){var k,P,T,I;return g.v(function(X){if(X.W==1)return k={startTime:(0,g.lj)(),infos:{transactionType:\"YT_IDB_TRANSACTION_TYPE_WRITE\"},ticks:{}},g.L(X,Zv(Y),2);if(X.W!=3)return P=X.K,T=Object.assign({},W,{options:JSON.parse(JSON.stringify(W.options)),interface:g.o_(\"INNERTUBE_CONTEXT_CLIENT_NAME\",0)}),g.L(X,g.ip(P,\"LogsRequestsStore\",T),3);I=X.K;k.ticks.tc=(0,g.lj)();f$v(k);return X.return(I)})};\nNiV=function(W,Y){if(W.j1&&W.j1.T&&!W.j1.Lu()&&(Y.du=M4(W.videoTrack),Y.K=M4(W.audioTrack),W.policy.J)){var k=tW(W.videoTrack),P=tW(W.audioTrack),T=pH(W.j1.K.Mt(),\"_\",5),I=pH(W.j1.W.Mt(),\"_\",5);Object.assign(Y.W,{lvq:k,laq:P,lvb:T,lab:I})}Y.bandwidthEstimate=KH(W.N);var X;(X=W.audioTrack.N)==null||X.flush();var h;(h=W.videoTrack.N)==null||h.flush();W.logger.debug(function(){return l4(Y.W)})};\ng.Eu=function(W,Y){return typeof W.keywords[Y]!==\"string\"?null:W.keywords[Y]};\ng.JW=function(W,Y,k){return W!==null&&Y in W?W[Y]:k};\nv3=function(W){this.h5=rT(W)};\n$d5=function(W,Y){var k=a$6(Y),P=W5X(Y);if(!Y.vk||!W.Y.IS())if(W.W||W.Y.U(\"enable_paid_content_overlay_bugfix\")){if(Y.videoId&&Y.videoId!==W.videoId){var T;(T=W.W)==null||g.i7(T);!W.Y.U(\"enable_paid_content_overlay_bugfix\")||k&&P?(W.videoId=Y.videoId,W.J=!!P,W.J&&k&&Y1z(W,P,k,Y)):W.J=!1}}else k&&P&&!W.Y.U(\"enable_paid_content_overlay_bugfix\")&&Y1z(W,P,k,Y)};\nAW=function(W,Y){this.triggerType=\"TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED\";this.triggerId=Y||W(this.triggerType)};\nz9=function(W,Y,k,P,T){this.dP=Y;this.W=k;this.visible=P;this.triggerType=\"TRIGGER_TYPE_MEDIA_TIME_RANGE\";this.triggerId=T||W(this.triggerType)};\nk3v=function(W,Y){W.T(Y);W.K<100&&(W.K++,Y.next=W.W,W.W=Y)};\nm6=function(W,Y,k,P,T,I,X,h,B,O,u,Z){g.D.call(this);var M=this;this.W6=W;this.loader=Y;this.policy=k;this.audioTrack=P;this.videoTrack=T;this.H6=I;this.Sj=X;this.bz=h;this.J=B;this.timing=O;this.N=u;this.OP=Z;this.W=[];this.C={};this.V5=this.Q5=!1;this.T=this.GJ=this.A5=this.rD=this.qo=0;this.L=null;this.wD={va:[],dw:[]};this.gD={va:[],dw:[]};this.G=null;this.X=[];this.zW={JUS:function(){return M.W},\nx85:function(){return M.C},\nIhh:function(){M.W.length=0},\nawh:function(){return M.videoData.bz},\nrdD:function(){return M.A5},\nkcr:function(t){M.A5=t},\nVTi:function(t){M.T=t},\nUe:function(t){M.G=t},\nOD:function(t){M.X=t}};\nthis.videoData=this.W6.getVideoData();this.policy.Cn&&(this.UP=new dT(this.loader,this.policy,this.Sj),g.m(this,this.UP))};\nEE=function(W,Y){return g.ik(W.W,function(k){return k.Pl==Y})};\nj70=function(W,Y){var k=Date.now()/1E3,P=k-W.startTimeSecs,T=k-W.X,I=T>=W.policy.lM,X=!1;if(I){var h=0;!isNaN(Y)&&Y>W.C&&(h=Y-W.C,W.C=Y);h/T=W.policy.uv&&!W.J;if(!I&&!k&&PxV(W,Y))return NaN;k&&(W.J=!0);a:{P=X;k=(0,g.lj)()/1E3-(W.CK.le()||0)-W.G.W-W.policy.rZ;I=W.K.startTime;k=I+k;if(P){if(isNaN(Y)){Dv(W,NaN,\"n\",Y);I=NaN;break a}P=Y-W.policy.gw;P1E5||++Y.W})};\no5=function(W){var Y=W.length,k=Y*3/4;k%3?k=Math.floor(k):g.eR(\"=.\",W[Y-1])&&(k=g.eR(\"=.\",W[Y-2])?k-2:k-1);var P=new Uint8Array(k),T=0;iBV(W,function(I){P[T++]=I});\nreturn T!==k?P.subarray(0,T):P};\nMl7=function(W){var Y=g.e(iFz(W,vI));W=Y.next().value;Y=Y.next().value;return W.toString(16)+Y.toString(16)};\nCH=function(W){if(W!=null&&typeof W!==\"string\")throw Error();return W};\ntlX=function(W,Y,k){k=k===void 0?!1:k;g.LH(Y);W.Yq.lastError=\"player.exception\";W.errorMessage=Y.name+\"_\"+Y.message;k?g.Vf(function(){Uu(W.Yq)}):Uu(W.Yq)};\ng.f=function(W,Y){W.prototype=q1z(Y.prototype);W.prototype.constructor=W;if(lp)lp(W,Y);else for(var k in Y)if(k!=\"prototype\")if(Object.defineProperties){var P=Object.getOwnPropertyDescriptor(Y,k);P&&Object.defineProperty(W,k,P)}else W[k]=Y[k];W.Ku=Y.prototype};\nbp=function(W,Y,k){W.OM(\"addEventListener\",Y,k)};\nTt=function(W,Y){cI||a_ in W||R7z(W,HFd);W[a_]|=Y};\nVS=function(W,Y){g.c.call(this,{S:\"div\",j:\"ytp-cards-teaser\",B:[{S:\"div\",j:\"ytp-cards-teaser-box\"},{S:\"div\",j:\"ytp-cards-teaser-text\",B:W.V().U(\"player_new_info_card_format\")?[{S:\"button\",j:\"ytp-cards-teaser-info-icon\",D:{\"aria-label\":\"Show cards\",\"aria-haspopup\":\"true\"},B:[nQ2()]},{S:\"img\",j:\"ytp-cards-teaser-channel-avatar\",D:{alt:\"\",\"aria-hidden\":\"true\"}},{S:\"span\",j:\"ytp-cards-teaser-label\",v6:\"{{text}}\"},{S:\"button\",j:\"ytp-cards-teaser-close-button\",D:{\"aria-label\":\"Close\"},B:[g.xe()]}]:[{S:\"span\",\nj:\"ytp-cards-teaser-label\",v6:\"{{text}}\"}]}]});var k=this;this.Y=W;this.Nx=Y;this.fade=new g.fH(this,250,!1,250);this.W=null;this.X=new g.fC(this.l_6,300,this);this.C=new g.fC(this.Emz,2E3,this);this.T=[];this.K=null;this.G=new g.fC(function(){k.element.style.margin=\"0\"},250);\nthis.onClickCommand=this.J=null;g.m(this,this.fade);g.m(this,this.X);g.m(this,this.C);g.m(this,this.G);W.V().U(\"player_new_info_card_format\")?(g.N6(W.getRootNode(),\"ytp-cards-teaser-dismissible\"),this.Z(this.J5(\"ytp-cards-teaser-close-button\"),\"click\",this.YM),this.Z(this.J5(\"ytp-cards-teaser-info-icon\"),\"click\",this.iQ),this.Z(this.J5(\"ytp-cards-teaser-label\"),\"click\",this.iQ)):this.listen(\"click\",this.iQ);this.Z(Y.element,\"mouseover\",this.Xs);this.Z(Y.element,\"mouseout\",this.OT);this.Z(W,\"cardsteasershow\",\nthis.mtz);this.Z(W,\"cardsteaserhide\",this.n1);this.Z(W,\"cardstatechange\",this.IR);this.Z(W,\"presentingplayerstatechange\",this.IR);this.Z(W,\"appresize\",this.Po);this.Z(W,\"onShowControls\",this.Po);this.Z(W,\"onHideControls\",this.NK);this.listen(\"mouseenter\",this.UW)};\nN4=function(W,Y,k){if(Array.isArray(Y)){var P=Y[a_]|0;if(P&4)return Y;for(var T=0,I=0;TW.X)return\"max\"+W.X;if(W.bz&&Y.lz===\"h\"&&Y.video&&Y.video.qualityOrdinal>1080)return\"blkhigh264\";if(Y.lz===\"(h\"&&!k.G)return\"enchdr\";if((P===void 0?0:P)&&P9(Y)&&!W.UP)return\"blk51live\";if((Y.lz===\"MAC3\"||Y.lz===\"mac3\")&&!W.T)return\"blkac3\";if((Y.lz===\"MEAC3\"||Y.lz===\"meac3\")&&!W.C)return\"blkeac3\";if(Y.lz===\"M\"||Y.lz===\"m\")return\"blkaac51\";\nif((Y.lz===\"so\"||Y.lz===\"sa\")&&!W.A5)return\"blkamb\";if(!W.Gn&&psv(Y)&&(!k.C||Y.lz!==\"1e\"))return\"cbc\";if(!k.C&&psv(Y)&&Y.lz===\"1e\")return\"cbcav1\";if((Y.lz===\"i\"||Y.lz===\"I\")&&!W.f1)return\"blkiamf\";var I;if(W.xm&&((I=Y.audio)==null?void 0:I.K)===!0)return\"blkvbcabr\";var X,h;if(W.rD&&(Y.lz===\"1\"||Y.lz===\"1h\"||k.C&&Y.lz===\"1e\")&&((X=Y.video)==null?0:X.qualityOrdinal)&&((h=Y.video)==null?void 0:h.qualityOrdinal)>W.rD)return\"av1cap\";P=k.T.get(Y.lz);if(!W.J9&&P&&P.Ll>0)return T.add(Y.lz),\"byerr\";var B;\nif((B=Y.video)==null?0:B.fps>32){if(!k.gD&&!LZ(k,Up.FRAMERATE))return\"capHfr\";if(W.Q5&&Y.video.qualityOrdinal>=4320)return\"blk8khfr\";if(b_(Y)&&W.KN&&Y.tY&&Y.video.qualityOrdinal>=1440)return\"disablevp9hfr\"}if(W.c6&&Y.c6>W.c6)return\"ratecap\";if(W.wD>0&&Y.qa()&&Y.video.height>W.wD)return\"mvhcap\";W=G3d(k,Y);return W!==!0?W:!0};\nj2=function(W,Y){for(;W;W=W.parentNode){var k=W.getElementsByTagName(Y);if(k.length>0)return k[0]}return null};\nK5z=function(W,Y,k){g.LH(k);W.J&&(k instanceof DOMException&&(Y+=\";n.\"+k.name+\";m.\"+k.message),W.J(Y))};\nfc=function(W){return{DC:W.J.W.AY,XW:W.J.K.AY}};\nIx=function(W,Y,k,P,T){var I;k=k===void 0?!1:k;P=P===void 0?!1:P;var X=W.zd.get(Y);if(!X||P)if(T||(T=function(){Ix(W,Y,k,P)}),I||(I=function(){W.Y.sU(Y)}),X=X||EQS(W,Y,JZv(W,Y),T,I))W.zd.set(Y,X),X.create(),W.Y.publish(\"modulecreated\",Y),k&&W.Y.x8(\"onApiChange\")};\ns7v=function(W,Y,k){if(W.K.length!==0&&(k||W.K.some(function(I){return I.info.C=T-I||!k.Ar()?k=P>BigInt(32)));W=W.W;Y=k.W;kw(W,k.K);kw(W,Y);break;default:k=I95(k),W=W.W,Y=k.W,kw(W,k.K),kw(W,Y)}}};\nSL0=function(W,Y){Y.bounds=W.getBoundingClientRect();for(var k=g.e([\"display\",\"opacity\",\"visibility\",\"zIndex\"]),P=k.next();!P.done;P=k.next())P=P.value,Y[P]=Tu(W,P);Y.hidden=!!W.hidden};\njd=function(){};\nhs2=function(W){var Y;W=W==null?void 0:(Y=W.error)==null?void 0:Y.code;return!(W!==400&&W!==415)};\nBUv=function(W,Y,k,P){k||(P?Y.keyCode!==32||Y.repeat||W.J||!W.T||g.Iv(W.delay):Xd(W))};\ng.Ba=function(W,Y,k){k=g.Sd(W,Y,k);k<0&&g.hR(W,-(k+1),0,Y)};\nuK=function(W){Ov.call(this,W);this.K=this.W=this.isContentForward=this.X=!1;this.element.setAttribute(\"data-overlay-order\",\"8\");Ot6(this);this.Z(this.Y,\"changeProductsInVideoVisibility\",this.fYr);this.Z(this.Y,\"videodatachange\",this.onVideoDataChange)};\nu9z=function(W,Y,k){k=k===void 0?0:k;g.nT(function(){Y.then(function(P){W.K.has(k)&&W.T&&W.T();var T=g.Zu(k),I=g.iK(k);if(T&&I){var X={automatedLogEventSource:3},h;(P==null?0:(h=P.response)==null?0:h.trackingParams)&&g.M$(W.client,T,I,g.Ax(P.response.trackingParams),!1,X);var B;(P==null?0:(B=P.playerResponse)==null?0:B.trackingParams)&&g.M$(W.client,T,I,g.Ax(P.playerResponse.trackingParams),!1,X)}})})()};\nq$=function(W,Y,k,P,T,I){g.tR.call(this);var X=this;this.loader=W;this.H6=Y;this.policy=k;this.videoTrack=P;this.audioTrack=T;this.A5=this.W=null;this.X=this.G=NaN;this.L=0;this.N=NaN;this.J=null;this.gD=this.wD=NaN;this.TJ=new Map;this.Kg=this.C=this.T=NaN;this.zW={CZr:function(){return X.K}};\nthis.K=I?1:0};\nnM=function(W){if(W.trendingOfferEntityKey){var Y=g.B4.getState().entities;if(Y=uk(Y,\"trendingOfferEntity\",W.trendingOfferEntityKey)){var k,P,T;Y.encodedSkuId!==((k=W.W)==null?void 0:(P=k.bannerData)==null?void 0:(T=P.itemData)==null?void 0:T.encodedOfferSkuId)?Rv(W):(W.K.update({trendingOffer:Y.shortLabel+\" \\u2022 \"+Y.countLabel}),W.K.show(),W.banner.update({vendor:Ha(W)}))}else Rv(W)}else Rv(W)};\npM=function(W){mA.call(this,W)};\nMjd=function(W,Y){Y.push('\"',W.replace(Ztd,function(k){var P=itF[k];P||(P=\"\\\\u\"+(k.charCodeAt(0)|65536).toString(16).slice(1),itF[k]=P);return P}),'\"')};\nHtz=function(W){if(W==null)return W;var Y=typeof W;if(Y===\"bigint\")return String(tjz(64,W));if(kn(W)){if(Y===\"string\")return kn(W),Y=Gu(Number(W)),KM(Y)&&Y>=0?W=String(Y):(Y=W.indexOf(\".\"),Y!==-1&&(W=W.substring(0,Y)),qL2(W)||(AC(W),W=Ev(JC,sp))),W;if(Y===\"number\")return kn(W),W=Gu(W),W>=0&&KM(W)?W:RsF(W)}};\np3S=function(W,Y){var k=\"\";(Y=nW5(W,Y))&&(k=Y.getId());return k?W.W.s1({cpn:k}):void 0};\nJR=function(W){return W.keySystem===\"com.microsoft.playready\"};\nYn=function(W,Y,k,P,T){Object.isExtensible(W);Y=pj(W.h5,Y,k,T);if(Y!==null||P&&W.K!==zZ)return Y};\nKj6=function(W,Y){var k=W.Y.V(),P=W.Y.getPresentingPlayerType()===2,T=!P||Y.isListed;T=!k.Kg&&!!Y.videoId&&T;k.playerStyle!==\"play\"?k=\"https://support.google.com/youtube/?p=report_playback\":(k={contact_type:\"playbackissue\",html5:1,ei:Y.eventId,v:Y.videoId,p:\"movies_playback\"},Y.K&&(k.fmt=Y.K.itag),Y.clientPlaybackNonce&&(k.cpn=Y.clientPlaybackNonce),Y.partnerId&&(k.partnerid=Y.partnerId),k=g.YW(\"//support.google.com/googleplay/\",k));W.Gq.b8(T&&Y.allowEmbed);W.getVideoUrl.b8(T);W.Q7.b8(T&&!Y.isLivePlayback);\nW.EF.N6(k,\"href\");var I;(I=W.fL)==null||I.b8(!Y.isLivePlayback&&!P);GlC(W);var X;(X=W.e6)==null||X.b8(!P)};\ng.TZ=function(W){return EWd(g.rM(W)[3]||null)};\nJE1=function(W){W.OP||(W.OP=(0,g.lj)(),g.AR(\"vis_a\",W.OP,W.W))};\nzu=function(W,Y,k,P){k=k===void 0?!0:k;P=P===void 0?function(){return!0}:P;\nreturn function(T){var I=T[W];if(Array.isArray(I)&&P(T))return sFS(I,Y,k)}};\nDv=function(W,Y,k,P){var T=W.T.B3();T.ssr_sk=(Y*1E3).toFixed(0);T.ssr_t=(W.W*1E3).toFixed(0);T.ssr_r=k;T.ssr_st=(W.startTimeSecs*1E3).toFixed(0);T.ssr_n=(0,g.lj)().toFixed(0);T.ssr_f=(W.G.W*1E3).toFixed(0);T.ssr_fa=W.J?\"1\":\"0\";T.ssr_o=(W.CK.le()*1E3||0).toFixed(0);T.ssr_v=(P*1E3).toFixed(0);Y=W.K.W.index;Y.di(W.K.t5,!0)&&(T.ssr_ist=(Y.getStartTime(W.K.t5)*1E3).toFixed(0),T.ssr_id=(Y.getDuration(W.K.t5)*1E3).toFixed(0));W.loader.y5(\"ssr\",T)};\nrEV=function(W){return Wk(W,function(Y){return\"FORMAT_STREAM_TYPE_OTF\"===Y.stream_type})?\"FORMAT_STREAM_TYPE_OTF\":\"FORMAT_STREAM_TYPE_UNKNOWN\"};\nyS=function(W,Y,k,P){this.element=W;this.W=new jn(0,0,0,0);this.J=null;this.X=new jn(0,0,0,0);this.K=Y;this.gZ=k;this.gD=P;this.wD=!1;this.timestamp=-1;this.N=new H7(Y.T,this.element,this.W,new jn(0,0,0,0),0,0,S9(),0);this.C=void 0};\ndM=function(W,Y,k,P){if(!(Y===W.state&&k===W.dc&&P===W.seekSource||Y!==void 0&&(Y&128&&!k||Y&2&&Y&16))){var T;if(T=Y)T=Y||W.state,T=!!(T&16||T&32);W=new g.ZR(Y,k,T?P?P:W.seekSource:null)}return W};\ng.m$=function(W,Y,k,P){W=P||W;return(Y=Y&&Y!=\"*\"?String(Y).toUpperCase():\"\")||k?W.querySelectorAll(Y+(k?\".\"+k:\"\")):W.getElementsByTagName(\"*\")};\nFd=function(W,Y,k){Du.call(this,W,Y);this.C=k;W=this.index=new g.gM;W.K=!1;W.J=\"d\"};\nAE6=function(W){return W.end==null?{start:String(W.start)}:{start:String(W.start),end:String(W.end)}};\nwM=function(W){this.value=W};\nQN=function(W,Y,k){W.cpn&&(Y=g.YW(Y,{cpn:W.cpn}));k&&(Y=g.YW(Y,{paired:k}));return Y};\nzsX=function(W){this.J=W;this.W=-1;this.K=this.T=0};\nmmz=function(W,Y){var k=arguments.length==2?dm7(arguments[1],0):dm7(arguments,1);return Gl(W,k)};\nFj0=function(W,Y,k,P,T,I,X,h){function B(Z){return Dmd(W,Z,P,O)}\nfunction O(Z,M){var t=Z.slotId;Z=X(Z);t=yN(Y.K.get(),\"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT\",t);return ed(Y,t,M,k,Z,\"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT\",[new ov(T),I],T.adLayoutLoggingData)}\nif(!gWC(T))return new l(\"Received invalid SurveyTextInterstitialRenderer.\",{SurveyTextInterstitialRenderer:T});var u=T.timeoutSeconds*1E3;return function(Z){var M=Z.slotId,t={impressionCommands:T.impressionCommands,completeCommands:T.timeoutCommands,skipCommands:T.dismissCommands};Z=X(Z);M=va(Y,M,k,u,t,new Map,Z,B,void 0,CM(Y,k,T.layoutId,\"createSubLayoutVodMediaBreakLayoutForSurveyInterstitial\"));t=new LM(M.DN);Z=new u_(h);return{Xu:{layoutId:M.layoutId,layoutType:M.layoutType,W7:M.W7,layoutExitNormalTriggers:[],\nlayoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:M.fg,clientMetadata:new i_([].concat(g.cp(M.Si),[t,Z])),XA:M.XA,adLayoutLoggingData:M.adLayoutLoggingData},Yk:[],gM:M.layoutExitMuteTriggers,uC:M.layoutExitUserInputSubmittedTriggers,gt:M.II,ZS:M.ZS}}};\nZ$q=function(W,Y){try{return Uv(W[Y]),!0}catch(k){}return!1};\nbq=function(W,Y){w36(Y);this.W=W;if(W!=null&&W.length===0)throw Error(\"ByteString should be constructed with non-empty values\");};\nlK=function(W){this.K=W};\nQF2=function(){var W=Error();W.name=\"SecurityError\";throw W;};\nhr5=function(W,Y){var k=W.length-Y.length;return k>=0&&W.indexOf(Y,k)==k};\nbK=function(W){this.h5=rT(W)};\nca=function(W,Y){return yE5(W,function(k){return k.W},Y===void 0?!0:Y)};\nXp7=function(){var W=g.xh.apply(0,arguments);return W.length===0?function(Y){return Y}:W.length===1?W[0]:W.reduce(function(Y,k){return function(){return Y(k.apply(null,g.cp(g.xh.apply(0,arguments))))}})};\ngWC=function(W){if(isNaN(Number(W.timeoutSeconds))||!W.text||!W.ctaButton||!g.R(W.ctaButton,g.FM)||!W.brandImage)return!1;var Y;return W.backgroundImage&&g.R(W.backgroundImage,xw)&&((Y=g.R(W.backgroundImage,xw))==null?0:Y.landscape)?!0:!1};\nfM=function(W,Y,k,P,T){var I=es0(P);return oW5(Y,k,P,new i_(I),T,W.K.get())};\nvWX=function(W,Y){for(var k=0,P=g.e(W),T=P.next();!T.done;T=P.next()){T=T.value;if(Y=T.timeRangeStartMillis&&Y=1024)throw Error(\"pvtlmt\");for(var B in h)I=\n+B,I1024)throw Error(\"spvt\");T=T&-8380417|(B&1023)<<13}}}T|=64;P===0&&(T|=2048);XX(W,T);return W};\nqv=function(W,Y){W.loader.Gp(Y);var k=NUz(Y),P=W.loader.jC();k={Sj:W.schedule,GS:k,Ox:a9v(W.C,k),YN:PH(Y.EP[0]),jm:Wd(74,Y.ob.W),EJ:W.policy.J,UM:function(X,h){W.loader.Dl(X,h)}};\nif(W.schedule.K.X){var T,I;k.QD=(((T=W.videoTrack.W)==null?void 0:T.info.c6)||0)+(((I=W.audioTrack.W)==null?void 0:I.info.c6)||0)}W.Dd&&(k.t5=Y.EP[0].t5,k.Cs=Y.Cs,k.Dd=W.Dd);P={du:WmV(Y,W.loader.getCurrentTime()),sF:W.policy.fN&&To(Y)&&Y.EP[0].W.info.video?Yd2(W.J):void 0,qP:W.policy.gD,poToken:W.loader.Dj(),Dx:W.loader.lC(),x9:W.x9,Z9:isNaN(W.Z9)?null:W.Z9,I3:W.I3,M2:W.M2,TX:W.TX,wY:P};return new jS(W.policy,Y,k,W.T,function(X,h){try{a:{var B=X.info.EP[0].W,O=B.info.video?W.videoTrack:W.audioTrack;\nif(!(X.state>=2)||X.isComplete()||X.td()||!(!W.loader.j1||W.loader.isSuspended||M4(O)>3)){var u=$HC(X,W.policy,W.T);u===1&&(W.wD=!0);ktz(W,X,u);if(X.isComplete()||X.Xr()&&h<3){if(W.policy.J){var Z=X.timing.iW();Z.rst=X.state;Z.strm=X.xhr.ZU();Z.cncl=X.xhr&&X.Yq.C?1:0;W.loader.y5(\"rqs\",Z)}X.wL&&W.loader.y5(\"sbwe3\",{},!0)}if(!W.Xr()&&X.state>=2){Ph0(W.timing,X,B);var M=W.loader;W.Z9&&X.CF&&M&&(W.Z9=NaN,W.loader.jG(X.CF),W.loader.Df(),W.loader.y5(\"cabrUtcSeek\",{mediaTimeSeconds:X.CF}));X.Fa&&W.Z9&&X.Fa&&\n!X.Fa.action&&(W.loader.Ed(W.Z9),W.Z9=NaN,W.loader.y5(\"cabrUtcSeekFallback\",{targetUtcTimeSeconds:W.Z9}));X.Zh&&W.loader.P9(X.Zh);W.policy.LH&&(W.TX=X.TX);if(X.state===3){I2(O,X);To(X.info)&&X0(W,O,B,!0);if(W.K){var t=X.info.B$();t&&W.K.Gw(X.info.EP[0].t5,B.info.id,t)}W.loader.u7()}else if(X.isComplete()&&X.info.EP[0].type===5){if(X.state!==4)X.x4()&&W.loader.handleError(X.NI(),X.B3());else{var q=(X.info.EP[0].W.info.video?W.videoTrack:W.audioTrack).J[0]||null;q&&q instanceof jS&&q.td()&&q.B9()}X.dispose()}else{X.x4()||\nT2v(W,X);var G;((G=X.jY)==null?0:G.itagDenylist)&&W.loader.tP(X.jY.itagDenylist);if(X.state===4)SS(W,X),W.W&&j85(W.W,X.info,W.K);else if(W.policy.No&&X.dX()&&!X.isComplete()&&!SS(W,X)&&!X.x4())break a;X.x4()&&(Il0(W,X),isNaN(W.Z9)||(W.loader.Ed(W.Z9),W.Z9=NaN));W.policy.tT&&!X.isComplete()?hP(W.loader):W.loader.u7();var E=XQF(X,W.policy,W.T);ktz(W,X,E)}}}}}catch(z){h=W.Kg?1:0,W.Kg=!0,X=CT(h),h=BH(z,h),W.loader.handleError(h.errorCode,h.details,h.severity),X||W.loader.l5()}},P)};\nOU=function(W,Y,k){W.W[Y]||(W.y5(\"huli-sdai-err\",k),W.W[Y]=!0)};\ng.Zx=function(W){var Y=W.V(),k=g.u9(Y),P=Y.D_;(Y.U(\"embeds_web_enable_iframe_api_send_full_embed_url\")||Y.U(\"embeds_web_enable_rcat_validation_in_havs\")||Y.U(\"embeds_enable_autoplay_and_visibility_signals\"))&&g.vL(Y)&&(P&&(k.thirdParty=Object.assign({},k.thirdParty,{embedUrl:P})),Sdv(k,W));if(P=W.UP)k.clickTracking={clickTrackingParams:P};else if(g.vL(W.V())&&g.o_(\"EVENT_ID\"))k.clickTracking={clickTrackingParams:g.o_(\"EVENT_ID\")};else if(Y.U(\"html5_log_missing_itct\")){var T;P=new g.M6(\"Missing ITCT in InnerTubeContext\",\n{isAd:W.isAd(),kX6:(T=Y.getWebPlayerContextConfig())==null?void 0:T.contextId});g.LH(P)}T=k.client||{};P=\"EMBED\";var I=zV(W);I===\"leanback\"?P=\"WATCH\":Y.U(\"gvi_channel_client_screen\")&&I===\"profilepage\"?P=\"CHANNEL\":W.e1?P=\"LIVE_MONITOR\":I===\"detailpage\"?P=\"WATCH_FULL_SCREEN\":I===\"adunit\"?P=\"ADUNIT\":I===\"sponsorshipsoffer\"&&(P=\"UNKNOWN\");T.clientScreen=P;if(Y=W.kidsAppInfo)T.kidsAppInfo=JSON.parse(Y);(P=W.u0)&&!Y&&(T.kidsAppInfo={contentSettings:{ageUpMode:hKv[P]}});if(Y=W.E8)T.unpluggedAppInfo={enableFilterMode:!0};\n(P=W.unpluggedFilterModeType)&&!Y&&(T.unpluggedAppInfo={filterModeType:B20[P]});if(Y=W.LH)T.unpluggedLocationInfo=Y;k.client=T;T=k.request||{};W.Cn&&(T.isPrefetch=!0);if(Y=W.mdxEnvironment)T.mdxEnvironment=Y;if(Y=W.mdxControlMode)T.mdxControlMode=Okz[Y];k.request=T;T=k.user||{};if(Y=W.TJ)T.credentialTransferTokens=[{token:Y,scope:\"VIDEO\"}];if(Y=W.tT)T.delegatePurchases={oauthToken:Y},T.kidsParent={oauthToken:Y};k.user=T;if(T=W.contextParams)k.activePlayers=[{playerContextParams:T}];if(W=W.clientScreenNonce)k.clientScreenNonce=\nW;return k};\ni9=function(W,Y){Y=new uld(new Zk1(Y));lp&&W.prototype&&lp(Y,W.prototype);return Y};\ntP=function(W,Y){Ma.call(this,W,2,Y)};\ng.qa=function(W,Y,k){W=W.split(\".\");k=k||g.hL;for(var P;W.length&&(P=W.shift());)W.length||Y===void 0?k[P]&&k[P]!==Object.prototype[P]?k=k[P]:k=k[P]={}:k[P]=Y};\nikd=function(W){if(W.policy.k7&&W.policy.vQ)for(var Y=g.e(W.policy.k7),k=Y.next(),P={};!k.done;P={Kd:void 0,Of:void 0},k=Y.next())if(k=g.R2(k.value),P.Kd=+k.clen,P.Of=+k.csz,P.Kd>0&&P.Of>0&&W.policy.T===k.docid&&W.W.info.id===k.fmtid&&W.W.info.lastModified===+k.lmt)return W={},W.clen=P.Kd,W.csz=P.Of,W.ck=k.ck,W.civ=k.civ,W};\nn_=function(W,Y,k,P){g.D.call(this);var T=this;this.loader=W;this.policy=Y;this.W=k;this.timing=P;this.logger=new g.M_(\"dash\");this.J=[];this.gD=[];this.K=this.qT=null;this.GJ=!1;this.UP=this.Fr=0;this.X=-1;this.wD=!1;this.TJ=-1;this.OP=null;this.Kg=NaN;this.A5=[];this.zW={HT:function(){return T.T},\nAUa:function(){return T.J},\nOCS:function(){return T.L}};\nthis.T=new M7C(W,Y,k);this.policy.W&&(this.L=new T0(this.T,this.loader.getManifest(),this.policy,function(I){T.policy.LI&&T.y5(\"buftl\",I)}));\nthis.policy.D_&&(this.N=new HH(this));this.c6=k.info.c6;this.G=this.policy.A5?!1:k.n0();this.isManifestless=k.n0();this.C=this.G;g.m(this,this.OP)};\np_=function(W){return W.isLive&&(0,g.lj)()-W.Fr>=W.Kg};\nGo=function(W){return W&&t7V?AQ(W)||document:document};\nqdd=function(W,Y){Y=K_(W,Y);W.T!==Y&&W.publish(\"livestatusshift\",Y);W.T=Y};\nJP=function(W,Y){var k=Y.XB,P=Y.jI.Bt,T=Y.jI.lJ,I=Y.jI.O5,X,h=-1;W.GR=0;W.K0=573;for(X=0;X>1;X>=1;X--)EU(W,k,X);B=I;do X=W.Is[1],W.Is[1]=W.Is[W.GR--],EU(W,k,1),P=W.Is[1],W.Is[--W.K0]=X,W.Is[--W.K0]=P,k[B*2]=k[X*2]+k[P*2],W.depth[B]=(W.depth[X]>=W.depth[P]?W.depth[X]:W.depth[P])+1,k[X*2+1]=k[P*2+1]=B,W.Is[1]=B++,EU(W,k,1);while(W.GR>=\n2);W.Is[--W.K0]=W.Is[1];X=Y.XB;B=Y.VK;P=Y.jI.Bt;T=Y.jI.lJ;I=Y.jI.Ni;var O=Y.jI.Re,u=Y.jI.Oga,Z,M=0;for(Z=0;Z<=15;Z++)W.Jd[Z]=0;X[W.Is[W.K0]*2+1]=0;for(Y=W.K0+1;Y<573;Y++){var t=W.Is[Y];Z=X[X[t*2+1]*2+1]+1;Z>u&&(Z=u,M++);X[t*2+1]=Z;if(!(t>B)){W.Jd[Z]++;var q=0;t>=O&&(q=I[t-O]);var G=X[t*2];W.zU+=G*(Z+q);T&&(W.Nf+=G*(P[t*2+1]+q))}}if(M!==0){do{for(Z=u-1;W.Jd[Z]===0;)Z--;W.Jd[Z]--;W.Jd[Z+1]+=2;W.Jd[u]--;M-=2}while(M>0);for(Z=u;Z!==0;Z--)for(t=W.Jd[Z];t!==0;)P=W.Is[--Y],P>B||(X[P*2+1]!==Z&&(W.zU+=(Z-\nX[P*2+1])*X[P*2],X[P*2+1]=Z),t--)}$cF(k,h,W.Jd)};\nzo=function(W){g.D.call(this);var Y=this;this.J=new g.sU;this.T=0;this.K=void 0;this.state=2;this.W5=W.W5;this.TB=W.TB;this.QV=Object.assign({},RK2,W.QV||{});this.logger=W.W5.bP();var k;this.onError=(k=W.onError)!=null?k:function(){};\nthis.Mc=W.Mc||!1;if(Hkd(W)){var P=this.W5;this.C=function(){return nrd(P).catch(function(X){X=Y.reportError(new Uo(Y.W?20:32,\"TRG:Disposed\",X));Y.K=X;var h;(h=Y.W)==null||h.dispose();Y.W=void 0;Y.J.reject(X)})};\npQ0(P,function(){return void rO(Y)});\nP.L===2&&rO(this)}else this.C=W.P2g,rO(this);var T=this.logger.share();T.pI(\"o\");var I=new AP(T,\"o\");this.J.promise.then(function(){I.done();T.PD();T.dispose()},function(){return void T.dispose()});\nthis.addOnDisposeCallback(function(){Y.W?(Y.W.dispose(),Y.W=void 0):Y.K?Y.logger.PD():(Y.K=Y.reportError(new Uo(32,\"TNP:Disposed\")),Y.logger.PD(),Y.J.reject(Y.K))});\ng.m(this,this.logger)};\nKmX=function(W,Y){g.Ba(W.K,Y,function(k,P){return k.pH===P.pH?k.durationMs-P.durationMs:k.pH-P.pH});\nW.J.set(Y.cpn,Y);Y.U1&&!W.C&&W.T.set(Y.U1,Y);Y.J7&&Gt6(W,Y.J7,Y)};\nErq=function(W){if((W=W.L)==null)W=void 0;else if(W.va.length===0||W.policy.PH&&W.W<0)W=null;else{var Y=W.va[W.W]?W.va[W.W].formatId:null;W=Y?(W=W.H6.J.get(dO(Y)))?W.info:null:null}return W||null};\nJbF=function(W){W=W.charCodeAt(0);return\"%\"+(W>>4&15).toString(16)+(W&15).toString(16)};\nmY=function(W){this.W=W};\nDx=function(W){var Y={};g.c.call(this,{S:\"div\",j:\"ytp-paid-content-overlay\",D:(Y[\"aria-live\"]=\"assertive\",Y[\"aria-atomic\"]=\"true\",Y[\"data-overlay-order\"]=\"5\",Y)});this.Y=W;this.videoId=null;this.J=!1;this.innertubeCommand=this.b7=this.W=null;Y=W.V();W.U(\"enable_new_paid_product_placement\")&&!g.Ae(Y)?(this.K=new g.c({S:\"a\",j:\"ytp-paid-content-overlay-link\",D:{href:\"{{href}}\",target:\"_blank\"},B:[{S:\"div\",j:\"ytp-paid-content-overlay-indicator\"},{S:\"div\",j:\"ytp-paid-content-overlay-icon\",v6:\"{{icon}}\"},\n{S:\"div\",j:\"ytp-paid-content-overlay-text\",v6:\"{{text}}\"},{S:\"div\",j:\"ytp-paid-content-overlay-chevron\",v6:\"{{chevron}}\"}]}),this.Z(this.K.element,\"click\",this.onClick)):this.K=new g.c({S:\"div\",Ya:[\"ytp-button\",\"ytp-paid-content-overlay-text\"],v6:\"{{text}}\"});this.fade=new g.fH(this.K,250,!1,100);g.m(this,this.K);this.K.S1(this.element);g.m(this,this.fade);this.Y.createServerVe(this.element,this);this.Z(W,\"videodatachange\",this.onVideoDataChange);this.Z(W,\"presentingplayerstatechange\",this.u1)};\nte=function(W){return W instanceof gO?g.QB(W):s8v(W)};\nAbV=function(W){if(W.policy.Dm>0){var Y=Math.floor((0,g.lj)()/1E4);if(Y===W.GJ){if(W.T>=W.policy.Dm){if(W.T===W.policy.Dm){var k={reason:\"toomanyrequests\"};k.limit=W.T;W.loader.handleError(\"player.exception\",k);W.T+=1}return!1}}else W.GJ=Y,W.T=0}if(W.loader.isSuspended&&W.loader.VM)return!1;if(W.Kg&&(0,g.lj)()0&&(!W.policy.N||W.W.length!==1||!W.W[0].Ra()))return!1;var P;if((P=W.H6.N)==null||!yB(P,W.policy,W.C,W.loader.u2())||eS(W.audioTrack)&&eS(W.videoTrack))return!1;\nif(W.policy.K)if(W.policy.UP){var T;if((T=W.OP)==null?0:rb6(T))return!1}else{Y=!1;if(W.N.K===2)Y=!0;else if(W.N.K===3){o2(W);W.loader.m2();var I=vH(W.audioTrack,W.loader.isSeeking()).va;P=vH(W.videoTrack,W.loader.isSeeking()).va;T=W.loader.getCurrentTime()||0;I=C_(W,I,T);P=C_(W,P,T);P=Math.min(I,P);T=W.N;P>=T.C?(T.y5(\"sdai\",{haltrq:P,est:T.C}),P=!0):P=!1;P&&(Y=!0)}Y&&W.policy.X&&W.loader.y5(\"sabrcrq\",{waitad:1});if(Y)return!1}W.policy.nu&&(W.wD=L_(W,W.audioTrack),W.gD=L_(W,W.videoTrack));if(!W.K)return W.policy.X&&\nW.loader.y5(\"sabrcrq\",{nopolicy:1}),!0;if(W.W6.sG())return W.policy.X&&W.loader.y5(\"sabrcrq\",{utc:1}),!0;if(W.J.G)return W.policy.X&&W.loader.y5(\"sabrcrq\",{audio:1}),!0;if(!W.K.targetAudioReadaheadMs||!W.K.targetVideoReadaheadMs)return W.policy.X&&W.loader.y5(\"sabrcrq\",{noreadahead:1}),!0;if(W.policy.C&&W.loader.o_())return W.policy.X&&W.loader.y5(\"sabrcrq\",{seekToHead:1}),!0;Y=Math.min(UU(W.loader,W.audioTrack)*1E3,W.K.targetAudioReadaheadMs);P=Math.min(UU(W.loader,W.videoTrack)*1E3,W.K.targetVideoReadaheadMs);\nvar X=Math.min(Y,P);T=M4(W.audioTrack,!0)*1E3;I=M4(W.videoTrack,!0)*1E3;var h=W.W6.getCurrentTime()*1E3;if(W.policy.nu){var B=l9(W.wD.va,h);var O=l9(W.gD.va,h)}else B=T,O=I;var u=B1?Y:\"0\"+Y}).join(\"\")};\ncH=function(W,Y,k){Y=k?Y.lastElementChild:Y.firstElementChild;for(var P=null;Y;){if(Tu(Y,\"display\")!==\"none\"&&Y.getAttribute(\"aria-hidden\")!==\"true\"){var T=void 0;Y.tabIndex>=0?T=Y:T=cH(W,Y,k);T&&(P?k?T.tabIndex>P.tabIndex&&(P=T):T.tabIndex=X){P=X;break}}return new xn(0,P,!1,\"b\")};\ng.I_=function(W){W.W=0};\nyb2=function(){vZ();return Q8F()};\nZ3=function(W,Y){var k,P,T,I,X,h,B,O;return g.v(function(u){if(u.W==1){k=SQ(W,\"redirector.googlevideo.com\");k.set(\"alr\",\"yes\");k.set(\"id\",\"\"+Math.round(Math.random()*1E5));if(Y===1||Y===2)k.set(\"cmo=sensitive_content\",\"yes\"),k.set(\"sc\",\"yes\");Y===2&&k.set(\"cmo=td\",\"c.youtube.com\");P={format:\"RAW\",timeout:5E3};return g.L(u,h4(k.OV(),P),2)}T=u.K;if(T.xhr.status!==200||!T.xhr.responseText)return u.return(Promise.reject(new g.M6(\"b204258371_no_host\",k.OV(),T.xhr.status)));I=new g.uF(T.xhr.responseText);\nX=Pd(76,I);h=I.get(\"ms\");B=SQ(W,X);O=I.get(\"mm\");B.set(\"ms\",h);B.set(\"mm\",O);return X&&eKS(X)?Y!==2||us(X)?u.return(B):u.return(Promise.reject(new g.M6(\"b204258371_untrusted\",X,h))):u.return(Promise.reject(new g.M6(\"b204258371_invalid\",X,h)))})};\nChX=function(W){if(!orv)return o5(W);W=vrV.test(W)?W.replace(vrV,z06):W;W=atob(W);for(var Y=new Uint8Array(W.length),k=0;k>>8&255};\nM9=function(W){this.h5=rT(W)};\nt4=function(W){var Y,k;return new Map([[\"impression\",W.impressionPings||[]],[\"error\",W.errorPings||[]],[\"mute\",W.mutePings||[]],[\"unmute\",W.unmutePings||[]],[\"pause\",W.pausePings||[]],[\"rewind\",W.rewindPings||[]],[\"resume\",W.resumePings||[]],[\"skip\",W.skipPings||[]],[\"swipe\",W.swipePings||[]],[\"close\",W.closePings||[]],[\"progress\",W.progressPings||[]],[\"clickthrough\",W.clickthroughPings||[]],[\"fullscreen\",W.fullscreenPings||[]],[\"active_view_viewable\",W.activeViewViewablePings||[]],[\"active_view_measurable\",\nW.activeViewMeasurablePings||[]],[\"active_view_fully_viewable_audible_half_duration\",W.activeViewFullyViewableAudibleHalfDurationPings||[]],[\"audio_audible\",((Y=W.activeViewTracking)==null?void 0:Y.activeViewAudioAudiblePings)||[]],[\"audio_measurable\",((k=W.activeViewTracking)==null?void 0:k.activeViewAudioMeasurablePings)||[]],[\"end_fullscreen\",W.endFullscreenPings||[]],[\"channel_clickthrough\",W.channelClickthroughPings||[]],[\"abandon\",W.abandonPings||[]],[\"start\",W.startPings||[]],[\"first_quartile\",\nW.firstQuartilePings||[]],[\"midpoint\",W.secondQuartilePings||[]],[\"third_quartile\",W.thirdQuartilePings||[]],[\"complete\",W.completePings||[]],[\"unmuted_impression\",W.unmutedImpressionPings||[]],[\"unmuted_error\",W.unmutedErrorPings||[]],[\"unmuted_mute\",W.unmutedMutePings||[]],[\"unmuted_unmute\",W.unmutedUnmutePings||[]],[\"unmuted_pause\",W.unmutedPausePings||[]],[\"unmuted_resume\",W.unmutedResumePings||[]],[\"unmuted_close\",W.unmutedClosePings||[]],[\"unmuted_progress\",W.unmutedProgressPings||[]],[\"unmuted_clickthrough\",\nW.unmutedClickthroughPings||[]],[\"unmuted_fullscreen\",W.unmutedFullscreenPings||[]],[\"unmuted_end_fullscreen\",W.unmutedEndFullscreenPings||[]],[\"unmuted_abandon\",W.unmutedAbandonPings||[]],[\"unmuted_start\",W.unmutedStartPings||[]],[\"unmuted_first_quartile\",W.unmutedFirstQuartilePings||[]],[\"unmuted_midpoint\",W.unmutedSecondQuartilePings||[]],[\"unmuted_third_quartile\",W.unmutedThirdQuartilePings||[]],[\"unmuted_complete\",W.unmutedCompletePings||[]],[\"unmuted_skip\",W.unmutedSkipPings||[]]])};\nuk=function(W,Y,k){return W[Y]?W[Y][k]||null:null};\nno=function(W){var Y=g.q9(W.app.V()),k,P=(k=W.app.getVideoData())==null?void 0:k.PH;W=RY(W.app);return g.He(Y)&&!P||W?!1:!0};\nKo=function(W,Y,k){g.d2.call(this,\"Audio track\",g.po.AUDIO,W,Y);this.Y=W;this.K=k;this.tracks={};g.N6(this.element,\"ytp-audio-menu-item\");this.countLabel=new g.c({S:\"div\",B:[{S:\"span\",v6:\"Audio track\"},{S:\"span\",j:\"ytp-menuitem-label-count\",v6:\"{{content}}\"}]});W.U(\"web_settings_menu_icons\")&&!this.Y.U(\"html5_enable_new_audio_settings_menu\")&&(Y=W.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M19.4 .2C19.29 .27 19.20 .37 19.13 .49C19.07 .60 19.02 .72 19.01 .85C18.99 .98 18.99 1.12 19.03 1.24C19.06 1.37 19.12 1.49 19.2 1.6L20.8 .4C20.64 .18 20.40 .04 20.14 .01C19.87 -0.02 19.61 .04 19.4 .2ZM20.8 .4L20 1L19.2 1.59C20.37 3.16 21.00 5.06 21.00 7.01C20.99 8.97 20.35 10.87 19.17 12.42C19.01 12.64 18.94 12.90 18.98 13.16C19.02 13.43 19.16 13.66 19.37 13.83C19.58 13.99 19.84 14.05 20.11 14.02C20.37 13.98 20.61 13.84 20.77 13.63C22.21 11.73 22.99 9.41 23 7.02C23.00 4.63 22.23 2.31 20.8 .4ZM10 2C8.67 2 7.40 2.52 6.46 3.46C5.52 4.40 5 5.67 5 7C5 8.32 5.52 9.59 6.46 10.53C7.40 11.47 8.67 12 10 12C11.32 12 12.59 11.47 13.53 10.53C14.47 9.59 15 8.32 15 7C15 5.67 14.47 4.40 13.53 3.46C12.59 2.52 11.32 2 10 2ZM16.17 2.29C15.97 2.48 15.86 2.73 15.86 2.99C15.85 3.26 15.95 3.51 16.14 3.71C16.98 4.58 17.44 5.68 17.49 6.80L17.5 7.02C17.49 8.22 17.01 9.40 16.10 10.32C15.92 10.51 15.83 10.77 15.83 11.03C15.84 11.29 15.95 11.53 16.13 11.71C16.32 11.90 16.57 12.00 16.83 12.00C17.09 12.00 17.34 11.90 17.53 11.72C18.78 10.44 19.49 8.77 19.5 7.03L19.49 6.71C19.42 5.09 18.74 3.53 17.58 2.32C17.49 2.23 17.38 2.15 17.26 2.10C17.14 2.05 17.01 2.02 16.88 2.01C16.75 2.01 16.62 2.03 16.49 2.08C16.37 2.13 16.26 2.20 16.17 2.29ZM10 4C10.39 4 10.78 4.07 11.14 4.22C11.51 4.37 11.84 4.60 12.12 4.87C12.39 5.15 12.62 5.48 12.77 5.85C12.92 6.21 13 6.60 13 7C13 7.39 12.92 7.78 12.77 8.14C12.62 8.51 12.39 8.84 12.12 9.12C11.84 9.39 11.51 9.62 11.14 9.77C10.78 9.92 10.39 10 10 10C9.20 10 8.44 9.68 7.87 9.12C7.31 8.55 7 7.79 7 7C7 6.20 7.31 5.44 7.87 4.87C8.44 4.31 9.20 4 10 4ZM10.39 13.01L10 13C8.01 12.99 6.10 13.73 4.63 15.06L4.34 15.34C3.60 16.08 3.01 16.96 2.60 17.93C2.20 18.90 1.99 19.94 2 21C2 21.26 2.10 21.51 2.29 21.70C2.48 21.89 2.73 22 3 22C3.26 22 3.51 21.89 3.70 21.70C3.89 21.51 4 21.26 4 21C4.00 19.40 4.63 17.88 5.75 16.75L5.97 16.55C7.07 15.55 8.51 15 10 15L10.29 15.00C11.78 15.08 13.18 15.70 14.24 16.75L14.44 16.97C15.44 18.07 16 19.51 16 21C16 21.26 16.10 21.51 16.29 21.70C16.48 21.89 16.73 22 17 22C17.26 22 17.51 21.89 17.70 21.70C17.89 21.51 18 21.26 18 21C18.00 19.01 17.26 17.10 15.93 15.63L15.65 15.34C14.25 13.93 12.37 13.10 10.39 13.01Z\",\nfill:\"white\"}}]}:UHS(),this.setIcon(Y));g.m(this,this.countLabel);g.Gx(this,this.countLabel);this.Z(W,\"videodatachange\",this.xa);this.Z(W,\"onPlaybackAudioChange\",this.xa);this.xa()};\nUr=function(W){for(var Y=W.videoData.W,k=g.e(Object.entries({cpn:W.videoData.clientPlaybackNonce,c:W.zJ.W.c,cver:W.zJ.W.cver})),P=k.next();!P.done;P=k.next()){var T=g.e(P.value);P=T.next().value;T=T.next().value;for(var I=g.e(Object.values(Y.W)),X=I.next();!X.done;X=I.next())llv(X.value.ob,P,T);I=void 0;(I=Y.N)==null||llv(I,P,T)}P=W.zJ;k=W.videoData;Y=new g.bkq(P);T=cbd({hasSubfragmentedFmp4:k.hasSubfragmentedFmp4,h3:k.h3});Y.G=T;Y.wD=k.maxReadAheadMediaTimeMs/1E3||Y.wD;T=P.schedule;T.J.le()===T.policy.J?\nY.xm=10:Y.xm=k.minReadAheadMediaTimeMs/1E3||Y.xm;Y.u5=k.readAheadGrowthRateMs/1E3||Y.u5;k.MR&&(Y.UP=!0,Y.bz=!0);Y.YF=!Er();g.l_(P)||!Er()?(Y.Fr=8388608,Y.Lg=524288,Y.il=5,Y.GJ=1048576,Y.qR=1.5,Y.c6=4587520,J4()&&(Y.c6=786432),Y.L*=1.1,Y.Kg*=1.1,Y.KN=!0):P.K&&(Y.L*=1.3,Y.Kg*=1.3);g.sr&&g.fF(\"crkey\")&&(T=P.W.cmodel===\"CHROMECAST/ANCHOVY\",Y.Fr=20971520,Y.Lg=1572864,T&&(Y.c6=812500,Y.k8=1E3,Y.Di=5,Y.GJ=2097152));g.r9&&(Y.KN=!0);P.supportsGaplessAudio()||(Y.wf=!1);D$&&(Y.UV=!0);Y.fN=P.U(\"html5_peak_shave\");\nk.fetchType===\"onesie\"&&P.U(\"html5_disable_peak_shave_for_onesie\")&&(Y.fN=!1);var h;T=(h=k.W)==null?void 0:A4(h);if(c3(k)){Y.i_=!0;Y.S6||(Y.Aj=!0);Y.KH=!0;Y.Pu=!0;Y.tp=!0;if(k.latencyClass===\"ULTRALOW\"||k.latencyClass===\"LOW\"&&!P.U(\"html5_disable_low_pipeline\"))Y.zR=2,Y.LY=4;Y.YJ=k.defraggedFromSubfragments;g.zx(k)&&(Y.K1=!1);Y.wi=g.xW(P)}k.isAd()&&(Y.yL=0,Y.Wu=0);Y.NA=P.U(\"html5_ultra_low_latency_subsegment_readahead\")&&k.latencyClass===\"ULTRALOW\";Y.J=P.OR();d9()&&/(K\\d{3}|KS\\d{3}|KU\\d{3})/.test(P.W.cmodel)&&\n!P.U(\"html5_disable_move_pssh_to_moov\")&&T&&(Y.KN=!1);I=0;P.U(\"html5_live_use_alternate_bandwidth_window_sizes\")&&(I=P.schedule.policy.W,k.isLivePlayback&&(I=g.je(P.experiments,k.latencyClass===\"ULTRALOW\"?\"html5_live_ultra_low_latency_bandwidth_window\":k.isLowLatencyLiveStream?\"html5_live_low_latency_bandwidth_window\":\"html5_live_normal_latency_bandwidth_window\")||I));h=P.schedule;h.K.T=c3(k)?.5:0;if(!h.policy.K&&I&&(h=h.J,I=Math.round(I*h.resolution),I!==h.W)){X=Array(I);var B=Math.min(I,h.J?h.W:\nh.K),O=h.K-B;O<0&&(O+=h.W);for(var u=0;u0&&(Y.k7=k.GU));Y.PU=k.i5;Y.nh=g9(P,{},k.J||void 0,Fu(k));Y.e1=a7(k)&&(g.m9(P)||g.Dk(P));w9(k)&&(Y.C=!0,Y.GU=P.U(\"html5_estimate_live_partial_slice_duration\"),g.l_(P)&&!g.xQ()&&P.U(\"html5_force_audio_to_cover_video_keyframe\")?Y.J9=!1:Y.J9=!0,P.U(\"html5_sabr_report_partial_segment_estimated_duration\")&&\n(Y.mH=!0),Y.W=!0,Y.xF=P.U(\"html5_disable_client_resume_policy_for_sabr\"),Y.Io=P.U(\"html5_trigger_loader_when_idle_network\"),Y.Yi=P.U(\"html5_sabr_parse_live_metadata_playback_boundaries\"),Y.UK=P.U(\"html5_consume_onesie_next_request_policy_for_sabr\"),Y.Br=P.U(\"html5_sabr_report_next_ad_break_time\"),Y.LI=P.U(\"html5_log_high_res_buffer_timeline\")&&P.OR(),Y.GT=P.U(\"html5_remove_stuck_slices_beyond_max_buffer_limits\"),Y.wX=P.U(\"html5_gapless_sabr_btl_last_slice\")&&Dq(k),Y.zZ=P.U(\"html5_reset_last_appended_slice_on_seek\")&&\nDq(k),c3(k)?(Y.q0=!0,Y.l4=P.U(\"html5_disable_variability_tracker_for_live\"),Y.Q5=!0,P.U(\"html5_simplified_backup_timeout_sabr_live\")&&(Y.CL=!0,Y.k8=Y.cF)):Y.xq=P.U(\"html5_probe_request_on_sabr_request_progress\"),Y.O2=P.U(\"html5_serve_start_seconds_seek_for_post_live_sabr\"),Y.CN=P.U(\"html5_flush_index_on_updated_timestamp_offset\"),Y.N=w9(k),Y.yD=P.U(\"html5_ignore_partial_segment_from_live_readahead\"),P.U(\"html5_include_partial_segment_for_jumbo_ll\")&&mH(k)&&(Y.yD=!1),Y.kP=P.U(\"html5_use_non_active_broadcast_for_post_live\"),\nY.TJ=P.U(\"html5_use_centralized_player_time\"),Y.f1=P.U(\"html5_log_centralized_player_time\"),Y.FC=P.U(\"html5_consume_onesie_sabr_seek\"),Y.A5=P.U(\"html5_enable_sabr_seek_loader_refactor\"),Y.Nm=g.je(P.experiments,\"html5_sabr_quota_exceeded_retry_buffer_health_secs\"),Y.Zi=P.U(\"html5_update_segment_start_time_from_media_header\"),k.enableServerStitchedDai&&(Y.K=!0,Y.SB=P.U(\"html5_reset_server_stitch_state_for_non_sabr_seek\"),Y.Hr=P.U(\"html5_remove_ssdai_append_pause\")&&!k.Xj(),Y.Zm=P.U(\"html5_ssdai_log_ssevt_in_loader\")||\nP.U(\"html5_ssdai_log_ssevt_in_loader_200ms\")||P.U(\"html5_ssdai_log_ssevt_in_loader_timers\")||P.U(\"html5_ssdai_log_ssevt_in_loader_cuerange\"),P.U(\"html5_ssdai_log_ssevt_in_loader_timers\")?Y.A9=1:P.U(\"html5_ssdai_log_ssevt_in_loader_200ms\")?Y.A9=3:P.U(\"html5_ssdai_log_ssevt_in_loader_cuerange\")&&(Y.A9=0)),Y.qV=P.OR()||k.Xj());Y.Qa=g.fl0(k);LZ(P.C,Up.BITRATE)&&(Y.c6=NaN);if(h=g.je(P.experiments,\"html5_request_size_max_kb\"))Y.GJ=h*1024;P.C.J?Y.Er=\"; \"+Up.EXPERIMENTAL.name+\"=allowed\":P.U(\"html5_enable_cobalt_tunnel_mode\")&&\ng.xQ()&&(h=Up.TUNNELMODE,Y.Er=\"; \"+h.name+\"=\"+h.valid);k=k.serverPlaybackStartConfig;(k==null?0:k.enable)&&(k==null?0:k.playbackStartPolicy)&&(Y.RB=!0,QZ(Y,k.playbackStartPolicy,2));k=V7V(W);W.PX.removeAll();a:{h=W.GW.eT;if(P=W.videoData.videoId)if(T=h.W.get(P)){h.W.remove(P);h=T;break a}h=void 0}W.loader=new g.yZ(W,W.zJ.schedule,Y,W.videoData.W,W.videoData.J,eQ(W),k,W.videoData.enableServerStitchedDai,h,W.videoData.A5);Y=W.videoData.U(\"html5_disable_preload_for_ssdai_with_preroll\")&&W.videoData.isLivePlayback&&\nW.ri()?!0:W.Zn&&g.l_(W.zJ)&&W.videoData.isLivePlayback;W.loader.initialize(W.getCurrentTime(),eQ(W),Y);W.videoData.probeUrl&&(W.loader.bz=W.videoData.probeUrl);if(W.sy.length||W.Zn)W.videoData.cotn||oY(W,!1);ve(W.O1,W.loader);W.Ha&&(N2V(W.loader,new g.Co(W.Ha)),W.y5(\"sdai\",{sdl:1}));g.Lo(W.videoData)&&(W=W.loader,W.policy.kp=W.policy.ew)};\nalF=function(W){W.W.enabled||W.W.start();W.T++;W.T>=W.J&&W.Lf()};\nbs=function(W,Y,k,P,T,I){I=I===void 0?0:I;ls.call(this,W,{S:\"div\",j:\"ytp-preview-ad\",B:[{S:\"div\",j:\"ytp-preview-ad__text\"}]},\"preview-ad\",Y,k,P,T);var X=this;this.Kg=I;this.K=0;this.T=-1;this.J=this.J5(\"ytp-preview-ad__text\");switch(this.Kg){case 1:this.J.classList.add(\"ytp-preview-ad__text--font--small\")}this.transition=new g.fH(this,400,!1,100,function(){X.hide()});\ng.m(this,this.transition);this.hide()};\nW22=function(W){var Y=ce(W,!0);return og(xN(W,Y))};\nfo=function(W){W.j1&&W.j1.Lu()&&W.Oo()};\nTlq=function(W,Y){return W.N(W.W,!0)?!1:(Dv(W,NaN,\"ns\",Y),W.clear(),!0)};\ng.VZ=function(W){return!!W.W&&Yod(W.W)};\nN9=function(){};\nYK=function(W){var Y=g.xh.apply(1,arguments);if(!aY(W)||Y.some(function(P){return!aY(P)}))throw Error(\"Only objects may be merged.\");\nY=g.e(Y);for(var k=Y.next();!k.done;k=Y.next())WD(W,k.value)};\n$K=function(W){g.D.call(this);this.wpc=W};\n$F5=function(W){if(W.J){var Y=W.options[W.J];Y.element.getAttribute(\"aria-checked\");Y.element.setAttribute(\"aria-checked\",\"false\");W.J=null}};\nTr2=function(W,Y,k){return k00(W.W.get(),Y.contentCpn,Y.BF,function(P){return P_q(W.K.get(),P.slotId,k,Y.adPlacementConfig,Y.BF,kN(W.v5.get(),P))})};\nkK=function(W,Y){Y=Y===void 0?\"0\":Y;g.D.call(this);this.logSource=W;this.sessionIndex=Y;this.hU=\"https://play.google.com/log?format=json&hasfast=true\";this.K=null;this.T=!1;this.network=null;this.componentId=\"\";this.W=this.V3=null;this.J=!1;this.pageId=null};\nIq0=function(W){W&&W!==\"web\"&&jg7.includes(W)};\nXu0=function(W){switch(W){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}};\nMF=function(W,Y,k,P){var T=P[W];if(T)return T;T={};T.xd=P;T.Vq=SoV(P[0]);var I=P[1],X=1;I&&I.constructor===Object&&(T.extensions=I,I=P[++X],typeof I===\"function\"&&(T.gG=!0,PD!=null||(PD=I),Ts!=null||(Ts=P[X+1]),I=P[X+=2]));for(var h={};I&&Array.isArray(I)&&I.length&&typeof I[0]===\"number\"&&I[0]>0;){for(var B=0;B0&&(W.headers=Y);return W};\nOLC=function(W,Y){return W.U(\"html5_onesie_sync_request_encryption\")||(Y==null?0:Y.po)||g.Ae(W.zJ)&&W.U(\"html5_embed_onesie_use_sync_encryption\")?!1:!!SM()};\nuO5=function(W){var Y=g.hr(\"html5-video-player\");Y&&g.ML(Y,\"ytp-ad-display-override\",W)};\nd9=function(){return g.fF(\"smart-tv\")&&g.fF(\"samsung\")};\nZLv=function(W,Y){Y=OJ(W,Y)+1;return Y1&&(T=!1);W.Y9&&T===Y||(P=P.lock(T?\"portrait\":\"landscape\"),P!=null&&P.catch(function(){}),W.Y9=!0)}else W.Y9&&(W.Y9=!1,P.unlock())};\nmFv=function(W){W.G||(W.G=(0,g.lj)(),g.AR(\"ais_a\",W.G,W.W))};\neM=function(W,Y,k){tr.call(this,W);this.T=Y;this.W=\"f\";this.K=\"z\";qC(this,k)};\nDFF=function(W){var Y=this;this.K=void 0;this.W=!1;W.addEventListener(\"beforeinstallprompt\",function(k){k.preventDefault();Y.K=k});\nW.addEventListener(\"appinstalled\",function(){Y.W=!0},{once:!0})};\noh=function(W){W.J.isFinal=!0;W.flush();W.J.isFinal=!1};\ngnd=function(W){var Y=new g.pk({S:\"div\",j:\"ytp-ad-image-overlay\",B:[{S:\"div\",j:\"ytp-ad-overlay-ad-info-button-container\"},{S:\"div\",j:\"ytp-ad-overlay-close-container\",B:[{S:\"button\",j:\"ytp-ad-overlay-close-button\",B:[vD(CI)]}]},{S:\"div\",j:\"ytp-ad-overlay-image\",B:[{S:\"img\",D:{src:\"{{imageUrl}}\",width:\"{{width}}\",height:\"{{height}}\"}}]}]});W.Z(Y.J5(\"ytp-ad-overlay-image\"),\"click\",function(k){LI(W,Y.element,k)});\nW.Z(Y.J5(\"ytp-ad-overlay-close-container\"),\"click\",W.jQ);Y.hide();return Y};\nlG=function(W,Y,k){W=W.h5;return GV(UQ(W),W,void 0,Y)===k?k:-1};\ncD=function(W,Y,k,P){g.tR.call(this);this.videoData=W;this.zJ=Y;this.L=k;this.sessionId=P;this.C={};this.cryptoPeriodIndex=NaN;this.url=\"\";this.requestNumber=0;this.A5=this.Kg=!1;this.J=null;this.wD=[];this.T=[];this.authorizedFormats=[];this.G=!1;this.W={};this.status=\"\";this.X=NaN;this.K=W.C;this.cryptoPeriodIndex=k.cryptoPeriodIndex;W={};Object.assign(W,this.zJ.W);W.cpn=this.videoData.clientPlaybackNonce;this.videoData.TJ&&(W.vvt=this.videoData.TJ,this.videoData.mdxEnvironment&&(W.mdx_environment=\nthis.videoData.mdxEnvironment));this.zJ.wD&&(W.authuser=this.zJ.wD);this.zJ.pageId&&(W.pageid=this.zJ.pageId);isNaN(this.cryptoPeriodIndex)||(W.cpi=this.cryptoPeriodIndex.toString());var T=(T=/_(TV|STB|GAME|OTT|ATV|BDP)_/.exec(g.Ed()))?T[1]:\"\";T===\"ATV\"&&(W.cdt=T);this.C=W;this.C.session_id=P;this.N=!0;this.K.flavor===\"widevine\"&&(this.C.hdr=\"1\");this.K.flavor===\"playready\"&&(Y=Number(bG(Y.experiments,\"playready_first_play_expiration\")),!isNaN(Y)&&Y>=0&&(this.C.mfpe=\"\"+Y),this.N=!1);Y=\"\";g.Bk(this.K)?\nY8(this.K)?(P=k.K)&&(Y=\"https://www.youtube.com/api/drm/fps?ek=\"+mHX(P)):(Y=k.initData.subarray(4),Y=new Uint16Array(Y.buffer,Y.byteOffset,Y.byteLength/2),Y=String.fromCharCode.apply(null,Y).replace(\"skd://\",\"https://\")):Y=this.K.K;this.baseUrl=Y;this.fairplayKeyId=rp(this.baseUrl,\"ek\")||\"\";if(Y=rp(this.baseUrl,\"cpi\")||\"\")this.cryptoPeriodIndex=Number(Y);this.wD=k.pN?[g.Pk(k.initData,4)]:k.J;Nc(this,{sessioninit:k.cryptoPeriodIndex});this.status=\"in\"};\nF2d=function(W,Y,k,P){for(var T=0,I=W.length,X;T>>1),B=void 0;k?B=Y.call(void 0,W[h],h,W):B=Y(P,W[h]);B>0?T=h+1:(I=h,X=!B)}return X?T:-T-1};\nwuF=function(W,Y){var k=W.liveBadge.element,P=W.api.isLifaAdPlaying();k.disabled=P||Y;!xK(W)||W.G===Y&&W.X===W.isPremiere||(W.G=Y,W.X=W.isPremiere,W.Xi(),Y?k.classList.add(\"ytp-live-badge-is-livehead\"):k.classList.remove(\"ytp-live-badge-is-livehead\"),W.liveBadge.N6(W.isPremiere?\"Premiere\":\"Live\"),Y?W.W&&(W.W(),W.W=null,k.removeAttribute(\"title\")):(k.title=\"Skip ahead to live broadcast.\",W.W=g.nt(W.tooltip,W.liveBadge.element)))};\nQg6=function(W,Y){var k;((k=W.C.get(Y))!=null?k:[]).forEach(function(P){W.W===0&&W.Pk.g0(\"transitiondetector\",P);if(W.W===1){var T=W.T,I;(I=T.W.get(P))==null||I.delay.dispose();T.W.delete(P)}});\nW.C.delete(Y)};\nyLX=function(W,Y,k){var P=W.split(\"#\",2);W=P[0];P=P.length>1?\"#\"+P[1]:\"\";var T=W.split(\"?\",2);W=T[0];T=DX(T[1]||\"\");for(var I in Y)if(k||!g.fI(T,I))T[I]=Y[I];return g.YW(W,T)+P};\nVm=function(W){this.value=W};\ng.uw=function(W,Y,k,P,T,I,X,h,B,O){B=B===void 0?new g.NC(W):B;O=O===void 0?!0:O;g.tR.call(this);var u=this;this.zJ=W;this.playerType=Y;this.C1=k;this.dY=P;this.getVisibilityState=I;this.visibility=X;this.GW=h;this.videoData=B;this.kd=O;this.logger=new g.M_(\"VideoPlayer\");this.hY=null;this.PX=new KF;this.S9=null;this.QB=!0;this.j1=this.loader=null;this.sy=[];this.AU=new ah;this.o6=this.UF=null;this.yR=new ah;this.bN=null;this.bJ=this.Zn=!1;this.aQ=NaN;this.Cl=!1;this.playerState=new g.ZR;this.lN=[];\nthis.MP=new g.x5;this.mediaElement=null;this.gh=this.Py=!1;this.r7=NaN;this.yM=!1;this.je=0;this.oN=!1;this.Hq=NaN;this.sS=0;this.loop=!1;this.playbackRate=1;this.lS=0;this.FG=!1;this.EO=[];this.a$=this.gB=0;this.wh=this.Zt=!1;this.DU=this.FV=0;this.Q4=!1;this.FU=this.Fq=this.KF=this.Ha=null;this.R6=function(){var Z=u.FA;Z.provider.zJ.jW||Z.provider.W6.getVisibilityState()===3||(Z.provider.zJ.jW=!0);Z.vA();if(Z.K){var M=Z.K;M.C&&M.W<0&&M.provider.W6.getVisibilityState()!==3&&eaz(M)}Z.qoe&&(Z=Z.qoe,\nZ.rD&&Z.J<0&&Z.provider.zJ.jW&&onv(Z),Z.T&&Wy(Z));u.loader&&YG(u);u.zJ.vF&&!u.videoData.backgroundable&&u.mediaElement&&!u.Y7()&&(u.isBackground()&&u.mediaElement.sN()?(u.y5(\"bgmobile\",{suspend:1}),u.lw(!0,!0)):u.isBackground()||R7(u)&&u.y5(\"bgmobile\",{resume:1}))};\nthis.zW={CI:function(Z){u.CI(Z)},\nfn5:function(Z){u.hY=Z},\ncdz:function(){return u.FA},\ns0:function(){return u.j1},\nn$S:function(){return u.Zy},\nt9r:function(){return u.fA},\nvti:function(){},\nV:function(){return u.zJ},\nbd:function(){return u.mediaElement},\niyq:function(Z){u.Kl(Z)},\nuVD:function(){return u.dY}};\nthis.nL=new $G(this);this.Pb=new g.fC(this.QbP,15E3,this);this.Ab=new kG(new Map([[\"bufferhealth\",function(){return Py(u.O1)}],\n[\"bandwidth\",function(){return u.pm()}],\n[\"networkactivity\",function(){return u.zJ.schedule.wD}],\n[\"livelatency\",function(){return u.isAtLiveHead()&&u.isPlaying()?T5(u):NaN}],\n[\"rawlivelatency\",function(){return T5(u)}]]));\nthis.O1=new jU(this);this.nA=new g.fC(this.Nn,0,this);this.V11=[this.MP,this.nA,this.Pb,this.Ab];this.logger.debug(function(){return\"creating, type \"+Y});\nthis.mY=new L5V(this.zJ);this.vl=new Ii(this.zJ,this.dY,this);this.Pk=new g.XU(this,function(Z,M){Z!==g.OQ(\"endcr\")||g.p(u.playerState,32)||u.XT();T(Z,M,u.playerType);if(Z===g.OQ(\"transitiondetector\")&&(Z=u.loader)!=null&&(Z=Z.A9)!=null){var t=g.e(vnS(M.id));t.next();t=t.next().value;SU(Z,t,M.start/1E3-Z.W6.m2(),hB(Z.T))}});\ng.m(this,this.Pk);g.m(this,this.O1);C_X(this,B);this.videoData.subscribe(\"dataupdated\",this.dt2,this);this.videoData.subscribe(\"dataloaded\",this.MG,this);this.videoData.subscribe(\"dataloaderror\",this.handleError,this);this.videoData.subscribe(\"ctmp\",this.y5,this);this.videoData.subscribe(\"ctmpstr\",this.lf,this);!this.FA||this.FA.Xr();this.FA=new g.qS(new By(this.videoData,this.zJ,this));L2S(this.R6);this.visibility.subscribe(\"visibilitystatechange\",this.R6);this.Zy=new g.fC(this.jZ,g.je(this.zJ.experiments,\n\"html5_player_att_initial_delay_ms\")||4500,this);this.fA=new g.fC(this.jZ,g.je(this.zJ.experiments,\"html5_player_att_retry_delay_ms\")||4500,this);this.bA=new g.Oi(this.RNJ,350,this);g.m(this,this.bA)};\nlqC=function(W,Y,k,P,T,I,X){if(Y&&k){W.eW=k.cpn;W.zJ.U(\"html5_use_new_ssdai_transition_detector\")&&X||W.FO(k.cpn,k.startTimeSecs||T);UF7(W,k);var h=ZJ(W,\"a2a\",k);W.P7(h);W.yY++;W.playback.Qm(Y,k,P||0,T||0,!!I,!!X)}else W.P7({misspbkonadtrans:1,enter:(k==null?void 0:k.cpn)||\"\",exit:(Y==null?void 0:Y.cpn)||\"\",seek:I,skip:X})};\ne5d=function(W,Y){var k=Y.pop();for(k=W.K+W.W.length()-k;k>127;)Y.push(k&127|128),k>>>=7,W.K++;Y.push(k);W.K++};\ng.QC=function(W,Y){return Array.prototype.splice.call(W,Y,1).length==1};\nbLV=function(W,Y,k){for(var P=[],T=[],I=0;I1)};\nkV7=function(W,Y,k,P){return new Qp(W,Y,{opacity:k},{opacity:P},{property:\"opacity\",duration:Y,timing:\"ease-in\",delay:0})};\ng.eU=function(){try{return g.yp(),!0}catch(W){return!1}};\nOjq=function(W){var Y,k={},P=W.W6,T=W.pg,I=P.getVideoData(),X=oi(0),h=P.getVisibilityState(),B;if((B=W.l7)==null?0:B.B4)k.wO=T.wO;X&&(k.zSa=X,k.lastManualDirection=rv7(),X=Pkd()||0,X>0&&(X=(T.U(\"html5_use_date_now_for_local_storage\")?Date.now():(0,g.lj)())-X,T.U(\"html5_use_date_now_for_local_storage\")?X>0&&(k.timeSinceLastManualFormatSelectionMs=X):k.timeSinceLastManualFormatSelectionMs=X));X=T.U(\"html5_use_streamer_bandwidth_for_low_latency_live\")&&I.isLowLatencyLiveStream;if(T.schedule.A5&&!X){var O;\nX=T.U(\"html5_disable_bandwidth_cofactors_for_sabr_live\")?!((O=W.l7)==null||!O.Aj):!1;k.It=vy(T.schedule,!X)}X=g.cu.medium;B=Math.floor(X*16/9);(O=I.xZ())||(I.W&&I.J&&I.J.videoInfos.length!==0?(O=I.J.videoInfos[0],O=!!O.video&&O.video.width0?{authorizedFormats:W.authorizedFormats}:{authorizedFormats:Y};W.sabrLicenseConstraint&&(k.fE.sabrLicenseConstraint=W.sabrLicenseConstraint);if(T.U(\"html5_onesie_media_capabilities\")||T.U(\"html5_enable_server_format_filter\"))k.Pd=\n3;T.U(\"html5_onesie_audio_only_playback\")&&a7(I)&&(k.Pd=1);var z;((z=W.l7)==null?0:z.Qa)&&W.dK&&(k.Pd=k.Pd===void 0?7:k.Pd|4);z=I.AC?I.AC:g.CN(I);T.U(\"html5_onesie_media_capabilities\")&&(k.mediaCapabilities=g.Tp1(I,z,T));var A;if((A=W.l7)==null?0:LN(A)){Z=T.C;A=[];Y=[];M=new Map;t=Array.from(Z.W.values());t=g.e(t);for(q=t.next();!q.done;q=t.next())G=q.value,G.xH?Y.push({audioCodec:jzd[G.lz],numChannels:G.numChannels,spatialCapabilityBitmask:Ik5[G.lz]}):(E=X4d[G.lz],q={videoCodec:E,maxWidth:G.maxWidth||\n0,maxHeight:G.maxHeight||0,maxFramerate:G.maxFramerate||0,is10BitSupported:G.PE||!1},G.maxBitrateBps&&(q.maxBitrateBps=G.maxBitrateBps,h=Ui(G.itag),O=void 0,((O=h)==null?0:O.video)&&TR(z,h,Z)===!0&&(h=h.c6*8,h>q.maxBitrateBps&&(q.maxBitrateBps=h))),G=E+\"_\"+G.PE,E=M.get(G)||[],E.push(q),M.set(G,E));A=SE2(A,M);Z={};T.U(\"html5_ssff_denylist_opus_low\")&&(Z={itagDenylist:[249,350]});k.mediaCapabilities={videoFormatCapabilities:A,audioFormatCapabilities:Y,hdrModeBitmask:3,perPlaybackAttributes:Z}}var F;\nif((F=W.l7)==null?0:F.W){k.W3=z.W3;var y;k.nh=(y=W.l7)==null?void 0:y.nh}T.k8&&(k.U5=T.k8);k.DD=W.fF;k.DI=W.DI;k.Qq=W.Qq;k.Ko=W.Ko;W.Gs&&(k.en5=(0,g.lj)()-W.Gs);W.isPrefetch&&T.U(\"html5_report_prefetch_requests\")&&(k.isPrefetch=!0);KB||(k.ji1=!0);F=lw(T.schedule)*1E3;F>0&&(k.L9=F);var U;((U=W.l7)==null?0:U.Br)&&W.nX&&W.nX0?V:T.schedule.interruptions[0]||0;var b;if((b=W.l7)==null?0:b.Gn)k.bu=W.bu;T.Q5&&(k.audioTrackId=T.Q5);bw(I)&&!k.audioTrackId&&(T.U(\"html5_fill_default_mosaic_audio_track_id\")||(W=RaV(I),k.audioTrackId=W),I==null||I.y5(\"misstrkchg\",{\"default\":k.audioTrackId}));if(I=h40())k.detailedNetworkType=BpC[I]||BpC.other;T.U(\"html5_enable_voice_boost\")&&(k.mIJ=T.Jo);return k};\nNK=function(){if(cy===null){cy=new xG;dU(fN).K=\"b\";var W=dU(fN),Y=Vp(W)==\"h\"||Vp(W)==\"b\",k=!(fZ(),!1);Y&&k&&(W.C=!0,W.X=new up5)}return cy};\nZj7=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z\"}}]}};\nWO=function(W,Y,k,P){g.c.call(this,{S:\"div\",j:\"ytp-chapter-container\",B:[{S:\"button\",Ya:[\"ytp-chapter-title\",\"ytp-button\"],B:[{S:\"span\",D:{\"aria-hidden\":\"true\"},j:\"ytp-chapter-title-prefix\",v6:\"\\u2022\"},{S:\"div\",j:\"ytp-chapter-title-content\",v6:\"{{chapterTitle}}\",D:{\"aria-label\":\"{{ariaLabel}}\",\"aria-live\":\"polite\",title:W.U(\"player_tooltip_data_title_killswitch\")?P:\"\",\"data-tooltip-title\":P}},{S:\"div\",j:\"ytp-chapter-title-chevron\",B:[{S:\"svg\",D:{height:\"100%\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",\nD:{d:\"M9.71 18.71l-1.42-1.42 5.3-5.29-5.3-5.29 1.42-1.42 6.7 6.71z\",fill:\"#fff\"}}]}]}]}]});this.Y=W;this.T=Y;this.X=\"\";this.currentIndex=0;this.K=void 0;this.J=!0;this.wD=this.J5(\"ytp-chapter-container\");this.W=this.J5(\"ytp-chapter-title\");this.C=this.J5(\"ytp-chapter-title-content\");this.N();this.updateVideoData(\"newdata\",this.Y.getVideoData());this.Z(W,\"videodatachange\",this.updateVideoData);this.Z(W,\"resize\",this.N);this.Z(this.wD,\"click\",this.onClick);this.Z(W,g.OQ(k),this.Xi);this.Z(W,\"onLoopRangeChange\",\nthis.Xi);this.Z(W,\"innertubeCommand\",this.onClickCommand);(W=g.ai(this.Y.V()))&&g.ML(this.W,\"ytp-profile-page\",!0);g.hN(this.Y.V())||W||pt(this.Y,this.C,this)};\nYF=function(W,Y,k,P){yS.call(this,W,Y,k,P)};\ng.$F=function(W,Y,k,P){this.left=W;this.top=Y;this.width=k;this.height=P};\nkF=function(W,Y){g.E2(Y,function(k,P){P==\"style\"?W.style.cssText=k:P==\"class\"?W.className=k:P==\"for\"?W.htmlFor=k:ijd.hasOwnProperty(P)?W.setAttribute(ijd[P],k):hC(P,\"aria-\")||hC(P,\"data-\")?W.setAttribute(P,k):W[P]=k})};\nTS=function(W,Y,k,P){if(k===\"child\"){g.ee(Y);var T;P===void 0?T=void 0:T=!Array.isArray(P)||P&&typeof P.S===\"string\"?[P]:P;k=Mi6(W,T);k=g.e(k);for(W=k.next();!W.done;W=k.next())Y.appendChild(W.value)}else k===\"style\"?g.KX(Y,\"cssText\",P?P:\"\"):P===null||P===void 0?Y.removeAttribute(k):(W=P.toString(),k===\"href\"&&(W=g.QB(g.PO(W))),Y.setAttribute(k,W))};\nqEF=function(W,Y){return acd(W,Y,tiV)};\nj0=function(W){this.h5=rT(W)};\naz=function(W){var Y=W;return function(){if(Y){var k=Y;Y=null;k()}}};\nIk=function(W,Y){Y=String(Y);W.T&&(Y=Y.toLowerCase());return Y};\nMi6=function(W,Y){var k=[];if(!Y)return k;Y=g.e(Y);for(var P=Y.next();!P.done;P=Y.next())if(P=P.value,P!=null){var T=P.nodeType;T===1||T===3?k.push(P):P&&typeof P.S===\"string\"?k.push(W.createElement(P)):P.element?k.push(P.element):typeof P===\"string\"&&P.indexOf(\"\\n\")!==-1?P.split(\"\\n\").forEach(function(I,X){X>0&&k.push(g.sF(\"BR\"));k.push(g.S0(I))}):k.push(g.S0(P))}return k};\nR46=function(W){W.K8=!W.K8;W.i9=!0;W.element.classList.toggle(\"ytp-retro-player\",W.K8);W.resize();W.i9=!1;W.app.Ii.Ri(\"onRetroModeChanged\",W.K8)};\nHjq=function(W){g.hl(W.X);W.X=NaN};\nniC=function(W,Y){return Ck(W,1,Y)};\nBO=function(){var W=p4q();return!(!W||W===\"visible\")};\nGV6=function(W){return W.errorCode===\"net.badstatus\"&&(W.severity===1||!!W.details.fmt_unav)};\nEid=function(W){var Y=W.Y.getVideoData();return!!Y.Qa||!!Y.captionTracks.length||g.K9v(Y,W.Y)};\ng.ZV=function(W){g.D.call(this);this.callback=W;this.W=new Os(0,0,.4,0,.2,1,1,1);this.delay=new g.uC(this.next,window,this);g.m(this,this.delay)};\niC=function(W,Y){this.XB=W;this.VK=0;this.jI=Y};\nmud=function(W){if(!W)return\"\";var Y=document.createElement(\"div\").style;JeX(W).forEach(function(k){var P=g.M8&&k in szV?k:k.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,\"\");hC(P,\"--\")||hC(P,\"var\")||(k=reV(AeC,W,W.getPropertyValue?\"getPropertyValue\":\"getAttribute\",[k])||\"\",k=z42(k),k!=null&&reV(duF,Y,Y.setProperty?\"setProperty\":\"setAttribute\",[P,k]))});\nreturn Y.cssText||\"\"};\ntl=function(W){this.h5=rT(W)};\nDu7=function(W){if(W==null||typeof W==\"string\"||W instanceof bq)return W};\ng.q8=function(W){return W&&W.parentNode?W.parentNode.removeChild(W):null};\ngiC=function(W){var Y=g.hr(\"html5-video-player\");Y&&g.ML(Y,\"ytp-ad-display-override\",W)};\nJE=function(W){W=W===void 0?Cc:W;Rk.call(this,new HO(W,2))};\nw4v=function(W,Y,k,P,T){if(Y&&typeof Y===\"object\"){var I=function(X){return F9z(W,X,k,P,T)};\nif(ne(Y))return Y.then(I);if(pe(Y))return R8(Y,I)}return F9z(W,Y,k,P,T)};\nGS=function(){g.D.apply(this,arguments);this.K=1};\nJl=function(W){W=new DataView(W.buffer,W.byteOffset,W.byteLength);return(W=g.Ke(W,0,1836476516))?g.Es(W):NaN};\nAl=function(){var W=null;try{W=g.hL.localStorage||null}catch(Y){}rD.call(this,W)};\nT3=function(W){return W.right-W.left};\nyeq=function(W,Y){return function(){W.zJ.U(\"html5_simplify_pings\")?(W.W=W.UP,W.DY=Y(),W.rZ=0,W.send()):zS(W).then(function(k){var P=dD(W);P.cmt=P.len;P.lact=\"0\";var T=Y().toFixed(3);P.rt=Number(T).toString();P=g.YW(W.uri,P);W.zJ.U(\"vss_through_gel_double\")&&QzX(P);W.TJ?(k==null&&(k={}),W.OP?mr().sendAndWrite(P,k):mr().sendThenWrite(P,k)):k?g.DV(P,k):g.gD(P)})}};\nF5=function(W){this.h5=rT(W)};\nwD=function(W){for(;W.W.length&&W.W[0].Eh(W.B5());){var Y=W.W.shift();e42(W,Y)}W.W.length&&e42(W,W.W[0])};\nQq=function(W){var Y=W.T.nI();return Y?Y.info:Qg(W)};\ndcC=function(W,Y){g.ik(Y,function(k){return W.equals(k)})||Y.push(W)};\nCkF=function(W,Y,k,P,T,I){I=I===void 0?{}:I;var X=Y.substring(0,Y.length-T.name.length),h,B=(h=I)==null?void 0:h.signal;return oiF(function(O){return new Promise(function(u,Z){if(B==null?0:B.aborted){var M=new si(1,\"Aborted\");M.cause=B.reason;Z(M)}else{var t={},q=viv(W,O,X);q.al(\"error\",function(G){return void Z(G)});\nq.al(\"metadata\",function(G){t=G});\nq.al(\"data\",function(G){var E=t;E=E===void 0?{}:E;u(new yq(G,E))});\nB&&B.addEventListener(\"abort\",function(){q.cancel();var G=new si(1,\"Aborted\");G.cause=B.reason;Z(G)})}})},W.Xn).call(W,T.G(k,P)).then(function(O){return O.RzP})};\nL9F=function(W,Y){g.ML(W.element,\"ytp-volume-control-hover\",Y);e0(W,Y,W.isDragging,W.K,W.api.jA())};\nM4=function(W,Y){Y=Y===void 0?!1:Y;var k=W.loader.getCurrentTime(),P=W.T.nI(),T=(P==null?void 0:P.info.X)||0;if((P==null?0:P.info.W.n0())&&!P.info.T)if(W.policy.yD)T=P.info.C;else if(W.policy.GU){var I=P.info;T=I.range?I.X:Math.min(I.startTime+Math.min(I.duration*I.K/I.W.info.c6,I.duration)+(I.range?I.L:Math.min(I.duration,I.duration*I.J/I.W.info.c6)),I.startTime+I.duration)}if(!W.qT)return W.policy.W&&Y&&!isNaN(k)&&P?T-k:0;if((I=Qg(W))&&ok(I))return I.X;var X=W.qT.Mt(!0);if(Y&&P)return I=0,W.policy.W&&\n(I=vO(X,T+.02)),I+T-k;Y=vO(X,k);W.policy.lr&&I&&(P=Ce(X,k),X=Ce(X,I.C-.02),P===X&&(k=I.X-k,W.policy.J&&k>Y+.02&&W.y5(\"abh\",{bh:Y,bhtls:k}),Y=Math.max(Y,k)));return Y};\nUu7=function(W){var Y=Le(W)?\"custom_metric_viewable\":W.toLowerCase();return Us(lC,function(k){return k==Y})};\nbjv=function(W,Y){var k=Number(Y==null?void 0:Y.maxVisibleDurationMilliseconds);k&&(iq(W),W.Kg=setTimeout(function(){if(W.W!==void 0&&(Y==null?void 0:Y.cueRangeId)===W.W){W.N=!1;var P=lk5(W,W.W);P&&W.api.Ri(\"innertubeCommand\",P)}},k))};\nce1=function(W,Y,k){var P=Y.Ag;Y.Ag=k;cL(W,Y)&&(k=W.app.D2(),P.BK===W.J&&bC(W),k.removeCueRange(P.BK),k.addCueRange(Y.Ag.BK))};\nxu6=function(W){if(W.linearAds==null)return!1;W=g.R(W.adStart,cO);return W?xF(W)?!0:(EF(\"Invalid LASR with notify\"),!1):!1};\nfe=function(W){var Y=kW(W.clientMetadata,\"metadata_type_ad_placement_config\");W=kW(W.clientMetadata,\"metadata_type_media_sub_layout_index\");return{adPlacementConfig:Y,AK:W}};\nu7=function(W,Y,k){W.A5=Y;W.A9=k;var P=fT(W),T=W.J.W,I=fk2(W.J,W.A5),X=g.Vq(\"$PLAY_PROGRESS of $DURATION\",{PLAY_PROGRESS:g.N8(I,!0),DURATION:g.N8(T,!0)}),h=OJ(W.W,I*1E3);h=W.W[h].title;W.update({ariamin:Math.floor(W.J.K),ariamax:Math.floor(T),arianow:Math.floor(I),arianowtext:h?h+\" \"+X:X});T=W.clipStart;I=W.clipEnd;W.u8&&W.api.getPresentingPlayerType()!==2&&(T=W.u8.startTimeMs/1E3,I=W.u8.endTimeMs/1E3);T=VC(W.J,T,0);h=VC(W.J,I,1);X=W.api.getVideoData();I=g.DR(Y,T,h);k=(X==null?0:g.Lo(X))?1:g.DR(k,\nT,h);Y=ak(W,Y,P);g.KX(W.B4,\"transform\",\"translateX(\"+Y+\"px)\");W.api.U(\"delhi_modern_web_player\")&&W.api.U(\"delhi_modern_web_player_cutout\")&&W8(W,Y);Yu(W,P,T,I,\"PLAY_PROGRESS\");(X==null?0:BZ(X))?(Y=W.api.getProgressState().seekableEnd)&&Yu(W,P,I,VC(W.J,Y),\"LIVE_BUFFER\"):Yu(W,P,T,k,\"LOAD_PROGRESS\");if(W.api.U(\"web_player_heat_map_played_bar\")){var B;(B=W.T[0])!=null&&B.X.setAttribute(\"width\",(I*100).toFixed(2)+\"%\")}};\nVi1=function(W,Y){return W.J===void 0?!1:Y.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD\"&&Number(Y.seekLengthMilliseconds)===5E3?W.J===72:Y.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_FORWARD\"&&Number(Y.seekLengthMilliseconds)===1E4?W.J===74:Y.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD\"&&Number(Y.seekLengthMilliseconds)===5E3?W.J===71:Y.seekDirection===\"TIMELY_ACTION_TRIGGER_DIRECTION_BACKWARD\"&&Number(Y.seekLengthMilliseconds)===1E4?W.J===73:!1};\nNp0=function(W){if(W.nodeType==1)return i$V(W);W=W.changedTouches?W.changedTouches[0]:W;return new g.z6(W.clientX,W.clientY)};\nb_=function(W){return W.lz===\"9\"||W.lz===\"(\"||W.lz===\"9h\"||W.lz===\"(h\"};\ntZ=function(W){$u(W);W.o6=null;var Y=akv(W.zJ,W.videoData,W.Y7());W.UF=Y;W.UF.then(function(k){W6C(W,k)},function(k){W.Xr()||(k=BH(k),W.visibility.isBackground()?(v4(W,\"vp_none_avail\"),W.UF=null,W.AU.reset()):(W.AU.finished=!0,W.SW(k.errorCode,k.severity,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",l4(k.details))))});\nreturn Y};\nYu7=function(W,Y){if(Y<0)return\"0\";W=Math.floor(Math.min(Y,W.api.getDuration())*1E3);return W>2147483647?\"0\":String(W)};\nP8=function(W,Y,k,P){function T(){return I.K}\ng.D.call(this);var I=this;W.V().experiments.Nq(\"html5_dispose_of_manager_before_dependency\")?(this.W=$46(T,W,Y,k,P),this.K=(new ku(this.W)).J(),g.m(this,this.K),g.m(this,this.W)):(this.W=$46(T,W,Y,k,P),g.m(this,this.W),this.K=(new ku(this.W)).J(),g.m(this,this.K))};\nk9q=function(W){var Y=W.D2();Dq(Y.getVideoData())&&!Y.BA()&&(Y=TX(W)*1E3-W.getVideoData().zY,W.U(\"html5_gapless_new_slr\")?(W=W.Hh,j5(W.app,\"gaplessshortslooprange\"),Y=new g.Mm(0,Y,{id:\"gaplesslooprange\",namespace:\"gaplessshortslooprange\"}),(W=W.app.D2())&&W.addCueRange(Y)):W.setLoopRange({startTimeMs:0,endTimeMs:Y,type:\"shortsLoop\"}))};\nj56=function(W){W=W.uw.aE;var Y;if(Y=W&&W.getAttribute)Y=/-[a-z]/.test(\"googleAvInapp\")?!1:PpX&&W.dataset?\"googleAvInapp\"in W.dataset:W.hasAttribute?W.hasAttribute(\"data-\"+TTv()):!!W.getAttribute(\"data-\"+TTv());Y&&(aX().K=!0)};\nIv7=function(W,Y){if(W.J.length){if(W.J[0].info.EP[0].startTime<=Y)return;Iy(W)}for(var k=W.T,P=k.K.length-1;P>=0;P--)k.K[P].info.startTime>Y&&k.K.pop();O$6(W);W.K&&Y=3&&W.Y.getPresentingPlayerType()!==2};\nuN=function(W,Y,k,P){EF(k,Y,void 0,void 0,k.j2);k.Y4?W.H7.iE(P,k.Y4,Y):EF(\"adsClientErrorMessage is missing.\",Y);OP(W,Y,!0)};\nMRC=function(W){this.W=W};\ntR1=function(W){this.triggerType=\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\";this.triggerId=W(this.triggerType)};\ng.Ax=function(W){return new ZS({trackingParams:W})};\nqu0=function(W){var Y=W.api.getPresentingPlayerType()===2&&(W.api.ai().Wq||W.api.V().disableOrganicUi)&&W.api.V().K&&iN&&M5>=11;W=W.api.V().G&&iN;return!(!Y&&!W)};\ntj=function(W,Y){this.intervalMs=W;this.callback=Y;this.enabled=!1;this.W=function(){return g.hQ()};\nthis.K=this.W()};\ng.XG=function(W){var Y=typeof W;return Y==\"object\"&&W!=null||Y==\"function\"};\nq5=function(W){this.h5=rT(W)};\nnJ=function(){Ry||(Ry=new H8);return Ry};\nRgz=function(W,Y){this.W=W;this.options=Y;this.transactionCount=0;this.J=Math.round((0,g.lj)());this.K=!1};\npJ=function(){this.next=this.scope=this.W=null};\nok=function(W){return W?W.IB():!1};\nGX=function(W,Y){return typeof Y===\"string\"?W.getElementById(Y):Y};\nre=function(W,Y){var k=v$7(W.provider);Object.assign(k,{state:W.X});Y=new KJ(W.provider.videoData,W.provider.zJ,Y,k);Y.W=W.provider.W6.tD();k=W.provider.videoData.clientPlaybackNonce;Y.W=W.provider.W6.g9(k);W.provider.videoData.isLivePlayback||(Y.UP=W.provider.W6.getDuration(k));W.provider.videoData.W&&(k=W.provider.videoData.W.hT(Y.W))&&(Y.A5=k-Y.W,W.provider.zJ.U(\"html5_disable_live_dvr_shrink_for_cdm_vss\")&&EP(W.provider.videoData)&&(Y.W+=W.provider.W6.m2(),Y.A5-=W.provider.W6.m2()));Y.DY=g.Jj(W.provider);\nY.segments=[sP(W.provider)];return Y};\nAj=function(W){for(;W.X.length;)W.X.pop().dispose()};\nmd=function(W,Y,k){W.OE[W.e8+W.j3*2]=Y>>>8&255;W.OE[W.e8+W.j3*2+1]=Y&255;W.OE[W.Nw+W.j3]=k&255;W.j3++;Y===0?W.Uq[k*2]++:(W.matches++,Y--,W.Uq[(zX[k]+256+1)*2]++,W.PA[(Y<256?de[Y]:de[256+(Y>>>7)])*2]++);return W.j3===W.mI-1};\nHH1=function(W){switch(W){case \"unknown\":return\"CUEPOINT_EVENT_UNKNOWN\";case \"start\":return\"CUEPOINT_EVENT_START\";case \"continue\":return\"CUEPOINT_EVENT_CONTINUE\";case \"stop\":return\"CUEPOINT_EVENT_STOP\";case \"predictStart\":return\"CUEPOINT_EVENT_PREDICT_START\";default:return QL(W,\"Unexpected cuepoint event\")}};\nFH=function(W,Y,k,P,T,I){var X=k?neV(W):{},h=k?pI5(W,k.layoutId):{},B=G92(W),O,u=T!=null?T:(O=DS(W.qq.get(),2))==null?void 0:O.clientPlaybackNonce;T=void 0;if(k){var Z;if((Z=W.E6.W.get(k.layoutId))==null?0:Z.Nh)T=k.layoutId}Z={};W=Object.assign({},K67(W.Y,T,P),Eeq(Y.adPlacementConfig,(k==null?void 0:k.renderingContent)!==void 0),h,X,B,(Z.FINAL=ge(function(){return\"1\"}),Z.AD_CPN=ge(function(){return u||\"\"}),Z));\n(k==null?void 0:k.renderingContent)!==void 0||(W.SLOT_POS=ge(function(){return(Y.AK||0).toString()}));\nk={};I=Object.assign({},W,I);W=g.e(Object.values(JW6));for(P=W.next();!P.done;P=W.next())P=P.value,X=I[P],X!=null&&X.toString()!=null&&(k[P]=X.toString());return k};\nwe=function(W,Y,k){var P=this;this.requestType=W;this.ob=Y;this.wx=k;this.K=null;this.zW={BkP:function(){var T;return(T=P.data)==null?void 0:T.isPrefetch},\nqX:function(){var T;return(T=P.data)==null?void 0:T.qX}}};\nQW=function(W,Y){return Math.floor(Y/(W.columns*W.rows))};\nyW=function(W){if(W.layout.renderingContent){var Y;return(Y=kW(W.layout.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))==null?void 0:Y.current}return kW(W.layout.clientMetadata,\"metadata_type_player_bytes_callback\")};\nrWV=function(W){return Array.isArray(W)?W[0]instanceof jM?W:[s5z,W]:[W,void 0]};\nAW7=function(){if(!X9.instance){var W=new X9;X9.instance=W}return X9.instance};\nv8=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-ad-underlay-companion\",B:[{S:\"div\",j:\"ytp-ad-underlay-side-container\",B:[{S:\"div\",j:\"ytp-ad-underlay-image-container\"},{S:\"div\",j:\"ytp-ad-underlay-description-container\"},{S:\"div\",j:\"ytp-ad-underlay-headline-container\"},{S:\"div\",j:\"ytp-ad-underlay-action-button-container\"}]}]},\"player-underlay\",Y,k,P);this.actionButton=null;this.TJ=this.J5(\"ytp-ad-underlay-image-container\");this.J=new e5(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\n\"ytp-ad-underlay-image\");g.m(this,this.J);this.J.S1(this.TJ);this.Kg=this.J5(\"ytp-ad-underlay-headline-container\");this.K=new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\"ytp-ad-underlay-headline\");g.m(this,this.K);this.K.S1(this.Kg);this.N=this.J5(\"ytp-ad-underlay-description-container\");this.T=new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\"ytp-ad-underlay-description\");g.m(this,this.T);this.T.S1(this.N);this.C=this.J5(\"ytp-ad-underlay-action-button-container\");\nthis.W=this.J5(\"ytp-ad-underlay-side-container\");this.hide()};\ng.LJ=function(W){switch(CJ(W)){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};\nzg5=function(W){W.position===0&&(W.CH.get(),W=kW(W.layout.clientMetadata,\"metadata_type_ad_placement_config\").kind,W={adBreakType:UP(W)},aj(\"ad_bl\"),g.lN(W))};\nm4d=function(W){if(!d47(W))return!1;var Y=g.R(W.adVideoStart,cO);return Y?g.R(W.linearAd,c4)&&xF(Y)?!0:(EF(\"Invalid Sandwich with notify\"),!1):!1};\nD4q=function(W){return W!=null};\nM7C=function(W,Y,k){var P=this;this.loader=W;this.policy=Y;this.C=k;this.logger=new g.M_(\"dash\");this.K=[];this.W=null;this.wD=-1;this.N=0;this.TJ=NaN;this.A5=0;this.J=NaN;this.L=this.UP=0;this.rD=-1;this.OP=this.T=this.X=this.gD=null;this.Q5=this.V5=NaN;this.G=this.Kg=this.GJ=this.bz=null;this.e1=!1;this.Fr=this.timestampOffset=0;this.zW={CQ:function(){return P.K}};\nif(this.policy.T){var T=this.C,I=this.policy.T;this.policy.e1&&W.y5(\"atv\",{ap:this.policy.e1});this.G=new bN(this.policy,T,function(X,h,B){c8(W,new xu(P.policy.T,2,{Fh:new ge7(I,X,T.info,h,B)}))});\nthis.G.L.promise.then(function(X){P.G=null;X===1?c8(W,new xu(P.policy.T,X)):P.loader.y5(\"offlineerr\",{status:X.toString()})},function(X){var h=(X.message||\"none\").replace(/[+]/g,\"-\").replace(/[^a-zA-Z0-9;.!_-]/g,\"_\");\nX instanceof fJ&&!X.W?(P.logger.info(function(){return\"Assertion failed: \"+h}),P.loader.y5(\"offlinenwerr\",{em:h}),VW(P),c8(W,new xu(P.policy.T,4))):(P.logger.info(function(){return\"Failed to write to disk: \"+h}),P.loader.y5(\"dldbwerr\",{em:h}),VW(P),c8(W,new xu(P.policy.T,4,{Au:!0})))})}};\nF67=function(){};\nwIX=function(W,Y){Y=W.jj.get(Y);if(!Y)return 0;W=0;if(Y.EP.length>0){Y=g.e(Y.EP);for(var k=Y.next();!k.done;k=Y.next()){var P=void 0;W+=((P=k.value.range)==null?void 0:P.length)||0}return W}if(Y.BE.length>0)for(k=g.e(Y.BE),P=k.next();!P.done;P=k.next())W+=P.value.o5||0;return W+Y.KE};\nQ5v=function(W){var Y={};var k=g.hQ()-W.C;Y=(Y.ptlt=k,Y);(k=W.K)&&(Y.pnk=k);(k=W.J)&&(Y.pnc=k);(k=W.T)&&(Y.pnmm=k);(W=W.W)&&(Y.pns=W);return Y};\noeC=function(W){W=W.xhr.responseText;if(!hC(W,\")]}'\"))throw new N5;W=JSON.parse(W.substr(4));if((W.type||1)>1)throw new N5;W=W.id;yWS(W);ay=Ww(W);egX(18E5,2);return W};\n$4=function(){return(B8||Y4)&&g.fF(\"applewebkit\")&&!g.fF(\"version\")&&(!g.fF(\"safari\")||g.fF(\"gsa/\"))};\njr=function(W){var Y={duration:null,preview:null,text:null,title:null,\"tooltip-title\":null,url:null,\"data-title-no-tooltip\":null,\"aria-keyshortcuts\":null},k=W.playlist!=null&&W.playlist.Gg();k=g.k4(W.Y)&&(!W.W||k);var P=W.W&&g.Pw(W.Y),T=ve6(W),I=W.W&&W.Y.getPresentingPlayerType()===5,X=g.T_(W.Y,\"Next\",\"SHIFT+n\"),h=g.T_(W.Y,\"Previous\",\"SHIFT+p\");if(I)Y.title=\"Start video\",Y[\"tooltip-title\"]=\"Start video\";else if(W.J)Y.title=\"Replay\",Y[\"tooltip-title\"]=\"Replay\";else if(k){var B=null;W.playlist&&(B=\ng.Jv(W.playlist,W.W?CpS(W.playlist):L6S(W.playlist)));if(B){if(B.videoId){var O=W.playlist.listId;Y.url=W.Y.V().getVideoUrl(B.videoId,O?O.toString():void 0)}Y.text=B.title;Y.duration=B.lengthText?B.lengthText:B.lengthSeconds?g.N8(B.lengthSeconds):null;Y.preview=B.Ss(\"mqdefault.jpg\")}W.W?(Y.title=X,Y[\"tooltip-title\"]=X,Y[\"data-title-no-tooltip\"]=\"Next\",Y[\"aria-keyshortcuts\"]=\"SHIFT+n\"):(Y.title=h,Y[\"tooltip-title\"]=h,Y[\"data-title-no-tooltip\"]=\"Previous\",Y[\"aria-keyshortcuts\"]=\"SHIFT+p\")}else if(P){if(h=\n(B=W.videoData)==null?void 0:g.Si(B))Y.url=h.md(),Y.text=h.title,Y.duration=h.lengthText?h.lengthText:h.lengthSeconds?g.N8(h.lengthSeconds):null,Y.preview=h.Ss(\"mqdefault.jpg\");Y.title=X;Y[\"tooltip-title\"]=X;Y[\"data-title-no-tooltip\"]=\"Next\";Y[\"aria-keyshortcuts\"]=\"SHIFT+n\"}Y.disabled=!P&&!k&&!T&&!I;W.update(Y);W.X=!!Y.url;P||k||W.J||T||I?W.K||(W.K=g.nt(W.tooltip,W.element),W.C=W.listen(\"click\",W.onClick,W)):W.K&&(W.K(),W.K=null,W.nH(W.C),W.C=null);W.tooltip.wc();g.ML(W.element,\"ytp-playlist-ui\",\nW.W&&(k||W.Y.U(\"web_hide_next_button\")))};\nI0=function(){g.c.call(this,{S:\"div\",j:\"ytp-timed-marker\"});this.W=this.timeRangeStartMillis=NaN;this.title=\"\";this.onActiveCommand=void 0};\nN5=function(){XJ.call(this,\"Biscotti ID is missing from server\")};\ng.Oj=function(W,Y){W.classList?Array.prototype.forEach.call(Y,function(k){g.Sr(W,k)}):g.h8(W,Array.prototype.filter.call(Bw(W),function(k){return!g.oq(Y,k)}).join(\" \"))};\nU4F=function(){var W=AW7(),Y=(0,g.lj)()-W.J;if(!(W.J!==0&&Y1&&W.y5(\"trBug\",{af:\"\"+g.ZK(W.audioTrack.W.info,!1),vf:\"\"+g.ZK(W.videoTrack.W.info,!1),a:\"\"+Y,v:\"\"+k}))};\nVR0=function(W,Y){var k=(Y-W.W)/(W.K-W.W);if(k<=0)return 0;if(k>=1)return 1;for(var P=0,T=1,I=0,X=0;X<8;X++){I=iu(W,k);var h=(iu(W,k+1E-6)-I)/1E-6;if(Math.abs(I-Y)<1E-6)return k;if(Math.abs(h)<1E-6)break;else I1E-6&&X<8;X++)I=0;)W[Y]=0};\na0=function(W){NP.call(this,function(){return W});\nthis.J=W};\n$WX=function(W){var Y,k;return g.v(function(P){if(P.W==1)return g.L(P,Zv(W),2);Y=P.K;k=(0,g.lj)()-2592E6;return g.L(P,g.KQ(Y,[\"LogsRequestsStore\"],{mode:\"readwrite\",sR:!0},function(T){return g.TN(T.objectStore(\"LogsRequestsStore\"),{},function(I){if(I.getValue().timestamp<=k)return I.delete().then(function(){return g.jK(I)})})}),0)})};\nIB=function(){this.K={};this.W=null};\nXT=function(W){return W?W:Array.prototype.fill};\nGRd=function(W){try{return new SK(W.O$,W.slot,W.layout,W.Yh,W.nN,W.qq,W.Pa,W.JT,W.er,W.Cg,W.Dxh,W)}catch(Y){}};\nhI=function(W){this.h5=rT(W)};\nxu=function(W,Y,k){var P=k===void 0?{}:k;k=P.videoDuration===void 0?0:P.videoDuration;var T=P.Fh===void 0?void 0:P.Fh;P=P.Au===void 0?!1:P.Au;this.videoId=W;this.status=Y;this.videoDuration=k;this.Fh=T;this.Au=P};\nej=function(W,Y,k,P){NB(W);var T=W.h5,I=T[a_]|0;if(P==null)return $a(T,I,k),W;if(!Array.isArray(P))throw ka();for(var X=P===Pl?7:P[a_]|0,h=X,B=Te(X),O=B||Object.isFrozen(P),u=!0,Z=!0,M=0;M2&&JUS(T,X,P,2);return X};\npa=function(W){W.kU5=!0;return W};\nGN=function(W){return(W=W.exec(g.Ed()))?W[1]:\"\"};\nrp=function(W,Y){var k=W.search(Ka),P=EY(W,0,Y,k);if(P<0)return null;var T=W.indexOf(\"&\",P);if(T<0||T>k)T=k;P+=Y.length+1;return JI(W.slice(P,T!==-1?T:0))};\nsY=function(W,Y){if(W.W){W.X&&(clearTimeout(W.X),W.X=null);var k=W.W;W.W=null;Y||W.dispatchEvent(\"ready\");try{k.onreadystatechange=null}catch(P){}}};\ng.ry=function(W){return{value:W,done:!1}};\nAI=function(W){var Y=W.isContentForward&&!W.Em();g.ML(W.badge.element,\"ytp-suggested-action-badge-preview-collapsed\",Y&&W.W);g.ML(W.badge.element,\"ytp-suggested-action-badge-preview-expanded\",Y&&W.K)};\nup5=function(){this.W={};var W=op();zN(this,W,document);var Y=sxv();try{if(\"1\"==Y){for(var k=W.parent;k!=W.top;k=k.parent)zN(this,k,k.document);zN(this,W.top,W.top.document)}}catch(P){}};\ndy=function(W){if(W.Y.V().Cn)return W.zd.get(\"offline\")};\nrUF=function(W,Y){W.GW.g_()||(W.y5(\"sgap\",{f:Y}),W.GW.clearQueue(!1,Y===\"pe\"))};\nDg=function(W,Y){mp.call(this);this.metrics=W;this.Af=Y};\nAU5=function(W,Y,k,P){var T=gy(null,null,null);T.W=new g.JL(function(I,X){T.J=Y?function(h){try{var B=Y.call(P,h);I(B)}catch(O){X(O)}}:I;\nT.K=k?function(h){try{var B=k.call(P,h);B===void 0&&h instanceof FT?X(h):I(B)}catch(O){X(O)}}:X});\nT.W.J=W;wy(W,T);return T.W};\nQr=function(W,Y){tr.call(this,W);this.error=Y;this.W=\"e\";this.K=\"y\"};\nyr=function(W,Y){this.Zd=W;this.Lr=Y};\neK=function(W,Y,k,P){this.dP=Y;this.visible=k;this.triggerType=\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\";this.triggerId=P||W(this.triggerType)};\noB=function(W,Y,k){this.W=W;this.reason=Y;this.token=k;this.videoId=void 0};\nCa=function(W){sE.call(this,W);var Y=this;D4(W,\"setAccountLinkState\",function(k){Y.setAccountLinkState(k)});\nD4(W,\"updateAccountLinkingConfig\",function(k){Y.updateAccountLinkingConfig(k)});\nW.addEventListener(\"videodatachange\",function(k,P){Y.onVideoDataChange(P)});\nW.addEventListener(\"settingsMenuInitialized\",function(){Y.menuItem=new vA(Y.api);g.m(Y,Y.menuItem)})};\nLa=function(W,Y,k){if(Y==null)k.push(\"null\");else{if(typeof Y==\"object\"){if(Array.isArray(Y)){var P=Y;Y=P.length;k.push(\"[\");for(var T=\"\",I=0;I=k?(globalThis.sessionStorage.removeItem(W),[\"e\"]):[\"a\",new Uint8Array(P.buffer,Y+4)]};\nNg2=function(){return typeof Worker===\"function\"&&V2F()?!0:!1};\nW$0=function(W,Y){W=g.e(g.GH(W,!0));for(var k=W.next();!k.done;k=W.next())if(k=k.value,a40(k)){var P={potc:\"1\",pot:Y};k.url&&(k.url=Rs(k.url,P))}};\nE5=function(W){W.L=!1;W.G.isActive()&&Kx(W);W.G.stop();W.Od(!1)};\nYvC=function(W,Y){if(W){var k;g.Jh.isLoading()?k=!1:k=!s5||(0,g.lj)()-s5>Y;W=k}else W=!1;return W};\n$h=function(W){this.W=W;this.K=null;this.C=this.J=0;this.N=!1;this.T=this.G=this.X=null;this.L=new g.rj(this);this.L.listen(this.W,\"readystatechange\",this.A5)};\nCe=function(W,Y){if(!W)return-1;try{for(var k=0;k=Y)return k}catch(P){}return-1};\npj=function(W,Y,k,P){if(Y===-1)return null;var T=Y+(k?0:-1),I=W.length-1;if(!(I<1+(k?0:-1))){if(T>=I){var X=W[I];if(X!=null&&typeof X===\"object\"&&X.constructor===Object){k=X[Y];var h=!0}else if(T===I)k=X;else return}else k=W[T];if(P&&k!=null){P=P(k);if(P==null)return P;if(!Object.is(P,k))return h?X[Y]=P:W[T]=P,P}return k}};\n$$5=function(W,Y){var k=Y.onError?Y.onError:function(){};\nY.onError=function(T,I){Ah().requestComplete(W,!1);k(T,I)};\nvar P=Y.onSuccess?Y.onSuccess:function(){};\nY.onSuccess=function(T,I){Ah().requestComplete(W,!0);P(T,I)}};\nzH=function(W,Y,k,P){c7.JZ(W,Y,k,P)};\ndj=function(){return FD()?!1:wY(\"Opera\")};\nDe=function(){mS.apply(this,arguments)};\ng.e=function(W){var Y=typeof Symbol!=\"undefined\"&&Symbol.iterator&&W[Symbol.iterator];if(Y)return Y.call(W);if(typeof W.length==\"number\")return{next:twS(W)};throw Error(String(W)+\" is not an iterable or ArrayLike\");};\nFe=function(){return Rx0()||$4()||gj()?!0:g.o_(\"EOM_VISITOR_DATA\")?!1:!0};\nTMd=function(W,Y,k,P){Y.CPN=ge(function(){var T;(T=W.getVideoData(1))?T=T.clientPlaybackNonce:(g.Jx(Error(\"Video data is null.\")),T=null);return T});\nY.AD_MT=ge(function(){if(P!=null)var T=P;else{var I=k;W.V().U(\"html5_ssap_use_cpn_to_get_time\")||(I=void 0);if(W.V().U(\"enable_h5_shorts_ad_fill_ad_mt_macro\")||W.V().U(\"enable_desktop_discovery_pings_ad_mt_macro\")||g.wj(W.V())){var X=W.getPresentingPlayerType(!0),h;T=((h=W.getVideoData(X))==null?0:h.isAd())?kuF(W,X,I):0}else T=kuF(W,2,I)}return PK5(T)});\nY.MT=ge(function(){return PK5(W.getCurrentTime(1,!1))});\nY.P_H=ge(function(){return W.ai().o3().height.toString()});\nY.P_W=ge(function(){return W.ai().o3().width.toString()});\nY.PV_H=ge(function(){return W.ai().getVideoContentRect().height.toString()});\nY.PV_W=ge(function(){return W.ai().getVideoContentRect().width.toString()})};\njvS=function(W){W=W.K;return W.cancelAnimationFrame||W.cancelRequestAnimationFrame||W.webkitCancelRequestAnimationFrame||W.mozCancelRequestAnimationFrame||W.oCancelRequestAnimationFrame||W.msCancelRequestAnimationFrame||null};\ny4=function(W,Y){Q4(W,Y.reason,Y.W.info,Y.token,Y.videoId)};\nos=function(W){g.eY(W.T,!W.W)};\nIud=function(W){this.W=W;W.Ho(\"/client_streamz/bg/wrl\",g.im(\"mn\"),Z5(\"ac\"),Z5(\"sc\"),g.im(\"rk\"),g.im(\"mk\"))};\ng.jh=function(W,Y){W.X=Y||0;Y=W.J.jR;W.J=null;return Y};\nSvd=function(W){g.nT(function(){vJ(W)&&aj(\"aa\",void 0,W);XaV(W);Cx(W)})()};\nAQ=function(W){return W.nodeType==9?W:W.ownerDocument||W.document};\nOM0=function(){dU(hP0);var W=dU(mj);W.W!=null&&W.W.W?BMd(W.W.W):aX().update(Cc)};\nZM0=function(W,Y,k,P,T,I,X,h,B,O,u,Z){if((Z==null?void 0:Z.vD)===void 0||(Z==null?void 0:Z.K5)===void 0)return new l(\"Cached ad break range from cue point is missing\");var M=bk(k,T,P.eS);if(M instanceof l)return M;M={layoutExitMuteTriggers:[],layoutExitNormalTriggers:M.layoutExitNormalTriggers,layoutExitSkipTriggers:[],II:[],layoutExitUserInputSubmittedTriggers:[]};if(g.R(k.renderingContent,c4))return W=wQv(W,Y,k,M,T,I,h,B,P.eS,X,Z.vD,Z.K5),W instanceof l?W:W.ZS===void 0?new l(\"Expecting associatedInPlayerSlot for single DAI media layout\"):\n{layout:W.layout,I6:[W.ZS]};var t=g.R(k.renderingContent,xi);if(t){if(!fj(k.adLayoutMetadata))return new l(\"Invalid ad layout metadata\");if(!V$(t))return new l(\"Invalid sequential layout\");t=t.sequentialLayouts.map(function(q){return q.playerBytesAdLayoutRenderer});\nW=udd(W,Y,k,M,t,T,P,I,X,B,h,O,Z.vD,Z.K5,u);return W instanceof l?W:{layout:W.PL,I6:W.I6}}return new l(\"Not able to convert a sequential layout\")};\nrZ=function(){Lx.instance||(Lx.instance=new Lx);return Lx.instance};\niMF=function(W,Y,k){W instanceof String&&(W=String(W));for(var P=W.length,T=0;T=k&&Y<=P};\nOZ=function(W,Y,k){k=k===void 0?{}:k;this.id=W;this.mimeType=Y;k.c6>0||(k.c6=16E3);Object.assign(this,k);W=g.e(this.id.split(\";\"));this.itag=W.next().value;this.W=W.next().value;this.containerType=hu(Y);this.lz=BM[this.itag]||\"\"};\nud=function(W,Y){return Y===void 0||Y===null?W:Y===\"1\"||Y===!0||Y===1||Y===\"True\"?!0:!1};\nsv5=function(W){var Y={},k=Object.keys(W.experiments.flags);k=g.e(k);for(var P=k.next();!P.done;P=k.next())if(P=P.value,P.startsWith(\"cobalt_h5vcc\"))if(P.startsWith(\"cobalt_h5vcc_string\")){var T=JRX(P,\"cobalt_h5vcc_string\");P=bG(W.experiments,P);T&&P&&(Y[T]=ZM(T,P))}else P.startsWith(\"cobalt_h5vcc\")&&(T=JRX(P,\"cobalt_h5vcc\"),P=g.je(W.experiments,P),T&&P&&(Y[T]=ZM(T,P)));return Y};\nrRq=function(W){return g.M8?\"webkit\"+W:W.toLowerCase()};\nid=function(W,Y){Y=Y===void 0?NaN:Y;if(isNaN(Y))var k=W.size;else for(k=W.W;k0){var M=Ce(Z,B);M>=0&&(u=(Z.end(M)-B+.1)*1E3)}I.push({formatId:g.ZK(h.info.W.info,W.H6.t9),\nlY:h.info.lY,sequenceNumber:h.info.t5+W.T,TO:O,xr:h.info.J,xK:u})}W={va:Y,dw:I}}return(P=W)!=null?P:k};\nU$z=function(W){this.W=W;W.oM(\"/client_streamz/bg/po/csc\",Z5(\"cs\"),g.im(\"mk\"))};\nRF=function(W){return Math.round(W.width)+\"x\"+Math.round(W.height)};\ndH=function(W,Y){return lx(W,Y,function(k){return k.J})};\ng.WL=function(W,Y,k){Y&&Y.cpn&&g.Jx(new g.M6(\"CPN provided in VideoData update\",{ygP:Y.cpn,vU:W.clientPlaybackNonce,Ftr:k}));k?(tE(Y),W.setData(Y),Ys(W)&&W.M4()):(Y=Y||{},luX(W,Y),Zk(W,Y),bMv(W,Y),W.publish(\"dataupdated\"))};\nVW=function(W){var Y;(Y=W.G)==null||Y.dispose();W.G=null};\ncR1=function(W){this.W=W};\nmq=function(W,Y,k,P,T){ls.call(this,W,{S:\"div\",j:\"ytp-ad-timed-pie-countdown-container\",B:[{S:\"svg\",j:\"ytp-ad-timed-pie-countdown\",D:{viewBox:\"0 0 20 20\"},B:[{S:\"circle\",j:\"ytp-ad-timed-pie-countdown-background\",D:{r:\"10\",cx:\"10\",cy:\"10\"}},{S:\"circle\",j:\"ytp-ad-timed-pie-countdown-inner\",D:{r:\"5\",cx:\"10\",cy:\"10\"}},{S:\"circle\",j:\"ytp-ad-timed-pie-countdown-outer\",D:{r:\"10\",cx:\"10\",cy:\"10\"}}]}]},\"timed-pie-countdown\",Y,k,P,T);this.T=this.J5(\"ytp-ad-timed-pie-countdown-container\");this.J=this.J5(\"ytp-ad-timed-pie-countdown-inner\");\nthis.C=this.J5(\"ytp-ad-timed-pie-countdown-outer\");this.K=Math.ceil(2*Math.PI*5);this.hide()};\nfu5=function(W,Y){var k=Y.bgp&&Y.bgub,P=!!Y.upb;Y.siub&&Y.scs&&(k||P)&&(P&&v7(W.P6.get(),\"html5_export_sodar_snapshot\")?DM().then(function(T){T=T.snapshot.bind(T);g.qa(\"yt.abuse.playerAttLoaderRun\",T);x$d(Y.siub,Y.scs,Y.bgub,Y.bgp,Y.upb)}):x$d(Y.siub,Y.scs,Y.bgub,Y.bgp,Y.upb))};\nVdC=function(W,Y){gH(W,1,Y.name);gH(W,2,Y.value)};\nh75=function(){for(var W;W=NMz.remove();){try{W.W.call(W.scope)}catch(Y){FE(Y)}k3v(auz,W)}wH=!1};\nYU0=function(W,Y,k,P){if(Math.random()<(P||W.W))try{if(k instanceof Q1)var T=k;else T=new Q1,y1(k,function(X,h){var B=T,O=B.T++;X=ey(h,X);B.W.push(O);B.K[O]=X});\nvar I=T.OV(W.K,\"pagead2.googlesyndication.com\",\"/pagead/gen_204?id=\"+Y+\"&\");I&&(vZ(),WY7(I))}catch(X){}};\nvM=function(W){return globalThis.TextEncoder?(new TextEncoder).encode(W):g.oa(W)};\n$av=function(W,Y){Y=Y||{};Y.Rf=!0;Y=new CU(Y);Y.push(W,!0);if(Y.err)throw Y.msg||jY[Y.err];return Y.result};\nb9=function(W){return W.policy.Qa&&!!W.G};\nUZ=function(W,Y,k,P,T){W=g.M2V(W,Y,k,T);W=new g.LU(W);P&&W.QN();return W};\nkov=function(W){this.W=W;W.oM(\"/client_streamz/bg/po/ctav\",g.im(\"av\"),g.im(\"mk\"))};\nerX=function(W,Y,k){function P(){var I=T.endTimeMs-Date.now();I<=k?T.Ap(0):setTimeout(P,Math.min(I,Y))}\nvar T=this;this.endTimeMs=Date.now()+W;this.promise=new Promise(function(I){T.Ap=I});\nP()};\nld=function(W){return W.Y.V().experiments.Nq(\"html5_load_ads_instead_of_cue\")};\nP9z=function(W,Y,k){W.api.isFullscreen()?k<1-Y&&W.api.toggleFullscreen():k>1+Y&&W.api.toggleFullscreen()};\ng.bd=function(W){g.D.call(this);this.zJ=W;this.videoData=this.playerState=null};\ncM=function(W,Y,k,P){return Fb(fZ().W.W,function(){var T=g.xh.apply(0,arguments);return TO2(W,function(){return Y.apply(k,T)},P)})};\nIx5=function(W,Y){if(Y)return Y=W.videoData,Y=j2d(W,isNaN(Y.liveChunkReadahead)?3:Y.liveChunkReadahead,Y),xZ(W,Y);if(W.K.length){if(Math.min.apply(null,W.K)>1)return xZ(W,W.W-1);if(W.policy.X)return xZ(W,W.W+1)}return W.W};\nXH2=function(W,Y){W.K=Y};\nSUd=function(W,Y,k,P){k=new g.Ia({S:\"div\",Ya:[\"ytp-menuitem\"],D:{tabindex:\"0\",role:\"menuitemradio\",\"aria-checked\":P?\"true\":\"false\"},B:[{S:\"div\",Ya:[\"ytp-menuitem-label\"],B:[{S:\"div\",Ya:[\"ytp-menuitem-container-with-badge\"],B:[{S:\"div\",v6:\"{{label}}\"},W.X]}]}]},k,W.wM(Y));k.listen(\"click\",function(){W.Gx(Y)});\nW.Y.logVisibility(W.X.element,!0);return k};\nfU=function(W,Y){W.cC&&!W.O6.s6()?W.cC(Y):W.handleError(Y)};\ne5=function(W,Y,k,P,T,I){I=I===void 0?!1:I;CC.call(this,W,{S:\"img\",j:\"ytp-ad-image\"},\"ad-image\",Y,k,P,T===void 0?null:T);this.W=I;this.hide()};\ng.Yr=function(W){var Y=g.o3(\"yt.logging.errors.log\");Y?Y(W,\"ERROR\",void 0,void 0,void 0,void 0,void 0):(Y=g.o_(\"ERRORS\",[]),Y.push([W,\"ERROR\",void 0,void 0,void 0,void 0,void 0]),V1(\"ERRORS\",Y));hTV(W)};\nO_v=function(W,Y,k){var P;return(P=W.W)==null?void 0:NO(P,function(){return aa(W,Y)},k,function(T){var I;\nif(W.W instanceof WP&&((I=Y.NV)==null?0:I.rL))try{var X;(X=W.cache)==null||BOv(X,aa(W,Y),T,Y.NV.dC,W.X-120)}catch(h){W.reportError(new Uo(24,\"ELX:write\",h))}})};\nmu=function(W){return W?new Ym(AQ(W)):u0C||(u0C=new Ym)};\nkm=function(W){W.l5();W.qx.isSeeking()&&W.logger.debug(\"seeking cancelled by seek-to-head\");W.G&&Z_d(W.G,W.videoTrack.W);$m(W);return i_1(W.qx)};\nIb=function(W,Y,k,P,T){var I=W.h5,X=I[a_]|0;P=yb(W,X)?1:P;T=!!T||P===3;P===2&&Qb(W)&&(I=W.h5,X=I[a_]|0);W=PP(I,Y);var h=W===Pl?7:W[a_]|0,B=T4(h,X);var O=4&B?!1:!0;if(O){4&B&&(W=j9(W),h=0,B=I3(B,X),X=$a(I,X,Y,W));for(var u=0,Z=0;u0)?Y/W:NaN};\nmr=function(){var W=g.o3(\"yt.networklessRequestController.instance\");W||(W=new mg,g.qa(\"yt.networklessRequestController.instance\",W),g.dS(\"networkless_logging\")&&g.BP().then(function(Y){W.c5=Y;qUF(W);W.J.resolve();W.Nb&&Math.random()<=W.OJ&&W.c5&&RT7(W.c5);g.dS(\"networkless_immediately_drop_sw_health_store\")&&H_z(W)}));\nreturn W};\nOI=function(W,Y){Y=W.indexOf(Y);Y>-1&&W.splice(Y,1)};\nuo=function(W,Y,k,P){Y=Y===void 0?0:Y;k=k===void 0?W.length:k;var T=0;for(P&&(T=uo(P));Y0?W:1};\nGoS=function(W,Y){W.settingsButton=Y;W.element.id=Y.element.getAttribute(\"aria-controls\")};\nMy=function(W){this.src=W;this.listeners={};this.W=0};\nJPS=function(W,Y){g.ML(W.element,\"ytp-preview\",Y>=0);if(!(Y<0||Y===W.T)){W.T=Y;Y=243*W.scale;var k=141*W.scale,P=KYF(W.K,W.T,Y);EAd(W.bg,P,Y,k,!0);W.Kg.start()}};\ns22=function(){var W=[\"metadata_type_action_companion_ad_renderer\"];Nd().forEach(function(Y){W.push(Y)});\nreturn{ya:W,EV:[\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\"]}};\ntd=function(W,Y,k,P){for(var T=0;T0?k||Y.t5>=W.TJ:k};\nHP=function(W){if(!W.Xr()&&W.J){W.X=\"paused\";var Y=Q0(W);Y.isFinal=!0;Y.send();W.dispose()}};\nrP7=function(W,Y,k){var P=new Promise(function(T,I){try{var X=Y(W);k&&W.commit();X.then(function(h){T(h)}).catch(I)}catch(h){I(h),W.abort()}});\nreturn Promise.all([P,W.done]).then(function(T){return g.e(T).next().value})};\nmA=function(W){EQ.call(this);this.W=W;this.Z(this.W,\"onAdUxUpdate\",this.C)};\ndaC=function(W){return function(){var Y=new AP5;zT0(this.h5,Y,MF(tL,qF,Rg,W));ni(Y,Y.W.end());for(var k=new Uint8Array(Y.K),P=Y.J,T=P.length,I=0,X=0;XB&&(I=B-200,W.L=!0);X&&h.getCurrentTime()>=I/1E3?W.G():(W.K=h,X&&(X=I,I=W.K,W.app.Ii.addEventListener(g.OQ(\"vqueued\"),W.G),X=isFinite(X)||X/1E3>I.getDuration()?X:0x8000000000000,W.X=new g.Mm(X,0x8000000000000,{namespace:\"vqueued\"}),I.addCueRange(W.X)));X=P/=1E3;I=Y.getVideoData().W;P&&I&&W.K&&(h=P,B=0,\nY.getVideoData().isLivePlayback&&(X=Math.min(k/1E3,W.K.qA(!0)),B=Math.max(0,X-W.K.getCurrentTime()),h=Math.min(P,Y.qA()+B)),X=Dav(I,h)||P,X!==P&&W.W.y5(\"qvaln\",{st:P,at:X,rm:B,ct:h}));Y=X;P=W.W;P.getVideoData().Cn=!0;P.getVideoData().G=!0;P.s$(!0);I={};W.K&&(I=W.K.XZ(),X=W.K.getVideoData().clientPlaybackNonce,I={crt:(I*1E3).toFixed(),cpn:X});P.y5(\"queued\",I);Y!==0&&P.seekTo(Y+.01,{jx:!0,oO:3,Fi:\"videoqueuer_queued\"});W.J=new Jd(W.C,W.app.D2(),W.W,k,W.app,T);k=W.J;k.status.status!==Infinity&&(x$(k,\n1),k.W.subscribe(\"internalvideodatachange\",k.gi,k),k.K.subscribe(\"internalvideodatachange\",k.gi,k),k.GW.V().U(\"html5_gapless_use_format_info_fix\")&&(k.W.subscribe(\"internalvideoformatchange\",k.gi,k),k.K.subscribe(\"internalvideoformatchange\",k.gi,k)),k.W.subscribe(\"mediasourceattached\",k.gi,k),k.K.subscribe(\"statechange\",k.Pg,k),k.W.subscribe(\"newelementrequired\",k.ZK,k),k.gi());return W.T};\nFYd=function(W){var Y=W.W;W.type===3&&W.wD.stop();W.api.removeEventListener(\"appresize\",W.A5);W.G||(W.env.U(\"player_tooltip_data_title_killswitch\")?Y.setAttribute(\"title\",W.J):Y.setAttribute(\"data-tooltip-title\",W.J));W.J=\"\";W.W=null;W.update({keyBoardShortcut:\"\",keyBoardShortcutTitle:\"\"});W.wrapper.style.width=\"\"};\nQ2q=function(W){W.G=Error(\"Cancelled by dispose\");W.C.resolve();wHd(W.X.promise);W.X.reject(Error(\"Cancelled by dispose\"));W.logger.dispose();Promise.all(W.T).then(function(){var k;return g.v(function(P){(k=W.K)==null||k.dispose();W.K=void 0;g.I_(P)})});\nW.T=[];var Y;(Y=W.W)!=null&&(Y.endTimeMs=0,Y.Ap(1));wHd(W.J.promise);W.J.reject(Error(\"Cancelled by dispose\"))};\nyP0=function(W){this.experiments=W;this.W=2048;this.T=0;this.A5=(this.G=this.U(\"html5_streaming_resilience\"))?.5:.25;var Y=Y===void 0?0:Y;this.J=g.je(this.experiments,\"html5_media_time_weight_prop\")||Y;this.N=(this.C=this.experiments.Nq(\"html5_consider_end_stall\"))&&KB;this.K=this.experiments.Nq(\"html5_measure_max_progress_handling\");this.L=this.U(\"html5_treat_requests_pre_elbow_as_metadata\");this.X=this.U(\"html5_media_time_weight\")||!!this.J;this.U(\"html5_sabr_live_audio_early_return_fix\")&&KB&&\n(this.W=65536)};\ng.fI=function(W,Y){return W!==null&&Y in W};\nEWd=function(W){return W?decodeURI(W):W};\nsI=function(W,Y){this.K=W;this.subtleCrypto=Y};\nrq=function(){};\nJZv=function(W,Y){switch(Y){case \"ad\":return Ad(W);case \"annotations_module\":return W.Y.isEmbedsShortsMode()?W=!1:(Y=W.Y,W=Y.V(),Y=Y.getVideoData(),W=W.J||Y.Lx||W.controlsType===\"3\"?!1:W.UP.isEmpty()&&W.playerStyle!==\"annotation-editor\"&&W.playerStyle!==\"live-dashboard\"?!!Y.Fr||!!g.z4(Y)||!!g.dq(Y):!0),W;case \"asmjs\":return ms(W);case \"creatorendscreen\":return eT7(W);case \"embed\":return g.hN(W.Y.V());case \"endscreen\":return g.aq5(W);case \"heartbeat\":return W.Bc();case \"kids\":return dp(W.Y.V());case \"remote\":return W.Y.V().NA;\ncase \"miniplayer\":return W.Y.V().showMiniplayerUiWhenMinimized;case \"offline\":return W.Y.V().Cn;case \"captions\":return Eid(W);case \"unplugged\":return g.gp(W.Y.V());case \"ux\":return W.Y.V().rD;case \"webgl\":return oAC(W);case \"ypc\":return W.U9();case \"ypc_clickwrap\":return vA0(W.Y.getVideoData());case \"yto\":return W.Y.U(\"web_player_playable_sequences_refactor\")?!1:!!W.Y.getVideoData().N.includes(\"yto\");default:return g.LH(Error(\"Module descriptor \"+Y+\" does not match\")),!1}};\ngq=function(W){this.W=new DO(W)};\nC9F=function(W,Y){var k=g.Jj(W.provider);if(!W.provider.zJ.experiments.Nq(\"html5_refactor_sabr_video_format_selection_logging\")||Y.W.id!==W.GJ){var P=[Y.W.id,Y.K,W.GJ,Y.reason];Y.token&&P.push(Y.token);g.xd(W,k,\"vfs\",P);W.GJ=Y.W.id;P=W.provider.W6.getPlayerSize();if(P.width>0&&P.height>0){P=[Math.round(P.width),Math.round(P.height)];var T=g.FR();T>1&&P.push(T);g.xd(W,k,\"view\",P)}W.e1||(W.provider.zJ.OR()&&wq(W,\"rqs2\"),W.provider.videoData.W&&QK(W.provider.videoData.W)&&W.W.set(\"preload\",[\"1\"]));W.e1=\n!0;W.T=!0}Y.reason===\"m\"&&++W.Qa===100&&b3(W,2);g.xd(W,k,\"vps\",[W.b7]);W.wD||W.reportStats(k)};\nyK=function(W){this.h5=rT(W)};\nob=function(W,Y,k){k=k===void 0?!1:k;Y&&ea&&LY5(W.T,Y.d9());if(!k){var P;(P=W.L)==null||Ua7(P)}W.qT=Y;(Y=W.L)!=null&&(Y.qT=W.qT)};\ncP1=function(W){g.vP.prototype.load.call(W);var Y=EZ(W.W).tj;try{W.player.getRootNode().classList.add(\"ad-created\")}catch(B){EF(B instanceof Error?B:String(B))}var k=W.player.getVideoData(1),P=k&&k.videoId||\"\",T=k&&k.getPlayerResponse()||{},I=(T&&T.adPlacements||[]).map(function(B){return B.adPlacementRenderer}),X=((T==null?void 0:T.adSlots)||[]).map(function(B){return g.R(B,Ci)});\nT=T.playerConfig&&T.playerConfig.daiConfig&&T.playerConfig.daiConfig.enableDai||!1;k&&k.t9();I=lx0(I,X,Y,EZ(W.W).x5);X=k&&k.clientPlaybackNonce||\"\";k=k&&k.Rr||!1;if(as(Y,!0)&&k){var h;Y={};(h=W.player.getVideoData())==null||h.y5(\"p_cpb\",(Y.cc=X,Y))}h=1E3*W.player.getDuration(1);b_d(W);W.W.W.mV.fh(X,h,k,I.dW,I.JB,I.dW,T,P)};\ng.UI=function(W){var Y,k=Y=0,P=!1;W=W.split(xaq);for(var T=0;T.4?-1:1;return(Y==0?null:Y)==-1?\"rtl\":\"ltr\"};\nWHV=function(W){if(!fj(W.adLayoutMetadata))return!1;W=W.renderingContent;return g.R(W,lo)||g.R(W,bo)||g.R(W,ax0)||g.R(W,cP)||g.R(W,xm)?!0:!1};\nfi=function(W,Y){g.N6(W.Y.getRootNode(),Y)};\nYrv=function(W,Y){if(W.W){var k=W.W.w5.sV-(Y.startTime+W.L-W.W.w5.startSecs);k<=0||(k=new VK(W.W.w5.startSecs-(isNaN(W.L)?0:W.L),k,W.W.w5.context,W.W.w5.identifier,\"stop\",W.W.w5.W+Y.duration*1E3),W.y5(\"cuepointdiscontinuity\",{segNum:Y.t5}),Ny(W,k,Y.t5))}};\nuld=function(W){this.next=function(Y){XH(W.W);W.W.T?Y=ab(W,W.W.T.next,Y,W.W.L):(W.W.L(Y),Y=zK(W));return Y};\nthis.throw=function(Y){XH(W.W);W.W.T?Y=ab(W,W.W.T[\"throw\"],Y,W.W.L):(AN(W.W,Y),Y=zK(W));return Y};\nthis.return=function(Y){return $90(W,Y)};\nthis[Symbol.iterator]=function(){return this}};\nUU=function(W,Y){if(W.policy.A5&&W.UP&&!W.y0)return W.policy.Nm;if(W.UP&&!W.y0)return 3;if(W.isSuspended)return 1;var k;if((k=W.j1)==null?0:k.j1&&k.j1.streaming===!1)return 4;k=(Y.W.info.audio?W.policy.Lg:W.policy.Fr)/(Y.c6*W.policy.PV);if(W.policy.TT>0&&W.j1&&WE(W.j1)&&(Y=Y.W.info.video?W.j1.K:W.j1.W)&&!Y.j6()){Y=Y.Mt();var P=Ce(Y,W.getCurrentTime());P>=0&&(Y=W.getCurrentTime()-Y.start(P),k+=Math.max(0,Math.min(Y-W.policy.TT,W.policy.tv)))}W.policy.wD>0&&(k=Math.min(k,W.policy.wD));return k};\nPE=function(W,Y,k){W=W===void 0?{}:W;Y=Y===void 0?!1:Y;new g.JL(function(P,T){var I=Yf(Y,k),X=I.J;I.J=!1;$f(I.K);$f(I.W);I.W=0;kf&&kf.isReady()?k===void 0&&g.dS(\"enable_web_tiered_gel\")?kx7(P,T,W,Y,300,X):kx7(P,T,W,Y,k,X):(PsS(Y,k),P())})};\nT92=function(W,Y){W=g.Sd(W,{startTimeMs:Y},function(k,P){return k.startTimeMs-P.startTimeMs});\nreturn W>=0?W:-W-2};\ng.I3v=function(W,Y,k){var P=Y.query;Y=Y.direction;W=\"openKeyCursor\"in IDBObjectStore.prototype?W.W.openKeyCursor(P,Y):W.W.openCursor(P,Y);return jYX(W).then(function(T){return Tw(T,k)})};\ng.Xn=function(W){try{var Y=jC(),k=(0,g.Il)();Y&&Y.remove(W);k&&k.remove(W)}catch(P){}};\nGZ=function(){return typeof BigInt===\"function\"};\nSrV=function(W){return W?(W=W.privateDoNotAccessOrElseSafeScriptWrappedValue)?Xe0(W):null:null};\nSC=function(W){return W.substr(0,W.indexOf(\":\"))||W};\nB91=function(W,Y,k){k=k===void 0?{}:k;W=ivX(dU(fN),Y,k,W);return hZv(W)};\ng.hw=function(W,Y,k){Ood(W,Y,k===void 0?null:k)};\nuu1=function(W){this.h5=rT(W)};\nZo7=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 14 14\",width:\"100%\"},B:[{S:\"path\",yU:!0,D:{d:\"M5,0 L9,0 L9,14 L5,14 L5,0 Z\",fill:\"#eaeaea\"}}]}};\nBE=function(W){ioS.test(W)&&(W.indexOf(\"&\")!=-1&&(W=W.replace(MQ2,\"&\")),W.indexOf(\"<\")!=-1&&(W=W.replace(tQq,\"<\")),W.indexOf(\">\")!=-1&&(W=W.replace(qr2,\">\")),W.indexOf('\"')!=-1&&(W=W.replace(RZ7,\""\")),W.indexOf(\"'\")!=-1&&(W=W.replace(HoV,\"'\")),W.indexOf(\"\\x00\")!=-1&&(W=W.replace(nN5,\"�\")));return W};\nOk=function(W,Y){if(W){W=W.split(\"&\");for(var k=0;k=0){var I=W[k].substring(0,P);T=W[k].substring(P+1)}else I=W[k];Y(I,T?JI(T):\"\")}}};\nZ7=function(W,Y){WO.call(this,W,Y,\"timedMarkerCueRange\",\"View key moments\");this.Z(W,g.ut(\"timedMarkerCueRange\"),this.Xi);this.Z(W,\"updatemarkervisibility\",this.updateVideoData)};\ng.BP=function(){var W=$s();return W?Promise.resolve(W):pez().then(function(Y){(Y=Y?Mk:void 0)&&g.qa(\"ytglobal.idbToken_\",Y);return Y})};\n$$=function(W,Y,k){if(Array.isArray(Y))for(var P=0;P=Y&&P.video.qualityOrdinal<=k})};\nr45=function(W,Y){var k=new hgV;g.pS(W.W,\"complete\",function(){if(Gw(W.W)){var P=g.KS(W.W);if(Y&&W.W.getResponseHeader(\"Content-Type\")===\"text/plain\"){if(!atob)throw Error(\"Cannot decode Base64 response\");P=atob(P)}try{var T=W.L(P)}catch(h){b$(W,Ek(new si(13,\"Error when deserializing response data; error: \"+h+(\", response: \"+P)),k));return}P=Xu0(W.W.getStatus());Jw(W,sk(W));P==0?J4v(W,T):b$(W,Ek(new si(P,\"Xhr succeeded but the status code is not 200\"),k))}else{P=g.KS(W.W);T=sk(W);if(P){var I=sYz(W,\nP);P=I.code;var X=I.details;I=I.metadata}else P=2,X=\"Rpc failed due to xhr error. uri: \"+String(W.W.L)+\", error code: \"+W.W.K+\", error: \"+W.W.getLastError(),I=T;Jw(W,T);b$(W,Ek(new si(P,X,I),k))}})};\nrG=function(W,Y){return R8(W,void 0,Y)};\nAw=function(W,Y){return function(k){return Y(k)?k[W]:void 0}};\nV4=function(W){this.b5=W;this.W={};this.url=\"\"};\nhh=function(){g.D.call(this);this.K=null;this.startTime=this.duration=0;this.delay=new g.uC(this.W,null,this);g.m(this,this.delay)};\nzw=function(W){W=W||window.event;var Y;W.composedPath&&typeof W.composedPath===\"function\"?Y=W.composedPath():Y=W.path;Y&&Y.length?W=Y[0]:(W=W||window.event,W=W.target||W.srcElement,W.nodeType==3&&(W=W.parentNode));return W};\nmR=function(W){var Y=g.o_(\"INNERTUBE_HOST_OVERRIDE\");Y&&(W=String(Y)+String(dG(W)));return W};\nTO2=function(W,Y,k){var P=c7;return Fb(fZ().W.W,function(){try{if(P.kq&&P.kq.W){var T=P.kq.start(W.toString(),3);var I=Y();P.kq.end(T)}else I=Y()}catch(h){var X=P.b9;try{YJ1(T),X=P.K(W,new D7(gG(h)),void 0,k)}catch(B){P.JZ(217,B)}if(!X)throw h;}return I})()};\nFn=function(W,Y,k,P){P=P===void 0?!1:P;XJ.call(this,W);this.Y4=k;this.j2=P;this.args=[];Y&&this.args.push(Y)};\nvD=function(W,Y,k){Y=Y===void 0?!1:Y;k=k===void 0?!1:k;if(!W)return null;switch(W.iconType){case \"OPEN_IN_NEW\":case \"EXTERNAL_LINK\":return k?{S:\"svg\",D:{fill:\"#fff\",height:\"100%\",version:\"1.1\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M21 21H3V3h9v1H4v16h16v-8h1v9zM15 3v1h4.32l-8.03 8.03.71.71 8-8V9h1V3h-6z\"}}]}:Sj();case \"CHECK_BOX\":return{S:\"svg\",D:{height:\"100%\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M0 0h24v24H0z\",fill:\"none\"}},{S:\"path\",D:{d:\"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\",\nfill:\"#d4d4d4\"}}]};case \"CHECK_BOX_OUTLINE_BLANK\":return{S:\"svg\",D:{height:\"100%\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\",fill:\"#d4d4d4\"}},{S:\"path\",D:{d:\"M0 0h24v24H0z\",fill:\"none\"}}]};case \"CLOSE\":return g.xe();case \"INFO_OUTLINE\":return Y?{S:\"svg\",D:{fill:\"#fff\",height:\"12px\",style:\"padding-top: 8px\",viewBox:\"0 -960 960 960\",width:\"12px\"},B:[{S:\"path\",D:{d:\"M430.09-270.8h101.34V-528H430.09v257.2Zm49.52-338.03q20.94 0 35.34-14.01 14.4-14.01 14.4-34.95 0-20.94-14.01-35.34-14.01-14.39-34.95-14.39-20.94 0-35.34 14.01-14.4 14.01-14.4 34.95 0 20.94 14.01 35.34 14.01 14.39 34.95 14.39Zm.67 548.18q-86.64 0-163.19-32.66-76.56-32.66-133.84-89.94t-89.94-133.8q-32.66-76.51-32.66-163.41 0-87.15 32.72-163.31t90.14-133.61q57.42-57.44 133.79-89.7 76.38-32.27 163.16-32.27 87.14 0 163.31 32.26 76.16 32.26 133.61 89.71 57.45 57.45 89.71 133.86 32.26 76.42 32.26 163.33 0 86.91-32.27 163.08-32.26 76.18-89.7 133.6-57.45 57.42-133.83 90.14-76.39 32.72-163.27 32.72Zm-.33-105.18q131.13 0 222.68-91.49 91.54-91.49 91.54-222.63 0-131.13-91.49-222.68-91.49-91.54-222.63-91.54-131.13 0-222.68 91.49-91.54 91.49-91.54 222.63 0 131.13 91.49 222.68 91.49 91.54 222.63 91.54ZM480-480Z\"}}]}:\nA4F();case \"REMOVE_CIRCLE\":return{S:\"svg\",D:{fill:\"#fff\",height:\"100%\",version:\"1.1\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M0 0h24v24H0z\",fill:\"none\"}},{S:\"path\",D:{d:\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z\",fill:\"#757575\"}}]};case \"SKIP_NEXT\":return MH();case \"SKIP_NEXT_NEW\":return{S:\"svg\",D:{height:\"100%\",viewBox:\"-6 -6 36 36\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M5,18l10-6L5,6V18L5,18z M19,6h-2v12h2V6z\",fill:\"#fff\"}}]};case \"LIKE\":return zZ0();\ncase \"DISLIKE\":return d9C();default:return g.Jx(new g.M6(\"Unexpected icon:\",W)),null}};\nD92=function(){return g.v(function(W){return g.L(W,m9F(\"ytGcfConfig\"),0)})};\nEAd=function(W,Y,k,P,T){var I=Y.uK/Y.rows,X=Math.min(k/(Y.Nk/Y.columns),P/I),h=Y.Nk*X,B=Y.uK*X;h=Math.floor(h/Y.columns)*Y.columns;B=Math.floor(B/Y.rows)*Y.rows;var O=h/Y.columns,u=B/Y.rows,Z=-Y.column*O,M=-Y.row*u;T&&I<=45&&(u-=1/X);O-=2/X;W=W.style;W.width=O+\"px\";W.height=u+\"px\";T||(P=(P-u)/2,k=(k-O)/2,W.marginTop=Math.floor(P)+\"px\",W.marginBottom=Math.ceil(P)+\"px\",W.marginLeft=Math.floor(k)+\"px\",W.marginRight=Math.ceil(k)+\"px\");W.background=\"url(\"+Y.url+\") \"+Z+\"px \"+M+\"px/\"+h+\"px \"+B+\"px\"};\nyWS=function(W){g.qa(\"yt.ads.biscotti.lastId_\",W)};\ng.wG=function(W){this.W=W};\nDB6=function(W){if(!W)return\"\";if(/^about:(?:blank|srcdoc)$/.test(W))return window.origin||\"\";W.indexOf(\"blob:\")===0&&(W=W.substring(5));W=W.split(\"#\")[0].split(\"?\")[0];W=W.toLowerCase();W.indexOf(\"//\")==0&&(W=window.location.protocol+W);/^[\\w\\-]*:\\/\\//.test(W)||(W=window.location.href);var Y=W.substring(W.indexOf(\"://\")+3),k=Y.indexOf(\"/\");k!=-1&&(Y=Y.substring(0,k));k=W.substring(0,W.indexOf(\"://\"));if(!k)throw Error(\"URI is missing protocol: \"+W);if(k!==\"http\"&&k!==\"https\"&&k!==\"chrome-extension\"&&\nk!==\"moz-extension\"&&k!==\"file\"&&k!==\"android-app\"&&k!==\"chrome-search\"&&k!==\"chrome-untrusted\"&&k!==\"chrome\"&&k!==\"app\"&&k!==\"devtools\")throw Error(\"Invalid URI scheme in origin: \"+k);W=\"\";var P=Y.indexOf(\":\");if(P!=-1){var T=Y.substring(P+1);Y=Y.substring(0,P);if(k===\"http\"&&T!==\"80\"||k===\"https\"&&T!==\"443\")W=\":\"+T}return k+\"://\"+Y+W};\nQF=function(){this.wR=typeof AbortController!==\"undefined\"};\nyF=function(W){this.K={};this.logger=new g.M_(W)};\ngNv=function(W){var Y=W.provider.W6.rH(),k=g.Jj(W.provider);eC(W,k,Y);var P=Y.J;Y=Y.T;isNaN(P)||(W.provider.zJ.U(\"html5_unified_live_latency_reporting\")&&!isNaN(Y)&&Y?g.xd(W,k,\"e2el\",[P.toFixed(3),Y.toFixed(3)]):g.xd(W,k,\"e2el\",[P.toFixed(3)]))};\nol=function(W,Y){var k=g.N8(Y),P=g.Vq(\"Seek to $PROGRESS\",{PROGRESS:g.N8(Y,!0)});W.update({ariamin:0,ariamax:Math.floor(W.api.getDuration()),arianow:Math.floor(Y),arianowtext:P,seekTime:k})};\nvE=function(W,Y){WO.call(this,W,Y,\"chapterCueRange\",\"View chapter\");this.G=\"\"};\nFH2=function(W){this.y5=W;this.W={}};\nwez=function(W,Y){return W.l7.JS&&Y.reason===\"b\"||W.l7.nR&&Y.reason===\"l\"||W.l7.rr?!1:W.l7.Sw?!0:Y.reason===\"l\"||Y.reason===\"b\"||Y.reason===\"o\"};\nQYS=function(W,Y,k){g.Vf(function(){W.apply(Y,k)})};\nCS=function(W){this.K=W===void 0?15:W;this.values=new Float64Array(176);this.W=new Float64Array(11);this.J=new Float64Array(16)};\ny45=function(W){var Y=new rq;LS(W,function(k,P,T){Y[P]=j9(T)});\nY.JG=W.JG;return Y};\neZC=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"initialvideodatacreated\",function(k){Uk(rZ(),16623);Y.W=g.Zu();var P=W.V().nu&&!k.Dm;if(lt(k)&&P){Uk(rZ(),27240,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\"});if(k.getWatchNextResponse()){var T,I=(T=k.getWatchNextResponse())==null?void 0:T.trackingParams;I&&CX(I)}if(k.getPlayerResponse()){var X;(k=(X=k.getPlayerResponse())==null?void 0:X.trackingParams)&&CX(k)}}else Uk(rZ(),\n32594,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\"}),k.getEmbeddedPlayerResponse()&&(X=(I=k.getEmbeddedPlayerResponse())==null?void 0:I.trackingParams)&&CX(X)});\nthis.events.Z(W,\"loadvideo\",function(){Uk(rZ(),27240,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\",parentCsn:Y.W})});\nthis.events.Z(W,\"cuevideo\",function(){Uk(rZ(),32594,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\",parentCsn:Y.W})});\nthis.events.Z(W,\"largeplaybuttonclicked\",function(k){Uk(rZ(),27240,k.visualElement)});\nthis.events.Z(W,\"playlistnextbuttonclicked\",function(k){Uk(rZ(),27240,k.visualElement)});\nthis.events.Z(W,\"playlistprevbuttonclicked\",function(k){Uk(rZ(),27240,k.visualElement)});\nthis.events.Z(W,\"playlistautonextvideo\",function(){Uk(rZ(),27240,void 0,{implicitGestureType:\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\"})})};\ng.GK=function(W){var Y=jC(),k=(0,g.Il)();if(!Y&&!k||!window.JSON)return null;try{var P=Y.get(W)}catch(T){}if(typeof P!==\"string\")try{P=k.get(W)}catch(T){}if(typeof P!==\"string\")return null;try{P=JSON.parse(P,void 0)}catch(T){}return P};\ncE=function(W,Y,k,P,T,I,X){bt.call(this,W,Y,k,P,I===void 0?!0:I,!0,[\"ytp-ad-info-hover-text-button\"],\"ad-info-hover-text-button\",X===void 0?!1:X);this.W=null;this.T=T;this.hide()};\nfS=function(){try{var W=window.navigator;if(W.getAutoplayPolicy&&typeof W.getAutoplayPolicy===\"function\"){var Y=document.getElementsByClassName(g.xf.DBq);var k=Y.length>0&&Y[0]?W.getAutoplayPolicy(Y[0]):W.getAutoplayPolicy(\"mediaelement\");if(oN6[k])return oN6[k]}}catch(P){}return\"AUTOPLAY_BROWSER_POLICY_UNSPECIFIED\"};\nLHv=function(W,Y,k){var P=P===void 0?!0:P;return VF(void 0,function(){return function I(){var X,h,B,O,u,Z,M,t,q,G,E,z,A,F,y,U,V,b,Sz;return i9(I,function(jz){switch(jz.W){case 1:g.Nk(jz,2);X=al.X6();h=W&&Wg;if(!h&&!Y)return O={},(B=k)==null||B(\"wasmns\",(O.p=W?\"1\":\"0\",O.a=Y?\"1\":\"0\",O.s=Wg?\"1\":\"0\",O)),jz.return(nk(Error(\"wasm.wm.ns\")));u=new vNC;if(!h){jz.oi(4);break}g.Ta(jz,5);Z=YS;return $S(jz,kS(Csd(u,W)),7);case 7:return M=Z(jz.K),t=new Pg(M,u,!1,P),al.IJ(\"winit\",X),(q=k)==null||q(\"wasmsw\",{}),\njz.return(t);case 5:if(G=g.jh(jz),z={},(E=k)==null||E(\"wasmerrw\",(z.e=\"\"+G,z)),!Y)throw Error(\"wasm.wm.iw: \"+G);case 4:if(!Y)throw Error(\"wasm.wm.xx\");g.Ta(jz,8);A=YS;return $S(jz,kS(Y(u)),10);case 10:return F=A(jz.K),y=new Pg({exports:F},u,!0,P),al.IJ(\"winitjs\",X),(U=k)==null||U(\"wasmsa\",{}),jz.return(y);case 8:throw V=g.jh(jz),Sz={},(b=k)==null||b(\"wasmerra\",(Sz.e=\"\"+V,Sz)),Error(\"wasm.wm.ia: \"+V);case 2:g.Ei(jz),g.JB(jz,0)}})}()})};\nTJ=function(W,Y){W.focus(Y);return W.W[W.K][Y-W.J]};\nl35=function(W,Y,k,P,T){g.D.call(this);var I=this,X=jB(function(){return new IC(I.P6)});\ng.m(this,X);var h=jB(function(){return new XY(X,I.P6)});\ng.m(this,h);var B=jB(function(){return new SB});\ng.m(this,B);var O=jB(function(){return new h2(W)});\ng.m(this,O);var u=jB(function(){return new Bg(X,h,I.P6)});\ng.m(this,u);var Z=jB(function(){return new Oc});\ng.m(this,Z);this.Wa=jB(function(){return new ul(Y)});\ng.m(this,this.Wa);this.UR=jB(function(){return new Z0(T)});\ng.m(this,this.UR);this.CH=jB(function(){return new il(Y)});\ng.m(this,this.CH);this.wZ=jB(function(){return new Mx(Y)});\ng.m(this,this.wZ);this.JT=jB(function(){return new t2(Y)});\ng.m(this,this.JT);this.RI=jB(function(){return new qx(Y)});\ng.m(this,this.RI);this.P6=jB(function(){return new RC(Y)});\ng.m(this,this.P6);var M=jB(function(){return new Hg(P)});\ng.m(this,M);var t=jB(function(){return new n7(I.P6)});\ng.m(this,t);var q=jB(function(){return new p7(X,u,h,I.P6,t,null,null,null,null)});\ng.m(this,q);this.fu=jB(function(){return new GJ(Y)});\ng.m(this,this.fu);this.qq=jB(function(){return new K7(Y,Z,I.P6)});\ng.m(this,this.qq);var G=Ec({qq:this.qq,P6:this.P6,v5:t}),E=G.context,z=G.E6;this.H7=G.H7;this.Cg=jB(function(){return new J2(Y,I.qq,I.P6)});\ng.m(this,this.Cg);this.gV=jB(function(){return new sc});\ng.m(this,this.gV);this.i8=jB(function(){return new rA(I.Cg,Y,I.P6)});\ng.m(this,this.i8);this.sP=jB(function(){return new av(Y,B,I.i8,I.qq,I.H7,I.P6,z)});\ng.m(this,this.sP);this.a6=jB(function(){return new A2(I.P6)});\ng.m(this,this.a6);this.RZ=new zJ(dA,mL,function(F,y,U,V){return fM(h.get(),F,y,U,V)},O,u,h,t,this.P6,this.qq);\ng.m(this,this.RZ);this.Tr=new D0(O,q,k,this.P6,W,this.qq,this.Cg,this.CH);g.m(this,this.Tr);var A=new gA(Y,this.Tr,this.Cg,this.qq);this.Gj=jB(function(){return A});\nthis.mV=A;this.dV=new bl(O,u,this.wZ,this.Gj,E);g.m(this,this.dV);this.Cq=new cg(this.P6,O,u,q,this.qq,this.dV,k,this.JT);g.m(this,this.Cq);this.oZ=jB(function(){return new xS(M,h,t,I.P6,I.sP,I.Cg)});\ng.m(this,this.oZ);this.ge=jB(function(){return new f7});\ng.m(this,this.ge);this.PK=new VJ(W,this.Wa,this.P6);g.m(this,this.PK);this.Qi=new Nx(W);g.m(this,this.Qi);this.D9=new aC(W,this.Gj,E);g.m(this,this.D9);this.lD=new Wh(W,this.wZ,this.Cg,this.qq,E);g.m(this,this.lD);this.nN=new Yo(W);g.m(this,this.nN);this.VL=new $o(W);g.m(this,this.VL);this.Pa=jB(function(){return new ko(Y)});\ng.m(this,this.Pa);this.Yh=new Ph(W);g.m(this,this.Yh);this.JC=jB(function(){return new Tf});\ng.m(this,this.JC);this.Nz=jB(function(){return new Sa(I.Cg)});\ng.m(this,this.Nz);this.Tw=jB(function(){return new j8(I.Cq,O,X)});\ng.m(this,this.Tw);this.t7=jB(function(){return new IV(I.P6,I.sP,I.nN,I.i8)});\ng.m(this,this.t7);this.T3=jB(function(){return new U9V(I.Wa,I.Cg,I.sP,B,k,I.P6)});\ng.m(this,this.T3);this.rM=jB(function(){return new X6(W,I.Yh,I.nN,I.sP,I.i8,I.a6,I.JT,I.qq,I.Cg,I.gV,I.wZ,I.CH,I.RI,I.UR,I.fu,I.P6,I.Pa,E,z)});\ng.m(this,this.rM);this.x7={vX:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Cq],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.RZ],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.Tr],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.dV]]),Pw:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.oZ],[\"SLOT_TYPE_FORECASTING\",this.ge],[\"SLOT_TYPE_IN_PLAYER\",this.ge],[\"SLOT_TYPE_PLAYER_BYTES\",this.ge]]),hL:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",this.PK],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",\nthis.Qi],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.Qi],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.Qi],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.Qi],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.D9],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",this.lD],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",\nthis.lD],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.nN],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",this.D9],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.VL],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.Yh]]),Iu:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.JC],[\"SLOT_TYPE_ABOVE_FEED\",this.JC],[\"SLOT_TYPE_FORECASTING\",this.JC],[\"SLOT_TYPE_IN_PLAYER\",this.JC],[\"SLOT_TYPE_PLAYER_BYTES\",this.Nz]]),RE:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Tw],[\"SLOT_TYPE_FORECASTING\",this.t7],[\"SLOT_TYPE_IN_PLAYER\",\nthis.T3],[\"SLOT_TYPE_PLAYER_BYTES\",this.rM]])};this.listeners=[B.get()];this.Za={Cq:this.Cq,tj:this.P6.get(),B6:this.UR.get(),J6:this.Cg.get(),Tr:this.Tr,x5:X.get(),HE:null,Lr:this.PK,Zd:B.get(),AD:this.qq.get()}};\nbo7=function(){this.pC=[];this.rO=[]};\nc4z=function(W,Y,k,P,T){T=rZ7(T,Y);S8(W,k,P,T);T&&!yb(T)&&Je(W.h5);return W};\nN9d=function(W){W.logger.debug(\"start prepare initial playback\");W.Ij();var Y=W.wv;OK(W);W.events.Z(window,\"resize\",W.AYz);var k=W.Kq();W.Ii.x8(\"onVolumeChange\",W.VH);if(Y&&h7(Y)){var P=Bh(W.zJ);P&&!W.XK&&(Y.fetch=0);var T=g.hN(W.zJ);T&&!W.XK&&(Y.fetch=0);OT(W,Y);g.hN(W.zJ)&&W.C1.tick(\"ep_pr_s\");if(!P||W.XK)if(T&&!W.XK)uB(W);else if(!k.Nt())W.playlist.onReady(function(){Av(W)})}W.gk(W.zn(),!1,!0);\ng.p(W.zn().getPlayerState(),128)||(Y=x90(!W.zJ.deviceIsAudioOnly),Y===\"fmt.noneavailable\"?W.A$(\"html5.missingapi\",2,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"nocodecs.1\"):Y===\"html5.missingapi\"?W.A$(Y,2,\"UNSUPPORTED_DEVICE\",\"nocanplaymedia.1\"):k&&k.Nt()&&Pp(W)&&(W.zJ.nu||W.zJ.i_)?Zc(W):k.o8?W.Ii.mutedAutoplay({durationMode:k.mutedAutoplayDurationMode}):g.GK(\"yt-player-playback-on-reload\")?(g.qc(\"embedsItpPlayedOnReload\",{playedOnReload:!0,isLoggedIn:!!W.zJ.wD}),g.Zm(\"yt-player-playback-on-reload\",!1),\nZc(W)):rn(W.zJ)||f32(W),g.ad(W.zJ)||Fp(W.zJ)===\"MWEB\"?(g.iQ(g.tN(),function(){iB(W)}),g.iQ(g.tN(),function(){VQd()})):(iB(W),VQd()),W.logger.debug(\"finish prepare initial playback\"))};\na32=function(W){var Y={tick:{},info:{}};g.qa(\"ytcsi.\"+(W||\"\")+\"data_\",Y);return Y};\nWy0=function(W,Y,k,P){W.J=P;W.api.hq(W.W,k,Y)};\nEeq=function(W,Y){var k={};if(Y||!W||!W.kind)return k;if(W.kind===\"AD_PLACEMENT_KIND_MILLISECONDS\"||W.kind===\"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED\"){if(!W.adTimeOffset||!W.adTimeOffset.offsetStartMilliseconds)return g.LH(Error(\"malformed AdPlacementConfig\")),k;k.MIDROLL_POS=ge(e9(Math.round(M2(W.adTimeOffset.offsetStartMilliseconds)/1E3).toString()))}else k.MIDROLL_POS=ge(e9(\"0\"));return k};\nYQ0=function(W){this.data=W};\nWud=function(W,Y){var k=[],P=t7(Y.type,\"auto\",Y.itag);k.push(new q2(P,Y.url));return RV(W.C,k,!1,!0)};\n$Cq=function(W,Y,k){if(!(W.videoTrack.W.sE()&&W.audioTrack.W.sE()&&W.j1&&W.j1.K&&W.j1.W))return!1;if(k&&W.H6.isManifestless&&(W.videoTrack.X===-1||W.audioTrack.X===-1))return!0;var P=Hh(W.videoTrack,Y,k);if(isNaN(P))return!1;W=Hh(W.audioTrack,W.policy.J9?Y:P,k);return isNaN(W)?!1:!0};\npez=function(){if(nW!==void 0)return nW;pW=!0;return nW=ks6().then(function(W){pW=!1;var Y;if((Y=Gf())!=null&&Y.W){var k;Y={hasSucceededOnce:((k=KW())==null?void 0:k.hasSucceededOnce)||W};var P;(P=Gf())==null||P.set(\"LAST_RESULT_ENTRY_KEY\",Y,2592E3,!0)}return W})};\nPGF=function(W,Y){var k=Y/ET(W)*J7(W);g.KX(W.progressBar,\"transform\",\"translateY(\"+-Y+\"px)\");g.KX(W.Kg,\"transform\",\"translateY(\"+-Y+\"px)\");g.KX(W.e1,\"transform\",\"translateY(\"+k+\"px)\");W.e1.style.height=Y+k+\"px\";W.element.parentElement&&(W.element.parentElement.style.height=J7(W)-k+\"px\")};\njhS=function(W){for(var Y=W.suggestionData.length,k=0;k0?P[k]-P[k-1]:P[k]})};\nbB=function(W,Y){if(Y.info.T){W.bz=Y.info;if(W.X){var k=W.X,P=Gsz(W,!1);k=Kyv(k);W.loader.Xf(W.C,P,k);W.Kg||W.policy.i_||EKd(W);W.Kg=null}UT(W)}W.G&&Jr2(W.G,Y);if(P=W.nI())if(P=g.lB(P,Y,W.policy.Yw,W.policy.rV)){W.K.pop();W.K.push(P);return}W.K.push(Y)};\nshd=function(W){return g.o_(ch(W===void 0?0:W))};\nxo=function(W){this.h5=rT(W)};\ng.fW=function(){};\ncw=function(W){this.W=W||{cookie:\"\"}};\nrrd=function(W,Y){for(var k in W)if(!Y.call(void 0,W[k],k,W))return!1;return!0};\nAr1=function(W,Y){var k;return(k=Y.onEnter)==null?void 0:k.some(W.C)};\naV=function(W,Y,k){var P=k.BD,T=k.zx,I=k.listener,X=k.p9;k=k.Nh===void 0?!1:k.Nh;if(W.W.has(Y))EF(\"Unexpected registration of layout in LidarApi\");else{if(X){if(W.K.has(X))return;W.K.add(X)}W.W.set(Y,I);VI(fZ().gZ,\"fmd\",1);zV6(dU(fN),P);var h=k?Y:void 0;dCd(NK(),Y,{nm:function(){if(!T)return{};var B=W.Y.getPresentingPlayerType(!0),O;return(O=W.Y.getVideoData(B))!=null&&O.isAd()?{currentTime:W.Cg.get().getCurrentTimeSec(B,!1,h),duration:T,isPlaying:N2(W.Cg.get(),B).isPlaying(),isVpaid:!1,isYouTube:!0,\nvolume:W.Cg.get().isMuted()?0:W.Cg.get().getVolume()/100}:{}}})}};\nWj=function(W){this.h5=rT(W)};\nYp=function(W,Y,k,P,T,I,X,h,B){T=T===void 0?[]:T;X=X===void 0?!1:X;B=B===void 0?!1:B;T={S:\"button\",Ya:[\"ytp-ad-button\"].concat(T)};h!=null&&(T.D={tabindex:h});CC.call(this,W,T,I===void 0?\"button\":I,Y,k,P);this.W=this.K=this.J=null;this.C=X;this.T=B;this.hide()};\nJI=function(W){return decodeURIComponent(W.replace(/\\+/g,\" \"))};\nHp=function(W){D5.call(this);this.T=W};\nLI=function(W,Y,k){var P=g.jl(W.macros),T=g.$p(Y);P.AW={toString:function(){return T.width.toString()}};\nP.AH={toString:function(){return T.height.toString()}};\nvar I=g.kp(k,Y).floor();P.I_X={toString:function(){return I.x.toString()}};\nP.NX={toString:function(){return I.x.toString()}};\nP.I_Y={toString:function(){return I.y.toString()}};\nP.NY={toString:function(){return I.y.toString()}};\nP.NM={toString:function(){return W.Kg.toString()}};\nY=g.e(W.N);for(k=Y.next();!k.done;k=Y.next())k=k.value,W.layoutId?Pj(W.B6,k,W.layoutId,P):g.LH(Error(\"Missing layoutId for invideo_overlay_ad.\"));W.api.pauseVideo()};\nDC7=function(W){return bF0()===2?g.HE(W,mC6):W};\nFy7=function(W){W.Kg.clearAll();W.K.clear();W.W.clear();W.C.clear();W.UP=[];W.X=null;W.KH.clear();W.zJ.experiments.Nq(\"html5_ssdai_log_missing_ad_config_reason\")&&W.OP.clear();W.N=[];W.V5=[];W.Gn=[];W.J9=[];W.xm.clear();W.D_.clear();W.f1.clear();W.rD.clear();W.L=!1;W.pY=0;W.A5=!1;W.yY=0;W.K1=0;W.A9=!1;W.U0=!1;W.J=\"\";gKC(W.app.Ln());tI(W.app.Ln(),W.playback,!1);W.TJ.clear();W.G.isActive()&&E5(W)};\nwD6=function(W,Y,k){Y=Y===void 0?0:Y;k=k===void 0?-1:k;if(!W.totalLength||!k)return new DataView(new ArrayBuffer(0));k<0&&(k=W.totalLength-Y);W.focus(Y);if(!Tz(W,Y,k)){var P=W.K,T=W.J;W.focus(Y+k-1);T=new Uint8Array(W.J+W.W[W.K].length-T);for(var I=0,X=P;X<=W.K;X++)T.set(W.W[X],I),I+=W.W[X].length;W.W.splice(P,W.K-P+1,T);j6(W);W.focus(Y)}P=W.W[W.K];return new DataView(P.buffer,P.byteOffset+Y-W.J,k)};\nIA=function(W,Y){if(Y===void 0)for(var k=Qh2(),P=0;P=0};\nZp=function(W,Y,k){this.W=Y;this.triggerType=\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\";this.triggerId=k||W(this.triggerType)};\nib=function(W){return lE1(W.T)};\ng.LH=function(W,Y){var k=k===void 0?{}:k;k.name=g.o_(\"INNERTUBE_CONTEXT_CLIENT_NAME\",1);k.version=g.o_(\"INNERTUBE_CONTEXT_CLIENT_VERSION\");Y=Y===void 0?\"ERROR\":Y;var P=!1;Y=Y===void 0?\"ERROR\":Y;P=P===void 0?!1:P;if(W){W.hasOwnProperty(\"level\")&&W.level&&(Y=W.level);if(g.dS(\"console_log_js_exceptions\")){var T=[];T.push(\"Name: \"+W.name);T.push(\"Message: \"+W.message);W.hasOwnProperty(\"params\")&&T.push(\"Error Params: \"+JSON.stringify(W.params));W.hasOwnProperty(\"args\")&&T.push(\"Error args: \"+JSON.stringify(W.args));\nT.push(\"File name: \"+W.fileName);T.push(\"Stacktrace: \"+W.stack);window.console.log(T.join(\"\\n\"),W)}if(!(bIz>=5)){T=[];for(var I=g.e(cr7),X=I.next();!X.done;X=I.next()){X=X.value;try{X()&&T.push(X())}catch(G){}}T=[].concat(g.cp(xCF),g.cp(T));var h=fEV(W);I=h.message||\"Unknown Error\";X=h.name||\"UnknownError\";var B=h.stack||W.K||\"Not available\";if(B.startsWith(X+\": \"+I)){var O=B.split(\"\\n\");O.shift();B=O.join(\"\\n\")}O=h.lineNumber||\"Not available\";h=h.fileName||\"Not available\";var u=0;if(W.hasOwnProperty(\"args\")&&\nW.args&&W.args.length)for(var Z=0;Z=500);Z++);else if(W.hasOwnProperty(\"params\")&&W.params){var M=W.params;if(typeof W.params===\"object\")for(Z in M){if(M[Z]){var t=\"params.\"+Z,q=MV(M[Z]);k[t]=q;u+=t.length+q.length;if(u>500)break}}else k.params=MV(M)}if(T.length)for(Z=0;Z=500);Z++);navigator.vendor&&!k.hasOwnProperty(\"vendor\")&&(k[\"device.vendor\"]=navigator.vendor);k={message:I,name:X,lineNumber:O,\nfileName:h,stack:B,params:k,sampleWeight:1};Z=Number(W.columnNumber);isNaN(Z)||(k.lineNumber=k.lineNumber+\":\"+Z);if(W.level===\"IGNORED\")W=0;else a:{W=t1();Z=g.e(W.rO);for(T=Z.next();!T.done;T=Z.next())if(T=T.value,k.message&&k.message.match(T.Vx)){W=T.weight;break a}W=g.e(W.pC);for(Z=W.next();!Z.done;Z=W.next())if(Z=Z.value,Z.callback(k)){W=Z.weight;break a}W=1}k.sampleWeight=W;W=g.e(NFz);for(Z=W.next();!Z.done;Z=W.next())if(Z=Z.value,Z.rW[k.name])for(I=g.e(Z.rW[k.name]),T=I.next();!T.done;T=I.next())if(X=\nT.value,T=k.message.match(X.bY)){k.params[\"params.error.original\"]=T[0];I=X.groups;X={};for(O=0;O1?W[1]:W[0])):{}};\ng.z_=function(W){W=W===void 0?{}:W;g.sq.call(this);var Y=this;this.W=this.T=0;this.K=Si7();var k=g.o3(\"yt.networkStatusManager.instance.listen\").bind(this.K);k&&(W.rateLimit?(this.rateLimit=W.rateLimit,k(\"networkstatus-online\",function(){hEV(Y,\"publicytnetworkstatus-online\")}),k(\"networkstatus-offline\",function(){hEV(Y,\"publicytnetworkstatus-offline\")})):(k(\"networkstatus-online\",function(){Y.dispatchEvent(\"publicytnetworkstatus-online\")}),k(\"networkstatus-offline\",function(){Y.dispatchEvent(\"publicytnetworkstatus-offline\")})))};\nCk=function(W,Y,k,P){return Sl(W,Y,CH(k),\"\",P)};\nG1V=function(W){g.eY(W.J);var Y=W.Y.V();Y.playerStyle===\"gvn\"||Y.K||Y.GJ||(Y=W.Y.ai(),W.J.Z(Y,\"contextmenu\",W.Txg),W.J.Z(Y,\"touchstart\",W.onTouchStart,null,!0),W.J.Z(Y,\"touchmove\",W.AJ,null,!0),W.J.Z(Y,\"touchend\",W.AJ,null,!0))};\nS6=function(){var W=W===void 0?!0:W;try{window.sessionStorage.removeItem(\"stickiness_reload\");window.sessionStorage.removeItem(\"session_logininfo\");V1(\"LOGIN_INFO\",\"\");W&&window.sessionStorage.setItem(\"from_switch_account\",\"1\");W=!0;W=W===void 0?!1:W;var Y,k=Bn5;k||(k=document.querySelector(\"#persist_identity\"));if(Y=k){var P=Y.src?(new URL(Y.src)).origin:\"*\";if(W){var T;(T=Y.contentWindow)==null||T.postMessage({action:\"clear\"},P)}else if(!(Number(window.sessionStorage.getItem(\"stickiness_reload\"))>=\n2)){var I=window.sessionStorage.getItem(\"session_logininfo\");if(I){var X;(X=Y.contentWindow)==null||X.postMessage({loginInfo:I},P)}}}}catch(h){}};\nrt=function(W,Y,k){$w(W,Y,2);Op(W.W,k.length);ni(W,W.W.end());ni(W,k)};\nBs=function(W){return W==null?W:tiV(W)};\nONz=function(W,Y){if(!Y)return!1;for(var k=0;k4);T++)Y[AB(W[T])]||(k+=\"\\nInner error \"+P++ +\": \",W[T].stack&&W[T].stack.indexOf(W[T].toString())==0||(k+=typeof W[T]===\"string\"?W[T]:W[T].message+\"\\n\"),k+=zz(W[T],Y));T>>0;T=W.W.W+T;var I=T-P;I<=0&&(W.W.J=T,k(Y,W,void 0,void 0,void 0),I=T-W.W.W);if(I)throw Error();W.W.W=T;W.W.J=P};\ngt=function(W){return W.Y.V().experiments.Nq(\"html5_cuepoint_identifier_logging\")};\nbm=function(W){try{return!!W&&W.location.href!=null&&Z$q(W,\"foo\")}catch(Y){return!1}};\niNF=function(W){var Y=Y===void 0?51:Y;var k=[];F8(W,ym,6).forEach(function(P){wt(P,2)<=Y&&k.push(wt(P,1))});\nreturn k};\nlx=function(W,Y,k){var P=g.z0(W.K,function(T){return Y<=T});\nreturn P==-1?0:k(W.W[P])};\nVF=function(W,Y){return aYF(Y.call(W))};\nMU6=function(W,Y){var k=W.getCurrentTime(),P=W.isAtLiveHead(k);if(W.L&&P){var T=W.L;if(T.W&&!(k>=T.K&&k50&&T.K.shift())),T=W.W,SuF(T,k,Y===void 0?!0:Y),qdd(T,k),Y&&YL0(W,!0));P!==W.xm&&(Y=W.getCurrentTime()-W.Lg<=500,k=W.K1>=1E3,Y||k||(Y=W.W6.FA,Y.qoe&&(Y=Y.qoe,k=g.Jj(Y.provider),\ng.xd(Y,k,\"lh\",[P?\"1\":\"0\"])),W.xm=P,W.K1++,W.Lg=W.getCurrentTime()))};\nQa=function(W){this.h5=rT(W)};\ng.nI=function(W,Y,k){W.C=k?Gs(Y,!0):Y;W.C&&(W.C=W.C.replace(/:$/,\"\"))};\nya=function(W,Y){for(var k=[];ma(W,Y);)k.push(DW(W));return k.length?k:void 0};\nqiF=function(W){if(!g.dS(\"universal_csi_network_ticks\"))return\"\";W=e6(W)||\"\";for(var Y=Object.keys(tU7),k=0;k=k.start&&Y<=k.end)return!0;return!1};\ng.iK=function(W){return(W=shd(W===void 0?0:W))?new ZS({veType:W,youtubeData:void 0,jspbYoutubeData:void 0}):null};\nvj=function(W){return Math.max(W.bottom-W.top,0)*Math.max(W.right-W.left,0)};\nREq=function(){var W=g.hL.navigator;return W?W.connection:void 0};\nkh=function(W,Y){this.G=W.dqg;this.L=Y;this.W=W.xhr;this.J=[];this.C=[];this.X=[];this.T=[];this.K=[];this.G&&HNd(this)};\nnGV=function(){this.K=this.W=NaN};\nL2=function(W,Y){Y?W.G||(W.element.removeAttribute(\"aria-disabled\"),W.G=new g.C2(W.progressBar,!0),W.api.U(\"enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity\")&&W.G.subscribe(\"hoverstart\",W.D6z,W),W.G.subscribe(\"hovermove\",W.BZr,W),W.G.subscribe(\"hoverend\",W.QIh,W),W.G.subscribe(\"dragstart\",W.kW2,W),W.G.subscribe(\"dragmove\",W.Vjg,W),W.G.subscribe(\"dragend\",W.d6D,W),W.api&&W.api.U(\"delhi_modern_web_player\")&&W.api.U(\"delhi_modern_web_player_cutout\")&&(W.KN=new g.C2(W.progressBar,\n!0),W.KN.subscribe(\"hoverstart\",function(){W.jW=!0;W8(W)},W),W.KN.subscribe(\"hoverend\",function(){W.jW=!1;\nW8(W)},W)),W.i5=W.listen(\"keydown\",W.kZ)):W.G&&(W.element.setAttribute(\"aria-disabled\",\"true\"),W.nH(W.i5),W.G.cancel(),W.G.dispose(),W.G=null)};\ncU1=function(W){return String(W).replace(/\\-([a-z])/g,function(Y,k){return k.toUpperCase()})};\nUq=function(W,Y){Y=Y===void 0?[]:Y;g.Am(W,function(k,P){var T=P.c6-k.c6;if(!k.qa()||!P.qa())return T;var I=P.video.height*P.video.width-k.video.height*k.video.width;!I&&Y&&Y.length>0&&(k=Y.indexOf(k.lz)+1,P=Y.indexOf(P.lz)+1,I=k===0||P===0?P||-1:k-P);I||(I=T);return I})};\nEQS=function(W,Y,k,P,T){try{if(k){var I=lb.get(Y);if(I)return new I(W.Y);pyC(W,Y,P,T)}else W.Y.sU(Y)}catch(X){W.Y.sU(Y),g.LH(X)}return null};\nG57=function(W){function Y(P){return W.throw(P)}\nfunction k(P){return W.next(P)}\nreturn new Promise(function(P,T){function I(X){X.done?P(X.value):Promise.resolve(X.value).then(k,Y).then(I,T)}\nI(W.next())})};\nKfS=function(W,Y,k){if(Y&&Y.status===204)return!0;switch(W){case \"JSON\":return!!k;case \"XML\":return Number(k&&k.return_code)===0;case \"RAW\":return!0;default:return!!k}};\nHB2=function(W,Y){return g.ik(W.K,function(k){return k.NS()==2&&k.Pl==Y})};\nJBC=function(W,Y){var k=0,P=!1;Y=g.e(Y);for(var T=Y.next();!T.done;T=Y.next()){T=T.value;if(g.R(T,EGd)){T=g.R(T,EGd);var I={startTime:NaN,title:null,onActiveCommand:void 0},X=T.title;I.title=X?g.NF(X):\"\";X=T.timeRangeStartMillis;X!=null&&(I.startTime=X);I.onActiveCommand=T.onActiveCommand;T=I;k===0&&T.startTime!==0&&(W.W[k].startTime=0,W.W[k].title=\"\",W.W[k].onActiveCommand=T.onActiveCommand,k++,P=!0);W.W.length<=k&&(I=new bb,W.W.push(I),g.m(W,I),I.S1(W.bz,W.bz.children.length));W.W[k].startTime=\nT.startTime;W.W[k].title=T.title?T.title:\"\";W.W[k].onActiveCommand=T.onActiveCommand;W.W[k].index=P?k-1:k}k++}for(;k1||W&&W.split(\")\"),null;if(W.indexOf(\"(\")>0){if(/\"|'/.test(W))return null;Y=/([\\-\\w]+)\\(/g;for(var k;k=Y.exec(W);)if(!(k[1].toLowerCase()in dK1))return null}return W};\nYg=function(W,Y){S5.call(this,W,Y)};\nmKS=function(W){if(W.name===\"JavaException\")return!0;W=W.stack;return W.includes(\"chrome://\")||W.includes(\"-extension://\")||W.includes(\"webkit-masked-url://\")};\nn2=function(W){var Y=$g.EXPERIMENT_FLAGS;return Y?Y[W]:void 0};\nFX=function(){var W,Y;return\"h5vcc\"in wZ&&((W=wZ.h5vcc.traceEvent)==null?0:W.traceBegin)&&((Y=wZ.h5vcc.traceEvent)==null?0:Y.traceEnd)?1:\"performance\"in wZ&&wZ.performance.mark&&wZ.performance.measure?2:0};\nkg=function(W){this.h5=rT(W)};\ngGv=function(W){if(!g.dS(\"universal_csi_network_ticks\"))return function(){};\nvar Y=tU7[W];return Y?(P2(Y),function(){var k=g.dS(\"universal_csi_network_ticks\")?(k=DK0[W])?P2(k):!1:!1;return k}):function(){}};\nQi5=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q){P=Tb(P,\"SLOT_TYPE_PLAYER_BYTES\");W=Ffd(T,W,X,k,P,B,O);if(W instanceof l)return W;var G;O=(G=kW(W.clientMetadata,\"metadata_type_fulfilled_layout\"))==null?void 0:G.layoutId;if(!O)return new l(\"Invalid adNotify layout\");Y=wy7(O,T,I,k,h,Y,B,u,Z,M,t,q,X);return Y instanceof l?Y:[W].concat(g.cp(Y))};\nNy=function(W,Y,k){Y.startSecs+=isNaN(W.L)?0:W.L;W=W.H6;W.TJ.push(Y);W.publish(\"cuepointsadded\",k)};\njO=function(){this.K=this.W=null};\neE6=function(W,Y){W.TJ=!0;W.U(\"html5_use_centralized_player_time\")&&(W.K=W.X,W.J=W.K,W.X=NaN);yB0(W,Y)};\nI1=function(W,Y,k,P){yS.call(this,W,Y,k,P);this.Kg=this.A5=this.G=this.L=this.T=null};\ng.SO=function(){return!!X4([\"fullscreenEnabled\",\"webkitFullscreenEnabled\",\"mozFullScreenEnabled\",\"msFullscreenEnabled\"],document)};\nvGz=function(W){return W?W.dataset?W.dataset[oG2()]:W.getAttribute(\"data-loaded\"):null};\nUKF=function(W,Y,k,P){k=k===void 0?!1:k;P=P===void 0?!1:P;W.policy.gD&&(W.logger.debug(\"disable updateMetadataWithoutMediaSource\"),W.policy.OP&&W.y5(\"loader\",{setsmb:0}),W.l5(),W.policy.gD=!1);W.logger.debug(\"attaching media source\");Cwz(W,P);if(!h9(Y)){var T=ib(W.videoTrack),I=ib(W.audioTrack);T=(T?T.info.W:W.videoTrack.W).info;var X=(I?I.info.W:W.audioTrack.W).info;I=W.policy.Er;I=T.mimeType+(I===void 0?\"\":I);var h=X.mimeType;T=T.lz;X=X.lz;var B;Y.A5=(B=Y.j1)==null?void 0:B.addSourceBuffer(h);var O;\nY.Kg=I.split(\";\")[0]===\"fakesb\"?void 0:(O=Y.j1)==null?void 0:O.addSourceBuffer(I);Y.I7&&(Y.I7.webkitSourceAddId(\"0\",h),Y.I7.webkitSourceAddId(\"1\",I));B=new B2(Y.A5,Y.I7,\"0\",hu(h),X,!1);O=new B2(Y.Kg,Y.I7,\"1\",hu(I),T,!0);LfF(Y,B,O)}k=k===void 0?!1:k;P=P===void 0?!1:P;ob(W.videoTrack,Y.K||null,P);ob(W.audioTrack,Y.W||null,P);W.j1=Y;W.j1.T=!0;k||W.resume();Y.W.cH(W.rD,W);Y.K.cH(W.rD,W);try{W.u7()}catch(u){g.LH(u)}};\nlJ5=function(W,Y,k){W.playback.Je();W.playback.seekTo(Y,k);W.playback.playVideo()};\nbNz=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"standardControlsInitialized\",function(){Y.button=new BJ(W);g.m(Y,Y.button);W.A4(Y.button,\"RIGHT_CONTROLS_RIGHT\")})};\nxKX=function(W,Y,k,P){k=Y+\".\"+k;W.C.has(Y)?W.C.get(Y).push(k):W.C.set(Y,[k]);W.W===1&&cB6(W.T,P,k).then(function(T){var I=g.e(T);T=I.next().value;I=I.next().value;I=g.e(vnS(I));I.next();I=I.next().value;SU(W,I,T,hB(W.T))});\nW.W===0&&(W.Pk.g0(\"transitiondetector\",k),Y=(P+W.W6.m2())*1E3,W.Pk.Bz([new g.Mm(Y,Y+5E3,{id:k,namespace:\"transitiondetector\",priority:9})]))};\nOG=function(W,Y){W.coldHashData=Y;g.qa(\"yt.gcf.config.coldHashData\",W.coldHashData||null)};\nfJz=function(){var W,Y,k,P;return((P=jj().resolve(IF(X9))==null?void 0:(W=uP())==null?void 0:(Y=W.loggingHotConfig)==null?void 0:(k=Y.csiConfig)==null?void 0:k.debugTicks)!=null?P:[]).map(function(T){return Object.values(T)[0]})};\ng.Zw=function(){return g.hL.ytPubsubPubsubInstance};\nCpS=function(W){var Y=W.index+1;return Y>=W.length?0:Y};\niP=function(W,Y){g.KX(W.W,\"width\",Y)};\nMQ=function(W,Y){return W==Y?!0:W&&Y?W.left==Y.left&&W.width==Y.width&&W.top==Y.top&&W.height==Y.height:!1};\nt9=function(W){this.value=W};\nviv=function(W,Y,k){var P=Y.Pj,T=Y.getMetadata(),I=VUV(W,!0);W=Nnq(W,T,I,k+P.getName());k=E5z(I,P.K,!1);r45(k,T[\"X-Goog-Encode-Response-If-Executable\"]===\"base64\");Y=P.W(Y.NW);I.send(W,\"POST\",Y);return k};\naJ2=function(W){W=W.api.getPlayerStateObject();W=W.isCued()||W.isError()?\"none\":W.isOrWillBePlaying()?\"playing\":\"paused\";navigator.mediaSession.playbackState=W};\ngG=function(W){var Y=W.toString();W.name&&Y.indexOf(W.name)==-1&&(Y+=\": \"+W.name);W.message&&Y.indexOf(W.message)==-1&&(Y+=\": \"+W.message);if(W.stack)a:{W=W.stack;var k=Y;try{W.indexOf(k)==-1&&(W=k+\"\\n\"+W);for(var P;W!=P;)P=W,W=W.replace(/((https?:\\/..*\\/)[^\\/:]*:\\d+(?:.|\\n)*)\\2/,\"$1\");Y=W.replace(/\\n */g,\"\\n\");break a}catch(T){Y=k;break a}Y=void 0}return Y};\nt1=function(){if(!qQ){var W=qQ=new bo7;W.rO.length=0;W.pC.length=0;Wr7(W,YsS)}return qQ};\nsJ=function(W,Y,k,P,T,I){k=k===void 0?{}:k;this.componentType=W;this.renderer=Y===void 0?null:Y;this.macros=k;this.layoutId=P;this.interactionLoggingClientData=T;this.W=I;this.id=R1(W)};\n$8F=function(W){var Y=Y===void 0?51:Y;var k=[];F8(W,ym,6).forEach(function(P){wt(P,2)>Y&&k.push(wt(P,1))});\nreturn k};\nH2=function(W,Y){Y=Y===void 0?\"\":Y;W=kS0(W)[0][PC5];var k;Y=(k=Y)!=null?k:\"[signal]\";W.debugName=Y};\nTDX=function(W){var Y,k=(Y=ib(W))==null?void 0:Y.info;return!k||n6(W,Math.min(k.C+p6,k.X))};\ng.Sd=function(W,Y,k){return F2d(W,k||rY,!1,Y)};\nGb=function(W,Y,k,P,T){dB.call(this,W,Y,k,P,\"survey-question-single-select\",function(X){I.api.V().U(\"supports_multi_step_on_desktop\")&&T([X])});\nvar I=this;this.hide()};\njk7=function(W){var Y,k,P=W.length,T=0;for(Y=0;Y>>6:(I<65536?h[k++]=224|I>>>12:(h[k++]=240|I>>>18,h[k++]=128|I>>>12&63),h[k++]=128|I>>>\n6&63),h[k++]=128|I&63);return h};\nJ9=function(W){var Y=W.W,k=W.api.getCurrentTime(),P=W.api.ai().getPlayerSize(),T=EG(Y,P.width);T=IV2(Y,T,k);W.update({timestamp:g.N8(k)});T!==W.frameIndex&&(W.frameIndex=T,XO1(Y,T,P.width),Y=KYF(Y,T,P.width),EAd(W.K,Y,P.width,P.height))};\nyE5=function(W,Y,k){W=g.Ab(W.W,function(P){return Y(P)});\nreturn k?W:pD0(W)};\nsG=function(){D5.call(this)};\nrk=function(W){return!!W.videoData.startSeconds&&isFinite(W.videoData.startSeconds)&&W.videoData.startSeconds>1E9};\nA9=function(W,Y){this.version=W;this.args=Y};\nSsd=function(){var W=[\"metadata_type_banner_image_layout_view_model\",\"metadata_type_linked_player_bytes_layout_id\"];Nd().forEach(function(Y){W.push(Y)});\nreturn{ya:W,EV:[\"LAYOUT_TYPE_COMPANION_WITH_IMAGE\"]}};\nBD0=function(W,Y,k){if(W&&Y!==null&&Y!=Y.top){if(!Y.top)return new g.Sn(-12245933,-12245933);Y=Y.top}try{return(k===void 0?0:k)?(new g.Sn(Y.innerWidth,Y.innerHeight)).round():hBV(Y||window).round()}catch(P){return new g.Sn(-12245933,-12245933)}};\nzb=function(W,Y){this.triggeringSlotId=Y;this.triggerType=\"TRIGGER_TYPE_SLOT_ID_UNSCHEDULED\";this.triggerId=W(this.triggerType)};\neVz=function(W){var Y=W.indexOf(\"#\");return Y<0?W:W.slice(0,Y)};\nOe6=function(){return{S:\"svg\",D:{fill:\"none\",height:\"36\",viewBox:\"0 0 36 36\",width:\"36\"},B:[{S:\"path\",D:{d:\"M11.29 2.92C14.85 1.33 18.87 1.06 22.61 2.15L22.96 2.26C26.56 3.40 29.67 5.74 31.75 8.89L31.95 9.19C33.90 12.28 34.77 15.93 34.42 19.56L34.38 19.93C34.04 22.79 32.96 25.51 31.25 27.83C29.53 30.14 27.23 31.97 24.59 33.12C21.95 34.27 19.05 34.71 16.18 34.40C13.32 34.08 10.59 33.02 8.26 31.32L7.97 31.10C4.87 28.73 2.71 25.33 1.88 21.52L3.34 21.20L4.81 20.88C5.49 24.00 7.25 26.77 9.79 28.72L10.27 29.07C12.19 30.40 14.41 31.22 16.74 31.44C19.06 31.65 21.40 31.27 23.53 30.31C25.66 29.35 27.50 27.86 28.88 25.98C30.26 24.10 31.13 21.89 31.40 19.58L31.46 18.98C31.68 16.00 30.90 13.03 29.25 10.54C27.60 8.05 25.17 6.18 22.34 5.22L21.77 5.04C19.02 4.23 16.08 4.33 13.38 5.31C10.68 6.29 8.37 8.11 6.77 10.5H10.5L10.65 10.50C11.03 10.54 11.38 10.73 11.63 11.02C11.88 11.31 12.01 11.69 11.99 12.07C11.97 12.46 11.81 12.82 11.53 13.08C11.25 13.35 10.88 13.49 10.5 13.5H1.5V4.5L1.50 4.34C1.54 3.97 1.71 3.63 1.99 3.38C2.27 3.13 2.62 3.00 3 3.00C3.37 3.00 3.72 3.13 4.00 3.38C4.28 3.63 4.45 3.97 4.49 4.34L4.5 4.5V8.51C6.21 6.07 8.56 4.13 11.29 2.92ZM24 18L15 12.75V23.25L24 18ZM3.02 19.73C2.63 19.82 2.29 20.05 2.08 20.39C1.86 20.72 1.79 21.13 1.88 21.52L4.81 20.88C4.77 20.69 4.69 20.50 4.57 20.34C4.46 20.18 4.32 20.04 4.15 19.94C3.99 19.83 3.80 19.76 3.61 19.72C3.41 19.69 3.21 19.69 3.02 19.73Z\",\nfill:\"white\"}}]}};\nEQ=function(W){g.D.call(this);this.G=[];this.J9=W||this};\nZe2=function(W,Y,k){if(dk(W.W,Y)&&mF(Dw(W.W,Y))){var P=gk(W.W,Y);if(P&&F4(W.W,Y))u5C(W,Y,P,k?\"error\":\"abandoned\");else{W.H7.P4(\"ADS_CLIENT_EVENT_TYPE_EXIT_SLOT_REQUESTED\",Y);try{var T=Dw(W.W,Y);if(!T)throw new l(\"Cannot exit slot it is unregistered\",void 0,\"ADS_CLIENT_ERROR_MESSAGE_SLOT_WAS_UNREGISTERED\");T.W!==\"enter_requested\"&&T.W!==\"entered\"&&T.W!==\"rendering\"&&wk(T.slot,T.W,\"exitSlot\");T.W=\"exit_requested\";if(T.K===void 0)throw T.W=\"scheduled\",new l(\"Cannot exit slot because adapter is not defined\",\nvoid 0,\"ADS_CLIENT_ERROR_MESSAGE_NO_SLOT_ADAPTER_REGISTERED\");T.K.yZ()}catch(I){I instanceof l&&I.Y4?(W.H7.iE(\"ADS_CLIENT_ERROR_TYPE_EXIT_SLOT_FAILED\",I.Y4,Y),EF(I,Y,void 0,void 0,I.j2)):(W.H7.iE(\"ADS_CLIENT_ERROR_TYPE_EXIT_SLOT_FAILED\",\"ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR\",Y),EF(I,Y))}}}};\nie6=function(W,Y){if(typeof W!==\"object\")return W;if(Array.isArray(W)){var k=W[a_]|0;W.length===0&&k&1?W=void 0:k&2||(!Y||4096&k||16&k?W=PQ(W,k,!1,Y&&!(k&16)):(Tt(W,34),k&4&&Object.freeze(W)));return W}if(W!=null&&W[Xe]===SY)return Y=W.h5,k=Y[a_]|0,yb(W,k)?W:di(W,Y,k)?y$(W,Y):PQ(Y,k);if(W instanceof bq)return W};\naj=function(W,Y,k){return g.nT(Q5)(W,Y,k)};\nt0V=function(W,Y,k){Y.P8&&((k===void 0?0:k)||!Y.info.EP[0].W.Rp())&&(W.logger.debug(function(){return\"Rolling back request with segNum \"+Y.info.EP[0].t5}),M0X(W.T))};\nRB1=function(W,Y,k){W=new y5(W.W);W.update(Y);W.update(k);Y=qsz(W);W.update(W.C);W.update(Y);Y=qsz(W);W.reset();return Y};\nHez=function(W){var Y,k,P=(Y=W.W)==null?void 0:(k=Y.bannerData)==null?void 0:k.itemData,T,I;if(!(P!=null&&P.priceReplacementText||W.Y.U(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\"))&&(P==null?0:(T=P.dealsData)==null?0:(I=T.sales)==null?0:I.originalPrice)){var X,h;return P==null?void 0:(X=P.dealsData)==null?void 0:(h=X.sales)==null?void 0:h.originalPrice}return null};\ng.KX=function(W,Y,k){if(typeof Y===\"string\")(Y=iD(W,Y))&&(W.style[Y]=k);else for(var P in Y){k=W;var T=Y[P],I=iD(k,P);I&&(k.style[I]=T)}};\nnFV=function(W,Y,k){var P={};P.isHdr=Y.includes(\"HDR\");switch(Y.replace(\"HDR\",\"\").replace(\"720\",\"\")){case \"AUDIO\":P.trackType=1;break;case \"SD\":P.trackType=2;break;case \"HD\":P.trackType=3;break;case \"UHD1\":P.trackType=4;break;case \"UHD2\":P.trackType=5;break;default:P.trackType=0}!P.trackType||k[Y]||SV(W)&&!eO(W,Y)||(W.authorizedFormats.push(P),k[Y]=!0)};\npO6=function(W,Y){return Y.priority-W.priority};\nKr1=function(W,Y){if(!o1(W))throw Error(\"IndexedDB is not supported: updateRequestHandlers\");var k=Y.options.onError?Y.options.onError:function(){};\nY.options.onError=function(T,I){var X,h,B,O;return g.v(function(u){switch(u.W){case 1:X=GS2(I);(h=hs2(I))&&W.Nq&&W.Nq(\"web_enable_error_204\")&&W.handleError(Error(\"Request failed due to compression\"),Y.url,I);if(!(W.Nq&&W.Nq(\"nwl_consider_error_code\")&&X||W.Nq&&!W.Nq(\"nwl_consider_error_code\")&&W.potentialEsfErrorCounter<=W.L_)){u.oi(2);break}if(!W.O6.ZX){u.oi(3);break}return g.L(u,W.O6.ZX(),3);case 3:if(W.O6.s6()){u.oi(2);break}k(T,I);if(!W.Nq||!W.Nq(\"nwl_consider_error_code\")||((B=Y)==null?void 0:\nB.id)===void 0){u.oi(6);break}return g.L(u,W.a7.vc(Y.id,W.c5,!1),6);case 6:return u.return();case 2:if(W.Nq&&W.Nq(\"nwl_consider_error_code\")&&!X&&W.potentialEsfErrorCounter>W.L_)return u.return();W.potentialEsfErrorCounter++;if(((O=Y)==null?void 0:O.id)===void 0){u.oi(8);break}return Y.sendCount=0;--k)k in P&&Y.call(void 0,P[k],k,W)};\nXg=function(W){this.h5=rT(W)};\nsk2=function(W,Y,k,P,T,I,X){if(!EF1(W))return new l(\"Invalid InstreamVideoAdRenderer for SlidingText.\",{instreamVideoAdRenderer:W});var h=W.additionalPlayerOverlay.slidingTextPlayerOverlayRenderer;return[Jld(I,Y,k,P,function(B){var O=B.slotId;B=X(B);O=yN(T.K.get(),\"LAYOUT_TYPE_SLIDING_TEXT_PLAYER_OVERLAY\",O);var u={layoutId:O,layoutType:\"LAYOUT_TYPE_SLIDING_TEXT_PLAYER_OVERLAY\",fg:\"core\"},Z=new L6(T.W,P);return{layoutId:O,layoutType:\"LAYOUT_TYPE_SLIDING_TEXT_PLAYER_OVERLAY\",W7:new Map,layoutExitNormalTriggers:[Z],\nlayoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:new i_([new UG(h)]),XA:B(u)}})]};\nrl5=function(W,Y,k,P,T){sJ.call(this,\"ads-engagement-panel\",W,Y,k,P,T)};\nYy=function(W,Y,k){g.tR.call(this);this.element=W;this.videoData=Y;this.zJ=k;this.J=[];this.UP=2;this.Fr=this.TJ=!1;this.heartbeatParams=null;this.gD=this.N=!1;this.C=null;this.OP=!1;this.W=this.videoData.C;this.drmSessionId=this.videoData.drmSessionId||g.Ald();this.K=new Map;this.X=new KF;this.G=new KF;this.Kg=new g.x5(this);this.wD=this.zJ.U(\"html5_eme_ignore_teardown_errors\");(W=this.element)&&(W.addKey||W.webkitAddKey)||lP()||bP(k.experiments);this.zJ.U(\"html5_enable_vp9_fairplay\")&&Y8(this.W)?\nk=c2:(k=this.videoData.i5,k=this.W.flavor===\"fairplay\"||k?Tx:c2);this.L=k;this.T=new xg(this.element,this.W,this.wD);g.m(this,this.T);f6(this.W)&&(this.A5=new xg(this.element,this.W,this.wD),g.m(this,this.A5));g.m(this,this.Kg);k=this.element;this.W.keySystemAccess?this.Kg.Z(k,\"encrypted\",this.F26):V5(this.Kg,k,f6(this.W)?[\"msneedkey\"]:[\"needkey\",\"webkitneedkey\"],this.c9S);zBC(this);a:switch(k=this.W,W=this.zJ.experiments,Y=this.K,k.flavor){case \"fairplay\":NQ()>19.2999?(W=k.n4,k=k.U2,k>=W&&(k=W*.75),\nY=(W-k)*.5,k=new a1(Y,W,W-Y-k,this)):k=null;break a;case \"widevine\":k=new Wr(Y,this,W);break a;default:k=null}if(this.C=k)g.m(this,this.C),this.C.subscribe(\"rotated_need_key_info_ready\",this.TY,this),this.C.subscribe(\"log_qoe\",this.Ur,this);bP(this.zJ.experiments);this.Ur({cks:this.W.getInfo()})};\nd8q=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z\"}}]}};\n$y=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-ad-details-line\"},\"ad-details-line\",Y,k,P);this.W=[];this.hide()};\nky=function(W,Y){W=g.e(W.ph.values());for(var k=W.next();!k.done;k=W.next())if(k.value.layoutId===Y)return!0;return!1};\nm8C=function(W,Y){return new Pr(W.G,W.J,Y||W.W.reason)};\ngFX=function(W){D85(W,function(Y,k){Y=new URL(Y);Y.searchParams.set(\"format\",\"json\");var P=!1;try{P=op().navigator.sendBeacon(Y.toString(),k.WK())}catch(T){}P||(W.A5=!1);return P})};\nwOd=function(W,Y){var k=Y==null?void 0:Y.primary;W.J(0,k);k=k?FrS(k):void 0;W.J(2,k);W.J(1,Y==null?void 0:Y.secondary)};\ng.He=function(W){return W===\"EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT\"||W===\"EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT\"?!0:!1};\nylq=function(W,Y){W.timestampOffset>0&&(Y-=W.timestampOffset);var k=g.TO(W)+Y;Qk1(W,k);W.timestampOffset=Y};\nXQ=function(W){if(!W.Xr())if(W.K.length===0)W.callback(W.T);else{var Y=W.K[0],k=W.J[Y],P=eBC(W,k);if(j4&&j4.keySystem===Y&&j4.VWz===JSON.stringify(P))W.y5(\"remksa\",{re:!0}),oFd(W,k,j4.keySystemAccess);else{var T,I;W.y5(\"remksa\",{re:!1,ok:(I=(T=j4)==null?void 0:T.keySystem)!=null?I:\"\"});j4=void 0;navigator.requestMediaKeySystemAccess(Y,P).then(If(function(X){oFd(W,k,X,P)}),If(function(){W.C=!W.C&&W.J[W.K[0]].flavor===\"widevine\";\nW.C||W.K.shift();XQ(W)}))}}};\npi=function(W,Y){var k=k===void 0?0:k;var P;return(P=S4(Yn(W,Y)))!=null?P:k};\nR1=function(W){var Y=\":\"+(hp.getInstance().W++).toString(36);return W+Y};\nRX=function(W){W.Kg||(W.Kg=(0,g.lj)(),g.AR(\"mb_s\",W.Kg,W.W))};\na8=function(W,Y){return yLX(W,Y||{},!1)};\nmp=function(){GS.apply(this,arguments);this.zW={Vs:function(){return[]}}};\nCCS=function(W,Y,k){k=k===void 0?{}:k;return vFS(W,Y,!0,k)};\nLrX=function(W){return new Promise(function(Y){setTimeout(Y,W)})};\nXX=function(W,Y){cI||a_ in W||R7z(W,HFd);W[a_]=Y};\nU8d=function(W){for(var Y,k=[];!(Y=W.next()).done;)k.push(Y.value);return k};\nlV2=function(W,Y,k,P,T,I){this.displayName=W;this.vssId=Y;this.languageCode=k;this.kind=P===void 0?\"\":P;this.xtags=T===void 0?\"\":T;this.id=I===void 0?\"\":I};\nBr=function(W){this.h5=rT(W)};\nbev=function(W){if(W.csn!==g.Zu())if(W.csn===\"UNDEFINED_CSN\")W.csn=g.Zu();else{var Y=g.Zu(),k=g.iK();if(Y&&k){W.csn=Y;for(var P=g.e(W.elements),T=P.next();!T.done;T=P.next())(T=T.value.visualElement)&&T.isClientVe()&&Y&&k&&(g.dS(\"combine_ve_grafts\")?ze(rZ(),T,k):g.nT(g.M$)(void 0,Y,k,T))}if(Y)for(W=g.e(W.W),k=W.next();!k.done;k=W.next())(k=k.value.visualElement)&&k.isClientVe()&&g.Of(Y,k)}};\ncl0=function(W,Y){if(W.W){Y=Math.floor(Y*.4);Y=Math.max(Y,47);var k=Y+2;if(W.J!==k){W.J=k;W.K.height=k;W.W.clearRect(0,0,1,k);var P=W.W.createLinearGradient(0,2,0,2+Y),T=Y-42;P.addColorStop(0,\"rgba(0, 0, 0, 0)\");P.addColorStop(T/Y,\"rgba(0, 0, 0, 0.3)\");P.addColorStop(1,\"rgba(0, 0, 0, 0.68)\");W.W.fillStyle=P;W.W.fillRect(0,2,1,Y);W.element.style.height=k+\"px\";try{W.element.style.backgroundImage=\"url(\"+W.K.toDataURL()+\")\"}catch(I){}}}};\nx80=function(W){for(var Y=W.W,k=[],P=0;P1){for(var Y=[W[0]],k=1;k0?I[T-1]+1:0,P+1).reduce(function(X,h){return X+h},0)})};\nRf=function(W){return iH()?!MU(W):tp()?!(!W.GJ||!W.U(\"html5_enable_safari_fairplay\")&&qU()):!1};\nHr=function(W){return W.U(\"html5_live_head_playable\")&&c3(W)&&W.pg.A5===\"yt\"?W.isLiveHeadPlayable:W.isLivePlayback};\nbt=function(W,Y,k,P,T,I,X,h,B){I=I===void 0?!1:I;X=X===void 0?[]:X;B=B===void 0?!1:B;CC.call(this,W,{S:\"span\",Ya:[\"ytp-ad-hover-text-button\"].concat(X)},h===void 0?\"ad-hover-text-button\":h,Y,k,P);this.button=this.K=null;this.N=I;this.C=T;this.J=B;this.hide()};\nYPS=function(W){return typeof W.className==\"string\"?W.className:W.getAttribute&&W.getAttribute(\"class\")||\"\"};\nnK=function(W){if(!W.Wz)return{};var Y=W.Wz.iW(),k;Y.d=(k=W.Wz.TJ)==null?void 0:k.WK();Y.shost=W.xU;Y.ty=\"o\";return Y};\ngj=function(){return g.pK&&g.fF(\"version/\")};\n$5v=function(W,Y,k){W.W&&W.W.dispose();W.W=new g.fC(W.uuJ,Y,W);g.m(W,W.W);var P;Y=((P=k.KN)==null?void 0:P.trackingParams)||null;W.Y.setTrackingParams(W.element,Y);var T;var I,X;if(k==null?0:(I=k.KN)==null?0:(X=I.title)==null?0:X.content){var h;P=(T=k.KN)==null?void 0:(h=T.title)==null?void 0:h.content;var B,O;if((B=k.KN)==null?0:(O=B.bodyText)==null?0:O.content)P+=\" \\u2022 \";T=P}else T=\"\";var u,Z;k=((u=k.KN)==null?void 0:(Z=u.bodyText)==null?void 0:Z.content)||\"\";W.update({text:T+k,chevron:g.Gt()})};\ng.LT=function(W,Y,k){Y=Y===void 0?{}:Y;this.errorCode=W;this.details=Y;this.severity=k===void 0?0:k};\nkXd=function(W,Y,k){Y&&(W.p$=Y);k&&(W.Gl=k)};\nDw=function(W,Y){return GO(W,Y.slotType+\"_\"+Y.slotPhysicalPosition).get(Y.slotId)};\nFU=function(W){var Y=[{S:\"div\",Ya:[\"ytp-unmute-icon\"],B:[{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z\"}}]}]},\n{S:\"div\",Ya:[\"ytp-unmute-text\"],v6:\"Tap to unmute\"}];Y.push({S:\"div\",Ya:[\"ytp-unmute-box\"],B:[]});g.KK.call(this,W,{S:\"button\",Ya:[\"ytp-unmute\",\"ytp-popup\",\"ytp-button\",\"ytp-unmute-animated\",\"ytp-unmute-shrink\"],B:[{S:\"div\",j:\"ytp-unmute-inner\",B:Y}]},100);this.W=this.clicked=!1;this.api=W;this.api.createClientVe(this.element,this,51663);this.Z(W,\"onMutedAutoplayChange\",this.onMutedAutoplayChange,this);this.Z(W,\"presentingplayerstatechange\",this.OA);this.listen(\"click\",this.onClick,this);W=W.isMutedByMutedAutoplay()&&\n!g.hN(this.api.V());this.b8(W);W&&PNz(this);this.J=W};\nTe1=function(W,Y,k,P,T,I,X){var h=Tb(W.K.get(),Y);return Ef(W,h,Y,new Zq(W.W,T,[\"normal\"]),[new Zp(W.W,k),new Jp(W.W,h),new Zq(W.W,P,[\"error\"])],I,X)};\nC81=function(W,Y,k,P,T){this.T=W;this.C=Y;this.W=k;this.K=P;this.J=T};\nX85=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t){Y=jy1(W,Y,k,T,I,h,B,O,u,Z,M,t);if(Y instanceof l)return Y;W=IS5(W,k,I,X,P,h.t9,Y);return W instanceof l?W:W.I6.concat(W.Q3)};\nSPS=function(){return!!(window.MediaSource||window.ManagedMediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)};\nCU=function(W){if(!(this instanceof CU))return new CU(W);W=this.options=K6.assign({level:-1,method:8,chunkSize:16384,EM:15,GJq:8,strategy:0,to:\"\"},W||{});W.raw&&W.EM>0?W.EM=-W.EM:W.Rf&&W.EM>0&&W.EM<16&&(W.EM+=16);this.err=0;this.msg=\"\";this.ended=!1;this.chunks=[];this.kh=new hb0;this.kh.Lq=0;var Y=this.kh;var k=W.level,P=W.method,T=W.EM,I=W.GJq,X=W.strategy;if(Y){var h=1;k===-1&&(k=6);T<0?(h=0,T=-T):T>15&&(h=2,T-=16);if(I<1||I>9||P!==8||T<8||T>15||k<0||k>9||X<0||X>4)Y=Is(Y,-2);else{T===8&&(T=9);\nvar B=new BeV;Y.state=B;B.kh=Y;B.wrap=h;B.JY=null;B.Qe=T;B.uY=1<>=7;I<30;I++)for(Ap[I]=X<<7,T=0;T<1<=O.uY&&(Y===0&&(Vk(O.head),O.Sr=0,O.U3=0,O.b_=0),k=new K6.jB(O.uY),K6.ys(k,I,X-O.uY,O.uY,0),I=k,X=O.uY);k=W.tf;P=W.O7;T=W.input;W.tf=X;W.O7=0;W.input=I;for(w5(O);O.B7>=3;){I=O.Sr;X=O.B7-2;do O.Rk=(O.Rk<0&&W.X--)};\nQc=function(W,Y){Y=W.pos+Y;if(!(W.W.length>=Y)){for(var k=W.W.length*2;k0&&!V&&!y?(F.length===2&&(F=[\"noreferrer\"]),g.qu(t,G,M,F[0]),t=Kd5()):(E=A.join(\",\"),LK()&&t.navigator&&t.navigator.standalone&&M&&M!=\"_self\"?(E=g.sF(\"A\"),g.Uf(E,G),E.target=M,z&&(E.rel=\"noreferrer\"),((q=q.attributionsrc)||q===\"\")&&E.setAttribute(\"attributionsrc\",q),q=document.createEvent(\"MouseEvent\"),\nq.initMouseEvent(\"click\",!0,!0,t,1),E.dispatchEvent(q),t=Kd5()):z?(t=g.qu(t,\"\",M,E),q=g.QB(G),t&&(t.opener=null,q===\"\"&&(q=\"javascript:''\"),q='',q=tU(q),(G=t.document)&&G.write&&(G.write(lH(q)),G.close()))):((t=g.qu(t,G,M,E))&&q.noopener&&(t.opener=null),t&&q.noreferrer&&(t.opener=null)));t&&(t.opener||(t.opener=window),t.focus());Z.preventDefault()}}}(T));\nT.RM.addOnDisposeCallback(g.nt(W.tooltip,T.RM.element));h===\"Facebook\"?W.api.createClientVe(T.RM.element,T.RM,164504):h===\"Twitter\"&&W.api.createClientVe(T.RM.element,T.RM,164505);W.Z(T.RM.element,\"click\",function(u){return function(){W.api.logClick(u.RM.element)}}(T));\nW.api.logVisibility(T.RM.element,!0);W.J.push(T.RM);P++}}var B=Y.more||Y.moreLink,O=new g.c({S:\"a\",Ya:[\"ytp-share-panel-service-button\",\"ytp-button\"],B:[{S:\"span\",j:\"ytp-share-panel-service-button-more\",B:[{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 38 38\",width:\"100%\"},B:[{S:\"rect\",D:{fill:\"#fff\",height:\"34\",width:\"34\",x:\"2\",y:\"2\"}},{S:\"path\",D:{d:\"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z\",\nfill:\"#4e4e4f\",\"fill-rule\":\"evenodd\"}}]}]}],D:{href:B,target:\"_blank\",title:\"More\"}});O.listen(\"click\",function(u){var Z=B;W.api.logClick(W.moreButton.element);Z=EuC(W,Z);g.bH(Z,W.api,u)&&W.api.Ri(\"SHARE_CLICKED\")});\nO.addOnDisposeCallback(g.nt(W.tooltip,O.element));W.api.createClientVe(O.element,O,164506);W.Z(O.element,\"click\",function(){W.api.logClick(O.element)});\nW.api.logVisibility(O.element,!0);W.J.push(O);W.moreButton=O;W.updateValue(\"buttons\",W.J)};\ncr=function(W){this.value=W};\ng.cj=function(W){W.OP=W.W.length-1;W.K1=0;syv(W,!0)&&syv(W,!1);for(var Y=0,k=0;k=0;P--)if(W.W[P].width>0){fK(W.W[P],0);var T=Math.floor(W.W[P].width);W.W[P].width=T;iP(W.W[P],T+\"px\");break}W.W[k].width=0;iP(W.W[k],\"0\")}else k===W.W.length-1?(P=Math.floor(W.W[k].width+Y),W.W[k].width=P,iP(W.W[k],P+\"px\")):(Y=W.W[k].width+Y,P=Math.round(Y),Y-=P,W.W[k].width=P,iP(W.W[k],P+\"px\"));k=0;if(W.T.length===W.W.length)for(Y=0;Y<\nW.T.length;Y++)P=W.W[Y].width,W.T[Y].element.style.width=P+\"px\",W.T[Y].element.style.left=k+\"px\",k+=P+Vc(W);W.api.U(\"delhi_modern_web_player\")&&(W.W.length===1?W.W[0].K.classList.add(\"ytp-progress-bar-start\",\"ytp-progress-bar-end\"):(W.W[0].K.classList.remove(\"ytp-progress-bar-end\"),W.W[0].K.classList.add(\"ytp-progress-bar-start\"),W.W[W.W.length-1].K.classList.add(\"ytp-progress-bar-end\")))};\nrj0=function(W,Y){if(dk(W.W,Y)&&mF(Dw(W.W,Y))&&gk(W.W,Y)&&!F4(W.W,Y)){var k;W.H7.Ae(\"ADS_CLIENT_EVENT_TYPE_ENTER_LAYOUT_REQUESTED\",Y,(k=gk(W.W,Y))!=null?k:void 0);W=Dw(W.W,Y);W.W!==\"entered\"&&wk(W.slot,W.W,\"enterLayoutForSlot\");W.W=\"rendering\";W.J.startRendering(W.layout)}};\nzbv=function(){this.W=new AjS;this.K=\"https://jnn-pa.googleapis.com\".replace(/\\/+$/,\"\")};\nd52=function(W,Y){var k=W[Y];k!==void 0&&k>0&&(W[Y]=Math.floor(k*1E3))};\ng.z0=function(W,Y,k){var P=W.length,T=typeof W===\"string\"?W.split(\"\"):W;for(--P;P>=0;P--)if(P in T&&Y.call(k,T[P],P,W))return P;return-1};\nNU=function(W){W||(W=document.location.href);W=g.rM(W)[1]||null;return W!==null&&W===\"https\"};\nZ0=function(W){this.W=W};\naf=function(W){this.value=W};\njV=function(W){return W.keySystem===\"com.youtube.fairplay\"};\nY1=function(){var W=g.o3(\"yt.logging.ims\");W||(W=new WT,g.qa(\"yt.logging.ims\",W));return W};\nm50=function(W,Y){var k=1;W.isTrusted===!1&&(k=0);V1(\"ISDSTAT\",k);$1(k,\"i.s_\",{triggerContext:\"sk\",metadata:Y});return k};\nk1=function(W){var Y=!!W.u8&&W.api.getPresentingPlayerType()!==2,k=W.clipStart,P=W.clipEnd,T=!0,I=!0;Y&&W.u8?(k=W.u8.startTimeMs/1E3,P=W.u8.endTimeMs/1E3):(T=k>W.J.K,I=W.J.W>0&&P=0&&(I.substring(0,5)===\")]}'\\n\"&&(I=I.substring(5)),T=JSON.parse(I));break;case \"XML\":if(W=(W=k.responseXML)?w8d(W):null)T={},g.hv(W.getElementsByTagName(\"*\"),function(X){T[X.tagName]=uG1(X)})}P&&Qyz(T);\nreturn T};\ng.gD=function(W,Y,k,P,T,I,X){T=T===void 0?\"\":T;I=I===void 0?!1:I;X=X===void 0?!1:X;if(W)if(k&&!g.xQ())PL(new g.M6(\"Legacy referrer-scrubbed ping detected\")),W&&ebv(W,void 0,{scrubReferrer:!0});else if(T)h_(W,Y,\"POST\",T,P);else if(g.o_(\"USE_NET_AJAX_FOR_PING_TRANSPORT\",!1)||P||X)h_(W,Y,\"GET\",\"\",P,void 0,I,X);else{b:{try{c:{var h=new ou5({url:W});if(h.W.dsh===\"1\")var B=null;else{var O=h.W.ae;if(O===\"1\"){var u=h.W.adurl;if(u)try{B={version:3,gg:decodeURIComponent(u),HY:BT(h.K,\"act=1\",\"ri=1\",wsq(h))};\nbreak c}catch(t){}}B=O===\"2\"?{version:4,gg:BT(h.K,\"dct=1\",\"suid=\"+h.J,\"\"),HY:BT(h.K,\"act=1\",\"ri=1\",\"suid=\"+h.J)}:null}}if(B){var Z=e6(W);var M=!(!Z||!Z.endsWith(\"/aclk\")||rp(W,\"ri\")!==\"1\");break b}}catch(t){}M=!1}M?vuS(W)?(Y&&Y(),k=!0):k=!1:k=!1;k||ebv(W,Y)}};\ng.L=function(W,Y,k){W.W=k;return{value:Y}};\nOl=function(W,Y){return!W.api.isInline()&&!CNF(W,zw(Y))&&g.CK(Y)};\nLdF=function(){this.next=this.context=this.K=this.J=this.W=null;this.T=!1};\nU5d=function(){var W=[\"metadata_type_action_companion_ad_renderer\",\"metadata_type_linked_player_bytes_layout_id\"];Nd().forEach(function(Y){W.push(Y)});\nreturn{ya:W,EV:[\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\"]}};\ng.lSq=function(){return g.xQ()&&(g.fF(\"ps4 vr\")||g.fF(\"ps4 pro vr\"))};\nbJ0=function(){var W=JC,Y=sp;Y&2147483648?GZ()?W=\"\"+(BigInt(Y|0)<>>0)):(Y=g.e(ri(W,Y)),W=Y.next().value,Y=Y.next().value,W=\"-\"+Ev(W,Y)):W=Ev(W,Y);return W};\ncjF=function(W){var Y=g.tB(W);var k=(k=g.Ke(Y,0,1936286840))?k.data.getUint32(k.dataOffset+8):NaN;isNaN(k)&&(W=W.info.W.W,k=(Y=g.Ke(Y,0,1836476516))?g.Es(Y):W?Jl(W):NaN);return k};\nx5v=function(W,Y){var k=[];Y?Y.isTrusted===!0?k.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_TRUSTED\"):Y.isTrusted===!1?k.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_NOT_TRUSTED\"):k.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_TRUSTED_PROPERTY_UNDEFINED\"):k.push(\"BISCOTTI_BASED_DETECTION_STATE_AS_SEEK_EVENT_UNDEFINED\");$1(0,\"a.s_\",{metadata:W,states:k});V1(\"ASDSTAT\",0)};\nuZ=function(W,Y,k){var P=P===void 0?800:P;var T=T===void 0?600:T;var I=document.location.protocol;W=mmz(I+\"//\"+W+\"/signin?context=popup\",\"feature\",Y,\"next\",I+\"//\"+location.hostname+\"/post_login\");fSX(W,k,P,T)};\ng.Zf=function(W,Y){var k=g.Zw();return k?k.publish.apply(k,arguments):!1};\niZ=function(W){return W.GJ&&W.isManifestless?W.isLiveHeadPlayable:W.isLive};\nV57=function(W,Y,k,P){k.EP.push.apply(k.EP,g.cp(P));if(Mn){k.s9.has(Y)||k.s9.set(Y,[]);var T;(T=k.s9.get(Y)).push.apply(T,g.cp(P))}else if(k.ue)for(W=g.e(P),Y=W.next();!Y.done;Y=W.next())k.ue.EP.push(Y.value);else{k.ue=new t_(W.l7,[].concat(g.cp(k.EP)));var I;((I=W.l7)==null?0:I.ww)&&g.m(W,k.ue)}};\nHT=function(W){pW||(qn?qn.kJ(W):(R9.push({type:\"ERROR\",payload:W}),R9.length>10&&R9.shift()))};\nNe5=function(){return new Promise(function(W){var Y=window;Y.ntpevasrs!==void 0?W(new n5(Y.ntpevasrs)):(Y.ntpqfbel===void 0&&(Y.ntpqfbel=[]),Y.ntpqfbel.push(function(k){W(new n5(k))}))})};\nKU=function(W){kn(W);W=Gu(W);KM(W)||(pZ(W),W=aSS(JC,sp));return W};\ng.p5=function(W){var Y=W.V(),k=g.sr||g.sT?{style:\"will-change: opacity\"}:void 0,P=Y.T,T=[\"ytp-modern-videowall-still\"];Y.K&&T.push(\"ytp-videowall-show-text\");g.c.call(this,{S:\"a\",Ya:T,D:{href:\"{{url}}\",target:P?Y.N:\"\",\"aria-label\":\"{{aria_label}}\",\"data-is-live\":\"{{is_live}}\",\"data-is-list\":\"{{is_list}}\",\"data-is-mix\":\"{{is_mix}}\"},B:[{S:\"div\",j:\"ytp-modern-videowall-still-image\",D:{style:\"{{background}}\"},B:[{S:\"span\",j:\"ytp-modern-videowall-still-info-duration\",v6:\"{{duration}}\"}]},{S:\"span\",j:\"ytp-modern-videowall-still-info\",\nD:{\"aria-hidden\":\"true\"},B:[{S:\"span\",j:\"ytp-modern-videowall-still-info-bg\",B:[{S:\"span\",j:\"ytp-modern-videowall-still-info-content\",D:k,B:[{S:\"span\",j:\"ytp-modern-videowall-still-info-title\",v6:\"{{title}}\"},{S:\"span\",j:\"ytp-modern-videowall-still-info-author\",v6:\"{{author_and_views}}\"},{S:\"span\",j:\"ytp-modern-videowall-still-info-live\",v6:\"Live\"}]}]}]},{S:\"span\",Ya:[\"ytp-modern-videowall-still-listlabel-regular\",\"ytp-modern-videowall-still-listlabel\"],D:{\"aria-hidden\":\"true\"},B:[{S:\"span\",j:\"ytp-modern-videowall-still-listlabel-icon\"},\n\"Playlist\",{S:\"span\",j:\"ytp-modern-videowall-still-listlabel-length\",B:[\" (\",{S:\"span\",v6:\"{{playlist_length}}\"},\")\"]}]},{S:\"span\",Ya:[\"ytp-modern-videowall-still-listlabel-mix\",\"ytp-modern-videowall-still-listlabel\"],D:{\"aria-hidden\":\"true\"},B:[{S:\"span\",j:\"ytp-modern-videowall-still-listlabel-mix-icon\"},\"Mix\",{S:\"span\",j:\"ytp-modern-videowall-still-listlabel-length\",v6:\" (50+)\"}]}]});this.suggestion=null;this.K=P;this.api=W;this.W=new g.x5(this);g.m(this,this.W);this.listen(\"click\",this.onClick);\nthis.listen(\"keypress\",this.onKeyPress);this.W.Z(W,\"videodatachange\",this.onVideoDataChange);W.createServerVe(this.element,this);this.onVideoDataChange()};\nK5=function(W,Y){Array.isArray(Y)&&(Y=Y.join(\" \"));Y===\"\"||Y==void 0?(G2||(Y={},G2=(Y.atomic=!1,Y.autocomplete=\"none\",Y.dropeffect=\"none\",Y.haspopup=!1,Y.live=\"off\",Y.multiline=!1,Y.multiselectable=!1,Y.orientation=\"vertical\",Y.readonly=!1,Y.relevant=\"additions text\",Y.required=!1,Y.sort=\"none\",Y.busy=!1,Y.disabled=!1,Y.hidden=!1,Y.invalid=\"false\",Y)),Y=G2,\"label\"in Y?W.setAttribute(\"aria-label\",Y.label):W.removeAttribute(\"aria-label\")):W.setAttribute(\"aria-label\",Y)};\nYjd=function(W){var Y=W.zn();Y.setPlaybackRate(W.zJ.T?1:Wg5(W,Number(g.GK(\"yt-player-playback-rate\"))||1));Y.cH(W.xE,W);Y.QN()};\ng.ik=function(W,Y,k){Y=El(W,Y,k);return Y<0?null:typeof W===\"string\"?W.charAt(Y):W[Y]};\nPud=function(W){var Y=g.Ed();if(W===\"Internet Explorer\"){if(yqX())if((W=/rv: *([\\d\\.]*)/.exec(Y))&&W[1])Y=W[1];else{W=\"\";var k=/MSIE +([\\d\\.]+)/.exec(Y);if(k&&k[1])if(Y=/Trident\\/(\\d.\\d)/.exec(Y),k[1]==\"7.0\")if(Y&&Y[1])switch(Y[1]){case \"4.0\":W=\"8.0\";break;case \"5.0\":W=\"9.0\";break;case \"6.0\":W=\"10.0\";break;case \"7.0\":W=\"11.0\"}else W=\"7.0\";else W=k[1];Y=W}else Y=\"\";return Y}var P=RegExp(\"([A-Z][\\\\w ]+)/([^\\\\s]+)\\\\s*(?:\\\\((.*?)\\\\))?\",\"g\");k=[];for(var T;T=P.exec(Y);)k.push([T[1],T[2],T[3]||void 0]);\nY=Md0(k);switch(W){case \"Opera\":if(dj())return Y([\"Version\",\"Opera\"]);if(FD()?J_(\"Opera\"):wY(\"OPR\"))return Y([\"OPR\"]);break;case \"Microsoft Edge\":if(FD()?0:wY(\"Edge\"))return Y([\"Edge\"]);if($Pv())return Y([\"Edg\"]);break;case \"Chromium\":if(sl())return Y([\"Chrome\",\"CriOS\",\"HeadlessChrome\"])}return W===\"Firefox\"&&iG()||W===\"Safari\"&&rw()||W===\"Android Browser\"&&k_q()||W===\"Silk\"&&wY(\"Silk\")?(Y=k[2])&&Y[1]||\"\":\"\"};\nDcX=function(W,Y,k,P){Y.durationMs=k;Y.vz=P;(P=W.TJ.get(Y.cpn))?P.Nv(k/1E3):W.P7({nop_d:Y.cpn})};\ng.z2=function(W){if(!W.length)return\"\";try{if(eD)return eD.decode(W);if(\"FetchInternal\"in window)return FetchInternal.decodeFromUTF8(W)}catch(X){}for(var Y=0,k=[],P=W.length;Y>10;I=56320|I&1023}A_[T++]=I}}I=String.fromCharCode.apply(String,A_);\nT<1024&&(I=I.substring(0,T));k.push(I)}return k.join(\"\")};\nTS2=function(W){function Y(X){X.getVideoData()&&W.updateVideoData(X.getVideoData())}\nfunction k(X,h){W.qB(X,h)}\nfunction P(){W.zP=new g.$F(0,0,0,0);W.Th=new g.$F(0,0,0,0)}\nfunction T(X){W.L1&&dw(W);mn(W)!==W.Vl&&W.resize();W.app.V().U(\"web_enable_smart_zoom\")&&W.HL&&(X.state.isPaused()?W.HL.pause():g.F7(X,8)&&W.HL.playState===\"paused\"&&W.HL.play())}\nvar I=W.app.Ii;I.addEventListener(\"initializingmode\",P);I.addEventListener(\"videoplayerreset\",Y);I.addEventListener(\"videodatachange\",k);I.addEventListener(\"presentingplayerstatechange\",T);W.addOnDisposeCallback(function(){I.removeEventListener(\"initializingmode\",P);I.removeEventListener(\"videoplayerreset\",Y);I.removeEventListener(\"videodatachange\",k);I.removeEventListener(\"presentingplayerstatechange\",T)})};\nj0F=function(W){W.mediaElement&&W.mediaElement.Y7()&&(W.Hq=(0,g.lj)());W.zJ.l3?g.LB(function(){nQ(W)},0):nQ(W)};\nIK5=function(){switch(p4q()){case \"hidden\":return 0;case \"visible\":return 1;case \"prerender\":return 2;case \"unloaded\":return 3;default:return-1}};\nDf=function(W){try{return o5(W)}catch(Y){return null}};\nSjz=function(W,Y,k,P){var T,I;return g.v(function(X){T=W.W();var h=new gw;h=Ck(h,1,W.cO);I=Ck(h,2,Y);h=X.return;var B=k.x_,O=W.cO,u=W.client;var Z=u.W;u=u.K+\"/$rpc/google.internal.waa.v1.Waa/GenerateIT\";var M=I,t=T||{},q=Xwz,G=void 0;G=G===void 0?{}:G;Z=CkF(Z,u,M,t,q,G);return h.call(X,B.call(k,\"g\",O,P,Z))})};\nD5z=function(W){var Y=W.As,k=W.s7,P=W.hg,T=W.hP;W.hg=void 0;W.hP=void 0;P!==void 0?P.hP=T:Y.Iw=T;if(T!==void 0)T.hg=P;else if(Y.rS=P,!ub(Y))for(W=Y.producers;W!==void 0;)W=D5z(W);return k};\nh$V=function(W,Y,k){var P=Y&128?0:-1,T=W.length,I;if(I=!!T)I=W[T-1],I=I!=null&&typeof I===\"object\"&&I.constructor===Object;var X=T+(I?-1:0);for(Y=Y&128?1:0;Y0&&(W.J=null,W.W.set(Ik(W,Y),g.N_(k)),W.K=W.K+k.length)};\nkZ=function(W,Y){return\"\"+W.getAsJson().veType+W.getAsJson().veCounter+Y};\nHQ2=function(W,Y,k){(0,g.hv)(W.J,function(P){var T=W.W;if(!P.W&&(P.J(Y,k),P.T())){P.W=!0;var I=P.K(),X=new jc;X.add(\"id\",\"av-js\");X.add(\"type\",\"verif\");X.add(\"vtype\",P.C);P=dU(trd);X.add(\"i\",P.W++);X.add(\"adk\",T);IH(X,I);T=new qj7(X);R$d(T)}})};\nsi=function(W,Y,k){k=k===void 0?{}:k;Y=Error.call(this,Y);this.message=Y.message;\"stack\"in Y&&(this.stack=Y.stack);this.code=W;this.metadata=k;this.name=\"RpcError\";Object.setPrototypeOf(this,this.constructor.prototype)};\nke=function(W,Y){if(W.T)if(W.videoData.isLivePlayback&&W.videoData.J&&!W.videoData.J.W&&W.mediaElement&&W.mediaElement.Tg()>0&&X_(W.mediaElement)>0&&(W.K=r2(W,W.K,!1)),Y=W.U(\"html5_pseudogapless_shorts_seek_to_next_start\")&&(Y==null?void 0:Y.seekSource)===60,!W.mediaElement||!n4C(W,Y))W.J9.start(750);else if(!isNaN(W.K)&&isFinite(W.K)&&(Y=W.GJ-(W.K-W.timestampOffset),!(Y===0||Math.abs(Y)<.005)))if(Y=W.mediaElement.getCurrentTime()-W.K,Math.abs(Y)<=W.V5||Math.abs(Y)<.005)pwd(W);else{if(W.videoData.AS)W.videoData.AS=\n!1;else if(!Hr(W.videoData)&&W.K>=W.M6()-.1){W.K=W.M6();W.T.resolve(W.M6());W.zJ.OR()&&W.W6.y5(\"setEndedInSeek\",{tgt:\"\"+W.K,maxst:\"\"+W.M6()});W.W6.XT();return}try{var k=W.K-W.timestampOffset;W.mediaElement.seekTo(k);W.A5.W=k;W.GJ=k;W.J=W.K;W.Kg=!1}catch(P){}}};\nG_v=function(W){W.J=!0;return W};\nKgF=function(W,Y,k){W=W.map(function(B){return YN(g.R(B.renderingContent,c4),!1)});\nvar P=W.map(function(B){return B.videoLengthSeconds}),T=P.map(function(B,O){return new $N(O,P)}),I=Y,X=k,h=[];\nW.forEach(function(B,O){X=Math.min(I+B.videoLengthSeconds*1E3,k);Sc(B.playerVars,T[O]);h.push({QM:B,GV:I,aq:X,lE:O,tE:T[O]});I=X});\nreturn h};\nfQ=function(W){return typeof W===\"object\"&&Array.isArray(W)};\nE41=function(W){var Y=W.provider.videoData.Zi,k=W.provider.videoData.kP,P=[10+Y,10,10,40+k-Y,40],T,I=(T=W.provider.videoData.getPlayerResponse())==null?void 0:T.playbackTracking,X=I==null?void 0:I.videostatsScheduledFlushWalltimeSeconds;T=I==null?void 0:I.videostatsDefaultFlushIntervalSeconds;if(!(X&&X.length>0&&T))return W.logger.info(\"Missing valid scheduled pings config \"+X+\" \"+T),P;Y=[X[0]+Y].concat(g.cp(X.slice(1).map(function(h,B){return h-X[B]})),[T+k-Y,\nT]);return Y.some(function(h){return h<0})?(W.logger.W(347111855,\"Neg vss scheduled pings \"+X+\" \"+T),P):Y};\ng.v=function(W){return G57(new uld(new Zk1(W)))};\nJ80=function(){};\nlP=function(){var W=window,Y=W.MSMediaKeys;tp()&&!Y&&(Y=W.WebKitMediaKeys);return Y&&Y.isTypeSupported?Y:null};\nVUV=function(W,Y){Y=W.W&&!Y;return W.dI||Y?new g.hf(new g.BC({DI2:W.dI,Rq:Y})):new g.hf};\ng.rj=function(W){g.D.call(this);this.K=W;this.W={}};\nT9=function(){this.J=new Set;this.K=new Set;this.T=new Map;this.client=void 0;this.csn=null};\ng.OM=function(W){if(W.data.getUint8(W.dataOffset)){var Y=W.data;W=W.dataOffset+4;Y=Y.getUint32(W)*4294967296+Y.getUint32(W+4)}else Y=W.data.getUint32(W.dataOffset+4);return Y};\ns0v=function(W,Y){W.C=Y;W.W=g.Vq(\"Custom ($CURRENT_CUSTOM_SPEED)\",{CURRENT_CUSTOM_SPEED:Y.toString()});Y=W.A5.map(uY);Y.unshift(W.W);W.K&&Y.push(W.K);W.oS(Y)};\nwwV=function(W){var Y=W.api.V(),k=r8C(Y);k=A8z(k);var P=k.Ld.bind(k);k.Ld=function(h){var B;return g.v(function(O){if(O.W==1)return g.L(O,P(h),2);B=O.K;W.api.y5(\"itr\",{});return O.return(B)})};\ntry{var T=z$V({TB:k,QV:{maxAttempts:5},N4:{Af:\"CLEn\",disable:Y.experiments.Nq(\"html5_web_po_disable_remote_logging\")||dPF.includes(g.TZ(Y.xf)||\"\"),rg:mP5(Y.experiments),bG:Y.experiments.Nq(\"wpo_gel_strz\")?function(h){var B=DPX.get(h);B||(B=new g40(h),B=new g.ZQ(B),DPX.set(h,B));return B}:void 0,\nxq5:W.U(\"wpo_dis_lfdms\")?0:1E3},qRD:g.Jx});var I=new zo({W5:T,TB:k,onError:g.Jx});Fg1(I.MC()).then(function(){W.W=!0;W.C.resolve()});\nW.U(\"html5_web_po_token_disable_caching\")||I.Yg(150);g.m(W,T);g.m(W,I);W.K=I}catch(h){g.Jx(h);var X;(X=T)==null||X.dispose()}};\nQ0V=function(W){this.W=W};\ny82=function(){return{ya:[\"metadata_type_instream_ad_player_overlay_renderer\",\"metadata_type_player_bytes_callback\",\"metadata_type_linked_player_bytes_layout_id\",\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"],EV:[\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\"]}};\nma=function(W,Y){var k=W.K;for(W.K=-1;W.pos+1<=W.W.totalLength;){k<0&&(k=DW(W));var P=k>>3,T=k&7;if(P===Y)return!0;if(P>Y){W.K=k;break}k=-1;switch(T){case 0:DW(W);break;case 1:W.pos+=8;break;case 2:P=DW(W);W.pos+=P;break;case 5:W.pos+=4}}return!1};\niY=function(W){this.value=W};\nShz=function(){this.W=void 0;this.K=!1;this.J=0;this.T=-1;this.C=\"tos\"};\ne$F=function(W,Y,k){var P=W.pF(Y,k);W.Kc=P;W.listeners.forEach(function(T){T.Ff(P)})};\no4V=function(W,Y,k){vT&&vT.measure&&(W.startsWith(\"measure_\")||(W=\"measure_\"+W),k?vT.measure(W,Y,k):Y?vT.measure(W,Y):vT.measure(W))};\nv4F=function(W,Y,k){Y.fg!==\"core\"&&W.H7.Ae(\"ADS_CLIENT_EVENT_TYPE_LAYOUT_RECEIVED\",Y,k,void 0)};\nCu2=function(W){return EY(W,0,\"gclid\",W.search(Ka))>=0||EY(W,0,\"gad_source\",W.search(Ka))>=0};\nGl=function(W,Y){if(!Y)return W;var k=W.indexOf(\"#\");k<0&&(k=W.length);var P=W.indexOf(\"?\");if(P<0||P>k){P=k;var T=\"\"}else T=W.substring(P+1,k);W=[W.slice(0,P),T,W.slice(k)];k=W[1];W[1]=Y?k?k+\"&\"+Y:Y:k;return W[0]+(W[1]?\"?\"+W[1]:\"\")+W[2]};\nMt=function(W){return{mu:Qx(W,1),Cv:Qx(W,2),seekSource:Qx(W,3)}};\nUPd=function(W,Y,k,P){Y=Y===void 0?!1:Y;k=k===void 0?!0:k;P=P===void 0?{}:P;var T={};W=g.e(W);for(var I=W.next();!I.done;I=W.next()){I=I.value;if(Y&&MediaSource&&MediaSource.isTypeSupported){var X=I.type;I.audio_channels&&(X=X+\"; channels=\"+I.audio_channels);if(!MediaSource.isTypeSupported(X)){P[I.itag]=\"tpus\";continue}}if(k||!I.drm_families||I.eotf!==\"smpte2084\"&&I.eotf!==\"arib-std-b67\"){X=void 0;var h={bt709:\"SDR\",bt2020:\"SDR\",smpte2084:\"PQ\",\"arib-std-b67\":\"HLG\"},B=I.type.match(/codecs=\"([^\"]*)\"/);\nB=B?B[1]:\"\";I.audio_track_id&&(X=new g.tf(I.name,I.audio_track_id,!!I.is_default));var O=I.eotf;I=new Lg2({itag:I.itag,url:I.url,codecs:B,width:Number(I.width),height:Number(I.height),fps:Number(I.fps),bitrate:Number(I.bitrate),audioItag:I.audio_itag,zF:O?h[O]:void 0,tY:I.drm_families,Ib:X,audioChannels:Number(I.audio_channels)});T[I.itag]=T[I.itag]||[];T[I.itag].push(I)}else P[I.itag]=\"enchdr\"}return T};\nZId=function(W,Y,k){for(var P=\"\",T=0;T8?is(W,W.Or):W.jS>0&&(W.OE[W.pending++]=W.Or);W.Or=0;W.jS=0};\ny1=function(W,Y){if(W)for(var k in W)Object.prototype.hasOwnProperty.call(W,k)&&Y(W[k],k,W)};\nIF=function(W){return new v9(W)};\nc8V=function(W,Y){if(W.W==0)if(W.J){var k=W.J;if(k.K){for(var P=0,T=null,I=null,X=k.K;X&&(X.T||(P++,X.W==W&&(T=X),!(T&&P>1)));X=X.next)T||(I=X);T&&(k.W==0&&P==1?c8V(k,Y):(I?(P=I,P.next==k.T&&(k.T=P),P.next=P.next.next):xP5(k),fK6(k,T,3,Y)))}W.J=null}else qt(W,3,Y)};\nNSS=function(W,Y){W.focus(Y);return Tz(W,Y,4)?VrV(W).getUint32(Y-W.J):256*(256*(256*TJ(W,Y)+TJ(W,Y+1))+TJ(W,Y+2))+TJ(W,Y+3)};\nRH=function(W,Y){W.W=Y;g.qa(\"yt.gcf.config.coldConfigGroup\",W.W||null)};\naKz=function(W,Y,k,P,T,I,X){X===\"PLAY_PROGRESS\"&&(k=!P||W.api.V().K?1:k/P,W.LH.clientWidth>0||W.DY.clientWidth>0?(I=Y.clientWidth/k,W=-1*W.LH.clientWidth/k):(I/=k,W=-1*W.W[T].element.offsetLeft/k),g.KX(Y,\"background-size\",I+\"px\"),g.KX(Y,\"background-position-x\",W+\"px\"))};\nEj=function(){return g.dS(\"idb_immediate_commit\")};\nHC=function(W,Y){Y=vj(Y);return Y===0?0:vj(W)/Y};\nuY=function(W){return W.toString()};\nWpF=function(W){return new jn(W.top,W.right,W.bottom,W.left)};\nnY=function(W){g.KK.call(this,W,{S:\"div\",j:\"ytp-overflow-panel\",D:{id:wL(),role:\"dialog\"},B:[{S:\"div\",j:\"ytp-overflow-panel-content\",B:[{S:\"div\",j:\"ytp-overflow-panel-action-buttons\",v6:\"{{buttons}}\"}]},{S:\"button\",Ya:[\"ytp-overflow-panel-close\",\"ytp-button\"],D:{\"data-tooltip-title\":\"Close\",title:W.V().U(\"player_tooltip_data_title_killswitch\")?\"Close\":\"\"},B:[g.xe()]}]},250);this.actionButtons=[];this.W=this.J5(\"ytp-overflow-panel-content\");this.closeButton=this.J5(\"ytp-overflow-panel-close\");this.Z(this.closeButton,\n\"click\",this.n1);pt(W,this.closeButton,this);this.listen(\"click\",this.qp);this.Z(W,\"videoplayerreset\",this.hide);this.Z(W,\"fullscreentoggled\",this.onFullscreenToggled);this.hide()};\npY=function(){return{S:\"svg\",D:{fill:\"none\",height:\"36\",viewBox:\"0 0 36 36\",width:\"36\"},B:[{S:\"path\",D:{d:\"M 17 8.6 L 10.89 4.99 C 9.39 4.11 7.5 5.19 7.5 6.93 C 7.5 6.93 7.5 6.93 7.5 6.93 L 7.5 29.06 C 7.5 30.8 9.39 31.88 10.89 31 C 10.89 31 10.89 31 10.89 31 L 17 27.4 C 17 27.4 17 27.4 17 27.4 C 17 27.4 17 27.4 17 27.4 L 17 8.6 C 17 8.6 17 8.6 17 8.6 C 17 8.6 17 8.6 17 8.6 Z M 17 8.6 L 17 8.6 C 17 8.6 17 8.6 17 8.6 C 17 8.6 17 8.6 17 8.6 V 27.4 C 17 27.4 17 27.4 17 27.4 C 17 27.4 17 27.4 17 27.4 L 33 18 C 33 18 33 18 33 18 C 33 18 33 18 33 18 V 18 L 17 8.6 C 17 8.6 17 8.6 17 8.6 C 17 8.6 17 8.6 17 8.6 Z\",\nfill:\"white\"}}]}};\nGs=function(W,Y){return W?Y?decodeURI(W.replace(/%25/g,\"%2525\")):decodeURIComponent(W):\"\"};\nYYv=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z\"}}]}};\n$l0=function(W){for(var Y=0,k=0;k=((u=k.video)==null?void 0:u.height)){O=!1;break a}}O=!0}O&&(O=k.itag,Y=X?X:{itag:O,lz:Y,xH:I},I?Y.numChannels=k.audio.numChannels:(I=k.video,Y.maxWidth=I==null?void 0:I.width,Y.maxHeight=I==null?void 0:I.height,Y.maxFramerate=T,LZ(W,Up.BITRATE)&&(Y.maxBitrateBps=k.c6*\n8),Y.PE=I==null?void 0:I.isHdr()),W.W.set(P,Y))};\nAf=function(W){this.value=W};\nXAS=function(W,Y){W.started&&(W.sync(),g.p(Y.oldState,16)&&(Y=d_S(W.W,Math.max(W.J-2E3,0)),!isNaN(Y)&&Y<0x7ffffffffffff&&W.T.start()))};\nDS6=function(){zc==null&&(zc=new d6);return zc};\nwY=function(W){return g.eR(g.Ed(),W)};\nvK1=function(W){RH(W,g.o_(\"RAW_COLD_CONFIG_GROUP\"));OG(W,g.o_(\"SERIALIZED_COLD_HASH_DATA\"));var Y;SY2(W,(Y=W.W)==null?void 0:Y.configData)};\nhfd=function(W){return W.U(\"html5_onesie_host_probing\")||W.qv?KB:!1};\nOaC=function(W,Y){g.D.call(this);if(!Y&&W)try{Y=JSON.parse(W)}catch(T){}if(Y){W=Y.clientKey?Df(Y.clientKey):null;var k=Y.encryptedClientKey?Df(Y.encryptedClientKey):null,P=Y.keyExpiresInSeconds?Number(Y.keyExpiresInSeconds)*1E3+(0,g.lj)():null;W&&k&&P&&(this.W=new Byq(W,k,P),g.m(this,this.W));Y.onesieUstreamerConfig&&(this.onesieUstreamerConfig=Df(Y.onesieUstreamerConfig)||void 0);this.baseUrl=Y.baseUrl}};\ng.mW=function(W,Y){typeof W===\"function\"&&(W=g.nT(W));return window.setInterval(W,Y)};\nuTq=function(W){W.N=W.C.length?Wk(W.C,function(Y){return Y.GX()}):!1};\nZav=function(W){W=new DQ(W.data,W.offset,W.size,W.type,W.K);var Y=nx(W);W.skip(7);var k=g6(W);if(Y===0){Y=g6(W);var P=g6(W)}else Y=DE(W),P=DE(W);W.skip(2);for(var T=F_(W),I=[],X=[],h=0;h(Y==null?void 0:Y.maxWidth)||(W==null?void 0:W.maxHeight)>(Y==null?void 0:Y.maxHeight)};\ntKS=function(W){var Y=window;Y.ywc&&delete Y.ywc[W]};\nqYV=function(W){g.c.call(this,{S:\"div\",j:\"ytp-gated-actions-overlay\",B:[{S:\"div\",j:\"ytp-gated-actions-overlay-background\",B:[{S:\"div\",j:\"ytp-gated-actions-overlay-background-overlay\"}]},{S:\"button\",Ya:[\"ytp-gated-actions-overlay-miniplayer-close-button\",\"ytp-button\"],D:{\"aria-label\":\"Close\"},B:[g.xe()]},{S:\"div\",j:\"ytp-gated-actions-overlay-bar\",B:[{S:\"div\",j:\"ytp-gated-actions-overlay-text-container\",B:[{S:\"div\",j:\"ytp-gated-actions-overlay-title\",v6:\"{{title}}\"},{S:\"div\",j:\"ytp-gated-actions-overlay-subtitle\",\nv6:\"{{subtitle}}\"}]},{S:\"div\",j:\"ytp-gated-actions-overlay-button-container\"}]}]});var Y=this;this.api=W;this.background=this.J5(\"ytp-gated-actions-overlay-background\");this.K=this.J5(\"ytp-gated-actions-overlay-button-container\");this.W=[];this.Z(this.J5(\"ytp-gated-actions-overlay-miniplayer-close-button\"),\"click\",function(){Y.api.Ri(\"onCloseMiniplayer\")});\nthis.hide()};\nRfd=function(W){var Y;return g.v(function(k){if(k.W==1){if(!W.W5.wpc)throw new Uo(30,\"NWA\");return W.W?k.return(W.W):g.L(k,W.W5.wpc(),2)}Y=k.K;W.W=new $K(Y);return k.return(W.W)})};\ng.lY=function(W,Y,k){g.ML(W.element,\"ytp-suggestion-set\",!!Y.videoId);var P=Y.playlistId;k=Y.Ss(k?k:\"mqdefault.jpg\");var T=null,I=null;Y instanceof W4&&(Y.lengthText?(T=Y.lengthText||null,I=Y.y3||null):Y.lengthSeconds&&(T=g.N8(Y.lengthSeconds),I=g.N8(Y.lengthSeconds,!0)));var X=!!P;P=X&&UM(P).type===\"RD\";var h=Y instanceof W4?Y.isLivePlayback:null,B=Y instanceof W4?Y.isUpcoming:null,O=Y.author,u=Y.shortViewCount,Z=Y.publishedTimeText,M=[],t=[];O&&M.push(O);u&&(M.push(u),t.push(u));Z&&t.push(Z);k=\n{title:Y.title,author:O,author_and_views:M.join(\" \\u2022 \"),aria_label:Y.ariaLabel||g.Vq(\"Watch $TITLE\",{TITLE:Y.title}),duration:T,timestamp:I,url:Y.md(),is_live:h,is_upcoming:B,is_list:X,is_mix:P,background:k?\"background-image: url(\"+k+\")\":\"\",views_and_publish_time:t.join(\" \\u2022 \"),autoplayAlternativeHeader:Y.rk};Y instanceof Xp&&(k.playlist_length=Y.playlistLength);W.update(k)};\nbY=function(W,Y,k,P){Y in W.W||(k=new g.Mm(k,P,{id:Y,priority:2,namespace:\"appad\"}),W.api.Bz([k],1),W.W[Y]=k)};\nKpq=function(W,Y,k){try{if(W.Xr())throw new Uo(21,\"BNT:disposed\");if(!W.W&&W.K)throw W.K;var P,T;return(T=(P=O_v(W,Y,k))!=null?P:HaF(W,Y,k))!=null?T:njX(W,Y,k)}catch(I){if(!Y.oG)throw pAC(W,I);return GN7(W,k,I)}};\nEjd=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next()){k=k.value;a:switch(Dw(W.W,k.slot).T){case \"not_filled\":var P=!0;break a;default:P=!1}P&&(W.H7.P4(\"ADS_CLIENT_EVENT_TYPE_FULFILL_SLOT_REQUESTED\",k.slot),W.W.oY(k.slot))}};\ncC=function(W){if(W.W===\"fulfilled\"){var Y=W.K;W.K=[];W.J=[];Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next())k=k.value,k(W.result)}else if(W.W===\"rejected\")for(Y=W.J,W.K=[],W.J=[],Y=g.e(Y),k=Y.next();!k.done;k=Y.next())k=k.value,k(W.error)};\nWP=function(W,Y,k,P){tr.call(this,W);this.T=Y;this.X=k;this.W=\"m\";this.K=\"x\";this.C=0;qC(this,P)};\nxB=function(W,Y){return W[Y+0]+(W[Y+1]<<8)+(W[Y+2]<<16)+(W[Y+3]<<24)};\nTu=function(W,Y){var k=AQ(W);return k.defaultView&&k.defaultView.getComputedStyle&&(W=k.defaultView.getComputedStyle(W,null))?W[Y]||W.getPropertyValue(Y)||\"\":\"\"};\ng.uF=function(W,Y){return Rd[S[14]](this,71,W,Y)};\nsBF=function(W,Y){var k;((k=window.performance)==null?0:k.getEntriesByName)&&(Y=performance.getEntriesByName(Y))&&Y.length&&(Y=Y[0],W.pedns=(Y.domainLookupEnd-Y.startTime).toFixed(),W.pecon=(Y.connectEnd-Y.domainLookupEnd).toFixed(),W.perqs=(Y.requestStart-Y.connectEnd).toFixed(),JI1&&(W.perqsa=Y.requestStart+(performance.timeOrigin||performance.timing.navigationStart)))};\nrIX=function(W,Y){W.array=W.array.filter(function(k){return!Y.has(k)})};\nfY=function(W,Y,k,P){var T=k.IV;W[Y]=P?function(I,X,h){return T(I,X,h,P)}:T};\nAIS=function(W){V8(W,4,!1);W.G&&(W.W.nH(W.G),W.G=null,W.J=W.W.Z(W.target,\"mouseover\",W.YX));W.J&&(W.W.nH(W.J),W.J=W.W.Z(W.target,\"mouseover\",W.YX))};\nj9=function(W){return Array.prototype.slice.call(W)};\nzfq=function(W,Y){if(W.disable)return new Nt;Y=Y?iNF(Y):[];W={Af:W.Af,Pp:W.rg,yJ:W.xq5,hU:W.hU,UO:W.UO,bG:W.bG};Y=Y===void 0?[]:Y;return new aH(W,Y)};\nKW=function(){var W;return(W=Gf())==null?void 0:W.get(\"LAST_RESULT_ENTRY_KEY\",!0)};\nlid=function(W){W.menuItem||(W.menuItem=new Wv(W.api,function(Y){W.setVoiceBoostUserPreference(Y)},function(){return W.getVoiceBoostUserPreference()},function(){return W.hasVoiceBoostAudioTrack()},function(){return W.getVoiceBoostState()}),g.m(W,W.menuItem))};\ndld=function(){this.W=new F5q};\nPu=function(W,Y,k){if(k!=null){if(!YD(k))throw ka(\"enum\");k|=0}return XA(W,Y,k)};\ng.eR=function(W,Y){return W.indexOf(Y)!=-1};\nkD=function(W){return W===void 0?W:Number(W)?$D(W,3):0};\nml6=function(W,Y,k,P){sJ.call(this,\"video-interstitial-buttoned-centered\",W,Y,k,P);this.interactionLoggingClientData=P};\ng.Dlz=function(){var W;return(W=(W=g.o3(\"yt.aba.att2\"))?W:Pv.instance!==void 0?Pv.instance.T.bind(Pv.instance):null)?W():Promise.resolve(!1)};\ngjX=function(W){this.Y=W};\nyI=function(W){this.value=W};\nTn=function(W){return W&&W.baseUrl||\"\"};\njt=function(W,Y){W instanceof String&&(W+=\"\");var k=0,P=!1,T={next:function(){if(!P&&k=0&&Y.W.set(\"user_intent\",[Y.J.toString()]),Y.G=!0);Y.provider.zJ.OR()&&Y.y5(\"finalized\",{});Y.TJ=!0;Y.reportStats(k)}}if(W.provider.videoData.enableServerStitchedDai)for(Y=g.e(W.J.values()),k=Y.next();!k.done;k=Y.next())HP(k.value);else W.W&&HP(W.W);W.dispose()};\ng.Oi=function(W,Y,k){g.D.call(this);this.T=k!=null?W.bind(k):W;this.z9=Y;this.J=null;this.W=!1;this.K=0;this.kq=null};\noj2=function(W,Y,k,P,T){var I=Tb(W.K.get(),\"SLOT_TYPE_AD_BREAK_REQUEST\");P=[new hA({getAdBreakUrl:P.getAdBreakUrl,vD:0,K5:0}),new Bv(!0)];W=Y.pauseDurationMs?Y.lactThresholdMs?{slotId:I,slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\",slotPhysicalPosition:2,slotEntryTrigger:new $d(W.W,I),slotFulfillmentTriggers:[new efq(W.W)],slotExpirationTriggers:[new Zp(W.W,T),new Jp(W.W,I)],fg:\"core\",clientMetadata:new i_(P),adSlotLoggingData:k}:new l(\"AdPlacementConfig for Pause Ads is missing lact_threshold_ms\"):new l(\"AdPlacementConfig for Pause Ads is missing pause_duration_ms\");\nreturn W instanceof l?W:[W]};\ng.O6=function(W){this.name=W};\nC$2=function(W,Y,k){var P;if(P=W.policy.qY&&W.j1&&!W.j1.L&&!W.W6.ez())Y=Y.info.W.info,P=Y.pN()&&b_(Y)&&Y.video&&Y.video.width<3840&&Y.video.width>Y.video.height;if(P&&(W.j1.L=!0,uE('video/webm; codecs=\"vp09.00.50.08.01.01.01.01.00\"; width=3840; height=2160')))return k=vj2(k),W.policy.J&&W.y5(\"sp4k\",{s:!!k}),k};\nOs=function(W,Y,k,P,T,I,X,h){this.W=W;this.G=Y;this.J=k;this.C=P;this.T=T;this.X=I;this.K=X;this.L=h};\nZt=function(){return g.fF(\"android\")&&g.fF(\"chrome\")&&!(g.fF(\"trident/\")||g.fF(\"edge/\"))&&!g.fF(\"cobalt\")};\ne71=function(W){return Lp0(Object.assign({},W,{JE:W.callback,rX:function(){}}))};\nUld=function(W){switch(W){case \"LAYOUT_EXIT_REASON_UNSPECIFIED\":return\"unknown\";case \"LAYOUT_EXIT_REASON_NORMAL\":return\"normal\";case \"LAYOUT_EXIT_REASON_ERROR\":return\"error\";case \"LAYOUT_EXIT_REASON_USER_SKIPPED\":return\"skipped\";case \"LAYOUT_EXIT_REASON_USER_MUTED\":return\"muted\";case \"LAYOUT_EXIT_REASON_ABANDONED\":return\"abandoned\";case \"LAYOUT_EXIT_REASON_USER_INPUT_SUBMITTED\":return\"user_input_submitted\";case \"LAYOUT_EXIT_REASON_USER_CANCELLED\":return\"user_cancelled\";default:return new l(\"Invalid layout exit reason: \"+\nW)}};\nMZ=function(W,Y,k,P,T,I,X){var h=W.rb,B=W.z2;W=W.pKD;var O=h!==void 0&&B!==void 0,u=P.getVideoData(),Z,M=Y.W.encryptedClientKey;Y=O?Y.iv:void 0;O=vy(k.schedule,!0);T=T||!!SM()&&O>1572864;return{innertubeRequest:{J$1:W,mG:h,z2:B,encryptedClientKey:M,iv:Y,iuJ:!0,Xl:!0,Hn:\"DecompressionStream\"in window||!T,s7D:k.experiments.Nq(\"html5_use_jsonformatter_to_parse_player_response\")},a5:Ojq({pg:k,W6:P,fF:u.startSeconds*1E3}),onesieUstreamerConfig:I,C8:X,HB:iE(u),reloadPlaybackParams:(Z=u.YF)==null?void 0:\nZ.reloadPlaybackParams}};\nqZ=function(W){var Y=f_(W.W,tl,1);Y||(Y=new tl,tA(W,Y));W=Y;Y=f_(W,Qa,11);Y||(Y=new Qa,S2(W,Qa,11,Y));return Y};\nRL=function(W){this.X=W};\ng.LQ=function(W,Y){if(!Y)throw g.ks(\"openWithToken\",SC(W.name));return W.open()};\nI95=function(W){if(!W)return lg1||(lg1=new Pa(0,0));if(!/^\\d+$/.test(W))return null;AC(W);return new Pa(JC,sp)};\nbaV=function(W){W.N||(W.N=(0,g.lj)(),g.AR(\"arb_f\",W.N,W.W))};\ncI0=function(W,Y){W.botguardData=Y.playerAttestationRenderer.botguardData;Y=Y.playerAttestationRenderer.challenge;Y!=null&&(W.Ps=Y)};\nxlS=function(W){if(W.j1)if(W.logger.debug(\"release media source\"),W.Oo(),W.j1.C)try{W.zJ.OR()&&W.y5(\"rms\",{l:\"vprms\",sr:W.Jf(),rs:Hv(W.j1)});W.j1.clear();var Y;(Y=W.mediaElement)!=null&&(Y.K=W.j1);W.j1=null}catch(k){Y=new g.M6(\"Error while clearing Media Source in VideoPlayer: \"+k.name+\", \"+k.message),Y=BH(Y),W.handleError(Y),W.Fo()}else W.Fo()};\ndF=function(W,Y,k,P){Y=SC(Y);var T=W instanceof Error?W:Error(\"Unexpected error: \"+W);if(T instanceof g.rH)return T;W={objectStoreNames:k,dbName:Y,dbVersion:P};if(T.name===\"QuotaExceededError\")return new g.rH(\"QUOTA_EXCEEDED\",W);if(g.nV&&T.name===\"UnknownError\")return new g.rH(\"QUOTA_MAYBE_EXCEEDED\",W);if(T instanceof pV)return new g.rH(\"MISSING_INDEX\",Object.assign({},W,{objectStore:T.objectStore,index:T.index}));if(T.name===\"InvalidStateError\"&&fgd.some(function(I){return T.message.includes(I)}))return new g.rH(\"EXECUTE_TRANSACTION_ON_CLOSED_DB\",\nW);\nif(T.name===\"AbortError\")return new g.rH(\"UNKNOWN_ABORT\",W,T.message);T.args=[Object.assign({},W,{name:\"IdbError\",f_:T.name})];T.level=\"WARNING\";return T};\nhx2=function(W,Y){Y=Y===void 0?{}:Y;var k;return g.v(function(P){if(P.W==1)return g.L(P,g.BP(),2);if(P.W!=3){k=P.K;if(!k)return P.return();Gn(W);return g.L(P,my(W,Y),3)}return g.L(P,KV(W,k),0)})};\nJA=function(W,Y,k){k=k===void 0?!1:k;g.D.call(this);this.mediaElement=W;this.j1=Y;this.isView=k;this.X=0;this.T=!1;this.C=!0;this.N=0;this.callback=null;this.L=!1;this.j1||(this.I7=this.mediaElement.Tn());this.events=new g.x5(this);g.m(this,this.events);this.J=new E6(this.j1?window.URL.createObjectURL(this.j1):this.I7.webkitMediaSourceURL,!0);W=this.j1||this.I7;V5(this.events,W,[\"sourceopen\",\"webkitsourceopen\"],this.Hqr);V5(this.events,W,[\"sourceclose\",\"webkitsourceclose\"],this.Fyr);this.G={updateend:this.WI}};\nVKv=function(W){var Y=s6(W.G9().W,1);return ra(W,Y)};\nNyX=function(W){this.W=W;W.oM(\"/client_streamz/bg/po/cwsc\",g.im(\"su\"),g.im(\"mk\"))};\nag5=function(W,Y,k){return Y?Y.map(function(P){return P instanceof v9?AA(W,P.key,k,!0):AA(W,P,k)}):[]};\nda=function(){zn===void 0&&(zn=cv7());return zn};\nCL=function(W){var Y=W[Dt];if(Y!=null)return Y;var k=MF(Fi,fY,wa,W);Y=k.gG?function(P,T){return PD(P,T,k)}:function(P,T){for(;WSd(T)&&T.K!=4;){var I=T.J,X=k[I];\nif(X==null){var h=k.extensions;h&&(h=h[I])&&(h=Y5d(h),h!=null&&(X=k[I]=h))}if(X==null||!X(T,P,I)){h=T;X=h.T;Qu(h);if(h.Dc)var B=void 0;else{var O=h.W.W-X;h.W.W=X;B=OT1(h.W,O)}O=h=X=void 0;var u=P;B&&((X=(h=(O=u[yu])!=null?O:u[yu]=new rq)[I])!=null?X:h[I]=[]).push(B)}}if(P=et(P))P.JG=k.xd[$Rq];return!0};\nW[Dt]=Y;W[$Rq]=kHv.bind(W);return Y};\noL=function(W,Y){if(Y>268435455){Qc(W,4);for(var k=Y&1073741823,P=0;P<4;P++)W.view.setUint8(W.pos,k&127|128),k>>=7,W.pos+=1;Y=Math.floor(Y/268435456)}for(Qc(W,4);Y>127;)W.view.setUint8(W.pos,Y&127|128),Y>>=7,W.pos+=1;W.view.setUint8(W.pos,Y);W.pos+=1};\nvv=function(W,Y,k){W.playback.Js(Y,k)};\nRp=function(W){var Y=g.R(W,CV);if(Y)return Y;if((Y=g.R(W,PD6))&&Y.commands)return PQv(Y.commands);if((Y=g.R(W,Tjd))&&Y.commands)return PQv(Y.commands);if((W=g.R(W,jsd))&&W.identifier&&W.command&&(LV||(LV=[]),!LV.includes(W.identifier)))return LV.push(W.identifier),g.R(W.command,CV)};\nvO=function(W,Y){W=wr(W,Y);return W>=0?W-Y:0};\ngi=function(W){U6.call(this,!0);this.W=W};\nlE=function(W){return kW(W.layout.clientMetadata,\"METADATA_TYPE_INTERACTIONS_AND_PROGRESS_LAYOUT_COMMANDS\")};\nIe2=function(W){if(W.rS!==void 0){var Y=bE;bE=!0;try{for(var k=W.rS;k!==void 0;k=k.hg){var P=k.M7;P.TR||(W=void 0,P.TR=!0,Ie2(P),(W=P.Ay)==null||W.call(P,P))}}finally{bE=Y}}};\ncv=function(W){return W};\nxD=function(W){W.W||(W.W=new Map,W.K=0,W.J&&Ok(W.J,function(Y,k){W.add(JI(Y),k)}))};\nhW1=function(W,Y){var k,P,T,I,X,h,B;return g.v(function(O){if(O.W==1){k=g.fV();var u=W.V(),Z={context:g.Zx(W),playbackContext:{contentPlaybackContext:{ancestorOrigins:u.ancestorOrigins}}},M=u.getWebPlayerContextConfig();if(M==null?0:M.encryptedHostFlags)Z.playbackContext.contentPlaybackContext.encryptedHostFlags=M.encryptedHostFlags;if(M==null?0:M.hideInfo)Z.playerParams={showinfo:!1};M=u.embedConfig;var t=W.C4;var q=Y.docid||Y.video_id||Y.videoId||Y.id;if(!q){q=Y.raw_embedded_player_response;if(!q){var G=\nY.embedded_player_response;G&&(q=JSON.parse(G))}if(q){var E,z,A,F,y,U;q=((U=g.R((E=q)==null?void 0:(z=E.embedPreview)==null?void 0:(A=z.thumbnailPreviewRenderer)==null?void 0:(F=A.playButton)==null?void 0:(y=F.buttonRenderer)==null?void 0:y.navigationEndpoint,g.Yi))==null?void 0:U.videoId)||null}else q=null}E=(E=q)?E:void 0;z=W.playlistId?W.playlistId:Y.list;A=Y.listType;if(z){var V;A===\"user_uploads\"?V={username:z}:V={playlistId:z};XJq(M,t,E,Y,V,u.experiments);Z.playlistRequest=V}else Y.playlist?\n(V={templistVideoIds:Y.playlist.toString().split(\",\")},XJq(M,t,E,Y,V,u.experiments),Z.playlistRequest=V):E&&(V={videoId:E},t&&u.U(\"embeds_enable_per_video_embed_config\")?V.serializedThirdPartyEmbedConfig=t:M&&(V.serializedThirdPartyEmbedConfig=M),Z.singleVideoRequest=V);P=Z;T=g.y7(S55);g.Ta(O,2);return g.L(O,g.eh(k,P,T),4)}if(O.W!=2)return I=O.K,X=W.V(),Y.raw_embedded_player_response=I,X.gD=Vu(Y,g.hN(X)),X.J=X.gD===\"EMBEDDED_PLAYER_MODE_PFL\",I&&(h=I,h.trackingParams&&CX(h.trackingParams)),O.return(new g.NC(X,\nY));B=g.jh(O);B instanceof Error||(B=Error(\"b259802748\"));g.LH(B);return O.return(W)})};\naL=function(){var W=V2F();NZ||W===void 0||(NZ=new Worker(za(W),void 0));return NZ};\nBjz=function(W,Y){return W.X?W$(W.X.T,Y):W.TJ.length?W$(W.TJ,Y):[]};\nCKz=function(W,Y){if(W.qT){var k=W.qT.Mt();if(k.length!==0){if(W.J&&Y){var P=W.J,T=P.info.C;!YX(k,T)&&P.info.L>0&&(0,g.lj)()-W.X<5E3&&(W.logger&&W.logger({dend:P.info.TW()}),k=bLV(k,T,T+.01))}W.policy.PH&&W.logger&&W.logger({cbri:\"\"+W.W});P=[];for(var I=T=0;T=X){var u=Object.assign({},W.va[I]),Z=W.H6.J.get(dO(W.va[I].formatId)),M=Math.max(B,X);X=Z.index.o7(M+W.K/\n1E3);B=Z.index.getStartTime(X);var t=X+ +(Math.abs(B-M)>W.K/1E3);M=t+W.T;t=Z.index.getStartTime(t)*1E3;I!==W.W||Y?(u.T9=M,u.startTimeMs=t):(W.logger&&W.logger({pEvict:\"1\",og:u.startTimeMs,adj:B*1E3}),u.T9=X+W.T,u.startTimeMs=B*1E3);X=void 0;B=((X=W.J)==null?void 0:X.info.duration)||11;I===W.W&&hW.K/1E3);X=B+W.T;Z=Z.index.Ug(B)*1E3;u.wV=X;u.durationMs=Z-u.startTimeMs;u.T9<=u.wV&&P.push(u)}O0&&kX(Y);Y={isNavigation:!0,actionType:P$(g.o_(\"TIMING_ACTION\"))};var k=g.o_(\"PREVIOUS_ACTION\");k&&(Y.previousAction=P$(k));if(k=g.o_(\"CLIENT_PROTOCOL\"))Y.httpProtocol=k;if(k=g.o_(\"CLIENT_TRANSPORT\"))Y.transportProtocol=k;(k=g.Zu())&&k!==\"UNDEFINED_CSN\"&&(Y.clientScreenNonce=k);k=IK5();if(k===1||k===-1)Y.isVisible=\n!0;k=lQ().loadType===\"cold\";var P=ued();k||(k=P.yt_lt===\"cold\");if(k){Y.loadType=\"cold\";k=ued();P=Zx0();var T=TG(),I=g.o_(\"CSI_START_TIMESTAMP_MILLIS\",0);I>0&&!g.dS(\"embeds_web_enable_csi_start_override_killswitch\")&&(T=I);T&&(Q5(\"srt\",P.responseStart),k.prerender!==1&&jp(T));k=ixv();k>0&&Q5(\"fpt\",k);k=Zx0();k.isPerformanceNavigationTiming&&kX({performanceNavigationTiming:!0},void 0);Q5(\"nreqs\",k.requestStart,void 0);Q5(\"nress\",k.responseStart,void 0);Q5(\"nrese\",k.responseEnd,void 0);k.redirectEnd-\nk.redirectStart>0&&(Q5(\"nrs\",k.redirectStart,void 0),Q5(\"nre\",k.redirectEnd,void 0));k.domainLookupEnd-k.domainLookupStart>0&&(Q5(\"ndnss\",k.domainLookupStart,void 0),Q5(\"ndnse\",k.domainLookupEnd,void 0));k.connectEnd-k.connectStart>0&&(Q5(\"ntcps\",k.connectStart,void 0),Q5(\"ntcpe\",k.connectEnd,void 0));k.secureConnectionStart>=TG()&&k.connectEnd-k.secureConnectionStart>0&&(Q5(\"nstcps\",k.secureConnectionStart,void 0),Q5(\"ntcpe\",k.connectEnd,void 0));vT&&\"getEntriesByType\"in vT&&MYS();k=[];if(document.querySelector&&\nvT&&vT.getEntriesByName)for(var X in II)II.hasOwnProperty(X)&&(P=II[X],tYq(X,P)&&k.push(P));if(k.length>0)for(Y.resourceInfo=[],X=g.e(k),k=X.next();!k.done;k=X.next())Y.resourceInfo.push({resourceCache:k.value})}kX(Y);Y=X2();Y.preLoggedGelInfos||(Y.preLoggedGelInfos=[]);X=Y.preLoggedGelInfos;Y=q5X();k=void 0;for(P=0;PI?T=0:P[X]>W.buffered[X]&&(X===I-1?T=2:X===I-2&&P[X+1]>W.buffered[X+1]&&(T=3))}W.W.add(Y<<3|(k&&4)|T);Y=Math.ceil(W.track.XZ()*1E3);W.W.add(Y-W.C);W.C=Y;if(T===1)for(W.W.add(I),X=Y=0;X=2&&W.W.add(P[I-\n1]-W.buffered[I-1]);k&&W.W.add(k);W.buffered=P};\nzWX=function(W){W.T||(W.T=(0,g.lj)(),g.AR(\"ada\",W.T,W.W),W.C&&(g.tN(),d8(4)))};\nPj=function(W,Y,k,P){(W=W.W())||EF(\"Could not initiate a command router instance.\");mk(W,Y,k,P)};\net=function(W){var Y=Eh(yu);return Y?W[Y]:void 0};\n$A=function(W){var Y=this;W=W===void 0?[]:W;this.W=[];this.J=this.K=0;this.T=void 0;this.totalLength=0;W.forEach(function(k){Y.append(k)})};\nFS5=function(W,Y,k){DT(W,Y);Y=dR0(W.C,k);k||Y||(Y=mRv(W));Y=Y||W.X.W[0];W.K=W.H6.W[Y.id];Mu(W);W.G=W.K;Vhz(W);DRd(W);W.J=W.nextVideo;W.G=W.K;return gxC(W)};\ng8=function(){return\"https://play.google.com/log?format=json&hasfast=true\"};\nF2=function(W,Y){W.K=Y;g.qa(\"yt.gcf.config.hotConfigGroup\",W.K||null)};\nzN=function(W,Y,k){Va(k,\"mousedown\",function(){return wJF(W)},301);\nVa(Y,\"scroll\",function(){return ZFC(W)},302);\nVa(k,\"touchmove\",function(){return QsV(W)},303);\nVa(k,\"mousemove\",function(){return yhq(W)},304);\nVa(k,\"keydown\",function(){return eW2(W)},305)};\ng.sQ=function(W){var Y=g.w8(W);ox7.includes(Y)&&(Y=\"www.youtube.com\");return W.protocol+\"://\"+Y};\nyy=function(W,Y,k,P,T,I,X,h,B,O,u,Z){Qy.call(this,I,W,Y,T);this.sP=k;this.T=X;this.Cg=h;this.UR=B;this.P6=O;this.X=u;this.C=Z;this.dD=vxF(Y,k)};\noI=function(){var W=0,Y;return function(k){Y||(Y=new Nt);var P=new ep(Y,W,1),T=NO(P,function(){return vM(k)},!0);\nP.dispose();W++;return T}};\nCP=function(W){W.C=null;W.X=null;W.Z(v$(\"over\"),W.YX);W.Z(\"touchstart\",W.iq);W.W&&W.Z(v$(\"down\"),W.f25)};\nLP=function(W){W.b8(!1);W.K&&W.Y.logVisibility(W.element,W.v7)};\nUN=function(W,Y,k,P){P=P===void 0?!1:P;g.pk.call(this,{S:\"div\",j:\"ytp-ad-persistent-progress-bar-container\",B:[{S:\"div\",j:\"ytp-ad-persistent-progress-bar\"}]});this.api=W;this.K=Y;this.J=k;P&&this.element.classList.add(\"ytp-ad-persistent-progress-bar-container--clean-player\");g.m(this,this.K);this.progressBar=this.J5(\"ytp-ad-persistent-progress-bar\");this.W=-1;this.Z(W,\"presentingplayerstatechange\",this.onStateChange);this.hide();this.onStateChange()};\nCDv=function(W){var Y=[],k=[];g.E2(W,function(P,T){if(!(T in Object.prototype)&&typeof P!=\"undefined\")switch(Array.isArray(P)&&(P=P.join(\",\")),P=[T,\"=\",P].join(\"\"),T){case \"adk\":case \"r\":case \"tt\":case \"error\":case \"mtos\":case \"tos\":case \"p\":case \"bs\":Y.unshift(P);break;case \"req\":case \"url\":case \"referrer\":case \"iframe_loc\":k.push(P);break;default:Y.push(P)}});\nreturn Y.concat(k)};\nLSX=function(W,Y){return W.JY.J?!1:W.KY.K?!1:typeof W.Wtypeof Y.W?!1:W.W=0&&W.K.splice(k,1);W.J.delete(Y.cpn);Y.U1&&W.T.delete(Y.U1)};\nle=function(W){var Y;(Y=W.L)==null||Ua7(Y);W.A5=[]};\nc$=function(W,Y){for(var k,P;;){if(W.B7<262){w5(W);if(W.B7<262&&Y===0)return 1;if(W.B7===0)break}k=0;W.B7>=3&&(W.Rk=(W.Rk<4096)&&(W.Td=2));if(W.VD>=3&&W.Td<=W.VD){P=W.Sr+W.B7-3;k=md(W,W.Sr-1-W.G3,W.VD-3);W.B7-=W.VD-1;W.VD-=2;do++W.Sr<=P&&(W.Rk=(W.Rk<W.getCurrentTime())return k.start/1E3;return Infinity};\nTHX=function(W,Y,k,P,T,I,X){function h(U){return!!Z[U]}\nvar B=Y.K||!!T,O=B&&Y.D_?I:void 0,u=new Set,Z=xRV(W,Y,k,P,I,B,u);A4(P)&&(Z=lRd(k,Z,T,B,I,Y),B&&I({enflt:fX(Z)}));Y.Lg=fe1(Z,Y);var M=VYF(Y);T=g.HE(M,h);W=[];if(Y.e1){T=g.e(T);for(var t=T.next();!t.done;t=T.next())W.push.apply(W,g.cp(Z[t.value]))}if(QK(P))return I=g.ik(Object.values(Z),function(U){return!!U.length&&!!U[0].audio}),B=g.ik(Object.values(Z),function(U){return!!U.length&&!!U[0].video}),I&&B||JZ(),Ww(new pc(B,I,O,W));\nT=Z.a;t=!1;Y.V5&&M[0]!==\"a\"&&NjC(T)&&(M.unshift(\"a\"),t=!0);B&&(I({audioPrefOrder:M.join(\"_\")}),I({preferHighQualityAudio:Y.V5}),I({forcedAacForHqa:t}));T=[];if(Y.tT){M=g.HE(M,h);t=new Set;for(var q=g.e(M),G=q.next();!G.done;G=q.next()){var E=new Set;G=g.e(Z[G.value]);for(var z=G.next();!z.done;z=G.next()){z=z.value;var A=void 0,F=(A=z.Ib)==null?void 0:A.id;F&&(t.has(F)?E.has(F)&&T.push(z):(E.add(F),t.add(F),T.push(z)))}}if(T.length===0){if(M.length===0)return B&&I({noaudio:1}),JZ();T=Z[M[0]]}}else{T=\ng.ik(M,h);if(!T)return B&&I({noaudio:1}),JZ();T=Z[T]}Z[\"9\"]&&Z.h&&P.t9&&!Y.Fr&&(B&&I({dltvp9:1}),delete Z[\"9\"]);if(X){B&&I({bfsflt:fX(Z),bfsflta:fP(k)});ae7(k,u);B&&I({bfsfltb:fP(k)});for(var y in Z)if(Z.hasOwnProperty(y)&&(X=y,!(X===\"f\"||Y.TJ===0&&WqF.has(X))))for(u=g.e(Z[X]),M=u.next();!M.done;M=u.next())M=M.value,Y.UV?YZX(k,X,M):IgX(k,X,M);B&&I({aftsflt:fP(k)})}X=Z[\"1h\"]?\"1h\":\"1\";k=Z[\"9h\"]?\"9h\":\"9\";M=Z[X];t=Z[k];M&&M.length&&(Y.W.highestAv1Resolution=M[M.length-1].video.qualityOrdinal);t&&t.length&&\n(Y.W.highestVp9Resolution=t[t.length-1].video.qualityOrdinal);y=[];u=[];if(Y.CN&&M)y=M,u=[X],I({forceAv1:X});else if(Y.L&&!Y.W3)for(u=$Od(P)?Z[\"1h\"]||Z[\"9h\"]?[\"1h\",\"9h\"]:[\"9\",\"h\"]:[\"1\",\"9\",\"h\"],B&&I({newhybpref:u.join(\".\")}),M=g.e(u),t=M.next();!t.done;t=M.next())y=y.concat(Z[t.value]).filter(function(U){return U});\nelse Y.nh>0&&t&&M&&(u=[X,k],y=M.concat(t).filter(function(U){return U}));\nif(y.length&&!Y.W3){Uq(y,u);if(B){B=[];Y=g.e(y);for(P=Y.next();!P.done;P=Y.next())B.push(P.value.itag);I({hbdfmt:B.join(\".\")})}return Ww(new pc(y,T,O,W))}y=kyz(Y);y=g.ik(y,h);if(!y){if(Z[X])return I=Z[X],Uq(I),Ww(new pc(I,T,O,W));B&&I({novideo:1});return JZ()}Y.DY&&(y===\"1\"||y===\"1h\")&&Z[k]&&(X=Vy(Z[y]),u=Vy(Z[k]),u>X?y=k:u===X&&Pdd(Z[k])&&(y=k));y===\"9\"&&Z.h&&Vy(Z.h)>Vy(Z[\"9\"])&&(y=\"h\");Y.K1&&P.isLive&&y===\"(\"&&Z.H&&Vy(Z[\"(\"])<1440&&(y=\"H\");B&&I({vfmly:xs(y)});Y=Z[y];if(!Y.length)return B&&I({novfmly:xs(y)}),\nJZ();Uq(Y);return Ww(new pc(Y,T,O,W))};\nW4=function(W,Y){this.pg=W;this.rk=this.author=\"\";this.wH=null;this.isUpcoming=this.isLivePlayback=!1;this.lengthSeconds=0;this.y3=this.lengthText=\"\";this.sessionData=null;this.L={};this.title=\"\";if(Y){this.ariaLabel=Y.aria_label||void 0;this.author=Y.author||\"\";this.rk=Y.rk||\"\";if(W=Y.endscreen_autoplay_session_data)this.wH=LL(W,\"&\");this.qE=Y.qE;this.isLivePlayback=Y.live_playback===\"1\";this.isUpcoming=!!Y.isUpcoming;if(W=Y.length_seconds)this.lengthSeconds=typeof W===\"string\"?Number(W):W;this.lengthText=\nY.lengthText||\"\";this.y3=Y.y3||\"\";this.publishedTimeText=Y.publishedTimeText||void 0;if(W=Y.session_data)this.sessionData=LL(W,\"&\");this.shortViewCount=Y.short_view_count_text||void 0;this.L=N3(Y);this.title=Y.title||\"\";this.videoId=Y.docid||Y.video_id||Y.videoId||Y.id||void 0;this.watchUrl=Y.watchUrl||void 0}};\nIM5=function(W,Y){Y=jaX(W,Y);if(!Y)return null;var k;Y.aN=(k=kW(W.clientMetadata,\"metadata_type_ad_pod_info\"))==null?void 0:k.adBreakRemainingLengthSeconds;return Y};\naI=function(W){this.h5=rT(W)};\nWb=function(W){var Y=[],k=0,P;for(P in W)Y[k++]=W[P];return Y};\nXMq=function(W,Y){Uh(W,1,Y.elapsedTimeMs);gH(W,3,Y.videoDecoderName)};\nZTz=function(W,Y,k,P,T,I,X){return function(h,B){return SZ2(W,B.slotId,h,I,function(O,u){var Z=B.layoutId;O=X(O);return ed(Y,Z,u,T,O,\"LAYOUT_TYPE_SURVEY\",[new kB(k),P],k.adLayoutLoggingData)})}};\ng.F7=function(W,Y){return ez(W,Y)>0};\n$E=function(W,Y,k,P){P.info.W.sE();var T=P.info.W.W;if(!T||!k.UJ()||k.gq()===T)return!1;var I=T,X=k.OL();if(W.policy.MR&&X&&k.isView()&&g.MK(P.info.W.info)){var h=new DataView(T.buffer,T.byteOffset,T.byteLength);(X=hG2(h,X))?I=new Uint8Array(X.buffer,X.byteOffset,X.byteLength):W.y5(\"fenc\",{})}W.policy.qY&&(X=C$2(W,P,new $A([I])))&&(I=YE(X));var B;(X=P.info.W.tR(0,P.info.clipId))&&(B=X.EP[0]);if(P===W.KH){if(W.OP+=1,W.W6.getVideoData().U(\"html5_shorts_gapless_restart_on_init_seg_retries\")&&W.OP>5)return W.OP=\n0,W.W6.yg({initSegStuck:1,as:P.info.TW()}),!0}else W.OP=0,W.KH=P;W.policy.TF&&(k.abort(),(X=Y.N)!=null&&(zG(X,4),X.flush()));T=BH7(W,k,I,B,T);var O;(O=Y.N)==null||OU7(O,T,B);if(T!==0)return uE2(W,T,P),!0;P.info.qa()?JE1(W.timing):mFv(W.timing);W.logger.debug(function(){return\"Appended init for \"+P.info.W.info.id});\nZUv(W,P.info.W.zG);return k.j6()};\nkE=function(W,Y){W.W[Y.info.id]=Y;W.J.set(dO(g.ZK(Y.info,W.t9)),Y)};\nov=function(W){this.value=W};\nPb=function(W,Y){this.W=W;this.K=Y};\nMyF=function(W,Y,k,P,T,I){Y=Tv(W,Y,k,P);if(Y instanceof l)return Y;var X=Y instanceof z9?new iUC(W.W,k,Y.W):null;P=Tb(W.K.get(),\"SLOT_TYPE_IN_PLAYER\");var h=[new jm(W.W,P)];W=[new Zp(W.W,k),new Jp(W.W,P)];I=I({slotId:P,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:Y,slotFulfillmentTriggers:h,slotExpirationTriggers:W},X);return I instanceof Fn?new l(I):{slotId:P,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:Y,slotFulfillmentTriggers:h,slotExpirationTriggers:W,\nfg:\"core\",clientMetadata:new i_([new H$(I)]),adSlotLoggingData:T}};\nIn=function(W,Y){this.slotId=Y;this.triggerType=\"TRIGGER_TYPE_AD_BREAK_STARTED\";this.triggerId=W(this.triggerType)};\nw8d=function(W){return W?(W=(\"responseXML\"in W?W.responseXML:W).getElementsByTagName(\"root\"))&&W.length>0?W[0]:null:null};\nty5=function(W){var Y=4093624447,k;for(k=0;k<=31;k++,Y>>>=1)if(Y&1&&W.Uq[k*2]!==0)return 0;if(W.Uq[18]!==0||W.Uq[20]!==0||W.Uq[26]!==0)return 1;for(k=32;k<256;k++)if(W.Uq[k*2]!==0)return 1;return 0};\nru6=function(W){var Y=W.experiments,k=Y.Nq.bind(Y);Xx=k(\"html5_use_async_stopVideo\");qZC=k(\"html5_pause_for_async_stopVideo\");Sm=k(\"html5_not_reset_media_source\");k(\"html5_listen_for_audio_output_changed\")&&(RGz=!0);hV=k(\"html5_not_reset_media_source\");HUq=k(\"html5_not_reset_media_source\");Bb=k(\"html5_retain_source_buffer_appends_for_debugging\");nZ7(k(\"web_watch_pip\"));k(\"html5_mediastream_applies_timestamp_offset\")&&(ea=!0);var P=g.je(Y,\"html5_cobalt_override_quic\");P&&ZM(\"QUIC\",+(P>0));W.OR()&&\npMF();Error.stackTraceLimit=50;var T=g.je(Y,\"html5_idle_rate_limit_ms\");T&&Object.defineProperty(window,\"requestIdleCallback\",{value:function(I){return window.setTimeout(I,T)}});\nGyC(W.C);Kqv(k(\"html5_use_ump_request_slicer\"));EZ0(k(\"html5_record_now\"));k(\"html5_disable_streaming_xhr\")&&(KB=!1);k(\"html5_byterate_constraints\")&&(OV=!0);k(\"html5_use_non_active_broadcast_for_post_live\")&&(u2=!0);k(\"html5_enable_encrypted_av1\")&&(Zh=!0);k(\"html5_skip_num_channels_for_iamf\")&&(JuF=!0);saq(g.je(W.experiments,\"html5_sticky_duration_mos\"))};\nFO=function(W){var Y=Ox(W.gx());Y&&Y.created&&(W.logger.debug(\"reset ad module\"),Y.destroy())};\nAuV=function(W,Y){Y=Math.min(Y,W.info.J);var k=W.K.split(Y),P=k.LL;k=new Se(new i2(W.info.type,W.info.W,W.info.range,W.info.G,W.info.t5,W.info.startTime,W.info.duration,W.info.K,Y,!1,W.info.lY,W.info.clipId),k.Mu);k.T=W.T;k.J=W.J;Y=new Se(new i2(W.info.type,W.info.W,W.info.range,W.info.G,W.info.t5,W.info.startTime,W.info.duration,W.info.K+Y,W.info.J-Y,W.info.T,W.info.lY,W.info.clipId),P);Y.T=W.T;Y.J=W.J;return[k,Y]};\nMj=function(W,Y){g.Sr(W.Y.getRootNode(),Y)};\nzGd=function(W){return rrd(W.W,function(Y){return Y.info.video?Y.Iz():!0})};\nNn=function(W){w36(cl);var Y=W.W;Y=Y==null||dO0&&Y!=null&&Y instanceof Uint8Array?Y:typeof Y===\"string\"?ChX(Y):null;return Y==null?Y:W.W=Y};\ng.Xi=function(W){return/^[\\s\\xa0]*$/.test(W)};\nmOC=function(W){return g.KC(W.W,function(Y){return Y.info.video?Y.info.video.projectionType===\"EQUIRECTANGULAR\":!1})};\ngZv=function(W,Y,k){k=k===void 0?0:k;var P,T;return g.v(function(I){if(I.W==1)return P=[],P.push(Y.load()),k>0&&P.push(LrX(k)),g.L(I,Promise.race(P),2);T=DO6(W,Y);return I.return(T)})};\nhW=function(){var W,Y,k;return(k=(W=globalThis.performance)==null?void 0:(Y=W.now)==null?void 0:Y.call(W))!=null?k:Date.now()};\ntV=function(W){this.W=W};\nleV=function(W,Y){var k=W.M9,P=W.Sr,T=W.VD,I=W.Ub,X=W.Sr>W.uY-262?W.Sr-(W.uY-262):0,h=W.window,B=W.au,O=W.Oy,u=W.Sr+258,Z=h[P+T-1],M=h[P+T];W.VD>=W.HM&&(k>>=2);I>W.B7&&(I=W.B7);do{var t=Y;if(h[t+T]===M&&h[t+T-1]===Z&&h[t]===h[P]&&h[++t]===h[P+1]){P+=2;for(t++;h[++P]===h[++t]&&h[++P]===h[++t]&&h[++P]===h[++t]&&h[++P]===h[++t]&&h[++P]===h[++t]&&h[++P]===h[++t]&&h[++P]===h[++t]&&h[++P]===h[++t]&&PT){W.BS=Y;T=t;if(t>=I)break;Z=h[P+T-1];M=h[P+T]}}}while((Y=O[Y&B])>X&&--k!==\n0);return T<=W.B7?T:W.B7};\nFqS=function(W){this.h5=rT(W)};\nh9=function(W){return!!W.W||!!W.K};\nwMV=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next()){var P=k.value,T=void 0;k=Number((T=P.playbackRelativePosition)==null?void 0:T.utcTimeMs)/1E3;var I=void 0;T=k+Number((I=P.duration)==null?void 0:I.seconds);I=\"composite_embargo_\"+k;P.onEnter&&(P=P.onEnter.filter(W.C),P.length&&(W.K.set(I,P),W.api.addUtcCueRange(I,k,T,\"compositeembargo\",!1)))}};\nHb=function(W,Y,k,P,T,I,X,h){Qy.call(this,W,Y,k,P);this.sP=T;this.er=I;this.X=h;this.ey=!0;this.T=null;this.C=kW(k.clientMetadata,\"metadata_type_linked_player_bytes_layout_id\");qj(this.er(),this);this.adPlacementConfig=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,this.adPlacementConfig,k.layoutId)};\nQaF=function(W){var Y=new g.pk({S:\"div\",j:\"ytp-ad-text-overlay\",B:[{S:\"div\",j:\"ytp-ad-overlay-ad-info-button-container\"},{S:\"div\",j:\"ytp-ad-overlay-close-container\",B:[{S:\"button\",j:\"ytp-ad-overlay-close-button\",B:[vD(CI)]}]},{S:\"div\",j:\"ytp-ad-overlay-title\",v6:\"{{title}}\"},{S:\"div\",j:\"ytp-ad-overlay-desc\",v6:\"{{description}}\"},{S:\"div\",Ya:[\"ytp-ad-overlay-link-inline-block\",\"ytp-ad-overlay-link\"],v6:\"{{displayUrl}}\"}]});W.Z(Y.J5(\"ytp-ad-overlay-title\"),\"click\",function(k){LI(W,Y.element,k)});\nW.Z(Y.J5(\"ytp-ad-overlay-link\"),\"click\",function(k){LI(W,Y.element,k)});\nW.Z(Y.J5(\"ytp-ad-overlay-close-container\"),\"click\",W.jQ);Y.hide();return Y};\neGF=function(W,Y,k,P){W.ZY(5);var T=!!W.xf&&yuq.includes(g.TZ(W.xf)||\"\");try{var I=new KL({program:Y,globalName:k,N4:{disable:!g.dS(\"att_web_record_metrics\")||!g.dS(\"att_skip_metrics_for_cookieless_domains_ks\")&&T,Af:\"aGIf\"}});I.uR.then(function(){W.ZY(6);P&&P(Y)});\nW.ZC(I)}catch(X){W.ZY(7),X instanceof Error&&g.Jx(X)}};\ng.i8=function(W){var Y=Y===void 0?!1:Y;return nR(pR(W,oZ7),W,Y,\"Trusted Image URL\")};\neO=function(W,Y){for(var k in W.W)if(W.W[k].status===\"usable\"&&W.W[k].type===Y)return!0;return!1};\nvZS=function(){var W=this;this.W=new Map;this.J=new Map;this.K=new Map;this.zW={E$S:function(){return new Map(W.W)}}};\ng.M6=function(W){var Y=g.xh.apply(1,arguments);var k=Error.call(this,W);this.message=k.message;\"stack\"in k&&(this.stack=k.stack);this.args=[].concat(g.cp(Y));Object.setPrototypeOf(this,this.constructor.prototype)};\nI4V=function(W,Y,k,P){P=P===void 0?!1:P;Y=g.dS(\"web_fp_via_jspb\")?Object.assign({},Y):Y;g.dS(\"use_cfr_monitor\")&&$$5(W,Y);if(g.dS(\"use_request_time_ms_header\"))Y.headers&&Ih(W)&&(Y.headers[\"X-Goog-Request-Time\"]=JSON.stringify(Math.round((0,g.lj)())));else{var T;if((T=Y.postParams)==null?0:T.requestTimeMs)Y.postParams.requestTimeMs=Math.round((0,g.lj)())}k&&Object.keys(Y).length===0?g.gD(W):Y.compress?Y.postBody?(typeof Y.postBody!==\"string\"&&(Y.postBody=JSON.stringify(Y.postBody)),Gv(W,Y.postBody,\nY,g.DV,P)):Gv(W,JSON.stringify(Y.postParams),Y,KR,P):g.DV(W,Y)};\nCd0=function(W,Y,k){if(W.provider.zJ.experiments.Nq(\"html5_refactor_sabr_audio_format_selection_logging\")){Y=k.W;var P=[Y.audio&&Y.video?Y.K_?Y.K_:\"\":Y.id];Y.Ib&&Y.Ib.id&&P.push(Y.Ib.id);Y=P.join(\";\");Y!==W.X&&(P=[Y,W.X,k.reason],k.token&&P.push(k.token),g.xd(W,g.Jj(W.provider),\"afs\",P),W.X=Y)}else k.W.id!==W.X&&(P=[k.W.id,W.X,k.reason],k.token&&P.push(k.token),g.xd(W,Y,\"afs\",P),W.X=k.W.id)};\nVrV=function(W){if(!W.T){var Y=W.W[W.K];W.T=new DataView(Y.buffer,Y.byteOffset,Y.length)}return W.T};\nbUz=function(W,Y,k,P,T,I,X){T=T===void 0?{}:T;var h=Math.round((0,g.lj)()),B=W.size,O=Lqd(X);W=g.e(W);var u=W.next();for(X={};!u.done;X={XS:void 0,batchRequest:void 0,dangerousLogToVisitorSession:void 0,YW:void 0,QJ:void 0},u=W.next()){var Z=g.e(u.value);u=Z.next().value;Z=Z.next().value;X.batchRequest=g.EV({context:g.JV(Y.config_||g.sV())});if(!g.yY(Z)&&!g.dS(\"throw_err_when_logevent_malformed_killswitch\")){P();break}X.batchRequest.events=Z;(Z=r0[u])&&UOq(X.batchRequest,u,Z);delete r0[u];X.dangerousLogToVisitorSession=\nu===\"visitorOnlyApprovedKey\";lMz(X.batchRequest,h,X.dangerousLogToVisitorSession);KHV(T);X.YW=function(M){g.dS(\"start_client_gcf\")&&g.yi.r_(function(){return g.v(function(t){return g.L(t,FuS(M),0)})});\nB--;B||k()};\nX.XS=0;X.QJ=function(M){return function(){M.XS++;if(T.bypassNetworkless&&M.XS===1)try{g.AV(Y,O,M.batchRequest,zv({writeThenSend:!0},M.dangerousLogToVisitorSession,M.YW,M.QJ,I)),d0=!1}catch(t){g.Yr(t),P()}B--;B||k()}}(X);\ntry{g.AV(Y,O,X.batchRequest,zv(T,X.dangerousLogToVisitorSession,X.YW,X.QJ,I)),d0=!1}catch(M){g.Yr(M),P()}}};\nmw=function(){g.o3(\"_lact\",window)==null&&(cuF(),g.o3(\"_lact\",window));var W=Date.now();g.qa(\"_lact\",W,window);g.o3(\"_fact\",window)==-1&&g.qa(\"_fact\",W,window);(W=g.o3(\"ytglobal.ytUtilActivityCallback_\"))&&W()};\nNHd=function(W,Y){var k,P,T,I,X;return g.v(function(h){switch(h.W){case 1:W.q6.VU(\"oprgz_s\");if(!xOq){h.oi(2);break}g.Ta(h,3);return g.L(h,fMX(Y),5);case 5:return k=h.K,W.q6.VU(\"oprgz_n\"),h.return(k);case 3:P=g.jh(h),W.q6.y5(\"gzerr\",{impl:\"native\",err:\"\"+P});case 2:if(T=W.q6.V().PU)try{var B=al.X6(),O=T.WA(Y),u=T,Z=O!=null?O:Y,M=Z.byteOffset,t=Z.byteLength,q=u.exports.getInflatedSize(M,t);if(q===0)throw Error(\"wasm_gz: bad input\");var G=u.malloc(q),E=u.exports.inflateGzip(M,t,G);if(E)throw u.free(G),\nError(\"wasm_gz: fail\"+E);var z=new Uint8Array(u.exports.memory.buffer,G,q);O&&T.free(O.byteOffset);var A=T.b6(z);al.IJ(\"gzwb\",B,Math.ceil(A.byteLength/16));I=A;W.q6.VU(\"oprgz_w\");return h.return(I)}catch(F){W.q6.y5(\"gzerr\",{impl:\"wasm\",err:\"\"+F})}B=al.X6();O=g.Vyz(new g.NEv(Y));al.IJ(\"gzjb\",B,Math.ceil(O.byteLength/16));X=O;W.q6.VU(\"oprgz_p\");return h.return(X)}})};\nDh=function(W,Y){this.triggerType=\"TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED\";this.triggerId=Y||W(this.triggerType)};\nSId=function(W,Y,k,P,T){var I=k.DRIFT_FROM_HEAD_MS&&!Number.isNaN(k.DRIFT_FROM_HEAD_MS)?Math.trunc(k.DRIFT_FROM_HEAD_MS):0,X=aMz.exec(Y);X=X!=null&&X.length>=2?X[1]:\"\";var h=WsV.test(Y),B=YIX.exec(Y);B=B!=null&&B.length>=2?B[1]:\"\";var O=$yV.exec(Y);O=O!=null&&O.length>=2&&!Number.isNaN(Number(O[1]))?Number(O[1]):1;var u=k45.exec(Y);u=u!=null&&u.length>=2?u[1]:\"0\";var Z=g0(W.player.V().xf),M=W.player.getVideoData(1),t=g.Fx(M.UP,!0),q=\"BISCOTTI_ID\"in k?k.BISCOTTI_ID:\"\";Po7(W,t,Y,q.toString(),W.player.V(),\nM);M={splay:!1,lactMilliseconds:k.LACT.toString(),playerHeightPixels:Math.trunc(k.P_H),playerWidthPixels:Math.trunc(k.P_W),vis:Math.trunc(k.VIS),signatureTimestamp:20319,autonavState:Lk(W.player.V())};P&&(P={},Tqd(P,k.YT_REMOTE)&&(M.mdxContext=P));if(P=jb5.includes(Z)?void 0:g.h1(\"PREF\")){for(var G=P.split(RegExp(\"[:&]\")),E=0,z=G.length;E1&&A[1].toUpperCase()===\"TRUE\"){t.user.lockedSafetyMode=!0;break}}M.autoCaptionsDefaultOn=\nIO2(P)}Y=XPq.exec(Y);(Y=Y!=null&&Y.length>=2?Y[1]:\"\")&&B&&(t.user.credentialTransferTokens=[{token:Y,scope:\"VIDEO\"}]);Y={contentPlaybackContext:M};X={adBlock:Math.trunc(k.AD_BLOCK),params:X,breakIndex:O,breakPositionMs:u,clientPlaybackNonce:k.CPN,topLevelDomain:Z,isProxyAdTagRequest:h,context:t,adSignalsInfoString:w0(Qe(q.toString())),overridePlaybackContext:Y};T!==void 0&&(X.cueProcessedMs=Math.round(T).toString());B&&(X.videoId=B);k.LIVE_TARGETING_CONTEXT&&(X.liveTargetingParams=k.LIVE_TARGETING_CONTEXT);\nk.AD_BREAK_LENGTH&&(X.breakLengthMs=Math.trunc(k.AD_BREAK_LENGTH*1E3).toString());I&&(X.driftFromHeadMs=I.toString());X.currentMediaTimeMs=Math.round(W.player.getCurrentTime(1)*1E3);(W=W.player.getGetAdBreakContext())&&(X.getAdBreakContext=W);return X};\ng.Pk=function(W,Y){Y===void 0&&(Y=0);hk5();Y=Bqv[Y];for(var k=Array(Math.floor(W.length/3)),P=Y[64]||\"\",T=0,I=0;T>2];X=Y[(X&3)<<4|h>>4];h=Y[(h&15)<<2|B>>6];B=Y[B&63];k[I++]=\"\"+O+X+h+B}O=0;B=P;switch(W.length-T){case 2:O=W[T+1],B=Y[(O&15)<<2]||P;case 1:W=W[T],k[I]=\"\"+Y[W>>2]+Y[(W&3)<<4|O>>4]+B+P}return k.join(\"\")};\nUQ=function(W){if(cI){var Y;return(Y=W[ye])!=null?Y:W[ye]=new Map}if(ye in W)return W[ye];Y=new Map;Object.defineProperty(W,ye,{value:Y});return Y};\nGc=function(W){return W&&W.length?W.end(W.length-1):NaN};\non=function(W,Y,k){k=k===void 0?!1:k;W.W.has(Y)?em(W,Y,[]):W.Z_(Y,k)};\nOiF=function(W,Y){this.location=W;this.W=Y};\nvb=function(W,Y,k,P,T,I,X,h){this.callback=W;this.slot=Y;this.layout=k;this.Cg=P;this.sP=T;this.P6=I;this.i8=X;this.qq=h;this.W=!1;W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId)};\nuRv=function(W,Y,k){var P=0;if(W.j3!==0){do{var T=W.OE[W.e8+P*2]<<8|W.OE[W.e8+P*2+1];var I=W.OE[W.Nw+P];P++;if(T===0)CR(W,I,Y);else{var X=zX[I];CR(W,X+256+1,Y);var h=r5[X];h!==0&&(I-=sf[X],LR(W,I,h));T--;X=T<256?de[T]:de[256+(T>>>7)];CR(W,X,k);h=zO[X];h!==0&&(T-=Ap[X],LR(W,T,h))}}while(Pk.nh)){var G=g.je(W.V().experiments,\"html5_drm_byterate_soft_cap\");G>0&&gm5(q)&&q.c6>G||(M?(X.push(t),jP(t,X,W)):(q=TR(k,q,T),q===!0?(M=!0,X.push(t),jP(t,X,W)):B[t]=q))}}}u=g.e(u);for(O=u.next();!O.done;O=u.next())for(O=g.e(O.value),M=O.next();!M.done;M=O.next())if(M=M.value,(Z=Fs7(M))&&Z.audio&&(W.U(\"html5_onesie_51_audio\")||!IN(Z)&&!P9(Z)))if(Z=TR(k,Z,T),Z===!0){h.push(M);jP(M,h,W);break}else B[M]=Z;if(!W.U(\"html5_enable_audio_quality_setting\"))for(W=\ng.e([\"141\",\"774\"]),u=W.next();!u.done;u=W.next())u=u.value,h.includes(u)&&(g.Xo(h,u),B[u]=\"blkhqa\");k.K&&Y(\"orfmts\",B);if(P)return T.K&&(T.K=!1,kk=PW=void 0),I?kk={video:X,audio:h}:PW={video:X,audio:h};PW={video:X,audio:h};T.K=!1;return PW};\nQ5=function(W,Y,k){if(!g.dS(\"web_csi_action_sampling_enabled\")||!C$(k).actionDisabled){var P=SP(k),T;if(T=g.dS(\"web_csi_debug_sample_enabled\")&&P){(jj().resolve(IF(X9))==null?0:uP())&&!wPX&&(wPX=!0,Q5(\"gcfl\",(0,g.lj)(),k));var I,X,h;T=(jj().resolve(IF(X9))==null?void 0:(I=uP())==null?void 0:(X=I.loggingHotConfig)==null?void 0:(h=X.csiConfig)==null?void 0:h.debugSampleWeight)||0;if(I=T!==0)b:{I=fJz();if(I.length>0)for(X=0;X=W.length)throw Error();};\nvmq=function(W){var Y=Le(W)?\"custom_metric_viewable\":W;W=Us(lC,function(k){return k==Y});\nreturn iS[W]};\nlOS=function(W){a:{var Y=W.initData;try{for(var k=0,P=new DataView(Y.buffer);k0){var X=P.getUint32(k+28);I+=X*16+4}var h=P.getUint32(k+I-4);try{var B=Coq(Y.subarray(k+I,k+I+h));if(B!==null){var O=B;break a}}catch(u){}}k+=T}O=null;break a}catch(u){O=null;break a}O=void 0}if(O!=null)for(Y=S4(Yn(O,7,void 0,Mg)),Y==null||W.pN||(W.cryptoPeriodIndex=Y),Y=S4(Yn(O,10,void 0,Mg)),Y!=null&&Y>0&&\n!W.pN&&(W.W=Y),O=Ib(O,2,Ls7,void 0===Uy1?2:4),O=g.e(O),P=O.next();!P.done;P=O.next())Y=W.J,k=Y.push,P=Ki(P.value),P=g.Pk(P,4),k.call(Y,P)};\nta=function(W){return W.Y.V().experiments.Nq(\"html5_ssdai_enable_media_end_cue_range\")};\ncdF=function(W,Y){var k,P,T;Y=g.R((k=Y.getWatchNextResponse())==null?void 0:(P=k.playerOverlays)==null?void 0:(T=P.playerOverlayRenderer)==null?void 0:T.decoratedPlayerBarRenderer,dY);if(Y==null?0:Y.progressColor)for(k=0;k=0)return P;var T;(T=W.L)==null||aOX(T,Y,k);P=Math;T=P.min;var I=W.T;if(I.G)if(I=I.G,I.Ma&&I.Ma.type===3)I=I.Ma.startTime;else if(I.J>0){var X=I.W.index;X=g.Sd(X.offsets.subarray(0,X.count),I.J*I.chunkSize);I=I.W.index.getStartTime(X>=0?X:Math.max(0,-X-2))}else I=0;else I=Infinity;Y=T.call(P,Y,I);W.K=W.policy.A5?null:W.W.gT(Y).EP[0];Rb(W)&&(W.policy.HP&&(k==null?void 0:k.seekSource)===60||W.qT&&W.qT.abort(),W.policy.zZ&&(k=W.L)!=null&&(k.J=void 0));W.UP=\n0;return W.K?W.K.startTime:Y};\nWRF=function(W){W.skip(4);return{hz5:id(W,0),value:id(W,0),timescale:g6(W),UHS:g6(W),eventDuration:g6(W),id:g6(W),vj:id(W),offset:W.offset}};\nGp=function(W,Y,k){this.K=W;this.isAsync=Y;this.W=k};\nEa=function(W,Y,k,P,T){var I=W.C.get(k);if(!I){if(I=K1(W,Y))return I;Y=W.LK(k-1,P!=null?P:2);if(T)return W.P7({misscue:T,sq:k,type:P,prevsstate:Y==null?void 0:Y.MY,prevrecord:W.C.has(k-1)}),W.C.get(k-1);if((Y==null?void 0:Y.MY)===2)return W.P7({adnf:1,sq:k,type:P,prevrecord:W.C.has(k-1)}),W.C.get(k-1)}return I};\nJa=function(W){return{downloadedEndTime:Math.round(W.Ma?W.Ma.X:0),maxKnownEndTime:Math.round(W.W.index.UI()),averageByteRate:Math.round(W.W.info.Do)}};\nYkV=function(W,Y,k){Y.Iy().currentState<2&&(k=Q$(k,W.P6),Y.ej(Y.Z2(),k));k=Y.Iy().W;W.JM(W.slot,Y.Z2(),k)};\nrm=function(W,Y,k,P){sa(\"https://\"+Y+\"/videoplayback?probe=1\",k,function(T){!P.U(\"html5_onesie_host_racing\")||P.videoData.isLivePlayback||P.U(\"html5_onesie_probe_ec_hosts\")||P.CR||P.yl();W.T.push(T)},function(T){W.T.push(T.details)})};\nMv=function(W,Y,k,P){(P===void 0?0:P)?qL(W,1,\"seek\"):Y>0&&Math.abs(Y-k)>=5&&W.K===4&&qL(W,5,\"sk2t\")};\ng.ut=function(W){return\"crx_\"+W};\nPtV=function(W,Y){if(!W)return!1;var k,P=(k=g.R(W,$k1))==null?void 0:k.signal;if(P&&Y.Jp)return!!Y.Jp[P];var T;if((k=(T=g.R(W,kw2))==null?void 0:T.request)&&Y.Sc)return!!Y.Sc[k];for(var I in W)if(Y.iI[I])return!0;return!1};\njlC=function(W,Y,k){var P,T,I;g.v(function(X){if(X.W==1)return P={context:g.Fx(),settingItemId:Y,newValue:k},T=g.y7(TG7),g.L(X,g.eh(W,P,T),2);I=X.K;if(!I||I.errorMetadata)return aVS(\"SetSettingRequest\",I),X.return(void 0);g.I_(X)})};\nAa=function(W){return W?(W=W.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue)?MR(W):null:null};\nK_=function(W,Y){return Y>=W.Hl()-zp(W)};\nmZ=function(W,Y){var k=W.W6.qz();return k.isInline()&&!Y.Nd?new xn(0,480,!1,\"v\"):w9(Y)?Tx:k.isBackground()&&Ud()/1E3>60&&!g.l_(W.zJ)?new xn(0,360,!1,\"v\"):Tx};\ndm=function(W,Y){this.K=W>>>0;this.W=Y>>>0};\nTz=function(W,Y,k){W.isFocused(Y);return Y-W.J+k<=W.W[W.K].length};\nMx=function(W){g.D.call(this);this.Y=W;this.W=new Map;this.K=new EQ(this);g.m(this,this.K);this.K.Z(this.Y,g.OQ(\"ad\"),this.onCueRangeEnter,this);this.K.Z(this.Y,g.ut(\"ad\"),this.onCueRangeExit,this)};\nI75=function(W,Y){return new g.rH(\"INCOMPATIBLE_DB_VERSION\",{dbName:W.name,oldVersion:W.options.version,newVersion:Y})};\nXE1=function(W){(W=W.LN())&&W.ME()};\nhHV=function(W,Y,k,P,T){var I,X,h,B,O;return g.v(function(u){if(u.W==1)return I=AB1(HX5(niC(new mG,W.cO),Y),k),X=W.W(),g.L(u,P.x_(\"c\",W.cO,T,W.client.create(I,X)),2);h=u.K;B=Ki(EI(h,2));if(B.length)return u.return(KN(P,function(){for(var Z=new Uint8Array(B.length),M=0;M0&&T1?Y.push(ZS1(k,P,T,h.E2.instreamVideoAdRenderer.elementId,O.oy.adSlotLoggingData,\nfunction(u,Z){return function(M){return u.oy.Uf(M,Z.E2.instreamVideoAdRenderer.elementId,u.oy.sB,u.oy.associatedCompositePlayerBytesLayoutId)}}(O,h))):Y.push(ZS1(k,P,T,h.E2.instreamVideoAdRenderer.elementId,O.oy.adSlotLoggingData,B))}return Y};\nMC1=function(W){var Y,k;if((Y=W.A5)==null?0:(k=Y.jY)==null?0:k.itagDenylist){var P;W.tP((P=W.A5)==null?void 0:P.jY.itagDenylist)}var T;if((T=W.A5)==null?0:T.playbackStartPolicy){var I,X;QZ(W.policy,(I=W.A5)==null?void 0:I.playbackStartPolicy,3,(X=W.A5)==null?void 0:X.H4())}if(W.policy.UK){Y=W.B5();var h;(k=Y?(h=W.A5)==null?void 0:h.uA.get(Y):void 0)&&W.K.u3(k)}if(!W.H6.A5){var B;h=(B=W.A5)==null?void 0:B.Qo;(h==null?0:h.M5)&&(h==null?0:h.yK)&&W.H6.t9&&QQ(W.H6,h.M5,h.yK)}var O;((O=W.A5)==null?0:O.Ax)&&\n(B=W.A5.Ax.get(W.B5()||\"\"))&&W.H6&&B.formatId&&(W=W.H6.J.get(dO(B.formatId)))&&(W.info.debugInfo=B.debugInfo)};\nDP=function(W){this.h5=rT(W,0,DP.messageId)};\ng.OE=function(W,Y){var k=k===void 0?0:k;var P=new tC7;HL(P,2,yQ(W));W=qkv[Y];if(typeof W===\"undefined\")throw k=new g.M6(\"Failed to recognize entity type\",{name:\"EntityKeyHelperError\",entityType:Y}),g.LH(k),k;Uh(P,4,W);Uh(P,5,1);Y=new Uint8Array(P.W.buffer,P.W.byteOffset,P.pos);return encodeURIComponent(g.Pk(Y,k))};\nW$=function(W,Y,k){return arguments.length<=2?Array.prototype.slice.call(W,Y):Array.prototype.slice.call(W,Y,k)};\nLjz=function(W,Y){this.W=W;this.P6=Y};\neP=function(W,Y,k){for(var P=[],T=[],I=0;Ik||(P.push(Math.max(Y,W.start(I))-Y),T.push(Math.min(k,W.end(I))-Y));return iw(P,T)};\ng.Sh=function(W){return Object.prototype.hasOwnProperty.call(W,oN)&&W[oN]||(W[oN]=++RHq)};\nHSd=function(W,Y,k){var P=EE(Kj,Y);P||(P=vW(W,Y,\"n\",k.opt_nativeTime||-1));return P};\nix=function(W,Y){var k=Y*4294967296+(W>>>0);return Number.isSafeInteger(k)?k:Ev(W,Y)};\nnfF=function(W){this.W=W};\nEf2=function(W){return pEd(W).map(function(Y){return{deviceInterface:Gwz[KRd[Y.xA]]||0,deviceVersion:Y.deviceVersion||\"\",isSleeping:Y.zy}})};\nsl5=function(W,Y,k){Y=Y.dialog&&g.R(Y.dialog,Jw6)||null;Y==null?g.LH(Error(\"AdInfoDialogEndpoint did not contain an AdInfoDialogRenderer.\")):(W.W=new C1(W.api,W.layoutId,W.interactionLoggingClientData,W.B6,W.T),g.m(W,W.W),W.W.init(R1(\"ad-info-dialog\"),Y,k),W.W.S1(W.T),W.W.subscribe(\"d\",function(){return W.publish(\"f\")}),W.W.subscribe(\"c\",function(){return W.publish(\"e\")}))};\nrwd=function(W){return W.lz===\"H\"||W.lz===\"h\"};\ng.UF=function(W,Y){return Awz(W,Y)};\ndkC=function(W){var Y=zHq(W);g.Zm(\"yt-player-bandwidth\",Y,2592E3);W.Kg=(0,g.lj)();W.A5=!0};\nmk7=function(W){var Y=W.A5.map(uY);W.K&&Y.push(W.K);W.oS(Y);W.W=null;W.C=null;Y=W.Y.getPlaybackRate();L1(W.Y)&&s0v(W,Y);!W.A5.includes(Y)||W.T?W.yH(W.W):W.yH(uY(Y))};\ngfd=function(W,Y,k,P,T,I,X,h){return Y===null?new l(\"Invalid slot type when get discovery companion fromActionCompanionAdRenderer\",{slotType:Y,ActionCompanionAdRenderer:P}):[Dkd(W,Y,X,I,function(B){var O=B.slotId;B=h(B);var u=P.adLayoutLoggingData,Z=new i_([new Ua(P),new yI(T)]);O=yN(k.K.get(),\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",O);var M={layoutId:O,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",fg:\"core\"};return{layoutId:O,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",W7:new Map,\nlayoutExitNormalTriggers:[new Zp(k.W,X)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:Z,XA:B(M),adLayoutLoggingData:u}})]};\nFR6=function(W){var Y=W.text||\"\",k=g.hr(\"ytp-suggested-action-badge-title\",W.element);k&&g.lS(k,Y);W.badge.element.setAttribute(\"aria-label\",Y);W.dismissButton.element.setAttribute(\"aria-label\",W.V5?W.V5:\"\")};\nbS=function(W,Y,k,P){g.nT(P$d)(void 0,W,Y,k,P,void 0)};\nwES=function(W){for(var Y={},k=0;k=0&&W<=1};\njb=function(){var W=nnX();HO.call(this,Cc.top,W,\"geo\")};\nl7v=function(W){if(!W.stack)return!0;var Y=!W.stack.includes(\"\\n\");return Y&&W.stack.includes(\"ErrorType: \")||Y&&W.stack.includes(\"Anonymous function (Unknown script\")||W.stack.toLowerCase()===\"not available\"||W.fileName===\"user-script\"||W.fileName.startsWith(\"user-script:\")?!0:!1};\nbSV=function(W,Y,k){var P=g.Sd(W.W,Y);if(P>=0)return Y;Y=-P-1;return Y>=W.W.length||W.W[Y]>k?null:W.W[Y]};\ng.XK=function(W){return jFS(W,function(){return g.Ic(cwd,W)>=0})};\nxkC=function(W){Hjq(W);W.X=g.mW(function(){W.update()},100);\nW.PF=g.Jj(W.provider);W.K=sP(W.provider)};\nSb=function(W,Y){var k;if((k=W.api.getVideoData())==null?0:k.mutedAutoplay){var P,T;if((P=Y.target)==null?0:(T=P.className)==null?0:T.includes(\"ytp-info-panel\"))return!1}return g.CK(Y)&&W.api.isMutedByMutedAutoplay()?(W.api.unMute(),W.api.getPresentingPlayerType()===2&&W.api.playVideo(),Y=W.api.getPlayerStateObject(),!g.p(Y,4)||g.p(Y,8)||g.p(Y,2)||W.XV(),!0):!1};\nVC5=function(W){if(!f7F(W))return!1;W=g.R(W.adStart,cO);return W?xF(W)?!0:(EF(\"Invalid LASR with notify\"),!1):!1};\nNG2=function(W,Y,k,P){function T(){PE({writeThenSend:!0},Y,k.tier)}\nY=Y===void 0?!1:Y;P=P===void 0?!1:P;W&&(kf=new W);W=g.uu(\"tvhtml5_logging_max_batch_ads_fork\")||g.uu(\"tvhtml5_logging_max_batch\")||g.uu(\"web_logging_max_batch\")||100;var I=(0,g.lj)(),X=Yf(Y,k.tier),h=X.T;P&&(X.J=!0);P=0;k&&(P=Y1().getSequenceCount(k));P>=1E3?T():P>=W?hM||(hM=B0(function(){T();hM=void 0},0)):I-h>=10&&(PsS(Y,k.tier),X.T=I)};\na7C=function(W,Y){if(W.length>Y.length)return!1;if(W.lengthT)return!1;if(P0&&(Y[T]=P)},W);\nreturn Y};\n$x7=function(W){if(W.Y.V().rD)return W.zd.get(\"ux\")};\nMe=function(W,Y){W.index=g.DR(Y,0,W.length-1);W.startSeconds=0};\nyQ=function(W){if(tM)return tM.encode(W);var Y=new Uint8Array(Math.ceil(W.length*1.2)),k=qe(W,Y);Y.lengthk&&(Y=Y.subarray(0,k));return Y};\nkJ6=function(W){var Y=(0,g.lj)(),k=W.getCurrentTime();W=W.getVideoData();k=1E3*(k-W.startSeconds);W.isLivePlayback&&(k=0);return Y-Math.max(k,0)};\nPl1=function(W,Y,k,P,T){if(W.K.has(Y.identifier)){var I=W.K.get(Y.identifier);P>I.Xt&&(I.startTimeSecs=Y.startSecs,I.sV=Y.sV,I.event===\"predictStart\"&&I.p7===5&&Y.event!==\"predictStart\"&&(I.G7=Date.now()),I.event=Y.event)}else I={event:Y.event,startTimeSecs:Y.startSecs,sV:Y.sV,mp:[],Xt:P,p7:0},W.K.set(Y.identifier,I);T&&I.p7===0&&(T.SF(Y)?I.p7=5:(I.p7=2,I.c_=\"\"),I.G7=Date.now(),I.Xt=P);P>I.Xt&&(T==null||T.SF(Y),I.Xt=P);W.T&&k>-1&&k1?Y[W[0]]=W[1]:W.length===1&&Object.assign(Y,W[0])};\njC7=function(W,Y,k){var P=[];return g.H0(W,{query:Y},function(T){if(!(k!==void 0&&P.length>=k))return P.push(T.getValue()),g.jK(T)}).then(function(){return P})};\nh40=function(){var W;return((W=navigator.connection)==null?void 0:W.type)||\"\"};\nnm=function(W){this.Cg=W;this.W=!1};\nB2=function(W,Y,k,P,T,I){g.tR.call(this);var X=this;this.qT=W;this.I7=Y;this.id=k;this.containerType=P;this.lz=T;this.qa=I;this.Ep=this.US=this.Ma=null;this.F_=!1;this.appendWindowStart=this.timestampOffset=0;this.V8=iw([],[]);this.j8=!1;this.Y_=[];this.OY=Bb?[]:void 0;this.handler=function(B){return X.publish(B.type,X)};\nvar h;if((h=this.qT)==null?0:h.addEventListener)this.qT.addEventListener(\"updateend\",this.handler),this.qT.addEventListener(\"error\",this.handler)};\nI0z=function(W,Y,k){Y!==W.T&&(W.T&&(W.wD=!0),W.T=Y,W.n_(Y,W.videoTrack,k))};\nbT2=function(W){c7.qG=function(Y){g.hv(W,function(k){k(Y)})}};\nScC=function(W,Y){if(g.F7(Y,1024)||g.F7(Y,512)||g.F7(Y,4)){if(W.K){var k=W.K;k.K>=0||(k.W=-1,k.delay.stop())}W.qoe&&(k=W.qoe,k.G||(k.J=-1))}if(W.provider.videoData.enableServerStitchedDai&&W.vU){var P;(P=W.J.get(W.vU))==null||vd(P,Y)}else W.W&&vd(W.W,Y);if(W.qoe){P=W.qoe;k=Y.state;var T=g.Jj(P.provider),I=P.getPlayerState(k),X=k.seekSource||void 0;if(I!==P.b7){P.wD||T=\n10&&P.playTimeSecs<=180&&(P.W.set(\"qoealert\",[\"1\"]),P.A9=!0)),I!==\"B\"||P.b7!==\"PL\"&&P.b7!==\"PB\"||(P.isBuffering=!0),P.K=T);P.b7===\"PL\"&&(I===\"B\"||I===\"S\")||P.provider.zJ.OR()?Wy(P,T):(P.K1||I!==\"PL\"||(P.K1=!0,eC(P,T,P.provider.W6.rH())),pm(P,T));I===\"PL\"&&g.Iv(P.DY);var h=[I];I===\"S\"&&X&&h.push(\"ss.\"+X);g.xd(P,T,\"vps\",h);P.b7=I;P.A5=T;P.K=T;P.T=!0}I=k.dc;g.p(k,128)&&I&&(I.vJ=I.vJ||\"\",aiS(P,T,I.errorCode,I.AI,I.vJ));(g.p(k,2)||g.p(k,128))&&P.reportStats(T);k.isPlaying()&&!P.G&&(P.J>=0&&P.W.set(\"user_intent\",\n[P.J.toString()]),P.G=!0);uS(P)}W.K&&(W=W.K,Xg7(W),W.playerState=Y.state,W.K>=0&&g.F7(Y,16)&&W.seekCount++,Y.state.isError()&&W.send())};\nBAz=function(W,Y){Y?hz0.test(W):(W=g.R2(W),Object.keys(W).includes(\"cpn\"))};\nj5=function(W,Y,k){var P=W.s1({playerType:k});P&&(Y=P.fq(Y),k&&W.getPresentingPlayerType()!==k||Km(W,\"cuerangesremoved\",Y))};\nKJ=function(W,Y,k,P){this.zJ=Y;this.f1=k;this.segments=[];this.experimentIds=[];this.rD=this.Gn=this.isFinal=this.delayThresholdMet=this.J9=this.xq=this.autoplay=this.autonav=!1;this.D_=\"yt\";this.X=[];this.G=this.N=null;this.sendVisitorIdHeader=this.Q5=!1;this.L=this.pageId=\"\";this.C=k===\"watchtime\";this.J=k===\"playback\";this.gD=k===\"atr\";this.rV=k===\"engage\";this.sendVisitorIdHeader=!1;this.uri=this.gD?\"/api/stats/\"+k:\"//\"+Y.wi+\"/api/stats/\"+k;P&&(this.Gn=P.fs,P.rtn&&(this.G=P.rtn),this.C?(this.playerState=\nP.state,P.rti>0&&(this.N=P.rti)):(this.fN=P.mos,this.nu=P.volume,P.at&&(this.adType=P.at)),P.autonav&&(this.autonav=P.autonav),P.inview!=null&&(this.tT=P.inview),P.size&&(this.KH=P.size),P.playerwidth&&(this.CN=P.playerwidth),P.playerheight&&(this.KN=P.playerheight));this.UV=g.jl(Y.W);this.L=bG(Y.experiments,\"html5_log_vss_extra_lr_cparams_freq\");if(this.L===\"all\"||this.L===\"once\")this.xm=g.jl(Y.J9);this.Zm=Y.D_;this.experimentIds=O7X(Y.experiments);this.V5=Y.LH;this.D_=Y.A5;this.region=Y.region;\nthis.userAge=Y.userAge;this.e1=Y.i5;this.rZ=Ud();this.sendVisitorIdHeader=Y.sendVisitorIdHeader;this.TJ=Y.U(\"vss_pings_using_networkless\")||Y.U(\"kevlar_woffle\");this.k8=Y.U(\"vss_final_ping_send_and_write\");this.OP=Y.U(\"vss_use_send_and_write\");this.pageId=Y.pageId;this.Dm=Y.U(\"vss_playback_use_send_and_write\");Y.livingRoomAppMode&&(this.livingRoomAppMode=Y.livingRoomAppMode);this.jW=Y.T&&Y.U(\"embeds_append_synth_ch_headers\");g.hN(Y)&&(this.Fr=Y.gD);g.He(g.q9(Y))&&this.X.push(1);this.accessToken=g.Q7(W);\nW.vV[this.f1]?this.T=W.vV[this.f1]:W.vV.playback&&(this.T=W.vV.playback);this.adFormat=W.adFormat;this.adQueryId=W.adQueryId;this.autoplay=uYF(W);this.J&&(this.xq=W.mT&&zV(W)===\"adunit\"?!0:!1);this.autonav=W.isAutonav||this.autonav;this.contentVideoId=E7(W);this.clientPlaybackNonce=W.clientPlaybackNonce;this.J9=W.zr;W.X&&(this.Kg=W.X,this.K1=W.Mv);W.mdxEnvironment&&(this.mdxEnvironment=W.mdxEnvironment);this.W=W.UV;this.A9=W.A9;W.K&&(this.LH=W.K.itag,W.T&&W.T.itag!==this.LH&&(this.Lg=W.T.itag));W.W&&\nQK(W.W)&&(this.offlineDownloadUserChoice=\"1\");this.eventLabel=zV(W);this.rD=W.Dm?!1:W.nu;this.Qa=W.Zi;if(Y=u8(W))this.vk=Y;this.AC=W.kP;this.partnerId=W.partnerId;this.eventId=W.eventId;this.playlistId=W.uF||W.playlistId;this.qR=W.qR;this.ws=W.ws;this.eA=W.eA;this.xF=W.xF;this.subscribed=W.subscribed;this.videoId=W.videoId;this.videoMetadata=W.videoMetadata;this.visitorData=W.visitorData;this.osid=W.osid;this.R9=W.R9;this.referrer=W.referrer;this.Jo=W.LG||W.Jo;this.bz=W.TF;this.CX=W.CX;this.userGenderAge=\nW.userGenderAge;this.l3=W.l3;this.embedsRct=W.embedsRct;this.embedsRctn=W.embedsRctn;g.hN(this.zJ)&&W.mutedAutoplay&&(W.mutedAutoplayDurationMode===2&&W.limitedPlaybackDurationInSeconds===0&&W.endSeconds===0?this.X.push(7):this.X.push(2));W.isEmbedsShortsMode(new g.Sn(this.CN,this.KN),!!this.playlistId)&&this.X.push(3);g.rF(W)&&this.X.push(4);this.GJ=W.IW;W.compositeLiveIngestionOffsetToken&&(this.compositeLiveIngestionOffsetToken=W.compositeLiveIngestionOffsetToken)};\nZ7z=function(W){return{first:Qx(W,1),nE:Qx(W,2)}};\nJM=function(W){this.Nt=W};\ni7d=function(W){if(!W.isRequestPending){W.isRequestPending=!0;W.xa(3);var Y=W.Y.getVideoData();Y=W.W?Y.removeFromWatchLaterCommand:Y.addToWatchLaterCommand;var k=W.Y.fn(),P=W.W?function(){W.W=!1;W.isRequestPending=!1;W.xa(2);W.Y.V().L&&W.Y.Ri(\"WATCH_LATER_VIDEO_REMOVED\")}:function(){W.W=!0;\nW.isRequestPending=!1;W.xa(1);W.Y.V().K&&W.Y.tN(W.element);W.Y.V().L&&W.Y.Ri(\"WATCH_LATER_VIDEO_ADDED\")};\ns7(k,Y).then(P,function(){W.isRequestPending=!1;W.xa(4,\"An error occurred. Please try again later.\");W.Y.V().L&&W.Y.Ri(\"WATCH_LATER_ERROR\",\"An error occurred. Please try again later.\")})}};\nFT=function(W){XJ.call(this,W)};\nMB2=function(W,Y){BI(W,\"impression\")&&W.h$(Y?\"fullscreen\":\"end_fullscreen\")};\nro=function(W,Y,k,P){P=P===void 0?0:P;g.LU.call(this,k.Rv());var T=this;this.Ha=W;this.videoData=Y;this.duration=P;this.W=this.startTimeSecs=0;this.K=new FH2(function(I,X){return void T.y5(I,X)})};\ng.Wu=function(W,Y){return W.replace(tBv,function(k,P){try{var T=g.JW(Y,P);if(T==null||T.toString()==null)return k;T=T.toString();if(T==\"\"||!g.Xi(g.AM(T)))return encodeURIComponent(T).replace(/%2C/g,\",\")}catch(I){}return k})};\nVK=function(W,Y,k,P,T,I){this.startSecs=W;this.sV=Y;this.context=k;this.identifier=P;this.event=T;this.W=I};\nzC=function(W,Y){return W==Y?!0:W&&Y?W.top==Y.top&&W.right==Y.right&&W.bottom==Y.bottom&&W.left==Y.left:!1};\ng.Ds=function(W){var Y={languageCode:W.languageCode,languageName:W.languageName,displayName:g.mx(W),kind:W.kind,name:W.name,id:W.id,is_servable:W.W,is_default:W.isDefault,is_translateable:W.isTranslateable,vss_id:W.vssId};W.xtags&&(Y.xtags=W.xtags);W.captionId&&(Y.captionId=W.captionId);W.translationLanguage&&(Y.translationLanguage=W.translationLanguage);return Y};\nqcz=function(W,Y){if(!W)return NaN;Y=Ce(W,Y);return Y>=0?W.start(Y):NaN};\nRz2=function(W){var Y,k,P,T,I=(Y=W.W)==null?void 0:(k=Y.bannerData)==null?void 0:(P=k.itemData)==null?void 0:(T=P.exclusivesData)==null?void 0:T.expirationTimestampMs;Y=(Number(I)-Date.now())/1E3;if(Y>0){if(Y<604800){var X,h,B,O;k=(X=W.W)==null?void 0:(h=X.bannerData)==null?void 0:(B=h.itemData)==null?void 0:(O=B.exclusivesData)==null?void 0:O.exclusiveOfferCountdownText;if(k!==void 0)for(X=Date.now(),h=g.e(k),B=h.next();!B.done;B=h.next())if(B=B.value,B!==void 0&&B.text!==void 0&&(O=Number(B.textDisplayStartTimestampMs),\n!isNaN(O)&&X>=O)){B.insertCountdown?(Y=B.text.replace(/\\$0/,String(nZ({seconds:Y}))),W.X.N6(Y)):W.X.N6(B.text);W.X.show();break}}var u,Z,M,t;W.C.update({exclusive:(u=W.W)==null?void 0:(Z=u.bannerData)==null?void 0:(M=Z.itemData)==null?void 0:(t=M.exclusivesData)==null?void 0:t.exclusiveOfferLabelText});W.C.show();Rv(W);var q;(q=W.f1)==null||q.start()}else go(W)};\nKR=function(W,Y){Y.method=\"POST\";Y.postParams||(Y.postParams={});return g.DV(W,Y)};\nHA=function(W,Y){Y=String(Y);W.contentType===\"application/xhtml+xml\"&&(Y=Y.toLowerCase());return W.createElement(Y)};\nnSv=function(W,Y){var k=kW(Y.clientMetadata,\"metadata_type_ad_video_id\"),P=kW(Y.clientMetadata,\"metadata_type_legacy_info_card_vast_extension\");k&&P&&W.fu.get().Y.V().UP.add(k,{tq:P});(Y=kW(Y.clientMetadata,\"metadata_type_sodar_extension_data\"))&&fu5(W.a6.get(),Y);H70(W.Cg.get(),!1)};\npgd=function(W,Y){W=g.JW(W.components,Y.id,null);W==null&&g.Jx(Error(\"Component not found for element id: \"+Y.id));return W||null};\nES0=function(W,Y){if(window.fetch&&Y.format!==\"XML\"){var k={method:Y.method||\"GET\",credentials:\"same-origin\"};Y.headers&&(k.headers=Y.headers);Y.priority&&(k.priority=Y.priority);W=GJ6(W,Y);var P=KLd(W,Y);P&&(k.body=P);Y.withCredentials&&(k.credentials=\"include\");var T=Y.context||g.hL,I=!1,X;fetch(W,k).then(function(h){if(!I){I=!0;X&&g.FK(X);var B=h.ok,O=function(u){u=u||{};B?Y.onSuccess&&Y.onSuccess.call(T,u,h):Y.onError&&Y.onError.call(T,u,h);Y.onFinish&&Y.onFinish.call(T,u,h)};\n(Y.format||\"JSON\")===\"JSON\"&&(B||h.status>=400&&h.status<500)?h.json().then(O,function(){O(null)}):O(null)}}).catch(function(){Y.onError&&Y.onError.call(T,{},{})});\nW=Y.timeout||0;Y.onFetchTimeout&&W>0&&(X=g.LB(function(){I||(I=!0,g.FK(X),Y.onFetchTimeout.call(Y.context||g.hL))},W))}else g.DV(W,Y)};\ng.J8=function(W,Y,k){return wo(W.W.put(Y,k))};\nsC7=function(W){var Y=Y===void 0?NaN:Y;var k=new J22(W.api);W.T.push(k);g.m(W,k);k.S1(W.Kg);Y>=0&&(k.element.style.width=Y+\"px\")};\nPy=function(W){return W.mediaElement?QX(W.mediaElement):0};\ng.r2F=function(W,Y){if(W.suggestion!==Y){W.suggestion=Y;var k=W.api.V();g.lY(W,Y,\"hqdefault.jpg\");if(g.hN(k)&&!W.api.U(\"web_player_log_click_before_generating_ve_conversion_params\")){k=Y.md();var P={};g.Ar(W.api,\"addEmbedsConversionTrackingParams\",[P]);k=g.YW(k,P);W.updateValue(\"url\",k)}(Y=(Y=Y.sessionData)&&Y.itct)&&W.api.setTrackingParams(W.element,Y)}};\nNY5=function(W){yX(W.videoData,\"html5_set_debugging_opt_in\")&&(W=g.eb(),W.Ik(183)||(oc(183,!0),W.save()))};\nA2v=function(W){W=(W.renderer.linearAdSequenceRenderer||{}).linearAds;return W!=null&&W.length?W.filter(function(Y){var k,P;return((k=g.R(Y,c4))==null?void 0:(P=k.playerOverlay)==null?void 0:P.instreamSurveyAdRenderer)!=null}).length:0};\nXY=function(W,Y){var k=this;this.K=W;this.P6=Y;this.W=function(P){return v0(k.K.get(),P)}};\nLk=function(W){return W.UV?g.eb().Ik(140)?\"STATE_OFF\":\"STATE_ON\":\"STATE_NONE\"};\n$f=function(W){g.dS(\"transport_use_scheduler\")?g.yi.Ca(W):g.FK(W)};\nUL5=function(W,Y){function k(P,T){Y(P,T)}\nif(W.K==null)return!1;W.W=g.ik(W.K,function(P){return P!=null&&P.h8()});\nW.W&&(W.W.init(k)?BMd(W.W.W):Y(W.W.W.RJ(),W.W));return W.W!=null};\nzzq=function(){this.W=this.aE=null};\nLm=function(W){Cm.call(this,\"audio_measurable\",W)};\nU7=function(W,Y){g.Ia.call(this,g.XE({\"aria-haspopup\":\"true\"},[\"ytp-audio-menu-item\"]),g.po.wl);this.Y=W;this.Mq=Y;g.N6(this.element,\"ytp-audio-menu-item\");this.Ba=new g.Lj(W,void 0,\"Audio\");this.countLabel=new g.c({S:\"div\",B:[{S:\"span\",v6:\"Audio\"},{S:\"span\",j:\"ytp-menuitem-label-count\",v6:\"{{content}}\"}]});W.U(\"web_settings_menu_icons\")&&this.setIcon({S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M17.5,12c0,2.14-1.5,3.92-3.5,4.38v-1.04c1.44-0.43,2.5-1.76,2.5-3.34c0-1.58-1.06-2.9-2.5-3.34V7.62 C16,8.08,17.5,9.86,17.5,12z M12,4.07v15.86L6.16,15H3V9h3.16L12,4.07z M11,6.22L6.52,10H4v4h2.52L11,17.78V6.22z M21,12 c0,4.08-3.05,7.44-7,7.93v-1.01c3.39-0.49,6-3.4,6-6.92s-2.61-6.43-6-6.92V4.07C17.95,4.56,21,7.92,21,12z\",\nfill:\"white\"}}]});this.qK=new Ko(W,this.Mq,this);g.m(this,this.qK);this.Z(W,\"settingsMenuInitialized\",this.X5.bind(this));this.Z(W,\"videodatachange\",this.X5.bind(this));g.m(this,this.countLabel);g.Gx(this,this.countLabel);this.Mq.c7(this);this.Z(W,\"onPlaybackAudioChange\",this.tL);this.Z(W,\"audiopreferencechange\",this.tL);this.listen(\"keydown\",this.kZ);this.listen(\"click\",this.open)};\nQQ=function(W,Y,k){for(var P in W.W){var T=W.W[P].index,I=Y,X=k;T.Cr&&(I&&(T.L8=Math.max(T.L8,I)),X&&(T.GC=Math.max(T.GC||0,X)))}k&&(W.wD=k/1E3)};\nOo=function(W){this.value=W};\nXp=function(W,Y){this.pg=W;this.author=\"\";this.wH=null;this.playlistLength=0;this.W=this.sessionData=null;this.L={};this.title=\"\";if(Y){this.author=Y.author||Y.playlist_author||\"\";this.title=Y.playlist_title||\"\";if(W=Y.session_data)this.sessionData=LL(W,\"&\");var k;this.W=((k=Y.thumbnail_ids)==null?void 0:k.split(\",\")[0])||null;this.L=N3(Y,\"playlist_\");this.videoId=Y.video_id||void 0;if(k=Y.list)switch(Y.listType){case \"user_uploads\":this.playlistId=(new lW(\"UU\",\"PLAYER_\"+k)).toString();break;default:if(W=\nY.playlist_length)this.playlistLength=Number(W)||0;this.playlistId=UM(k).toString();if(Y=Y.video)this.videoId=(Y[0]||null).video_id||void 0}else Y.playlist&&(this.playlistLength=Y.playlist.toString().split(\",\").length)}};\ndx6=function(W,Y,k){sJ.call(this,\"survey\",W,{},Y,k)};\nbW=function(W){this.Y=W};\nIH=function(W,Y){var k=k===void 0?0:k;var P=P===void 0?!0:P;y1(Y,function(T,I){P&&T===void 0||W.add(I,T,k)});\nreturn W};\nrS=function(W){var Y=this;this.ow=this.W=!1;this.potentialEsfErrorCounter=this.K=0;this.handleError=function(){};\nthis.Am=function(){};\nthis.now=Date.now;this.hS=!1;this.zW={jEg:function(u){Y.c5=u},\nza5:function(){Y.EY()},\nD1:function(){Y.bq()},\nAt:function(u){return g.v(function(Z){return g.L(Z,Y.At(u),0)})},\nnf:function(u,Z){return Y.nf(u,Z)},\nHJ:function(){Y.HJ()}};\nvar k;this.MJ=(k=W.MJ)!=null?k:100;var P;this.MW=(P=W.MW)!=null?P:1;var T;this.Vu=(T=W.Vu)!=null?T:2592E6;var I;this.Z0=(I=W.Z0)!=null?I:12E4;var X;this.hJ=(X=W.hJ)!=null?X:5E3;var h;this.c5=(h=W.c5)!=null?h:void 0;this.Nb=!!W.Nb;var B;this.OJ=(B=W.OJ)!=null?B:.1;var O;this.L_=(O=W.L_)!=null?O:10;W.handleError&&(this.handleError=W.handleError);W.Am&&(this.Am=W.Am);W.hS&&(this.hS=W.hS);W.ow&&(this.ow=W.ow);this.Nq=W.Nq;this.EX=W.EX;this.a7=W.a7;this.O6=W.O6;this.sendFn=W.sendFn;this.sx=W.sx;this.He=\nW.He;o1(this)&&(!this.Nq||this.Nq(\"networkless_logging\"))&&qUF(this)};\nc0=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,D:{d:\"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z\",fill:\"#fff\"}}]}};\nmx0=function(W,Y){Y&&Y.screen&&(W.T=new g.Sn(Y.screen.width,Y.screen.height))};\nDxV=function(W,Y){W.K=Y};\ngS2=function(W){var Y;return!((Y=W.pg.getWebPlayerContextConfig())==null||!Y.enableProximaLowLatency)};\nFLz=function(W,Y,k,P,T,I){P=P===void 0?[]:P;var X=xt(W.K.get(),Y);if(X){var h=W.i8.get().h$(Y,k),B=FH(W,fe(X),X,T,I);P.forEach(function(O,u){O.baseUrl&&(W.J.send(O.baseUrl,B,h,O.attributionSrcMode),O.serializedAdPingMetadata&&W.H7.Bs(\"ADS_CLIENT_EVENT_TYPE_PING_DISPATCHED\",void 0,void 0,void 0,void 0,X,new n$S(O,u),void 0,void 0,X.adLayoutLoggingData))})}else EF(\"Trying to track from an unknown layout.\",void 0,void 0,{layoutId:Y,\ntrackingType:k})};\ns6=function(W,Y){return lx(W,Y,function(k){return k.W})};\nwgS=function(W,Y){this.K=W;this.J=Y;this.W=new zsX(W)};\nfm=function(W,Y,k){QC6(W,k.Fi||\"unknown\");W.W6.seekTo(Y,k)};\ny21=function(W,Y){var k=W.startSecs+W.sV;k=k<=0?null:k;if(k===null)return null;switch(W.event){case \"start\":case \"continue\":case \"stop\":break;case \"predictStart\":if(Y)break;return null;default:return null}Y=Math.max(W.startSecs,0);return{KU:new VX(Y,k),De:new VK(Y,k-Y,W.context,W.identifier,W.event,W.W)}};\nez2=function(W,Y){if(W.loader.isSeeking())return Y;var k=W.W6.bd();if(!k)return Y;k=k.EE();if(k.length===0||YX(k,Y))return Y;if(!n6(W.videoTrack,Y)&&!n6(W.audioTrack,Y))return W.loader.y5(\"sundrn\",{b:0,lt:Y}),Y;for(var P=Y,T=Infinity,I=0;IY)){var X=Y-k.end(I);X=20)?(W.loader.handleError(\"player.exception\",{reason:\"bufferunderrunexceedslimit\"}),Y):P};\noS7=function(W,Y,k,P){var T=Y*2,I=k*2;return W[T]0&&h.set(T,B),(g.dS(\"web_fp_via_jspb_and_json\")&&k.writeThenSend||!g.dS(\"web_fp_via_jspb_and_json\"))&&\ndelete Ne[T];vSC(h,X,W,k,!1,I)}else{h=g.e(Object.keys(Ne));for(O=h.next();!O.done;O=h.next())O=O.value,u=g.dS(\"enable_web_tiered_gel\")?Y1().smartExtractMatchingEntries({keys:[{isJspb:!1,cttAuthInfo:O,tier:T},{isJspb:!1,cttAuthInfo:O}],sizeLimit:1E3}):Y1().extractMatchingEntries({isJspb:!1,cttAuthInfo:O}),u.length>0&&B.set(O,u),(g.dS(\"web_fp_via_jspb_and_json\")&&k.writeThenSend||!g.dS(\"web_fp_via_jspb_and_json\"))&&delete Ne[O];bUz(B,X,W,Y,k,!1,I)}};\nf7=function(){};\nLL5=function(W){return W&&ClX[W]?ClX[W]:null};\ng.pk=function(W){g.c.call(this,W);this.rD=new g.tR;g.m(this,this.rD)};\nUx0=function(W,Y,k){var P=new Gb(W.api,W.layoutId,W.interactionLoggingClientData,W.B6,W.T.bind(W));P.S1(W.C);P.init(R1(\"survey-question-single-select\"),Y,k);W.api.V().U(\"supports_multi_step_on_desktop\")?W.J=P:W.questions.push(P);g.m(W,P)};\nb76=function(W){n$(W,\"od\",l07);n$(W,\"opac\",ac).W=!0;n$(W,\"sbeos\",ac).W=!0;n$(W,\"prf\",ac).W=!0;n$(W,\"mwt\",ac).W=!0;n$(W,\"iogeo\",ac)};\nc2z=function(W){switch(W){case \"DELAYED_EVENT_TIER_UNSPECIFIED\":return 0;case \"DELAYED_EVENT_TIER_DEFAULT\":return 100;case \"DELAYED_EVENT_TIER_DISPATCH_TO_EMPTY\":return 200;case \"DELAYED_EVENT_TIER_FAST\":return 300;case \"DELAYED_EVENT_TIER_IMMEDIATE\":return 400;default:return 200}};\nWR=function(W){var Y=(484).toString();W&&(Y=(483).toString());return Y};\nq_=function(W){yF.call(this,\"sabr\");this.wx=W};\nxx0=function(W){W=[\"object\"==typeof globalThis&&globalThis,W,\"object\"==typeof window&&window,\"object\"==typeof self&&self,\"object\"==typeof global&&global];for(var Y=0;Y>>0;return Y};\nPR=function(W,Y){return Object.is(W,Y)};\nj$=function(W,Y){this.fC=Y=Y===void 0?!1:Y;this.uach=this.locale=null;this.K=0;this.isFinal=!1;this.W=new TD;Number.isInteger(W)&&this.W.TV(W);Y||(this.locale=document.documentElement.getAttribute(\"lang\"));tA(this,new tl)};\ng.Jx=function(W){g.LH(W,\"WARNING\")};\nZS1=function(W,Y,k,P,T,I){var X=Tb(W.K.get(),Y);return Ef(W,X,Y,new A7(W.W,P),[new Zp(W.W,k),new Jp(W.W,X),new Zq(W.W,P,[\"error\"])],T,I)};\nWT=function(){var W=this;this.store={};this.W=0;this.K={};this.zW={fw5:function(){return W.W}}};\nXc=function(W,Y,k){g.nT(function(){if(!vJ(k)||IQ(W,k))return!1;aj(W,Y,k);return!0})()};\nWZS=function(W){W=W.Kg&&W.Kg.adRendererCommands;return(W&&W.clickCommand&&g.R(W.clickCommand,g.S$)&&g.R(W.clickCommand,g.S$).commands||[]).some(function(Y){return Y.adLifecycleCommand?a02(Y.adLifecycleCommand):!1})};\nYTz=function(W){return g.hN(W.Y.V())?W.e6:W.fL};\nixv=function(){if(vT.getEntriesByType){var W=vT.getEntriesByType(\"paint\");if(W=g.ik(W,function(k){return k.name===\"first-paint\"}))return hH(W.startTime)}var Y;\ng.dS(\"csi_use_performance_navigation_timing\")?Y=vT.getEntriesByType(\"first-paint\")[0].startTime:Y=vT.timing.WaP;return Y?Math.max(0,Y):0};\nBR=function(W,Y,k,P){this.Rj=W;this.O6=Y;this.W=k;this.T=P;this.J=void 0;this.K=new Map;W.Jp||(W.Jp={});W.Jp=Object.assign({},$2q,W.Jp)};\nkf2=function(W){var Y=[],k=W.sandwichedLinearAdRenderer&&W.sandwichedLinearAdRenderer.linearAd&&g.R(W.sandwichedLinearAdRenderer.linearAd,c4);if(k)return Y.push(k),Y;if(W.instreamVideoAdRenderer)return Y.push(W.instreamVideoAdRenderer),Y;if(W.linearAdSequenceRenderer&&W.linearAdSequenceRenderer.linearAds){W=g.e(W.linearAdSequenceRenderer.linearAds);for(k=W.next();!k.done;k=W.next())k=k.value,g.R(k,c4)&&Y.push(g.R(k,c4));return Y}return null};\nOy=function(W){this.value=W};\n$a=function(W,Y,k,P,T){var I=k+(T?0:-1),X=W.length-1;if(X>=1+(T?0:-1)&&I>=X){var h=W[X];if(h!=null&&typeof h===\"object\"&&h.constructor===Object)return h[k]=P,Y}if(I<=X)return W[I]=P,Y;if(P!==void 0){var B;X=((B=Y)!=null?B:Y=W[a_]|0)>>13&1023||536870912;k>=X?P!=null&&(I={},W[X+(T?0:-1)]=(I[k]=P,I)):W[I]=P}return Y};\nPBV=function(){this.W=new Map};\nop=function(W){return W?W.defaultView:window};\nuU=function(W,Y,k){W.W&&W.videoTrack.X!==-1&&W.audioTrack.X!==-1&&(W.W=!1,W.targetTime=Y,fm(W.loader,Y+.1,{jx:!0,Fi:\"chunkSelectorSynchronize\",ul:!0,seekSource:k}))};\nDJ=function(W,Y,k,P,T,I){g.tR.call(this);var X=this;this.target=W;this.api=Y;this.nF=k;this.K=0;this.X=!1;this.T=new g.z6(NaN,NaN);this.W=new g.x5(this);this.gD=this.J=this.G=null;g.m(this,this.W);Y=T||I?4E3:3E3;this.N=new g.fC(function(){V8(X,1,!1)},Y,this);\ng.m(this,this.N);this.A5=new g.fC(function(){V8(X,2,!1)},Y,this);\ng.m(this,this.A5);this.Kg=new g.fC(function(){V8(X,2048,!1)},Y,this);\ng.m(this,this.Kg);this.wD=new g.fC(function(){V8(X,512,!1)},Y,this);\ng.m(this,this.wD);this.TJ=3E3;T||(this.J=this.W.Z(W,\"mouseover\",this.YX),this.W.Z(W,\"mousemove\",this.Su),this.W.Z(W,\"mouseleave\",this.kJq));this.api.U(\"web_player_enable_fullscreen_grid_components\")&&this.W.Z(W,\"wheel\",this.f95,this,!0);Ze?this.W.Z(W,\"keypress\",this.Lj):this.W.Z(W,\"focusin\",this.hQ);this.C=this.W.Z(W,\"mousedown\",this.nG);this.L=this.W.Z(W,\"touchstart\",this.sT,void 0,!0);V8(this,640,!0)};\nTL2=function(W){ZN[W]&&(W=ZN[W],g.hv(W,function(Y){iU[Y]&&delete iU[Y]}),W.length=0)};\njVX=function(W){W.oB=W.bC();W.U4(W.oB/1E3,!0);Mi(W,W.oB)};\nyr7=function(){var W=!1;try{W=!!window.sessionStorage.getItem(\"session_logininfo\")}catch(Y){W=!0}return(g.o_(\"INNERTUBE_CLIENT_NAME\")===\"WEB\"||g.o_(\"INNERTUBE_CLIENT_NAME\")===\"WEB_CREATOR\")&&W};\nX6=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q,G,E,z,A){this.er=W;this.Yh=Y;this.QH=k;this.sP=P;this.i8=T;this.a6=I;this.JT=X;this.qq=h;this.Cg=B;this.gV=O;this.wZ=u;this.CH=Z;this.RI=M;this.UR=t;this.fu=q;this.P6=G;this.Pa=E;this.context=z;this.E6=A};\nIm6=function(W){if(!W)throw Error(\"Fetching Attestation challenge returned falsy\");if(!W.challenge)throw Error(\"Missing Attestation challenge\");var Y=W.challenge,k=tH(Y);if(\"c1a\"in k&&(!W.bgChallenge||!W.bgChallenge.program))throw Error(\"Expected bg challenge but missing.\");return Object.assign({},W,{eJr:Y,cYq:k})};\nXhV=function(W){return{videoId:yx(W,1),formatId:e2(W,2,qi),debugInfo:RQ(W,3,KQ5)}};\nQ0=function(W,Y){var k=od(W,!isNaN(W.T));Y&&(W.T=NaN);return k};\nu5C=function(W,Y,k,P){if(dk(W.W,Y)){var T=W.H7,I=T.Ae,X;var h=((X=STv.get(P))==null?void 0:X.WP)||\"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED\";I.call(T,h,Y,k);W=Dw(W.W,Y);W.W!==\"rendering\"&&wk(W.slot,W.W,\"exitLayout\");W.W=\"rendering_stop_requested\";W.J.ej(k,P)}};\nms=function(W){return W.Y.V().U(\"html5_allow_asmjs\")};\nH8=function(){HR.apply(this,arguments);this.requestHeaders={}};\nh30=function(W){return Wk(W.J,function(Y){return Y.iG})};\nBLd=function(W){switch(W){case 5:return\"predictStart\";case 1:return\"start\";case 2:return\"continue\";case 3:return\"stop\";default:return\"unknown\"}};\nM82=function(W,Y){if(!W.Xr())if(W.policy.W){if(!zK1(W.T,Y)){var k=W.T.K;OWC(W.T,Y);var P=!1;P=Y.isLocked()&&Y.reason===\"m\"&&u6V(W.T,Y.W);var T=W.policy.PU&&Y.reason===\"l\";k=k.W>Y.W&&Y.reason===\"b\";P||T||k?(W.W6.yg({reattachOnConstraint:P?\"u\":T?\"drm\":\"perf\",lo:Y.K,up:Y.W}),W.policy.zg||(W.T.W.K=!1)):(W.policy.zg&&(W.T.W.K=!1),$m(W))}}else if(!ZWV(W.W,Y)&&W.videoTrack){W.logger.debug(function(){return\"Setting constraint: r=\"+Y.reason+\" u=\"+Y.W});\nk=W.W.W;nb(W,iWV(W.W,Y));pb(W);P=Y.isLocked()&&Y.reason===\"m\"&&W.W.Kg;T=W.policy.PU&&Y.reason===\"l\"&&GD(W.videoTrack);k=k.W>Y.W&&Y.reason===\"b\";var I=W.W.rD&&!Bl();P||T||k||I?W.W6.yg({reattachOnConstraint:P?\"u\":T?\"drm\":I?\"codec\":\"perf\"}):$m(W)}};\nt87=function(W){if(document.body&&document.documentElement){var Y=document.body.scrollTop+document.documentElement.scrollTop;W.W=W.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);W.K=W.clientY+Y}};\nqTV=function(W){if(W.zJ.OR()){W.EO.sort(function(P,T){return+P.rt-+T.rt});\nfor(var Y=g.e(W.EO),k=Y.next();!k.done;k=Y.next())k=k.value,W.y5(\"vpe\",Object.assign({t:k.rt},k));W.EO=[];W.gB=0}};\nC1=function(W,Y,k,P,T){CC.call(this,W,{S:\"div\",j:\"ytp-ad-info-dialog-background\",B:[{S:\"div\",j:\"ytp-ad-info-dialog-container\",B:[{S:\"div\",j:\"ytp-ad-info-dialog-form\",D:{role:\"dialog\",tabindex:\"-1\"},B:[{S:\"div\",j:\"ytp-ad-info-dialog-title\",v6:\"{{title}}\"},{S:\"ul\",j:\"ytp-ad-info-dialog-ad-reasons\"},{S:\"div\",j:\"ytp-ad-info-dialog-message\"},{S:\"div\",j:\"ytp-ad-info-dialog-mute-container\"},{S:\"div\",j:\"ytp-ad-info-dialog-confirm-container\",B:[{S:\"button\",j:\"ytp-ad-info-dialog-confirm-button\",v6:\"{{confirmLabel}}\"}]}]}]}]},\n\"ad-info-dialog\",Y,k,P);this.W=this.K=null;this.N=this.J5(\"ytp-ad-info-dialog-confirm-button\");this.Q5=this.J5(\"ytp-ad-info-dialog-mute-container\");this.GJ=this.J5(\"ytp-ad-info-dialog-message\");this.UP=this.J5(\"ytp-ad-info-dialog-ad-reasons\");this.T=this.J=null;this.TJ=T;this.C=null;this.Fr=!1;this.Kg=null;this.hide()};\nOt6=function(W){W.Z(W.Y,g.OQ(\"shopping_overlay_visible\"),function(){W.R6(!0)});\nW.Z(W.Y,g.ut(\"shopping_overlay_visible\"),function(){W.R6(!1)});\nW.Z(W.Y,g.OQ(\"shopping_overlay_expanded\"),function(){W.Kg=!0;yR(W)});\nW.Z(W.Y,g.ut(\"shopping_overlay_expanded\"),function(){W.Kg=!1;yR(W)});\nW.Z(W.Y,g.OQ(\"shopping_overlay_preview_collapsed\"),function(){W.W=!0;AI(W)});\nW.Z(W.Y,g.ut(\"shopping_overlay_preview_collapsed\"),function(){W.W=!1;AI(W)});\nW.Z(W.Y,g.OQ(\"shopping_overlay_preview_expanded\"),function(){W.K=!0;AI(W)});\nW.Z(W.Y,g.ut(\"shopping_overlay_preview_expanded\"),function(){W.K=!1;AI(W)})};\nR31=function(W,Y){return g.l_(W.api.V())&&cQ(Y)&&NU(Y)?g.ws(W.api.V(),g.Q7(W.api.getVideoData())).then(function(k){var P;k&&(P={Authorization:\"Bearer \"+k});return P},void 0):Ww()};\nIV2=function(W,Y,k){return(W=W.levels[Y])?W.qM(k):-1};\ng.lS=function(W,Y){if(\"textContent\"in W)W.textContent=Y;else if(W.nodeType==3)W.data=String(Y);else if(W.firstChild&&W.firstChild.nodeType==3){for(;W.lastChild!=W.firstChild;)W.removeChild(W.lastChild);W.firstChild.data=String(Y)}else g.ee(W),W.appendChild(AQ(W).createTextNode(String(Y)))};\nLs7=function(W){return HWC(W,!0)};\nnov=function(W,Y){W=Kb(W.array,function(k){return Y-k.start||1});\nreturn W<0?-(W+1):W};\nGfz=function(W,Y,k){k=k===void 0?!0:k;W.J=W.T.animate([{offset:0,opacity:Y===void 0?1:Y},{offset:1,opacity:0}],{duration:200,fill:\"forwards\",easing:\"cubic-bezier(0.20, 0.00, 0.60, 1.00)\"});k&&(W.J.addEventListener(\"finish\",function(){W.J=void 0;phC(W);W.hide()}),W.W=\"fading-out\")};\nEy=function(W){return/(vp9|vp09|vp8|avc1|av01)/.test(W)};\nEo6=function(W,Y){if(W.endpoint===\"log_event\"){g.dS(\"more_accurate_gel_parser\")&&Y1().storePayload({isJspb:!1},W.payload);JH(W);var k=sy(W),P=new Map;P.set(k,[W.payload]);var T=KZ2(W.payload)||\"\";Y&&(kf=new Y);return new g.JL(function(I,X){kf&&kf.isReady()?bUz(P,kf,I,X,{bypassNetworkless:!0},!0,rf(T)):I()})}};\nddV=function(W,Y,k){for(var P=W.length;P1&&O.set(u[0].toString(),decodeURIComponent(u[1].toString()))});\nO.has(\"bid\")&&(B.bid=O.get(\"bid\"));B.params=[];A7F.forEach(function(u){O.has(u)&&(u={key:u,value:O.get(u)},B.params.push(u))});\nz3C(W,B);Y.adSignalsInfo=B}Y.client.unpluggedAppInfo||(Y.client.unpluggedAppInfo={});Y.client.unpluggedAppInfo.enableFilterMode=!1;k=T.W.cosver;k!=null&&k!==\"cosver\"&&(Y.client.osVersion=k);k=T.W.cplatform;k!=null&&k!==\"cplatform\"&&k!==\"\"&&(Y.client.platform=k);k=T.W.cmodel;k!=null&&k!==\"cmodel\"&&(Y.client.deviceModel=k);k=T.W.cplayer;k!=null&&k!==\"cplayer\"&&(Y.client.playerType=k);k=T.W.cbrand;k!=null&&k!==\"cbrand\"&&(Y.client.deviceMake=k);Y.user||(Y.user={});Y.user.lockedSafetyMode=!1;(T.U(\"embeds_web_enable_iframe_api_send_full_embed_url\")||\nT.U(\"embeds_enable_autoplay_and_visibility_signals\"))&&g.vL(T)&&Sdv(Y,I,W.player.getPlayerState(1))};\nd27=function(W){W.wD||(W.wD=(0,g.lj)(),g.AR(\"oafs_rp\",W.wD,W.W))};\nuP=function(){var W;return(W=gf())!=null?W:g.o_(\"RAW_HOT_CONFIG_GROUP\")};\nn85=function(W){var Y=W!==W.top,k=W.top===VwS(W),P=-1,T=0;if(Y&&k&&W.top.mraid){P=3;var I=W.top.mraid}else P=(I=W.mraid)?Y?k?2:1:0:-1;I&&(I.IS_GMA_SDK||(T=2),rrd(m26,function(X){return typeof I[X]===\"function\"})||(T=1));\nreturn{cV:I,compatibility:T,XkJ:P}};\nD2d=function(W,Y){if(Y.video&&Y.video.length){W.title=Y.title||\"\";W.description=Y.description;W.views=Y.views;W.likes=Y.likes;W.dislikes=Y.dislikes;W.author=Y.author||\"\";var k=Y.loop;k&&(W.loop=k);k=g.Jv(W);W.items=[];for(var P=g.e(Y.video),T=P.next();!T.done;T=P.next())if(T=T.value)T.video_id=T.encrypted_id,W.items.push(T);W.length=W.items.length;(Y=Y.index)?W.index=Y:W.findIndex(k);W.setShuffle(!1);W.loaded=!0;W.K++;W.W&&W.W()}};\nFc=function(W){if(!RPq(W)||!NR(W,524531317))return!1;ce(W,!0);return!0};\ne$=function(W,Y){Y=Y===void 0?0:Y;var k,P,T,I,X,h,B,O,u,Z,M,t;return g.v(function(q){switch(q.W){case 1:k=wf(Hu().W);if(g.dS(\"att_fet_ks\"))return g.Ta(q,7),g.L(q,Q2(W,k),9);g.Ta(q,4);return g.L(q,go7(W,k),6);case 6:X=q.K;T=X.eJr;I=X.cYq;P=X;g.Vi(q,3);break;case 4:return g.jh(q),g.Jx(Error(\"Failed to fetch attestation challenge after \"+(Y+\" attempts; not retrying for 24h.\"))),y2(W,864E5),q.return({challenge:\"\",uE:{},W5:void 0,bgChallenge:void 0});case 9:P=q.K;if(!P)throw Error(\"Fetching Attestation challenge returned falsy\");\nif(!P.challenge)throw Error(\"Missing Attestation challenge\");T=P.challenge;I=tH(T);if(\"c1a\"in I&&(!P.bgChallenge||!P.bgChallenge.program))throw Error(\"Expected bg challenge but missing.\");g.Vi(q,3);break;case 7:h=g.jh(q);g.Jx(h);Y++;if(Y>=5)return g.Jx(Error(\"Failed to fetch attestation challenge after \"+(Y+\" attempts; not retrying for 24h.\"))),y2(W,864E5),q.return({challenge:\"\",uE:{},W5:void 0,bgChallenge:void 0});B=1E3*Math.pow(2,Y-1)+Math.random()*1E3;return q.return(new Promise(function(G){g.iQ(0,\nfunction(){G(e$(W,Y))},B)}));\ncase 3:O=Number(I.t)||7200;y2(W,O*1E3);u=void 0;if(!(\"c1a\"in I&&P.bgChallenge)){q.oi(10);break}Z=FZX(P.bgChallenge);g.Ta(q,11);return g.L(q,vs0(Hu(),Z),13);case 13:g.Vi(q,12);break;case 11:return M=g.jh(q),g.Jx(M),q.return({challenge:T,uE:I,W5:u,bgChallenge:Z});case 12:return g.Ta(q,14),u=new KL({challenge:Z,N4:{Af:\"aGIf\"}}),g.L(q,u.uR,16);case 16:g.Vi(q,10);break;case 14:t=g.jh(q),g.Jx(t),u=void 0;case 10:return q.return({challenge:T,uE:I,W5:u,bgChallenge:Z})}})};\nwhz=function(W){BI(W,\"impression\")&&!BI(W,\"seek\")&&W.h$(\"audio_audible\")};\nQV7=function(W,Y,k){var P,T;return g.v(function(I){switch(I.W){case 1:if(W.W){I.oi(2);break}return g.L(I,W.subtleCrypto.importKey(\"raw\",W.K,{name:\"AES-CTR\"},!1,[\"encrypt\"]),3);case 3:W.W=I.K;case 2:return P={name:\"AES-CTR\",counter:k,length:128},g.L(I,W.subtleCrypto.encrypt(P,W.W,Y),4);case 4:return T=I.K,I.return(new Uint8Array(T))}})};\nqW=function(W){if(W.Fr&&W.N&&!W.gD){for(;W.J.length;){var Y=W.J[0],k=y7q(W)?e3v(Y):g.Pk(Y.initData);if(Y8(W.W)&&!Y.K)W.J.shift();else{if(W.K.get(k))if(W.W.flavor!==\"fairplay\"||Y8(W.W)){W.J.shift();continue}else W.K.delete(k);lOS(Y);break}}W.J.length&&W.createSession(W.J[0])}};\ngH=function(W,Y,k){k!==void 0&&(ooF(W,Y,Math.ceil(Math.log2(k.length*4+2)/7)),Qc(W,k.length*1.2),Y=qe(k,W.W.subarray(W.pos)),W.pos+Y>W.W.length&&(Qc(W,Y),Y=qe(k,W.W.subarray(W.pos))),W.pos+=Y,vo0(W))};\nLZ1=function(W,Y,k,P,T,I,X){return[CBV(W,I,P,function(h){var B=h.slotId;h=X(h);B=yN(Y.K.get(),\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\",B);var O={layoutId:B,layoutType:\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\",fg:\"core\"};return{layoutId:B,layoutType:\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\",W7:new Map,layoutExitNormalTriggers:[new Zp(Y.W,I)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:new i_([new Oy(T),new yI(k)]),XA:h(O),\nadLayoutLoggingData:T.adLayoutLoggingData}})]};\nMa=function(W,Y,k){this.K=W;this.T=Y;this.fields=k||[];this.W=new Map};\noQ=function(W){this.value=W};\nRi=function(W,Y){for(var k=0;k=X){var q=M-u,G=void 0;((G=Y)!=null?G:Y={})[q]=t}else I[M]=t}if(Z)for(var E in Z)h=Z[E],h!=\nnull&&(h=k(h,P))!=null&&(M=+E,t=void 0,O&&!Number.isNaN(M)&&(t=M+u)W.policy.zf?g.Iv(W.f1):W.u7()};\nfmF=function(W){return{type:Qx(W,1),event:Qx(W,2),LWa:x22(W,3),Ui:x22(W,4),pU:yx(W,5),identifier:yx(W,6),T9:Qx(W,9)}};\nbU=function(W){return W.K.every(function(Y){return Y.hasOwnProperty(\"offsetMilliseconds\")})};\nzE1=function(W,Y){W.T||(W.T=!0,W.K&&(Y?W.K.Kg.hide():W.K.hide()),Y?(W=W.J,W.bz.show(),W.show()):W.J.show())};\nV8V=function(W){var Y,k=(Y=kW(W.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))==null?void 0:Y.current;if(!k)return null;Y=kW(W.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\");var P=W.layoutId,T=kW(W.clientMetadata,\"metadata_type_content_cpn\"),I=kW(W.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),X=kW(W.clientMetadata,\"metadata_type_player_underlay_renderer\"),h=kW(W.clientMetadata,\"metadata_type_ad_placement_config\"),B=kW(W.clientMetadata,\"metadata_type_video_length_seconds\");\nvar O=EJ(W.clientMetadata,\"metadata_type_layout_enter_ms\")&&EJ(W.clientMetadata,\"metadata_type_layout_exit_ms\")?(kW(W.clientMetadata,\"metadata_type_layout_exit_ms\")-kW(W.clientMetadata,\"metadata_type_layout_enter_ms\"))/1E3:void 0;return{BF:P,contentCpn:T,ZD:k,Xd:Y,instreamAdPlayerOverlayRenderer:I,instreamAdPlayerUnderlayRenderer:X,adPlacementConfig:h,videoLengthSeconds:B,aN:O,inPlayerLayoutId:kW(W.clientMetadata,\"metadata_type_linked_in_player_layout_id\"),inPlayerSlotId:kW(W.clientMetadata,\"metadata_type_linked_in_player_slot_id\")}};\nNLC=function(W){return Vu(W,!1)===\"EMBEDDED_PLAYER_MODE_PFL\"};\ncR=function(W){W=W===void 0?document:W;var Y,k;W=(k=(Y=W).querySelector)==null?void 0:k.call(Y,\"script[nonce]\");return W==null?\"\":W.nonce||W.getAttribute(\"nonce\")||\"\"};\nthS=function(W,Y){MB(W,1,Y.formatId,g2,3);Uh(W,2,Y.lY);Uh(W,3,Y.sequenceNumber);MB(W,4,Y.TO,a5,1);Uh(W,5,Y.xr);Uh(W,6,Y.xK)};\ng.wE=function(W){return W[W.length-1]};\namv=function(W){this.triggerType=\"TRIGGER_TYPE_PLAYBACK_MINIMIZED\";this.triggerId=W(this.triggerType)};\nYq0=function(W,Y,k,P,T,I,X,h,B){var O=Number(P.durationMilliseconds);return isNaN(O)?new l(\"Expected valid duration for AdActionInterstitialRenderer.\"):function(u){return WK2(Y,u.slotId,k,P,O,{impressionCommands:void 0,abandonCommands:P.abandonCommands?[{commandExecutorCommand:P.abandonCommands}]:void 0,completeCommands:P.completionCommands},P.skipPings?new Map([[\"skip\",P.skipPings]]):new Map,X(u),function(Z){return Dmd(W,Z,T,function(M,t){var q=M.slotId;M=X(M);q=yN(Y.K.get(),\"LAYOUT_TYPE_ENDCAP\",\nq);return ed(Y,q,t,k,M,\"LAYOUT_TYPE_ENDCAP\",[new xb(P),h],P.adLayoutLoggingData)})},B,I-1,P.adLayoutLoggingData,I)}};\nV2=function(W,Y){var k=fk2(W.J,Y.K);if(W.W.length>1){k=fb(W,Y.J,!0);for(var P=0,T=0;T0&&(P+=W.W[T].width,P+=Vc(W));k=(W.W[k].startTime+(Y.J-P)/W.W[k].width*((k===W.W.length-1?W.J.W*1E3:W.W[k+1].startTime)-W.W[k].startTime))/1E3||0}return k};\nuD=function(W){this.W=\"pending\";this.K=[];this.J=[];try{W(this.T.bind(this),this.reject.bind(this))}catch(Y){this.reject(Y)}};\nU5=function(W,Y){g.dS(\"log_sequence_info_on_gel_web\")&&(W.sequenceGroup=Y);return W};\ng.Ni=function(W,Y){for(var k in W)if(W[k]==Y)return!0;return!1};\nfZ=function(){return dU($VS)};\ng.rH=function(W,Y,k,P,T){Y=Y===void 0?{}:Y;k=k===void 0?eP6[W]:k;P=P===void 0?kzq[W]:P;T=T===void 0?Pbz[W]:T;g.M6.call(this,k,Object.assign({},{name:\"YtIdbKnownError\",isSw:self.document===void 0,isIframe:self!==self.top,type:W},Y));this.type=W;this.message=k;this.level=P;this.W=T;Object.setPrototypeOf(this,g.rH.prototype)};\njAV=function(W){var Y=Y===void 0?\"UNKNOWN_INTERFACE\":Y;if(W.length===1)return W[0];var k=Ttq[Y];if(k){k=new RegExp(k);for(var P=g.e(W),T=P.next();!T.done;T=P.next())if(T=T.value,k.exec(T))return T}var I=[];Object.entries(Ttq).forEach(function(X){var h=g.e(X);X=h.next().value;h=h.next().value;Y!==X&&I.push(h)});\nk=new RegExp(I.join(\"|\"));W.sort(function(X,h){return X.length-h.length});\nP=g.e(W);for(T=P.next();!T.done;T=P.next())if(T=T.value,!k.exec(T))return T;return W[0]};\ne6=function(W){return EWd(g.rM(W)[5]||null)};\ngf=function(){return g.o3(\"yt.gcf.config.hotConfigGroup\")};\nIpd=function(W){switch(W){case \"multiview.ustreamer_disabled\":case \"sabr.live_no_max_sq\":case \"sabr.live_unauthorized_request\":case \"sabr.malformed_config\":case \"sabr.media_serving_enforcement_id_error\":case \"sabr.metadata_fetcher_error\":case \"sabr.no_audio_selected\":case \"sabr.no_available_formats\":case \"sabr.no_redirect_url\":case \"sabr.no_video_selected\":case \"sabr.too_many_chunk_reader_error_retries\":return W;default:return\"sabr.config\"}};\ng.h1=function(W,Y){if(!Lv)return UJ.get(\"\"+W,Y)};\nWr=function(W,Y){aQ.call(this);var k=this;this.J=W;this.W=[];this.K=new g.fC(function(){k.publish(\"log_qoe\",{wvagt:\"timer\",reqlen:k.W?k.W.length:-1});if(k.W){if(k.W.length>0){var P=k.W.shift();XjF(k,P.info)}k.W.length>0&&(P=k.W[0].time-(0,g.lj)(),k.K.start(Math.max(0,P)))}},0);\ng.m(this,this.K);Y.subscribe(\"widevine_set_need_key_info\",this.T,this)};\nSqS=function(W,Y,k,P,T,I,X,h){return Y===null?new l(\"Invalid slot type when get discovery companion fromTopBannerImageTextIconButtonedLayoutViewModel\",{slotType:Y,TopBannerImageTextIconButtonedLayoutViewModel:P}):[Dkd(W,Y,X,I,function(B){var O=B.slotId;B=h(B);var u=P.adLayoutLoggingData,Z=new i_([new W_(P),new yI(T)]);O=yN(k.K.get(),\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",O);var M={layoutId:O,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",fg:\"core\"};return{layoutId:O,layoutType:\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",\nW7:new Map,layoutExitNormalTriggers:[new Zp(k.W,X)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:Z,XA:B(M),adLayoutLoggingData:u}})]};\nhq7=function(W,Y,k){W.isPaused()||W.getCurrentTime()>Y||k>10||(W.play(),g.LB(function(){hq7(W,W.getCurrentTime(),k+1)},500))};\ng.$r=function(){return!!g.o3(\"yt.scheduler.instance\")};\ng.Y7=function(W,Y,k){for(var P=Object.assign({},W),T=g.e(Object.keys(Y)),I=T.next();!I.done;I=T.next()){I=I.value;var X=W[I],h=Y[I];if(h===void 0)delete P[I];else if(X===void 0)P[I]=h;else if(Array.isArray(h)&&Array.isArray(X))P[I]=k?[].concat(g.cp(X),g.cp(h)):h;else if(!Array.isArray(h)&&g.XG(h)&&!Array.isArray(X)&&g.XG(X))P[I]=g.Y7(X,h,k);else if(typeof h===typeof X)P[I]=h;else return Y=new g.M6(\"Attempted to merge fields of differing types.\",{name:\"DeepMergeError\",key:I,JgP:X,updateValue:h}),g.LH(Y),\nW}return P};\nBt6=function(W,Y){var k,P;(P=(W=(k=W.Sy)==null?void 0:k.get(Y))==null)||(Y=W.J?!1:W.J=!0,P=!Y);return!P};\nkRV=function(W,Y){var k;return g.v(function(P){if(P.W==1)return g.L(P,Zv(Y),2);k=P.K;return P.return(k.delete(\"LogsRequestsStore\",W))})};\ng.H4=function(W,Y,k,P,T,I,X,h,B,O,u,Z){W=W.charAt(0)+W.substring(1).toLowerCase();k=k.charAt(0)+k.substring(1).toLowerCase();if(Y===\"0\"||Y===\"-1\")Y=null;if(P===\"0\"||P===\"-1\")P=null;var M=u.V(),t=M.userDisplayName&&g.vL(M);g.c.call(this,{S:\"div\",Ya:[\"ytp-button\",\"ytp-sb\"],B:[{S:\"div\",j:\"ytp-sb-subscribe\",D:t?{title:u.V().U(\"player_tooltip_data_title_killswitch\")?g.Vq(\"Subscribe as $USER_NAME\",{USER_NAME:M.userDisplayName}):\"\",\"data-tooltip-title\":g.Vq(\"Subscribe as $USER_NAME\",{USER_NAME:M.userDisplayName}),\n\"aria-label\":\"Subscribe to channel\",\"data-tooltip-image\":$7(M),\"data-tooltip-opaque\":String(g.hN(M)),tabindex:\"0\",role:\"button\"}:{\"aria-label\":\"Subscribe to channel\"},B:[{S:\"div\",j:\"ytp-sb-text\",B:[{S:\"div\",j:\"ytp-sb-icon\"},W]},Y?{S:\"div\",j:\"ytp-sb-count\",v6:Y}:\"\"]},{S:\"div\",j:\"ytp-sb-unsubscribe\",D:t?{title:u.U(\"player_tooltip_data_title_killswitch\")?g.Vq(\"Subscribed as $USER_NAME\",{USER_NAME:M.userDisplayName}):\"\",\"data-tooltip-title\":g.Vq(\"Subscribed as $USER_NAME\",{USER_NAME:M.userDisplayName}),\n\"aria-label\":\"Unsubscribe to channel\",\"data-tooltip-image\":$7(M),\"data-tooltip-opaque\":String(g.hN(M)),tabindex:\"0\",role:\"button\"}:{\"aria-label\":\"Unsubscribe to channel\"},B:[{S:\"div\",j:\"ytp-sb-text\",B:[{S:\"div\",j:\"ytp-sb-icon\"},k]},P?{S:\"div\",j:\"ytp-sb-count\",v6:P}:\"\"]}],D:{\"aria-live\":\"polite\"}});var q=this;this.channelId=X;this.Y=u;this.J=Z;var G=this.J5(\"ytp-sb-subscribe\"),E=this.J5(\"ytp-sb-unsubscribe\");I&&g.N6(this.element,\"ytp-sb-classic\");if(T){h?this.W():this.K();var z=function(){var F=q.channelId;\nif(B||O){var y=u.getVideoData();s7(u.fn(),y.unsubscribeCommand,{feature:B});u.Ri(\"UNSUBSCRIBE\",F)}G.focus();G.removeAttribute(\"aria-hidden\");E.setAttribute(\"aria-hidden\",\"true\")},A=function(){if(M.wD){var F=q.channelId;\nif(B||O){var y={c:F};var U;g.Jh.isInitialized()&&(U=O2C(y));y=U||\"\";if(U=u.getVideoData())if(U=U.subscribeCommand){var V=u.fn();V?(s7(V,U,{botguardResponse:y,feature:B}),u.Ri(\"SUBSCRIBE\",F)):g.LH(Error(\"No innertube service available when updating subscriptions.\"))}else g.LH(Error(\"No subscribe command in videoData.\"));else g.LH(Error(\"No video data available when updating subscription.\"))}E.focus();E.removeAttribute(\"aria-hidden\");G.setAttribute(\"aria-hidden\",\"true\")}else uZ(g.w8(q.Y.V()),\"sb_button\",\nq.T)};\nthis.Z(G,\"click\",A);this.Z(E,\"click\",z);this.Z(G,\"keypress\",function(F){F.keyCode===13&&A(F)});\nthis.Z(E,\"keypress\",function(F){F.keyCode===13&&z(F)});\nthis.Z(u,\"SUBSCRIBE\",this.W);this.Z(u,\"UNSUBSCRIBE\",this.K);this.J&&t&&(u81(u),pt(u,G,this),pt(u,E,this))}else g.N6(G,\"ytp-sb-disabled\"),g.N6(E,\"ytp-sb-disabled\")};\nrY=function(W,Y){return W>Y?1:W>>=0;W>>>=0;if(Y<=2097151)var k=\"\"+(4294967296*Y+W);else GZ()?k=\"\"+(BigInt(Y)<>>24|Y<<8)&16777215,Y=Y>>16&65535,W=(W&16777215)+k*6777216+Y*6710656,k+=Y*8147497,Y*=2,W>=1E7&&(k+=W/1E7>>>0,W%=1E7),k>=1E7&&(Y+=k/1E7>>>0,k%=1E7),k=Y+pjd(k)+pjd(W));return k};\njq=function(W){T8(W)&&W.uI();Gz7(W)&&(Ix(W,\"captions\",!0),Ix(W,\"endscreen\"),W.xv(),Ix(W,\"creatorendscreen\",!0))};\nIO=function(W,Y){return W.Tj(Y)?W.zn():Y};\niB=function(W){if(!W.U(\"use_rta_for_player\"))if(W.U(\"fetch_att_independently\"))g.Iv(W.YV);else{var Y=W.getVideoData().botguardData;Y&&g.X$(Y,W.zJ,W.getVideoData().Ps||\"\")}};\nKKC=function(W,Y,k){var P;(P=W.app.Ln().X[Y.clientPlaybackNonce]||null)==null||P.dispose();Y=new ro(W,Y,W.playback,k/1E3);W.TJ.set(Y.VC(),Y);W.app.Ln().X[Y.VC()]=Y};\nSq=function(W,Y){g.c.call(this,{S:\"button\",Ya:[\"ytp-subtitles-button\",\"ytp-button\"],D:{\"aria-keyshortcuts\":\"c\",\"aria-pressed\":\"{{pressed}}\",\"data-priority\":\"5\",\"data-tooltip-title\":\"{{tooltip-title}}\",title:W.U(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\"},B:[W.U(\"delhi_modern_web_player_icons\")?{S:\"div\",j:\"ytp-subtitles-button-icon\",v6:\"{{icon}}\"}:EpS(W)]});this.Y=W;this.tooltip=Y.r5();W.U(\"delhi_modern_web_player_icons\")&&this.updateValue(\"icon\",\nJ1d(this));this.Z(W,\"videodatachange\",this.xa);this.Z(W,\"appresize\",this.xa);this.Z(W,\"promotooltipacceptbuttonclicked\",this.fS2);this.Z(W,\"onApiChange\",this.xa);this.Z(W,\"onCaptionsTrackListChanged\",this.xa);this.Z(W,\"captionschanged\",this.xa);this.Y.createClientVe(this.element,this,127299);this.xa();this.listen(\"click\",this.onClick);this.addOnDisposeCallback(g.nt(Y.r5(),this.element))};\nA1X=function(W){var Y,k,P,T,I,X,h,B,O,u,Z,M,t,q,G;return g.v(function(E){if(E.W==1){W.status=200;Y=W.W.get(\"docid\");k=JI(W.W.get(\"fmtid\")||\"\");P=W.W.get(\"lmt\")||\"0\";T=+(W.W.get(\"csz\")||0);if(!Y||!k||!T)throw Error(\"Invalid local URL\");W.W.get(\"ck\")&&W.W.get(\"civ\")&&(I=new sAX(W.W.get(\"ck\"),W.W.get(\"civ\")));X=W.range;h=Math.floor(X.start/T);B=Math.floor(X.end/T);O=h}if(E.W!=5)return O<=B?g.L(E,r1v(Y,k,P,O,I),5):E.oi(0);u=E.K;if(u===void 0)throw Error(\"invariant: data is undefined\");Z=O*T;M=(O+1)*T;\nt=Math.max(0,X.start-Z);q=Math.min(X.end+1,M)-(t+Z);G=new Uint8Array(u.buffer,t,q);W.K.append(G);W.loaded+=q;W.loaded=T.T?(T.y5(\"sdai\",{haltrq:I+1,est:T.T}),P=!1):P=T.K!==2;if(!P||!yB(Y.K?Y.K.W.ob:Y.W.ob,W.policy,W.T,W.loader.u2())||W.loader.isSuspended&&(!OW(W.schedule)||W.loader.VM))return!1;if(W.policy.T&&ua>=5)return g.Iv(W.loader.Da),!1;if(W.H6.isManifestless){if(Y.J.length>0&&Y.K&&Y.K.t5===-1||Y.J.length>=W.policy.zR||!W.policy.IW&&Y.J.length>0&&!W.policy.G.Ch)return!1;if(Y.G)return!W.H6.isLive||\n!isNaN(W.Cs)}if(h30(Y))return W.logger.debug(\"Pending request with server-selectable format found\"),!1;if(!Y.K){if(!Y.W.sE())return!1;p1(Y,W.loader.getCurrentTime())}if(ib(Y)&&(Y.nI()!==ib(Y)||W.loader.isSuspended))return!1;T=(P=W.policy.nB)&&!Y.J.length&&M4(Y,!0)=W.policy.LY)return!1;P=Y.K;if(!P)return!0;P.type===4&&P.W.sE()&&(Y.K=g.wE(P.W.sY(P)),P=\nY.K);if(!P.IB()&&!P.W.f5(P))return!1;I=W.H6.Fj||W.H6.T;if(W.H6.isManifestless&&I){I=Y.W.index.QU();var X=k.W.index.QU();I=Math.min(I,X);if(Y.W.index.GG()>0&&I>0&&P.t5>=I)return Y.TJ=I,k.TJ=I,!1}if(P.W.info.audio&&P.type===4||P.IB())return!1;I=!Y.C&&!k.C;if(T=!T)T=P.X,T=!!(k.K&&!ok(k.K)&&k.K.Xzq2(W,Y)?(zq2(W,Y),!1):(W=Y.qT)&&W.isLocked()?!1:!0};\nYod=function(W){return g.KC(W.W,function(Y){return Y.info.video?Y.info.video.projectionType===\"MESH\":!1})};\ndVV=function(W,Y){this.videoData=W;this.W=Y};\n$N=function(W,Y){this.adPodIndex=W;this.W=Y.length;this.adBreakLengthSeconds=Y.reduce(function(P,T){return P+T},0);\nvar k=0;for(W+=1;W=DV6&&(MN++,g.dS(\"abandon_compression_after_N_slow_zips\")?ia===g.uu(\"compression_disable_point\")&&MN>gp2&&(tt=!1):tt=!1);FKd(Y);P.headers||(P.headers={});P.headers[\"Content-Encoding\"]=\"gzip\";P.postBody=W;P.postParams=void 0;T(k,P)};\nqN=function(W,Y,k,P,T,I){Qy.call(this,W,Y,k,P);this.sP=T;this.er=I;this.ey=!0;qj(this.er(),this);W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId)};\nopz=function(){function W(h,B){return h==null?B:h}\nvar Y=P7(),k=Math.max(Y.length-1,0),P=QAz(Y);Y=P.W;var T=P.K,I=P.J,X=[];I&&X.push(new RO([I.url,I.W?2:0],W(I.depth,1)));T&&T!=I&&X.push(new RO([T.url,2],0));Y.url&&Y!=I&&X.push(new RO([Y.url,0],W(Y.depth,k)));P=g.Ab(X,function(h,B){return X.slice(0,X.length-B)});\n!Y.url||(I||T)&&Y!=I||(T=y17(Y.url))&&P.push([new RO([T,1],W(Y.depth,k))]);P.push([]);return g.Ab(P,function(h){return eqX(k,h)})};\ng.w8=function(W){W=g0(W.xf);return W===\"www.youtube-nocookie.com\"?\"www.youtube.com\":W};\ntYq=function(W,Y){W=document.querySelector(W);if(!W)return!1;var k=\"\",P=W.nodeName;P===\"SCRIPT\"?(k=W.src,k||(k=W.getAttribute(\"data-timing-href\"))&&(k=window.location.protocol+k)):P===\"LINK\"&&(k=W.href);cR(document)&&W.setAttribute(\"nonce\",cR(document));return k?(W=vT.getEntriesByName(k))&&W[0]&&(W=W[0],k=TG(),Q5(\"rsf_\"+Y,k+Math.round(W.fetchStart)),Q5(\"rse_\"+Y,k+Math.round(W.responseEnd)),W.transferSize!==void 0&&W.transferSize===0)?!0:!1:!1};\nwk=function(W,Y,k){EF(\"Slot stage was \"+Y+\" when calling method \"+k,W)};\nH_=function(W,Y,k,P,T){CC.call(this,W,{S:\"div\",j:\"ytp-ad-player-overlay-layout\",B:[{S:\"div\",j:\"ytp-ad-player-overlay-layout__player-card-container\"},{S:\"div\",j:\"ytp-ad-player-overlay-layout__ad-info-container\"},{S:\"div\",j:\"ytp-ad-player-overlay-layout__skip-or-preview-container\"},{S:\"div\",j:\"ytp-ad-player-overlay-layout__ad-disclosure-banner-container\"}]},\"player-overlay-layout\",Y,k,P);this.K=T;this.TJ=this.J5(\"ytp-ad-player-overlay-layout__player-card-container\");this.W=this.J5(\"ytp-ad-player-overlay-layout__ad-info-container\");\nthis.N=this.J5(\"ytp-ad-player-overlay-layout__skip-or-preview-container\");this.Kg=this.J5(\"ytp-ad-player-overlay-layout__ad-disclosure-banner-container\");this.hide()};\nnr=function(W){W=vp0(W);Rk.call(this,W.length?W[W.length-1]:new HO(Cc,0));this.J=W;this.K=null};\npr=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",D:{d:\"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z\",fill:\"#fff\"}}]}};\nCbC=function(W,Y){var k=Y.filter(function(T){return G8(W,T)===10}),P=Y.filter(function(T){return G8(W,T)!==10});\nreturn W.T.NTg?function(){var T=g.xh.apply(0,arguments);return g.v(function(I){if(I.W==1)return g.L(I,W.E8J.apply(W,[k].concat(g.cp(T))),2);W.YA.apply(W,[P].concat(g.cp(T)));g.I_(I)})}:function(){var T=g.xh.apply(0,arguments);\nW.lm1.apply(W,[k].concat(g.cp(T)));W.YA.apply(W,[P].concat(g.cp(T)))}};\nKr=function(W){this.h5=rT(W)};\nsW=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q,G,E,z){EW.call(this,W,Y,k,P,T,I,X,h,O,u,Z,M,t,q,G,E,z);var A=this;this.RI=B;this.MS=Z;this.uo=!0;this.Mw=this.oB=0;this.m8=az(function(){LKz(Jt(A));A.JE.Vi(A.slot,A.layout)});\nthis.VS=az(function(){UVd(Jt(A));A.NT!==\"rendering_stop_requested\"&&A.MS(A);A.layoutExitReason?A.JE.oI(A.slot,A.layout,A.layoutExitReason):lp5(A)});\nthis.timer=new g.df(200);this.timer.listen(\"tick\",function(){A.Xi()});\ng.m(this,this.timer)};\nrz=function(W,Y){W.C!=Y&&(W.C=Y,W.G&&W.G())};\nx22=function(W,Y){if(ma(W,Y))return Y=YE(W.W,W.pos,8),W.pos+=8,(new DataView(Y.buffer,Y.byteOffset,Y.byteLength)).getFloat64(0,!0)};\nb2q=function(W){W.K.push(W.Z(W.Y,\"videodatachange\",W.dn));W.K.push(W.Z(W.Y,\"videoplayerreset\",W.dn));W.K.push(W.Z(W.Y,\"onPlaylistUpdate\",W.dn));W.K.push(W.Z(W.Y,\"autonavchange\",W.Tk))};\nFs7=function(W){var Y=c1d[BM[W]],k=xVq[W];return k&&Y?new OZ(W,Y,{audio:new At(k.audioSampleRate,k.numChannels)}):null};\nfpq=function(W){var Y=W.app.D2();if(Y=Y?Y.getVideoData():null){if(g.z8(Y)||g.dz(Y)||g.VZ(Y))return 16/9;if(mz(Y)&&Y.J.W)return W=Y.J.videoInfos[0].video,D2(W.width,W.height)}return(W=W.L1)?D2(W.videoWidth,W.videoHeight):16/9};\nF$=function(W,Y,k){this.AD=W;this.W=Y;this.sP=k;gz(jj(),{R0:V6v,Uu:PBV})};\nv_=function(W,Y,k,P,T,I,X,h,B){return Kv(k,y82())||k.layoutType===\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\"&&g.R(k.renderingContent,cP)!==void 0?new y8(W,Y,k,P,T,I,X,h,B):Kv(k,{ya:[\"metadata_type_player_overlay_layout_renderer\",\"metadata_type_player_bytes_callback\",\"metadata_type_linked_player_bytes_layout_id\",\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"],EV:[\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\"]})||k.layoutType===\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\"&&g.R(k.renderingContent,xm)!==void 0?\nnew wz(W,Y,k,P,T,I,X,h,B):Kv(k,NtS())||k.layoutType===\"LAYOUT_TYPE_ENDCAP\"&&g.R(k.renderingContent,lo)!==void 0?new Q_(W,Y,k,P,I):Kv(k,apF())?new y_(Y,k,W,P,T,B):Kv(k,{ya:[\"metadata_type_instream_ad_player_overlay_renderer\"],EV:[\"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY\"]})?new eq(W,Y,k,P,T,h):k.layoutType===\"LAYOUT_TYPE_ENDCAP\"&&g.R(k.renderingContent,bo)!==void 0?new oO(W,Y,k,P,I):null};\nxb=function(W){this.value=W};\n$QF=function(W,Y,k,P){W.W&&EF(\"Currently active request ongoing for slot. This should never happen\",W.slot);W.W=Y();W.W.then(function(T){W.W=null;P&&P(T);var I=T.ac?\"LAYOUT_TYPE_THROTTLED_AD_BREAK_RESPONSE\":\"LAYOUT_TYPE_AD_BREAK_RESPONSE\",X=W.K.get(),h=W.slot.slotId,B=kN(W.v5.get(),{slotId:W.slot.slotId,slotType:W.slot.slotType,slotPhysicalPosition:W.slot.slotPhysicalPosition,fg:W.slot.fg,slotEntryTrigger:W.slot.slotEntryTrigger,slotFulfillmentTriggers:W.slot.slotFulfillmentTriggers,slotExpirationTriggers:W.slot.slotExpirationTriggers}),\nO=yN(X.K.get(),I,h),u={layoutId:O,layoutType:I,fg:\"core\"};T={layoutId:O,layoutType:I,W7:new Map,layoutExitNormalTriggers:[new WFV(X.W,h)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:new i_([new oQ(T)]),XA:B(u)};YG5(W.callback,W.slot,T)},function(T){W.W=null;\nk&&k();T instanceof FT||uN(W.callback,W.slot,new l(T,void 0,\"ADS_CLIENT_ERROR_MESSAGE_AD_BREAK_REQUEST_ERROR\",!0),\"ADS_CLIENT_ERROR_TYPE_FULFILL_SLOT_FAILED\")})};\nfx=function(W,Y,k){W=Y?Cr(W,k):W.W;return new V4(W)};\ng.Lr=function(){return{S:\"svg\",D:{height:\"100%\",viewBox:\"0 0 16 16\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z\",fill:\"#fff\"}}]}};\nkbC=function(W){return{M5:Qx(W,3),yK:Qx(W,4),B2:Qx(W,5),TeJ:gZ(W,8),q$a:Qx(W,10),JK:Qx(W,12),pT:Qx(W,13),ea:Qx(W,14),hV:Qx(W,15),IN:Qx(W,16)}};\nnZ=function(W){var Y=W.hours||0;var k=W.minutes||0,P=W.seconds||0;Y=P+k*60+Y*3600+(W.days||0)*86400+(W.weeks||0)*604800+(W.months||0)*2629800+(W.years||0)*31557600;Y<=0?Y={hours:0,minutes:0,seconds:0}:(W=Y,Y=Math.floor(W/3600),W%=3600,k=Math.floor(W/60),P=Math.floor(W%60),Y={hours:Y,minutes:k,seconds:P});var T=Y.hours===void 0?0:Y.hours;k=Y.minutes===void 0?0:Y.minutes;W=Y.seconds===void 0?0:Y.seconds;P=T>0;Y=[];if(P){T=(new Intl.NumberFormat(\"en-u-nu-latn\")).format(T);var I=[\"fr\"],X=\"az bs ca da de el es eu gl hr id is it km lo mk nl pt-BR ro sl sr sr-Latn tr vi\".split(\" \");\nT=\"af be bg cs et fi fr-CA hu hy ka kk ky lt lv no pl pt-PT ru sk sq sv uk uz\".split(\" \").includes(UW)?T.replace(\",\",\"\\u00a0\"):I.includes(UW)?T.replace(\",\",\"\\u202f\"):X.includes(UW)?T.replace(\",\",\".\"):T;Y.push(T)}P=P===void 0?!1:P;k=([\"af\",\"be\",\"lt\"].includes(UW)||P)&&k<10?PPX().format(k):(new Intl.NumberFormat(\"en-u-nu-latn\")).format(k);Y.push(k);k=PPX().format(W);Y.push(k);k=\":\";\"da fi id si sr sr-Latn\".split(\" \").includes(UW)&&(k=\".\");return Y.join(k)};\nz55=function(W,Y){Wd(39,Y.W)||(W.ob=Y,W.K=0,g.Iv(W.delay))};\nTk2=function(W){W.updateValue(\"channelLink\",\"\");W.updateValue(\"channelName\",\"\");g.vL(W.api.V())?W.updateValue(\"channelTitleFocusable\",\"0\"):W.updateValue(\"channelTitleFocusable\",\"-1\")};\nj1q=function(W,Y,k){return Y=Y.filter(function(P){if(P.video.qualityOrdinal<=W.KH)return!0;k[P.itag]=\"maxquality\";return!1})};\nIwF=function(W){if(!g.eU())throw W=new g.rH(\"AUTH_INVALID\",{dbName:W}),HT(W),W;var Y=g.yp();return{actualName:W+\":\"+Y,publicName:W,userIdentifier:Y}};\nhed=function(W,Y,k,P,T,I,X,h,B){var O=k.pings;return O?[X2v(W,I,h,T,function(u){var Z=u.slotId;u=B(u);var M=k.adLayoutLoggingData,t=k.progressCommands;Z=yN(Y.K.get(),\"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER\",Z);var q={layoutId:Z,layoutType:\"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER\",fg:\"core\"};return{layoutId:Z,layoutType:\"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER\",W7:t4(O),layoutExitNormalTriggers:[new Zp(Y.W,I)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],\nII:[],fg:\"core\",clientMetadata:new i_([new yI(P),new la(ba(O)),new c_(SGX(O)),new t9(X/1E3),new x7({progressCommands:t}),new fr(X/1E3)]),XA:u(q),adLayoutLoggingData:M}})]:new l(\"VideoAdTrackingRenderer without VideoAdTracking pings filled.\",{videoAdTrackingRenderer:k})};\nV_=function(W,Y){Y={rst4disc:Y,cd:W.L.toFixed(3),sq:W.OP?W.OP.t5:-1};W.J=NaN;W.L=0;W.rD=-1;W.OP=null;W.Q5=NaN;W.V5=NaN;W.GJ=null;W.loader.y5(\"mdstm\",Y)};\ng.ad=function(W){return Fp(W).toUpperCase()===\"WEB\"};\nBk2=function(W){W.policy.DY&&(W.TJ=void 0,W.qo=0)};\nu41=function(W,Y,k,P,T,I,X,h){this.callback=W;this.slot=Y;this.layout=k;this.Cg=P;this.sP=T;this.P6=X;this.i8=h;this.W=!1;W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId);var B;W=((B=kW(this.layout.clientMetadata,\"METADATA_TYPE_INTERACTIONS_AND_PROGRESS_LAYOUT_COMMANDS\"))==null?void 0:B.progressCommands)||[];var O=kW(k.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\");this.K=new O6F(I,W,k.layoutId,function(){return O*1E3})};\nGz7=function(W){var Y=W.Y.getVideoData(),k=W.X&&!Y.isInlinePlaybackNoAd;W.Y.U(\"html5_defer_modules_on_ads_only\")&&!Y.isAd()&&(k=!1);return k};\nMO6=function(W,Y){Nc(W,{createkeysession:1});W.status=\"gr\";aj(\"drm_gk_s\",void 0,W.videoData.A5);W.url=rx5(W);try{W.J=Y.createSession(W.L,function(k){Nc(W,{m:k})})}catch(k){Y=\"t.g\";\nk instanceof DOMException&&(Y+=\";c.\"+k.code);W.publish(\"licenseerror\",\"drm.unavailable\",1,Y,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\");return}W.J&&(Z60(W.J,function(k,P){i67(W,k,P)},function(k,P,T){if(!W.Xr()){P=void 0;\nvar I=1;g.Bk(W.K)&&g.gp(W.zJ)&&W.zJ.U(\"html5_enable_safari_fairplay\")&&T===1212433232&&(P=\"ERROR_HDCP\",I=W.zJ.U(\"html5_safari_fairplay_ignore_hdcp\")?0:I);W.error(\"drm.keyerror\",I,k,P)}},function(){W.Xr()||(Nc(W,{onkyadd:1}),W.A5||(W.publish(\"sessionready\"),W.A5=!0))},function(k){W.CI(k)}),g.m(W,W.J))};\nax=function(W){return W.videoData.W?NN(W.videoData.W)||5:5};\ng.MS=function(W){g.D.call(this);var Y=this;this.provider=W;this.logger=new g.M_(\"qoe\");this.W=new Map;this.sequenceNumber=1;this.Kg=NaN;this.b7=\"N\";this.L=this.CS=this.Sh=this.A5=this.K=0;this.f1=this.UP=this.X=this.GJ=\"\";this.KH=this.Fr=NaN;this.D_=0;this.xq=-1;this.tT=1;this.playTimeSecs=this.rebufferTimeSecs=0;this.A9=this.isEmbargoed=this.TJ=this.isOffline=this.isBuffering=!1;this.rZ=[];this.N=null;this.Lg=this.T=this.e1=this.G=!1;this.J=-1;this.rD=!1;this.DY=new g.fC(this.iy,750,this);this.zS=\nthis.adCpn=this.gD=this.contentCpn=\"\";this.adFormat=void 0;this.Qa=0;this.bz=new Set(\"cl fexp drm drm_system drm_product ns el adformat live cat shbpslc\".split(\" \"));this.UV=new Set([\"gd\",\"pw\",\"gp\",\"gm\"]);this.serializedHouseBrandPlayerServiceLoggingContext=\"\";this.K1=!1;this.Gn=NaN;this.OP=0;this.J9=!1;this.remoteConnectedDevices=[];this.remoteControlMode=void 0;this.xm=!1;this.LH=new Set;this.zW={f3:function(I){Y.f3(I)},\nlw6:function(){return Y.C},\ns3:function(){return Y.contentCpn},\nm8g:function(){return Y.gD},\nreportStats:function(){Y.reportStats()},\nXsq:function(){return Y.W.get(\"cat\")||[]},\nxG:function(I){return Y.W.get(I)||[]},\nnBi:function(){return Y.W},\nXDq:function(){return 0},\nCW5:function(){return{adCpn:Y.adCpn,zS:Y.zS,adFormat:Y.adFormat}}};\nthis.wD=this.provider.zJ.U(\"html5_qoe_relaxed_reporting\");var k=g.je(this.provider.zJ.experiments,\"html5_qoe_proto_mock_length\");k&&!aO.length&&(aO=tOd(k));g.m(this,this.DY);try{var P,T;(T=(P=navigator).getBattery)==null||T.call(P).then(function(I){Y.N=I})}catch(I){}g.xd(this,0,\"vps\",[\"N\"]);\nW.zJ.OR()&&(this.OP=(0,g.lj)(),this.Gn=g.mW(function(){var I=(0,g.lj)(),X=I-Y.OP;X>500&&Y.y5(\"vmlock\",{diff:X.toFixed()});Y.OP=I},250));\nthis.provider.videoData.ws&&(this.remoteControlMode=qGz[this.provider.videoData.ws]||0);this.provider.videoData.eA&&(k=Ef2(this.provider.videoData.eA),k==null?0:k.length)&&(this.remoteConnectedDevices=k);W.zJ.OR()&&(this.Q5=new Wq,g.m(this,this.Q5));k=g.je(W.zJ.experiments,\"html5_js_self_profiler_sample_interval_ms\");W=g.je(W.zJ.experiments,\"html5_js_self_profiler_max_samples\");k>0&&W>0&&(this.V5=new YO(k,W),g.m(this,this.V5))};\nRe7=function(W){var Y,k;return g.v(function(P){return P.W==1?g.L(P,Uj(W),2):P.W!=3?(Y=P.K,k=void 0,g.L(P,g.KQ(Y,[\"coldConfigStore\"],{mode:\"readwrite\",sR:!0},function(T){return g.H0(T.objectStore(\"coldConfigStore\").index(\"coldTimestampIndex\"),{direction:\"prev\"},function(I){k=I.getValue()})}),3)):P.return(k)})};\nng7=function(W,Y){uZ(g.w8(W.Y.V()),\"wl_button\",function(){H6C({videoId:Y});window.location.reload()})};\n$O=function(W){this.value=W};\noAC=function(W){var Y=W.Y.getVideoData();W=W.Y.V();var k=g.lSq(),P=W.U(\"enable_spherical_kabuki\"),T=g.kO(W);if(g.VZ(Y))return k||P||T;if(g.z8(Y))return T||k||P;if(g.dz(Y))return T||k||!1;if(g.Pq(Y))return T||!1;k=Y.K&&Y.K.video&&Y.K.video.isHdr();return T&&!g.TY(Y)&&!k&&W.U(\"enable_webgl_noop\")};\nSoV=function(W){switch(typeof W){case \"boolean\":return p20||(p20=[0,void 0,!0]);case \"number\":return W>0?void 0:W===0?Gbq||(Gbq=[0,void 0]):[-W,void 0];case \"string\":return[0,W];case \"object\":return W}};\nKFv=function(W,Y){var k=(Y(W.error.message)+\":\"+Y(W.error.stack)).substring(0,2048);Y=k.length+1;k=vM(k);var P=new Uint8Array(4+k.length);P.set([42,Y&127|128,Y>>7,W.error.code]);P.set(k,4);return P};\ng.mx=function(W){var Y=[];if(W.displayName)Y.push(W.displayName);else{var k=W.languageName||\"\";Y.push(k);W.kind===\"asr\"&&k.indexOf(\"(\")===-1&&Y.push(\" (Automatic Captions)\");W.name&&Y.push(\" - \"+W.name)}W.translationLanguage&&Y.push(\" >> \"+W.translationLanguage.languageName);return Y.join(\"\")};\njN=function(W){this.h5=rT(W)};\nEg1=function(W){return iH()&&MU(W)?!1:Rf(W)&&(g.xW(W.pg)?!W.isLivePlayback:W.hlsvp)||!qU()||W.Md?!0:!1};\nJ91=function(W,Y,k,P){return new i2(W.type,W.W,W.range,\"reslice\"+W.G,W.t5,W.startTime,W.duration,Y,k,P,W.lY,W.clipId)};\naSS=function(W,Y){var k=Y&2147483648;k&&(W=~W+1>>>0,Y=~Y>>>0,W==0&&(Y=Y+1>>>0));W=ix(W,Y);return typeof W===\"number\"?k?-W:W:k?\"-\"+W:W};\nQu=function(W){switch(W.K){case 0:W.K!=0?Qu(W):IP(W.W);break;case 1:W=W.W;yw(W,W.W+8);break;case 2:if(W.K!=2)Qu(W);else{var Y=mK(W.W)>>>0;W=W.W;yw(W,W.W+Y)}break;case 5:W=W.W;yw(W,W.W+4);break;case 3:Y=W.J;do{if(!WSd(W))throw Error();if(W.K==4){if(W.J!=Y)throw Error();break}Qu(W)}while(1);break;default:throw Error();}};\ns1v=function(W,Y){this.K=this.W=0;this.W=Y.x-W.x;this.K=Y.y-W.y};\nr9V=function(W,Y){var k=this;this.W=W;this.wx=Y;this.loaded=this.status=0;this.error=\"\";W=XB(this.W.get(\"range\")||\"\");if(!W)throw Error(\"bad range\");this.range=W;this.K=new $A;A1X(this).then(function(){k.wx.zM()},function(P){k.error=\"\"+P||\"unknown_err\";\nk.wx.zM()})};\nSN=function(W,Y,k,P,T,I,X,h){Qy.call(this,W,Y,k,P);this.sP=T;this.er=I;this.X=h;this.ey=!0;this.T=null;this.C=kW(k.clientMetadata,\"metadata_type_linked_player_bytes_layout_id\");qj(this.er(),this);W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId)};\nhn=function(W,Y){W.has(Y)||W.set(Y,{instreamVideoAdRenderer:void 0,vE:void 0,adVideoId:Y,OB:[]});return W.get(Y)};\npAC=function(W,Y){Y=Y instanceof Uo?Y:new Uo(5,\"TVD:error\",Y);return W.reportError(Y)};\nnN=function(W){var Y={};W=W.split(\"\\r\\n\");for(var k=0;k=.5&&W.h$(\"seek\"),X&&g.F7(k,2)&&GY(W,k.state,Y,P,T,I))};\nRs=function(W,Y){return yLX(W,Y||{},!0)};\nNtS=function(){var W=[\"metadata_type_ad_action_interstitial_renderer\"];Nd().forEach(function(Y){W.push(Y)});\nreturn{ya:W,EV:[\"LAYOUT_TYPE_ENDCAP\"]}};\nKA=function(W,Y,k,P,T){W.iv_load_policy=P;Y=DX(Y);if(Y.cta_conversion_urls)try{W.cta_conversion_urls=JSON.parse(Y.cta_conversion_urls)}catch(I){EF(I)}k.ws&&(W.ctrl=k.ws);k.eA&&(W.ytr=k.eA);k.dS&&(W.ytrcc=k.dS);k.isMdxPlayback&&(W.mdx=\"1\");W.vvt&&(W.vss_credentials_token=W.vvt,k.Mv&&(W.vss_credentials_token_type=k.Mv),k.mdxEnvironment&&(W.mdx_environment=k.mdxEnvironment));Sc(W,T);return W};\nyU1=function(W){var Y,k,P=(k=(Y=W.W6.bd())==null?void 0:Y.getCurrentTime())!=null?k:W.W6.getCurrentTime(),T=W.J.o7(P);og5(W,T,P);W.isSeeking=!1;Array.from(W.K.keys()).sort(function(I,X){return I-X}).forEach(function(I){I>T?EC(W,I,W.K.get(I)):I===T&&EC(W,I,W.K.get(I),P-W.J.getStartTime(I))})};\ngo7=function(W,Y){var k,P,T,I,X;return g.v(function(h){switch(h.W){case 1:k=void 0,P=0,T={};case 2:if(!(P<5)){h.oi(4);break}if(!(P>0)){h.oi(5);break}T.GY=1E3*Math.pow(2,P-1)+Math.random()*1E3;return g.L(h,new Promise(function(B){return function(O){g.iQ(0,function(){O(void 0)},B.GY)}}(T)),5);\ncase 5:return g.Ta(h,7),g.L(h,Q2(W,Y),9);case 9:return I=h.K,h.return(Im6(I));case 7:k=X=g.jh(h),X instanceof Error&&g.Jx(X);case 8:P++;T={GY:void 0};h.oi(2);break;case 4:throw k;}})};\nes0=function(W){var Y=[new cT(W.BF),new Jn(W.ZD),new yI(W.adPlacementConfig),new t9(W.videoLengthSeconds),new fr(W.aN)];W.instreamAdPlayerOverlayRenderer&&Y.push(new Oy(W.instreamAdPlayerOverlayRenderer));W.playerOverlayLayoutRenderer&&Y.push(new sC(W.playerOverlayLayoutRenderer));W.Xd&&Y.push(new r3(W.Xd));return Y};\nAn=function(W,Y,k){if(k===void 0||!k){k=g.e(W.UP);for(var P=k.next();!P.done;P=k.next()){P=P.value;if(Y>=P.start&&Y<=P.end)return;if(Y===P.end+1){P.end+=1;return}}W.UP.push(new vg2(Y))}};\nCP2=function(W,Y,k){this.W=W;this.slot=Y;this.layout=k};\nze=function(W,Y,k,P){P=P===void 0?0:P;return g.nT(function(){if(W.K.has(P))return W.G.push([Y,k]),!0;var T=g.Zu(P),I=k||g.iK(P);if(T&&I){if(g.dS(\"combine_ve_grafts\")){var X=W.J.get(I.toString());X?X.push(Y):(W.X.set(I.toString(),I),W.J.set(I.toString(),[Y]));W.A5||(W.A5=g.iQ(0,function(){IA(W,T)},1200))}else g.M$(W.client,T,I,Y);\nreturn!0}return!1})()};\nzY=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);D4(this.api,\"getUserAudioQualitySetting\",function(){return Y.getUserAudioQualitySetting()});\nD4(this.api,\"setUserAudioQualitySetting\",function(k){Y.setUserAudioQualitySetting(k)});\nD4(this.api,\"hasHqaAudioTrack\",function(){return Y.hasHqaAudioTrack()});\nthis.wO=LF6();this.updateEnvironmentData()};\nUQ6=function(W){var Y;return(Y=W.layout.e3)!=null?Y:kW(W.layout.clientMetadata,\"metadata_type_sub_layouts\")};\nG4=function(W,Y,k,P){k=k===void 0?\"\":k;var T;return(T=d3(Yn(W,Y,P)))!=null?T:k};\ng.k4=function(W){var Y=mM(W.gx());return W.app.XK&&!W.isFullscreen()||W.getPresentingPlayerType()===3&&Y&&Y.Gg()&&Y.EK()||!!W.getPlaylist()};\nDz=function(W,Y,k){var P=W[a_]|0,T=uq(P),I=pj(W,k,T);if(I!=null&&I[Xe]===SY){if(!yb(I))return Qb(I),I.h5;var X=I.h5}else Array.isArray(I)&&(X=I);if(X){var h=X[a_]|0;h&2&&(X=PQ(X,h))}X=Cv(X,Y,!0);X!==I&&$a(W,P,k,X,T);return X};\nlwd=function(W,Y){if(!W.U0){var k=void 0;W.eW&&(k=W.W.s1({cpn:W.eW}));if(!k){k=p3S(W,Y*1E3);var P,T=(P=k)==null?void 0:P.cpn;W.eW?T&&W.eW!==T&&W.P7({cpcnm:T+\"_\"+W.eW,cmt:Y.toFixed(3)}):W.P7({cpcna:T,cmt:Y.toFixed(3)})}var I;return(I=k)==null?void 0:I.videoData}};\nRB=function(W){this.value=W};\nQk=function(W){if(W.prerendering)return 3;var Y;return(Y={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,\"\":0}[W.visibilityState||W.webkitVisibilityState||W.mozVisibilityState||\"\"])!=null?Y:0};\ncZ=function(W,Y){W.W.objectStoreNames.contains(Y)&&W.W.deleteObjectStore(Y)};\ng3=function(W,Y,k){var P=new jn(0,0,0,0);this.time=W;this.volume=null;this.J=Y;this.W=P;this.K=k};\nBg=function(W,Y,k){var P=this;this.K=W;this.J=Y;this.P6=k;this.W=function(T){return v0(P.K.get(),T)}};\nc9S=function(W){W=b6d(W);return W===null?!1:W[1]===\"google\"?!0:W[2]===\"google\"?W[0]===\"au\"&&W[1]===\"com\"?!0:W[0]===\"uk\"&&W[1]===\"co\"?!0:!1:!1};\nuj=function(W,Y,k){k=k===void 0?[]:k;this.maxItems=W;this.W=Y===void 0?0:Y;this.K=k};\nFB=function(){HO.call(this,Cc,2,\"mraid\");this.OP=0;this.Kg=this.wD=!1;this.G=null;this.K=n85(this.J);this.T.W=new jn(0,0,0,0);this.UP=!1};\nw3=function(){this.W={};if(this.K=xQ2()){var W=g.h1(\"CONSISTENCY\");W&&fw0(this,{encryptedTokenJarContents:W})}};\nQh=function(W,Y){if(W.simpleText){a:{W=W.simpleText;if(Y&&(Y=NDV(W))){Y=na(\"SPAN\",null,Y);break a}Y=g.S0(W)}return Y}var k=[];if(W.runs)for(var P=0;P=2?W.W.getAllResponseHeaders()||\"\":\"\").split(\"\\r\\n\");for(var k=0;k=2||oi()>0||!Sf0())return!1;var Y=W.SL.get(\"aitags\");if(!Y)return!1;Y=JI(Y).split(\",\");for(var k=[],P=g.e(W.sF),T=P.next();!T.done;T=P.next())T=T.value,g.oq(Y,T)&&k.push(T);if(!k.length)return!1;W.SL.set(\"altitags\",g.tw(k.join(\",\")));return!0};\nB5V=function(W,Y){if(Y.W.video.quality===\"auto\"&&Q8(Y.getInfo())&&W.videoData.xq)for(var k=g.e(W.videoData.xq),P=k.next();!P.done;P=k.next())if(P=P.value,P.getHeight()===W.a$&&P.W.video.quality!==\"auto\")return P.getInfo();return Y.getInfo()};\ng.aP=function(W,Y){g.pk.call(this,{S:\"div\",j:\"ytp-progress-bar-container\",D:{\"aria-disabled\":\"true\"},B:[{S:\"div\",Ya:[\"ytp-heat-map-container\"],B:[{S:\"div\",j:\"ytp-heat-map-edu\"}]},{S:\"div\",Ya:[\"ytp-progress-bar\"],D:{tabindex:\"0\",role:\"slider\",\"aria-label\":\"Seek slider\",\"aria-valuemin\":\"{{ariamin}}\",\"aria-valuemax\":\"{{ariamax}}\",\"aria-valuenow\":\"{{arianow}}\",\"aria-valuetext\":\"{{arianowtext}}\"},B:[{S:\"div\",j:\"ytp-chapters-container\"},{S:\"div\",j:\"ytp-timed-markers-container\"},{S:\"div\",j:\"ytp-clip-start-exclude\"},\n{S:\"div\",j:\"ytp-clip-end-exclude\"},{S:\"div\",j:\"ytp-scrubber-container\",B:[{S:\"div\",Ya:[\"ytp-scrubber-button\",\"ytp-swatch-background-color\"],B:[{S:\"div\",j:\"ytp-scrubber-pull-indicator\"},{S:\"img\",Ya:[\"ytp-decorated-scrubber-button\"]}]}]}]},{S:\"div\",Ya:[\"ytp-fine-scrubbing-container\"],B:[{S:\"div\",j:\"ytp-fine-scrubbing-edu\"}]},{S:\"div\",j:\"ytp-bound-time-left\",v6:\"{{boundTimeLeft}}\"},{S:\"div\",j:\"ytp-bound-time-right\",v6:\"{{boundTimeRight}}\"},{S:\"div\",j:\"ytp-clip-start\",D:{title:\"{{clipstarttitle}}\"},v6:\"{{clipstarticon}}\"},\n{S:\"div\",j:\"ytp-clip-end\",D:{title:\"{{clipendtitle}}\"},v6:\"{{clipendicon}}\"}]});this.api=W;this.nu=!1;this.Zm=this.u5=this.Q5=this.C=this.Cn=0;this.rV=null;this.jW=!1;this.GJ={};this.D_={};this.clipEnd=Infinity;this.Gn=this.J5(\"ytp-clip-end\");this.rZ=new g.C2(this.Gn,!0);this.DY=this.J5(\"ytp-clip-end-exclude\");this.LH=this.J5(\"ytp-clip-start-exclude\");this.clipStart=0;this.f1=this.J5(\"ytp-clip-start\");this.UV=new g.C2(this.f1,!0);this.A5=this.A9=0;this.progressBar=this.J5(\"ytp-progress-bar\");this.J9=\n{};this.V5={};this.bz=this.J5(\"ytp-chapters-container\");this.PU=this.J5(\"ytp-timed-markers-container\");this.W=[];this.X=[];this.Dm={};this.i_=null;this.TJ=-1;this.K1=this.OP=0;this.KN=this.G=null;this.fN=this.J5(\"ytp-scrubber-button\");this.wD=this.J5(\"ytp-decorated-scrubber-button\");this.B4=this.J5(\"ytp-scrubber-container\");this.Lg=new g.z6;this.xq=0;this.k7=new OKC;this.J=new fA(0,0);this.u8=null;this.N=this.vk=!1;this.i5=null;this.Kg=this.J5(\"ytp-heat-map-container\");this.AC=this.J5(\"ytp-heat-map-edu\");\nthis.T=[];this.heatMarkersDecorations=[];this.e1=this.J5(\"ytp-fine-scrubbing-container\");this.Qa=this.J5(\"ytp-fine-scrubbing-edu\");this.K=void 0;this.UP=this.CN=this.Fr=!1;this.tooltip=Y.r5();this.addOnDisposeCallback(g.nt(this.tooltip,this.Gn));g.m(this,this.rZ);this.rZ.subscribe(\"hoverstart\",this.Hj,this);this.rZ.subscribe(\"hoverend\",this.F$,this);this.Z(this.Gn,\"click\",this.Cf);this.addOnDisposeCallback(g.nt(this.tooltip,this.f1));g.m(this,this.UV);this.UV.subscribe(\"hoverstart\",this.Hj,this);\nthis.UV.subscribe(\"hoverend\",this.F$,this);this.Z(this.f1,\"click\",this.Cf);uQ7(this);this.Z(W,\"resize\",this.Rb);this.Z(W,\"presentingplayerstatechange\",this.yk);this.Z(W,\"videodatachange\",this.qB);this.Z(W,\"videoplayerreset\",this.AF);this.Z(W,\"cuerangesadded\",this.uIr);this.Z(W,\"cuerangesremoved\",this.kd1);this.Z(W,\"onLoopRangeChange\",this.qr);this.Z(W,\"innertubeCommand\",this.onClickCommand);this.Z(W,\"onRetroModeChanged\",this.yY2);this.Z(W,g.OQ(\"timedMarkerCueRange\"),this.jkr);this.Z(W,\"updatemarkervisibility\",\nthis.jt);this.Z(W,\"serverstitchedvideochange\",this.Y6a);this.updateVideoData(W.getVideoData(),!0);this.qr(W.getLoopRange());Vh(this)&&!this.K&&(this.K=new NG(this.api,this.tooltip),W=g.DY(this.element).x||0,this.K.Rb(W,this.C),this.K.S1(this.e1),g.m(this,this.K),this.Z(this.K.dismissButton,\"click\",this.Sx),this.Z(this.K.playButton,\"click\",this.hM),this.Z(this.K.element,\"dblclick\",this.hM));this.api.createClientVe(this.Kg,this,139609,!0);this.api.createClientVe(this.AC,this,140127,!0);this.api.createClientVe(this.Qa,\nthis,151179,!0);this.api.createClientVe(this.progressBar,this,38856,!0)};\nBv=function(W){this.value=W};\nAt=function(W,Y,k,P,T,I,X,h){this.sampleRate=W===void 0?0:W;this.numChannels=Y===void 0?0:Y;this.spatialAudioType=k===void 0?\"SPATIAL_AUDIO_TYPE_NONE\":k;this.W=P===void 0?!1:P;this.J=T;this.T=I;this.audioQuality=X===void 0?\"AUDIO_QUALITY_UNKNOWN\":X;this.K=h===void 0?!1:h};\nW6=function(W,Y){g.D.call(this);this.P6=W;this.W=Y;this.eventCount=0;this.K=ZKd()()};\niKz=function(W,Y,k,P){P=P===void 0?{}:P;W.addEventListener&&(Y!=\"mouseenter\"||\"onmouseenter\"in document?Y!=\"mouseleave\"||\"onmouseenter\"in document?Y==\"mousewheel\"&&\"MozBoxSizing\"in document.documentElement.style&&(Y=\"MozMousePixelScroll\"):Y=\"mouseout\":Y=\"mouseover\");return Us(u$,function(T){var I=typeof T[4]===\"boolean\"&&T[4]==!!P,X=g.XG(T[4])&&g.XG(P)&&g.vu(T[4],P);return!!T.length&&T[0]==W&&T[1]==Y&&T[2]==k&&(I||X)})};\nM4V=function(W){switch(W){case \"abandon\":return\"unmuted_abandon\";case \"active_view_fully_viewable_audible_half_duration\":return null;case \"active_view_measurable\":return null;case \"active_view_viewable\":return null;case \"audio_audible\":return null;case \"audio_measurable\":return null;case \"channel_clickthrough\":return null;case \"clickthrough\":return\"unmuted_clickthrough\";case \"close\":return\"unmuted_close\";case \"companion_engagement\":return null;case \"complete\":return\"unmuted_complete\";case \"end_fullscreen\":return\"unmuted_end_fullscreen\";\ncase \"error\":return\"unmuted_error\";case \"first_quartile\":return\"unmuted_first_quartile\";case \"fullscreen\":return\"unmuted_fullscreen\";case \"impression\":return\"unmuted_impression\";case \"midpoint\":return\"unmuted_midpoint\";case \"mute\":return\"unmuted_mute\";case \"pause\":return\"unmuted_pause\";case \"progress\":return\"unmuted_progress\";case \"resume\":return\"unmuted_resume\";case \"rewind\":return null;case \"skip\":return\"unmuted_skip\";case \"swipe\":return null;case \"start\":return\"unmuted_start\";case \"third_quartile\":return\"unmuted_third_quartile\";\ncase \"unmute\":return\"unmuted_unmute\";case \"seek\":return null;case \"unmuted_abandon\":case \"unmuted_clickthrough\":case \"unmuted_complete\":case \"unmuted_end_fullscreen\":case \"unmuted_error\":case \"unmuted_first_quartile\":case \"unmuted_fullscreen\":case \"unmuted_impression\":case \"unmuted_midpoint\":case \"unmuted_mute\":case \"unmuted_pause\":case \"unmuted_close\":case \"unmuted_progress\":case \"unmuted_resume\":case \"unmuted_start\":case \"unmuted_third_quartile\":case \"unmuted_unmute\":case \"unmuted_skip\":return null;\ndefault:return null}};\ne8=function(W){switch(W){case \"SLOT_TRIGGER_EVENT_LAYOUT_ID_ENTERED\":return{kind:\"AD_PLACEMENT_KIND_LAYOUT_ID_ENTERED\"};case \"SLOT_TRIGGER_EVENT_BEFORE_CONTENT\":return{kind:\"AD_PLACEMENT_KIND_START\"};case \"SLOT_TRIGGER_EVENT_CONTENT_OFFSET\":return{kind:\"AD_PLACEMENT_KIND_MILLISECONDS\"};case \"SLOT_TRIGGER_EVENT_AFTER_CONTENT\":return{kind:\"AD_PLACEMENT_KIND_END\"};case \"SLOT_TRIGGER_EVENT_CONTENT_PAUSED\":return{kind:\"AD_PLACEMENT_KIND_PAUSE\"};default:return{kind:\"AD_PLACEMENT_KIND_UNKNOWN\"}}};\ng.qk=function(W,Y,k){var P={};(0,g.hv)(W,function(T,I){P[Y.call(k,T,I,W)]=T});\nreturn P};\nNP=function(W){this.K=W};\nsy=function(W,Y){var k=\"\";if(W.dangerousLogToVisitorSession)k=\"visitorOnlyApprovedKey\";else if(W.cttAuthInfo){if(Y===void 0?0:Y){Y=W.cttAuthInfo.token;k=W.cttAuthInfo;var P=new aI;k.videoId?P.setVideoId(k.videoId):k.playlistId&&S8(P,2,Y3,CH(k.playlistId));$3[Y]=P}else Y=W.cttAuthInfo,k={},Y.videoId?k.videoId=Y.videoId:Y.playlistId&&(k.playlistId=Y.playlistId),r0[W.cttAuthInfo.token]=k;k=W.cttAuthInfo.token}return k};\nP$=function(W){return t4S[W]||\"LATENCY_ACTION_UNKNOWN\"};\nc3=function(W){return!(!W.W||!W.W.isManifestless)};\nP_q=function(W,Y,k,P,T,I){k=new i_([new k3(k),new yI(P)]);Y=yN(W.K.get(),\"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON\",Y);P={layoutId:Y,layoutType:\"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON\",fg:\"core\"};return{layoutId:Y,layoutType:\"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON\",W7:new Map,layoutExitNormalTriggers:[new L6(function(X){return v0(W.K.get(),X)},T)],\nlayoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:k,XA:I(P),adLayoutLoggingData:void 0}};\nP6=function(W,Y,k,P){this.W=W;this.K=Y;this.J=k;this.T=P};\nTB=function(W,Y){gH(W,1,Y.url);if(Y.o$)for(var k=0;k255){var h=Error(\"go/unicode-to-byte-error\");if(k)throw h;P[T++]=X&255;X>>=8}P[T++]=X}W=g.Pk(P,Y)}return W};\nDUq=function(W,Y){var k=W.K[Y],P;(P=W.J)==null||P.dispose();g.R(k,u6)?Ux0(W,g.R(k,u6),W.macros):g.R(k,Z_)&&mU2(W,g.R(k,Z_),W.macros);W.W=Y};\nEy5=function(W){return{startTicks:Qx(W,1),Wd:Qx(W,2),timescale:Qx(W,3)}};\nak=function(W,Y,k){var P=Y*W.J.W*1E3;for(var T=-1,I=g.e(W.W),X=I.next();!X.done;X=I.next())X=X.value,P>X.startTime&&X.width>0&&T++;P=T<0?0:T;T=k.W-Vc(W)*W.OP;return Y*T+Vc(W)*P+k.T};\ni6=function(W,Y,k,P){var T=W[a_]|0,I=uq(T);T=KY(W,T,k,Y,I);$a(W,T,Y,P,I)};\ngyX=function(W,Y){Y=g.NF(Y);g.lS(W.questionText,Y);W.N&&W.questionText.setAttribute(\"id\",R1(\"survey-question-text\"))};\nuDF=function(W,Y){var k;if((k=W.questions)==null||!k.length||!W.playbackCommands||(Y===void 0||!Y)&&W.questions.length!==1)return!1;W=g.e(W.questions);for(Y=W.next();!Y.done;Y=W.next()){Y=Y.value;var P=k=void 0,T=((k=g.R(Y,Z_))==null?void 0:k.surveyAdQuestionCommon)||((P=g.R(Y,u6))==null?void 0:P.surveyAdQuestionCommon);if(!FNF(T))return!1}return!0};\npjd=function(W){W=String(W);return\"0000000\".slice(W.length)+W};\ns3C=function(W,Y,k){return MD(tK(W,Y),Y,k)};\nwrV=function(){this.W={}};\nfe1=function(W,Y){var k=!(!W.m&&!W.M),P=!(!W.mac3&&!W.MAC3),T=!(!W.meac3&&!W.MEAC3);W=!(!W.i&&!W.I);Y.Qa=W;return k||P||T||W};\nqD=function(W,Y,k,P){if(P===void 0)return P=Object.assign({},W[Y]||{}),k=(delete P[k],P),P={},Object.assign({},W,(P[Y]=k,P));var T={},I={};return Object.assign({},W,(I[Y]=Object.assign({},W[Y],(T[k]=P,T)),I))};\nQfX=function(W){var Y=0;Y=Y===void 0?0:Y;if(!kn(W))throw ka(\"int64\");var k=typeof W;switch(Y){case 512:switch(k){case \"string\":return Gy(W);case \"bigint\":return String($n(64,W));default:return RT(W)}case 1024:switch(k){case \"string\":return Gaz(W);case \"bigint\":return Fg($n(64,W));default:return KT6(W)}case 0:switch(k){case \"string\":return Gy(W);case \"bigint\":return Fg($n(64,W));default:return KU(W)}default:return QL(Y,\"Unknown format requested type for int64\")}};\nyp1=function(W,Y,k){if(W.api.U(\"web_player_nitrate_promo_tooltip\")&&W.api.getPresentingPlayerType(!0)!==2){var P=W.api.getVideoData(1);if(P==null?0:P.tooltipRenderer){P=P.tooltipRenderer;var T;if(T=!W.HO){if(!(Y=!Y)){var I,X,h;Y=((I=P.tooltipDisplayStrategy)==null?void 0:I.type)!==\"TOOLTIP_DISPLAY_TYPE_DO_NOT_SHOW_IMMEDIATELY\"&&((X=P.promoConfig)==null?void 0:X.promoId)!==\"dtip-edu-player-iseecaptions\"&&((h=P.promoConfig)==null?void 0:h.promoId)!==\"dtip-edu-player-tc-m2\"}T=Y}T&&(W.HO=new H6(P,W.api),\ng.m(W,W.HO),g.Fw(W.api,W.HO.element,9));var B;(B=W.HO)==null||nh(B,P,k)}}};\nGB=function(W){var Y=new ph(W);Cj.call(this,W,Y,\"Custom\");g.m(this,Y)};\nlk=function(W,Y,k,P,T){Y===k?T(new TypeError(\"Circular promise chain detected.\")):k.then(function(I){I instanceof g.UE?lk(W,Y,I,P,T):P(I)},function(I){T(I)})};\nJt=function(W){return{layoutId:W.aJ(),k$:W.Bw,AD:W.qq.get(),Nh:W.OU()}};\nBgv=function(W,Y){if(!W.K1){var k=Kh(W,\"start\",er());k=W.m1.W(k).W;var P={id:\"lidarv\"};P.r=Y;P.sv=\"968\";E9!==null&&(P.v=E9);Ok(k,function(T,I){return P[T]=T==\"mtos\"||T==\"tos\"?I:encodeURIComponent(I)});\nY=eUz();Ok(Y,function(T,I){return P[T]=encodeURIComponent(I)});\nY=\"//pagead2.googlesyndication.com/pagead/gen_204?\"+JK(IH(new jc,P));R$d(Y);W.K1=!0}};\noy7=function(W){if(!NR(W,440786851,!0))return null;var Y=W.pos;ce(W,!1);var k=ce(W,!0)+W.pos-Y;W.pos=Y+k;if(!NR(W,408125543,!1))return null;ce(W,!0);if(!NR(W,357149030,!0))return null;var P=W.pos;ce(W,!1);var T=ce(W,!0)+W.pos-P;W.pos=P+T;if(!NR(W,374648427,!0))return null;var I=W.pos;ce(W,!1);var X=ce(W,!0)+W.pos-I,h=new Uint8Array(k+12+T+X),B=new DataView(h.buffer);h.set(new Uint8Array(W.W.buffer,W.W.byteOffset+Y,k));B.setUint32(k,408125543);B.setUint32(k+4,33554431);B.setUint32(k+8,4294967295);\nh.set(new Uint8Array(W.W.buffer,W.W.byteOffset+P,T),k+12);h.set(new Uint8Array(W.W.buffer,W.W.byteOffset+I,X),k+12+T);return h};\nt97=function(W,Y){W.W=Y;W.element.classList.toggle(Zz.NOTIFICATIONS_ENABLED,W.W);var k=W.api.getVideoData();k?(Y=Y?k.tv:k.U8)?(W=W.api.fn())?s7(W,Y):g.LH(Error(\"No innertube service available when updating notification preferences.\")):g.LH(Error(\"No update preferences command available.\")):g.LH(Error(\"No video data when updating notification preferences.\"))};\nvyS=function(W,Y){return W.X.has(Y)?void 0:W.K.get(Y)};\ns9=function(W,Y){if((W=W.W.get(Y))==null)W=void 0;else{W=W.buffer;for(Y=[];W.K!==W.W;)W.K=(W.K+1)%W.data.length,Y.push(W.data[W.K]);W=Y}return W||[]};\nrV=function(W){this.N=this.G=this.C=this.J=0;this.L=this.X=!1;this.W=W;this.K=W.clone()};\nCH7=function(W,Y){var k=(0,g.lj)()-Y,P=M4(W.audioTrack,!0)*1E3,T=M4(W.videoTrack,!0)*1E3;W.logger.debug(function(){return\"Appends paused for \"+k});\nif(W.policy.J&&(W.y5(\"apdpe\",{dur:k.toFixed(),abuf:P.toFixed(),vbuf:T.toFixed()}),AK(W.policy))){var I=rr(W.N);W.y5(\"sdps\",{ct:Y,ah:P.toFixed(),vh:T.toFixed(),mr:zB(W.N,W.y0,I),bw:I.toFixed(),js:W.isSeeking(),re:+W.y0,ps:(W.policy.DT||\"\").toString(),rn:(W.policy.f6||\"\").toString()})}};\nLNd=function(W,Y,k,P,T,I){dV(\"TRANSACTION_ENDED\",{objectStoreNames:P,connectionHasUnknownAbortedTransaction:W.K,duration:T,isSuccessful:Y,tryCount:k,tag:I===void 0?\"IDB_TRANSACTION_TAG_UNKNOWN\":I})};\nUU1=function(W,Y){W.W&&(g.p(Y,8)&&W.J?(W.J=!1,W.fH(),W.W.start()):(g.p(Y,2)||g.p(Y,64))&&W.videoId&&(W.videoId=null))};\nld1=function(W,Y){var k=g.B4.getState().entities;W=RVV(k,W);Y=g.e(Y.Q5);for(var P=Y.next();!P.done;P=Y.next())if(W===RVV(k,P.value))return!0;return!1};\ncpC=function(W){var Y=Y===void 0?!1:Y;return nR(pR(W,bKd),W,Y,\"Trusted Promoted Video Domain URL\")};\nmi=function(W,Y){W.OE[W.pending++]=Y};\nxU0=function(){var W=aX(),Y={},k={},P={};return Object.assign({},(Y.sv=\"968\",Y),E9!==null&&(k.v=E9,k),(P[\"if\"]=W.J?\"1\":\"0\",P.nas=String(Kj.W.length),P))};\ngV=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);D4(this.api,\"updateFullerscreenEduButtonSubtleModeState\",function(P){Y.updateFullerscreenEduButtonSubtleModeState(P)});\nD4(this.api,\"updateFullerscreenEduButtonVisibility\",function(P){Y.updateFullerscreenEduButtonVisibility(P)});\nvar k=W.V();W.U(\"external_fullscreen_with_edu\")&&k.externalFullscreen&&Bh(k)&&k.controlsType===\"1\"&&this.events.Z(W,\"standardControlsInitialized\",function(){Y.W=new D_(W);g.m(Y,Y.W);W.A4(Y.W)})};\nH2v=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next())OP(W,k.value.slot,!1)};\ng.z4=function(W){var Y,k,P,T;return(g.FF(W)?(Y=W.OP)==null?void 0:(k=Y.cards)==null?void 0:k.cardCollectionRenderer:(P=W.playerResponse)==null?void 0:(T=P.cards)==null?void 0:T.cardCollectionRenderer)||null};\nV46=function(){var W=[];y1(fd1,function(Y){W.push(Y)});\nreturn W};\nZ2=function(W){return W.type===3||W.type===6};\nNm=function(){return g.o3(\"ytPubsub2Pubsub2Instance\")};\nKL=function(W){function Y(q,G,E,z){Promise.resolve().then(function(){B.done();h.PD();h.dispose();X.resolve({F9:q,OuD:G,hJg:E,GX1:z})})}\nfunction k(q,G,E,z){if(!P.logger.Xr()){var A=\"k\";G?A=\"h\":E&&(A=\"u\");A!==\"k\"?z!==0&&(P.logger.pI(A),P.logger.Ji(A,q)):P.K<=0?(P.logger.pI(A),P.logger.Ji(A,q),P.K=Math.floor(Math.random()*200)):P.K--}}\ng.D.call(this);var P=this;this.K=Math.floor(Math.random()*200);this.W=new wV;if(\"challenge\"in W&&N5d(W.challenge)){var T=G4(W.challenge,4,void 0,O$);var I=G4(W.challenge,5,void 0,O$);G4(W.challenge,7,void 0,O$)&&(this.W=adX(G4(W.challenge,7,void 0,O$)))}else T=W.program,I=W.globalName;this.addOnDisposeCallback(function(){var q,G,E;return g.v(function(z){if(z.W==1)return g.L(z,P.J,2);q=z.K;G=q.OuD;(E=G)==null||E();g.I_(z)})});\nthis.logger=zfq(W.N4||{},this.W);g.m(this,this.logger);var X=new g.sU;this.J=X.promise;this.logger.pI(\"t\");var h=this.logger.share(),B=new AP(h,\"t\");if(!g.hL[I])throw this.logger.kJ(25),Error(\"EGOU\");if(!g.hL[I].a)throw this.logger.kJ(26),Error(\"ELIU\");try{var O=g.hL[I].a;I=[];for(var u=[],Z=iNF(this.W),M=0;M0||I)&&typeof T===\"string\"&&(T=DX(T),g.ux(T,I),T=Y.postBodyFormat&&\nY.postBodyFormat===\"JSON\"?JSON.stringify(T):g.PZ(T));I=T||I&&!g.x3(I);!Z5d&&I&&Y.method!==\"POST\"&&(Z5d=!0,g.Yr(Error(\"AJAX request with postData should use POST\")));return T};\nrD=function(W){this.W=W;this.K=null};\nfh=function(W){return new JM(function(Y){return Y.substr(0,W.length+1).toLowerCase()===W+\":\"})};\ncqF=function(W,Y){switch(W.style){case Z9.CHAPTER_MARKER:return Y?8:5;case Z9.AD_MARKER:return 6;case Z9.TIME_MARKER:return Number.POSITIVE_INFINITY;default:return 0}};\ni57=function(W){(W===void 0?0:W)?(W=Vz().filter(function(Y){return Y.startsWith(\"1\")}),g.Zm(\"yt-player-performance-cap-active-set\",W,2592E3)):g.Zm(\"yt-player-performance-cap-active-set\",[],2592E3)};\ng.h8=function(W,Y){typeof W.className==\"string\"?W.className=Y:W.setAttribute&&W.setAttribute(\"class\",Y)};\nu8=function(W){var Y=\"\";if(W.gm)return W.gm;W.isLivePlayback&&(Y=W.allowLiveDvr?\"dvr\":W.isPremiere?\"lp\":W.wD?\"window\":\"live\");W.Fj&&(Y=\"post\");return Y};\nMvV=function(W){var Y=W.Y.ai().o3();W=W.Y.Hu(!0,!0);return Y.height-(W.height+W.top)};\nND=function(W,Y){g.c.call(this,{S:\"button\",Ya:[\"ytp-button\",\"ytp-cards-button\"],D:{\"aria-label\":\"Show cards\",\"aria-owns\":\"iv-drawer\",\"aria-haspopup\":\"true\",\"data-tooltip-opaque\":String(g.hN(W.V()))},B:[{S:\"span\",j:\"ytp-cards-button-icon-default\",B:[{S:\"div\",j:\"ytp-cards-button-icon\",B:[W.V().U(\"player_new_info_card_format\")?nQ2():{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z\"}}]}]},\n{S:\"div\",j:\"ytp-cards-button-title\",v6:\"Info\"}]},{S:\"span\",j:\"ytp-cards-button-icon-shopping\",B:[{S:\"div\",j:\"ytp-cards-button-icon\",B:[{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",j:\"ytp-svg-shadow\",D:{d:\"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z\"}},{S:\"path\",j:\"ytp-svg-fill\",D:{d:\"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z\",\n\"fill-opacity\":\"1\"}},{S:\"path\",j:\"ytp-svg-shadow-fill\",D:{d:\"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z\",fill:\"#000\",\"fill-opacity\":\"0.15\"}}]}]},{S:\"div\",\nj:\"ytp-cards-button-title\",v6:\"Shopping\"}]}]});this.Y=W;this.K=Y;this.W=null;this.fade=new g.fH(this,250,!0,100);g.m(this,this.fade);g.ML(this.K,\"ytp-show-cards-title\",g.hN(W.V()));this.hide();this.listen(\"click\",this.onClicked);this.listen(\"mouseover\",this.onHover);this.Sn(!0)};\nyNz=function(W){W=W===void 0?null:W;return W!=null&&(W=W.thumbnail,W!=null&&W.thumbnails!=null&&W.thumbnails.length!=0&&W.thumbnails[0].width!=null&&W.thumbnails[0].height!=null)?new g.Sn(W.thumbnails[0].width||0,W.thumbnails[0].height||0):new g.Sn(0,0)};\naT=function(W,Y,k){return new jM(W,Y,k)};\nsl=function(){return FD()?J_(\"Chromium\"):(wY(\"Chrome\")||wY(\"CriOS\"))&&!(FD()?0:wY(\"Edge\"))||wY(\"Silk\")};\nQ2=function(W,Y){var k;return g.v(function(P){k=W.K;if(!k||k.s6())return P.return(Q2(W.network,Y));Xc(\"att_pna\",void 0,\"attestation_challenge_fetch\");return P.return(new Promise(function(T){k.G2(\"publicytnetworkstatus-online\",function(){Q2(W.network,Y).then(T)})}))})};\ncT=function(W){this.value=W};\ntvq=function(W,Y){W=W.app.D2();var k=W.getPlayerState();Y.isOrWillBePlaying()&&!k.isOrWillBePlaying()?W.playVideo():Y.isPaused()&&!k.isPaused()&&W.pauseVideo()};\nY0=function(W,Y){return new Wn(W,W+Y-1)};\nFD=function(){return $0||k0?!!Pn&&Pn.brands.length>0:!1};\njE=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t){TW.call(this,W,Y,k,P,T,X,h,B,O,Z);this.Dh=I;this.a6=u;this.i8=M;this.P6=t;this.U1=this.NT=null};\nPh0=function(W,Y,k){var P=Y instanceof s$&&!W.J&&!W.K,T=!W.J&&(k==null?void 0:k.info.video);k=!W.K&&(k==null?void 0:k.info.audio);Y.state===3?((T||P)&&W.tick(\"vrr\"),(k||P)&&W.tick(\"arr\")):Y.state===4?T?(W.J=Y.OV(),g.tN(),d8(4)):k&&(W.K=Y.OV()):Y instanceof jS&&Y.NR()&&T&&(g.tN(),d8(4))};\nql7=function(W,Y,k,P){sJ.call(this,\"survey-interstitial\",W,Y,k,P)};\nR1d=function(W,Y){var k=W.ud.sA;if(k)return I4(k.getPlayerState());if(W.getVideoData().enableServerStitchedDai&&Y===2){var P;return((P=W.cz)==null?0:Xk(P,W.getCurrentTime()))?W.wN:-1}return Y!==2||W.Tj()?W.wN:W.lI};\nn1d=function(W){return H5F(W,function(Y){return g.$Z(Y,\"ytp-ad-has-logging-urls\")})};\npT7=function(W){WE(W)&&(W.j1?W.j1.endOfStream():W.I7.webkitSourceEndOfStream(W.I7.EOS_NO_ERROR))};\nG2X=function(W,Y){if(Y.dX()){var k=Y.E3();k=g.e(k);for(var P=k.next();!P.done;P=k.next())P=P.value,W.policy.J&&Y instanceof SE&&W.y5(\"omblss\",{s:P.info.TW()}),h6(W,Y.info.EP,P,Y.DF())}};\nKnC=function(W,Y){if(Y.itagDenylist)for(var k=0;k0&&(Y.request={internalExperimentFlags:k});g1X(W,void 0,Y);Fnd(void 0,Y);wTF(void 0,Y);Ukv(W,void 0,Y);Q91(void 0,Y);g.dS(\"start_client_gcf\")&&y_v(void 0,Y);g.o_(\"DELEGATED_SESSION_ID\")&&\n!g.dS(\"pageid_as_header_web\")&&(Y.user={onBehalfOfUser:g.o_(\"DELEGATED_SESSION_ID\")});!g.dS(\"fill_delegate_context_in_gel_killswitch\")&&(W=g.o_(\"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT\"))&&(Y.user=Object.assign({},Y.user,{serializedDelegationContext:W}));W=g.o_(\"INNERTUBE_CONTEXT\");var P;if(g.dS(\"enable_persistent_device_token\")&&(W==null?0:(P=W.client)==null?0:P.rolloutToken)){var T;Y.client.rolloutToken=W==null?void 0:(T=W.client)==null?void 0:T.rolloutToken}P=Object;T=P.assign;W=Y.client;\nk={};for(var I=g.e(Object.entries(DX(g.o_(\"DEVICE\",\"\")))),X=I.next();!X.done;X=I.next()){var h=g.e(X.value);X=h.next().value;h=h.next().value;X===\"cbrand\"?k.deviceMake=h:X===\"cmodel\"?k.deviceModel=h:X===\"cbr\"?k.browserName=h:X===\"cbrver\"?k.browserVersion=h:X===\"cos\"?k.osName=h:X===\"cosver\"?k.osVersion=h:X===\"cplatform\"&&(k.platform=h)}Y.client=T.call(P,W,k);return Y};\nMs=function(W,Y,k,P,T){Qy.call(this,k,W,Y,P);this.sP=T;W=kW(Y.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(Y.W7,T,W,Y.layoutId)};\ne1d=function(){try{var W=dU(FB);W.OM(\"removeEventListener\",\"ready\",e1d);o10(W)}catch(Y){zH(541,Y)}};\nLn6=function(W,Y,k){var P,T=((P=k.adSlots)!=null?P:[]).map(function(h){return g.R(h,Ci)});\nif(k.ac)if(kW(Y.clientMetadata,\"metadata_type_allow_pause_ad_break_request_slot_reschedule\"))t6(W.W.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return[]},Y.slotId);\nelse{if(W.P6.get().Y.V().U(\"h5_check_forecasting_renderer_for_throttled_midroll\")){var I=k.xi.filter(function(h){var B;return((B=h.renderer)==null?void 0:B.clientForecastingAdRenderer)!=null});\nI.length!==0?v1V(W.J,I,T,Y.slotId,k.ssdaiAdsConfig):t6(W.W.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return[]},Y.slotId)}else t6(W.W.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return[]},Y.slotId);\nCZ7(W.T,Y)}else{var X;P={vD:Math.round(((I=kW(Y.clientMetadata,\"metadata_type_ad_break_request_data\"))==null?void 0:I.vD)||0),K5:(X=kW(Y.clientMetadata,\"metadata_type_ad_break_request_data\"))==null?void 0:X.K5};I=kW(Y.clientMetadata,\"metadata_type_cue_point\");v1V(W.J,k.xi,T,Y.slotId,k.ssdaiAdsConfig,P,I)}};\nTE5=function(W){if(!W)return 0;var Y=W.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return Y?(Number(Y[2])|0)*3600+(Number(Y[4])|0)*60+(Number(Y[6])|0):Number(W)|0};\nlf5=function(W){return g.GK(\"yt-player-drc-pref\")?g.HE(W,Un7):W};\nc_d=function(W,Y){var k=b5C(W,Y);k||EF(\"Expected subLRA found by layout ID\",W.slot,W.layout,{layoutId:Y});W.W={TC:k};k?k.startRendering(k.Z2()):Y===W.K&&EF(\"Failed to find rendering adapter for survey media layout\",W.slot,W.layout,{surveyMediaLayoutId:Y})};\nbC6=function(W){var Y=!!W.ma;g.Gx(W.ER,Y?\"Copy debug info\":\"Get debug info\");qs(W.ER,!Y);g.Gx(W.Gq,Y?\"Copy embed code\":\"Get embed code\");qs(W.Gq,!Y);g.Gx(W.getVideoUrl,Y?\"Copy video URL\":\"Get video URL\");qs(W.getVideoUrl,!Y);g.Gx(W.Q7,Y?\"Copy video URL at current time\":\"Get video URL at current time\");qs(W.Q7,!Y);W.Gq.setIcon(Y?xn0():null);W.getVideoUrl.setIcon(Y?Bq():null);W.Q7.setIcon(Y?Bq():null)};\nMa2=function(W){W.rD.add(W.J);W.J=\"\";W.A5=!1};\ng.VvC=function(W){var Y=ffz();Y&&(W=JSON.stringify(W),Y.set(\"yt-player-lv\",W))};\nR4=function(W,Y){W.W.has(Y)?(W.W.delete(Y),delete NK().W[Y]):EF(\"Unexpected unregistration of layout in LidarApi\")};\nafC=function(W,Y){if(Y.videoFormatCapabilities)for(var k=0;k0?1:0;Z.atos=\nca(O.W);Z.ssb=ca(O.e1,!1);Z.amtos=YMF(O.W,!1);Z.uac=W.A9;Z.vpt=O.J.W;u==\"nio\"&&(Z.nio=1,Z.avms=\"nio\");Z.gmm=\"4\";Z.gdr=ra(W,O.J.W,!0)?1:0;Z.efpf=W.xm;if(u==\"gsv\"||u==\"nis\")u=W.jL,u.G>0&&(Z.nnut=u.G);Z.tcm=$tS(W);Z.nmt=W.GJ;Z.bt=W.OP;Z.pst=W.V5;Z.vpaid=W.N;Z.dur=W.J;Z.vmtime=W.A5;Z.is=W.Rs.J;W.W.length>=1&&(Z.i0=W.W[0].Kt,Z.a0=[W.W[0].HQ],Z.c0=[W.W[0].Gr],Z.ss0=[W.W[0].La],u=W.W[0].position,I=W.W[0].Rd,Z.p0=u?pz(u):void 0,u&&I&&!zC(I,u)&&(Z.cp0=pz(I)));W.W.length>=2&&(Z.i1=W.W[1].Kt,Z.a1=GW(W.W[1].cq,\nW.W[1].HQ,W.W[1].QG),Z.c1=GW(W.W[1].LR,W.W[1].Gr,W.W[1].Bq),Z.ss1=GW(W.W[1].zt,W.W[1].La,W.W[1].VG),u=W.W[1].position,I=W.W[1].Rd,Z.p1=u?pz(u):void 0,u&&I&&!zC(I,u)&&(Z.cp1=pz(I)),Z.mtos1=W.W[1].AP);W.W.length>=3&&(Z.i2=W.W[2].Kt,Z.a2=GW(W.W[2].cq,W.W[2].HQ,W.W[2].QG),Z.c2=GW(W.W[2].LR,W.W[2].Gr,W.W[2].Bq),Z.ss2=GW(W.W[2].zt,W.W[2].La,W.W[2].VG),u=W.W[2].position,I=W.W[2].Rd,Z.p2=u?pz(u):void 0,u&&I&&!zC(I,u)&&(Z.cp2=pz(I)),Z.mtos2=W.W[2].AP);W.W.length>=4&&(Z.i3=W.W[3].Kt,Z.a3=GW(W.W[3].cq,W.W[3].HQ,\nW.W[3].QG),Z.c3=GW(W.W[3].LR,W.W[3].Gr,W.W[3].Bq),Z.ss3=GW(W.W[3].zt,W.W[3].La,W.W[3].VG),u=W.W[3].position,I=W.W[3].Rd,Z.p3=u?pz(u):void 0,u&&I&&!zC(I,u)&&(Z.cp3=pz(I)),Z.mtos3=W.W[3].AP);Z.cs=kc7(W.Rs);Y&&(Z.ic=US7(W.Rs),Z.dvpt=O.J.K,Z.dvs=bx(O.K,.5),Z.dfvs=bx(O.K,1),Z.davs=bx(O.W,.5),Z.dafvs=bx(O.W,1),k&&(O.J.K=0,LAd(O.K),LAd(O.W)),W.Dw()&&(Z.dtos=O.gD,Z.dav=O.N,Z.dtoss=W.xg+1,k&&(O.gD=0,O.N=0,W.xg++)),Z.dat=O.C.K,Z.dft=O.A5.K,k&&(O.C.K=0,O.A5.K=0));Z.ps=[h.C.width,h.C.height];Z.bs=[T3(h.W),h.W.getHeight()];\nZ.scs=[h.T.width,h.T.height];Z.dom=h.domain;W.Mf&&(Z.vds=W.Mf);if(W.X.length>0||W.dO)Y=g.N_(W.X),W.dO&&Y.push(W.dO),Z.pings=g.Ab(Y,function(M){return M.toString()});\nY=g.Ab(g.HE(W.X,function(M){return M.X()}),function(M){return M.getId()});\nANd(Y);Z.ces=Y;W.K&&(Z.vmer=W.K);W.L&&(Z.vmmk=W.L);W.gD&&(Z.vmiec=W.gD);Z.avms=W.jL?W.jL.getName():\"ns\";W.jL&&g.ux(Z,W.jL.py());P?(Z.c=$D(W.Yf.Gr,2),Z.ss=$D(W.Yf.La,2)):Z.tth=S9()-PYz;Z.mc=$D(O.Kg,2);Z.nc=$D(O.G,2);Z.mv=kD(O.X);Z.nv=kD(O.T);Z.lte=$D(W.AZ,2);P=Kz(W,T);Hn(O);Z.qmtos=Hn(P);Z.qnc=$D(P.G,2);Z.qmv=kD(P.X);Z.qnv=kD(P.T);Z.qas=P.T>0?1:0;Z.qi=W.Pl;Z.avms||(Z.avms=\"geo\");Z.psm=O.OP.W;Z.psv=O.OP.getValue();Z.psfv=O.Q5.getValue();Z.psa=O.rD.getValue();B=T6X(B.gZ);B.length&&(Z.veid=B);W.C&&g.ux(Z,\nQ5v(W.C));Z.avas=W.C2();Z.vs=W.FE();Z.co=ZH1(W);Z.tm=O.UP;Z.tu=O.Fr;return Z};\nPPX=function(){return new Intl.NumberFormat(\"en-u-nu-latn\",{minimumIntegerDigits:2})};\nE4=function(W,Y){if(W.policy.rD&&W.j1){var k,P,T=Y?(k=W.j1)==null?void 0:k.W:(P=W.j1)==null?void 0:P.K;k=Y?W.audioTrack:W.videoTrack;Y=ib(k);if(Y==null?0:Y.isLocked){W.W6.V().OR()&&W.y5(\"eosl\",{unlock:Y.info.TW()});var I;(I=k.OP)==null||I.stop();Y.isLocked=!1;k.YB(Y);jHq(W.W,Y.info);T=T==null?void 0:T.F3();(T==null?void 0:T.TW())!==Y.info.TW()&&W.y5(\"oue\",{bls:T==null?void 0:T.TW(),tls:Y.info.TW()})}}};\ng.IQX=function(W){var Y=Y===void 0?{}:Y;var k=k===void 0?\"\":k;var P=P===void 0?window:P;W=g.YW(W,Y);Oq(W);k=g.PO(W+k);P=P.location;k=te(k);k!==void 0&&(P.href=k)};\nJ6=function(){g.c.call(this,{S:\"div\",j:\"ytp-fine-scrubbing-chapter-title\",B:[{S:\"div\",j:\"ytp-fine-scrubbing-chapter-title-content\",v6:\"{{chapterTitle}}\"}]})};\nSMV=function(){var W=REq();if(W){var Y=XCV[W.type||\"unknown\"]||\"CONN_UNKNOWN\";W=XCV[W.effectiveType||\"unknown\"]||\"CONN_UNKNOWN\";Y===\"CONN_CELLULAR_UNKNOWN\"&&W!==\"CONN_UNKNOWN\"&&(Y=W);if(Y!==\"CONN_UNKNOWN\")return Y;if(W!==\"CONN_UNKNOWN\")return W}};\nRk=function(W){this.C=!1;this.W=W;this.T=function(){}};\ns4=function(W,Y){var k=new GB(W);g.d2.call(this,\"Playback speed\",g.po.zz,W,Y,L1(W)?void 0:\"Custom\",L1(W)?void 0:function(){g.bj(Y,k)});\nvar P=this;this.X=new g.c({S:\"div\",j:\"ytp-menuitem-premium-badge\"});this.T=!1;g.m(this,k);this.G=new O4(W);g.m(this,this.G);if(W.U(\"web_settings_menu_icons\")){var T=W.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M9.80 1.22C8.59 1.46 7.44 1.91 6.38 2.54L5.93 2.82L5.85 2.88C5.66 3.04 5.53 3.26 5.49 3.51C5.45 3.75 5.51 4.00 5.65 4.21C5.78 4.41 5.99 4.56 6.23 4.62C6.47 4.69 6.72 4.66 6.94 4.54L7.03 4.49L7.40 4.26C8.27 3.74 9.21 3.38 10.20 3.18C10.46 3.12 10.69 2.97 10.84 2.75C10.98 2.53 11.04 2.26 10.98 2.00C10.93 1.74 10.77 1.51 10.55 1.36C10.33 1.22 10.06 1.16 9.80 1.22M13.02 2.00C12.99 2.13 12.99 2.26 13.02 2.39C13.04 2.52 13.09 2.64 13.16 2.75C13.24 2.86 13.33 2.95 13.44 3.03C13.55 3.10 13.67 3.15 13.80 3.18L14.20 1.22C14.07 1.19 13.94 1.19 13.81 1.22C13.68 1.24 13.56 1.29 13.45 1.36C13.34 1.44 13.24 1.53 13.17 1.64C13.09 1.75 13.04 1.87 13.02 2.00ZM14.20 1.22L14.00 2.20L13.80 3.18C15.77 3.58 17.54 4.63 18.85 6.15C20.15 7.68 20.90 9.60 20.99 11.61L21.00 12.00C21.00 14.07 20.28 16.08 18.96 17.69C17.65 19.30 15.82 20.40 13.79 20.82L13.99 21.8L14.19 22.78C16.59 22.29 18.77 21.01 20.36 19.14C21.96 17.27 22.88 14.93 22.99 12.47L23.00 12.00C23.00 9.46 22.12 7.00 20.52 5.04C18.91 3.08 16.68 1.73 14.20 1.22ZM2.88 5.85L2.82 5.93L2.54 6.38C1.91 7.44 1.46 8.59 1.22 9.80C1.19 9.93 1.19 10.06 1.21 10.19C1.24 10.32 1.29 10.44 1.36 10.55C1.51 10.77 1.74 10.93 2 10.98C2.25 11.04 2.53 10.98 2.75 10.84C2.97 10.69 3.12 10.46 3.18 10.20C3.38 9.21 3.74 8.27 4.26 7.40L4.49 7.03L4.54 6.95C4.65 6.73 4.68 6.47 4.62 6.23C4.56 5.99 4.41 5.78 4.20 5.65C4.00 5.51 3.75 5.46 3.50 5.49C3.26 5.53 3.03 5.66 2.88 5.85ZM17 12.00L9 7.2V16.8L17 12.00ZM2 13.01C1.87 13.04 1.74 13.09 1.64 13.16C1.53 13.23 1.43 13.33 1.36 13.44C1.29 13.55 1.24 13.67 1.21 13.80C1.19 13.93 1.19 14.06 1.22 14.19C1.46 15.40 1.91 16.55 2.54 17.61L2.82 18.06L2.88 18.14C3.03 18.33 3.26 18.46 3.50 18.50C3.75 18.53 4.00 18.48 4.20 18.34C4.41 18.21 4.56 18.00 4.62 17.76C4.68 17.52 4.65 17.27 4.54 17.05L4.49 16.96L4.26 16.59C3.74 15.72 3.38 14.78 3.18 13.79C3.15 13.66 3.10 13.54 3.02 13.43C2.95 13.32 2.86 13.23 2.75 13.15C2.64 13.08 2.51 13.03 2.39 13.01C2.26 12.98 2.12 12.98 2 13.01ZM5.65 19.79C5.51 19.99 5.46 20.24 5.49 20.49C5.53 20.73 5.66 20.95 5.85 21.11L5.93 21.17L6.38 21.45C7.44 22.08 8.59 22.53 9.80 22.77C10.06 22.83 10.33 22.77 10.55 22.63C10.77 22.48 10.93 22.25 10.98 21.99C11.03 21.73 10.98 21.46 10.84 21.24C10.69 21.02 10.46 20.87 10.20 20.81C9.21 20.61 8.27 20.25 7.40 19.73L7.03 19.50L6.94 19.45C6.72 19.34 6.47 19.31 6.23 19.37C5.99 19.43 5.78 19.58 5.65 19.79ZM14.19 22.78L13.79 20.82C13.66 20.84 13.54 20.89 13.43 20.97C13.32 21.04 13.23 21.13 13.15 21.24C13.08 21.35 13.03 21.48 13.01 21.60C12.98 21.73 12.98 21.87 13.01 22C13.04 22.12 13.09 22.25 13.16 22.35C13.23 22.46 13.33 22.56 13.44 22.63C13.55 22.70 13.67 22.75 13.80 22.78C13.93 22.80 14.06 22.80 14.19 22.78Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M10,8v8l6-4L10,8L10,8z M6.3,5L5.7,4.2C7.2,3,9,2.2,11,2l0.1,1C9.3,3.2,7.7,3.9,6.3,5z M5,6.3L4.2,5.7C3,7.2,2.2,9,2,11 l1,.1C3.2,9.3,3.9,7.7,5,6.3z M5,17.7c-1.1-1.4-1.8-3.1-2-4.8L2,13c0.2,2,1,3.8,2.2,5.4L5,17.7z M11.1,21c-1.8-0.2-3.4-0.9-4.8-2 l-0.6,.8C7.2,21,9,21.8,11,22L11.1,21z M22,12c0-5.2-3.9-9.4-9-10l-0.1,1c4.6,.5,8.1,4.3,8.1,9s-3.5,8.5-8.1,9l0.1,1 C18.2,21.5,22,17.2,22,12z\",\nfill:\"white\"}}]};this.setIcon(T)}this.Y=W;this.T=!1;this.Kg=null;L1(W)?(this.W=g.Vq(\"Custom ($CURRENT_CUSTOM_SPEED)\",{CURRENT_CUSTOM_SPEED:this.Y.getPlaybackRate().toString()}),this.C=this.Y.getPlaybackRate()):this.C=this.W=null;g.m(this,this.X);var I,X,h,B;this.wD=(I=this.Y.getVideoData())==null?void 0:(X=I.getWatchNextResponse())==null?void 0:(h=X.playerOverlays)==null?void 0:(B=h.playerOverlayRenderer)==null?void 0:B.showPlaybackRateUpsellPanelCommand;h2V(W,this.wD)?(this.K=uY(4),this.Y.createClientVe(this.X.element,\nthis,273508)):this.K=null;this.A5=this.Y.getAvailablePlaybackRates();this.Z(W,\"presentingplayerstatechange\",this.xa);var O;((O=this.Y.getVideoData())==null?0:O.Xj())&&this.Z(W,\"serverstitchedvideochange\",this.xa);this.Z(this.G.K,\"change\",function(){P.T=!0;P.xa()});\nthis.xa()};\nDd=function(W,Y,k,P,T){this.Bt=W;this.Ni=Y;this.Re=k;this.O5=P;this.Oga=T;this.lJ=W&&W.length};\nrR=function(W,Y){var k;return(k=Y.priority)!=null?k:W.J};\nVc=function(W){return W.api.U(\"delhi_modern_web_player\")?4:W.N?3:2};\nwo=function(W){return new g.UE(new A6(function(Y,k){B67(W,Y,k)}))};\nNl=function(W,Y,k){Y instanceof g.z6?(W.left+=Y.x,W.right+=Y.x,W.top+=Y.y,W.bottom+=Y.y):(W.left+=Y,W.right+=Y,typeof k===\"number\"&&(W.top+=k,W.bottom+=k));return W};\nxd7=function(W){return{iv:ZT(W,5),Vk:gZ(W,7)}};\nZYd=function(W,Y,k,P){P=P===void 0?function(){}:P;\nvar T,I,X,h,B,O,u,Z,M,t,q,G,E,z,A,F,y,U,V,b,Sz,jz,X7,O2,$5,z1,cd,V0,Mc,TK;return g.v(function(mV){switch(mV.W){case 1:mV.oi(2);break;case 3:if((T=mV.K)&&!T.isExpired())return mV.return(Promise.resolve(T.W()));case 2:if(!((I=Y)==null?0:(X=I.zX)==null?0:X.context)){mV.oi(4);break}h=Y.zX.context;mV.oi(5);break;case 5:B=g.e([]),O=B.next();case 8:if(O.done){mV.oi(4);break}u=O.value;return g.L(mV,u.nta(h),9);case 9:O=B.next();mV.oi(8);break;case 4:if((Z=W.J)==null||!Z.R9g(Y.input,Y.zX)){mV.oi(12);break}return g.L(mV,\nW.J.azi(Y.input,Y.zX),13);case 13:return M=mV.K,OY0(W,M,Y),mV.return(M);case 12:return(G=(q=Y.config)==null?void 0:q.cO)&&W.K.has(G)?t=W.K.get(G):(E=JSON.stringify(Y.zX),F=(A=(z=Y.sM)==null?void 0:z.headers)!=null?A:{},Y.sM=Object.assign({},Y.sM,{headers:Object.assign({},F,k)}),y=Object.assign({},Y.sM),Y.sM.method===\"POST\"&&(y=Object.assign({},y,{body:E})),((U=Y.config)==null?0:U.dag)&&aj(Y.config.dag),V=function(){return W.O6.fetch(Y.input,y,Y.config)},t=V(),G&&W.K.set(G,t)),g.L(mV,t,14);\ncase 14:(b=mV.K)&&g.dS(\"web_streaming_player\")&&Array.isArray(b)&&(b=b[0].playerResponse);if(b&&\"error\"in b&&((Sz=b)==null?0:(jz=Sz.error)==null?0:jz.details))for(X7=b.error.details,O2=g.e(X7),$5=O2.next();!$5.done;$5=O2.next())z1=$5.value,(cd=z1[\"@type\"])&&u_C.indexOf(cd)>-1&&(delete z1[\"@type\"],b=z1);G&&W.K.has(G)&&W.K.delete(G);((V0=Y.config)==null?0:V0.Nea)&&aj(Y.config.Nea);if(b||(Mc=W.J)==null||!Mc.qy5(Y.input,Y.zX)){mV.oi(15);break}return g.L(mV,W.J.b5g(Y.input,Y.zX),16);case 16:b=mV.K;case 15:return OY0(W,\nb,Y),((TK=Y.config)==null?0:TK.s6a)&&aj(Y.config.s6a),P(),mV.return(b||void 0)}})};\nie=function(W){return W?\"layout: \"+W.layoutType:\"\"};\nzW=function(W){return W.getVideoData().enableServerStitchedDai&&!!W.cz};\ndR=function(W){W.onreadystatechange&&W.onreadystatechange.call(W)};\nDG=function(W,Y){g.c.call(this,{S:\"div\",j:\"ytp-volume-panel\",D:{title:W.U(\"player_tooltip_data_title_killswitch\")?\"Volume\":\"\",\"data-tooltip-title\":\"Volume\",role:\"slider\",\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\",\"aria-valuenow\":\"{{valuenow}}\",\"aria-valuetext\":\"{{valuetext}}\",tabindex:\"0\"},B:[{S:\"div\",j:\"ytp-volume-slider\",B:[{S:\"div\",j:\"ytp-volume-slider-handle\"}]}]});var k=this;this.api=W;this.X=Y;this.jA=!1;this.N=this.volume=0;this.C=null;this.K=this.W=this.isDragging=!1;this.X=Y;this.J=W.U6();\nthis.G=this.J5(\"ytp-volume-slider\");this.A5=this.J5(\"ytp-volume-slider-handle\");this.T=new g.C2(this.G,!0);g.m(this,this.T);this.T.subscribe(\"dragstart\",this.Xzr,this);this.T.subscribe(\"dragmove\",this.kR,this);this.T.subscribe(\"dragend\",this.Oqz,this);this.Z(W,\"onVolumeChange\",this.onVolumeChange);this.Z(W,\"appresize\",this.vg);this.Z(W,\"fullscreentoggled\",this.I0);this.Z(W,\"onShowControls\",this.rQ);this.Z(W,\"onHideControls\",this.rQ);this.Z(this.element,\"keydown\",this.DM);this.Z(this.element,\"focus\",\nfunction(){e0(k,k.W,k.isDragging,!0,k.api.jA())});\nthis.Z(this.element,\"blur\",function(){e0(k,k.W,k.isDragging,!1,k.api.jA())});\nthis.vg(W.ai().getPlayerSize());mX(this,W.getVolume(),W.isMuted());pt(W,this.element,this)};\nba=function(W){var Y,k;return(k=W==null?void 0:(Y=W.activeViewTracking)==null?void 0:Y.trafficType)!=null?k:\"ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED\"};\nTD=function(W){this.h5=rT(W,19)};\nmf=function(W){g.c.call(this,{S:\"div\",j:\"ytp-spinner\",B:[gR(),{S:\"div\",j:\"ytp-spinner-message\",v6:\"If playback doesn't begin shortly, try restarting your device.\"}]});this.api=W;this.message=this.J5(\"ytp-spinner-message\");this.W=new g.fC(this.show,500,this);g.m(this,this.W);this.Z(W,\"presentingplayerstatechange\",this.onStateChange);this.Z(W,\"playbackstalledatstart\",this.K);this.ZY(W.getPlayerStateObject())};\nFk=function(W,Y,k,P){P=g.e(P);for(var T=P.next();!T.done;T=P.next()){T=T.value;var I=W.x7.hL.get(T.triggerType);I.Eq(k,T,Y.slot,Y.layout?Y.layout:null);Y.Kg.set(T.triggerId,I)}};\nwR=function(W){var Y=W.state,k=Y.pending;k>W.Lq&&(k=W.Lq);k!==0&&(K6.ys(W.output,Y.OE,Y.tX,k,W.lT),W.lT+=k,Y.tX+=k,W.Cz+=k,W.Lq-=k,Y.pending-=k,Y.pending===0&&(Y.tX=0))};\ng.hr=function(W,Y){var k=Y||document;k.getElementsByClassName?W=k.getElementsByClassName(W)[0]:(k=document,W=W?(Y||k).querySelector(W?\".\"+W:\"\"):g.m$(k,\"*\",W,Y)[0]||null);return W||null};\ncm1=function(W,Y){W=W.G;QO&&(W+=Y-yO);return W};\niYd=function(W,Y){W.J[Y]||(W.J[Y]=new eE);return W.J[Y]};\ner=function(){var W=aX();if(W.X>0||W.L)return!0;W=vZ().K.isVisible();var Y=Qk(hx)===0;return W||Y};\nvn=function(W,Y,k,P){CC.call(this,W,{S:\"span\",j:\"ytp-ad-pod-index\"},\"ad-pod-index\",Y,k,P);this.api.V().K&&(this.element.classList.add(\"ytp-ad-pod-index--mweb\"),o4&&this.element.classList.add(\"ytp-ad-pod-index--mweb-ios\"));this.hide()};\nCz=function(W,Y){g.D.call(this);this.eN=Y;this.eN.get().addListener(this)};\nnF=function(W,Y){W.publish(\"internalvideodatachange\",Y===void 0?\"dataupdated\":Y,W.videoData)};\ntcq=function(W,Y){W=W===void 0?{}:W;switch(Y.type){case \"ENTITY_LOADED\":return Y.payload.reduce(function(P,T){var I,X=(I=T.options)==null?void 0:I.persistenceOption;if(X&&X!==\"ENTITY_PERSISTENCE_OPTION_UNKNOWN\"&&X!==\"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST\")return P;if(!T.entityKey)return g.LH(Error(\"Missing entity key\")),P;if(T.type===\"ENTITY_MUTATION_TYPE_REPLACE\"){if(!T.payload)return T=new g.M6(\"REPLACE entity mutation is missing a payload\",{entityKey:T.entityKey}),g.LH(T),P;var h=g.Lz(T.payload);\nreturn qD(P,h,T.entityKey,T.payload[h])}if(T.type===\"ENTITY_MUTATION_TYPE_DELETE\"){a:{T=T.entityKey;try{var B=g.kA(T).entityType;h=qD(P,B,T);break a}catch(Z){if(Z instanceof Error){T=new g.M6(\"Failed to deserialize entity key\",{entityKey:T,originalMessage:Z.message});g.LH(T);h=P;break a}throw Z;}h=void 0}return h}if(T.type===\"ENTITY_MUTATION_TYPE_UPDATE\"){if(!T.payload)return T=new g.M6(\"UPDATE entity mutation is missing a payload\",{entityKey:T.entityKey}),g.LH(T),P;h=g.Lz(T.payload);var O,u;return Mcd(P,\nh,T.entityKey,T.payload[h],(O=T.fieldMask)==null?void 0:(u=O.mergeOptions)==null?void 0:u.repeatedFieldsMergeOption)}return P},W);\ncase \"REPLACE_ENTITY\":var k=Y.payload;return qD(W,k.entityType,k.key,k.jP);case \"REPLACE_ENTITIES\":return Object.keys(Y.payload).reduce(function(P,T){var I=Y.payload[T];return Object.keys(I).reduce(function(X,h){return qD(X,T,h,I[h])},P)},W);\ncase \"UPDATE_ENTITY\":return k=Y.payload,Mcd(W,k.entityType,k.key,k.jP,k.cUJ);default:return W}};\nIf=function(W){return W?function(){try{return W.apply(this,arguments)}catch(Y){g.LH(Y)}}:W};\nPJ=function(){this.W=null;this.K=0;this.J=new qMS;this.T=new TH};\nR22=function(W,Y,k){var P=g.e(W.index?KN(W.logger,function(){return f45(Ml7(Y),k)},\"R\"):[\"u\"]),T=P.next().value;\nP=P.next().value;W.logger.xo(T);return P};\ntrd=function(){this.W=0};\nI4=function(W){return g.p(W,128)?-1:g.p(W,2)?0:g.p(W,2048)?3:g.p(W,64)?-1:g.p(W,1)&&!g.p(W,32)?3:g.p(W,8)?1:g.p(W,4)?2:-1};\nVp=function(W){if(W.K)return W.K;var Y=dU(mj).W;if(Y)switch(Y.getName()){case \"nis\":W.K=\"n\";break;case \"gsv\":W.K=\"m\"}W.K||(W.K=\"h\");return W.K};\nb2=function(W){var Y=[];W=g.e(W.values());for(var k=W.next();!k.done;k=W.next())k=k.value,k.ey&&Y.push(k);return Y};\nHYF=function(W,Y,k){for(var P=[],T=0;T0)T(I);else{a:{if(I&&typeof I.length==\"number\"){if(g.XG(I)){var X=typeof I.item==\"function\"||typeof I.item==\"string\";break a}if(typeof I===\"function\"){X=typeof I.item==\"function\";break a}}X=!1}g.hv(X?g.N_(I):I,T)}}};\ndtX=function(W,Y){var k=W.LN();if(k){var P=k.Z2().layoutId,T=W.X8()+1;W.qs()?k9(W,k,Y):k.ej(k.Z2(),Y);T>=0&&T=0:!1};\ngBv=function(W,Y){var k,P,T;return g.v(function(I){if(I.W==1)return k={context:g.Fx(),settingItemIds:Y},P=g.y7(Dtd),g.L(I,g.eh(W,k,P),2);T=I.K;return!T||T.errorMetadata?(aVS(\"GetSettingValuesRequest\",T),I.return(void 0)):I.return(T.settingValues)})};\ng.qR=function(W){g.D.call(this);this.Ii=W;this.K=new WUd;this.J=null;this.C=[];this.L=[]};\nXs=function(W){var Y;if(!(Y=KB&&W.t9()&&W.t$()&&(W.drmProduct===\"1\"?!1:!0)&&W.U(\"html5_sabr_live_drm_streaming_xhr\"))){Y=W.t9()&&!W.t$()&&KB;var k=W.t9()&&W.latencyClass!==\"ULTRALOW\"&&!W.isLowLatencyLiveStream&&W.U(\"html5_sabr_live_normal_latency_streaming_xhr\"),P=W.isLowLatencyLiveStream&&W.U(\"html5_sabr_live_low_latency_streaming_xhr\"),T=W.latencyClass===\"ULTRALOW\"&&W.U(\"html5_sabr_live_ultra_low_latency_streaming_xhr\");Y=Y&&(k||P||T)}k=Y;Y=W.enableServerStitchedDai&&k&&W.U(\"html5_enable_sabr_ssdai_streaming_xhr\");\nk=!W.enableServerStitchedDai&&k;P=W.t9()&&!KB&&W.U(\"html5_enable_sabr_live_non_streaming_xhr\");W=KB&&(W.Xj()||IR(W)&&W.U(\"html5_enable_sabr_for_lifa_eligible_streams\"));return Y||k||P||W};\nhD=function(W){var Y=W.api.V();W.C1.yC(\"pot_ist\");W.K||wwV(W);W.U(\"html5_bandaid_attach_content_po_token\")||(W.U(\"html5_generate_session_po_token\")&&(SW(W),FWd(W)),Y=g.je(Y.experiments,\"html5_session_po_token_interval_time_ms\")||0,Y>0&&(W.G=g.mW(function(){SW(W)},Y)),W.L=!0)};\nh_=function(W,Y,k,P,T,I,X,h,B){function O(){(u&&\"readyState\"in u?u.readyState:0)===4&&Y&&g.nT(Y)(u)}\nk=k===void 0?\"GET\":k;P=P===void 0?\"\":P;h=h===void 0?!1:h;var u=wCq();if(!u)return null;\"onloadend\"in u?u.addEventListener(\"loadend\",O,!1):u.onreadystatechange=O;g.dS(\"debug_forward_web_query_parameters\")&&(W=QH7(W));u.open(k,W,!0);I&&(u.responseType=I);X&&(u.withCredentials=!0);k=k===\"POST\"&&(window.FormData===void 0||!(P instanceof FormData));if(T=yfC(W,T))for(var Z in T)u.setRequestHeader(Z,T[Z]),\"content-type\"===Z.toLowerCase()&&(k=!1);k&&u.setRequestHeader(\"Content-Type\",\"application/x-www-form-urlencoded\");\nB&&\"onprogress\"in u&&(u.onprogress=function(){B(u.responseText)});\nif(h&&\"setAttributionReporting\"in XMLHttpRequest.prototype){W={eventSourceEligible:!0,triggerEligible:!1};try{u.setAttributionReporting(W)}catch(M){PL(M)}}u.send(P);return u};\nv0=function(W,Y){if(Ns(W.P6.get())){var k=W.J.get(Y)||0;k++;W.J.set(Y,k);return Y+\"_\"+k}return g.BV(16)};\nOb=function(){};\nuf=function(W,Y,k,P,T,I,X,h){Qy.call(this,W,Y,k,P);this.sP=T;this.er=I;this.X=h;this.ey=!0;this.T=null;this.C=kW(k.clientMetadata,\"metadata_type_linked_player_bytes_layout_id\");qj(this.er(),this);W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId)};\ne2F=function(){};\noBv=function(W,Y,k){var P=[];for(Y=nov(W,Y);Yk)break}return P};\nZA=function(W,Y,k){sJ.call(this,\"display-underlay-text-grid-cards\",W,{},Y,k);this.interactionLoggingClientData=k};\nvB5=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);D4(this.api,\"isLifaAdPlaying\",function(){return Y.api.isLifaAdPlaying()});\nthis.events.Z(W,\"serverstitchedvideochange\",function(){var k;(k=Y.api.getVideoData())!=null&&k.Xj()&&(Y.api.isLifaAdPlaying()?(Y.playbackRate=Y.api.getPlaybackRate(),Y.api.setPlaybackRate(1)):Y.api.setPlaybackRate(Y.playbackRate))});\nthis.playbackRate=1};\nMq=function(){g.wn.apply(this,arguments);this.S$=(this.x$=g.hN(this.api.V()))&&(this.api.V().K||gj()||$4());this.zA=48;this.WL=69;this.Ec=this.ZJ=null;this.W9=[];this.KZ=this.G8=this.iO=this.MV=this.qt=null;this.BB=[];this.contextMenu=this.Bk=this.overflowButton=this.Xb=this.Nx=this.searchButton=this.copyLinkButton=this.shareButton=this.gU=this.Hk=this.title=this.channelAvatar=this.Bb=this.tooltip=null;this.kE=!1;this.HO=this.Wb=this.Ce=this.gH=null;this.EhS=this.o1=this.Cd=!1};\nCYq=function(W,Y,k){sJ.call(this,\"ad-message\",W,void 0,Y,k)};\nLW5=function(W,Y,k){if(Wd(50,W.W))return!1;var P=u4(k,Pd(78,W.W));if(P.timedOut<1&&P.W<1)return!1;P=P.timedOut+P.W;W=Cr(W,Y);k=u4(k,Pd(78,W));return k.timedOut+k.W+0=0?Y:g.Jj(W.provider);var k=W.provider.W6.rH(),P=k.FV-(W.Fr||0);P>0&&g.xd(W,Y,\"bwm\",[P,(k.DU-(W.KH||0)).toFixed(3)]);isNaN(W.Fr)&&k.FV&&W.isOffline&&W.f3(!1);W.Fr=k.FV;W.KH=k.DU;isNaN(k.bandwidthEstimate)||g.xd(W,Y,\"bwe\",[k.bandwidthEstimate.toFixed(0)]);W.provider.zJ.OR()&&Object.keys(k.W).length!==0&&W.y5(\"bwinfo\",k.W);if(W.provider.zJ.OR()||W.provider.zJ.U(\"html5_log_meminfo\"))P=UtS(),Object.values(P).some(function(I){return I!==void 0})&&W.y5(\"meminfo\",\nP);\nif(W.provider.zJ.OR()){var T;(P=(T=W.Q5)==null?void 0:AZd(T))&&Object.values(P).some(function(I){return I!=null})&&W.y5(\"cpuinfo\",P)}W.V5&&W.y5(\"jsprof\",W.V5.flush());\nW.N&&g.xd(W,Y,\"bat\",[W.N.level,W.N.charging?\"1\":\"0\"]);T=W.provider.W6.getVisibilityState();W.xq!==T&&(g.xd(W,Y,\"vis\",[T]),W.xq=T);pm(W,Y);(T=lQ7(W.provider))&&T!==W.D_&&(g.xd(W,Y,\"conn\",[T]),W.D_=T);eC(W,Y,k)};\nN62=function(W){if(!fj(W.adLayoutMetadata))return!1;if(g.R(W.renderingContent,bYv)||g.R(W.renderingContent,cfd))return!0;var Y=g.R(W.renderingContent,tD);return g.R(W.renderingContent,qq)||g.R(Y==null?void 0:Y.sidePanel,xtS)||g.R(Y==null?void 0:Y.sidePanel,fQ7)||g.R(Y==null?void 0:Y.sidePanel,VcX)?!0:!1};\nGO=function(W,Y){return(W=W.W.get(Y))?W:new Map};\nQe=function(W){var Y=bh;W=W===void 0?pu0():W;var k=Object,P=k.assign,T=lh(Y);var I=Y.W;try{var X=I.screenX;var h=I.screenY}catch(z){}try{var B=I.outerWidth;var O=I.outerHeight}catch(z){}try{var u=I.innerWidth;var Z=I.innerHeight}catch(z){}try{var M=I.screenLeft;var t=I.screenTop}catch(z){}try{u=I.innerWidth,Z=I.innerHeight}catch(z){}try{var q=I.screen.availWidth;var G=I.screen.availTop}catch(z){}I=[M,t,X,h,q,G,B,O,u,Z];X=BD0(!1,Y.W.top);h={};var E=E===void 0?g.hL:E;B=new RR;\"SVGElement\"in E&&\"createElementNS\"in\nE.document&&B.set(0);O=E81();O[\"allow-top-navigation-by-user-activation\"]&&B.set(1);O[\"allow-popups-to-escape-sandbox\"]&&B.set(2);E.crypto&&E.crypto.subtle&&B.set(3);\"TextDecoder\"in E&&\"TextEncoder\"in E&&B.set(4);E=FQ1(B);Y=(h.bc=E,h.bih=X.height,h.biw=X.width,h.brdim=I.join(),h.vis=Qk(Y.K),h.wgl=!!Cc.WebGLRenderingContext,h);k=P.call(k,T,Y);k.ca_type=\"image\";W&&(k.bid=W);return k};\nHV=function(W,Y){return W.map(function(k){return dO(g.ZK(k,Y))})};\nnl=function(W){g.D.call(this);this.J=W;this.ey=!0;this.Ym=new Map;this.W=new Map;this.K=new Map};\npl=function(W,Y,k){return typeof W===\"string\"?(W=encodeURI(W).replace(Y,JbF),k&&(W=W.replace(/%25([0-9a-fA-F]{2})/g,\"%$1\")),W):null};\naQV=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next()){var P=k.value;k=P.reason;if(k==null)g.Jx(Error(\"AdFeedbackReason.reason was not set.\"));else if(P=P.endpoint,P==null)g.Jx(Error(\"AdFeedbackReason.endpoint was not set.\"));else{k=new GM(k,P);g.m(W,k);P=W.Kg;var T=k.Tn();P.appendChild(T);W.T.push(k)}}};\nWbS=function(W){return{startMinReadaheadPolicy:RQ(W,1,Q12),resumeMinReadaheadPolicy:RQ(W,2,Q12)}};\ng.BV=function(W){W=Ve(W);for(var Y=[],k=0;k=I)S6z(W,B,t,X,q,Y.join(),T),h=q;E.oi(2);break;case 4:return E.return(Promise.reject(h))}})};\noR=function(W,Y){var k=!!W.W;W.W=Y;W.W?(k||(W.events.Z(W.api,\"videodatachange\",function(){oR(W,W.api.T8())}),W.events.Z(W.api,\"progresssync\",W.onProgress),W.events.Z(W.api,\"appresize\",W.T)),W.frameIndex=NaN,J9(W),W.fade.show(200)):(k&&g.eY(W.events),W.fade.hide(),W.fade.stop())};\nBa6=function(W,Y){if(!W.length)return!1;for(Y+=1;Y10&&(W.UP=Y);return Y}if(W.isLive&&(P=Y[k],P.Lh))return P.Lh}return NaN};\nTv=function(W,Y,k,P){return ggX(W,Y,k,P,function(T,I){return new z9(W.W,k,T,I)})};\nCl=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(this);g.m(this,this.events);this.W=new OVF(this.api);this.events.Z(this.api,\"legacyadtrackingpingreset\",function(){Y.W.W={}});\nthis.events.Z(this.api,\"legacyadtrackingpingchange\",function(k){var P=Y.W;bY(P,\"part2viewed\",1,0x8000000000000);bY(P,\"engagedview\",Math.max(1,k.A9*1E3),0x8000000000000);if(!k.isLivePlayback){var T=k.lengthSeconds*1E3;Dq(k)&&P.api.U(\"html5_shorts_gapless_ads_duration_fix\")&&(T=P.api.getProgressState().seekableEnd*1E3-k.zY);bY(P,\"videoplaytime25\",T*.25,T);bY(P,\"videoplaytime50\",T*.5,T);bY(P,\"videoplaytime75\",T*.75,T);bY(P,\"videoplaytime100\",T,0x8000000000000);bY(P,\"conversionview\",T,0x8000000000000);\nbY(P,\"videoplaybackstart\",1,T);bY(P,\"videoplayback2s\",2E3,T);bY(P,\"videoplayback10s\",1E4,T)}});\nthis.events.Z(this.api,g.OQ(\"appad\"),this.K);this.events.Z(this.api,g.ut(\"appad\"),this.K)};\ng.sq=function(){g.D.call(this);this.n7=new My(this);this.Tz=this;this.F0=null};\nSW=function(W){var Y,k,P,T;g.v(function(I){if(!W.U(\"html5_generate_session_po_token\")||W.useLivingRoomPoToken)return I.return();Y=W.api.V();k=g.o_(\"EOM_VISITOR_DATA\")||g.o_(\"VISITOR_DATA\");P=Y.Aj?Y.datasyncId:k;T=bG(Y.experiments,\"html5_mock_content_binding_for_session_token\")||Y.livingRoomPoTokenId||P;Y.Dm=Ll(W,T);g.I_(I)})};\nww=function(W,Y){var k=W.getUint32(Y),P=W.getUint32(Y+4);return new DQ(W,Y,k,P)};\nQ91=function(W,Y){var k=SMV();k&&(W?Pu(W,61,ui0[k]):Y&&(Y.client.connectionType=k));g.dS(\"web_log_effective_connection_type\")&&(k=ZVq())&&(W?Pu(W,94,iV5[k]):Y&&(Y.client.effectiveConnectionType=k))};\ng.lB=function(W,Y,k,P){k=k===void 0?!1:k;P=P===void 0?0:P;if(W.isLocked||Y.isLocked||!Rl(W.info,Y.info)||W.info.T)return null;if(P){if(W.K.totalLength+Y.K.totalLength>P)return null}else if(k&&(k=W.K,P=Y.K,k=!(P.W.length?EmF(k,P.W[0]):1)),k)return null;k=new i2(W.info.type,W.info.W,W.info.range,W.info.G,W.info.t5,W.info.startTime,W.info.duration,W.info.K,W.info.J,W.info.T,W.info.lY,W.info.clipId);P=Y.info;k.J+=P.J;k.range&&(k.L+=P.L);k.X=P.X;k.T=P.T;P=new $A;Ub(P,W.K);Ub(P,Y.K);k=new Se(k,P);k.W!=\nnull&&Y.W!=null&&(new g.M_(\"dash\")).W(414627957,\"merged slice emsg overridden; prev: \"+k.W.qH()+\" next: \"+Y.W.qH());k.W=Y.W||W.W;k.J=W.J!==-1?W.J:Y.J;k.T=W.T!==-1?W.T:Y.T;return k};\nWw=function(W){var Y=new lf;W=W===void 0?null:W;Y.J=1;Y.K=W===void 0?null:W;return Y};\np82=function(W){for(var Y=g.e(W.J),k=Y.next();!k.done;k=Y.next())k=k.value,k.detach(),g.o8(k);W.J=[]};\ncV=function(W,Y){bf[W]||(bf[W]=!0,g.yi.r_(function(){mw();bf[W]=!1},Y))};\nMtX=function(W){return{Yn:Qx(W,1),MF:Qx(W,2),minReadaheadMs:Qx(W,3)}};\nXrd=function(W,Y){return Y?g.ik(W.W,function(k){return k.uw.aE==Y}):null};\ng.dS=function(W){W=dt(W);return typeof W===\"string\"&&W===\"false\"?!1:!!W};\ntt2=function(W){W.W.forEach(function(Y){x9(W,Y)})};\nq6F=function(W,Y,k){if(Y.endpoint===\"log_event\"){JH(void 0,Y);var P=sy(Y,!0),T=new Map;T.set(P,[fl(Y.payload)]);k&&(kf=new k);return new g.JL(function(I){kf&&kf.isReady()?vSC(T,kf,I,{bypassNetworkless:!0},!0,rf(W)):I()})}};\nVn=function(W,Y){this.triggeringSlotId=Y;this.triggerType=\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\";this.triggerId=W(this.triggerType)};\nuS=function(W){if(!W.provider.zJ.U(\"html5_qoe_no_len_check\")){for(var Y=0,k=g.e(W.W.entries()),P=k.next();!P.done;P=k.next()){var T=g.e(P.value);P=T.next().value;T=T.next().value;Y+=P.length+Number(Nq(T,function(I,X){return I+X.length},0))}Y>96E3&&(new g.fC(W.reportStats,0,W)).start()}};\nHVF=function(W,Y,k,P,T,I,X){var h=new g.hf;Rlq.push(h);Y&&h.listen(\"complete\",Y);h.G2(\"ready\",h.Rt);I&&(h.A5=Math.max(0,I));X&&(h.G=X);h.send(W,k,P,T)};\nCsd=function(W,Y){return VF(nD0,function(){var k=this;return function T(){var I,X,h;return i9(T,function(B){switch(B.W){case 1:g.Nk(B,2);if(!k.K)throw\"wasm.ps.ns\";I=W;X=YS;return $S(B,kS(pv6(k,Y)),4);case 4:h=X(B.K);if(!h)throw\"wasm.ps.um\";if(k.W)try{return B.return(new WebAssembly.Instance(h,I))}catch(O){k.W=!1}return $S(B,kS(WebAssembly.instantiate(h,I)),5);case 5:return B.return(B.K);case 2:g.Ei(B),g.JB(B,0)}})}()})};\nl6=function(W,Y){var k=this;this.wx=W;this.requestNumber=++Gn2;this.W=this.now();this.L=this.N=NaN;this.G=this.W;this.J=this.Gn=this.C=0;this.X=this.W;this.bz=this.Kg=this.OP=this.KH=this.D_=this.gD=this.K=this.T=0;this.A5=this.isActive=!1;this.J9=this.e1=0;this.zW={dVh:function(){return k.YN}};\nthis.Sj=Y.Sj;this.snapshot=zHq(this.Sj);this.policy=this.Sj.K;this.jm=!!Y.jm;this.UM=Y.UM;this.QD=Y.QD||0;this.Fu=Y.Fu||0;Y.EJ&&(this.TJ=new aR);var P;this.YN=(P=Y.YN)!=null?P:!1;this.jm||Kb2(this.Sj)};\ng.W1=function(W,Y,k){g.c.call(this,{S:\"a\",Ya:[k?\"ytp-next-button\":\"ytp-prev-button\",\"ytp-button\"],D:{role:\"button\",title:\"{{title}}\",\"data-tooltip-title\":\"{{tooltip-title}}\",href:\"{{url}}\",\"data-preview\":\"{{preview}}\",\"data-tooltip-text\":\"{{text}}\",\"data-duration\":\"{{duration}}\",\"aria-disabled\":\"{{disabled}}\",\"data-next\":\"{{next}}\",\"data-prev\":\"{{prev}}\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\",\"aria-keyshortcuts\":\"{{aria-keyshortcuts}}\"},B:[WQX(k,W.U(\"delhi_modern_web_player_icons\"))]});\nvar P=this;this.Y=W;this.W=k;this.playlist=this.videoData=null;this.X=!1;this.T=this.C=this.K=null;this.J=!1;this.tooltip=Y.r5();k?W.createClientVe(this.element,this,6193):W.createClientVe(this.element,this,6194);this.Z(W,\"fullscreentoggled\",this.onVideoDataChange);this.Z(W,\"videodatachange\",this.onVideoDataChange);this.Z(W,\"onPlaylistUpdate\",this.onVideoDataChange);this.Z(W,\"onLoopRangeChange\",this.onVideoDataChange);this.W||this.Z(W,\"appresize\",this.J0);this.Z(W,\"mdxpreviousnextchange\",function(){jr(P);\nP.J0()});\nthis.onVideoDataChange()};\nED0=function(W){sE.call(this,W);var Y=this;D4(this.api,\"getAudioTrackState\",function(){return Y.api.kF(0)})};\nO2C=function(W){W=W===void 0?{}:W;return g.Jh.invoke(W)};\nsL1=function(W){var Y={},k={};W=g.e(W);for(var P=W.next();!P.done;P=W.next()){var T=P.value,I=T.split(\"|\");T.match(g.JA2)?(P=Number(I.pop()),isNaN(P)?k[T]=\"?\":(I=I.join(\"|\"),(T=Y[I])?(I=T[T.length-1],P===I.end+1?I.end=P:T.push({start:P,end:P})):Y[I]=[{start:P,end:P}])):k[T]=\"?\"}W=g.e(Object.keys(Y));for(P=W.next();!P.done;P=W.next())P=P.value,k[P]=Y[P].map(function(X){return X.start+\"-\"+X.end}).join(\",\");\nreturn k};\nJZ=function(W){var Y=new lf;W=W===void 0?null:W;Y.J=2;Y.K=W===void 0?null:W;return Y};\n$T=function(W,Y,k){this.client=W;this.cO=Y;this.W=k};\nWv=function(W,Y,k,P,T){gm.call(this,\"VOICE_BOOST\",g.po.cZ);this.Y=W;this.J=Y;this.K=k;this.hasVoiceBoostAudioTrack=P;this.getVoiceBoostState=T;this.W=!1;this.Mq=this.Y.U(\"html5_enable_new_audio_settings_menu\")?W.ML().Pm:W.ML();this.Z(W,\"videodatachange\",this.X5.bind(this));this.Z(W,\"onPlaybackAudioChange\",this.X5);this.Z(W,\"audiopreferencechange\",this.X5);this.Y.U(\"html5_enable_new_audio_settings_menu\")||this.setIcon(UHS());this.subscribe(\"select\",this.T,this);this.X5()};\nE1=function(W,Y){W=kT(W);var k={};if(Y){Y=g.e(Y.split(\",\"));for(var P=Y.next();!P.done;P=Y.next())(P=P.value.match(/^([0-9]+)\\/([0-9]+)x([0-9]+)(\\/|$)/))&&(k[P[1]]={width:P[2],height:P[3]})}Y=g.e(W);for(P=Y.next();!P.done;P=Y.next()){P=P.value;var T=k[P.itag];T&&(P.width=T.width,P.height=T.height)}return W};\nhP0=function(){};\nrA1=function(W){if(!W.api.V().xm){var Y=W.api.getVideoData(),k=new g.H4(\"Subscribe\",null,\"Subscribed\",null,!0,!1,Y.zC,Y.subscribed,\"channel_avatar\",null,W.api,!0);W.api.createServerVe(k.element,W);var P;W.api.setTrackingParams(k.element,((P=Y.subscribeButtonRenderer)==null?void 0:P.trackingParams)||null);W.Z(k.element,\"click\",function(){W.api.logClick(k.element)});\nW.subscribeButton=k;g.m(W,W.subscribeButton);W.subscribeButton.S1(W.element)}};\nDL1=function(W,Y,k){var P,T,I;return g.v(function(X){switch(X.W){case 1:if(!g.dS(\"start_client_gcf\")){X.oi(0);break}k&&F2(W,k);W.SD(Y);P=$s();if(!P){X.oi(3);break}if(k){X.oi(4);break}return g.L(X,AAV(P),5);case 5:T=X.K,k=(I=T)==null?void 0:I.config;case 4:return g.L(X,zlv(k,Y,P),3);case 3:if(k)for(var h=k,B=g.e(W.X.W),O=B.next();!O.done;O=B.next())O=O.value,O(h);g.I_(X)}})};\nd47=function(W){return W.linearAd!=null&&W.adVideoStart!=null};\nTgq=function(W,Y){var k;return g.v(function(P){if(P.W==1)return g.L(P,Zv(Y),2);k=P.K;return P.return(g.KQ(k,[\"LogsRequestsStore\"],{mode:\"readwrite\",sR:!0},function(T){var I=T.objectStore(\"LogsRequestsStore\");return I.get(W).then(function(X){if(X)return X.status=\"QUEUED\",g.J8(I,X).then(function(){return X})})}))})};\ng.CK=function(W){return(!(\"button\"in W)||typeof W.button!==\"number\"||W.button===0)&&!(\"shiftKey\"in W&&W.shiftKey)&&!(\"altKey\"in W&&W.altKey)&&!(\"metaKey\"in W&&W.metaKey)&&!(\"ctrlKey\"in W&&W.ctrlKey)};\ndZX=function(W){return g.KC(W.W,function(Y){return Y.info.video?Y.info.video.stereoLayout===1:!1})};\nY$d=function(){return g.fF(\"armv7\")||g.fF(\"aarch64\")||g.fF(\"android\")};\nP1=function(){};\nPr=function(W,Y,k){this.audio=W;this.video=Y;this.reason=k};\nTT=function(W){this.content=W.content;if(W.commandRuns){W=g.e(W.commandRuns);for(var Y=W.next();!Y.done;Y=W.next())Y=Y.value,this.loggingDirectives=g.R(Y,mZ1),Y.onTap&&(this.interaction={onTap:Y.onTap})}};\nDZd=function(W){W=g.e(g.GH(W,!0));for(var Y=W.next();!Y.done;Y=W.next())if(a40(Y.value))return!0;return!1};\ngDF=function(W){W.Kg||(W.Kg=!0,W.dispatchEvent(\"complete\"),W.dispatchEvent(\"error\"))};\nFb1=function(W){var Y=0,k=NaN,P=\"\";if(!W.N)return{startSeconds:Y,nZ:k,source:P};W.videoData.wD?Y=W.videoData.gD:Hr(W.videoData)&&(Y=Infinity);if(g.zx(W.videoData))return{startSeconds:Y,nZ:k,source:P};W.videoData.startSeconds?(P=\"ss\",Y=W.videoData.startSeconds):W.videoData.rZ&&(P=\"stss\",Y=W.videoData.rZ);W.videoData.liveUtcStartSeconds&&(k=W.videoData.liveUtcStartSeconds);if(isFinite(Y)&&(Y>W.M6()||Y0&&k>0&&!W.K&&W.J<1E7)try{W.T=W.C({sampleInterval:Y,maxBufferSize:k});var P;(P=W.T)==null||P.addEventListener(\"samplebufferfull\",function(){return g.v(function(T){if(T.W==1)return g.L(T,W.stop(),2);el0(W);g.I_(T)})})}catch(T){W.K=oD1(T.message)}};\nssd=function(W,Y){return jaX(W,Y)};\nX4=function(W,Y){var k;Wk(W,function(P){k=Y[P];return!!k});\nreturn k};\ng.hR=function(W,Y,k,P){Array.prototype.splice.apply(W,W$(arguments,1))};\nGy=function(W){kn(W);var Y=Gu(Number(W));if(KM(Y))return String(Y);Y=W.indexOf(\".\");Y!==-1&&(W=W.substring(0,Y));return vDX(W)};\nCES=function(W){W=Number(W.driftRecoveryMs);return isNaN(W)||W<=0?null:W};\nbG=function(W,Y){return(W=W.Ik(Y))?W.toString():\"\"};\nSQS=function(W,Y){if(W.U(\"html5_disable_ustreamer_constraint_for_sabr\")&&w9(Y.videoData))return Tx;var k=W.W6.n2();W.U(\"html5_use_video_quality_cap_for_ustreamer_constraint\")&&k&&k.kD>0&&dL(Y.videoData.bK)&&(W=k.kD,Y.videoData.bK=new xn(0,W,!1,\"u\"));return Y.videoData.bK};\nLb2=function(W,Y){if(W.j1){W.j1.Nv(Y);var k;(k=W.loader)!=null&&k.policy.TJ&&(k.X=Y)}};\njk=function(W){this.value=W};\nSK=function(W,Y,k,P,T,I,X,h,B,O,u,Z){g.D.call(this);this.O$=W;this.slot=Y;this.layout=k;this.Yh=P;this.nN=T;this.qq=I;this.Pa=X;this.JT=h;this.er=B;this.Cg=O;this.params=Z;this.ey=!0;W=JU(u);if(!W)throw Error(\"Invalid params for sublayout\");this.dZ=W};\nXr=function(W,Y){g.c.call(this,{S:\"div\",j:\"ytp-info-panel-preview\",D:{\"aria-live\":\"assertive\",\"aria-atomic\":\"true\",\"aria-owns\":Y.getId(),\"aria-haspopup\":\"true\",\"data-tooltip-opaque\":String(g.hN(W.V()))},B:[{S:\"div\",j:\"ytp-info-panel-preview-text\",v6:\"{{text}}\"},{S:\"div\",j:\"ytp-info-panel-preview-chevron\",v6:\"{{chevron}}\"}]});var k=this;this.Y=W;this.b7=this.W=this.videoId=null;this.J=this.showControls=this.K=!1;this.Z(this.element,\"click\",function(){W.logClick(k.element);W.CC();Rz(Y)});\nthis.fade=new g.fH(this,250,!1,100);g.m(this,this.fade);this.Y.createServerVe(this.element,this,!0);this.Z(W,\"videodatachange\",this.onVideoDataChange);this.Z(W,\"presentingplayerstatechange\",this.HI);this.Z(this.Y,\"paidcontentoverlayvisibilitychange\",this.mj);this.Z(this.Y,\"infopaneldetailvisibilitychange\",this.mj);var P=W.getVideoData()||{};UZd(P)&&IJ(this,P);this.Z(W,\"onShowControls\",this.FD);this.Z(W,\"onHideControls\",this.XD)};\nmU2=function(W,Y,k){var P=new Fz(W.api,W.layoutId,W.interactionLoggingClientData,W.B6,W.T.bind(W));P.S1(W.C);P.init(R1(\"survey-question-multi-select\"),Y,k);W.api.V().U(\"supports_multi_step_on_desktop\")?W.J=P:W.questions.push(P);g.m(W,P)};\nO7X=function(W){if(W.W)return W.W;if(W.experimentIds.length<=1)return W.W=W.experimentIds,W.W;var Y=[].concat(g.cp(W.experimentIds)).map(function(P){return Number(P)});\nY.sort();for(var k=Y.length-1;k>0;--k)Y[k]-=Y[k-1];W.W=Y.map(function(P){return P.toString()});\nW.W.unshift(\"v1\");return W.W};\nlt1=function(W,Y){W.qs()&&!Sk(W.lZ.K)||W.callback.oI(W.slot,W.layout,Y)};\nYNd=function(W,Y,k){if(k.info.W.xk()){if(W.e1&&bV6(k)&&(Y=g.tB(k),Y=g.Ke(Y,0,1953658222))){Y.skip(1);var P=nx(Y)<<16|F_(Y),T=P&1,I=P&4;if(P&256){var X=P&512,h=P&1024;P&=2048;var B=g6(Y);B<2||(T&&Y.skip(4),I&&Y.skip(4),T=g6(Y),Y.skip((B-1)*(4+(X?4:0)+(h?4:0)+(P?4:0))-4),Y.data.setUint32(Y.offset+Y.W,T))}}if(Y=W.gD&&!!W.gD.C.T)if(Y=k.info.qa())Y=cjF(k),X=W.gD,ea?(h=1/Y,Y=hG(W,Y)>=hG(X)+h):Y=W.getDuration()>=X.getDuration(),Y=!Y;Y&&bV6(k)&&(Y=W.gD,ea?(h=cjF(k),X=1/h,h=hG(W,h),Y=hG(Y)+X-h):Y=Y.getDuration()-\nW.getDuration(),Y=1+Y/k.info.duration,cAz(g.tB(k),Y))}else{X=!1;W.X||(xFF(k),k.W&&(W.X=k.W,X=!0,T=k.info,I=k.W.bv,T.G=\"updateWithEmsg\",T.t5=I,T=k.W,T.IB&&(I=W.C.index,I.K=!T.IB,I.J=\"emsg\"),T=k.info.W.info,I=g.tB(k),g.MK(T)?B1(I,1701671783):T.pN()&&UC([408125543],307544935,I)));a:if((T=OH(k,W.policy.KH))&&xZ0(k))h=ftd(W,k),W.L+=h,T-=h,W.A5+=T,W.J=W.policy.Pu?W.J+T:NaN;else{if(W.policy.tp){if(I=B=W.loader.ul(g.TO(k),1),W.J>=0&&k.info.type!==6){if(W.policy.Pu&&isNaN(W.V5)){g.Jx(new g.M6(\"Missing duration while processing previous chunk\",\nk.info.TW()));W.loader.isOffline()&&!W.policy.v4||Vt6(W,k,I);V_(W,\"m\");break a}P=B-W.J;var O=P-W.L,u=k.info.t5,Z=W.OP?W.OP.t5:-1,M=W.Q5,t=W.V5,q=W.policy.c9&&P>W.policy.c9,G=Math.abs(O)>10,E=Math.abs(W.J-I)<1E-7;if(Math.abs(O)>1E-4){W.Fr+=1;var z=(h=W.X)==null?void 0:Na1(h);h={audio:\"\"+ +W.xH(),sq:u.toFixed(),sliceStart:B,lastSq:Z.toFixed(),lastSliceStart:M,lastSliceDuration:t,totalDrift:(P*1E3).toFixed(),segDrift:(O*1E3).toFixed(),skipRewrite:\"\"+ +(q||G)};if(z==null?0:z.length)h.adCpn=z[0];W.loader.handleError(\"qoe.avsync\",\nh);W.rD=u}q||G||E||(I=W.J);h=ftd(W,k,B);T-=h;W.L=P+h}}else I=isNaN(W.J)?k.info.startTime:W.J;Vt6(W,k,I)&&(W.A5+=T,W.J=I+T,W.policy.eI&&W.Fr>=W.policy.eI&&(W.Fr=0,W.loader.yg({resetForRewrites:\"count\"})))}W.OP=k.info;W.V5=ui(k);k.J>=0&&(W.Q5=k.J);if(X&&W.X){X=Gsz(W,!0);ZZ(k.info,X);W.W&&ZZ(W.W.info,X);Y=g.e(Y);for(h=Y.next();!h.done;h=Y.next())h=h.value,T=void 0,W.policy.C&&h.t5!==((T=W.X)==null?void 0:T.bv)||ZZ(h,X);(k.info.T||W.W&&W.W.info.T)&&k.info.type!==6||(W.Kg=X,W.policy.K?(Y=Kyv(W.X),W.loader.Xf(W.C,\nX,Y)):(Y=W.loader,Y.H6.isManifestless&&atC(Y,X,null,!!W.C.info.video)),W.policy.i_||EKd(W))}}WkC(W,k);W.timestampOffset&&ylq(k,W.timestampOffset)};\ngk=function(W,Y){(W=Dw(W,Y))?W.layout!=null&&!W.layout&&EF(\"Unexpected empty layout\",Y):EF(\"Unexpected undefined slotState\",Y);return(W==null?void 0:W.layout)||null};\nii=function(){return wY(\"iPhone\")&&!wY(\"iPod\")&&!wY(\"iPad\")};\nbl=function(W,Y,k,P,T){g.D.call(this);var I=this;this.K=W;this.J=Y;this.wZ=k;this.context=T;this.W=new Map;P.get().addListener(this);this.addOnDisposeCallback(function(){P.Xr()||P.get().removeListener(I)})};\n$3F=function(W){var Y=W.cpn,k=W.AD;W=W.k$;var P=k.s3(),T={};Mb(k,\"cx\",(T.xc=Y,T.ia=Y!==P,T.r=tG.QS.has(Y),T.is=W,T.ctp=qb(Y),T))};\nkG7=function(W){H70(W.Cg.get(),!0);var Y;((Y=W.shrunkenPlayerBytesConfig)==null?0:Y.shouldRequestShrunkenPlayerBytes)&&W.Cg.get().xp(!1)};\ne42=function(W,Y){Y instanceof s$&&(W.Fr=Y);var k=new Set(Y.Jg(W.B5()));k=g.e(k);for(var P=k.next();!P.done;P=k.next()){var T=P.value;if(!(P=!(Y instanceof Vg))){P=W.J;var I=P.H6.t9,X=HV(P.videoInfos,I);I=PeS(P,T,I);var h=X.includes(T);!P.l7.KB||I||h||P.loader.y5(\"sabrcpf\",{fid:\"\"+T,vfids:\"\"+X.join(\".\"),said:P.L||\"\"});P=I||X.includes(T)}if(P&&(P=Y.rU(T,W.B5()),X=W.policy.Qa&&QS(P[0].W.info.mimeType),Y.dX(T,W.B5())))for(T=Y.E3(T,W.B5()),T=g.e(T),I=T.next();!I.done;I=T.next())if(I=I.value,W.policy.J&&\nY instanceof Vg&&W.loader.y5(\"omblss\",{s:I.info.TW()}),X)h=W.timing,h.A5||(h.A5=(0,g.lj)(),g.AR(\"fcb_r\",h.A5,h.W)),h=W,h.videoData.t9()&&h.G&&dO(h.G)===dO(g.ZK(I.info.W.info,h.H6.t9))&&h.W6.publish(\"sabrCaptionsDataLoaded\",I,h.OD.bind(h));else{h=I.info.W.info.xH();var B=I.info.W;if(h){var O=void 0;var u=W.J,Z=(O=Y.jp(W.B5()))==null?void 0:O.token;u.G&&B!==u.C?O=!0:(u.G=!1,B!==u.C&&(u.C=B,u.n_(B,u.audioTrack,Z)),O=!1);if(O)continue}else O=void 0,I0z(W.J,B,(O=Y.jp(W.B5()))==null?void 0:O.token);O=h?\nW.audioTrack:W.videoTrack;Y instanceof Vg&&(O.G=!1,Y instanceof Vg&&(h?d27(W.timing):T87(W.timing)));try{h6(O,P,I)}catch(M){I=BH(M),W.loader.handleError(I.errorCode,I.details,I.severity),O.l5(),W.JU(!1,\"pushSlice\"),$m(W.loader)}}}};\nefq=function(W){this.triggerType=\"TRIGGER_TYPE_DURATION_AFTER_MEDIA_PAUSED\";this.triggerId=W(this.triggerType)};\noy=function(W,Y,k,P,T,I){CC.call(this,W,{S:\"div\",j:\"ytp-ad-text\"},I===void 0?\"ad-text\":I,Y,k,P,T===void 0?null:T);this.W=null;this.hide()};\nH1=function(){g.D.apply(this,arguments);this.element=null;this.X=new Set;this.G={};this.L={};this.W={};this.N=new Set;this.J=new RJ;this.K=new RJ;this.T=new RJ;this.C=new RJ};\nnu=function(W,Y,k,P){k+=\".\"+W;W=MV(Y);P[k]=W;return k.length+W.length};\ng.dq=function(W){if(!W.playerResponse||!W.playerResponse.annotations)return null;W=g.e(W.playerResponse.annotations);for(var Y=W.next();!Y.done;Y=W.next())if(Y=Y.value,Y.playerAnnotationsExpandedRenderer&&Y.playerAnnotationsExpandedRenderer.featuredChannel)return Y.playerAnnotationsExpandedRenderer;return null};\nITC=function(W){if(lP()&&(g.nV||B8))W.T.push(new pu(\"fairplay\",\"com.apple.fps.1_0\",\"\",W.pg.experiments));else{var Y=jI0(),k=g.ik(W.K,function(P){var T=W.J[P],I=!1,X=!1,h;for(h in W.W[T.flavor])Y(h,P)&&(T.W[h]=!0,I=I||h.indexOf(\"audio/\")===0,X=X||h.indexOf(\"video/\")===0);return I&&X});\nk&&W.T.push(W.J[k]);W.K=[]}W.callback(W.T)};\nX$5=function(W){BI(W,\"impression\")&&W.h$(\"clickthrough\")};\nB86=function(W,Y){if(!SNF())throw Error();W.J3(W.value,Y)||(W.value=Y,W.version++,hX2++,Ie2(W))};\nKu=function(W,Y,k){k=k===void 0?{sampleRate:.1}:k;Math.random()=0?W.K[Y]:null};\nAp0=function(){AG||(AG=new zT);return AG};\nwTF=function(W,Y){var k;if(g.dS(\"web_log_memory_total_kbytes\")&&((k=g.hL.navigator)==null?0:k.deviceMemory)){var P;k=(P=g.hL.navigator)==null?void 0:P.deviceMemory;W?XA(W,95,O1(k*1E6)):Y&&(Y.client.memoryTotalKbytes=\"\"+k*1E6)}};\nL6=function(W,Y,k){this.triggeringLayoutId=Y;this.triggerType=\"TRIGGER_TYPE_LAYOUT_ID_EXITED\";this.triggerId=k||W(this.triggerType)};\nEX7=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z\"}}]}};\nd7=function(W,Y){if(W.policy.Md)return!1;var k=Y.getResponseHeader(\"content-type\"),P=Y.Oa();W=!P||P<=W.policy.wu;return(!Y.ZU()||!k||k.indexOf(\"text/plain\")!==-1)&&W};\nm4=function(W,Y){g.c.call(this,{S:\"button\",Ya:[\"ytp-button\",\"ytp-jump-button\"],D:{title:W.U(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",\"aria-keyshortcuts\":\"{{aria-keyshortcuts}}\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\"},B:[Y>0?{S:\"svg\",D:{height:\"100%\",mlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",Ya:[\"ytp-circle-arrow\",\"ytp-svg-fill\"],D:{d:\"m19,12c0,2.1 -0.93,4.07 -2.55,5.4c-1.62,1.34 -3.76,1.87 -5.86,1.46c-2.73,-0.53 -4.92,-2.72 -5.45,-5.45c-0.41,-2.1 .12,-4.24 1.46,-5.86c1.33,-1.62 3.3,-2.55 5.4,-2.55l1.27,0l-0.85,.85l1.41,1.41l3.35,-3.35l-3.35,-3.35l-1.41,1.41l1.01,1.03l-1.43,0c-2.7,0 -5.23,1.19 -6.95,3.28c-1.72,2.08 -2.4,4.82 -1.88,7.52c0.68,3.52 3.51,6.35 7.03,7.03c0.6,.11 1.19,.17 1.78,.17c2.09,0 4.11,-0.71 5.74,-2.05c2.09,-1.72 3.28,-4.25 3.28,-6.95l-2,0z\"}},\n{S:\"text\",Ya:[\"ytp-jump-button-text\",\"ytp-svg-fill\"],D:{x:\"7.05\",y:\"15.05\"}}]}:{S:\"svg\",D:{height:\"100%\",mlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",Ya:[\"ytp-circle-arrow\",\"ytp-svg-fill\"],D:{d:\"m18.95,6.28c-1.72,-2.09 -4.25,-3.28 -6.95,-3.28l-1.43,0l1.02,-1.02l-1.41,-1.41l-3.36,3.35l3.35,3.35l1.41,-1.41l-0.85,-0.86l1.27,0c2.1,0 4.07,.93 5.4,2.55c1.34,1.62 1.87,3.76 1.46,5.86c-0.53,2.73 -2.72,4.92 -5.45,5.45c-2.11,.41 -4.24,-0.12 -5.86,-1.46c-1.62,-1.33 -2.55,-3.3 -2.55,-5.4l-2,0c0,2.7 1.19,5.23 3.28,6.95c1.62,1.34 3.65,2.05 5.74,2.05c0.59,0 1.19,-0.06 1.78,-0.17c3.52,-0.68 6.35,-3.51 7.03,-7.03c0.52,-2.7 -0.17,-5.44 -1.88,-7.52z\"}},\n{S:\"text\",Ya:[\"ytp-jump-button-text\",\"ytp-svg-fill\"],D:{x:\"6.5\",y:\"15\"}}]}]});var k=this;this.Y=W;this.W=Y;this.K=new g.fC(function(){k.J?(k.J=!1,k.K.start()):k.element.classList.remove(\"ytp-jump-spin\",\"backwards\")},250);\nthis.J=!1;(Y=Y>0)?this.Y.createClientVe(this.element,this,36843):this.Y.createClientVe(this.element,this,36844);var P=g.Vq(Y?\"Seek forward $SECONDS seconds. (\\u2192)\":\"Seek backwards $SECONDS seconds. (\\u2190)\",{SECONDS:Math.abs(this.W).toString()});this.Y.U(\"player_tooltip_data_title_killswitch\")?this.update({title:P,\"data-title-no-tooltip\":P,\"aria-keyshortcuts\":Y?\"\\u2192\":\"\\u2190\"}):this.update({\"tooltip-title\":P,\"data-title-no-tooltip\":P,\"aria-keyshortcuts\":Y?\"\\u2192\":\"\\u2190\"});this.T=this.element.querySelector(\".ytp-jump-button-text\");\nthis.T.textContent=Math.abs(this.W).toString();this.listen(\"click\",this.onClick,this);pt(W,this.element,this)};\nkI=function(){return($0||k0)&&Pn?!Pn.mobile&&(wY(\"iPad\")||wY(\"Android\")||wY(\"Silk\")):wY(\"iPad\")||wY(\"Android\")&&!wY(\"Mobile\")||wY(\"Silk\")};\ngKC=function(W){for(var Y=g.e(Object.values(W.X)),k=Y.next();!k.done;k=Y.next())k.value.dispose();W.X={};W.T=null;W.G=null;Ml(W)};\nPK5=function(W){return Math.round(Math.max(0,W*1E3)).toString()};\nQx=function(W,Y){if(ma(W,Y))return DW(W)};\nQyz=function(W){if(g.XG(W))for(var Y in W)Y===\"html_content\"||hr5(Y,\"_html\")?W[Y]=tU(W[Y]):Qyz(W[Y])};\nDZ=function(W,Y){g.c.call(this,{S:\"div\",Ya:[\"ytp-overlay\",\"ytp-speedmaster-overlay\"],B:[{S:\"div\",j:\"ytp-speedmaster-user-edu\",B:[{S:\"div\",j:\"ytp-speedmaster-label\",v6:Y},{S:\"div\",j:\"ytp-speedmaster-icon\",v6:\"{{icon}}\"}]}]});this.Y=W;this.W=this.J5(\"ytp-speedmaster-user-edu\");this.updateValue(\"icon\",EX7());g.N6(this.W,\"ytp-speedmaster-has-icon\");this.Y.createClientVe(this.W,this,173040,!0);this.SS()};\ng7=function(W,Y,k,P,T,I,X,h){Qy.call(this,W,Y,k,P);this.sP=T;this.er=I;this.X=h;this.ey=!0;this.T=null;this.C=kW(k.clientMetadata,\"metadata_type_linked_player_bytes_layout_id\");qj(this.er(),this);W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId)};\nl=function(W,Y,k,P){P=P===void 0?!1:P;XJ.call(this,W);this.Y4=k;this.j2=P;this.args=[];Y&&this.args.push(Y)};\nyo=function(W,Y,k){var P=W.Cg.get().getCurrentTimeSec(1,!1);W.P6.get().Y.V().OR()&&Fr(W.sP.get(),\"sdai\",\"onopp.1;evt.\"+k.event+\";start.\"+k.startSecs.toFixed(3)+\";d.\"+k.sV.toFixed(3));t6(W.K.get(),\"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL\",function(){var T=W.J.get(),I=Y.adPlacementRenderer.renderer.adBreakServiceRenderer,X=Y.contentCpn,h=Y.adPlacementRenderer.adSlotLoggingData;w7(W.P6.get());var B=W.sP;var O=T.P6.get();O=g.je(O.Y.V().experiments,\"max_prefetch_window_sec_for_livestream_optimization\");\nvar u=T.P6.get();var Z=g.je(u.Y.V().experiments,\"min_prefetch_offset_sec_for_livestream_optimization\");u=k.startSecs*1E3;u={AE:new VX(u,u+k.sV*1E3),jl:!1,cueProcessedMs:P*1E3};var M=k.startSecs+k.sV;if(P===0)u.f8=new VX(0,M*1E3);else{Z=k.startSecs-Z;var t=Z-P;u.f8=t<=0?new VX(Z*1E3,M*1E3):new VX(Math.floor(P+Math.random()*Math.min(t,O))*1E3,M*1E3)}I=Qo(T,I,X,u,h,[new C5(k)]);gt(T.P6.get())&&Fr(B.get(),\"abrsm\",\"cpi.\"+k.identifier+\";cps.\"+k.startSecs+\";cpd.\"+k.sV+\";cts.\"+P+\";rbf.\"+u.f8.start);B.get().Y.gP(k.startSecs-\nP,u.f8.start/1E3-P);return[I]})};\nEF1=function(W){W=g.R(W==null?void 0:W.additionalPlayerOverlay,J$z);if(!W)return!1;var Y=W.slidingMessages;return W.title&&Y&&Y.length!==0?!0:!1};\nooF=function(W,Y,k){k=k===void 0?2:k;oL(W,Y*8+2);W.K.push(W.pos);W.K.push(k);W.pos+=k};\nek=function(){xj.apply(this,arguments)};\nsIS=function(){this.W={}};\nr$F=function(W,Y,k,P){return Y&&k.adSlotMetadata.slotType===\"SLOT_TYPE_PLAYER_BYTES\"?W.map(function(T){return T instanceof jm?new $d(function(I){return v0(P,I)},k.adSlotMetadata.slotId):T}):W};\nLx=function(){this.G=[];this.L=[];this.W=[];this.Kg=[];this.C=[];this.N=[];this.J=new Map;this.X=new Map;this.K=new Set;this.wD=new Map};\nBOv=function(W,Y,k,P,T){var I=W.index?KN(W.logger,function(){return A$6(W.index,Ml7(Y),k,P,T)},\"W\"):\"u\";\nW.logger.ZB(I)};\no2=function(W){var Y,k=W.policy.C&&((Y=W.loader)==null?void 0:Y.o_());Y=W.loader.getCurrentTime()||0;Y=ez2(W,Y);Y=W.policy.WV&&W.loader.isSeeking()?n1(W.videoTrack,Y):Y;var P=W.loader.m2()||0;Y+=P;P=oJ(W.videoData)||g.zx(W.videoData);var T=0;k?(P&&(T=Number.MAX_SAFE_INTEGER),W.videoData.wD&&(T=Math.ceil(W.videoData.gD*1E3))):T=Math.ceil(Y*1E3);return Math.min(Number.MAX_SAFE_INTEGER,T)};\ng.K9v=function(W,Y){if(W.W!=null&&g.v1(Y,W.W)&&W.W.W.rawcc!=null)return!0;if(!W.t9())return!1;Y=!!W.W&&W.W.isManifestless&&Object.values(W.W.W).some(function(k){return g.Cu(k,\"386\")});\nW=!!W.W&&!W.W.isManifestless&&g.ugS(W.W);return Y||W};\nGaz=function(W){var Y=Gu(Number(W));if(KM(Y))return Fg(Y);Y=W.indexOf(\".\");Y!==-1&&(W=W.substring(0,Y));return GZ()?Fg($n(64,BigInt(W))):Fg(vDX(W))};\ng.z6=function(W,Y){this.x=W!==void 0?W:0;this.y=Y!==void 0?Y:0};\nm32=function(W,Y,k,P){Y=Y===void 0?[]:Y;W.Xr();var T=[],I=[];Y=g.e(Y);for(var X=Y.next();!X.done;X=Y.next())X=X.value,g.R(X,zX7)||g.R(X,d30)?T.push(X):I.push(X);T=g.e(T);for(Y=T.next();!Y.done;Y=T.next())mk(W,Y.value,k,P);I=g.e(I);for(T=I.next();!T.done;T=I.next())mk(W,T.value,k,P)};\ng.Lu=function(W){if(W.simpleText)return W=document.createTextNode(W.simpleText),W;var Y=[];if(W.runs)for(var k=0;k1E5||++Y.T})};\nxZ0=function(W){return W.info.W.info.pN()&&TJ(W.K,0)===160};\nxT=function(W){W=(W.W.cookie||\"\").split(\";\");for(var Y=[],k=[],P,T,I=0;I=0&&Y>k.end(P)-1.1&&P+10?(Hs(W.W6,W.getCurrentTime()+W.videoData.limitedPlaybackDurationInSeconds),W.Q5=!0):W.videoData.isLivePlayback&&W.videoData.endSeconds>0&&(Hs(W.W6,W.getCurrentTime()+W.videoData.endSeconds),W.Q5=!0))};\nkJ=function(W,Y,k){if(k&&!k.includes(W.layoutType))return!1;Y=g.e(Y);for(k=Y.next();!k.done;k=Y.next())if(!EJ(W.clientMetadata,k.value))return!1;return!0};\nvnS=function(W){var Y=g.e(W.split(\".\"));W=Y.next().value;Y=Y.next().value;return[Number(W),Y]};\nKI=function(W,Y){this.K=this.W=null;this.J=W||null;this.T=!!Y};\nJm=function(){PS.apply(this,arguments)};\nTg=function(W,Y){this.W=W;this.K=Y};\nbPV=function(W){var Y=[];W.W.forEach(function(k){k=g.e(k.values());for(var P=k.next();!P.done;P=k.next())Y.push(P.value.slot)});\nreturn Y};\nx31=function(W,Y){W.W&&c$C(W.W,Y)};\nfTC=function(W,Y){W.J=!1;W.W&&(W.C=!0,W.W.abort(),W.C=!1);W.T=Y;W.K=5;gDF(W);sY(W)};\nN8d=function(W,Y){rG(R8(R8(W.fn(),function(k){return gBv(k,[WR(Y)])}),function(k){if(k){k=g.e(k);\nfor(var P=k.next();!P.done;P=k.next()){var T=P.value;P=T.key;T=T.value;P&&T&&(Vpd([{settingItemId:P,settingOptionValue:T}]),j1(W))}}}),function(){W.W=!0})};\nIm=function(W,Y,k){o0(bQ,[W],!er());DdV(W,k);k!=4&&ddV(W.wD,k,W.IH);return Kh(W,Y,er())};\ng.S1=function(W){return W.U(\"html5_local_playsinline\")?B8&&!g.XK(602)&&!(\"playsInline\"in XI()):B8&&!W.Ao||g.fF(\"nintendo wiiu\")?!0:!1};\ng.aT5=function(W){W.cursor.continue(void 0);return jYX(W.request)};\ng.x5=function(){EQ.apply(this,arguments)};\ng.cL6=function(W){var Y=QR(W,0,1701671783);if(!Y)return null;var k=WRF(Y),P=k.hz5;k=nN(k.vj);if(W=QR(W,Y.offset+Y.size,1701671783))if(W=WRF(W),W=nN(W.vj),k&&W){Y=g.e(Object.keys(W));for(var T=Y.next();!T.done;T=Y.next())T=T.value,k[T]=W[T]}return k?new pN(k,P):null};\n$jd=function(W){if(g.Xi(g.AM(W)))return!1;if(W.indexOf(\"://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&\")>=0)return!0;try{var Y=new g.hq(W)}catch(k){return g.ik(WwX,function(P){return W.search(P)>0})!=null}return Y.X.match(YVV)?!0:g.ik(WwX,function(k){return W.match(k)!=null})!=null};\nxN=function(W,Y){var k=new Uint8Array(W.W.buffer,W.W.byteOffset+W.pos,Y);W.pos+=Y;return k};\ng.kvS=function(W){return W.CB?null:W.playerResponse&&W.playerResponse.endscreen&&W.playerResponse.endscreen.endscreenRenderer||null};\nho=function(W){return W.Y.V().experiments.Nq(\"html5_preload_ads\")};\nBS=function(W){var Y;if(!(Y=!W.W)){Y=W.W;var k=window.getComputedStyle(Y);Y=k.display===\"none\"||k.visibility===\"hidden\"||Y.getAttribute(\"aria-hidden\")===\"true\"}if(Y||W.Y.isMinimized())W.b8(!1);else if(Y=g.$p(W.W),Y.width&&Y.height){W.Y.d7(W.element,W.W);var P=W.Y.ai().getPlayerSize().height;k=g.$p(W.J5(\"ytp-promotooltip-container\")).height;W.T?W.element.style.top=P-k-Y.height-12+\"px\":W.N||(P=W.Y.Hu().height-k-Y.height-12,W.element.style.top=P+\"px\");P=W.J5(\"ytp-promotooltip-pointer\");var T=g.kp(W.W,\nW.Y.getRootNode()),I=Number(W.element.style.left.replace(/[^\\d\\.]/g,\"\"));W=W.Y.isFullscreen()?18:12;P.style.left=T.x-I+Y.width/2-W+\"px\";P.style.top=k+\"px\"}else W.b8(!1)};\nP2C=function(W,Y,k){if(k>=W.W.length)return!1;var P=W.C-Vc(W)*W.OP;return Math.abs(Y-W.W[k].startTime/1E3)/W.J.W*P<4};\nOz=function(W){return Object.values(W.tracks).find(function(Y){return Y.languageCode===\"en\"&&Y.kind===\"asr\"})};\ng.ev=function(W,Y){typeof W==\"number\"&&(W=(Y?Math.round(W):W)+\"px\");return W};\nT0z=function(W){var Y,k;return((Y=W.renderer)==null?void 0:(k=Y.adBreakServiceRenderer)==null?void 0:k.getAdBreakUrl)!==void 0};\nu5=function(W,Y,k,P){var T=k.getVideoData(),I=Y.getVideoData();if(k.getPlayerState().isError())return{msg:\"player-error\"};var X=I.J;if(Y.tD()>P/1E3+1)return{msg:\"in-the-past\"};if(I.isLivePlayback&&!isFinite(P))return{msg:\"live-infinite\"};(P=Y.bd())&&P.isView()&&(P=P.mediaElement);if(P&&P.OG().length>12&&g.TY(T))return{msg:\"played-ranges\"};if(!T.J)return null;if(!X)return{msg:\"no-pvd-formats\"};if(!T.J.W||!X.W)return{msg:\"non-dash\"};P=X.videoInfos[0];var h=T.J.videoInfos[0];W.A5&&Dq(I)&&(P=Y.Qg(),h=\nk.Qg());if(!P||!h)return{msg:\"no-video-info\"};if(W.X&&(jQ(P)||jQ(h)))return{msg:\"av1\"};Y=W.T&&I.xZ()&&Bl();if(h.containerType!==P.containerType)if(Y)I.y5(\"sgap\",{ierr:\"container\"});else return{msg:\"container\"};if(W.C&&!Y&&(h.lz!==P.lz||h.lz===\"\"||P.lz===\"\"))return{msg:\"codec\"};if(W.G&&h.video&&P.video&&Math.abs(h.video.width/h.video.height-P.video.width/P.video.height)>.01)return{msg:\"ratio\"};if(g.TY(I)&&g.TY(T))return{msg:\"content-protection\"};X=X.W[0];T=T.J.W[0];k=X.audio;var B=T.audio;if(k.sampleRate!==\nB.sampleRate&&!g.sr)if(Y)I.y5(\"sgap\",{ierr:\"srate\"});else return{msg:\"sample-rate\",ci:X.itag,cr:k.sampleRate,ni:T.itag,nr:B.sampleRate};return(k.numChannels||2)!==(B.numChannels||2)?{msg:\"channel-count\"}:W.L&&I.xZ()&&P.video.fps!==h.video.fps?{msg:\"fps\"}:null};\nVR=function(W,Y,k){this.buffer=W;if(k&&!Y)throw Error();this.W=Y};\nbHq=function(W){var Y=Nm();Y&&(typeof W===\"number\"&&(W=[W]),g.hv(W,function(k){Y.unsubscribeByKey(k);delete aF[k]}))};\ngA=function(W,Y,k,P,T){g.D.call(this);this.K=Y;this.Cg=k;this.qq=P;this.Va=T;this.listeners=[];var I=new EQ(this);g.m(this,I);I.Z(W,\"internalAbandon\",this.f_z);this.addOnDisposeCallback(function(){g.eY(I)})};\n$1=function(W,Y,k){Y=jnv[Y];var P,T,I={detected:W===0,source:\"\"+Y.K+((P=k.triggerContext)!=null?P:\"\")+((T=k.uH)!=null?T:\"\"),detectionStates:k.states,durationMs:k.gR};k.metadata&&(I.contentCpn=k.metadata.contentCpn,I.adCpn=k.metadata.adCpn);g.qc(\"biscottiBasedDetection\",I);Y.W!==void 0&&(k=Number(g.o_(\"CATSTAT\",0)),Y.W!==void 0?(Y=Y.W,W=IhV(W),W=k&~(3<0&&gm5(Z)&&Z.c6>M)&&TR(Y,Z,P)===!0){T.push({videoCodec:X4d[BM[u]],maxWidth:Z.video.width,maxHeight:Z.video.height,maxFramerate:Z.video.fps});break}}}}X=g.e(B);for(W=X.next();!W.done;W=X.next())for(W=g.e(W.value),B=W.next();!B.done;B=W.next())if(B=B.value,(h=Fs7(B))&&h.audio&&(k.U(\"html5_onesie_51_audio\")||!IN(h)&&!P9(h))&&TR(Y,h,P)===!0){I.push({audioCodec:jzd[BM[B]],numChannels:h.audio.numChannels});break}return{videoFormatCapabilities:T,audioFormatCapabilities:I}};\nZn=function(W){this.h5=rT(W)};\ni5=function(){mS.apply(this,arguments)};\nB00=function(W,Y){switch(Y.Qr){case \"bool\":return W.Nq(Y.Cc);case \"int\":return W=Xb7(W,Y.Cc),Fg(W);case \"double\":return Xb7(W,Y.Cc);case \"string\":return SVX(W,Y.Cc);case \"int32_list\":return hpV(W,Y.Cc);case \"int64_list\":return hpV(W,Y.Cc).map(function(k){return Fg(k)});\ncase \"string_list\":throw Error(\"String list flags are not supported in WPCC\");default:throw Error(\"Unknown flag type\");}};\nORz=function(W,Y,k){W=W.map(function(P){return g.v(function(T){return T.W==1?g.L(T,my(P.actualName,Y),2):g.L(T,KV(P.actualName,k),0)})});\nreturn Promise.all(W).then(function(){})};\noH=function(){this.K=new vC;this.Fr=this.UP=0;this.V5=new b4;this.Kg=this.G=-1;this.bz=1E3;this.e1=new vC([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.TJ=this.wD=-1};\ng.uxd=function(W){return W?W===\"music\"?!0:W.includes(\"dlt=-1\")||!W.includes(\"dlt=\"):!1};\ng.tB=function(W){return wD6(W.K)};\nto=function(W,Y){g.c.call(this,{S:\"div\",Ya:[\"ytp-fullscreen-grid\"],B:[{S:\"div\",j:\"ytp-fullscreen-grid-hover-overlay\",D:{title:\"{{title}}\",\"aria-keyshortcuts\":\"v\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\",\"data-tooltip-target-id\":\"ytp-fullscreen-grid\",\"data-tooltip-offset-y\":\"-20\"},B:[{S:\"div\",j:\"ytp-fullscreen-grid-hover-overlay-chevron\",B:[{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"g\",D:{filter:\"url(#filter0_d_3104_799356)\"},B:[{S:\"path\",D:{d:\"M5.29 15.20C4.92 14.84 4.90 14.26 5.22 13.86L5.29 13.79L11.99 7.08L18.70 13.79C19.09 14.18 19.09 14.81 18.70 15.20C18.31 15.59 17.68 15.59 17.29 15.20L11.99 9.91L6.70 15.20L6.63 15.27C6.23 15.59 5.65 15.57 5.29 15.20Z\",\nfill:\"white\"}}]},{S:\"defs\",B:[{S:\"filter\",D:{\"color-interpolation-filters\":\"sRGB\",filterUnits:\"userSpaceOnUse\",height:\"26\",width:\"26\",x:\"-1\",y:\"-1\"},B:[{S:\"feFlood\",D:{\"flood-opacity\":\"0\",result:\"BackgroundImageFix\"}},{S:\"feColorMatrix\",D:{\"in\":\"SourceAlpha\",result:\"hardAlpha\",type:\"matrix\",values:\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"}},{S:\"feOffset\"},{S:\"feGaussianBlur\",D:{stdDeviation:\"0.5\"}},{S:\"feComposite\",D:{in2:\"hardAlpha\",operator:\"out\"}},{S:\"feColorMatrix\",D:{type:\"matrix\",values:\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.8 0\"}},\n{S:\"feBlend\",D:{in2:\"BackgroundImageFix\",mode:\"normal\",result:\"effect1_dropShadow_3104_799356\"}},{S:\"feBlend\",D:{\"in\":\"SourceGraphic\",in2:\"effect1_dropShadow_3104_799356\",mode:\"normal\",result:\"shape\"}}]}]}]}]}]},{S:\"div\",j:\"ytp-fullscreen-grid-main-content\",B:[{S:\"div\",j:\"ytp-fullscreen-grid-header\",B:[{S:\"div\",j:\"ytp-fullscreen-grid-header-buttons\",B:[{S:\"button\",Ya:[\"ytp-grid-replay-button\",\"ytp-button\"],D:{title:\"Replay\",\"aria-keyshortcuts\":\"k\",\"aria-label\":\"Replay\",\"data-title-no-tooltip\":\"Replay\"},\nB:[Oe6()]},{S:\"button\",j:\"ytp-fullscreen-grid-header-button\",D:{\"aria-label\":\"{{ariaLabel}}\"}}]},{S:\"button\",Ya:[\"ytp-grid-menu-close\",\"ytp-button\"],D:{\"aria-label\":\"Close\"},B:[g.xe()]}]},{S:\"div\",j:\"ytp-fullscreen-grid-stills-container\"}]}]});var k=this;this.player=W;this.stills=[];this.videoData=null;this.currentState=0;this.X=this.J5(\"ytp-fullscreen-grid-main-content\");this.C=this.J5(\"ytp-fullscreen-grid-header\");W=this.J5(\"ytp-fullscreen-grid-header-buttons\");this.J=this.J5(\"ytp-grid-menu-close\");\nthis.K=this.J5(\"ytp-grid-replay-button\");this.W=this.J5(\"ytp-fullscreen-grid-header-button\");this.N=this.J5(\"ytp-fullscreen-grid-stills-container\");this.T=new g.x5(this);g.m(this,this.T);this.G=Y;if(this.C&&this.X&&W&&this.N&&this.W&&this.J){if(Y=this.J5(\"ytp-fullscreen-grid-hover-overlay\"))this.Z(Y,\"click\",this.zo),pt(this.player,Y,this);this.K&&(this.Z(this.K,\"click\",function(P){k.BR(P)}),pt(this.player,this.K,this));\nthis.W&&this.Z(this.W,\"click\",this.zo);this.J&&this.Z(this.J,\"click\",this.zo);if(Y=this.player.getVideoData(1))this.videoData=Y,MX(this);this.player.createClientVe(this.C,this,223051);this.T.Z(this.player,\"videodatachange\",this.onVideoDataChange);this.T.Z(this.player,\"presentingplayerstatechange\",this.OA)}};\nqX=function(W,Y,k,P,T,I,X,h,B){T?hn(W,T).OB.push({Uoq:Y,L6:k,isContentVideoCompanion:P,sB:X,associatedCompositePlayerBytesLayoutId:I,adSlotLoggingData:h,Uf:B}):EF(\"Companion AdPlacementSupportedRenderer without adVideoId\")};\nZRF=function(W,Y){return EJ(W.clientMetadata,\"metadata_ad_video_is_listed\")?kW(W.clientMetadata,\"metadata_ad_video_is_listed\"):Y?Y.isListed:(EF(\"No layout metadata nor AdPlayback specified for ad video isListed\"),!1)};\nvX0=function(W,Y){cL(W,Y)||QY(W,\"childPlaybackIsNotPresenting\");return Y.vz===Y.pH+Y.durationMs?Y.pH+W.app.D2().getCurrentTime()*1E3:Y.vz};\ngm5=function(W){return W.lz===\"(\"||W.lz===\"(h\"||W.lz===\"H\"||Zh&&W.lz===\"1e\"};\nIR=function(W){var Y,k,P;return!!((Y=W.playerResponse)==null?0:(k=Y.playerConfig)==null?0:(P=k.mediaCommonConfig)==null?0:P.splitScreenEligible)};\nqj7=function(W){var Y=Y===void 0?!0:Y;this.W=new jc;W!==void 0&&R06(this.W,W);Y&&this.W.add(\"v\",\"unreleased\",-16)};\nAd=function(W){if(W.Y.V().J)return!1;if(W=W.Y.getVideoData(1).getPlayerResponse()){var Y=W.adPlacements;if(Y)for(var k=0;k=5:W.isLowLatencyLiveStream&&W.W!=void 0&&NN(W.W)>=5};\niw=function(W,Y){return{start:function(k){return W[k]},\nend:function(k){return Y[k]},\nlength:W.length}};\njxV=function(W,Y,k,P){k=k===void 0?!0:k;var T;return g.v(function(I){if(I.W==1)return g.L(I,Zv(Y),2);T=I.K;return I.return(g.KQ(T,[\"LogsRequestsStore\"],{mode:\"readwrite\",sR:!0},function(X){var h=X.objectStore(\"LogsRequestsStore\");return h.get(W).then(function(B){return B?(B.status=\"NEW\",k&&(B.sendCount+=1),P!==void 0&&(B.options.compress=P),g.J8(h,B).then(function(){return B})):g.UE.resolve(void 0)})}))})};\niRd=function(W){if(!fj(W.adLayoutMetadata))return!1;W=W.renderingContent;return g.R(W,Rm)||g.R(W,HS)||g.R(W,nD)||g.R(W,pD)||g.R(W,Gg)||g.R(W,KD)?!0:!1};\ng40=function(W){var Y=new bK;var k=new Ez;k=P0(k,1,\"botguard\");W=P0(k,2,W);this.W=c4z(Y,Ez,1,Mmd,W)};\neT7=function(W){if(W.Y.isEmbedsShortsMode())return!1;W=W.Y;var Y=W.V();if(Y.J)return!1;var k;if(((k=Y.getWebPlayerContextConfig())==null?0:k.embedsEnableEmc3ds)||Y.controlsType===\"3\")return!1;if(Y.playerStyle===\"creator-endscreen-editor\")return!0;k=W.getVideoData();return!!k&&(!!g.tmS(k)||!!g.kvS(k))};\ng.Jo=function(W,Y,k,P,T){Lv||UJ.set(\"\"+W,Y,{k_:k,path:\"/\",domain:P===void 0?\"youtube.com\":P,secure:T===void 0?!1:T})};\nsz=function(W,Y,k,P){W.J.NL(P===void 0?Y:P,k/Y);W.X=(0,g.lj)()};\nS6z=function(W,Y,k,P,T,I,X){Y=k-Y;T?(T instanceof g.rH&&(T.type===\"QUOTA_EXCEEDED\"||T.type===\"QUOTA_MAYBE_EXCEEDED\")&&dV(\"QUOTA_EXCEEDED\",{dbName:SC(W.W.name),objectStoreNames:I,transactionCount:W.transactionCount,transactionMode:X.mode}),T instanceof g.rH&&T.type===\"UNKNOWN_ABORT\"&&(k-=W.J,k<0&&k>=2147483648&&(k=0),dV(\"TRANSACTION_UNEXPECTEDLY_ABORTED\",{objectStoreNames:I,transactionDuration:Y,transactionCount:W.transactionCount,dbDuration:k}),W.K=!0),LNd(W,!1,P,I,Y,X.tag),HT(T)):LNd(W,!0,P,I,Y,\nX.tag)};\nRpz=function(W,Y){W.info=Y;if(W.ue){var k=W.ue;Y=Y.EP;(Y.length!==k.EP.length||Y.length=0||(W.provider.W6.getVisibilityState()===3?W.C=!0:(W.W=g.Jj(W.provider),W.delay.start()))};\nZi=function(W){var Y=W.K,k=W.W,P=Y[k+0],T=Y[k+1],I=Y[k+2];Y=Y[k+3];yw(W,W.W+4);return(P<<0|T<<8|I<<16|Y<<24)>>>0};\nzg=function(W,Y){return W.T?W.T:W.T=new Promise(function(k){var P,T,I,X;return g.v(function(h){switch(h.W){case 1:return P=window.AbortController?new window.AbortController:void 0,I=(T=P)==null?void 0:T.signal,X=!1,g.Ta(h,2,3),P&&(W.K=W.EX.r_(function(){P.abort()},Y||2E4)),g.L(h,fetch(\"/generate_204\",{method:\"HEAD\",\nsignal:I}),5);case 5:X=!0;case 3:g.Ei(h);W.T=void 0;W.K&&(W.EX.Ca(W.K),W.K=0);X!==W.W&&(W.W=X,W.W?W.dispatchEvent(\"networkstatus-online\"):W.dispatchEvent(\"networkstatus-offline\"));k(X);g.JB(h,0);break;case 2:g.jh(h),X=!1,h.oi(3)}})})};\ndnV=function(W,Y){try{var k=dU(FB);k.Kg=!0;var P=W?new jn(W.y,W.x+W.width,W.y+W.height,W.x):new jn(0,0,0,0);var T=S9(),I=er();var X=new g3(T,I,k);X.W=P;X.volume=Y;k.FL(X)}catch(h){zH(542,h)}};\nGvz=function(W){return window.PressureObserver&&new window.PressureObserver(W)};\nKw2=function(W,Y){W=g.e(W.Ym.entries());for(var k=W.next();!k.done;k=W.next()){var P=g.e(k.value);k=P.next().value;P=P.next().value;if(Y===P.cueRangeId)return k}return\"\"};\ndX=function(W){W.removed=!0;W.listener=null;W.proxy=null;W.src=null;W.handler=null};\ng.ml=function(W){g.D.call(this);this.xm={};this.k8={};this.element=this.createElement(W)};\nSS=function(W,Y){if(W.policy.useUmp&&Y.Xr())return!1;try{var k=Y.info.EP[0].W,P=k.info.video?W.videoTrack:W.audioTrack;if(W.H6.isManifestless&&P){W.X=0;P.G&&(Y.Xr(),Y.isComplete()||Y.dX(),P.G=!1);Y.ov()&&W.loader.BQ.NL(1,Y.ov());var T=Y.GG(),I=Y.yB();QQ(W.H6,T,I)}if(Y.info.YN()&&!Dn(Y.info))for(var X=g.e(Y.E3()),h=X.next();!h.done;h=X.next())fvq(P,h.value);for(W.loader.getCurrentTime();P.J.length&&P.J[0].state===4;){var B=P.J.shift();G2X(P,B);P.Fr=B.eR()}P.J.length&&G2X(P,P.J[0]);var O=!!ib(P);O&&\nY instanceof SE&&(k.info.xH()?d27(W.timing):T87(W.timing));return O}catch(u){Y=Y.B3();Y.origin=\"hrhs\";a:{W=W.loader;k=u;if(k instanceof Error){Y.msg||(Y.msg=\"\"+k.message);Y.name||(Y.name=\"\"+k.name);if(k instanceof g.M6&&k.args)for(P=g.e(Object.entries(k.args)),T=P.next();!T.done;T=P.next())I=g.e(T.value),T=I.next().value,I=I.next().value,Y[\"arg\"+T]=\"\"+I;g.Jx(k);if(k.level===\"WARNING\"){W.W6.yg(Y);break a}}W.handleError(\"fmt.unplayable\",Y,1)}return!1}};\nV5=function(W,Y,k,P){for(var T=0;T=0&&Y<=1?Y:0;this.W=W=Y.range.start+Y.K&&W.range.start+W.K+W.J<=Y.range.start+Y.K+Y.J:W.t5===Y.t5&&W.K>=Y.K&&(W.K+W.J<=Y.K+Y.J||Y.T)};\nAV1=function(W){this.Lb=3;this.Cc=W;this.defaultValue=!1;this.Qr=\"bool\"};\nIhV=function(W){switch(W){case 2:return 0;case 1:return 2;case 0:return 3;case 4:case 3:return 1;default:QL(W,\"unknown result type\")}};\ng.jK=function(W){W.cursor.continue(void 0);return Qt(W.request)};\nQK=function(W){return g.KC(W.W,function(Y){return Wd(75,Y.ob.W)})};\ng.z5=function(W){var Y=[\"ytp-cued-thumbnail-overlay\"];W.V().X&&Y.push(\"ytp-exp-contain-thumbnail\");g.c.call(this,{S:\"div\",Ya:Y,B:[{S:\"div\",j:\"ytp-cued-thumbnail-overlay-image\"}]});Y=this.J5(\"ytp-cued-thumbnail-overlay\");var k=new g.e1(W);g.m(this,k);k.S1(Y);this.K=new g.x5(this);g.m(this,this.K);this.api=W;this.T=this.J5(\"ytp-cued-thumbnail-overlay-image\");this.J=k;this.fade=new g.fH(this,250);g.m(this,this.fade);this.W=new g.fC(this.xa,0,this);g.m(this,this.W);this.xa();this.Z(W,\"appresize\",this.Rb);\nthis.Z(W,\"presentingplayerstatechange\",this.onStateChange);this.Z(W,\"ypcStateChanged\",this.aSS);om(W.V())&&this.Z(W,\"videoplayerreset\",this.onReset)};\nzpq=function(W,Y,k,P,T,I,X,h,B,O,u){return{adClientDataEntry:{slotData:vS(W,{slotId:Y,slotType:k,slotPhysicalPosition:P,fg:T,slotEntryTrigger:I,slotFulfillmentTriggers:X,slotExpirationTriggers:h,clientMetadata:new i_([])}),layoutData:QIV(W,{layoutId:B,layoutType:O,fg:u,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],W7:new Map,clientMetadata:new i_([]),XA:{}})}}};\nzeF=function(){};\nog5=function(W,Y,k){var P=W.K.get(Y),T=W.J.getStartTime(Y),I=W.J.getDuration(Y);W.X=!1;W.G=Y;var X=T,h;((h=P==null?void 0:P.W)!=null?h:[W.cpn]).forEach(function(B,O){var u,Z=(u=P==null?void 0:P.K[O])!=null?u:I;if(k>=X&&kT.width)Y-=T.width;else break;P++}return P===W.W.length?P-1:P};\ndjv=function(W){var Y;(Y=W.Pa)==null||Y.get().v9(kW(W.slot.clientMetadata,\"metadata_type_cue_point\").identifier)};\njn=function(W,Y,k,P){this.top=W;this.right=Y;this.bottom=k;this.left=P};\nMl=function(W){var Y=[{cpn:W.K.VC()}];W.T&&Y.push({cpn:W.T.VC()});W.api.publish(\"playbackChange\",{C22:Y})};\nmjC=function(W,Y){Uh(W,1,Y.type);HL(W,2,Y.value)};\nDj5=function(W,Y){for(var k,P,T,I=W.window;;){if(W.B7<=258){w5(W);if(W.B7<=258&&Y===0)return 1;if(W.B7===0)break}W.Td=0;if(W.B7>=3&&W.Sr>0&&(P=W.Sr-1,k=I[P],k===I[++P]&&k===I[++P]&&k===I[++P])){for(T=W.Sr+258;k===I[++P]&&k===I[++P]&&k===I[++P]&&k===I[++P]&&k===I[++P]&&k===I[++P]&&k===I[++P]&&k===I[++P]&&PW.B7&&(W.Td=W.B7)}W.Td>=3?(k=md(W,1,W.Td-3),W.B7-=W.Td,W.Sr+=W.Td,W.Td=0):(k=md(W,0,W.window[W.Sr]),W.B7--,W.Sr++);if(k&&(be(W,!1),W.kh.Lq===0))return 1}W.b_=0;return Y===\n4?(be(W,!0),W.kh.Lq===0?3:4):W.j3&&(be(W,!1),W.kh.Lq===0)?1:2};\nPdd=function(W){W=g.e(W);for(var Y=W.next();!Y.done;Y=W.next())if(Y=Y.value,Y.itag&&gE2.has(Y.itag))return!0;return!1};\nOu=function(W,Y){return Tu(W,Y)||(W.currentStyle?W.currentStyle[Y]:null)||W.style&&W.style[Y]};\nFwz=function(W){var Y=W.T.filter(function(k){return k.isChecked()});\nY.length!==0&&(Y=Y[0].getCommand(),W.layoutId?W.B6.executeCommand(Y,W.layoutId):g.LH(Error(\"Missing layoutId for ad feedback dialog.\")),W.api.onAdUxClicked(\"ad-feedback-dialog-confirm-button\",W.layoutId),W.publish(\"a\"),W.hide())};\nwbV=function(){tG={contentCpn:\"\",QS:new Map}};\njQ=function(W){return W.lz===\"1\"||W.lz===\"1h\"||Zh&&W.lz===\"1e\"};\nQn7=function(W){var Y=Y===void 0?!1:Y;var k,P,T,I,X;return g.v(function(h){if(h.W==1)return(k=W.zd.get(\"asmjs\"))&&!Y?h.return(k):(P=lb.get(\"asmjs\"))!=null?(T=P,h.oi(2)):g.L(h,new Promise(function(B,O){pyC(W,\"asmjs\",function(){var u=lb.get(\"asmjs\");u?B(u):O(\"cannot load module asmjs\")},O)}),3);\nh.W!=2&&(T=h.K);I=T;if(!I)return h.return(Promise.reject(\"cannot load module asmjs\"));X=new I(W.Y);W.zd.set(\"asmjs\",X);X.create();return h.return(X)})};\noi=function(W){W=W===void 0?yVC:W;if(W>0&&!(Pkd()>(0,g.lj)()-W*1E3))return 0;W=g.GK(\"yt-player-quality\");if(typeof W===\"string\"){if(W=g.cu[W],W>0)return W}else if(W instanceof Object)return W.quality;return 0};\nw5=function(W){var Y=W.uY,k;do{var P=W.l$-W.B7-W.Sr;if(W.Sr>=Y+(Y-262)){K6.ys(W.window,W.window,Y,Y,0);W.BS-=Y;W.Sr-=Y;W.U3-=Y;var T=k=W.hI;do{var I=W.head[--T];W.head[T]=I>=Y?I-Y:0}while(--k);T=k=Y;do I=W.Oy[--T],W.Oy[T]=I>=Y?I-Y:0;while(--k);P+=Y}if(W.kh.tf===0)break;T=W.kh;k=W.window;I=W.Sr+W.B7;var X=T.tf;X>P&&(X=P);X===0?k=0:(T.tf-=X,K6.ys(k,T.input,T.O7,X,I),T.state.wrap===1?T.g5=FQ(T.g5,k,X,I):T.state.wrap===2&&(T.g5=LD(T.g5,k,X,I)),T.O7+=X,T.YP+=X,k=X);W.B7+=k;if(W.B7+W.b_>=3)for(P=W.Sr-W.b_,\nW.Rk=W.window[P],W.Rk=(W.Rk<=Y||(P[W]=k+1,W=Error(),gdC(W,\"incident\"),FE(W))}};\ng.p2=function(W){this.config_=null;W?this.config_=W:C2X()&&(this.config_=g.sV())};\nKa5=function(W){var Y=W.api.getRootNode(),k,P=W.api.getWebPlayerContextConfig().embedsEnableEmc3ds?((k=Y.parentElement)==null?void 0:k.parentElement)||Y:Y;W.W=new l5(P,function(T){T!=null&&(W.api.V().ww=T,W.api.V().Jj=\"EMBEDDED_PLAYER_VISIBILITY_FRACTION_SOURCE_INTERSECTION_OBSERVER\")});\ng.m(W,W.W);W.events.Z(W.api,\"videoStatsPingCreated\",function(T){var I=W.W;I=I.W==null?null:Math.round(I.W*100)/100;T.inview=I!=null?I:void 0;I=W.api.getPlayerSize();if(I.height>0&&I.width>0){I=[Math.round(I.width),Math.round(I.height)];var X=g.FR();X>1&&I.push(X);I=I.join(\":\")}else I=void 0;T.size=I})};\nb5=function(W,Y){Lwd(W,Y);return W.values[Y]&&W.XO[Y]?W.values[Y]/Math.pow(2,W.W/W.XO[Y]):0};\nlhv=function(W){if(!W.W&&!W.J.isEmpty()){var Y=W.J.remove();W.W=Uj2(W,Y)}};\nyQX=function(W){return W.Y.V().U(\"html5_recognize_predict_start_cue_point\")};\nNV=function(W,Y,k,P,T,I){ls.call(this,W,{S:\"div\",j:\"ytp-ad-skip-ad-slot\"},\"skip-ad\",Y,k,P,T);this.Kg=I;this.T=!1;this.C=0;this.J=this.K=null;this.hide()};\nWfV=function(W,Y){var k=Y.params||{};W={urlParams:{a:\"logerror\",t:\"jserror\",type:Y.name,msg:Y.message.substr(0,250),line:Y.lineNumber,level:W,\"client.name\":k.name},postParams:{url:g.o_(\"PAGE_NAME\",window.location.href),file:Y.fileName},method:\"POST\"};k.version&&(W[\"client.version\"]=k.version);if(W.postParams){Y.stack&&(W.postParams.stack=Y.stack);Y=g.e(Object.keys(k));for(var P=Y.next();!P.done;P=Y.next())P=P.value,W.postParams[\"client.\"+P]=k[P];if(k=g.o_(\"LATEST_ECATCHER_SERVICE_TRACKING_PARAMS\"))for(Y=\ng.e(Object.keys(k)),P=Y.next();!P.done;P=Y.next())P=P.value,W.postParams[P]=k[P];(k=g.o_(\"LAVA_VERSION\"))&&(W.postParams[\"lava.version\"]=k);k=g.o_(\"SERVER_NAME\");Y=g.o_(\"SERVER_VERSION\");k&&Y&&(W.postParams[\"server.name\"]=k,W.postParams[\"server.version\"]=Y)}g.DV(g.o_(\"ECATCHER_REPORT_HOST\",\"\")+\"/error_204\",W)};\ncS=function(W){this.value=W};\nbR2=function(W){BI(W,\"impression\")&&!BI(W,\"seek\")&&W.h$(\"audio_measurable\")};\ncVv=function(W,Y){W.X&&clearTimeout(W.X);W.W===0&&g.Sr(W.api.getRootNode(),\"ytp-grid-scrolling\");Y?xJ(W):W.Kg?W.Kg&&W.W<.1&&(W.X=window.setTimeout(function(){xJ(W)},1E3)):W.X=window.setTimeout(function(){xJ(W)},150)};\nUv=function(W){Uv[\" \"](W);return W};\nfD=function(W,Y){Y=Y===void 0?240:Y;g.c.call(this,{S:\"button\",Ya:[\"ytp-button\",\"ytp-search-button\"],D:{title:W.U(\"player_tooltip_data_title_killswitch\")?\"Search\":\"\",\"data-tooltip-title\":\"Search\",\"data-tooltip-opaque\":String(g.hN(W.V()))},B:[{S:\"div\",j:\"ytp-search-icon\",v6:\"{{icon}}\"},{S:\"div\",j:\"ytp-search-title\",v6:\"Search\"}]});this.api=W;this.K=Y;this.visible=!1;this.updateValue(\"icon\",{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",j:\"ytp-svg-fill\",D:{d:\"M21.24,19.83l-5.64-5.64C16.48,13.02,17,11.57,17,10c0-3.87-3.13-7-7-7s-7,3.13-7,7c0,3.87,3.13,7,7,7 c1.57,0,3.02-0.52,4.19-1.4l5.64,5.64L21.24,19.83z M5,10c0-2.76,2.24-5,5-5s5,2.24,5,5c0,2.76-2.24,5-5,5S5,12.76,5,10z\"}}]});\nW.createClientVe(this.element,this,184945);this.listen(\"click\",this.onClick);this.W();this.Z(W,\"appresize\",this.W);this.Z(W,\"videodatachange\",this.W);pt(W,this.element,this)};\nyB0=function(W,Y){RXv(W,Y).then(void 0,function(){Vt(W)});\nPI(W,Y).then(function(k){NX(W,k)},function(){Vt(W)});\nW.W6.JX(Y);if(W.zJ.OR()||xj0(W))Y=W.ER(),Y[\"native\"]=\"\"+ +W.Kg,Y.tgt=\"\"+W.K,Y.otgt=\"\"+(W.K+W.timestampOffset),Y.maxst=\"\"+W.M6(),W.W&&W.U(\"html5_high_res_seek_logging\")&&(Y.tht=\"\"+W.W.C(),Y.ht=\"\"+W.W.Hl(),Y.adft=\"\"+zp(W.W)),W.U(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&W.videoData.W&&w9(W.videoData)&&(Y.minst=\"\"+W.videoData.W.UK,Y.cminst=\"\"+(W.videoData.W.aI()+W.timestampOffset),Y.maxst=\"\"+W.videoData.W.KL,Y.hts=\"\"+W.videoData.W.wD,Y.cmaxst=\"\"+(W.videoData.W.M6()+W.timestampOffset)),W.W6.y5(\"startSeek\",\nY)};\nJ1d=function(W){if(W.Y.U(\"delhi_modern_web_player_icons\"))return W=am.includes(\"en\")?WG(W)&&W.isEnabled()?{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V19C1 19.53 1.21 20.03 1.58 20.41C1.96 20.78 2.46 21 3 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM9.03 8.08L9.29 8.16C9.79 8.35 10.24 8.65 10.60 9.05L10.77 9.26L10.83 9.34C10.96 9.55 11.01 9.80 10.96 10.05C10.92 10.29 10.79 10.51 10.59 10.66C10.40 10.81 10.15 10.89 9.91 10.87C9.66 10.85 9.43 10.74 9.26 10.57L9.19 10.49L9.11 10.39C8.98 10.24 8.81 10.12 8.62 10.05L8.54 10.02C8.32 9.97 8.10 10.00 7.91 10.11C7.67 10.24 7.48 10.43 7.35 10.67L7.28 10.79C7.09 11.16 6.99 11.58 7 12L7.00 12.16C7.02 12.52 7.11 12.88 7.28 13.20L7.35 13.32C7.48 13.56 7.67 13.75 7.91 13.88L7.99 13.92C8.16 14.00 8.35 14.02 8.54 13.97L8.62 13.94C8.85 13.85 9.05 13.70 9.19 13.50L9.26 13.43C9.44 13.24 9.68 13.13 9.93 13.12C10.19 13.11 10.44 13.20 10.63 13.37C10.82 13.53 10.94 13.77 10.97 14.02C11.00 14.27 10.93 14.53 10.77 14.73C10.39 15.23 9.88 15.61 9.29 15.83L9.03 15.91C8.43 16.06 7.79 16.01 7.21 15.77L6.97 15.65C6.42 15.35 5.95 14.90 5.64 14.36L5.50 14.12C5.21 13.55 5.04 12.92 5.00 12.27L5 12C4.99 11.26 5.17 10.53 5.50 9.87L5.64 9.63C5.96 9.09 6.42 8.64 6.97 8.34C7.60 8.00 8.34 7.91 9.03 8.08ZM17.03 8.08L17.29 8.16C17.79 8.35 18.24 8.65 18.60 9.05L18.77 9.26L18.83 9.34C18.96 9.55 19.01 9.80 18.96 10.05C18.92 10.29 18.79 10.51 18.59 10.66C18.40 10.81 18.15 10.89 17.91 10.87C17.66 10.85 17.43 10.74 17.26 10.57L17.19 10.49L17.11 10.39C16.98 10.24 16.81 10.12 16.62 10.05L16.54 10.02C16.32 9.97 16.10 10.00 15.91 10.11C15.67 10.24 15.48 10.43 15.35 10.67L15.28 10.79C15.09 11.16 14.99 11.58 15 12L15.00 12.16C15.02 12.52 15.11 12.88 15.28 13.20L15.35 13.32C15.48 13.56 15.67 13.75 15.91 13.88L15.99 13.92C16.16 14.00 16.35 14.02 16.54 13.97L16.62 13.94C16.85 13.85 17.05 13.70 17.19 13.50L17.26 13.43C17.44 13.24 17.68 13.13 17.93 13.12C18.19 13.11 18.44 13.20 18.63 13.37C18.82 13.53 18.94 13.77 18.97 14.02C19.00 14.27 18.93 14.53 18.77 14.73C18.39 15.23 17.88 15.61 17.29 15.83L17.03 15.91C16.43 16.06 15.79 16.01 15.21 15.77L14.97 15.65C14.42 15.35 13.95 14.90 13.64 14.36L13.50 14.12C13.21 13.55 13.04 12.92 13.00 12.27L13 12C12.99 11.26 13.17 10.53 13.50 9.87L13.64 9.63C13.96 9.09 14.42 8.64 14.97 8.34C15.60 8.00 16.34 7.91 17.03 8.08Z\",\nfill:\"white\"}}]}:YR():WG(W)&&W.isEnabled()?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V19C1 19.53 1.21 20.03 1.58 20.41C1.96 20.78 2.46 21 3 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM6 11H8C8.26 11 8.51 11.10 8.70 11.29C8.89 11.48 9 11.73 9 12C9 12.26 8.89 12.51 8.70 12.70C8.51 12.89 8.26 13 8 13H6C5.73 13 5.48 12.89 5.29 12.70C5.10 12.51 5 12.26 5 12C5 11.73 5.10 11.48 5.29 11.29C5.48 11.10 5.73 11 6 11ZM12 11H18C18.26 11 18.51 11.10 18.70 11.29C18.89 11.48 19 11.73 19 12C19 12.26 18.89 12.51 18.70 12.70C18.51 12.89 18.26 13 18 13H12C11.73 13 11.48 12.89 11.29 12.70C11.10 12.51 11 12.26 11 12C11 11.73 11.10 11.48 11.29 11.29C11.48 11.10 11.73 11 12 11ZM16 15H18C18.26 15 18.51 15.10 18.70 15.29C18.89 15.48 19 15.73 19 16C19 16.26 18.89 16.51 18.70 16.70C18.51 16.89 18.26 17 18 17H16C15.73 17 15.48 16.89 15.29 16.70C15.10 16.51 15 16.26 15 16C15 15.73 15.10 15.48 15.29 15.29C15.48 15.10 15.73 15 16 15ZM6 15H12C12.26 15 12.51 15.10 12.70 15.29C12.89 15.48 13 15.73 13 16C13 16.26 12.89 16.51 12.70 16.70C12.51 16.89 12.26 17 12 17H6C5.73 17 5.48 16.89 5.29 16.70C5.10 16.51 5 16.26 5 16C5 15.73 5.10 15.48 5.29 15.29C5.48 15.10 5.73 15 6 15Z\",\nfill:\"white\"}}]}:fhd()};\ng.VmC=function(W){W=g.rM(W);return MC(W[1],W[2],W[3],W[4])};\nfK6=function(W,Y,k,P){if(k==3&&Y.K&&!Y.T)for(;W&&W.C;W=W.J)W.C=!1;if(Y.W)Y.W.J=null,TBF(Y,k,P);else try{Y.T?Y.J.call(Y.context):TBF(Y,k,P)}catch(T){uZ1.call(null,T)}k3v(N0V,Y)};\nah5=function(W,Y,k,P,T,I,X,h,B){P.every(function(u){return kJ(u,[],[\"LAYOUT_TYPE_MEDIA\"])})||EF(\"Unexpect subLayout type for DAI composite layout\");\nY=yN(W.K.get(),\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",Y);var O={layoutId:Y,layoutType:\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",fg:\"core\"};return{layoutId:Y,layoutType:\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",W7:new Map,layoutExitNormalTriggers:[new Dh(W.W)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:new i_([new $R(k),new kR(h),new af(P),new yI(T),new PG(I),new QI({}),new Ti(B)]),XA:X(O)}};\nWGq=function(W){W.X||(W.X=!0,g.Vf(W.V_,W))};\nWZ=function(W){this.W=W};\nYaz=function(W,Y,k,P){W.timing.FS((0,g.lj)(),Y,k);Y=W.ob;Y.J=0;Y.C=0;Y.G=0;jI(LY(W));P&&(P=LY(W),P.J+=1);if((P=W.Dx)!=null&&(W=W.SL.b5,!((0,g.lj)()=0&&Y>16,(W&65280)>>8,W&255];W=Y[0];var k=Y[1];Y=Y[2];W=Number(W);k=Number(k);Y=Number(Y);if(W!=(W&255)||k!=(k&255)||Y!=(Y&255))throw Error('\"('+W+\",\"+k+\",\"+Y+'\") is not a valid RGB color');k=W<<16|k<<8|Y;return W<16?\"#\"+(16777216|k).toString(16).slice(1):\"#\"+k.toString(16)};\n$gd=function(W){var Y=FX();switch(Y){case 1:wZ.h5vcc.traceEvent.traceEnd(\"YTLR\",W);break;case 2:Y=W+\"-start\";var k=W+\"-end\";wZ.performance.mark(k);wZ.performance.measure(W,Y,k);break;case 0:break;default:QL(Y,\"unknown trace type\")}};\nkp6=function(W,Y){var k=Y.totalLength,P=!1;switch(W.J){case 0:W.pw(Y,W.T).then(function(T){var I=W.q6;I.VU(\"oprr\");I.playerResponse=T;I.Te||(I.MX=!1);SI(I)},function(T){W.q6.fail(T)});\nbreak;case 2:W.VU(\"ormk\");Y=YE(Y);W.queue.decrypt(Y);break;default:P=!0}W.q6.qv&&W.q6.y5(\"ombup\",\"id.11;pt.\"+W.J+\";len.\"+k+(P?\";ignored.1\":\"\"));W.J=null};\nP9=function(W){return W.lz===\"MAC3\"||W.lz===\"MEAC3\"||W.lz===\"M\"||W.lz===\"I\"};\nPS5=function(W){var Y=new Set,k=new Map,P={};W=g.e(W);for(var T=W.next();!T.done;T=W.next()){T=T.value;var I=T.quality,X=T.isPlayable,h=T.qualityLabel;h&&I&&(X&&k.has(I)&&k.get(I)!==h?Y.add(I):X&&k.set(I,h),P[h]||(P[h]=T))}k=[];P=g.e(Object.values(P));for(W=P.next();!W.done;W=P.next())T=W.value,(W=T.quality)&&!Y.has(W)&&(T.formatId=void 0),k.push(T);return k};\nhk=function(W,Y){this.breakDurationMs=W;this.triggerType=\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\";this.triggerId=Y||\"\"};\nTmv=function(W,Y){var k=Nq(W,function(P,T){return T.video.fps>32?Math.min(P,T.video.width):P},Infinity);\nk32||P.video.width1&&P?(W=Z10(W.zJ.C,Y.W.videoInfos,k),new xn(0,W,!0,\"o\")):new xn(0,0,!1,\"o\")};\nHG=function(W){W=W.h5;return Uy(W,W[a_]|0,i1q)};\ntPz=function(W){if(g.dS(\"enable_web_tiered_gel\")){W=MP2[W||\"\"];var Y,k,P,T=jj().resolve(IF(X9))==null?void 0:(Y=uP())==null?void 0:(k=Y.loggingHotConfig)==null?void 0:(P=k.eventLoggingConfig)==null?void 0:P.payloadPolicies;if(T)for(Y=0;YT&&YT&&k0&&P_(W.X(),I)};\nraz=function(W,Y){W.W=Y};\nvo0=function(W){for(var Y=W.K.pop(),k=W.K.pop(),P=W.pos-k-Y;Y--;){var T=Y?128:0;W.view.setUint8(k++,P&127|T);P>>=7}};\nUM=function(W){return new lW(W.substring(0,2),W.substring(2))};\nJk=function(W,Y){if(Y.Xr()||W.Xr())W.policy.n8||(W.policy.C?$m(W.loader):W.loader.u7());else{if(W.policy.J&&Y.isComplete()&&Y instanceof s$){var k=W.loader,P=k.y5,T,I,X=Object.assign(Y.Wz.iW(),{rst:Y.state,strm:Y.xhr.ZU(),d:(T=Y.Wz.TJ)==null?void 0:T.WK(),cncl:Y.xhr&&Y.Yq.C?1:0,rqb:Y.rB,cwt:Y.Yq.J,swt:(I=Y.GP)==null?void 0:I.B2});T=Object.assign(Aa5(Y.info),X);P.call(k,\"rqs\",T)}if(Y.isComplete()&&Y.Zw()&&Y instanceof s$)W.policy.xq?Y.UH()?(Y.dispose(),W.W.length===0?W.loader.u7():(W=W.W[0],W instanceof\ns$&&W.td()&&W.B9())):Y.x4()&&W.loader.handleError(Y.NI(),Y.B3()):(Y.dispose(),W.loader.u7());else{if(Y.uj())Y instanceof s$&&Ph0(W.timing,Y),zN1(W),wD(W);else if(Y.x4())k=W.W6.sG(),Y instanceof s$&&NB7(Y.info)&&k&&W.loader.Ed(k),Y instanceof Vg?W.W.pop():(k=1,Y.canRetry()&&dg2(W.loader)&&(mg7(W,Y),k=0),W.loader.handleError(Y.NI(),Y.B3(),k));else{if(W.loader.isSuspended&&!Y.isComplete())return;wD(W)}Y.Xr()||Y instanceof Vg||(Y.isComplete()?k=XQF(Y,W.policy,W.C):(k=$HC(Y,W.policy,W.C),k===1&&(W.Q5=\n!0)),k!==0&&(P=new we(1,Y.info.ob),P.W4=k===2,Dgd(W,P)));W.policy.tT&&!Y.isComplete()?hP(W.loader):W.loader.u7()}}};\nfl=function(W,Y){if(Y){Lb=Y==null||Y===cv||Y[gkS]!==FGF?cv:Y;try{return HG(W)}finally{Lb=void 0}}return HG(W)};\ng.rL=function(W){var Y=W.api.U6()?32:16;Y=W.G/2+Y;W.next.element.style.bottom=Y+\"px\";W.previous.element.style.bottom=Y+\"px\";Y=W.scrollPosition;var k=W.containerWidth-W.suggestionData.length*(W.T+8);g.ML(W.element,\"ytp-scroll-min\",Y>=0);g.ML(W.element,\"ytp-scroll-max\",Y<=k)};\njM=function(W,Y,k){this.IV=W;this.xx=Y;W=Eh(wW0);this.W=!!W&&k===W||!1};\nl0=function(W){return W.pos>=W.W.byteLength};\nQNd=function(W,Y,k){W=g.e(W.K);for(var P=W.next();!P.done;P=W.next())P.value.Cu(Y,k)};\nHxv=function(W){var Y=h$(\"_start\",W),k=RWv(W),P=!ya0;Y&&k&&P&&(GT(eNC,new ok5(Math.round(k-Y),W)),ya0=!0)};\nt_=function(W,Y){g.D.call(this);var k=this;this.policy=W;this.EP=Y;this.K=0;this.W=null;this.bD=[];this.J=null;this.zW={rU:function(){return k.EP}};\nthis.EP.length===1||g.z3(this.EP,function(P){return!!P.range})};\nUZd=function(W){var Y,k,P,T;return!!((Y=W.KN)==null?0:(k=Y.title)==null?0:k.content)||!!((P=W.KN)==null?0:(T=P.bodyText)==null?0:T.content)};\nCS0=function(W){for(var Y=g.e(Object.values(vk2)),k=Y.next();!k.done;k=Y.next())if(g.Zu(k.value)===W)return!0;return!1};\noQ5=function(W){return new SD(Object.assign({},W,{rX:function(Y){W.RI.get().ou(\"onAdIntroStateChange\",Y)}}))};\ng.LGX=function(W,Y,k){Y=Y===void 0?{}:Y;k=k===void 0?!1:k;var P=g.o_(\"EVENT_ID\");P&&(Y.ei||(Y.ei=P));Y&&Bj(W,Y);k||(Oq(W),g.IQX(W))};\nxt=function(W,Y){W=g.e(W.W.values());for(var k=W.next();!k.done;k=W.next()){k=g.e(k.value);for(var P=k.next();!P.done;P=k.next())if(P=P.value,P.layoutId===Y)return P}EF(\"Trying to retrieve an unknown layout\",void 0,void 0,{isEmpty:String(g.Xi(Y)),layoutId:Y})};\ng.fV=function(W,Y){if(!Ug5){var k=jj();gz(k,{R0:lPd,Uu:P6});var P={iI:{feedbackEndpoint:rc(Ak),modifyChannelNotificationPreferenceEndpoint:rc(zi),playlistEditEndpoint:rc(Eq),shareEntityEndpoint:rc(RL),subscribeEndpoint:rc(dc),unsubscribeEndpoint:rc(jd),webPlayerShareEntityServiceEndpoint:rc(mJ)}},T=Ot.getInstance(),I={};T&&(I.client_location=T);W===void 0&&(W=b11());Y===void 0&&(Y=k.resolve(lPd));caC(P,Y,W,I);gz(k,{R0:xgd,jE:BR.instance});Ug5=k.resolve(xgd)}return Ug5};\nfPS=function(W){var Y,k;return g.v(function(P){if(P.W==1)return g.L(P,Qn7(W),2);k=Y=P.K;return P.return(k)})};\ng.Fh=function(W,Y){var k=g.DC();Y!==k[W]&&(Y!==0?k[W]=Y:delete k[W],g.VvC(k))};\n$u=function(W){W.loader&&(W.loader.dispose(),W.loader=null,ve(W.O1,null));W.Jf()?xlS(W):W.Fo()};\nPq7=function(W,Y){W.showShareButton=!!Y;var k,P,T=((k=g.R(Y,g.FM))==null?void 0:k.navigationEndpoint)||((P=g.R(Y,g.FM))==null?void 0:P.command);T&&(W.l4=!!g.R(T,VPz))};\naXd=function(W){W.fN.style.removeProperty(\"height\");for(var Y=g.e(Object.keys(W.GJ)),k=Y.next();!k.done;k=Y.next())x62(W,k.value);k1(W);u7(W,W.A5,W.A9)};\nNmC=function(W,Y){for(var k=[],P=g.e(W.Ym.values()),T=P.next();!T.done;T=P.next())T=T.value,T.trigger instanceof In&&T.trigger.slotId===Y&&k.push(T);k.length>=1&&P_(W.W(),k)};\nGyC=function(W){aPq(function(){for(var Y=g.e(Object.keys(Up)),k=Y.next();!k.done;k=Y.next())LZ(W,Up[k.value])})};\nQs=function(W,Y,k,P){wc.call(this,W,Y,k,P,[],\"ad-mute-confirm-dialog\")};\nzM=function(W){return!!W.u8&&!!W.u8.postId&&W.api.getPresentingPlayerType()!==2&&(!W.u8.type||W.u8.type===\"clips\")};\nY76=function(W,Y,k){var P=Wx7();(k=g.Zu(k))&&delete P[k];Y&&(P[W]=Y)};\n$ez=function(){this.W=1;this.K=new L5};\nRO=function(W,Y){this.W=W;this.depth=Y};\njcq=function(W,Y,k){var P=W.videoData.K,T=W.videoData.T,I=W.pg.U(\"html5_disable_codec_fallback_for_drm\")&&W.videoData.t$();Dq(W.W6.getVideoData())&&W.pg.U(\"html5_gapless_fallback_on_qoe_restart\")&&rUF(W.W6,\"pe\");if((Y===\"progressive.net.retryexhausted\"||Y===\"fmt.unplayable\"||Y===\"fmt.decode\")&&!W.W6.vl.C&&P&&P.itag===\"22\")return W.W6.vl.C=!0,W.Pz(\"qoe.restart\",{reason:\"fmt.unplayable.22\"}),W.W6.V0(),!0;var X=!1;if(W.videoData.isExternallyHostedPodcast){if(X=W.videoData.dIz)k.mimeType=X.type,W.y5(\"3pp\",\n{url:X.url});k.ns=\"3pp\";W.W6.SW(Y,1,\"VIDEO_UNAVAILABLE\",l4((new g.LT(Y,k,1)).details));return!0}var h=W.sS+3E4<(0,g.lj)()||W.W.isActive();if(W.pg.U(\"html5_empty_src\")&&W.videoData.isAd()&&Y===\"fmt.unplayable\"&&/Empty src/.test(\"\"+k.msg))return k.origin=\"emptysrc\",W.Pz(\"auth\",k),!0;h||kCF(W.W6.qz())||(k.nonfg=\"paused\",h=!0,W.W6.pauseVideo());(Y===\"fmt.decode\"||Y===\"fmt.unplayable\")&&(T==null?0:IN(T)||P9(T))&&(PWX(W.pg.C,T.lz),k.acfallexp=T.lz,X=h=!0);!h&&W.J>0&&(W.W.start(),h=!0,k.delayed=\"1\",--W.J);\nT=W.W6.loader;h||!((P==null?0:jQ(P))||(P==null?0:b_(P)))||I||(PWX(W.pg.C,P.lz),X=h=!0,k.cfallexp=P.lz);if(!h)return Toq(W,k);I=!1;W.C?W.sS=(0,g.lj)():I=W.C=!0;h=W.videoData;if(h.rD){h=h.rD.MU();var B=Date.now()/1E3+1800;h=h=240&&!P.isAd()&&P.rV&&!T&&!P.zr&&!W.Y.isEmbedsShortsMode()&&!I};\nimv=function(W){if(!W.Xr())if(W.zJ.U(\"html5_drm_set_server_cert\")||Y8(W.W)){var Y=W.T.setServerCertificate();Y?Y.then(If(function(k){W.zJ.OR()&&W.publish(\"ctmp\",\"ssc\",{success:k})}),If(function(k){W.publish(\"ctmp\",\"ssce\",{n:k.name,\nm:k.message})})).then(If(function(){GR(W)})):GR(W)}else GR(W)};\nMbz=function(W,Y){return new g.Mm(W,Y,{namespace:\"timedMarkerCueRange\",priority:9,id:\"tm_\"+W})};\nym6=function(W,Y){$w(W,Y,2);Y=W.W.end();ni(W,Y);Y.push(W.K);return Y};\ntbd=function(W,Y){for(var k;;){if(W.B7<262){w5(W);if(W.B7<262&&Y===0)return 1;if(W.B7===0)break}k=0;W.B7>=3&&(W.Rk=(W.Rk<=3)if(k=md(W,W.Sr-W.BS,W.Td-3),W.B7-=W.Td,W.Td<=W.Pe&&W.B7>=3){W.Td--;do W.Sr++,W.Rk=(W.Rk<q?new l(\"AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.\",{offsetStartMs:P,offsetEndMs:q},\"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START\",q===k&&P-500<=q):new VX(P,q),W=k instanceof l?k:new z9(cG,Y,k,!1,W.id)):W=new l(\"Not able to create MediaTimeRangeTrigger\")}else if(W.contentVideoIdEndedTrigger)W=W.contentVideoIdEndedTrigger?new eK(cG,Y,!1,W.id):new l(\"Not able to create ContentVideoIdEndedTrigger\");\nelse{if(W.layoutIdEnteredTrigger){var G;Y=(G=W.layoutIdEnteredTrigger)!=null&&G.triggeringLayoutId?new A7(cG,W.layoutIdEnteredTrigger.triggeringLayoutId,W.id):new l(\"Not able to create LayoutIdEnteredTrigger\")}else if(W.timeRelativeToLayoutEnterTrigger){var E;Y=(E=W.timeRelativeToLayoutEnterTrigger)!=null&&E.triggeringLayoutId?new xR(cG,Number(W.timeRelativeToLayoutEnterTrigger.durationMs),W.timeRelativeToLayoutEnterTrigger.triggeringLayoutId,W.id):new l(\"Not able to create TimeRelativeToLayoutEnterTrigger\")}else if(W.onDifferentLayoutIdEnteredTrigger){var z;\nY=(z=W.onDifferentLayoutIdEnteredTrigger)!=null&&z.triggeringLayoutId&&W.onDifferentLayoutIdEnteredTrigger.slotType&&W.onDifferentLayoutIdEnteredTrigger.layoutType?new bZ(cG,W.onDifferentLayoutIdEnteredTrigger.triggeringLayoutId,W.onDifferentLayoutIdEnteredTrigger.slotType,W.onDifferentLayoutIdEnteredTrigger.layoutType,W.id):new l(\"Not able to create CloseRequestedTrigger\")}else{if(W.liveStreamBreakStartedTrigger)W=W.liveStreamBreakStartedTrigger&&W.id?new zC2(cG,W.id):new l(\"Not able to create LiveStreamBreakStartedTrigger\");\nelse if(W.liveStreamBreakEndedTrigger)W=W.liveStreamBreakEndedTrigger&&W.id?new Dh(cG,W.id):new l(\"Not able to create LiveStreamBreakEndedTrigger\");else{if(W.liveStreamBreakScheduledDurationMatchedTrigger){var A;Y=(A=W.liveStreamBreakScheduledDurationMatchedTrigger)!=null&&A.breakDurationMs?new Rc(Number(W.liveStreamBreakScheduledDurationMatchedTrigger.breakDurationMs||\"0\")||0,W.id):new l(\"Not able to create LiveStreamBreakScheduledDurationMatchedTrigger\")}else if(W.liveStreamBreakScheduledDurationNotMatchedTrigger){var F;\nY=(F=W.liveStreamBreakScheduledDurationNotMatchedTrigger)!=null&&F.breakDurationMs?new hk(Number(W.liveStreamBreakScheduledDurationNotMatchedTrigger.breakDurationMs||\"0\")||0,W.id):new l(\"Not able to create LiveStreamBreakScheduledDurationNotMatchedTrigger\")}else if(W.newSlotScheduledWithBreakDurationTrigger){var y;Y=(y=W.newSlotScheduledWithBreakDurationTrigger)!=null&&y.breakDurationMs?new Eb(Number(W.newSlotScheduledWithBreakDurationTrigger.breakDurationMs||\"0\")||0,W.id):new l(\"Not able to create NewSlotScheduledWithBreakDurationTrigger\")}else Y=\nW.prefetchCacheExpiredTrigger?new AW(cG,W.id):new l(\"Not able to convert an AdsControlflowTrigger.\");W=Y}Y=W}W=Y}Y=W}W=Y}Y=W}W=Y}Y=W}W=Y}Y=W}W=Y}return W};\ndeF=function(){return{S:\"svg\",D:{fill:\"none\",height:\"36\",viewBox:\"0 0 36 36\",width:\"36\"},B:[{S:\"path\",D:{d:\"M 18 6 L 9 6 C 8.20 6 7.44 6.31 6.87 6.87 C 6.31 7.44 6 8.20 6 9 L 6 27 C 6 27.79 6.31 28.55 6.87 29.12 C 7.44 29.68 8.20 30 9 30 L 18 30 C 18 30 18 30 18 30 C 18 30 18 30 18 30 L 18 6 C 18 30 18 30 18 30 C 18 30 18 30 18 30 Z M 27 6 L 18 6 C 18 6 18 6 18 6 C 18 6 18 6 18 6 V 30 C 18 30 18 30 18 30 C 18 30 18 30 18 30 L 27 30 C 27.79 30 28.55 29.68 29.12 29.12 C 29.68 28.55 30 27.79 30 27 V 9 L 30 9 C 30 8.20 29.68 7.44 29.12 6.87 C 28.55 6.31 27.79 6 27 6 Z\",\nfill:\"white\"}}]}};\ng.mez=function(W,Y){W%=Y;return W*Y<0?W+Y:W};\nwlS=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q,G,E,z){var A=new r3({current:null}),F=ga5(T,h,B);if(F instanceof l)return F;B=[];for(var y=[],U=void 0,V=0;V=I.C&&P<=I.X){P=!0;break a}P=!1}P=!P}if(P)return W.y5(\"ostmf\",{ct:W.getCurrentTime(),a:Y.W.info.xH()}),!1;(W=W.wD)!=null&&(W.jj.get(k).Uc=!0);return!0};\nI7=function(W,Y){if(g.fI(W.J,Y))return W.J[Y];if(W=W.W[Y])return W.getValue()};\nvtd=function(W,Y){W.X.push(Y);g.m(W,Y);Y.S1(W.PU,W.PU.children.length)};\nBA=function(W,Y){if(!(W instanceof Y))throw Error(\"Expected instanceof \"+CWq(Y)+\" but got \"+(W&&CWq(W.constructor)));return W};\nrZ7=function(W,Y){W!=null?BA(W,Y):W=void 0;return W};\npyC=function(W,Y,k,P){if(W.T){var T=Lx6[Y];Ue0(W,W.T+T,function(){W.J.add(T);k.call(W)},P)}};\nkV=function(W){return W.gD?W.gD-(W.L||W.timestampOffset):0};\nlsC=function(W,Y){var k,P;Fr(W.sP.get(),\"ads_imp\",\"cpn.\"+kW(W.layout.clientMetadata,\"metadata_type_content_cpn\")+\";acpn.\"+((k=DS(W.qq.get(),2))==null?void 0:k.clientPlaybackNonce)+\";clr.\"+Y+\";skp.\"+!!g.R((P=kW(W.layout.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"))==null?void 0:P.skipOrPreviewRenderer,P5))};\nGcd=function(W,Y,k,P,T){this.K=T;this.W=W||0;this.pitch=Y||0;this.yaw=k||0;this.roll=P||0;this.crc=T.getUint32(4)};\nbm7=function(){this.startTimeMs=(0,g.lj)();this.W=!1};\ncMX=function(W,Y){return W.Y.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21.20 3.01C21.66 3.05 22.08 3.26 22.41 3.58C22.73 3.91 22.94 4.33 22.98 4.79L23 5V19C23.00 19.49 22.81 19.97 22.48 20.34C22.15 20.70 21.69 20.93 21.20 20.99L21 21H3L2.79 20.99C2.30 20.93 1.84 20.70 1.51 20.34C1.18 19.97 .99 19.49 1 19V13H3V19H21V5H11V3H21L21.20 3.01ZM1.29 3.29C1.10 3.48 1.00 3.73 1.00 4C1.00 4.26 1.10 4.51 1.29 4.70L5.58 9H3C2.73 9 2.48 9.10 2.29 9.29C2.10 9.48 2 9.73 2 10C2 10.26 2.10 10.51 2.29 10.70C2.48 10.89 2.73 11 3 11H9V5C9 4.73 8.89 4.48 8.70 4.29C8.51 4.10 8.26 4 8 4C7.73 4 7.48 4.10 7.29 4.29C7.10 4.48 7 4.73 7 5V7.58L2.70 3.29C2.51 3.10 2.26 3.00 2 3.00C1.73 3.00 1.48 3.10 1.29 3.29ZM19.10 11.00L19 11H12L11.89 11.00C11.66 11.02 11.45 11.13 11.29 11.29C11.13 11.45 11.02 11.66 11.00 11.89L11 12V17C10.99 17.24 11.09 17.48 11.25 17.67C11.42 17.85 11.65 17.96 11.89 17.99L12 18H19L19.10 17.99C19.34 17.96 19.57 17.85 19.74 17.67C19.90 17.48 20.00 17.24 20 17V12L19.99 11.89C19.97 11.66 19.87 11.45 19.70 11.29C19.54 11.13 19.33 11.02 19.10 11.00ZM13 16V13H18V16H13Z\",\nfill:\"white\"}}]}:Y?{S:\"svg\",D:{fill:\"#fff\",height:\"100%\",version:\"1.1\",viewBox:\"0 -960 960 960\",width:\"100%\"},B:[{S:\"g\",D:{transform:\"translate(96, -96) scale(0.8)\"},B:[{S:\"path\",yU:!0,D:{d:\"M96-480v-72h165L71-743l50-50 191 190v-165h72v288H96Zm72 288q-29.7 0-50.85-21.15Q96-234.3 96-264v-144h72v144h336v72H168Zm624-264v-240H456v-72h336q29.7 0 50.85 21.15Q864-725.7 864-696v240h-72ZM576-192v-192h288v192H576Z\"}}]}]}:c0()};\nfs2=function(W){var Y=xev(W);if(Y.binP)return Y.binP;Y.binP=Promise.resolve().then(function(){return fetch(W)}).then(function(k){if(!k.ok)throw Error(\"HTTP\"+k.statusText);\nreturn k.arrayBuffer()});\nY.binP.then(function(k){Y.bin=k},function(){tKS(W)});\nreturn Y.binP};\nVb7=function(W){if(W.requestFullscreen)W=W.requestFullscreen(void 0);else if(W.webkitRequestFullscreen)W=W.webkitRequestFullscreen();else if(W.mozRequestFullScreen)W=W.mozRequestFullScreen();else if(W.msRequestFullscreen)W=W.msRequestFullscreen();else if(W.webkitEnterFullscreen)W=W.webkitEnterFullscreen();else return Promise.reject(Error(\"Fullscreen API unavailable\"));return W instanceof Promise?W:Promise.resolve()};\nasd=function(W){g.D.call(this);this.W=W;this.dl=Nod(this)};\ng.Wo7=function(){this.count=0;this.W=1;this.K=!1;this.offsets=new Float64Array(128);this.startTicks=new Float64Array(128)};\nYy6=function(W,Y,k){if(!W.isSeeking())return-1;k=(k?W.videoTrack:W.audioTrack).W.index;var P=k.o7(W.targetTime);return(k.di(W.H6.UU)||Y.t5===W.H6.UU)&&P0)return 2;if(Y<0)return 1;k=W.QU();return Y0&&(T.W=Math.min(T.W+X,10),T.K=I);T.W>0?(T.W--,T=!0):T=!1;if(T)typeof P===\"function\"&&(P=P()),console.log(\"plyr.\"+Y,P);else{var h;P=((h=Syv.get(Y))!=null?h:0)+1;Syv.set(Y,P);P%100===1&&console.warn(\"plyr\",\"plyr.\"+Y+\" is chatty, dropping logs.\")}}};\nTh=function(W){this.W=this.K=0;this.alpha=Math.exp(Math.log(.5)/W)};\nBf5=function(W){return(W=hh1&&hh1.exec(W))?W[0]:\"\"};\njG=function(W){W.W&&W.N===-1&&(W.N=W.W.subscribe(\"h\",W.RS,W),W.Fr=W.W.subscribe(\"g\",W.Vy,W),W.RS())};\nIe=function(){this.mappings=new sIS};\ng.ObX=function(W){switch(W.data[\"Is-Ad-Break-Finished\"]){case \"true\":return 1;case \"false\":return 2;default:return 0}};\na3=function(W){if(typeof W===\"function\")return W;W[ucd]||(W[ucd]=function(Y){return W.handleEvent(Y)});\nreturn W[ucd]};\nkc7=function(W){var Y=0,k;for(k in W.W){var P=W.W[k];if(P==1||P==2)Y+=W.K[k][1]}return Y};\nZb7=function(W){if(W.W==null)W.callback.Gt(W.slot);else try{W.W.cancel(),W.W=null,W.callback.Gt(W.slot)}catch(Y){W.W=null,uN(W.callback,W.slot,new l(Y,void 0,\"ADS_CLIENT_ERROR_MESSAGE_CANCEL_SLOT_FULFILLMENT_FAILURE\"),\"ADS_CLIENT_ERROR_TYPE_CANCEL_FULFILL_SLOT_FAILED\")}};\ni4=function(W,Y,k){return(k<0||k===W.X)&&!isNaN(W.G)?W.G:Y};\nXC=function(W){return function(){return OQd[W].apply(this,arguments)}};\nPQ=function(W,Y,k,P){P!=null||(P=!!(34&Y));W=Uy(W,Y,ie6,P);P=32;k&&(P|=2);Y=Y&8380609|P;XX(W,Y);return W};\nwt=function(W,Y,k){k=k===void 0?0:k;W=EM(Yn(W,Y));return W!=null?W:k};\nTb=function(W,Y){if(Ns(W.P6.get())){var k=W.K.get(Y)||0;k++;W.K.set(Y,k);return Y+\"_\"+k}return g.BV(16)};\nG5=function(W){g.D.call(this);var Y=this;this.options=W;this.X=new g.sU;this.uR=this.X.promise;this.C=new g.sU;this.L=1;this.J=new g.sU;this.T=[];this.Hy=W.Hy||function(){};\nthis.logger=new ibz(zfq(W.N4||{}));l5z(this,W.TB,W.IzJ,W.Xw1,W.rg1,Object.assign({},M$d,W.QV||{}));this.addOnDisposeCallback(function(){return void Q2q(Y)})};\nB1=function(W,Y){for(var k=QR(W,0,Y);k;){var P=k;P.type=1936419184;P.data.setUint32(P.offset+4,1936419184);k=QR(W,k.offset+k.size,Y)}};\nt$1=function(W,Y,k){var P=W.Q5||W.app.D2().getPlayerState();SG(W,!0);W.playback.seekTo(Y,k);W=W.app.D2();Y=W.getPlayerState();P.isOrWillBePlaying()&&!Y.isOrWillBePlaying()?W.playVideo():P.isPaused()&&!Y.isPaused()&&W.pauseVideo()};\ng.O7=function(){};\nRhS=function(W,Y){if(dk(W.W,Y)){Dw(W.W,Y).X=!1;var k=P_;Y=Dw(W.W,Y);var P=[].concat(g.cp(Y.L));qy0(Y.L);k(W,P)}};\nhO=function(W,Y,k,P,T,I){g.D.call(this);var X=this;this.X=W;this.Va=Y;this.Cg=k;this.sP=P;this.QC=I;this.W=null;this.T=!1;this.ey=!0;this.Ym=new Map;Y.get().addListener(this);this.addOnDisposeCallback(function(){Y.Xr()||Y.get().removeListener(X)});\nT.get().addListener(this);this.addOnDisposeCallback(function(){T.Xr()||T.get().removeListener(X)})};\nnbF=function(W){function Y(){return W.charCodeAt(P++)}\nvar k=W.length,P=0;do{var T=HbV(Y);if(T===Infinity)break;var I=T>>3;switch(T&7){case 0:T=HbV(Y);if(I===2)return T;break;case 1:if(I===2)return;P+=8;break;case 2:T=HbV(Y);if(I===2)return W.substr(P,T);P+=T;break;case 5:if(I===2)return;P+=4;break;default:return}}while(Pk.height?B>u?(P=B,T=O):(P=u,T=Z):B>=Y};\nH5F=function(W,Y){var k=document.body||document;return g.dP(k,\"click\",function(P){var T=yC(P.target,function(I){return I===k||Y(I)},!0);\nT&&T!==k&&!T.disabled&&(P.currentTarget=T,W.call(T,P))})};\nmv=function(W){g.c.call(this,{S:\"div\",Ya:[\"ytp-player-content\",\"ytp-iv-player-content\"],B:[{S:\"div\",j:\"ytp-free-preview-countdown-timer\",B:[{S:\"span\",v6:\"{{label}}\"},{S:\"span\",j:\"ytp-free-preview-countdown-timer-separator\",v6:\"\\u2022\"},{S:\"span\",v6:\"{{duration}}\"}]}]});this.api=W;this.W=null;this.J=this.K=0;this.Z(this.api,\"videodatachange\",this.onVideoDataChange);this.api.createClientVe(this.element,this,191284)};\nPaF=function(W,Y,k){return k.triggeringSlotId!=null&&k.triggeringSlotId===W?k.clone(Y):k};\nbWd=function(W,Y){Y<100||Uz(Tzv,1)};\njOq=function(W){if(g.MK(W.info.W.info))B1(g.tB(W),1836019574),B1(g.tB(W),1718909296);else{var Y=new qK(g.tB(W));RPq(Y);NR(Y,524531317,!0);W.K=W.K.split(Y.start+Y.pos).LL}W.C=!1};\nVv=function(W,Y,k){$a(W,W[a_]|0,Y,k,uq(W[a_]|0))};\nI2d=function(){g.c.call(this,{S:\"div\",j:\"ytp-fine-scrubbing-thumbnail\"})};\no0=function(W,Y,k){if(!W.done&&(W.K.cancel(),Y.length!=0)){W.J=null;try{OM0();var P=S9();fZ().C=P;if(dU(mj).W!=null)for(var T=0;T=2)return null;var T=new DataView(Y.buffer,Y.byteOffset,Y.length),I=g.Ke(T,0,1937011556);if(!I)return null;Y=T.getUint32(I.dataOffset+8);P=T.getUint32(I.dataOffset+12);if(P!==1701733217&&P!==1701733238)return null;P=new p_v(W.byteLength+Y);$L(P,W,0,k.offset+12);P.data.setInt32(P.offset,2);P.offset+=4;$L(P,W,k.offset+16,k.size-16);$L(P,T,T.byteOffset+I.dataOffset+8,Y);$L(P,W,k.offset+k.size,W.byteLength-\n(k.offset+k.size));k=g.e([1836019574,1953653099,1835297121,1835626086,1937007212,1937011556]);for(T=k.next();!T.done;T=k.next())T=g.Ke(W,0,T.value),P.data.setUint32(T.offset,T.size+Y);W=g.Ke(P.data,0,1953654136);P.data.setUint32(W.offset+16,2);return P.data};\nKzd=function(W,Y){if(W.j1&&W.j1.K){if(W.policy.Ct){var k=Erq(W.audioTrack);if(k&&k.xH()){var P=W.W6;if(P.KF&&(P.KF.W=k,k=P.FA,k.qoe)){k=k.qoe;P=P.KF;var T=g.Jj(k.provider);Cd0(k,T,P)}}}W.policy.gm&&(k=Erq(W.videoTrack))&&k.qa()&&(P=W.W6,P.Fq&&(P.Fq.W=k,k=P.FA,k.qoe&&C9F(k.qoe,P.Fq)));Y-=isNaN(W.timestampOffset)?0:W.timestampOffset;W.getCurrentTime()!==Y&&W.resume();W.qx.isSeeking()&&W.j1&&!W.j1.Lu()&&(P=W.getCurrentTime()<=Y&&Y2048?\"\":Y.indexOf(\"https://\")===0?Y:\"\"};\nbrS=function(){var W=fZ().J,Y=Nv>=0?S9()-Nv:-1,k=QO?S9()-yO:-1,P=yk>=0?S9()-yk:-1;if(W==947190542)return 100;if(W==79463069)return 200;W=[2E3,4E3];var T=[250,500,1E3];zH(637,Error(),.001);var I=Y;k!=-1&&k1500&&P<4E3?500:X};\nIr=function(W,Y,k,P,T,I){CC.call(this,W,{S:\"div\",j:\"ytp-ad-player-overlay\",B:[{S:\"div\",j:\"ytp-ad-player-overlay-flyout-cta\"},{S:\"div\",j:\"ytp-ad-player-overlay-instream-info\"},{S:\"div\",j:\"ytp-ad-player-overlay-skip-or-preview\"},{S:\"div\",j:\"ytp-ad-player-overlay-progress-bar\"},{S:\"div\",j:\"ytp-ad-player-overlay-instream-user-sentiment\"},{S:\"div\",j:\"ytp-ad-player-overlay-ad-disclosure-banner\"}]},\"player-overlay\",Y,k,P);this.N=I;this.C=this.J5(\"ytp-ad-player-overlay-flyout-cta\");this.C.classList.add(\"ytp-ad-player-overlay-flyout-cta-rounded\");\nthis.W=this.J5(\"ytp-ad-player-overlay-instream-info\");this.T=null;ctd(this)&&(W=na(\"div\"),g.N6(W,\"ytp-ad-player-overlay-top-bar-gradients\"),Y=this.W,Y.parentNode&&Y.parentNode.insertBefore(W,Y),(Y=this.api.getVideoData(2))&&Y.isListed&&Y.title&&(k=new xNC(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),k.S1(W),k.init(R1(\"ad-title\"),{text:Y.title},this.macros),g.m(this,k)),this.T=W);this.J=null;this.Fr=this.J5(\"ytp-ad-player-overlay-skip-or-preview\");this.UP=this.J5(\"ytp-ad-player-overlay-progress-bar\");\nthis.TJ=this.J5(\"ytp-ad-player-overlay-instream-user-sentiment\");this.Kg=this.J5(\"ytp-ad-player-overlay-ad-disclosure-banner\");this.K=T;g.m(this,this.K);this.hide()};\nf20=function(W){switch(W){case 0:return\"OK\";case 1:return\"CANCELLED\";case 2:return\"UNKNOWN\";case 3:return\"INVALID_ARGUMENT\";case 4:return\"DEADLINE_EXCEEDED\";case 5:return\"NOT_FOUND\";case 6:return\"ALREADY_EXISTS\";case 7:return\"PERMISSION_DENIED\";case 16:return\"UNAUTHENTICATED\";case 8:return\"RESOURCE_EXHAUSTED\";case 9:return\"FAILED_PRECONDITION\";case 10:return\"ABORTED\";case 11:return\"OUT_OF_RANGE\";case 12:return\"UNIMPLEMENTED\";case 13:return\"INTERNAL\";case 14:return\"UNAVAILABLE\";case 15:return\"DATA_LOSS\";\ndefault:return\"\"}};\nNzv=function(W){try{var Y=VqS(W,!0),k=VqS(W,!1);return{id:Y,size:k}}catch(P){return{id:-1,size:-1}}};\na25=function(W,Y,k){g.D.call(this);this.policy=W;this.K=Y;this.GW=k;this.wD=this.GJ=0;this.Kg=-1;this.gD=this.C=0;this.A5=!1;this.interruptions=[];this.T=[{stamp:0,net:0,max:0}];this.UP=this.X=(0,g.lj)();this.L=new Xm(4,1,.6,.4);this.TJ=new Xm(4,1,.6,.4);this.G=new Xm(20,1,.5,.4);W.Kg?this.J=new CS(W.W):W.K?this.J=new Th(W.W):this.J=new Xm(W.W,20,.5,.4);this.OP=new Xm(5,1,.25);this.N=new Xm(30,1,.5);W=g.GK(\"yt-player-bandwidth\")||{};Y=this.policy.J;if(W.byterate>0)Y=W.byterate,this.A5=!0;else{var P;\nk=(((P=navigator.connection)==null?void 0:P.downlink)||0)*64*1024;k>0&&(Y=k,this.A5=!0)}this.J.NL(this.policy.X,Y);W.delay>0&&this.L.NL(1,Math.min(W.delay,2));W.stall>0&&this.G.NL(1,W.stall);W.init>0&&(this.UP=Math.min(W.init,this.UP));W.interruptions&&(this.T=this.T.concat(W.interruptions),this.T.length>16&&this.T.pop());this.Kg=(0,g.lj)();this.policy.G>0&&(this.Fr=new g.fC(this.V5,this.policy.G,this),g.m(this,this.Fr),this.Fr.start())};\nWMd=function(W){var Y,k=(Y=W.api.getVideoData())==null?void 0:Y.Xj();return W.api.getPresentingPlayerType(k)!==2};\ng.MP=function(W,Y){this.type=W;this.currentTarget=this.target=Y;this.defaultPrevented=this.K=!1};\nU6=function(W){g.D.call(this);this.K=W};\noz=function(W,Y,k,P){return dM(W,(W.state|Y)&~k,null,P===void 0?null:P)};\nc9=function(){var W=Number(g.o_(\"DCLKSTAT\",0));return isNaN(W)?0:W};\ng.k7=function(W){W.stop();W.WZ()};\nxn0=function(){return{S:\"svg\",D:{height:\"100%\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z\",fill:\"#fff\"}}]}};\nYC2=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next()){k=k.value;var P=void 0,T=Number((P=k.playbackPosition)==null?void 0:P.utcTimeMillis)/1E3,I=void 0;P=T+Number((I=k.duration)==null?void 0:I.seconds);I=\"embargo_\"+T;W.api.addUtcCueRange(I,T,P,\"embargo\",!1);k.onEnter&&(W.W[I]=k.onEnter.filter(W.K))}};\ng.Su=function(W,Y){g.nT(function(){g.hv(Y,function(k){$GX(void 0,W,k)})})()};\nxP5=function(W){var Y=null;W.K&&(Y=W.K,W.K=Y.next,Y.next=null);W.K||(W.T=null);return Y};\nhS=function(W,Y,k){return XA(W,Y,O1(k))};\nrqd=function(W,Y){if(!W.C){Y=cM(142,Y);vZ();var k;hx.visibilityState?k=\"visibilitychange\":hx.mozVisibilityState?k=\"mozvisibilitychange\":hx.webkitVisibilityState&&(k=\"webkitvisibilitychange\");k&&f2(hx,k,Y,{capture:!1})&&(W.C=Y)}};\ny$=function(W,Y,k){W=new W.constructor(Y);k&&(W.W=zZ);W.K=zZ;return W};\ng.kY0=function(W){var Y=\"\";g.E2(W,function(k,P){Y+=P;Y+=\":\";Y+=k;Y+=\"\\r\\n\"});\nreturn Y};\nva=function(W,Y,k,P,T,I,X,h,B,O,u){Y=O!=null?O:yN(W.K.get(),\"LAYOUT_TYPE_MEDIA_BREAK\",Y);O={layoutId:Y,layoutType:\"LAYOUT_TYPE_MEDIA_BREAK\",fg:\"adapter\"};h=h(Y);var Z=kW(h.clientMetadata,\"metadata_type_fulfilled_layout\");Z||EF(\"Could not retrieve overlay layout ID during VodSkippableMediaBreakLayout creation. This should never happen.\");var M=Z?Z.layoutId:\"\";k=[new yI(k),new eN(P),new x7(T)];Z&&k.push(new oP(Z.layoutType));u&&k.push(new BB(u));return{layoutId:Y,layoutType:\"LAYOUT_TYPE_MEDIA_BREAK\",\nW7:I,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[new Yb(W.W,M)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"adapter\",Si:k,XA:X(O),adLayoutLoggingData:B,ZS:h,DN:M}};\nez=function(W,Y){return g.p(W.state,Y)&&!g.p(W.oldState,Y)?1:!g.p(W.state,Y)&&g.p(W.oldState,Y)?-1:0};\nPgF=function(W){this.slot=W;this.wD=new Map;this.A5=new Map;this.N=new Map;this.Kg=new Map;this.J=this.layout=this.K=this.G=void 0;this.X=this.C=!1;this.L=[];this.W=\"not_scheduled\";this.T=\"not_filled\"};\nT37=function(){return g.dS(\"use_request_time_ms_header\")||g.dS(\"lr_use_request_time_ms_header\")};\nF8=function(W,Y,k){var P=W.h5;return jPd(W,P,P[a_]|0,Y,k,void 0===Uy1?2:4,!1,!0)};\nOD=function(W,Y,k,P,T,I,X,h,B,O){Y=yN(W.K.get(),k,Y);var u={layoutId:Y,layoutType:k,fg:\"core\"},Z=new Map;X&&Z.set(\"impression\",X);X=[new bZ(W.W,T,\"SLOT_TYPE_PLAYER_BYTES\",\"LAYOUT_TYPE_MEDIA\")];O&&X.push(new Zq(W.W,O,[\"normal\"]));return{layoutId:Y,layoutType:k,W7:Z,layoutExitNormalTriggers:X,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:new i_([P,new yI(I),new cT(T)]),XA:h(u),adLayoutLoggingData:B}};\nOH=function(W,Y){Y=Y===void 0?!1:Y;var k=ui(W);W=Y?0:W.info.L;return k||W};\npMF=function(){var W,Y,k,P=(W=window.h5vcc)==null?void 0:(Y=W.settings)==null?void 0:(k=Y.getPersistentSettingAsString)==null?void 0:k.call(Y,\"cpu_usage_tracker_intervals\");if(P!=null){var T;W=(T=JSON.parse(P))!=null?T:[];T=W.filter(function(O){return O.type===\"total\"}).map(function(O){return O.seconds});\nY=g.e(Iz1);for(k=Y.next();!k.done;k=Y.next())k=k.value,T.indexOf(k)===-1&&W.push({type:\"total\",seconds:k});var I,X;(I=window.h5vcc)==null||(X=I.settings)==null||X.set(\"cpu_usage_tracker_intervals_enabled\",1);var h,B;(h=window.h5vcc)==null||(B=h.settings)==null||B.set(\"cpu_usage_tracker_intervals\",JSON.stringify(W))}};\nB3F=function(W,Y,k,P,T,I,X,h){var B=DS(W.qq.get(),1);if(Xq5(W.P6.get())){var O=SCz(W.K.get(),k,P,T,B.clientPlaybackNonce,B.eS,B.daiEnabled,B,I,X);hJC(W,O);t6(W.W.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return O},Y)}else t6(W.W.get(),\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",function(){return SCz(W.K.get(),k,P,T,B.clientPlaybackNonce,B.eS,B.daiEnabled,B,I,X,h)},Y)};\nzB=function(W,Y,k){var P=W.policy.playbackStartPolicy.resumeMinReadaheadPolicy||[],T=W.policy.playbackStartPolicy.startMinReadaheadPolicy||[];W=Infinity;Y=g.e(Y&&P.length>0?P:T);for(P=Y.next();!P.done;P=Y.next())P=P.value,T=P.minReadaheadMs||0,k<(P.minBandwidthBytesPerSec||0)||W>T&&(W=T);return W=1)for(var T=0;T>>0;Y=k>>>3;k&=7;if(!(k>=0&&k<=5))throw Error();if(Y<1)throw Error();W.J=Y;W.K=k;return!0};\nMN6=function(W,Y){tS(W,Y.Y$(),function(k,P,T){Y.XL(k,P,T)})};\nzS=function(W,Y){var k=W.sendVisitorIdHeader?W.visitorData:void 0;return g.ws(W.zJ,W.accessToken).then(function(P){return ON(W.uri,W.zJ,W.pageId,k,P,Y,W.jW)})};\ntN0=function(W,Y){Y?W.element.classList.add(\"ytp-jump-button-enabled\"):W.element.classList.remove(\"ytp-jump-button-enabled\");W.Y.logVisibility(W.element,Y);W.Y.wc()};\nqCv=function(W){W=g.qI(W,1886614376);for(var Y=g.e(W),k=Y.next();!k.done;k=Y.next());return g.Ab(W,function(P){return JM5(P)})};\nw7=function(W){var Y,k,P;return((Y=W.Y.getVideoData(1).getPlayerResponse())==null?void 0:(k=Y.playerConfig)==null?void 0:(P=k.daiConfig)==null?void 0:P.enableServerStitchedDai)||!1};\nxNC=function(W,Y,k,P){oy.call(this,W,Y,k,P,\"ytp-video-ad-top-bar-title\",\"ad-title\")};\nRJd=function(W,Y,k){var P;Fr(W.sP.get(),\"ads_qua\",\"cpn.\"+kW(W.layout.clientMetadata,\"metadata_type_content_cpn\")+\";acpn.\"+((P=DS(W.qq.get(),2))==null?void 0:P.clientPlaybackNonce)+\";qt.\"+Y+\";clr.\"+k)};\nmn=function(W){if(W.app.getAppState()===1)return!1;if(W.app.getAppState()===6)return!0;var Y=W.app.D2();if(!Y||Y.IS())return!1;W=W.app.Ii.getPlayerStateObject();Y=!g.p(W,2)||Y&&Y.getVideoData().G;var k=g.p(W,1024);return W&&Y&&!k&&!W.isCued()};\nHAC=function(W){return Hd[S[14]](this,3,W)};\nnOS=function(W,Y){return Rr(W,Y.ya,Y.slotType)?!0:!1};\npqC=function(W){W.offsets.length\":(W=FU0(Y.map(function(P){return P instanceof mE?P:WJ(String(P))})),k+=\">\"+W.toString()+\"\");\nreturn tU(k)};\ncn5=function(W){W.updateValue(\"icon\",pr());if(W.api.V().K)W.tooltip.tN(W.element,\"Link copied to clipboard\");else{W.updateValue(\"title-attr\",\"Link copied to clipboard\");W.updateValue(\"tooltip-title\",\"Link copied to clipboard\");W.tooltip.wc();W.tooltip.tN(W.element);var Y=W.listen(\"mouseleave\",function(){W.nH(Y);W.xa();W.tooltip.gX()})}};\nkN=function(W,Y){return function(k){return zpq(xG0(W),Y.slotId,Y.slotType,Y.slotPhysicalPosition,Y.fg,Y.slotEntryTrigger,Y.slotFulfillmentTriggers,Y.slotExpirationTriggers,k.layoutId,k.layoutType,k.fg)}};\nqV=function(W,Y){this.W=W===RA&&Y||\"\"};\nmE=function(W){this.W=W};\ncn=function(W){var Y=ce(W,!0),k=0;Y===4?k=W.W.getFloat32(W.pos):Y===8&&(k=W.W.getFloat64(W.pos));W.pos+=Y;return k};\nfzd=function(W){var Y;(Y=W.W)==null||Y.pK();var k;(k=W.K)==null||k.pK();W.C=!1};\ntW=function(W){for(var Y=0,k=g.e(W.J),P=k.next();!P.done;P=k.next())Y+=NUz(P.value.info);return Y+=eCz(W.T)};\nUD=function(W){g.D.call(this);this.features=[];var Y=this.W,k=new VNd(W),P=new Ca(W),T=new K2(W),I=new DB(W);var X=g.xW(W.V())?void 0:new Kn(W);var h=new gx(W),B=new N3d(W),O=new azd(W),u=new Fm(W);var Z=g.xW(W.V())?new Wid(W):void 0;var M;var t=(M=W.V().getWebPlayerContextConfig())!=null&&M.cinematicSettingsAvailable?new Y9V(W):void 0;M=new gV(W);var q=W.U(\"enable_courses_player_overlay_purchase\")?new $DX(W):void 0;var G=g.ad(W.V())?new kB7(W):void 0;var E=new P6V(W);var z=W.V().T?new eZC(W):void 0;\nvar A=g.hN(W.V())?new TV7(W):void 0;var F=W.U(\"web_player_move_autonav_toggle\")&&W.V().UV?new jTV(W):void 0;var y=g.ad(W.V())?new lZ(W):void 0;var U=W.U(\"web_enable_speedmaster\")&&g.ad(W.V())?new wx(W):void 0;var V=W.V().zg?void 0:new bNz(W);var b=W.U(\"report_pml_debug_signal\")?new I_2(W):void 0;var Sz=new X6S(W),jz=new QG(W);var X7=g.m9(W.V())?new S91(W):void 0;var O2=navigator.mediaSession&&window.MediaMetadata&&W.V().xF?new yG(W):void 0;var $5=W.U(\"html5_enable_drc\")&&!W.V().X?new WS(W):void 0;\nvar z1=new Cl(W);var cd=g.ad(W.V())?new h_F(W):void 0;var V0=W.U(\"html5_enable_d6de4\")?new eu(W):void 0;var Mc=g.ad(W.V())&&W.U(\"web_sleep_timer\")?new or(W):void 0;var TK=g.hN(W.V())?new EaC(W):void 0;var mV=new vB(W),Iq=new BVz(W),p$=new vB5(W);var L$=W.U(\"enable_sabr_snackbar_message\")?new Ohv(W):void 0;var $8=W.U(\"web_enable_timely_actions\")?new uF5(W):void 0;var d=new Cn(W);var Ux=g.ad(W.V())?new Ln(W):void 0;var m1=W.U(\"html5_enable_voice_boost\")?new gg(W):void 0;var k5=W.U(\"web_player_loop_settings_menu\")&&\nW.V().Ka?new DW1(W):void 0;var JN=g.xW(W.V())?void 0:new ZhC(W);var K=W.U(\"web_player_playable_sequences_refactor\")?new Zs(W):void 0;var Y5=W.U(\"html5_enable_audio_quality_setting\")&&W.U(\"html5_enable_audio_quality_setting_feature\")?new zY(W):void 0;var KT=W.U(\"html5_ypc_clickwrap_module_refactor\")?new ihd(W):void 0;Y.call(this,k,P,T,I,X,h,B,O,u,Z,t,M,q,G,E,z,A,F,y,U,V,b,Sz,jz,X7,void 0,O2,$5,z1,void 0,cd,V0,Mc,TK,void 0,mV,Iq,p$,void 0,L$,$8,d,Ux,m1,void 0,k5,void 0,JN,K,Y5,KT,new ED0(W))};\ng.hl=function(W){window.clearInterval(W)};\nM_2=function(W,Y){W.Y.getPlayerStateObject().isCued()||Y?Y&&(W.OP.hide(),W.UP.hide(),W.W&&W.W.h9(!1),W.X&&W.X.h9(!1),W.C&&W.C.h9(!1),W.Y.gX(W.Tn())):Y||(W.OP.show(),W.UP.show(),W.W&&W.W.h9(!0),W.X&&W.X.h9(!0),W.C&&W.C.h9(!0),W.L0())};\nF4=function(W,Y){W=Dw(W,Y);if(Y=W.layout!=null)a:switch(W.W){case \"rendering\":case \"rendering_stop_requested\":Y=!0;break a;default:Y=!1}return Y};\ngx=function(W){sE.call(this,W);var Y=this;this.K=new Map;this.T=this.W=void 0;this.compositeVideoState=null;this.J=void 0;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"modulecreated\",function(k){var P;a:{var T,I,X,h=(T=Y.api.getVideoData())==null?void 0:(I=T.getPlayerResponse())==null?void 0:(X=I.overlay)==null?void 0:X.playerControlsOverlayRenderer;if(h&&(T=g.R(h.compositeVideoOverlay,t_7),T==null?0:(P=T.sources)==null?0:P.length))for(P=g.e(T==null?void 0:T.sources),T=P.next();!T.done;T=\nP.next())if(T=T.value,T.isActive){P=T;break a}P=void 0}k===\"captions\"&&(P==null?void 0:P.topLeftCornerX)!==void 0&&(P==null?void 0:P.topLeftCornerY)!==void 0&&(P==null?void 0:P.width)!==void 0&&(P==null?void 0:P.height)!==void 0&&Y.api.CZ({top:P.topLeftCornerY,right:1-P.topLeftCornerX-P.width,bottom:1-P.topLeftCornerY-P.height,left:P.topLeftCornerX})});\nthis.events.Z(W,\"videodatachange\",function(k){var P=Y.api.getVideoData();Y.W=void 0;Y.K.clear();Y.api.fq(\"compositeembargo\",1);var T=P==null?void 0:P.P1.get(\"PLAYER_CUE_RANGE_SET_IDENTIFIER_EMBARGO\");(T==null?0:T.length)?wMV(Y,T.filter(function(I){return Ar1(Y,I)})):(P==null?0:P.cueRanges)&&wMV(Y,P.cueRanges.filter(function(I){return Ar1(Y,I)}));\nk===\"dataupdated\"&&(P==null?void 0:P.compositeLiveStatusToken)!==Y.T&&(Y.T=P==null?void 0:P.compositeLiveStatusToken,Y.api.HD())});\nthis.events.Z(W,g.OQ(\"compositeembargo\"),function(k){var P;if(((P=Y.W)==null?void 0:P.id)!==k.id&&(Y.api.aZ(!0),Y.K.has(k.id))){var T=Y.K.get(k.id);P=Y.api.getVideoData();T=g.e(T);for(var I=T.next();!I.done;I=T.next()){var X=void 0;I=(X=I.value.compositeEmbargo)==null?void 0:X.embargoStatusToken;P.qV!==I&&(P.qV=I,Y.api.HD());q9X(Y,k)}}});\nthis.events.Z(W,g.ut(\"compositeembargo\"),function(k){var P;if(((P=Y.W)==null?void 0:P.id)===k.id&&(Y.api.aZ(!1),Y.K.has(k.id))){if(k=Y.api.getVideoData())k.qV=void 0;Y.api.HD();q9X(Y)}});\nthis.events.Z(W,\"heartbeatRequest\",function(k){Y.compositeVideoState!==null&&(k.playbackState||(k.playbackState={}),k.playbackState.compositeVideoState=Y.compositeVideoState)});\nthis.events.Z(W,\"internalaudioformatchange\",function(k,P){var T=Y.api.getVideoData(void 0,!0);T==null||T.y5(\"atrkchg\",{id:k,m:P});if(T&&bw(T))for(P=Y.api.getAvailableAudioTracks(),P=g.e(P),T=P.next();!T.done;T=P.next())if(T.value.getLanguageInfo().getId()===k){Y.api.V().Q5=k;break}});\nthis.events.Z(W,\"onPlaybackAudioChange\",function(){Y.api.HD()});\nD4(W,\"setCompositeParam\",function(k){Y.compositeVideoState=k});\nthis.api.U(\"web_watch_enable_multiview_manager\")&&D4(W,\"setCompositeVideoOverlayRendererComponent\",function(k){Y.setCompositeVideoOverlayRendererComponent(k)})};\nR_S=function(W,Y){var k=W.Iw,P=ub(W);k!==void 0?(Y.hg=k.hg,k.hg=Y):(Y.hg=void 0,W.rS=Y);Y.hP=k;W.Iw=Y;if(!P)for(W=W.producers;W!==void 0;W=W.s7)R_S(W.As,W)};\nHh2=function(W){W.K&&eaz(W.K);W.qoe&&onv(W.qoe)};\nRT=function(W){kn(W);W=Gu(W);if(KM(W))W=String(W);else{var Y=String(W);wkC(Y)?W=Y:(pZ(W),W=bJ0())}return W};\ng.X$=function(W,Y){n35(W,{ma1:g.je(Y.experiments,\"bg_vm_reinit_threshold\"),cspNonce:Y.cspNonce,xf:Y.xf||\"\"})};\ncB=function(W){if(W.J){var Y;if(W.api.getPresentingPlayerType()===2||W.api.Y8()||((Y=g.lA(W.api))==null?0:Y.jy())||W.api.isMinimized())bA(W,0);else{if(Y=g.p(W.api.getPlayerStateObject(),2))bA(W,2,\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\");else if(W.isEnded&&!Y){var k=sn(W)?1:0;W.isEnded=Y;bA(W,k)}else sn(W)?W.K!==2&&bA(W,1):bA(W,0);W.isEnded=Y}}};\nYE=function(W,Y,k){W=wD6(W,Y===void 0?0:Y,k===void 0?-1:k);return new Uint8Array(W.buffer,W.byteOffset,W.byteLength)};\nRbF=function(W){var Y;return g.v(function(k){if(k.W==1)return g.L(k,p6S(W),2);Y=k.K;return g.L(k,Y.clear(\"SWHealthLog\"),0)})};\nh2V=function(W,Y){return!!Y&&W.getAvailablePlaybackRates()[W.getAvailablePlaybackRates().length-1]<=2};\nGB1=function(){};\nxL=function(W){this.h5=rT(W)};\nKi0=function(){for(var W=[\"metadata_type_invideo_overlay_ad_renderer\"],Y=g.e(Nd()),k=Y.next();!k.done;k=Y.next())W.push(k.value);return{ya:W,EV:[\"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY\"]}};\nrw=function(){return wY(\"Safari\")&&!(sl()||(FD()?0:wY(\"Coast\"))||dj()||(FD()?0:wY(\"Edge\"))||$Pv()||(FD()?J_(\"Opera\"):wY(\"OPR\"))||iG()||wY(\"Silk\")||wY(\"Android\"))};\nui=function(W){g.MK(W.info.W.info)||W.info.W.info.pN();if(W.W&&W.info.type===6)return W.W.Lh;if(g.MK(W.info.W.info)){var Y=g.tB(W);var k=0;Y=g.qI(Y,1936286840);Y=g.e(Y);for(var P=Y.next();!P.done;P=Y.next())P=Zav(P.value),k+=P.Kz[0]/P.timescale;k=k||NaN;if(!(k>=0))a:{k=g.tB(W);Y=W.info.W.W;for(var T=P=0,I=0;FP(k,P);){var X=ww(k,P);if(X.type===1836476516)T=g.Es(X);else if(X.type===1836019558){!T&&Y&&(T=Jl(Y));if(!T){k=NaN;break a}var h=QR(X.data,X.dataOffset,1953653094),B=h;h=T;var O=QR(B.data,B.dataOffset,\n1952868452);B=QR(B.data,B.dataOffset,1953658222);var u=lg(O);lg(O);u&2&&lg(O);O=u&8?lg(O):0;var Z=lg(B),M=Z&1;u=Z&4;var t=Z&256,q=Z&512,G=Z&1024;Z&=2048;var E=g6(B);M&&lg(B);u&&lg(B);for(var z=M=0;zk.trigger.breakDurationMs)&&(k={slot:T,trigger:P})}return k};\nsT1=function(){var W=null;try{W=g.hL.sessionStorage||null}catch(Y){}rD.call(this,W)};\nrKv=function(W){return[W.auth===void 0?\"undefined\":W.auth,W.isJspb===void 0?\"undefined\":W.isJspb,W.cttAuthInfo===void 0?\"undefined\":W.cttAuthInfo,W.tier===void 0?\"undefined\":W.tier].join(\"/\")};\nAKv=function(W,Y,k,P){k=k.split(\"#\");k=[k[1],k[2],0,k[3],k[4],-1,k[0],\"\"].join(\"#\");g.VG.call(this,W,Y,k,0);this.K=null;this.C=P?2:0};\nHi2=function(W){this.W=W;W.Ho(\"/client_streamz/bg/frs\",g.im(\"mk\"))};\nz_C=function(W){this.value=W};\nWE=function(W){try{return Hv(W)===\"open\"}catch(Y){return!1}};\nh$=function(W,Y){if(W=Sp(Y)[W])return typeof W===\"number\"?W:W[W.length-1]};\nb3=function(W,Y){W.Lg||(NI(W,\"fcnz\",\"\"+Y),W.Lg=!0)};\nmD7=function(W){var Y=new dD1;Y.T=W.U(\"h5_gapless_support_types_diff\");Y.L=!1;Y.A5=W.U(\"html5_gapless_use_format_info_fix\");Y.X=W.U(\"html5_gapless_disable_on_av1\")&&!W.U(\"html5_gapless_enable_on_av1\");Y.C=W.U(\"html5_gapless_check_codec_diff_strictly\");Y.N=W.U(\"html5_gapless_on_ad_autoplay\");Y.G=W.U(\"html5_gapless_disable_diff_aspect_radio\");Y.K=W.U(\"html5_gapless_ad_autoplay_on_ad_to_video_only\");Y.W=W.U(\"html5_pseudogapless_shorts_seek_to_next_start\");Y.J=W.U(\"html5_gapless_ad_autoplay_on_video_to_ad_only\");\nreturn Y};\nLg2=function(W){this.itag=W.itag;this.url=W.url;this.codecs=W.codecs;this.width=W.width;this.height=W.height;this.fps=W.fps;this.bitrate=W.bitrate;var Y;this.K=((Y=W.audioItag)==null?void 0:Y.split(\",\"))||[];this.zF=W.zF;this.tY=W.tY||\"\";this.Ib=W.Ib;this.audioChannels=W.audioChannels;this.W=\"\"};\ng.nn=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 32 32\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z\",fill:\"#fff\"}}]}};\nwr=function(W,Y){if(!W)return NaN;Y=Ce(W,Y);return Y>=0?W.end(Y):NaN};\nSB=function(){g.D.apply(this,arguments);this.ey=!0;this.ph=new Map;this.W=new Map};\ny0=function(W,Y){Y=Y===void 0?NaN:Y;var k=g.Jj(W.provider);Y=isNaN(Y)?k:Y;Y=Math.ceil(Y);var P=W.G[W.L];W.L+11E3;!(I.length>1)&&I[0].isEmpty()||h||(X.G=y0(W,T));X.send();W.N++}},(T-k)*1E3);\nreturn W.T=T};\nq9X=function(W,Y){var k;((k=W.W)==null?void 0:k.id)!==(Y==null?void 0:Y.id)&&(W.W&&(W.K.delete(W.W.id),W.api.aB([W.W],1)),W.W=Y)};\nNR=function(W,Y,k){k=k===void 0?!1:k;if(l0(W))return!1;for(var P=W.pos;ce(W,!1)!==Y;)if(Hy(W),P=W.pos,l0(W))return!1;k&&(W.pos=P);return!0};\nGm0=function(W,Y){Y=Y===void 0?document:Y;return Y.createElement(String(W).toLowerCase())};\nar=function(W,Y){W.C||(Y=new g.MW(Y.state,new g.ZR),W.C=!0);return Y};\nsAX=function(W,Y){this.K=(new TextEncoder).encode(W);this.W=(new TextEncoder).encode(Y)};\noK6=function(W){for(var Y=g.e(DDd),k=Y.next();!k.done;k=Y.next())W=tK(W,k.value);return\"ST-\"+kb(W).toString(36)};\nk3=function(W){this.value=W};\ng.g3z=function(W,Y){Y=El(W,Y);Y>=0&&g.QC(W,Y)};\nPkd=function(){var W=(0,g.Il)();if(W&&(W=W.K(\"yt-player-quality\")))return W.creation};\nf32=function(W){W.logger.debug(\"start initialize to CUED mode\");W.Ii.publish(\"initializingmode\");W.IC(2);Ix(W.eL,\"remote\");Ix(W.eL,\"miniplayer\");W.logger.debug(\"initialized to CUED mode\")};\ng.Gt=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 32 32\",width:\"100%\"},B:[{S:\"path\",D:{d:\"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z\",fill:\"#fff\"}}]}};\nHB=function(W,Y,k){W=W===void 0?\"\":W;Y=Y===void 0?null:Y;k=k===void 0?!1:k;g.tR.call(this);var P=this;this.sourceUrl=W;this.isLivePlayback=k;this.V5=this.duration=0;this.isPremiere=this.Fj=this.T=this.isLiveHeadPlayable=this.isLive=this.K=!1;this.UA=this.UU=0;this.isOtf=this.t9=!1;this.Fr=(0,g.lj)();this.Kg=Infinity;this.W={};this.J=new Map;this.state=this.Zg=0;this.X=null;this.isManifestless=!1;this.TJ=[];this.G=null;this.OP=0;this.C=\"\";this.UP=NaN;this.gD=this.J9=this.timestampOffset=this.L=0;this.KL=\nthis.UK=NaN;this.Gn=0;this.GJ=this.A5=!1;this.rD=[];this.Q5={};this.wD=NaN;this.zW={npa:function(h){kE(P,h)}};\nvar T;this.bz=(T=Y)==null?void 0:T.Nq(\"html5_use_network_error_code_enums\");Fi0=!!Y&&Y.Nq(\"html5_modern_vp9_mime_type\");var I;AtS=!((I=Y)==null||!I.Nq(\"html5_enable_flush_during_seek\"))&&g.xQ();var X;zLd=!((X=Y)==null||!X.Nq(\"html5_enable_reset_audio_decoder\"))&&g.xQ()};\nQH7=function(W){var Y=window.location.search,k=g.TZ(W);g.dS(\"debug_handle_relative_url_for_query_forward_killswitch\")||!k&&Ih(W)&&(k=document.location.hostname);var P=e6(W);P=(k=k&&(k.endsWith(\"youtube.com\")||k.endsWith(\"youtube-nocookie.com\")))&&P&&P.startsWith(\"/api/\");if(!k||P)return W;var T=DX(Y),I={};g.hv(w6C,function(X){T[X]&&(I[X]=T[X])});\nreturn a8(W,I)};\nnU=function(W,Y,k,P){CC.call(this,W,{S:\"button\",j:\"ytp-skip-ad-button\",B:[{S:\"div\",j:\"ytp-skip-ad-button__text\"}]},\"skip-button\",Y,k,P);var T=this;this.K=!1;this.T=this.J5(\"ytp-skip-ad-button__text\");this.transition=new g.fH(this,500,!1,100,function(){T.hide()});\ng.m(this,this.transition);this.W=new j_(this.element,15E3,5E3,.5,.5,!0);g.m(this,this.W);this.hide()};\ng.Ald=function(){return g.Ab(Ve(16),function(W){return(W&15).toString(16)}).join(\"\")};\nyN=function(W,Y,k){if(Ns(W.P6.get())){var P=W.W.get(Y)||0;P++;W.W.set(Y,P);return k+\"_\"+Y+\"_\"+P}return g.BV(16)};\nYFz=function(W,Y,k){var P=[];k=g.e(k);for(var T=k.next();!T.done;T=k.next())if((T=T.value)&&T.url){var I=t7(T.type,\"medium\",\"0\");P.push(new q2(I,T.url))}return RV(W.C,P,qw(W,Y),!1)};\nWF=function(W){var Y=W.isMuted()?0:W.getVolume();ED.call(this,0,100,1,Y,void 0,!0);this.Y=W;this.A5=zJ1(this.wD,10,this);this.N=!1;this.Z(W,\"onVolumeChange\",this.onVolumeChange);this.Z(this.element,\"wheel\",this.Kg)};\nYH=function(W,Y){this.name=W;this.options=Y;this.J=!0;this.C=this.T=0};\nQT7=function(W,Y,k,P,T,I,X,h){Qy.call(this,W,Y,k,P);this.sP=T;this.er=I;this.X=h;this.ey=!0;this.T=null;this.C=kW(k.clientMetadata,\"metadata_type_linked_player_bytes_layout_id\");qj(this.er(),this);this.adPlacementConfig=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,this.adPlacementConfig,k.layoutId)};\np_v=function(W){this.offset=0;this.data=new DataView(new ArrayBuffer(W))};\ne_2=function(W,Y){function k(E){if(!W.Xr()){E=E?E.status:-1;var z=0,A=((0,g.lj)()-u).toFixed();A=T.U(\"html5_use_network_error_code_enums\")?{backend:\"gvi\",rc:E,rt:A}:{backend:\"gvi\",rc:\"\"+E,rt:A};var F=\"manifest.net.connect\";E===429?(F=\"auth\",z=2):E>200&&(F=\"manifest.net.badstatus\",E===400&&(z=2));return Promise.reject(new g.LT(F,A,z))}}\nfunction P(E){return k(E.xhr)}\nvar T,I,X,h,B,O,u,Z,M,t,q,G;return g.v(function(E){if(E.W==1){W.fetchType=\"gvi\";T=W.V();var z={};W.ir&&(z.ytrext=W.ir);(h=g.x3(z)?void 0:z)?(I={format:\"RAW\",method:\"POST\",withCredentials:!0,timeout:3E4,postParams:h},X=a8(Y,{action_display_post:1})):(I={format:\"RAW\",method:\"GET\",withCredentials:!0,timeout:3E4},X=Y);B={};T.sendVisitorIdHeader&&W.visitorData&&(B[\"X-Goog-Visitor-Id\"]=W.visitorData);(O=bG(T.experiments,\"debug_sherlog_username\"))&&(B[\"X-Youtube-Sherlog-Username\"]=O);Object.keys(B).length>\n0&&(I.headers=B);u=(0,g.lj)();return g.L(E,yKd(h4,X,I).then(void 0,P),2)}Z=E.K;if(!Z||!Z.responseText)return E.return(k(Z));W.loading=!1;M=DX(Z.responseText);g.WL(W,M,!0);if(W.errorCode)return t={ec:W.errorCode,ed:W.errorDetail,es:W.OX||\"\"},E.return(Promise.reject(new g.LT(\"auth\",t,2)));if(!W.loading&&!Ys(W))return q=W.isAd()?\"auth\":\"manifest.net.retryexhausted\",G=W.isAd()?2:1,E.return(Promise.reject(new g.LT(q,{successButUnplayable:\"1\"},G)));g.I_(E)})};\no31=function(W,Y){return g.TN(W,{query:Y},function(k){return k.delete().then(function(){return g.jK(k)})}).then(function(){})};\nPL=function(W,Y,k,P,T){var I=g.o3(\"yt.logging.errors.log\");I?I(W,\"WARNING\",Y,k,P,void 0,T):(I=g.o_(\"ERRORS\",[]),I.push([W,\"WARNING\",Y,k,P,void 0,T]),V1(\"ERRORS\",I))};\nCwz=function(W,Y){Y=Y===void 0?!1:Y;W.j1&&W.j1.W&&W.j1.K&&(W.j1.W.VQ(W.rD,W),W.j1.K.VQ(W.rD,W));ob(W.audioTrack,null,Y);ob(W.videoTrack,null,Y);W.j1&&(W.j1.T=!1);W.j1=null};\ng.Sr=function(W,Y){W.classList?W.classList.remove(Y):g.$Z(W,Y)&&g.h8(W,Array.prototype.filter.call(Bw(W),function(k){return k!=Y}).join(\" \"))};\ng.Jv=function(W,Y,k,P){Y=Y!==void 0?Y:W.index;Y=W.items&&Y in W.items?W.items[W.order[Y]]:null;var T=null;Y&&(k&&(Y.autoplay=\"1\"),P&&(Y.autonav=\"1\"),T=new g.NC(W.pg,Y),g.m(W,T),T.PH=!0,T.startSeconds=W.startSeconds||T.clipStart||0,W.listId&&(T.playlistId=W.listId.toString()));return T};\n$m=function(W){g.Iv(W.D_)};\nv3q=function(W,Y,k,P,T){var I;Y={reason:\"overlapping_playbacks\",Kaa:Y,pH:k,vz:P,ydJ:T.U1,KfS:((I=T.videoData)==null?void 0:I.videoId)||\"\",z$h:T.durationMs,Wfh:T.pH,Ad1:T.vz};vv(W,Y)};\nLiz=function(W,Y,k,P){C6z(W,Y,k,\"skipped\",function(){$H(W,P)})};\nUD5=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next())if(k=k.value,k.adSlotMetadata.slotType===\"SLOT_TYPE_PLAYER_UNDERLAY\"){var P=g.R(k.fulfillmentContent.fulfilledLayout,kH);if(P&&(P=g.R(P.renderingContent,tD))&&P.associatedPlayerBytesLayoutId===W)return k}};\na_0=function(W,Y){var k,P=(k=W.J9[Y])==null?void 0:k.chapters;P&&(JBC(W,P),W.api.getVideoData().i_=W.W,x80(W));var T;if((k=(T=W.J9[Y])==null?void 0:T.markers)&&Y!==\"HEATSEEKER\"){Aj(W);T=g.e(k);for(k=T.next();!k.done;k=T.next())if(P=k.value,k=new I0,P=g.R(P,g.l_d)){var I=void 0;k.title=((I=P.title)==null?void 0:I.simpleText)||\"\";I=void 0;k.timeRangeStartMillis=(I=P.timeRangeStartMillis)!=null?I:NaN;var X=I=void 0;k.onActiveCommand=(X=(I=P)==null?void 0:I.onActiveCommand)!=null?X:void 0;vtd(W,k)}bhX(W,\nW.X);T=W.X;k=W.Dm;P=[];for(I=0;I=X&&G<=u&&I.push(M)}B>0&&(W.Kg.style.height=B+\"px\");X=W.T[P];u=I;M=T;q=B;G=P===0;G=G===void 0?!1:G;f_F(X,q);Z=u;t=X.K;G=G===void 0?!1:G;var E=1E3/Z.length,z=[];z.push({x:0,y:100});for(var A=0;A0&&(k=I[I.length-1])}g.cj(W);h=[];Y=g.e(Y.heatMarkersDecorations||[]);for(T=Y.next();!T.done;T=Y.next())if(T=g.R(T.value,NVX))B=T.label,P=k=O=void 0,h.push({visibleTimeRangeStartMillis:(O=T.visibleTimeRangeStartMillis)!=null?O:-1,visibleTimeRangeEndMillis:(k=T.visibleTimeRangeEndMillis)!=null?k:-1,decorationTimeMillis:(P=T.decorationTimeMillis)!=null?P:NaN,label:B?g.NF(B):\"\"});W.heatMarkersDecorations=h}};\nY4d=function(W,Y){var k=Y||Eg1(W)||W.isExternallyHostedPodcast;if(!W.W||k)return W.y5(\"skipDash\",{dm:!!W.W,air:Y,dd:W.Md,mss:qU(),\"3pp\":W.isExternallyHostedPodcast}),JZ();a7(W)&&E$S(W.W,W.isLivePlayback);return Ww().then(function(){return WX7(W.TT,g.CN(W),W.pg.C,W.W,W.C,function(P){return W.publish(\"ctmp\",\"fmtflt\",P)},W.cE,w9(W)&&W.U(\"html5_enable_server_format_filter\")).then(function(P){W.BJ(P);\nW.TT.W=null;/^av/.test(W.clientPlaybackNonce)&&W.AC&&W.y5(\"av1\",W.AC.W)})})};\n$sd=function(W){return{Ww:Qx(W,1)}};\nkWX=function(W,Y,k){var P=[];k=g.e(k);for(var T=k.next();!T.done;T=k.next())P.push(PaF(W,Y,T.value));return P};\nP0C=function(W){W.W&&W.W.listen(\"click\",W.yc,W);g.dP(W.N,\"click\",function(){return W.yc()})};\ncuF=function(){var W={};var Y=W.o8z===void 0?!1:W.o8z;W=W.H0===void 0?!0:W.H0;if(g.o3(\"_lact\",window)==null){var k=parseInt(g.o_(\"LACT\"),10);k=isFinite(k)?Date.now()-Math.max(k,0):-1;g.qa(\"_lact\",k,window);g.qa(\"_fact\",k,window);k==-1&&mw();g.dP(document,\"keydown\",mw);g.dP(document,\"keyup\",mw);g.dP(document,\"mousedown\",mw);g.dP(document,\"mouseup\",mw);Y?g.dP(window,\"touchmove\",function(){cV(\"touchmove\",200)},{passive:!0}):(g.dP(window,\"resize\",function(){cV(\"resize\",200)}),W&&g.dP(window,\"scroll\",\nfunction(){cV(\"scroll\",200)}));\nnew PF(function(){cV(\"mouse\",100)});\ng.dP(document,\"touchstart\",mw,{passive:!0});g.dP(document,\"touchend\",mw,{passive:!0})}};\ng.Td=function(W){g.D.call(this);this.X=1;this.J=[];this.T=0;this.W=[];this.K={};this.G=!!W};\nIW=function(W,Y){Y.forEach(function(k){jo(W,k)})};\ng8z=function(W){var Y=WJ(\"\");return tU(W.map(function(k){return lH(WJ(k))}).join(lH(Y).toString()))};\nsM=function(W){var Y;W=LL((Y=W.serializedClientExperimentFlags)!=null?Y:\"\",\"&\");this.flags=new Map(Object.entries(W).map(function(k){var P=g.e(k);k=P.next().value;P=P.next().value;return typeof P===\"string\"?[k,P]:[k,P[0]]}))};\nXl2=function(W,Y,k){var P=k.channelThumbnail;P&&(P=P.thumbnails)&&(P=P[0])&&(Y.profile_picture=P.url);var T;if(P=g.R((T=g.R(k==null?void 0:k.channelThumbnailEndpoint,TRC))==null?void 0:T.urlEndpoint,g.$i))Y.channel_path=P.url;if(T=k.collapsedRenderer)if(T=g.R(T,j4d)){if(P=T.title)Y.title=g.NF(P);if(T=T.subtitle)Y.subtitle=g.NF(T)}if(k=k.expandedRenderer)if(k=g.R(k,IG2)){if(T=k.title)Y.expanded_title=g.NF(T);if(T=k.subtitle)Y.expanded_subtitle=g.NF(T);if(k=k.subscribeButton)W.subscribeButtonRenderer=\ng.R(k,g.Xy),W.subscribeButtonRenderer&&(Y.ucid=W.subscribeButtonRenderer.channelId,Y.subscribed=W.subscribeButtonRenderer.subscribed,W.ww=!!W.subscribeButtonRenderer.notificationPreferenceToggleButton,W.subscribeButtonRenderer.notificationPreferenceToggleButton&&W.subscribeButtonRenderer.notificationPreferenceToggleButton.toggleButtonRenderer&&(Y=W.subscribeButtonRenderer.notificationPreferenceToggleButton.toggleButtonRenderer,Y.isToggled?(W.tv=Y.toggledServiceEndpoint||null,W.U8=Y.defaultServiceEndpoint||\nnull):(W.tv=Y.defaultServiceEndpoint||null,W.U8=Y.toggledServiceEndpoint||null)))}};\nXnd=function(W,Y){if(Y>W.QU())W.segments=[];else{var k=El(W.segments,function(P){return P.t5>=Y},W);\nk>0&&W.segments.splice(0,k)}};\ncQ=function(W){W=b6d(W);return W===null?!1:W[0]===\"com\"&&W[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1};\nNl7=function(W){/[^a-zA-Z0-9;.!_-]/.test(W)&&(W=W.replace(/[+]/g,\"-\").replace(/[^a-zA-Z0-9;.!_-]/g,\"_\"));return W};\nS4d=function(W,Y,k){for(var P=W.G,T=W.W[0],I=W.W[1],X=W.W[2],h=W.W[3],B=W.W[4],O=W.W[5],u=W.W[6],Z=W.W[7],M,t,q,G=0;G<64;)G<16?(P[G]=q=Y[k]<<24|Y[k+1]<<16|Y[k+2]<<8|Y[k+3],k+=4):(M=P[G-2],t=P[G-15],q=P[G-7]+P[G-16]+((M>>>17|M<<15)^(M>>>19|M<<13)^M>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),P[G]=q),M=Z+So[G]+q+((B>>>6|B<<26)^(B>>>11|B<<21)^(B>>>25|B<<7))+(B&O^~B&u),t=((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+(T&I^T&X^I&X),Z=M+t,h+=M,G++,G<16?(P[G]=q=Y[k]<<24|Y[k+1]<<16|Y[k+2]<<8|Y[k+3],k+=4):(M=\nP[G-2],t=P[G-15],q=P[G-7]+P[G-16]+((M>>>17|M<<15)^(M>>>19|M<<13)^M>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),P[G]=q),M=u+So[G]+q+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&B^~h&O),t=((Z>>>2|Z<<30)^(Z>>>13|Z<<19)^(Z>>>22|Z<<10))+(Z&T^Z&I^T&I),u=M+t,X+=M,G++,G<16?(P[G]=q=Y[k]<<24|Y[k+1]<<16|Y[k+2]<<8|Y[k+3],k+=4):(M=P[G-2],t=P[G-15],q=P[G-7]+P[G-16]+((M>>>17|M<<15)^(M>>>19|M<<13)^M>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),P[G]=q),M=O+So[G]+q+((X>>>6|X<<26)^(X>>>11|X<<21)^(X>>>25|X<<7))+(X&h^\n~X&B),t=((u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10))+(u&Z^u&T^Z&T),O=M+t,I+=M,G++,G<16?(P[G]=q=Y[k]<<24|Y[k+1]<<16|Y[k+2]<<8|Y[k+3],k+=4):(M=P[G-2],t=P[G-15],q=P[G-7]+P[G-16]+((M>>>17|M<<15)^(M>>>19|M<<13)^M>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),P[G]=q),M=B+So[G]+q+((I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7))+(I&X^~I&h),t=((O>>>2|O<<30)^(O>>>13|O<<19)^(O>>>22|O<<10))+(O&u^O&Z^u&Z),q=Z,Z=h,h=q,q=u,u=X,X=q,q=O,O=I,I=q,B=T+M,T=M+t,G++;W.W[0]=T+W.W[0]|0;W.W[1]=I+W.W[1]|0;W.W[2]=X+W.W[2]|0;W.W[3]=\nh+W.W[3]|0;W.W[4]=B+W.W[4]|0;W.W[5]=O+W.W[5]|0;W.W[6]=u+W.W[6]|0;W.W[7]=Z+W.W[7]|0};\nOzq=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q,G,E,z,A,F,y,U,V){function b(){var O2=JU(Object.assign({},X7,{callback:{Vi:W.Vi.bind(W),oI:W.oI.bind(W),t6:function(){},\nWk:W.Wk.bind(W)},slot:k,Xu:P,MS:function(){q3(X,P,\"normal\")},\nlE:0,VV:1,Bw:!0}));return O2?new hYd(W,u,M,G,O2,T,F):O2}\nfunction Sz(){var O2,$5=(O2=P.e3)!=null?O2:kW(P.clientMetadata,\"metadata_type_sub_layouts\");O2=BR6({O$:W,qq:Z,Pa:y,JT:u,Cg:M,gV:t,CH:G,wU:Y,slot:k,layout:P,Yh:I,QH:X,er:T,P6:F});for(var z1=[],cd={mC:0};cd.mC<$5.length;cd={mC:cd.mC},cd.mC++){var V0=JU(Object.assign({},X7,{callback:{Vi:O2.MQ.bind(O2),oI:O2.WR.bind(O2),t6:O2.t6.bind(O2),Wk:O2.z3.bind(O2)},slot:k,Xu:$5[cd.mC],MS:function(Mc){return function(TK){TK.ej($5[Mc.mC],\"normal\")}}(cd),\nlE:cd.mC,VV:$5.length,Bw:!1}));if(!V0)return;z1.push(V0)}O2.Ls=z1;return O2}\nfunction jz(){var O2=Object.assign({},X7,{callback:{Vi:function(){},\noI:function(){},\nt6:function(){return void q3(X,P,\"normal\")},\nWk:function(){}},\nslot:k,Xu:P,MS:function(){},\nlE:0,VV:1,Bw:!0});return GRd({O$:W,slot:k,layout:P,Yh:I,nN:X,qq:Z,Pa:y,JT:u,er:T,Cg:M,Dxh:O2,context:U})}\nvar X7={sP:h,i8:B,a6:O,JT:u,qq:Z,Cg:M,gV:t,wZ:q,CH:G,RI:E,UR:z,fu:A,P6:F,context:U,E6:V};h=Kv(P,{ya:[\"metadata_type_sub_layouts\"],EV:[\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\"]})||P.e3!==void 0&&P.layoutType===\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\";B=XO(k,F.get())&&Kv(P,{ya:[],EV:[\"LAYOUT_TYPE_MEDIA\",\"LAYOUT_TYPE_MEDIA_BREAK\"]});O=Kv(P,{ya:[],EV:[\"LAYOUT_TYPE_MEDIA\",\"LAYOUT_TYPE_MEDIA_BREAK\"]});if(h)return Sz();if(B)return jz();if(O)return b()};\nS70=function(W){return W.GT?[\"OK\",\"LIVE_STREAM_OFFLINE\"].includes(W.GT.status):!0};\nh3=function(W,Y,k){g.D.call(this);this.policy=W;this.T=Y;this.y5=k;this.J=new Map;this.C=0;this.X=!1;this.W=\"\";this.K=!1};\nuk7=function(W){var Y=W.Y.U6()?72:50,k=W.Y.V();g.ad(k)&&(k.U(\"delhi_modern_web_player\")?(Y=W.Y.U6()?112:78,W.Y.getRootNode().classList.contains(\"ytp-fullscreen-grid-peeking\")&&(W=getComputedStyle(W.Y.getRootNode()).getPropertyValue(\"--ytp-grid-peek-height\")||\"36px\",Y+=Number(W.replace(\"px\",\"\")))):Y=62,g.vL(k)&&(Y=54));return Y};\nf7F=function(W){return W.linearAds!=null&&fj(W.adLayoutMetadata)};\nA4F=function(){return{S:\"svg\",D:{fill:\"#fff\",height:\"100%\",version:\"1.1\",viewBox:\"0 0 48 48\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M0 0h48v48H0z\",fill:\"none\"}},{S:\"path\",D:{d:\"M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z\"}}]}};\nHbV=function(W){var Y=W(),k=Y&127;if(Y<128)return k;Y=W();k|=(Y&127)<<7;if(Y<128)return k;Y=W();k|=(Y&127)<<14;if(Y<128)return k;Y=W();return Y<128?k|(Y&127)<<21:Infinity};\nCWq=function(W){return W.displayName||W.name||\"unknown type name\"};\nHW=function(W,Y,k,P){g.D.call(this);this.K=Y;this.H7=k;this.P6=P;this.W=W(this,this,this,this,this);g.m(this,this.W);W=g.e(Y);for(Y=W.next();!Y.done;Y=W.next())g.m(this,Y.value)};\nZz6=function(W){var Y;return((Y=DS(W.qq.get(),2))==null?void 0:Y.clientPlaybackNonce)||\"\"};\nfN5=function(W,Y,k,P,T,I,X,h){this.Wa=W;this.Cg=Y;this.sP=k;this.K=P;this.Tq=T;this.W=I;this.P6=X;this.qq=h};\nME2=function(W,Y,k,P){var T=iH(),I=(k=T||k&&tp())?[\"com.youtube.fairplay\"]:[\"com.widevine.alpha\"];Y&&I.unshift(\"com.youtube.widevine.l3\");T&&P&&I.unshift(\"com.youtube.fairplay.sbdl\");return k?I:W?[].concat(g.cp(I),g.cp(izV.playready)):[].concat(g.cp(izV.playready),g.cp(I))};\ntEF=function(W,Y,k){var P=g.vL(Y.pg)&&!Y.pg.X;if(Y.pg.yL&&(om(Y.pg)||Y.pg.TJ===\"shortspage\"||rn(Y.pg)||P)&&!W.J){W.J=!0;W.X=Y.clientPlaybackNonce;g.o_(\"TIMING_ACTION\")||V1(\"TIMING_ACTION\",W.zJ.csiPageType);W.zJ.csiServiceName&&V1(\"CSI_SERVICE_NAME\",W.zJ.csiServiceName);if(W.W){P=W.W.w_();for(var T=g.e(Object.keys(P)),I=T.next();!I.done;I=T.next())I=I.value,aj(I,P[I],W.timerName);P=g.nT(Ox1)(W.W.jz);g.lN(P,W.timerName);P=W.W;P.W={};P.jz={}}g.lN({playerInfo:{visibilityState:g.nT(IK5)()},playerType:\"LATENCY_PLAYER_HTML5\"},\nW.timerName);W.C!==Y.clientPlaybackNonce||Number.isNaN(W.K)||(IQ(\"_start\",W.timerName)?k=g.nT(h$)(\"_start\",W.timerName)+W.K:g.Jx(new g.M6(\"attempted to log gapless pbs before CSI timeline started\",{cpn:Y.clientPlaybackNonce})));k&&!IQ(\"pbs\",W.timerName)&&BF(W,k)}};\nFl=function(W,Y){MB(W,1,Y.clientInfo,q4v,3);HL(W,2,Y.qX);HL(W,3,Y.playbackCookie);HL(W,4,Y.C8);if(Y.y$)for(var k=0;k0){var X=Y.onTimeout;var h=g.LB(function(){T||(T=!0,I.abort(),g.FK(h),X.call(Y.context||g.hL,I))},P)}return I};\nCr=function(W,Y){Y=Y?Y.Jo:!1;W.T||(W.T=iF(27,W.K,Y));return W.T};\nGW1=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next()){k=k.value;var P=k.interstitials.map(function(X){var h=g.R(X,n0F);if(h)return{is_yto_interstitial:!0,raw_player_response:h};if(X=g.R(X,pnF))return Object.assign({is_yto_interstitial:!0},DX(X))});\nP=g.e(P);for(var T=P.next();!T.done;T=P.next())switch(T=T.value,k.podConfig.playbackPlacement){case \"INTERSTITIAL_PLAYBACK_PLACEMENT_PRE\":W.interstitials=W.interstitials.concat({time:0,playerVars:T,WH:5});break;case \"INTERSTITIAL_PLAYBACK_PLACEMENT_POST\":W.interstitials=W.interstitials.concat({time:0x7ffffffffffff,playerVars:T,WH:6});break;case \"INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME\":var I=Number(k.podConfig.timeToInsertAtMillis);W.interstitials=W.interstitials.concat({time:I,playerVars:T,\nWH:I===0?5:7})}}};\nE07=function(W){W.T=h,B=W.H6.isManifestless,X){var O;if(((O=W.W)==null?void 0:O.w5.event)===\"predictStart\"&&W.W.t50&&g.ee(Y.K.element);P.classList.add(\"ytp-timely-actions-overlay\");Y.K.element.appendChild(P)});\ng.m(this,this.K);this.U(\"web_player_overlay_positioned_layout\")?this.events.Z(W,\"basechromeinitialized\",function(){Y.api.R3(Y.K.element,4,!0);Y.K.element.setAttribute(\"data-overlay-order\",\"10\")}):g.Fw(this.api,this.K.element,4)};\ng.t3=function(W,Y,k){if(Y instanceof g.z6){var P=Y.x;Y=Y.y}else P=Y,Y=k;W.style.left=g.ev(P,!1);W.style.top=g.ev(Y,!1)};\nUsV=function(){var W=[\"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model\",\"metadata_type_linked_player_bytes_layout_id\"];Nd().forEach(function(Y){W.push(Y)});\nreturn{ya:W,EV:[\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\"]}};\nlG2=function(W,Y,k,P){P=P===void 0?!1:P;Y=new s1v(Y||W,k||W);return{x:W.x+((P===void 0?0:P)?Y.W*-1:Y.W)*.2,y:W.y+((P===void 0?0:P)?Y.K*-1:Y.K)*.2}};\nnhz=function(W){W.W.unsubscribe(\"internalvideodatachange\",W.gi,W);W.K.unsubscribe(\"internalvideodatachange\",W.gi,W);W.GW.V().U(\"html5_gapless_use_format_info_fix\")&&(W.W.unsubscribe(\"internalvideoformatchange\",W.gi,W),W.K.unsubscribe(\"internalvideoformatchange\",W.gi,W));W.W.unsubscribe(\"mediasourceattached\",W.gi,W);W.K.unsubscribe(\"statechange\",W.Pg,W)};\nEn5=function(W){return new Promise(function(Y,k){B67(W,Y,k)})};\nbzC=function(W,Y,k){W.K=W.H6.W[Y];W.G=W.K;return new Pr(W.G,W.J,k?\"t\":\"m\")};\nWa=function(W,Y){g.oq(W.C,Y)||(W.C.push(Y),Y.WS(W.W),Y.FL(W.T),Y.GX()&&(W.N=!0))};\ng.Dk=function(W){return Fp(W)===\"WEB_MUSIC_INTEGRATIONS\"};\nc6d=function(W,Y,k,P,T){this.Wa=W;this.sP=Y;this.er=k;this.W=P;this.i8=T};\nOVF=function(W){this.api=W;this.W={}};\naGX=function(){var W=xs7(1E3,\"NO_BID\");return g.fGV(f5F([VE5(),W]).MA(NRX),function(){W.cancel()})};\nmg7=function(W,Y){W.policy.N?W.W.splice(W.W.indexOf(Y)).forEach(function(k){k.dispose()}):(W.W.pop(),Y==null||Y.dispose())};\nQ_=function(W,Y,k,P,T){Qy.call(this,W,Y,k,P);W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,T,W,k.layoutId)};\nq7=function(W,Y,k){if(typeof W===\"string\")return{videoId:W,startSeconds:Y,suggestedQuality:k};Y={};k=g.e(WOS);for(var P=k.next();!P.done;P=k.next())P=P.value,W[P]&&(Y[P]=W[P]);if(W=W.embedConfig||W.embed_config)if(typeof W===\"string\")Y.embed_config=W;else if(g.XG(W))try{var T=JSON.stringify(W);Y.embed_config=T}catch(I){console.error(\"Invalid embedConfig JSON\",I)}return Y};\nYZX=function(W,Y,k){var P,T=((P=k.video)==null?void 0:P.fps)||0;P=Y+\"_\"+T;var I=!!k.audio,X={itag:k.itag,lz:Y,xH:I};if(I)X.numChannels=k.audio.numChannels;else{var h=k.video;X.maxWidth=h==null?void 0:h.width;X.maxHeight=h==null?void 0:h.height;X.maxFramerate=T;LZ(W,Up.BITRATE)&&(X.maxBitrateBps=k.c6*8);X.PE=h==null?void 0:h.isHdr()}h=W.W.get(P);h?I||(k=Math.max(h.maxWidth||0,h.maxHeight||0)>Math.max(X.maxWidth||0,X.maxHeight||0)?h:X,Y={itag:k.itag,lz:Y,xH:I,maxWidth:Math.max(h.maxWidth||0,X.maxWidth||\n0),maxHeight:Math.max(h.maxHeight||0,X.maxHeight||0),maxFramerate:T,PE:k.PE},LZ(W,Up.BITRATE)&&(Y.maxBitrateBps=k.maxBitrateBps),W.W.set(P,Y)):W.W.set(P,X)};\n$qz=function(W){var Y,k,P,T,I;return(I=g.R((T=g.R((Y=W.getWatchNextResponse())==null?void 0:(k=Y.playerOverlays)==null?void 0:(P=k.playerOverlayRenderer)==null?void 0:P.decoratedPlayerBarRenderer,dY))==null?void 0:T.playerBar,Yb5))==null?void 0:I.chapters};\nkMS=function(W,Y,k){if(!Y)return W.length>=1?W[W.length-1]:null;for(var P=g.e(W),T=P.next();!T.done;T=P.next())if(T=T.value,T.width&&T.height&&(k&&T.width>=Y||!k&&T.height>=Y))return T;for(Y=W.length-1;Y>=0;Y--)if(k&&W[Y].width||!k&&W[Y].height)return W[Y];return W[0]};\nPf5=function(W,Y){return hVd(function(k){return k.publicName===W&&k.userIdentifier!==void 0},Y)};\nW1q=function(W){var Y;if((Y=W.api.getVideoData())==null||!BZ(Y)){Y=fT(W);Yu(W,Y,W.A5,Math.max(Y.K,W.A5),\"HOVER_PROGRESS\");for(var k=fb(W,Y.W*W.A5,!0),P=fb(W,Y.J,!0),T=k;T<=P;T++)g.ML(W.W[T].J,\"ytp-hover-progress-light\",Y.K>W.A5);g.ML(W.fN,\"ytp-scrubber-button-hover\",k===P&&W.W.length>1);if(W.api.U(\"web_player_heat_map_played_bar\")){var I;(I=W.T[0])!=null&&I.W.setAttribute(\"width\",(Y.K*100).toFixed(2)+\"%\")}}};\n$VS=function(){this.J=void 0;this.K=this.X=0;this.C=-1;this.gZ=new yz;n$(this.gZ,\"mv\",TW5).W=!0;n$(this.gZ,\"omid\",ac);n$(this.gZ,\"epoh\",ac).W=!0;n$(this.gZ,\"epph\",ac).W=!0;n$(this.gZ,\"umt\",ac).W=!0;n$(this.gZ,\"phel\",ac).W=!0;n$(this.gZ,\"phell\",ac).W=!0;n$(this.gZ,\"oseid\",jRd).W=!0;var W=this.gZ;W.W.sloi||(W.W.sloi=new sG);W.W.sloi.W=!0;n$(this.gZ,\"mm\",IA7);n$(this.gZ,\"ovms\",XVX).W=!0;n$(this.gZ,\"xdi\",ac).W=!0;n$(this.gZ,\"amp\",ac).W=!0;n$(this.gZ,\"prf\",ac).W=!0;n$(this.gZ,\"gtx\",ac).W=!0;n$(this.gZ,\n\"mvp_lv\",ac).W=!0;n$(this.gZ,\"ssmol\",ac).W=!0;n$(this.gZ,\"fmd\",ac).W=!0;n$(this.gZ,\"gen204simple\",ac);this.W=new wgS(vZ(),this.gZ);this.T=!1;this.flags=new wrV};\nSbX=function(W,Y,k,P,T,I,X,h){g.x5.call(this);var B=this;this.api=W;this.C=Y;this.contextMenu=k;this.EU=P;this.qt=T;this.W=I;this.X=X;this.progressBar=h;this.T=new g.fC(function(){cQ7(B,!1)},1E3);\nthis.K=\"\";this.J={WE:!1,Ov:!1,SE:!1};g.m(this,this.T);this.Z(Y,\"mousedown\",function(){RW(B,!1)});\nthis.Z(k.element,\"mousedown\",function(){RW(B,!1)});\nthis.Z(Y,\"keydown\",this.ZH);this.Z(k.element,\"keydown\",this.ZH);this.Z(Y,\"keyup\",this.fQ);this.Z(k.element,\"keyup\",this.fQ)};\nNx=function(W){g.D.call(this);this.W=W;this.ey=!0;this.Ym=new Map;this.C=new Set;this.J=new Set;this.T=new Set;this.X=new Set;this.K=new Set};\nTqd=function(W,Y){var k=!1;if(Y===\"\")return k;Y.split(\",\").forEach(function(P){var T={},I={clientName:\"UNKNOWN_INTERFACE\",platform:\"UNKNOWN_PLATFORM\",clientVersion:\"\"},X=\"ACTIVE\";P[0]===\"!\"&&(P=P.substring(1),X=\"INACTIVE\");P=P.split(\"-\");P.length<3||(P[0]in hiv&&(I.clientName=hiv[P[0]]),P[1]in BW0&&(I.platform=BW0[P[1]]),I.applicationState=X,I.clientVersion=P.length>2?P[2]:\"\",T.remoteClient=I,W.remoteContexts?W.remoteContexts.push(T):W.remoteContexts=[T],k=!0)});\nreturn k};\nusV=function(W,Y,k){var P=k.reason===\"m\"||k.reason===\"s\";W.policy.gS&&iz&&g.nV&&(!P||k.W<1080)&&(Y=Y.filter(function(O){return O.video&&(!O.K||O.K.powerEfficient)}));\nif(Y.length>0)if(Bl()){var T=OlS(W,Y);Y=Y.filter(function(O){return!!O&&!!O.video&&O.lz===T[O.video.qualityOrdinal].lz})}else{var I,X,h=(I=Y[0])==null?void 0:(X=I.video)==null?void 0:X.qualityOrdinal;\nif(h){k=Y.filter(function(O){return!!O&&!!O.video&&O.video.qualityOrdinal===h});\nvar B=OlS(W,k)[h].lz;Y=Y.filter(function(O){return!!O&&!!O.video&&O.lz===B})}}return Y};\nP$d=function(W,Y,k,P,T){jy(k,Y);P=P||\"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK\";var I=U5({cttAuthInfo:lD(Y)||void 0},Y);k={csn:Y,ve:k.getAsJson(),gestureType:P};T&&(k.clientData=T);Y===\"UNDEFINED_CSN\"?bD(\"visualElementGestured\",I,k):W?cJ(\"visualElementGestured\",k,W,I):g.qc(\"visualElementGestured\",k,I)};\niu=function(W,Y){if(Y==0)return W.W;if(Y==1)return W.K;var k=AU(W.W,W.J,Y),P=AU(W.J,W.T,Y);W=AU(W.T,W.K,Y);k=AU(k,P,Y);P=AU(P,W,Y);return AU(k,P,Y)};\nCNF=function(W,Y){if(!Y)return!1;var k=W.api.bd();if(k.vr()&&(k=k.Tn())&&g.MG(k,Y))return k.controls;for(k=0;k0;)switch(W=R9.shift(),W.type){case \"ERROR\":qn.kJ(W.payload);break;case \"EVENT\":qn.logEvent(W.eventType,W.payload)}};\nds=function(W){var Y=cR(W.ownerDocument);Y&&W.setAttribute(\"nonce\",Y)};\nfA=function(W,Y){this.K=W;this.W=Y};\ngm=function(W,Y){g.Ia.call(this,g.XE({role:\"menuitemcheckbox\",\"aria-checked\":\"false\"}),Y,W,{S:\"div\",j:\"ytp-menuitem-toggle-checkbox\"});this.checked=!1;this.enabled=!0;this.listen(\"click\",this.onClick)};\nqbd=function(W,Y,k){g.x5.call(this);var P=this;this.Y=W;this.gD=Y;this.EU=k;this.Lg=NaN;this.wD=this.rD=this.playButton=this.C=this.X=this.V5=this.Fr=this.Kg=this.A5=this.W=this.L=this.Q5=this.OS=this.e1=null;this.T=new MW2(this.Y);this.progressBar=new g.aP(this.Y,this.gD);this.TJ=new g.HF(this.Y,this.gD);this.bz=new tW2(this.Y,this.gD);this.N=new g.uC(this.QF,null,this);k=W.V();this.EU.subscribe(\"autohideupdate\",this.L0,this);var T=!W.getPlayerStateObject().isCued(),I;(this.K1=!W.U(\"delhi_modern_web_player\")&&\nW.V().U(\"html5_player_dynamic_bottom_gradient\"))?this.Q5=I=new Ch(W):I=new g.c({S:\"div\",j:\"ytp-gradient-bottom\"});g.m(this,I);g.Fw(W,I.element,9);this.UP=new g.fH(I,250,T,100);g.m(this,this.UP);this.K=new g.c({S:\"div\",j:\"ytp-chrome-bottom\",B:[{S:\"div\",j:\"ytp-chrome-controls\"}]});g.m(this,this.K);g.Fw(W,this.K.element,9);this.OP=new g.fH(this.K,250,T,100);g.m(this,this.OP);this.GJ=this.K.element.children[0];g.m(this,this.T);g.Fw(W,this.T.element,6);this.T.subscribe(\"show\",function(O){P.Y.Sn(!O);W.q1(P.T,\nO)});\ng.m(this,this.progressBar);this.progressBar.S1(this.K.element,0);T=new nd(W,Y);g.m(this,T);g.Fw(W,T.element,4);T=new g.ml({S:\"div\",j:\"ytp-left-controls\"});g.m(this,T);T.S1(this.GJ);W.U(\"delhi_modern_web_player\")||(I=new g.W1(W,Y,!1),g.m(this,I),I.S1(T.element));W.U(\"web_render_jump_buttons\")&&(this.A5=new m4(W,-10),g.m(this,this.A5),this.A5.S1(T.element));k.Fr||(this.playButton=new g.A1(W,Y),g.m(this,this.playButton),this.playButton.S1(T.element));W.U(\"web_render_jump_buttons\")&&(this.Kg=new m4(W,\n10),g.m(this,this.Kg),this.Kg.S1(T.element));W.U(\"delhi_modern_web_player_remove_nav_buttons\")||(W.U(\"delhi_modern_web_player\")&&(I=new g.W1(W,Y,!1),g.m(this,I),I.S1(T.element)),I=new g.W1(W,Y,!0),g.m(this,I),I.S1(T.element));if(!W.U(\"delhi_modern_web_player\")||W.U(\"delhi_modern_web_player_horizontal_volume_controls\"))if(I=new g.c({S:\"span\",j:\"ytp-volume-area\"}),g.m(this,I),I.S1(T.element),!k.xq&&(this.W=new pd(W,Y),g.m(this,this.W),this.W.S1(I.element),k.OP&&!k.G)){var X=new DG(W,this.K.element);\nthis.rD=X;g.m(this,X);X.S1(I.element);I=new g.C2(I.element);g.m(this,I);I.subscribe(\"hoverstart\",function(){var O;(O=P.rD)==null||L9F(O,!0)});\nI=new g.C2(T.element);g.m(this,I);I.subscribe(\"hoverend\",function(){var O;(O=P.rD)==null||L9F(O,!1)})}W.U(\"delhi_modern_web_player_lhs_volume_controls\")&&!W.U(\"delhi_modern_web_player_horizontal_volume_controls\")&&(T.element.classList.add(\"ytp-left-controls-with-volume\"),this.W=new pd(W,Y),g.m(this,this.W),this.W.S1(T.element),this.W.element.classList.add(\"ytp-standalone-mute-button\"));\ng.m(this,this.TJ);this.TJ.S1(T.element);this.Fr=new vE(W,this.progressBar);g.m(this,this.Fr);this.Fr.S1(T.element);k.U(\"web_key_moments_markers\")&&(this.V5=new Z7(W,this.progressBar),g.m(this,this.V5),this.V5.S1(T.element));W.U(\"delhi_modern_web_player\")?this.J=new g.ml({S:\"div\",j:\"ytp-right-controls\",B:[{S:\"div\",j:Gd.RIGHT_CONTROLS_LEFT},{S:\"div\",j:Gd.RIGHT_CONTROLS_RIGHT}]}):this.J=new g.ml({S:\"div\",j:\"ytp-right-controls\"});g.m(this,this.J);this.J.S1(this.GJ);W.U(\"delhi_modern_web_player\")&&(this.L=\nnew Kk,g.m(this,this.L),this.L.S1(this.J.J5(Gd.RIGHT_CONTROLS_LEFT)),W.U(\"delhi_modern_web_player_lhs_volume_controls\")||W.U(\"delhi_modern_web_player_horizontal_volume_controls\")||(this.W=new pd(W,Y),g.m(this,this.W),this.W.S1(this.J.J5(Gd.RIGHT_CONTROLS_LEFT))));this.A9=new Sq(W,Y);g.m(this,this.A9);Kd(this,this.A9,\"RIGHT_CONTROLS_LEFT\");this.settingsButton=new ES(W,this.T);g.m(this,this.settingsButton);GoS(this.T,this.settingsButton);Kd(this,this.settingsButton,\"RIGHT_CONTROLS_LEFT\");T=W.getVideoData();\nif(k.vV||T.zr&&k.controlsType===\"1\")this.X=new J3(W,Y),g.m(this,this.X),this.X.S1(this.J.element);k.showMiniplayerButton&&!W.U(\"web_player_miniplayer_in_context_menu\")&&(this.C=new sS(W),g.m(this,this.C),Kd(this,this.C,\"RIGHT_CONTROLS_RIGHT\"));k.NA&&(Y=new q0(W,this.T),g.m(this,Y),Kd(this,Y,\"RIGHT_CONTROLS_RIGHT\"));k.y7&&(Y=new r$(W),g.m(this,Y),Kd(this,Y,\"RIGHT_CONTROLS_RIGHT\"));g.m(this,this.bz);Kd(this,this.bz,\"RIGHT_CONTROLS_RIGHT\");g.m(this,this.N);this.Z(W,\"appresize\",this.Rb);this.Z(W,\"fullscreentoggled\",\nthis.Rb);var h;(h=this.L)==null||h.subscribe(\"small-mode-expand-right-bottom-controls\",function(){$N0(P)});\nvar B;(B=this.L)==null||B.subscribe(\"small-mode-collapse-right-bottom-controls\",function(){$N0(P)});\nthis.Z(W,\"presentingplayerstatechange\",this.G6);this.Z(W,\"videodatachange\",this.onVideoDataChange);this.Rb()};\ng.Riz=function(W){var Y=W.V();return Y.DY&&!Y.J&&g.hN(Y)?W.isEmbedsShortsMode()?(W=W.Hu(),Math.min(W.width,W.height)>=315):!W.jy():!1};\nA3=function(){};\nn92=function(W){if(g.vL(W)&&Hld)return!1;if(g.r9){if(!g.XK(47)||!g.XK(52)&&g.XK(51))return!1}else if(g.nV)return!1;return window.AudioContext||window.webkitAudioContext?!0:!1};\npVS=function(W){var Y;if(((Y=W.adVideoOffset)==null?void 0:Y.kind)!==\"AD_VIDEO_PROGRESS_KIND_MILLISECONDS\")return!1;var k;return((k=W.adVideoOffset)==null?void 0:k.milliseconds)!=null&&!isNaN(Number(W.adVideoOffset.milliseconds))};\nm3=function(W,Y,k){k=k===void 0?{}:k;zd.call(this,W,Y,\"\",void 0,void 0,k.Lh||0);this.index=new d$(k)};\nn35=function(W,Y){YvC(W.program,Y.ma1)&&(Xc(\"bg_i\",void 0,\"player_att\"),g.Jh.initialize(W,function(){Xc(\"bg_l\",void 0,\"player_att\");s5=(0,g.lj)()},Y.cspNonce,Y.xf))};\nGMC=function(W,Y,k,P,T,I){I=I===void 0?!0:I;var X=W.hT();if(!X)return I&&W.getVideoData().isLivePlayback&&W.Xa.push({id:Y,FrS:k,XKa:P}),!1;I=X-W.getCurrentTime();return c1(W,Y,k-I,P-I,void 0,void 0,T)};\nE91=function(W,Y){W.playbackData=Y;W.videoData.isLivePlayback&&(W.L=new KOd(function(){a:{if(W.playbackData&&W.playbackData.W.W){if(c3(W.videoData)&&W.loader){var P=W.loader.BQ.le()||0;break a}if(W.videoData.W){P=W.videoData.W.OP;break a}}P=0}return P}),W.W=new Db(W.videoData,W.zJ.experiments,function(){return W.M6(!0)}));\nif(Gh(W.W6)){var k;(k=W.videoData.YF)!=null&&k.d4||(Y=Fb1(W),Y.nZ?(w9(W.videoData)&&W.wk(Y.nZ,Y.startSeconds),W.J=Y.startSeconds):Y.startSeconds>0&&W.seekTo(Y.startSeconds,{Fi:\"seektimeline_startPlayback\",seekSource:15}));W.N=!1}else rk(W)||(W.J=W.J||W.videoData.startSeconds||0,W.videoData.isLivePlayback||(Y=W.W6.videoData.M6(),W.J>Y&&(W.U(\"html5_sabr_log_invalid_sabr_current_time\")&&W.W6.y5(\"invalidSabrCmtStart\",{rt:W.J,mst:Y}),W.U(\"html5_sabr_vod_invalid_start_time_fallback\")&&(W.J=0))))};\noFd=function(W,Y,k,P){if(!W.Xr()){P&&(j4={keySystem:Y.keySystem,keySystemAccess:k,VWz:JSON.stringify(P)});Y.keySystemAccess=k;if(JR(Y)){k=XI();P=g.e(Object.keys(W.W[Y.flavor]));for(var T=P.next();!T.done;T=P.next())T=T.value,Y.W[T]=!!k.canPlayType(T)}else{k=Y.keySystemAccess.getConfiguration();if(k.audioCapabilities)for(P=g.e(k.audioCapabilities),T=P.next();!T.done;T=P.next())Y.W[T.value.contentType]=!0;if(k.videoCapabilities)for(k=g.e(k.videoCapabilities),P=k.next();!P.done;P=k.next())Y.W[P.value.contentType]=\n!0}W.T.push(Y);W.useCobaltWidevine||W.U(\"html5_enable_vp9_fairplay\")&&Y8(Y)?(W.K.shift(),XQ(W)):W.callback(W.T)}};\nSD=function(W){EW.call(this,W.callback,W.slot,W.Xu,W.sP,W.i8,W.qq,W.Cg,W.CH,W.UR,W.rX,W.MS,W.lE,W.VV,W.P6,W.Bw,W.E6,W.context);var Y=this;this.adCpn=\"\";this.tV=this.wQ=0;this.m8=az(function(){LKz(Jt(Y));Y.JE.Vi(Y.slot,Y.layout)});\nthis.VS=az(function(){UVd(Jt(Y));Y.NT!==\"rendering_stop_requested\"&&Y.MS(Y);Y.layoutExitReason?Y.JE.oI(Y.slot,Y.layout,Y.layoutExitReason):lp5(Y)});\nthis.a6=W.a6;this.JT=W.JT;this.wZ=W.wZ;this.RI=W.RI;this.fu=W.fu;this.MS=W.MS;if(!this.OU()){v7(this.P6.get(),\"html5_disable_media_load_timeout\")||(this.Ev=new g.fC(function(){Y.JP(\"load_timeout\",new Fn(\"Media layout load timeout.\",{},\"ADS_CLIENT_ERROR_MESSAGE_MEDIA_LAYOUT_LOAD_TIMEOUT\",!0),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")},1E4));\nW=ld(this.P6.get());var k=ho(this.P6.get());W&&k&&(this.RP=new g.fC(function(){var P=kW(Y.layout.clientMetadata,\"metadata_type_preload_player_vars\");P&&Y.JT.get().Y.preloadVideoByPlayerVars(P,2,300)}))}};\nMYS=function(){var W=window.location.protocol,Y=vT.getEntriesByType(\"resource\");Y=g.HE(Y,function(k){return k.name.indexOf(W+\"//fonts.gstatic.com/s/\")===0});\n(Y=Nq(Y,function(k,P){return P.duration>k.duration?P:k},{duration:0}))&&Y.startTime>0&&Y.responseEnd>0&&(Q5(\"wffs\",hH(Y.startTime)),Q5(\"wffe\",hH(Y.responseEnd)))};\nfJ=function(W,Y){W=Error.call(this,W);this.message=W.message;\"stack\"in W&&(this.stack=W.stack);this.W=Y===void 0?!1:Y};\nQk1=function(W,Y){g.MK(W.info.W.info)||W.info.W.info.pN();W.J=Y;if(g.MK(W.info.W.info)){var k=g.tB(W);W=W.info.W.W;for(var P=NaN,T=NaN,I=0;FP(k,I);){var X=ww(k,I);isNaN(P)&&(X.type===1936286840?P=X.data.getUint32(X.dataOffset+8):X.type===1836476516&&(P=g.Es(X)));if(X.type===1952867444){!P&&W&&(P=Jl(W));var h=g.OM(X);isNaN(T)&&(T=Math.round(Y*P)-h);var B=X;h+=T;if(B.data.getUint8(B.dataOffset)){var O=B.data;B=B.dataOffset+4;O.setUint32(B,Math.floor(h/4294967296));O.setUint32(B+4,h&4294967295)}else B.data.setUint32(B.dataOffset+\n4,h)}I=Ct(X.type)?I+8:I+X.size}return!0}k=new qK(g.tB(W));W=W.C?k:new qK(new DataView(W.info.W.W.buffer));P=fn(W);W=k.pos;k.pos=0;if(Fc(k)&&NR(k,231))if(T=ce(k,!0),Y=Math.floor(Y*1E9/P),Math.ceil(Math.log(Y)/Math.log(2)/8)>T)Y=!1;else{for(P=T-1;P>=0;P--)k.W.setUint8(k.pos+P,Y&255),Y>>>=8;k.pos=W;Y=!0}else Y=!1;return Y};\nwx=function(W){sE.call(this,W);var Y=this;this.T=this.J=!1;this.K=new g.x5(W);g.m(this,this.K);this.N=\"2x\";this.speedmasterUserEdu=new DZ(W,this.N);g.m(this,this.speedmasterUserEdu);g.Fw(this.api,this.speedmasterUserEdu.element,4);this.W=new g.C2(this.api.ai().M0,!0,null,!1,!0);g.m(this,this.W);this.delay=new g.fC(this.gD,500,this);g.m(this,this.delay);this.K.Z(W,\"videodatachange\",function(){g$(Y)},this);\nthis.K.Z(W,\"presentingplayerstatechange\",function(){g$(Y)},this);\nthis.K.Z(W,\"autonavvisibility\",function(){g$(Y)},this);\nthis.api.qz().subscribe(\"visibilitystatechange\",function(){g$(Y)});\nthis.K.Z(W,\"rootnodemousedown\",function(k){Y.G=k});\nthis.U(\"web_speedmaster_spacebar_control\")&&(this.K.Z(W,\"keyboardserviceglobalkeydown\",function(k,P){Y.A5=P;BUv(Y,k,P.Ov,!0)},this),this.K.Z(W,\"keyboardserviceglobalkeyup\",function(k){BUv(Y,k,!1,!1)},this))};\nX9z=function(W){if(g.dS(\"offline_error_handling\")){var Y=$k().get(\"errors\",!0)||{};Y[W.message]={name:W.name,stack:W.stack};W.level&&(Y[W.message].level=W.level);$k().set(\"errors\",Y,2592E3,!0)}};\nJDz=function(W,Y,k){W.X=Y;W.C=k};\ng.lz=function(W,Y,k,P){g.D.call(this);var T=this;this.logger=new g.M_(\"App\");this.Es=this.XK=!1;this.yW={};this.Xa=[];this.ij=!1;this.XN=null;this.intentionalPlayback=!1;this.EG=!0;this.dh=!1;this.OS=this.XH=this.c8=null;this.R2=!0;this.mediaElement=this.u8=null;this.Ol=NaN;this.Y9=!1;this.DS=this.W1=this.cz=this.screenLayer=this.playlist=null;this.tG=[];this.K$=0;this.zW={Ln:function(){return T.ud},\ngBD:function(){return T.cz}};\nthis.logger.debug(\"constructor begin\");if(!k)throw Error(\"b/179532961\");this.wv=(Y==null?void 0:Y.args)||{};this.webPlayerContextConfig=k;ilq();Y=this.wv;this.zJ=new sRz(Y,k,k.canaryState,P,this);g.m(this,this.zJ);if(this.U(\"html5_player_intkey\")){var I=this.Qn(),X=this.Dp();P=I==null?void 0:I.W.Ik(rDd);I=I==null?void 0:I.W.Ik(ADd);var h=X==null?void 0:X.W.Ik(zid);X=X==null?void 0:X.W.Ik(dqC);this.TP(\"intkey\",{input:k.serializedClientExperimentFlags,ub:\"\"+P,ui:\"\"+I,cb:\"\"+h,ci:\"\"+X})}ru6(this.zJ);\nk=sv5(this.zJ);this.zJ.OR()&&this.TP(\"h5vcc\",k);this.zJ.experiments.Nq(\"jspb_serialize_with_worker\")&&mq5();this.zJ.experiments.Nq(\"gzip_gel_with_worker\")&&Dqd();this.zJ.K&&!g9q&&(window.addEventListener(Fy?\"touchstart\":\"click\",jjF,{capture:!0,passive:!0}),g9q=!0);this.U(\"html5_onesie\")&&(this.Dx=new w$(this.zJ),g.m(this,this.Dx));this.qJ=ud(om(this.zJ)&&!0,Y.enablesizebutton);this.Ql=ud(!1,Y.player_wide);this.visibility=new tn;g.m(this,this.visibility);this.U(\"web_log_theater_mode_visibility\")&&\nthis.D8(ud(!1,Y.player_wide));this.XK=ud(!1,Y.external_list);this.events=new g.x5(this);g.m(this,this.events);this.U(\"start_client_gcf\")&&(gz(jj(),{R0:X9,jE:AW7()}),this.cY=jj().resolve(X9),Lyq(this.cY));this.tWP=new RJ;g.m(this,this.tWP);this.mf=new Jf1;k=new H1;this.Ii=new g.QA(this,k);g.m(this,this.Ii);this.template=new r7(this);g.m(this,this.template);this.appState=1;this.VH=Br7(this);g.m(this,k);k={};this.xE=(k.internalvideodatachange=this.mw,k.playbackready=this.Lhg,k.playbackstarted=this.hS2,\nk.statechange=this.M1J,k);this.E5=new UD(this.Ii);this.eL=FOC(this);k=this.zJ.X;!1!==k&&this.TP(\"badps\",{hbp:k,hostname:window.location.hostname,ps:this.zJ.playerStyle});this.C1=new CQ(this.zJ,this.eL);this.Ii.publish(\"csiinitialized\");(this.webPlayerContextConfig.wasmModuleUrl||ms(this.eL))&&wVd(this);k=10;g.l_(this.zJ)&&(k=3);YV(this.zJ)&&(k=g.je(this.zJ.experiments,\"tvhtml5_unplugged_preload_cache_size\"));this.ud=new g.yA(this.Ii,k);k=QRS(this);this.ud.kU(k);Yjd(this);k={};this.HR=(k.airplayactivechange=\nthis.vqg,k.airplayavailabilitychange=this.iH5,k.beginseeking=this.JTz,k.sabrCaptionsDataLoaded=this.Xah,k.endseeking=this.TZ5,k.internalAbandon=this.S1S,k.internalaudioformatchange=this.Pd6,k.internalvideodatachange=this.IY5,k.internalvideoformatchange=this.jI5,k.liveviewshift=this.Cd5,k.playbackstalledatstart=this.m6P,k.progresssync=this.sIS,k.onAbnormalityDetected=this.Ko1,k.onSnackbarMessage=this.GWJ,k.onLoadProgress=this.gq6,k.SEEK_COMPLETE=this.Foz,k.SEEK_TO=this.HHJ,k.onVideoProgress=this.ZHJ,\nk.onLoadedMetadata=this.ui5,k.onAutoplayBlocked=this.wah,k.onPlaybackPauseAtStart=this.U6i,k.playbackready=this.nqS,k.statechange=this.r6,k.newelementrequired=this.Vp,k.heartbeatparams=this.oq2,k.videoelementevent=this.x6P,k.drmoutputrestricted=this.paS,k.signatureexpired=this.q11,k.nonfatalerror=this.Y11,k.reloadplayer=this.OHP,k);this.l2=new g.x5(this);g.m(this,this.l2);this.eT=new eo;g.m(this,this.eT);this.lI=this.wN=-1;this.XX=new g.fC(this.template.resize,16,this.template);g.m(this,this.XX);\nthis.Ha=new yDC(this.Ii,this.zJ,this.zn(),this);this.gs=new oW(this);g.m(this,this.gs);this.Hh=new vF(this);g.m(this,this.Hh);Iq0(this.zJ.W.c);this.events.Z(this.Ii,g.OQ(\"appapi\"),this.l25);this.events.Z(this.Ii,g.ut(\"appapi\"),this.eS5);this.events.Z(this.Ii,g.OQ(\"appprogressboundary\"),this.rT5);this.events.Z(this.Ii,g.ut(\"applooprange\"),this.IF);this.events.Z(this.Ii,\"presentingplayerstatechange\",this.OA);this.events.Z(this.Ii,\"resize\",this.Wy5);this.template.S1(GX(document,W));this.events.Z(this.Ii,\n\"offlineslatestatechange\",this.hmh);this.events.Z(this.Ii,\"sabrCaptionsTrackChanged\",this.ohJ);this.events.Z(this.Ii,\"sabrCaptionsBufferedRangesUpdated\",this.T55);this.eL.Y.V().Cn&&Ix(this.eL,\"offline\");this.zJ.rD&&g.Cd(\"ux\",g.Ld);W=g.je(this.zJ.experiments,\"html5_defer_fetch_att_ms\");this.YV=new g.fC(this.qUz,W,this);g.m(this,this.YV);this.Kq().Nt()&&(g.US()&&this.Kq().N.push(\"remote\"),eiC(this));this.C1.tick(\"fs\");N9d(this);this.zJ.rD&&Ix(this.eL,\"ux\",!0);g.hN(this.eL.Y.V())&&Ix(this.eL,\"embed\");\nthis.U(\"web_player_sentinel_is_uniplayer\")||g.Jx(new g.M6(\"Player experiment flags missing\",\"web_player_sentinel_is_uniplayer\"));W=this.U(\"web_player_sentinel_yt_experiments_sync\");k=g.dS(\"web_player_sentinel_yt_experiments_sync\");W!==k&&g.Jx(new g.M6(\"b/195699950\",{yt:W,player:k}));this.Fn=o90(this);if(W=g.je(this.zJ.experiments,\"html5_block_pip_safari_delay\"))this.vT=new g.fC(this.fb,W,this),g.m(this,this.vT);Lv=this.zJ.f1;this.Ii.publish(\"applicationInitialized\");this.logger.debug(\"constructor end\")};\ng.sV=function(){return{innertubeApiKey:g.o_(\"INNERTUBE_API_KEY\"),innertubeApiVersion:g.o_(\"INNERTUBE_API_VERSION\"),Ju:g.o_(\"INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO\"),Up:g.o_(\"INNERTUBE_CONTEXT_CLIENT_NAME\",\"WEB\"),Pv:g.o_(\"INNERTUBE_CONTEXT_CLIENT_NAME\",1),innertubeContextClientVersion:g.o_(\"INNERTUBE_CONTEXT_CLIENT_VERSION\"),Op:g.o_(\"INNERTUBE_CONTEXT_HL\"),nJ:g.o_(\"INNERTUBE_CONTEXT_GL\"),wG:g.o_(\"INNERTUBE_HOST_OVERRIDE\")||\"\",JV:!!g.o_(\"INNERTUBE_USE_THIRD_PARTY_AUTH\",!1),Ih:!!g.o_(\"INNERTUBE_OMIT_API_KEY_WHEN_AUTH_HEADER_IS_PRESENT\",\n!1),appInstallData:g.o_(\"SERIALIZED_CLIENT_CONFIG_DATA\")}};\nUj2=function(W,Y){var k=document.createElement(\"img\");W.crossOrigin&&(k.crossOrigin=W.crossOrigin);k.src=W.levels[Y.ZR].OV(Y.SV);k.onload=function(){var P=Y.ZR,T=Y.SV;W.W!==null&&(W.W.onload=null,W.W=null);P=W.levels[P];P.loaded.add(T);lhv(W);var I=P.columns*P.rows;T*=I;P=Math.min(T+I-1,P.tI()-1);T=[T,P];W.publish(\"l\",T[0],T[1])};\nreturn k};\nv95=function(W){W.playlist&&W.playlist.unsubscribe(\"shuffle\",W.onVideoDataChange,W)};\nbz=function(W){g.c.call(this,{S:\"button\",Ya:[\"ytp-replay-button\",\"ytp-button\"],D:{title:W.U(\"player_tooltip_data_title_killswitch\")?\"Replay\":\"\",\"data-tooltip-title\":\"Replay\"},B:[g.CfX()]});this.Y=W;this.Z(W,\"presentingplayerstatechange\",this.onStateChange);this.listen(\"click\",this.onClick,this);this.ZY(W.getPlayerStateObject());pt(this.Y,this.element,this)};\nUqq=function(W){W.C.textContent=LOz(W,W.W)+\"x\"};\nlAC=function(W,Y){if(pX(W,nX)||W.api.isMinimized())return!1;var k=fR(Y.title),P=fR(Y.description);if(g.Xi(k)||g.Xi(P))return!1;W.createServerVe(W.J.element,Y.trackingParams||null);W.J.updateValue(\"title\",fR(Y.title));W.J.updateValue(\"description\",fR(Y.description));W.J.updateValue(\"displayUrl\",fR(Y.displayUrl));Y.navigationEndpoint&&g.Ga(W.N,Y.navigationEndpoint);W.J.show();W.UP.start();W.logVisibility(W.J.element,!0);W.Z(W.J.element,\"mouseover\",function(){W.Kg++});\nreturn!0};\nmG=function(W){this.h5=rT(W)};\naX=function(){return dU(pk7)};\nT6=function(){return window.android&&window.android.webview&&window.android.webview.getExperimentalMediaIntegrityTokenProvider};\nbld=function(){cF.instance||(cF.instance=new cF);return cF.instance};\nV_5=function(W){for(var Y=\"\",k=0;kW.K&&Y.K+Y.J<=W.K+W.J};\ng.kT1=function(W){for(var Y in W)delete W[Y]};\nPiX=function(W,Y){g.Ia.call(this,g.XE({\"aria-haspopup\":\"false\"}),0,\"More options\");this.Y=W;this.Mq=Y;this.Z(this.element,\"click\",this.onClick);this.Mq.c7(this)};\nJnV=function(){g.D.apply(this,arguments);this.W=null};\nT71=function(W){W.Fr||(W.Fr=(0,g.lj)(),g.AR(\"vrb_f\",W.Fr,W.W))};\nhH=function(W){return Math.round(TG()+W)};\nFF6=function(W,Y,k,P,T){this.dP=Y;this.W=k;this.visible=P;this.layoutId=T;this.triggerType=\"TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED\";this.triggerId=W(this.triggerType)};\nyfC=function(W,Y){Y=Y===void 0?{}:Y;var k=Ih(W),P=g.o_(\"INNERTUBE_CLIENT_NAME\"),T=g.dS(\"web_ajax_ignore_global_headers_if_set\"),I;for(I in jJd){var X=g.o_(jJd[I]),h=I===\"X-Goog-AuthUser\"||I===\"X-Goog-PageId\";I!==\"X-Goog-Visitor-Id\"||X||(X=g.o_(\"VISITOR_DATA\"));var B;if(!(B=!X)){if(!(B=k||(g.TZ(W)?!1:!0))){B=W;var O;if(O=g.dS(\"add_auth_headers_to_remarketing_google_dot_com_ping\")&&I===\"Authorization\"&&(P===\"TVHTML5\"||P===\"TVHTML5_UNPLUGGED\"||P===\"TVHTML5_SIMPLY\")&&c9S(B))B=e6(B)||\"\",B=B.split(\"/\"),\nB=\"/\"+(B.length>1?B[1]:\"\"),O=B===\"/pagead\";B=O?!0:!1}B=!B}B||T&&Y[I]!==void 0||P===\"TVHTML5_UNPLUGGED\"&&h||(Y[I]=X)}\"X-Goog-EOM-Visitor-Id\"in Y&&\"X-Goog-Visitor-Id\"in Y&&delete Y[\"X-Goog-Visitor-Id\"];if(k||!g.TZ(W))Y[\"X-YouTube-Utc-Offset\"]=String(-(new Date).getTimezoneOffset());if(k||!g.TZ(W)){try{var u=(new Intl.DateTimeFormat).resolvedOptions().timeZone}catch(Z){}u&&(Y[\"X-YouTube-Time-Zone\"]=u)}document.location.hostname.endsWith(\"youtubeeducation.com\")||!k&&g.TZ(W)||(Y[\"X-YouTube-Ad-Signals\"]=\nw0(Qe()));return Y};\nIZ1=function(W){if(!(W instanceof Object))throw new TypeError(\"Iterator result \"+W+\" is not an object\");};\naW=function(W,Y,k,P){Du.call(this,W,Y,k,P);var T=this;this.C=null;this.zW={Vn:function(I,X,h,B){return T.Vn(I,X,h,B)}};\nthis.index=new g.Wo7};\nX16=function(W,Y,k){var P=W.QD?Math.max(Y,k/W.QD):Y,T=W.Sj.K.J;T&&(P=Y,W.QD&&(P=Math.max(Y,k/W.QD*T)));sz(W.Sj,Y,k,P)};\nWK=function(){};\npZ2=function(W){var Y;if(Y=!!W.cotn)Y=W.videoId,Y=!!Y&&g.Y6(Y)===1;return Y&&!W.S2};\nOuv=function(W,Y,k){if(!(k in Y))return!1;Y=Y[k];Array.isArray(Y)||(Y=[Y]);Y=g.e(Y);for(k=Y.next();!k.done;k=Y.next()){k=k.value;var P={CPN:W.api.getVideoData().clientPlaybackNonce};k=g.Wu(k,P);P=void 0;P=P===void 0?!1:P;(P=nR(pR(k,SH6),k,P,\"Active View 3rd Party Integration URL\"))||(P=void 0,P=P===void 0?!1:P,P=nR(pR(k,hQF),k,P,\"Google/YouTube Brand Lift URL\"));P||(P=void 0,P=P===void 0?!1:P,P=nR(pR(k,B71),k,P,\"Nielsen OCR URL\"));g.gD(k,void 0,P)}return!0};\n$6=function(){this.W=0};\nur0=function(W){var Y=W.queue;Y.W.length&&Y.W[0].isEncrypted&&!Y.K&&(Y.W.length=0);Y=g.e(Object.keys(W.W));for(var k=Y.next();!k.done;k=Y.next()){k=k.value;var P=W.W[k];if(!P.dA){var T=W.queue;T.W.push({videoId:P.videoId,formatId:k,isEncrypted:!1});T.K||Fs(T)}}};\nZuC=function(W){if(!(W.length<=28))for(var Y=(0,g.oo)([60,0,75,0,73,0,68,0,62,0]),k=28;k0&&(X.playerWidthPixels=Math.round(E));if(Y=Y.height)X.playerHeightPixels=\nMath.round(Y);k!==0&&(X.vis=k);if(k=I.widgetReferrer)X.widgetReferrer=k.substring(0,128);g.hN(I)&&X&&(X.ancestorOrigins=I.ancestorOrigins);W.defaultActiveSourceVideoId&&(X.compositeVideoContext={defaultActiveSourceVideoId:W.defaultActiveSourceVideoId});if(I=I.getWebPlayerContextConfig())X.encryptedHostFlags=I.encryptedHostFlags;P={videoId:P,context:T,playbackContext:{contentPlaybackContext:X}};if(W.YF){var A;P.playbackContext.reloadPlaybackContext={reloadPlaybackParams:(A=W.YF)==null?void 0:A.reloadPlaybackParams}}W.contentCheckOk&&\n(P.contentCheckOk=!0);if(A=W.clientPlaybackNonce)P.cpn=A;if(A=W.playerParams)P.params=A;if(A=W.playlistId)P.playlistId=A;W.racyCheckOk&&(P.racyCheckOk=!0);A=W.V();T=A.embedConfig;W.C4&&A.U(\"embeds_enable_per_video_embed_config\")?P.serializedThirdPartyEmbedConfig=W.C4:T&&(P.serializedThirdPartyEmbedConfig=T);P.captionParams={};T=g.eb().Ik(65);W.deviceCaptionsOn!=null?P.captionParams.deviceCaptionsOn=W.deviceCaptionsOn:g.ad(A)&&(P.captionParams.deviceCaptionsOn=T!=null?!T:!1);W.d3&&(P.captionParams.deviceCaptionsLangPref=\nW.d3);W.ew.length?P.captionParams.viewerSelectedCaptionLangs=W.ew:g.ad(A)&&(T=g.Hu1(),T==null?0:T.length)&&(P.captionParams.viewerSelectedCaptionLangs=T);T=W.fetchType===\"onesie\"&&W.U(\"html5_onesie_attach_po_token\");X=W.fetchType!==\"onesie\"&&W.U(\"html5_non_onesie_attach_po_token\");if(T||X)T=W.V(),T.Dm&&(P.serviceIntegrityDimensions={},P.serviceIntegrityDimensions.poToken=T.Dm);A.U(\"fetch_att_independently\")&&(P.attestationRequest={omitBotguardData:!0});P.playbackContext||(P.playbackContext={});P.playbackContext.devicePlaybackCapabilities=\nA60(W);P.playbackContext.devicePlaybackCapabilities.supportsVp9Encoding===!1&&W.y5(\"noVp9\",{});return P};\nnT2=function(W,Y){var k=null;W.J&&(k=(Y?[W.J.defaultServiceEndpoint,W.J.defaultNavigationEndpoint]:[W.J.toggledServiceEndpoint]).filter(function(P){return P!=null}));\nreturn k||[]};\nUOq=function(W,Y,k){if(k.videoId)var P=\"VIDEO\";else if(k.playlistId)P=\"PLAYLIST\";else return;W.credentialTransferTokenTargetId=k;W.context=W.context||{};W.context.user=W.context.user||{};W.context.user.credentialTransferTokens=[{token:Y,scope:P}]};\nPjz=function(W,Y,k){W.H6=Y;W.l7=k;Y=g.e(W.jj);for(k=Y.next();!k.done;k=Y.next()){var P=g.e(k.value);k=P.next().value;P=P.next().value;for(var T=g.e(P.u9),I=T.next();!I.done;I=T.next()){I=I.value;var X=p16(W,k,I);V57(W,I.hE,P,X)}}};\nk6=function(W,Y){for(var k=[],P=g.e(W.Ym.values()),T=P.next();!T.done;T=P.next())T=T.value,T.trigger.W===Y.layoutId&&k.push(T);k.length&&P_(W.W(),k)};\nu_=function(W){this.value=W};\nGTV=function(W,Y){for(var k=[],P=g.e(W.Ym.values()),T=P.next();!T.done;T=P.next())T=T.value,T.trigger.triggerType===Y&&k.push(T);k.length>0&&P_(W.X(),k)};\nK4q=function(W,Y){W.languages=g.qk(Y,W.W,W);W.oS(g.Ab(Y,W.W))};\nET0=function(W){var Y,k;(k=(Y=window).onerror)==null||k.call(Y,W.message,\"\",0,0,W)};\nYS=function(W){return W};\nVQ=function(W,Y){g.d2.call(this,\"Auto-translate\",0,W,Y);this.Y=W;this.languages={};W.createClientVe(this.element,this,127301);W.logVisibility(this.element,!0)};\nsJ7=function(W){W.bz&&!W.isSuspended&&OW(W.schedule)&&(JGF(W,W.bz),W.bz=\"\")};\nAG7=function(W,Y){var k=W.mediaElement,P=Y.type;switch(P){case \"seeking\":var T=k.getCurrentTime()+W.timestampOffset;if(!W.T||W.Kg&&T!==W.K){W.T=new $e;W.T.then(function(X){NX(W,X)},function(){Vt(W)});\nif(W.videoData.isAd()){var I;x5v({adCpn:W.videoData.clientPlaybackNonce,contentCpn:(I=W.videoData.IW)!=null?I:\"\"},Y.W)}W.GJ=T;D3X(W.A5,k.getCurrentTime());W.seekTo(T,{seekSource:104,Fi:\"seektimeline_mediaElementEvent\"});W.Kg=!0}break;case \"seeked\":pwd(W);break;case \"loadedmetadata\":Gh(W.W6)||rG5(W);ke(W);break;case \"progress\":ke(W);break;case \"pause\":W.G=W.getCurrentTime()}W.G&&((P===\"play\"||P===\"playing\"||P===\"timeupdate\"||P===\"progress\")&&W.getCurrentTime()-W.G>10&&(W.U(\"html5_sky_skip_pause_jump\")?\nW.W6.y5(\"skipPauseJump\",{evt:P,cmt:W.getCurrentTime(),lpt:W.G}):W.seekTo(W.G,{Fi:\"pauseJump\"})),P!==\"pause\"&&P!==\"play\"&&P!==\"playing\"&&P!==\"progress\"&&(W.G=0))};\nGM=function(W,Y){this.K=Y;this.W=new g.pk({S:\"label\",j:\"ytp-ad-feedback-dialog-reason-label\",B:[{S:\"input\",j:\"ytp-ad-feedback-dialog-reason-input\",D:{type:\"radio\",name:\"feedback-reason-group\"}},{S:\"span\",j:\"ytp-ad-feedback-dialog-reason-text\",v6:g.NF(W)}]});this.J=this.W.J5(\"ytp-ad-feedback-dialog-reason-input\")};\nSV=function(W){var Y;if(Y=W.N&&W.J!=null)W=W.J,Y=!(!W.W||!W.W.keyStatuses);return Y};\nudd=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q){var G=KgF(T,M,t);if(G instanceof l)return G;var E=[],z=[];G=g.e(G);for(var A=G.next();!A.done;A=G.next()){var F=A.value;A=W;var y=T[F.lE],U=F,V=Y;F=I;var b=X,Sz=h,jz=B,X7=O,O2=u,$5=We(y);if($5 instanceof l)A=$5;else{var z1={layoutId:y.adLayoutMetadata.layoutId,layoutType:y.adLayoutMetadata.layoutType,fg:\"adapter\"};U=FmV(V,y,U,F);U instanceof l?A=U:(A=Object.assign({},z1,Vs,{W7:$5,renderingContent:y.renderingContent,clientMetadata:new i_(U),XA:kN(Sz,A)(z1),\nadLayoutLoggingData:y.adLayoutMetadata.adLayoutLoggingData}),A=(y=Pe(O2,A,F,b.eS,Sz,jz,X7,void 0,!0))?y instanceof l?y:{layout:A,ZS:y}:new l(\"Expecting associatedInPlayerSlot\"))}if(A instanceof l)return A;E.push(A.layout);z.push(A.ZS)}T={layoutId:k.adLayoutMetadata.layoutId,layoutType:k.adLayoutMetadata.layoutType,fg:\"core\"};Y=[new PG(Number(k.driftRecoveryMs)),new $R(M),new kR(t),new yI(e8(Y)),new Ti(Z),new QI({})];q&&Y.push(new jk({}));return{PL:Object.assign({},T,P,{e3:E,W7:new Map,clientMetadata:new i_(Y),\nXA:kN(h,W)(T)}),I6:z}};\nyOd=function(W){return GD(W)&&W.W.sE()&&W.K.W.info.c6Y.PU/1E3&&kYDd||h<$IS))return W;k=Y?{level:1}:void 0;I=$av(kAv(X),k);var B=(0,g.lj)();T.ticks.gelc=B;if(Y){ia++;if((g.dS(\"disable_compression_due_to_performance_degredation\")||g.dS(\"disable_compression_due_to_performance_degradation_lr\"))&&\nB-P>=DV6)if(MN++,g.dS(\"abandon_compression_after_N_slow_zips\")||g.dS(\"abandon_compression_after_N_slow_zips_lr\")){Y=MN/ia;var O=gp2/g.uu(\"compression_disable_point\");ia>0&&ia%g.uu(\"compression_disable_point\")===0&&Y>=O&&(tt=!1)}else tt=!1;FKd(T)}}W.headers=Object.assign({},{\"Content-Encoding\":\"gzip\"},W.headers||{});W.body=I;return W}catch(u){return PL(u),W}}else return W};\nQg=function(W){var Y=W.qT&&W.qT.F3();if(W.policy.wX){if((W=W.L)==null)W=void 0;else{var k;W=(k=W.J)==null?void 0:k.info}return W||null}return Y};\nhCF=function(W){return W.uu&&W.enableServerStitchedDai};\nSy=function(W,Y){g.qc(\"adsClientStateChange\",Y)};\nnA=function(W){return!W.oldState.isPlaying()&&W.state.isPlaying()};\nTxC=function(W,Y,k,P,T){sJ.call(this,\"top-banner-image-text-icon-buttoned\",W,Y,k,P,T)};\nIB6=function(W,Y){var k,P,T;return g.v(function(I){if(I.W==1)return k={context:g.u9(W.V()),engagementType:\"ENGAGEMENT_TYPE_PLAYBACK\",ids:[{playbackId:{videoId:W.videoId,cpn:W.clientPlaybackNonce}}]},P=g.y7(jr5),g.L(I,g.eh(Y,k,P),2);T=I.K;return I.return(T)})};\nXB2=function(W,Y,k,P,T){var I=new A7(W.W,k),X=[new jm(W.W,Y)];W=[new Jp(W.W,Y),new Zp(W.W,P)];return{slotId:Y,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:I,slotFulfillmentTriggers:X,slotExpirationTriggers:W,fg:\"core\",clientMetadata:new i_([new H$(T({slotId:Y,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:I,slotFulfillmentTriggers:X,slotExpirationTriggers:W},k))]),adSlotLoggingData:void 0}};\nID=function(W,Y,k,P,T){CC.call(this,W,{S:\"span\",j:T?\"ytp-ad-badge--clean-player\":\"ytp-ad-badge\"},\"ad-badge\",Y,k,P);this.K=T;this.adBadgeText=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);this.adBadgeText.S1(this.element);g.m(this,this.adBadgeText);T?(this.adBadgeText.element.classList.add(\"ytp-ad-badge__text--clean-player\"),o4&&this.adBadgeText.element.classList.add(\"ytp-ad-badge--stark-clean-player-ios\")):this.adBadgeText.element.classList.add(\"ytp-ad-badge__text\");this.hide()};\nD9=function(W){bQ.K.cancel();FJ=W;bQ.done=!0};\nOU7=function(W,Y,k){W.flush();W.K=k;zG(W,3,Y)};\nXS=function(W){this.W=W;this.offset=0};\nSJ=function(){this.G=!1;this.T=null;this.K=void 0;this.W=1;this.C=this.X=0;this.N=this.J=null};\nzq2=function(W,Y){var k=W.W;k=k.W?k.W.w5:null;if(W.policy.gD&&k)return k.startSecs+k.sV+15;Y=UU(W.loader,Y);W.policy.xm>0&&(k=((0,g.lj)()-W.loader.LJ)/1E3,Y=Math.min(Y,W.policy.xm+W.policy.u5*k));Y=W.loader.getCurrentTime()+Y;return W.policy.s2&&(k=chq(W.loader)+W.policy.s2,k0;return W.g7.length>0||Y}return!(W==null||!W.Uc)&&!(W==null||!W.bD.totalLength)};\nkD6=function(W){var Y=[];return g.I3v(W,{query:void 0},function(k){Y.push(k.cursor.primaryKey);return g.aT5(k)}).then(function(){return Y})};\naQ=function(){g.tR.apply(this,arguments)};\nQdV=function(W,Y){W.raw=Y;Object.freeze&&(Object.freeze(W),Object.freeze(Y));return W};\nRRv=function(W,Y){ME.getInstance().estimate().then(function(k){k=Object.assign({},Y,{isSw:self.document===void 0,isIframe:self!==self.top,deviceStorageUsageMbytes:siv(k==null?void 0:k.usage),deviceStorageQuotaMbytes:siv(k==null?void 0:k.quota)});W.W(\"idbQuotaExceeded\",k)})};\nHnv=function(W,Y){var k={slotId:Tb(Y,\"SLOT_TYPE_IN_PLAYER\"),slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:void 0,slotFulfillmentTriggers:[],slotExpirationTriggers:[],fg:\"surface\",clientMetadata:new i_([])},P=Object,T=P.assign;Y=yN(Y,\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",k.slotId);Y={layoutId:Y,layoutType:\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",W7:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"surface\",\nclientMetadata:new i_([]),XA:zpq(!1,k.slotId,k.slotType,k.slotPhysicalPosition,k.fg,k.slotEntryTrigger,k.slotFulfillmentTriggers,k.slotExpirationTriggers,Y,\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",\"surface\")};return T.call(P,{},W,{Qk:!0,slot:k,layout:Y})};\nP6V=function(W){sE.call(this,W);var Y=this;this.W=[];this.events=new g.x5(W);g.m(this,this.events);D4(W,\"addEmbedsConversionTrackingParams\",function(k){Y.addEmbedsConversionTrackingParams(k)});\nthis.events.Z(W,\"veClickLogged\",function(k){Y.api.hasVe(k)&&(k=k.visualElement.getAsJspb(),k=wt(k,2),Y.W.push(k))})};\nAk=function(){};\nnLq=function(W,Y){W.W&&(g.p(Y,8)?(W.K=!0,W.fH(),W.W.start()):(g.p(Y,2)||g.p(Y,64))&&W.videoId&&(W.videoId=null))};\npBF=function(W){return(W==null?void 0:W.durationMs)!=null&&(W==null?void 0:W.durationMs)>0};\ndm7=function(W,Y){var k=[];for(Y=Y||0;Y=Y.mediaTime?(Y.resolve([Y.mediaTime,Y.id]),W.W.delete(Y.id)):(Y.delay.dispose(),k=(Y.mediaTime-k)*1E3/W.W6.getPlaybackRate(),Y.delay=new g.fC(function(){x9(W,Y)},k/2),Y.delay.start()))};\ng.AM=function(W){return W==null?\"\":String(W)};\ngxC=function(W){W.UP?W.UP=!1:W.N=(0,g.lj)();W.A5=!1;W.Fr=!1;return new Pr(W.G,W.J,W.W.reason)};\ng.fC=function(W,Y,k){g.D.call(this);this.W=W;this.z9=Y||0;this.K=k;this.J=(0,g.xp)(this.WZ,this)};\nH$=function(W){this.value=W};\nGT=function(W,Y){var k=Nm();k&&k.publish.call(k,W.toString(),W,Y)};\nKE7=function(W,Y){for(var k=0;k0&&(Y.fexp=W.experimentIds.toString());W.G!==null&&(Y.rtn=W.K(W.G));W.Jo&&(Y.feature=W.Jo);W.ws&&(Y.ctrl=W.ws);W.eA&&(Y.ytr=W.eA);W.Lg&&(Y.afmt=W.Lg);W.offlineDownloadUserChoice&&(Y.ODUC=W.offlineDownloadUserChoice);W.A5&&(Y.lio=W.K(W.A5));\nW.C?(Y.idpj=W.Qa,Y.ldpj=W.AC,W.delayThresholdMet&&(Y.dtm=\"1\"),W.N!=null&&(Y.rti=W.K(W.N)),W.l3&&(Y.ald=W.l3),W.compositeLiveIngestionOffsetToken&&(Y.clio=W.compositeLiveIngestionOffsetToken)):W.adType!==void 0&&(Y.at=W.adType);W.KH&&(W.J||W.C)&&(Y.size=W.KH);W.J&&W.X.length&&(Y.pbstyle=W.X.join(\",\"));W.tT!=null&&(W.J||W.C)&&(Y.inview=W.K(W.tT));W.C&&(Y.volume=CD(W,g.Ab(W.segments,function(P){return P.volume})),Y.st=CD(W,g.Ab(W.segments,function(P){return P.startTime})),Y.et=CD(W,g.Ab(W.segments,function(P){return P.endTime})),\nWk(W.segments,function(P){return P.playbackRate!==1})&&(Y.rate=CD(W,g.Ab(W.segments,function(P){return P.playbackRate}))),Wk(W.segments,function(P){return P.W!==\"-\"})&&(Y.als=g.Ab(W.segments,function(P){return P.W}).join(\",\")),Wk(W.segments,function(P){return P.previouslyEnded})&&(Y.pe=g.Ab(W.segments,function(P){return\"\"+ +P.previouslyEnded}).join(\",\")));\nY.muted=CD(W,g.Ab(W.segments,function(P){return P.muted?1:0}));\nWk(W.segments,function(P){return P.visibilityState!==0})&&(Y.vis=CD(W,g.Ab(W.segments,function(P){return P.visibilityState})));\nWk(W.segments,function(P){return P.connectionType!==0})&&(Y.conn=CD(W,g.Ab(W.segments,function(P){return P.connectionType})));\nWk(W.segments,function(P){return P.K!==0})&&(Y.blo=CD(W,g.Ab(W.segments,function(P){return P.K})));\nWk(W.segments,function(P){return!!P.J})&&(Y.blo=g.Ab(W.segments,function(P){return P.J}).join(\",\"));\nWk(W.segments,function(P){return!!P.compositeLiveStatusToken})&&(Y.cbs=g.Ab(W.segments,function(P){return P.compositeLiveStatusToken}).join(\",\"));\nWk(W.segments,function(P){return P.T!==\"-\"})&&(Y.cc=g.Ab(W.segments,function(P){return P.T}).join(\",\"));\nWk(W.segments,function(P){return P.clipId!==\"-\"})&&(Y.clipid=g.Ab(W.segments,function(P){return P.clipId}).join(\",\"));\nif(Wk(W.segments,function(P){return!!P.audioId})){var k=\"au\";\nW.J&&(k=\"au_d\");Y[k]=g.Ab(W.segments,function(P){return P.audioId}).join(\",\")}NU()&&W.Kg&&(Y.ctt=W.Kg,Y.cttype=W.K1,Y.mdx_environment=W.mdxEnvironment);\nW.rV&&(Y.etype=W.wD!==void 0?W.wD:0);W.bz&&(Y.uoo=W.bz);W.livingRoomAppMode&&W.livingRoomAppMode!==\"LIVING_ROOM_APP_MODE_UNSPECIFIED\"&&(Y.clram=sr5[W.livingRoomAppMode]||W.livingRoomAppMode);W.T?rS7(W,Y):(Y.docid=W.videoId,Y.referrer=W.referrer,Y.ei=W.eventId,Y.of=W.R9,Y.osid=W.osid,Y.vm=W.videoMetadata,W.adQueryId&&(Y.aqi=W.adQueryId),W.autonav&&(Y.autonav=\"1\"),W.playlistId&&(Y.list=W.playlistId),W.xF&&(Y.ssrt=\"1\"),W.CX&&(Y.upt=W.CX));W.J&&(W.embedsRct&&(Y.rct=W.embedsRct),W.embedsRctn&&(Y.rctn=\nW.embedsRctn),W.compositeLiveIngestionOffsetToken&&(Y.clio=W.compositeLiveIngestionOffsetToken));W.GJ&&(Y.host_cpn=W.GJ);return Y};\nASF=function(W){var Y;(Y=W.J9)==null||Y.stop();W.countdownTimer.hide()};\nL$5=function(W){var Y=[],k=[].concat(g.cp(W.Qy));W.va.forEach(function(X){Y.push(Object.assign({},X))});\nfor(var P=W.W,T=g.e(W.G.CQ()),I=T.next();!I.done;I=T.next())P=zR5(W,Y,k,I.value,P);Y.forEach(function(X){X.startTimeMs&&(X.startTimeMs+=W.timestampOffset*1E3)});\nreturn{va:Y,Qy:k}};\ndIF=function(W){if(g.dS(\"web_lifecycle_error_handling_killswitch\"))return W();try{return W()}catch(Y){ET0(Y)}};\nmI1=function(W,Y){var k=W.jj.get(Y),P=wIX(W,Y),T=!P&&!!k.bytesReceived;if(Mn){var I;if((I=W.H6)==null?0:I.t9){W=g.e(k.j5.values());for(Y=W.next();!Y.done;Y=W.next())if(!Y.value.rq)return!1;return T}}else if(I=W.k5(Y),T&&W.W&&I!==void 0)return I;return(T||k.bytesReceived===P)&&k.P$+xX(W,Y)===k.bytesReceived};\nqE=function(W,Y){W.Y.setOption(\"captions\",\"track\",Y)};\nUcq=function(W){var Y=nJ();ZD(Y,W);return g.fV(Y,bld())};\nZD=function(W,Y){Y?W.requestHeaders.Authorization=\"Bearer \"+Y:delete W.requestHeaders.Authorization};\nc7v=function(W){var Y=Qg(W);return Y?Y.X-W.loader.getCurrentTime():0};\noX7=function(W){this.xhr=W};\ngLd=function(W,Y,k){switch(Y){case \"M\":var P;(P=W.qoe)==null||DIX(P,Y,k);break;case \"A\":var T;(T=W.qoe)==null||DIX(T,Y)}};\nME=function(){};\nDS=function(W,Y){var k=W.Y.getVideoData(Y);return k?W.pF(k,Y||W.Y.getPresentingPlayerType(!0)):null};\nFEd=function(W,Y){return EJ(W.clientMetadata,\"metadata_type_ad_info_ad_metadata\")?kW(W.clientMetadata,\"metadata_type_ad_info_ad_metadata\"):Y?{channelId:Y.zC,channelThumbnailUrl:Y.profilePicture,channelTitle:Y.author,videoTitle:Y.title}:(EF(\"No layout metadata nor AdPlayback specified for AdMetaData\"),{channelId:\"\",channelThumbnailUrl:\"\",channelTitle:\"\",videoTitle:\"\"})};\nwBF=function(W,Y,k,P,T){CC.call(this,W,{S:\"div\",j:\"ytp-ad-instream-user-sentiment-container\"},\"instream-user-sentiment\",Y,k,P,T===void 0?null:T);var I=this;this.W=null;this.J=new ZB(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,[\"ytp-ad-instream-user-sentiment-like-button\"]);g.m(this,this.J);this.J.S1(this.element);this.K=new ZB(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,[\"ytp-ad-instream-user-sentiment-dislike-button\"]);g.m(this,this.K);this.K.S1(this.element);\nthis.T=new g.fH(this,400,!1,500,function(){return I.hide()});\ng.m(this,this.T);this.hide()};\nOJ=function(W,Y){var k=0;W=g.e(W);for(var P=W.next();!(P.done||P.value.startTime>Y);P=W.next())k++;return k===0?k:k-1};\nAK=function(W){return W.W&&W.RB&&W.playbackStartPolicy};\nyS7=function(W){if(W.qoe){W=W.qoe;for(var Y=W.provider.videoData,k=W.provider.zJ,P=g.e(k.B4),T=P.next();!T.done;T=P.next())wq(W,T.value);if(W.provider.U(\"html5_enable_qoe_cat_list\"))for(P=g.e(Y.wi),T=P.next();!T.done;T=P.next())wq(W,T.value);else Y.B4&&wq(W,W.provider.videoData.B4);Y.t9()&&(P=Y.W,c3(Y)&&wq(W,\"manifestless\"),P&&NN(P)&&wq(W,\"live-segment-\"+NN(P).toFixed(1)));w9(Y)?wq(W,\"sabr\"):W.e7(RD(Y));if(IR(Y)||Y.Xj())Y.Xj()&&wq(W,\"ssa\"),wq(W,\"lifa\");EP(Y)&&wq(W,\"cdm\");Y.gatewayExperimentGroup&&\n(P=Y.gatewayExperimentGroup,P===\"EXPERIMENT_GROUP_SPIKY_AD_BREAK_EXPERIMENT\"?P=\"spkadtrt\":P===\"EXPERIMENT_GROUP_SPIKY_AD_BREAK_CONTROL\"&&(P=\"spkadctrl\"),wq(W,P));k.A5!==\"yt\"&&W.W.set(\"len\",[Y.lengthSeconds.toFixed(2)]);Y.cotn&&!D3(Y)&&W.f3(!0);k.OR()&&(Y=Qr7())&&W.y5(\"cblt\",{m:Y});if(k.U(\"html5_log_screen_diagonal\")){k=W.y5;var I;Y=((I=window.H5vccScreen)==null?0:I.GetDiagonal)?window.H5vccScreen.GetDiagonal():0;k.call(W,\"cbltdiag\",{v:Y})}}};\np16=function(W,Y,k){var P,T=(P=W.H6)==null?void 0:P.J.get(Y);if(!T)return[];if(k.Ry){var I;return((I=T.tR(0,k.clipId))==null?void 0:I.EP)||[]}if(T.xk()){var X=k.startMs,h=k.durationMs;P=1E3;var B;if(((B=W.l7)==null?0:B.W)&&k.timeRange){var O;X=(O=k.timeRange.startTicks)!=null?O:-1;var u;h=(u=k.timeRange.Wd)!=null?u:-1;var Z;P=(Z=k.timeRange.timescale)!=null?Z:-1}if(k.HX<0||k.e5<0||h<0||X<0||k.o5<0||P<0)return OX(W,Y),[];W=Y0(k.HX,k.o5);Y=k.Tt||0;return[new i2(3,T,W,\"makeSliceInfosMediaBytes\",k.e5-\n1,X/P,h/P,Y,W.length-Y,void 0,k.lY,k.clipId)]}if(k.e5<0)return OX(W,Y),[];var M;return((M=W.H6)==null?0:M.t9)?(Y=T.Lh,B=Y*T.info.c6,O=k.Tt,((h=W.l7)==null?0:h.Zi)&&k.timeRange&&!O&&(X=k.timeRange.startTicks/k.timeRange.timescale),[new i2(3,T,void 0,\"makeSliceInfosMediaBytes\",k.e5,X,Y,O,B,!0,k.lY,k.clipId)]):[]};\neRd=function(W,Y,k,P,T){var I=m2(k,Y);W.logger.debug(function(){return\"start preload video \"+I+\", trigger=\"+T});\nvar X=W.D2(),h=m2(X.getPlayerType(),X.getVideoData());if(I===h)return X.s$(!0),Y.dispose(),null;Y.Cn=!0;Y=UZ(W,k,Y,!0);k===1&&YV(W.zJ)||Y.s$(!0);W.ud.C.set(I,Y,P||3600);return Y};\nHK=function(W){return kW(W.clientMetadata,\"metadata_type_invideo_overlay_ad_renderer\")};\nnO=function(W){return W.adSlotMetadata.slotType===\"SLOT_TYPE_PLAYER_BYTES\"};\noLd=function(){var W=this;this.proc_exit=function(){};\nthis.fd_write=function(Y,k,P){if(!W.exports)return 1;Y=new Uint32Array(W.exports.memory.buffer,k,P*2);k=[];for(var T=0;T=W.policy.Gb&&W.K&&Y.info.isDecorated()&&P===\"net.badstatus\"&&W.K.XM(I,T))){T=(k.info.video&&k.ob.J>1||Y.Zg===410||Y.Zg===500||Y.Zg===503)&&!(pO(W.J.C).size>0)&&!Wd(42,k.ob.W);I=Y.B3();var X=k.info.video?W.videoTrack:W.audioTrack;T&&(I.stun=\"1\");W.loader.handleError(P,\nI);W.Xr()||(T&&(W.logger.debug(function(){return\"Stunning format \"+k.info.id}),eI(W.J,k)),I2(X,Y),W.loader.u7())}}else X=1,W.K&&Y.info.isDecorated()&&P===\"net.badstatus\"&&W.K.XM(I,T)&&(X=0),W.H6.isLive&&Y.NI()===\"net.badstatus\"&&W.X<=W.policy.kp*2?(rHq(W.H6),W.H6.Fj||W.H6.isPremiere?fm(W.loader,0,{Fi:\"badStatusWorkaround\"}):W.H6.T?fm(W.loader,W.H6.gD,{Fi:\"badStatusWorkaround\",\nul:!0}):km(W.loader)):W.loader.handleError(P,Y.B3(),X)};\nY9V=function(W){sE.call(this,W);var Y=this;this.W=!1;W.addEventListener(\"settingsMenuInitialized\",function(){vLV(Y)});\nW.addEventListener(\"highlightSettingsMenu\",function(k){vLV(Y);var P=Y.menuItem;k===\"menu_item_cinematic_lighting\"&&(g.N6(P.element,\"ytp-menuitem-highlighted\"),g.N6(P.element,\"ytp-menuitem-highlight-transition-enabled\"),P.K.start())});\nD4(W,\"updateCinematicSettings\",function(k){Y.updateCinematicSettings(k)})};\nBj=function(W,Y){var k=k===void 0?!0:k;var P=g.o_(\"VALID_SESSION_TEMPDATA_DOMAINS\",[]),T=g.TZ(window.location.href);T&&P.push(T);T=g.TZ(W);if(g.oq(P,T)||!T&&hC(W,\"/\"))if(P=document.createElement(\"a\"),g.Uf(P,W),W=P.href)if(W=dG(W),W=eVz(W))if(k&&!Y.csn&&(Y.itct||Y.ved)&&(Y=Object.assign({csn:g.Zu()},Y)),I){var I=parseInt(I,10);isFinite(I)&&I>0&&CA1(W,Y,I)}else CA1(W,Y)};\n$R=function(W){this.value=W};\nMb=function(W,Y,k){W.Y.y5(Y,k);LEv(W)};\nUId=function(W){return g.z3(W.info.EP,function(Y){return Y.type===3})};\nfiF=function(W){return{videoId:yx(W,2)}};\nlBv=function(W){if(FD()&&W!==\"Silk\"){var Y=Pn.brands.find(function(k){return k.brand===W});\nif(!Y||!Y.version)return NaN;Y=Y.version.split(\".\")}else{Y=Pud(W);if(Y===\"\")return NaN;Y=Y.split(\".\")}return Y.length===0?NaN:Number(Y[0])};\nbn5=function(W){return W.W.cmodel===\"CHROMECAST ULTRA/STEAK\"||W.W.cmodel===\"CHROMECAST/STEAK\"};\ncS5=function(W,Y,k){return Y.itag!==k.itag||Y.xtags!==k.xtags?!1:W.H6.t9||Y.lmt===k.lmt};\nfBz=function(W){var Y=W.V();if(Y.U(\"html5_disable_onesie\")||!Y.U(\"html5_onesie\")||!Y.U(\"html5_onesie_inline\")&&W.getVisibilityState()===5||Y.A5!==\"yt\")return!1;var k=Y.tT;if(!k||!k.W)return W.handleError(new g.LT(\"onesie.unavailable.hotconfig\",{key:\"0\"})),!1;if(k.W.X<(0,g.lj)()&&(W.y5(\"okexp\",\"1\"),(k=W.lC())&&Y.U(\"html5_prefer_trusted_host_on_key_expiration\"))){k.K=!0;var P;(Y=(P=k.W.get(0))==null?void 0:Pd(76,P.location))&&!us(Y)&&k.W.delete(0)}if(xId)return W.y5(\"ost3\",\"1\"),!1;P={};return Object.keys(P).length>\n0?(P.onesie=\"0\",W.handleError(new g.LT(\"html5.missingapi\",P)),!1):!0};\nG7=function(W){this.h5=rT(W)};\nVX=function(W,Y){this.start=W0){var u=P+Number(k.startTimeOffsetMs),Z=u+Number(k.cacheFetchSmearingDurationMs);O={AE:new VX(Z,Z+Number(O)),jl:!1,f8:new VX(Math.floor(u+Math.random()*\nNumber(k.cacheFetchSmearingDurationMs)),Z),cueProcessedMs:P?P:u};u=[];u.push(new jk({}));Z=[];Z.push(new AW(W.W));Z.push(new tR1(W.W));X&&u.push(new QI({}));h.push(Qo(W,Y,T,O,I,u,Z))}return h};\nok5=function(W,Y){A9.call(this,1,arguments);this.timer=Y};\nRM1=function(W,Y){W=Y.NS()==1?W.W:W.K;var k=El(W,function(P){return P==Y});\nreturn k!=-1?(W.splice(k,1),Y.jL&&Y.jL.unobserve(),Y.dispose(),!0):!1};\nYS1=function(W,Y){W.G=Y;var k=W.TJ;W.Y.U(\"delhi_modern_web_player_icons\")?W.K.J5(\"ytp-svg-volume-animation-big-ripple\").setAttribute(\"transform\",\"translate(22, 12) scale(\"+(Y+\") translate(-22,-12)\")):Y&&(k+=ZId(aBV,W3d,Y));W.A5.setAttribute(\"d\",k)};\nW6C=function(W,Y){if(!W.Xr()&&!Y.videoData.Xr()){W.logger.debug(\"finished building playback data\");W.o6=Y;E91(W.O1,W.o6);if(W.videoData.isLivePlayback){var k=$76(W.GW.eT,W.videoData.videoId)||W.loader&&!isNaN(W.loader.TJ);k=W.U(\"html5_onesie_live\")&&k;Gh(W)||W.videoData.K1>0&&!c3(W.videoData)||k||W.seekTo(W.M6(),{Fi:\"videoplayer_playbackData\",seekSource:18})}if(W.videoData.J.W){if(kdz(W.videoData)){W.SW(\"fmt.missing\",2,\"BROWSER_OR_EXTENSION_ERROR\",l4({missabrurl:1}));return}W.loader?g.Jx(Error(\"Duplicated Loader\")):\n(k=g.je(W.zJ.experiments,\"html5_onesie_defer_content_loader_ms\"))&&W.ri()&&$76(W.GW.eT,W.videoData.Hsr)?g.LB(function(){W.Xr()||W.loader||Ur(W)},k):Ur(W)}else!W.videoData.J.W&&D3(W.videoData)&&W.OO(new xu(W.videoData.videoId||\"\",4));\nW.rf();o0q(Y).then(function(){var P={};W.oA(P);W.zJ.OR()&&W.U(\"html5_log_media_perf_info\")&&W.y5(\"av1Info\",P);YG(W)})}};\nIbC=function(W,Y,k,P){W||(W=Y&&PzV.hasOwnProperty(Y)&&T$1.hasOwnProperty(Y)?T$1[Y]+\"_\"+PzV[Y]:void 0);Y=W;if(!Y)return null;W=Y.match(jWV);if(!W||W.length!==5)return null;if(W=Y.match(jWV)){var T=Number(W[3]),I=[7,8,10,5,6];W=!(Number(W[1])===1&&T===8)&&I.indexOf(T)>=0}else W=!1;return k||P||W?Y:null};\nSS7=function(W){var Y,k,P,T,I,X,h;g.v(function(B){switch(B.W){case 1:if(W.Xr()||!W.T||!W.W)return B.return();W.L&&W.app.D2().XT(!0,!1);Y=null;if(!W.J){B.oi(2);break}g.Ta(B,3);return g.L(B,n7V(W.J),5);case 5:g.Vi(B,2);break;case 3:Y=k=g.jh(B);case 2:if(!W.W)return B.return();XFC.Ex(\"vqsp\",function(){W.app.gk(W.W)});\nif(!W.W)return B.return();P=W.W.bd();W.app.V().U(\"html5_gapless_seek_on_negative_time\")&&P&&P.getCurrentTime()<-.01&&W.W.seekTo(0);XFC.Ex(\"vqpv\",function(){W.app.playVideo()});\nY&&(W.W?(T=Y?Y.message:\"forced\",(I=W.K)==null||I.y5(\"gapfulfbk\",{r:T}),W.W.eC(T)):(X=W.K)==null||X.y5(\"gapsp\",{}));h=W.T;uG(W);h&&h.resolve();return B.return(Promise.resolve())}})};\nhA6=function(W,Y,k,P,T,I){this.Cg=W;this.sP=Y;this.UR=k;this.P6=P;this.i8=T;this.qq=I};\nB$F=function(W,Y,k){var P=new XMLHttpRequest;if(k==null?0:k.WX)P.onreadystatechange=function(I){k.WX(P,I)};\nvar T;P.open((T=Y.method)!=null?T:\"GET\",W,!0);P.responseType=\"text\";P.withCredentials=!0;if(Y.headers)for(W=g.e(Object.entries(Y.headers)),Y=W.next();!Y.done;Y=W.next())T=g.e(Y.value),Y=T.next().value,T=T.next().value,P.setRequestHeader(Y,T);return P};\nDA=function(W,Y,k,P){W.logger.debug(function(){return\"[addStreamData] formatId: \"+k+\",headerId: \"+Y+\" bytes: \"+P.totalLength});\n(W=W.jj.get(k))&&!W.Lu&&(Mn?(W.j5.has(Y)||W.j5.set(Y,{data:new $A,Sz:0,rq:!1}),Ub(W.j5.get(Y).data,P)):Ub(W.bD,P),W.bytesReceived+=P.totalLength,W.VI=!0)};\npF=function(W){W.Xr();W.logger.debug(\"try finish readying playback\");if(W.yR.finished)W.logger.debug(\"already finished readying\");else if(W.AU.finished)if(g.p(W.playerState,128))W.logger.debug(\"cannot finish readying because of error\");else if(W.sy.length)W.logger.debug(function(){return\"cannot finish readying because of pending preroll: \"+W.sy});\nelse if(W.Pk.started||OdX(W.Pk),W.IS())W.logger.debug(\"cannot finish readying because cuemanager has pending prerolls\");else{W.loader&&(W.bJ=uy6(W.loader.timing));W.yR.finished||(W.yR.finished=!0);var Y=W.U(\"html5_onesie_live\")&&W.loader&&!isNaN(W.loader.TJ);!W.videoData.isLivePlayback||W.videoData.K1>0&&!c3(W.videoData)||Y||Gh(W)||(W.logger.debug(\"seek to head for live\"),W.seekTo(Infinity,{Fi:\"videoplayer_readying\",seekSource:18}),W.isBackground()&&(W.gh=!0));yS7(W.FA);W.logger.debug(\"finished readying playback\");\nW.publish(\"playbackready\");IQ(\"pl_c\",W.C1.timerName)||(W.C1.tick(\"pl_c\"),Xc(\"pl_c\",void 0,\"video_to_ad\"));IQ(\"pbr\",W.C1.timerName)||(W.C1.tick(\"pbr\"),Xc(\"pbr\",void 0,\"video_to_ad\"))}else W.logger.debug(\"playback data not loaded\")};\nKO=function(W,Y){this.K=W;this.W=Y+\"::\"};\nWq=function(W){W=W===void 0?Gvz:W;g.D.call(this);var Y=this;try{this.J=W(function(P){Y.K=P.at(-1)});\nvar k;this.T=(k=this.J)==null?void 0:k.observe(\"cpu\",{sampleInterval:2E3}).catch(function(P){P instanceof DOMException&&(Y.W=P)})}catch(P){P instanceof DOMException&&(this.W=P)}};\nZdv=function(W,Y,k,P){sJ.call(this,\"player-overlay-layout\",W,{},k,P);this.videoAdDurationSeconds=Y;this.interactionLoggingClientData=P};\nCj5=function(W){return W.scrollingElement?W.scrollingElement:g.M8||W.compatMode!=\"CSS1Compat\"?W.body||W.documentElement:W.documentElement};\nidC=function(W,Y){var k=jj().resolve(V6v);if(Cu2(Y)){var P=rp(Y,\"gclid\");Y={handleEvent:function(h){W&&!W.closed&&typeof W.postMessage===\"function\"&&h&&h.origin&&h.source===W&&h.data&&h.data.action===\"gcl_setup\"&&W.postMessage(Object.assign({},{action:\"gcl_transfer\"},P&&{gclid:P},{gadSource:2}),h.origin)}};\nfor(var T=g.e(k.W),I=T.next();!I.done;I=T.next()){var X=g.e(I.value);I=X.next().value;X=X.next().value;if(I.closed)try{window.removeEventListener(\"message\",X),k.W.delete(I)}catch(h){g.LH(h)}}W&&k.W.size<15&&(k.W.set(W,Y),window.addEventListener(\"message\",Y))}};\nU9V=function(W,Y,k,P,T,I){this.Wa=W;this.Cg=Y;this.sP=k;this.K=P;this.W=T;this.P6=I};\nLe=function(W){return hC(W,\"custom_metric_viewable\")};\nPH=function(W){return W.type===1||W.type===2};\nr$=function(W){g.c.call(this,{S:\"button\",Ya:[\"ytp-airplay-button\",\"ytp-button\"],D:{title:W.U(\"player_tooltip_data_title_killswitch\")?\"AirPlay\":\"\",\"data-tooltip-title\":\"AirPlay\",\"data-priority\":\"11\"},v6:\"{{icon}}\"});this.Y=W;this.listen(\"click\",this.onClick);this.Z(W,\"airplayactivechange\",this.xa);this.Z(W,\"airplayavailabilitychange\",this.xa);this.xa();pt(W,this.element,this)};\ng.M$=function(W,Y,k,P,T,I){I=I===void 0?{}:I;g.X8(W,Y,k,[P],T===void 0?!1:T,I)};\nMoS=function(W){g.D.call(this);var Y=this;this.RI=W;this.W=new Map;tS(this,\"commandExecutorCommand\",function(k,P,T){m32(Y,k.commands,P,T)});\ntS(this,\"clickTrackingParams\",function(){})};\nEX=function(W){var Y=W.U(\"web_player_use_cinematic_label_2\")?\"Ambient mode\":\"Cinematic lighting\";gm.call(this,Y,g.po.YR);var k=this;this.Y=W;this.W=!1;this.K=new g.fC(function(){g.Sr(k.element,\"ytp-menuitem-highlighted\")},0);\nthis.Mq=W.ML();W=W.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M12 .5C11.73 .5 11.48 .60 11.29 .79C11.10 .98 11 1.23 11 1.5V3.5C11 3.76 11.10 4.01 11.29 4.20C11.48 4.39 11.73 4.5 12 4.5C12.26 4.5 12.51 4.39 12.70 4.20C12.89 4.01 13 3.76 13 3.5V1.5C13 1.23 12.89 .98 12.70 .79C12.51 .60 12.26 .5 12 .5ZM3.79 1.29C3.61 1.46 3.51 1.70 3.50 1.94C3.48 2.19 3.56 2.43 3.72 2.63L3.79 2.70L5.29 4.20L5.37 4.27C5.56 4.42 5.80 4.50 6.04 4.49C6.29 4.47 6.52 4.37 6.70 4.20C6.87 4.02 6.97 3.79 6.99 3.54C7.00 3.30 6.92 3.06 6.77 2.86L6.70 2.79L5.20 1.29L5.13 1.22C4.93 1.06 4.69 .98 4.44 1.00C4.20 1.01 3.96 1.11 3.79 1.29ZM18.86 1.22L18.79 1.29L17.29 2.79L17.22 2.86C17.07 3.06 16.99 3.30 17.00 3.54C17.01 3.79 17.12 4.02 17.29 4.20C17.47 4.37 17.70 4.48 17.95 4.49C18.19 4.50 18.43 4.42 18.63 4.27L18.70 4.20L20.20 2.70L20.27 2.63C20.42 2.43 20.50 2.19 20.49 1.95C20.48 1.70 20.37 1.47 20.20 1.29C20.02 1.12 19.79 1.01 19.54 1.00C19.30 .99 19.06 1.07 18.86 1.22ZM19.20 6.01L19 6H5L4.79 6.01C4.30 6.06 3.84 6.29 3.51 6.65C3.18 7.02 2.99 7.50 3 8V16L3.01 16.20C3.05 16.66 3.26 17.08 3.58 17.41C3.91 17.73 4.33 17.94 4.79 17.99L5 18H19L19.20 17.98C19.66 17.94 20.08 17.73 20.41 17.41C20.73 17.08 20.94 16.66 20.99 16.20L21 16V8C20.99 7.50 20.81 7.02 20.48 6.66C20.15 6.29 19.69 6.06 19.20 6.01ZM5 16V8H19V16H5ZM17.29 19.79C17.11 19.96 17.01 20.20 17.00 20.44C16.98 20.69 17.06 20.93 17.22 21.13L17.29 21.20L18.79 22.70L18.86 22.77C19.06 22.92 19.30 23.00 19.54 22.99C19.79 22.98 20.02 22.87 20.20 22.70C20.37 22.52 20.48 22.29 20.49 22.04C20.50 21.80 20.42 21.56 20.27 21.36L20.20 21.29L18.70 19.79L18.63 19.72C18.43 19.56 18.19 19.48 17.94 19.50C17.70 19.51 17.46 19.61 17.29 19.79ZM5.37 19.72L5.29 19.79L3.79 21.29L3.72 21.36C3.57 21.56 3.49 21.80 3.50 22.04C3.51 22.29 3.62 22.52 3.79 22.70C3.97 22.87 4.20 22.98 4.45 22.99C4.69 23.00 4.93 22.92 5.13 22.77L5.20 22.70L6.70 21.20L6.77 21.13C6.92 20.93 7.00 20.69 6.99 20.45C6.97 20.20 6.87 19.97 6.70 19.79C6.52 19.62 6.29 19.52 6.04 19.50C5.80 19.49 5.56 19.57 5.37 19.72ZM12 19.5C11.73 19.5 11.48 19.60 11.29 19.79C11.10 19.98 11 20.23 11 20.5V22.5C11 22.76 11.10 23.01 11.29 23.20C11.48 23.39 11.73 23.5 12 23.5C12.26 23.5 12.51 23.39 12.70 23.20C12.89 23.01 13 22.76 13 22.5V20.5C13 20.23 12.89 19.98 12.70 19.79C12.51 19.60 12.26 19.5 12 19.5Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21 7v10H3V7h18m1-1H2v12h20V6zM11.5 2v3h1V2h-1zm1 17h-1v3h1v-3zM3.79 3 6 5.21l.71-.71L4.5 2.29 3.79 3zm2.92 16.5L6 18.79 3.79 21l.71.71 2.21-2.21zM19.5 2.29 17.29 4.5l.71.71L20.21 3l-.71-.71zm0 19.42.71-.71L18 18.79l-.71.71 2.21 2.21z\",fill:\"white\"}}]};this.setIcon(W);this.subscribe(\"select\",this.J,this);this.listen(sH,this.T);g.m(this,this.K)};\ng.JJ=function(){sx.apply(this,arguments)};\ntod=function(W,Y){for(var k=[],P=g.e(W.Ym.values()),T=P.next();!T.done;T=P.next()){T=T.value;var I=T.trigger;I instanceof CA&&I.triggeringLayoutId===Y&&k.push(T)}k.length?P_(W.Wo(),k):EF(\"Survey is submitted but no registered triggers can be activated.\")};\nXB=function(W){W=W.split(\"-\");var Y=Number(W[0]),k=Number(W[1]);if(!isNaN(Y)&&!isNaN(k)&&W.length===2&&(W=new Wn(Y,k),!isNaN(W.start)&&!isNaN(W.end)&&!isNaN(W.length)&&W.length>0))return W};\nsX=function(W){this.h5=rT(W,36)};\nrK=function(W){var Y=null;try{Y=W.toLocaleString(\"en\",{style:\"percent\"})}catch(k){Y=W.toLocaleString(void 0,{style:\"percent\"})}return Y};\nqS2=function(W){switch(W){case \"audio_audible\":return\"adaudioaudible\";case \"audio_measurable\":return\"adaudiomeasurable\";case \"fully_viewable_audible_half_duration_impression\":return\"adfullyviewableaudiblehalfdurationimpression\";case \"measurable_impression\":return\"adactiveviewmeasurable\";case \"overlay_unmeasurable_impression\":return\"adoverlaymeasurableimpression\";case \"overlay_unviewable_impression\":return\"adoverlayunviewableimpression\";case \"overlay_viewable_end_of_session_impression\":return\"adoverlayviewableendofsessionimpression\";\ncase \"overlay_viewable_immediate_impression\":return\"adoverlayviewableimmediateimpression\";case \"viewable_impression\":return\"adviewableimpression\";default:return null}};\nnHF=function(W){function Y(T){return k.A5!==\"yt\"&&(P.partnerId===38&&k.playerStyle===\"books\"||P.partnerId===30&&k.playerStyle===\"docs\"||P.partnerId===33&&k.playerStyle===\"google-live\")?RAV(W,P,T):HdF(W,P).then(function(){wp(W,P)},function(I){wp(W,P,!0);\nthrow I;})}\nvar k=W.V(),P=W.getVideoData();P.Xr();P.loading=!0;return fBz(W)?K1z(W,P).then(function(){wp(W,P)},function(T){T=BH(T);\nif(CT(T.severity))return wp(W,P,!0),Promise.reject(T);T.errorCode===\"onesie.response.badproxystatus\"&&\"\"+T.details.st===\"3\"&&(xId=!0);W.handleError(T);return Y(\"onesie\")}):Y(\"gvi\")};\nxev=function(W){var Y=window;Y.ywc||(Y.ywc={});var k=Y.ywc[W];if(k)return k;k={};return Y.ywc[W]=k};\nz7=function(){AJ.apply(this,arguments)};\nRD=function(W){if(!W.isProximaLatencyEligible)return 0;var Y=K$();return gS2(W)?2:Y===1?1:W.U(\"html5_enable_proxima\")?2:0};\nKm=function(W,Y,k){W.Ii.publish(Y,k);var P=g.l_(W.zJ)||g.gp(W.zJ)||g.m9(W.zJ);if(k&&P){switch(Y){case \"cuerangemarkersupdated\":var T=\"onCueRangeMarkersUpdated\";break;case \"cuerangesadded\":T=\"onCueRangesAdded\";break;case \"cuerangesremoved\":T=\"onCueRangesRemoved\"}T&&W.Ii.Ri(T,k.map(function(I){return{getId:function(){return this.id},\nend:I.end,id:I.getId(),namespace:I.namespace===\"ad\"?\"ad\":\"\",start:I.start,style:I.style,visible:I.visible,markerPositionMs:I.markerPositionMs}}))}};\nUn7=function(W){var Y;return((Y=W.audio)==null?void 0:Y.W)===!0};\ng.yZ=function(W,Y,k,P,T,I,X,h,B,O){h=h===void 0?!1:h;g.D.call(this);var u=this;this.W6=W;this.schedule=Y;this.policy=k;this.H6=P;this.wD=B;this.LH=O;this.j1=null;this.GJ=this.V5=this.Fr=this.Kg=0;this.y0=this.VM=this.isSuspended=!1;this.bz=\"\";this.UV={};this.J9=NaN;this.K1=0;this.L=null;this.Gn=this.UP=!1;this.LJ=0;this.e1=!1;this.OP=this.Lg=0;this.KH=null;this.Dn=!1;this.XZ=function(){return u.W6.XZ()};\nthis.timing=new pFq(this.LH);this.N=new Gdd(this.schedule,this.policy);this.D_=new g.fC(this.u7,0,this);this.f1=new g.fC(this.u7,this.policy.tT,this);this.Da=new g.fC(this.u7,1E3,this);this.rZ=new g.fC(this.u7,void 0,this);this.Q5=new g.fC(function(){u.isSuspended||u.u7()},1E4,this);\nthis.xq=new g.fC(this.p5P,250,this);this.X=this.currentTime=NaN;this.BQ=new Th(5);this.TJ=this.timestampOffset=NaN;this.logger=new g.M_(\"dash\");this.DY=Infinity;this.zW={HCa:function(){return u.qx},\nIwz:function(){return u.J},\ngetAudioTrack:function(){return u.audioTrack},\ns51:function(){return u.videoTrack},\ngetManifest:function(){return u.H6},\nS$r:function(){return u.K},\nu7:function(){u.u7()},\npS:function(){u.Kg=0;u.pS()},\nYdP:function(M){return dK(u,u.videoTrack,u.j1.K,M)}};\nW=B&&B.Jg();B&&(Pjz(B,this.H6,this.policy),this.TJ=Date.now());this.W=new K3z(this,this.N,k,this.H6,T,W);k=FS5(this.W,I,X&&X.id);this.audioTrack=new n_(this,this.policy,k.audio,this.timing);this.videoTrack=new n_(this,this.policy,k.video,this.timing);this.videoTrack.T.gD=this.audioTrack.HT();this.rD={updateend:this.yO,error:this.c56};g.m(this,this.D_);g.m(this,this.f1);g.m(this,this.Da);g.m(this,this.rZ);g.m(this,this.Q5);k=this.policy.K6&&this.policy.YJ?!rwd(this.videoTrack.W.info):!1;this.tT=EH7({Ch:this.policy.G.Ch||\nk,YJ:this.policy.YJ&&!k,No:this.policy.No});this.G=JmF(this,this.policy,this.tT,this.schedule,this.BQ,function(M,t){return $Cq(u,M,t)});\nthis.J=new q$(this,this.H6,this.policy,this.videoTrack,this.audioTrack,h);this.policy.bz&&this.policy.K&&(this.gD=new J3q(this.policy.UP,function(M,t){u.y5(M,t)}));\nthis.qx=new mh(this,this.H6,this.videoTrack,this.audioTrack,this.policy);h=this.policy.bK?this.W6.getVideoData().I3:null;this.C=new Dy(this,this.policy,this.videoTrack,this.audioTrack,this.UV,this.J,this.timing,this.N,this.schedule,this.H6,this.W,this.G,k,h);g.m(this,this.C);this.T=new gK(this,this.policy,this.videoTrack,this.audioTrack,this.H6,T,a7(this.W6.getVideoData()),X==null?void 0:X.id);g.m(this,this.T);OWC(this.T,I);this.K=new m6(this.W6,this,this.policy,this.audioTrack,this.videoTrack,this.H6,\nthis.schedule,this.W,this.T,this.timing,this.J,this.gD);g.m(this,this.K);this.A5=this.W6.GW.eT.TB;this.policy.C||MC1(this);if(this.policy.Zm){var Z;this.A9=new aB(this.videoTrack.W.index,(Z=this.W6.getVideoData().clientPlaybackNonce)!=null?Z:\"\",this.W6,this.policy.A9);this.policy.A9===3&&(this.xm=new g.fC(this.BY,200,this),this.xm.start(),g.m(this,this.xm))}this.logger.debug(\"Created\")};\ng.cp=function(W){return W instanceof Array?W:U8d(g.e(W))};\nMR=function(W){var Y=da();W=Y?Y.createScriptURL(W):W;return new sW1(W)};\ng.d2=function(W,Y,k,P,T,I,X){g.Ia.call(this,g.XE({\"aria-haspopup\":\"true\"}),Y,W);this.Mq=P;this.N=!1;this.J=null;this.options={};this.Ba=new g.Lj(k,void 0,W,T,I,X);g.m(this,this.Ba);this.listen(\"keydown\",this.kZ);this.listen(\"click\",this.open)};\ng.nT=function(W){return W&&window.yterr?function(){try{return W.apply(this,arguments)}catch(Y){g.Yr(Y)}}:W};\nFS=function(W){if(!W)return new Wn(0,0);var Y=Number(W.start);W=Number(W.end);if(!isNaN(Y)&&!isNaN(W)&&(Y=new Wn(Y,W),Y.length>0))return Y};\nKZ2=function(W){W=Object.keys(W);W=g.e(W);for(var Y=W.next();!Y.done;Y=W.next())if(Y=Y.value,MP2[Y])return Y};\nr3d=function(W,Y,k){var P=g.Jv(Y,k),T=P.Ss(\"default.jpg\");g.c.call(this,{S:\"a\",Ya:[\"ytp-video-menu-item\",\"ytp-button\"],D:{role:\"menuitemradio\",\"aria-label\":P.title,href:W.V().getVideoUrl(P.videoId,Y.listId?Y.listId.toString():null)},B:[{S:\"div\",j:\"ytp-video-menu-item-index\",v6:String(k+1)},{S:\"div\",j:\"ytp-video-menu-item-now-playing\",v6:\"\\u25b6\"},{S:\"div\",j:\"ytp-video-menu-item-thumbnail\",D:{style:T?\"background-image: url(\"+T+\");\":void 0}},{S:\"div\",j:\"ytp-video-menu-item-title\",v6:P.title},{S:\"div\",\nj:\"ytp-video-menu-item-author\",v6:P.author}]});this.api=W;this.index=k;this.listen(\"click\",this.onClick)};\nA30=function(W,Y,k,P){var T=this;P=P===void 0?{}:P;this.policy=Y;this.wx=k;this.status=0;this.W=new $A;this.K=0;this.Xr=this.T=this.J=!1;this.xhr=new XMLHttpRequest;this.xhr.open(P.method||\"GET\",W);if(P.headers)for(W=P.headers,Y=g.e(Object.keys(W)),k=Y.next();!k.done;k=Y.next())k=k.value,this.xhr.setRequestHeader(k,W[k]);this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(){return T.WX()};\nthis.xhr.onload=function(){return T.onDone()};\nthis.xhr.onerror=function(){return T.onError()};\nthis.xhr.fetch(function(I){T.W.append(I);T.K+=I.length;I=(0,g.lj)();T.wx.M8(I,T.K)},function(){},P.body||null)};\nyG=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"videodatachange\",function(){Y.updateMetadata()});\nthis.events.Z(W,\"presentingplayerstatechange\",function(){aJ2(Y)});\nthis.events.Z(W,\"SEEK_COMPLETE\",function(){KGC(Y)})};\njPd=function(W,Y,k,P,T,I,X,h){var B=yb(W,k);I=B?1:I;X=!!X||I===3;B=h&&!B;(I===2||B)&&Qb(W)&&(Y=W.h5,k=Y[a_]|0);W=PP(Y,T);var O=W===Pl?7:W[a_]|0,u=T4(O,k);if(h=!(4&u)){var Z=W,M=k,t=!!(2&u);t&&(M|=2);for(var q=!t,G=!0,E=0,z=0;E>>0:void 0};\nNjC=function(W){W=g.e(W);for(var Y=W.next();!Y.done;Y=W.next())if(Y.value.audio.audioQuality===\"AUDIO_QUALITY_HIGH\")return!0;return!1};\na9v=function(W,Y){var k=Math.min(2.5,lw(W.Sj));W=KH(W);return Y-k*W};\ng.ZR=function(W,Y,k){this.dc=Y===void 0?null:Y;this.seekSource=k===void 0?null:k;this.state=W||64};\nwFd=function(W,Y){W.ob&&W.ob.equals(Y)||(W.ob&&W.ob.dispose(),W.ob=Y)};\nQWS=function(W,Y,k){var P={},T;for(T in Y.W)if(Y.W.hasOwnProperty(T)){var I=Y.W[T].info;if(W.G&&I.video&&I.video.qualityOrdinal3E4,k=Y.W&&k-Y.W>1E3||I?Y.T=!0:!1),k&&(h=Object.assign({},W.ER(Y),h),h.wn=X,h.we=T,h.wsuc=P,W.W6.y5(\"workaroundReport\",h),P&&(Y.reset(),W.J[T]=!1))):W.W6.SW(\"auth\",2,\"BROWSER_OR_EXTENSION_ERROR\",l4({source:\"watchdog\",name:X}))};\nZ10=function(W,Y,k){var P=480;Y=g.e(Y);for(var T=Y.next();!T.done;T=Y.next()){T=T.value;var I=T.video.qualityOrdinal;I<=1080&&I>P&&G3d(W,T,k)===!0&&(P=I)}return P};\noD=function(W){var Y;g.SO()?eJ()==W&&(Y=document):Y=W;return Y&&(W=X4([\"exitFullscreen\",\"webkitExitFullscreen\",\"mozCancelFullScreen\",\"msExitFullscreen\"],Y))?(Y=W.call(Y),Y instanceof Promise?Y:Promise.resolve()):Promise.resolve()};\neAd=function(W,Y){return(W=p3S(W,Y*1E3))?W.durationMs/1E3:0};\nCzd=function(W,Y){if(Y&&W.hlsvp)return JZ();if(W.hlsFormats){Y=E1(W.hlsFormats);var k;if(((k=W.AC)==null?0:k.K)&&Y){k=[];for(var P=g.e(Y),T=P.next();!T.done;T=P.next())k.push(T.value.itag);W.y5(\"hlsfmt\",{itags:k.join(\".\")})}W.A7=oHd(W.pg,Y);W.A7&&rdv(W,W.A7);k=W.clientPlaybackNonce;var I,X,h,B;return vH1(W.pg,W.isAd(),Y,(B=(I=W.playerResponse)==null?void 0:(X=I.captions)==null?void 0:(h=X.playerCaptionsRenderer)==null?void 0:h.baseUrl)!=null?B:null,W.KH,k,function(O){return W.publish(\"ctmp\",\"hlsflt\",\nO)}).then(function(O){for(var u=0,Z=[],M=g.e(O),t=M.next();!t.done;t=M.next()){t=t.value;\nvar q=void 0;Z.push((q=t.getInfo())==null?void 0:q.itag);var G=q=void 0;((q=t.getInfo())==null?void 0:(G=q.audio)==null?void 0:G.numChannels)>u&&(u=t.getInfo().audio.numChannels)}u>2&&W.y5(\"hlschl\",{mn:u});var E;((E=W.AC)==null?0:E.K)&&W.y5(\"hlsfmtaf\",{itags:Z.join(\".\")});var z;if(W.U(\"html5_enable_vp9_fairplay\")&&((z=W.C)==null?0:Y8(z)))for(W.y5(\"drm\",{sbdlfbk:1}),u=g.e(W.PV),Z=u.next();!Z.done;Z=u.next())if(Z=Z.value,jV(Z)){W.C=Z;break}s1(W,O)})}return JZ()};\nL3F=function(W){this.h5=rT(W)};\nU7V=function(W,Y,k){var P=this;k=k===void 0?{}:k;this.wx=Y;this.K=this.status=0;this.Xr=this.W=!1;this.xhr=new XMLHttpRequest;this.xhr.open(k.method||\"GET\",W);if(k.headers){W=k.headers;Y=g.e(Object.keys(W));for(var T=Y.next();!T.done;T=Y.next())T=T.value,this.xhr.setRequestHeader(T,W[T])}this.xhr.responseType=\"arraybuffer\";this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(I){P.WX(I)};\nW=If(function(I){P.onDone(I)});\nthis.xhr.addEventListener(\"load\",W,!1);this.xhr.addEventListener(\"error\",W,!1);k.body?this.xhr.send(k.body):this.xhr.send();this.xhr.addEventListener(\"progress\",If(function(I){P.onProgress(I)}),!1)};\nlbV=function(){var W=g.o_(\"BATCH_CLIENT_COUNTER\")||0;W||(W=Math.floor(Math.random()*65535/2));W++;W>65535&&(W=1);V1(\"BATCH_CLIENT_COUNTER\",W);return W};\nh50=function(W,Y){if(Y<0)throw Error();var k=W.W;Y=k+Y;if(Y>W.J)throw Error();W.W=Y;return k};\nbC=function(W){W.G=null;W.J=null;W.api.g_()||W.api.clearQueue()};\nmd2=function(W){var Y=$D(W.Yf.Gr,2),k=W.Rs.J,P=W.Yf,T=Kz(W),I=kD(T.T),X=kD(T.X),h=kD(P.volume),B=$D(T.G,2),O=$D(T.Kg,2),u=$D(P.Gr,2),Z=$D(T.wD,2),M=$D(T.TJ,2);P=$D(P.La,2);var t=W.oE().clone().round();W=W.jL&&W.jL.J?(W.jL?W.jL.J:null).clone().round():null;T=Hn(T,!1);return{q6z:Y,Kt:k,cq:I,QG:X,HQ:h,LR:B,Bq:O,Gr:u,zt:Z,VG:M,La:P,position:t,Rd:W,AP:T}};\njD=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t){g.D.call(this);this.callback=W;this.qq=Y;this.Pa=k;this.JT=P;this.Cg=T;this.gV=I;this.CH=X;this.wU=h;this.slot=B;this.layout=O;this.Yh=u;this.QH=Z;this.er=M;this.P6=t;this.ey=!0;this.ZV=!1;this.Ls=[];this.tS=-1;this.FN=!1;this.lZ=new $ez};\nj85=function(W,Y,k){if(W.K!==0&&k&&Y.EP[0].qa()){var P=Y.EP[0].t5,T=Y.EP[0].C;Y=Y.isDecorated();bd0(W,P,T,Y,k)}};\nOh=function(W,Y,k){return{qS:c37(W.W,Y*1E3,(k===void 0?0:k)*1E3),cS:Y}};\ng.vK=function(W,Y){g.c.call(this,{S:\"div\",B:[{S:\"div\",j:\"ytp-tooltip-text-wrapper\",D:{\"aria-hidden\":\"{{ariaHidden}}\"},B:[{S:\"div\",j:\"ytp-tooltip-edu\",B:[{S:\"svg\",D:{height:\"100%\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M14.1 36.75 12 34.65 24 22.65 36 34.65 33.9 36.75 24 26.85ZM14.1 24.1 12 22 24 10 36 22 33.9 24.1 24 14.2Z\"}}]},{S:\"span\",v6:\"{{eduText}}\"}]},{S:\"div\",j:\"ytp-tooltip-image\"},{S:\"div\",j:\"ytp-tooltip-title\",B:[{S:\"span\",v6:\"{{title}}\"},{S:\"div\",j:\"ytp-tooltip-keyboard-shortcut\",\nv6:\"{{keyBoardShortcutTitle}}\"}]},{S:\"div\",j:\"ytp-tooltip-bottom-text\",B:[{S:\"span\",j:\"ytp-tooltip-text\",v6:\"{{text}}\"},{S:\"div\",j:\"ytp-tooltip-keyboard-shortcut\",v6:\"{{keyBoardShortcut}}\"}]},{S:\"div\",j:\"ytp-tooltip-progress-bar-pill\",B:[{S:\"div\",j:\"ytp-tooltip-progress-bar-pill-time-stamp\",v6:\"{{pillTimeStamp}}\"},{S:\"div\",j:\"ytp-tooltip-progress-bar-pill-title\",v6:\"{{pillTitle}}\"}]}]},{S:\"div\",j:\"ytp-tooltip-bg\",B:[{S:\"div\",j:\"ytp-tooltip-duration\",v6:\"{{duration}}\"}]}]});var k=this;this.api=W;this.OP=\nY;this.N=function(P){(P=P.relatedTarget)&&g.MG(k.W,P)||k.SS()};\nthis.C=function(P){k.type===3&&k.SS();(P=P.currentTarget)&&P.nodeType===1&&!k.type&&(P.removeEventListener(\"mouseover\",k.C),P.addEventListener(\"mouseout\",k.N),P.removeEventListener(\"focus\",k.C),P.addEventListener(\"blur\",k.N),x7C(k,P,2))};\nthis.A5=function(){k.SS()};\nthis.type=this.W=null;this.G=!1;this.K=null;this.J=\"\";this.X=!0;this.scale=1;this.env=this.api.V();this.gD=this.env.K;this.wrapper=this.J5(\"ytp-tooltip-text-wrapper\");this.bg=this.J5(\"ytp-tooltip-bg\");this.TJ=this.J5(\"ytp-tooltip-edu\");this.image=this.J5(\"ytp-tooltip-image\");this.text=this.J5(\"ytp-tooltip-text\");this.bottomText=this.J5(\"ytp-tooltip-bottom-text\");this.title=this.J5(\"ytp-tooltip-title\");this.fade=new g.fH(this,100);this.T=NaN;this.iU=this.api.ai().getPlayerSize().width;this.Kg=new g.fC(this.vaa,\n250,this);this.wD=new g.fC(this.SS,5E3,this);g.m(this,this.fade);g.m(this,this.Kg);g.m(this,this.wD);Fy&&(W=this.J5(\"ytp-tooltip-text\"),W.setAttribute(\"role\",\"text\"),W.setAttribute(\"aria-live\",\"polite\"))};\nH5=function(W){return W.playerVars!==void 0&&W.pings!==void 0&&W.externalVideoId!==void 0};\nck=function(W){if(document.createRange){var Y=document.createRange();Y&&(Y.selectNodeContents(W),W=window.getSelection())&&(W.removeAllRanges(),W.addRange(Y))}};\nfb2=function(W){var Y=null;W.W!=null&&(Y=[W.W.serviceEndpoint,W.W.navigationEndpoint].filter(function(k){return k!=null}),W.W.command&&(Y=Y.concat(W.W.command)));\nreturn Y||[]};\nVoV=function(W,Y){return Y+10&&lT<=2.3;B=Y?Y.useNativeControls:W.use_native_controls;this.G=g.hN(this)&&this.K;O=this.K&&!this.G;B=g.S1(this)||!h&&ud(O,B)?\"3\":\"1\";this.disableOrganicUi=!(Y==null||!Y.disableOrganicUi);O=Y?Y.controlsType:W.controls;this.controlsType=this.disableOrganicUi||O===\"0\"||O===0?\"0\":B;this.v4=this.K;this.color=LO(\"red\",Y?Y.progressBarColor:W.color,Iy2);this.b3=this.controlsType===\"3\";this.Gn=!this.T;this.vV=(B=!this.Gn&&!om(this)&&!this.Kg&&!this.X&&!vR(this))&&\n!this.b3&&this.controlsType===\"1\";this.rZ=g.vL(this)&&B&&this.controlsType===\"0\"&&!this.vV&&!(Y==null?0:Y.embedsEnableEmc3ds);this.zR=this.Ey=h;this.xq=(this.controlsType===\"3\"||this.K||ud(!1,W.use_media_volume))&&!this.G;this.il=B8&&!g.XK(601)?!1:!0;this.KI=this.T||!1;this.D_=om(this)?\"\":(this.loaderUrl||W.post_message_origin||\"\").substring(0,128);this.widgetReferrer=CO(\"\",Y?Y.widgetReferrer:W.widget_referrer);var u;Y?Y.disableCastApi&&(u=!1):u=W.enablecastapi;u=!this.L||ud(!0,u);h=!0;Y&&Y.disableMdxCast&&\n(h=!1);this.NA=this.U(\"enable_cast_for_web_unplugged\")&&g.gp(this)&&h||g.m9(this)&&h||u&&h&&this.controlsType===\"1\"&&!this.K&&(om(this)||g.vL(this)||g.ai(this));this.Mo=!!window.document.pictureInPictureEnabled||hj();u=Y?!!Y.supportsAutoplayOverride:ud(!1,W.autoplayoverride);this.nu=!(this.K&&!g.hN(this))&&!g.fF(\"nintendo wiiu\")||u;this.i_=(Y?!!Y.enableMutedAutoplay:ud(!1,W.mutedautoplay))&&!1;u=(om(this)||vR(this))&&this.playerStyle===\"blazer\";this.Er=Y?!!Y.disableFullscreen:!ud(!0,W.fs);h=g.He(g.q9(this))&&\ng.hN(this);this.Lg=!this.Er&&(u||g.SO())&&!h;this.GU=this.U(\"html5_picture_in_picture_logging_onresize\");var Z;this.I5=(Z=g.je(this.experiments,\"html5_picture_in_picture_logging_onresize_ratio\"))!=null?Z:.33;this.PH=this.U(\"html5_picture_in_picture_blocking_onresize\");this.wX=this.U(\"html5_picture_in_picture_blocking_ontimeupdate\");this.qV=this.U(\"html5_picture_in_picture_blocking_document_fullscreen\");this.WV=this.U(\"html5_picture_in_picture_blocking_standard_api\");Z=Zt()&&UX(58)&&!gj();u=o4||typeof MediaSource===\n\"undefined\";this.vu=this.U(\"uniplayer_block_pip\")&&(Z||u)||this.PH||this.wX||this.WV;Z=g.hN(this)&&!this.uv;var M;Y?Y.disableRelatedVideos!==void 0&&(M=!Y.disableRelatedVideos):M=W.rel;this.DY=Z||ud(!this.X,M);this.LI=ud(!1,Y?Y.enableContentOwnerRelatedVideos:W.co_rel);this.N=gj()&&lT>0&&lT<=4.4?\"_top\":\"_blank\";this.vk=g.ai(this);this.yL=ud(this.playerStyle===\"blazer\",Y?Y.enableCsiLogging:W.enablecsi);switch(this.playerStyle){case \"blogger\":M=\"bl\";break;case \"gmail\":M=\"gm\";break;case \"gac\":M=\"ga\";\nbreak;case \"ads-preview\":M=\"ap\";break;case \"books\":M=\"gb\";break;case \"docs\":case \"flix\":M=\"gd\";break;case \"duo\":M=\"gu\";break;case \"google-live\":M=\"gl\";break;case \"google-one\":M=\"go\";break;case \"play\":case \"play-ads\":M=\"gp\";break;case \"chat\":M=\"hc\";break;case \"hangouts-meet\":M=\"hm\";break;case \"photos-edu\":case \"picasaweb\":M=\"pw\";break;default:M=\"yt\"}this.A5=M;this.wD=CO(\"\",Y?Y.authorizedUserIndex:W.authuser);this.xm=g.hN(this)&&(this.f1||!xQ2()||this.GJ);var t;Y?Y.disableWatchLater!==void 0&&(t=!Y.disableWatchLater):\nt=W.showwatchlater;this.rV=((M=!this.xm)||!!this.wD&&M)&&ud(!this.Kg,this.L?t:void 0);this.AC=Y?Y.isMobileDevice||!!Y.disableKeyboardControls:ud(!1,W.disablekb);this.loop=ud(!1,W.loop);this.pageId=CO(\"\",Y?Y.initialDelegatedSessionId:W.pageid);this.cF=ud(!0,W.canplaylive);t=g.je(this.experiments,\"html5_default_audio_quality_setting_lr\");var q;this.wO=(q=XK5[XK5[t]])!=null?q:0;this.e1=ud(!1,W.livemonitor);this.disableSharing=ud(this.X,Y?Y.disableSharing:W.ss);(q=Y&&this.U(\"fill_video_container_size_override_from_wpcc\")?\nY.videoContainerOverride:W.video_container_override)?(t=q.split(\"x\"),t.length!==2?q=null:(q=Number(t[0]),t=Number(t[1]),q=isNaN(q)||isNaN(t)||q*t<=0?null:new g.Sn(q,t))):q=null;this.PV=q;this.mute=Y?!!Y.startMuted:ud(!1,W.mute);this.storeUserVolume=!this.mute&&ud(this.controlsType!==\"0\",Y?Y.storeUserVolume:W.store_user_volume);q=Y?Y.annotationsLoadPolicy:W.iv_load_policy;this.annotationsLoadPolicy=this.controlsType===\"3\"?3:LO(void 0,q,bT);this.captionsLanguagePreference=Y?Y.captionsLanguagePreference||\n\"\":CO(\"\",W.cc_lang_pref);q=LO(2,Y?Y.captionsLanguageLoadPolicy:W.cc_load_policy,bT);this.controlsType===\"3\"&&q===2&&(q=3);this.KL=q;this.LH=Y?Y.hl||\"en_US\":CO(\"en_US\",W.hl);this.region=Y?Y.contentRegion||\"US\":CO(\"US\",W.cr);this.hostLanguage=Y?Y.hostLanguage||\"en\":CO(\"en\",W.host_language);this.UK=!this.f1&&Math.random()=480;this.schedule=new a25(Z,new yP0(this.experiments),T);g.m(this,this.schedule);var G;this.enableSafetyMode=(G=Y==null?void 0:Y.initialEnableSafetyMode)!=null?G:ud(!1,W.enable_safety_mode);T=this.Fr?!1:om(this)&&this.playerStyle!==\n\"blazer\";var E;Y?Y.disableAutonav!=null&&(E=!Y.disableAutonav):E=W.allow_autonav;this.UV=ud(T,!this.Kg&&E);this.sendVisitorIdHeader=Y?!!Y.sendVisitorIdHeader:ud(!1,W.send_visitor_id_header);var z;this.playerStyle===\"docs\"&&(Y?z=Y.disableNativeContextMenu:z=W.disable_native_context_menu);this.disableNativeContextMenu=ud(!1,z);this.l4=x6(this)&&this.U(\"enable_skip_intro_button\");this.embedConfig=CO(\"\",Y?Y.serializedEmbedConfig:W.embed_config);this.gD=Vu(W,g.hN(this));this.J=this.gD===\"EMBEDDED_PLAYER_MODE_PFL\";\nthis.embedsErrorLinks=!(Y==null||!Y.embedsErrorLinks);this.zg=ud(!1,W.full_window);var A;this.rD=!((A=this.webPlayerContextConfig)==null?0:A.chromeless);var F;this.livingRoomAppMode=LO(\"LIVING_ROOM_APP_MODE_UNSPECIFIED\",W.living_room_app_mode||(Y==null?void 0:(F=Y.device)==null?void 0:F.livingRoomAppMode),uSC);var y;E=ag(NaN,Y==null?void 0:(y=Y.device)==null?void 0:y.deviceYear);isNaN(E)||(this.deviceYear=E);this.transparentBackground=Y?!!Y.transparentBackground:ud(!1,W.transparent_background);this.showMiniplayerButton=\nY?!!Y.showMiniplayerButton:ud(!1,W.show_miniplayer_button);var U;g.hN(this)&&!(Y==null?0:(U=Y.embedsHostFlags)==null?0:U.allowSetFauxFullscreen)?this.externalFullscreen=!1:this.externalFullscreen=Y?!!Y.externalFullscreen:ud(!1,W.external_fullscreen);this.showMiniplayerUiWhenMinimized=Y?!!Y.showMiniplayerUiWhenMinimized:ud(!1,W.use_miniplayer_ui);var V;this.Ka=(V=W.show_loop_video_toggle)!=null?V:!0;this.df=Math.random()<1E-4;if(W.onesie_hot_config||(Y==null?0:Y.onesieHotConfig))this.tT=new OaC(W.onesie_hot_config,\nY==null?void 0:Y.onesieHotConfig),g.m(this,this.tT);this.isTectonic=Y?!!Y.isTectonic:!!W.isTectonic;this.playerCanaryState=k;this.playerCanaryStage=Y==null?void 0:Y.canaryStage;this.CN=new ZOX;g.m(this,this.CN);this.datasyncId=(Y==null?void 0:Y.datasyncId)||g.o_(\"DATASYNC_ID\");this.Aj=g.o_(\"LOGGED_IN\",!1);this.Cn=(Y==null?void 0:Y.allowWoffleManagement)||!1;this.yD=Infinity;this.A7=NaN;this.livingRoomPoTokenId=Y==null?void 0:Y.livingRoomPoTokenId;this.U(\"html5_high_res_logging_always\")?this.Zm=!0:\nthis.Zm=Math.random()*1000||Y>127;)W.W.push(Y&127|128),Y=(Y>>>7|k<<25)>>>0,k>>>=7;W.W.push(Y)};\nFm=function(W){sE.call(this,W);var Y=this;V3(this.api,\"getSphericalProperties\",function(){return Y.getSphericalProperties()});\nV3(this.api,\"setSphericalProperties\",function(){Y.setSphericalProperties.apply(Y,g.cp(g.xh.apply(0,arguments)))});\nNE(this.api,\"getSphericalProperties\",function(){return Y.api.getPresentingPlayerType()===2?{}:Y.getSphericalProperties()});\nNE(this.api,\"setSphericalProperties\",function(){var k=g.xh.apply(0,arguments);Y.api.getPresentingPlayerType()!==2&&Y.setSphericalProperties.apply(Y,g.cp(k))})};\nC_=function(W,Y,k){W=W.loader.m2()||0;return l9(Y,(k+W)*1E3)/1E3+k};\nhJ=function(W){this.value=W};\naR=function(){this.data=new Uint8Array(2048);this.pos=0;aD||(aD=yQ(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.\"))};\npKv=function(W){switch(W){case \"TRIGGER_CATEGORY_SLOT_ENTRY\":return\"ADS_CLIENT_ERROR_MESSAGE_EMPTY_SLOT_ENTRY_TRIGGER\";case \"TRIGGER_CATEGORY_SLOT_EXPIRATION\":return\"ADS_CLIENT_ERROR_MESSAGE_EMPTY_SLOT_EXPIRATION_TRIGGER\";case \"TRIGGER_CATEGORY_SLOT_FULFILLMENT\":return\"ADS_CLIENT_ERROR_MESSAGE_EMPTY_SLOT_FULFILLMENT_TRIGGER\";default:return\"ADS_CLIENT_ERROR_MESSAGE_INVALID_TRIGGER\"}};\nEf=function(W,Y,k,P,T,I,X){W=[new $d(W.W,Y)];return{slotId:Y,slotType:k,slotPhysicalPosition:1,slotEntryTrigger:P,slotFulfillmentTriggers:W,slotExpirationTriggers:T,fg:\"core\",clientMetadata:new i_([new H$(X({slotId:Y,slotType:k,slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:P,slotFulfillmentTriggers:W,slotExpirationTriggers:T}))]),adSlotLoggingData:I}};\nCC=function(W,Y,k,P,T,I,X){X=X===void 0?null:X;g.pk.call(this,Y);this.api=W;this.macros={};this.componentType=k;this.X=this.G=null;this.Lg=X;this.layoutId=P;this.interactionLoggingClientData=T;this.B6=I;this.V5=null;this.TI=new gi(this.element);g.m(this,this.TI);this.e1=this.Z(this.element,\"click\",this.onClick);this.gD=[];this.wD=new xO(this.onClick,this);g.m(this,this.wD);this.A9=!1;this.OP=this.A5=null};\nxj0=function(W){return W.videoData.xZ()&&W.U(\"html5_enable_shorts_seek_details_logging\")};\nnk=function(W){return new uD(function(Y,k){k(W)})};\nWi=function(W,Y,k,P,T){Y=Yu7(W,Y);k=Yu7(W,k);W=W.progressBar.visualElement;P={seekData:{startMediaTimeMs:Y,endMediaTimeMs:k,seekSource:P}};(Y=g.Zu())&&bS(Y,W,T,P)};\nVt6=function(W,Y,k){if(!Qk1(Y,k))return Y=uT(Y.info),Y.smst=\"1\",W.loader.handleError(\"fmt.unparseable\",Y||{},1),!1;isNaN(W.TJ)&&(W.TJ=k);return!0};\nzxV=function(W,Y,k){Y={cpn:Y};W.indexOf(\"/ibw/\")===-1&&(Y.ibw=k?String(k):\"1369843\");return{url:g.YW(W,Y),type:\"application/x-mpegURL\",quality:\"auto\",itag:\"93\"}};\nG7z=function(W){var Y=Y||0;return function(){return W.apply(this,Array.prototype.slice.call(arguments,0,Y))}};\ndO=function(W){return W?(W.itag||\"\")+\";\"+(W.lmt||0)+\";\"+(W.xtags||\"\"):\"\"};\nKh5=function(){this.W=[]};\ng.Yc=function(){g.sq.call(this);this.W=0;this.endTime=this.startTime=null};\njS=function(W,Y,k,P,T,I){var X=I===void 0?{}:I;var h=X.sF===void 0?[]:X.sF;var B=X.qP===void 0?!1:X.qP;var O=X.du===void 0?0:X.du;var u=X.poToken===void 0?\"\":X.poToken;var Z=X.Dx===void 0?void 0:X.Dx;var M=X.x9===void 0?\"\":X.x9;var t=X.Z9===void 0?0:X.Z9;var q=X.I3===void 0?new Uint8Array(0):X.I3;var G=X.M2===void 0?!1:X.M2;I=X.TX===void 0?0:X.TX;X=X.wY===void 0?void 0:X.wY;$c.call(this,Y,T);var E=this;this.policy=W;this.logger=new g.M_(\"dash/request\");this.CK=this.Zg=0;this.wL=!1;this.GC=this.L8=\nnull;this.Nl=!1;this.I3=this.Z9=null;this.oV=this.OQ=!1;this.CF=null;this.TX=this.Ww=0;this.cA=!1;this.zW={ZY:function(A){E.ZY(A)},\npD5:function(){return E.ue},\ndH5:function(A){E.ue=A},\nBTg:function(A){E.Zg=A},\nQEP:function(A){E.Yq.lastError=A},\nNj:function(){return E.xhr}};\nthis.timing=new nB(this,k);this.qP=B;this.Z9=t;this.I3=q;this.SL=g.kc(this.info,this.policy,P);this.SL.set(\"rn\",this.H4().toString());this.SL.set(\"rbuf\",(O*1E3).toFixed().toString());this.qP&&this.SL.set(\"smb\",\"1\");this.policy.vV&&u&&this.SL.set(\"pot\",u);M&&this.SL.set(\"bbs\",M);this.policy.useUmp&&!Wd(46,this.SL.b5)&&(this.MB=new tx(this),this.SL.set(\"ump\",\"1\"),this.SL.set(\"srfvp\",\"1\"));if(W=this.policy.No?this.policy.sJ&&!isNaN(this.info.Cs)&&this.info.Cs>this.policy.o8?!1:!0:!1)Y=null,this.policy.R9&&\nthis.policy.YJ?Y=[1]:G&&(Y=[]),Y!=null&&(this.policy.RW&&Y.push(2),this.SL.set(\"defsel\",Y.join(\",\")));this.Yq=new pB(this,this.policy,this.SL,this.info.ob,this.timing,this.logger,P,Z);this.sF=h||null;this.iG=hU6(this);TYq(this.Yq);P=void 0;if(this.policy.TL||this.MB||this.policy.OP)P={method:\"POST\"},h=(0,g.oo)([120,0]),Z={},this.policy.PQ&&X&&(X=iE(void 0,X),Z.HB=X),this.policy.bK&&this.I3&&(Z.videoPlaybackUstreamerConfig=this.I3),this.policy.OP&&(X=this.info.T)&&Object.assign(Z,X),Object.keys(Z).length>\n0?P.body=g.Pi(Z,g.Vu1):P.body=h;if(this.Z9&&this.I3){this.SL.set(\"iwts\",\"1\");P={method:\"POST\"};X={Ko:this.Z9*1E3};var z;h=(z=this.info.T)==null?void 0:z.h7;z=g.Pi({a5:X,h7:h||void 0,videoPlaybackUstreamerConfig:this.I3},g.Vu1);P.body=z}try{this.xhr=Ge(this.SL,this.policy.G,this.timing,W,P),this.Yq.K.start(),I&&(this.MH=new g.fC(this.Wj,I,this),this.MH.start(I+(this.timing.Sj.L.le()||0)*1E3)),this.policy.Fv&&E$(this.timing,this.OV()),this.logger.debug(function(){return\"Sent, itag=\"+E.SL.get(\"itag\")+\n\" seg=\"+E.info.EP[0].t5+\" range=\"+E.SL.get(\"range\")+\" time=\"+Math.round(E.info.EP[0].C)+\"-\"+Math.round(g.wE(E.info.EP).X)+\" rtp=\"+(E.timing.ZW()-Date.now()).toFixed(0)}),g.Vf(function(){})}catch(A){tlX(this,A,!0)}};\nEZ0=function(W){JI1=W};\ng.gM=function(){this.segments=[];this.W=null;this.K=!0;this.J=\"\"};\nBB=function(W){this.value=W};\nneV=function(W){var Y={},k,P=(k=W.jn)==null?void 0:k.oB/1E3;P!=null&&(Y.SURVEY_ELAPSED_MS=ge(function(){return Math.round(P*1E3).toString()}));\nY.SURVEY_LOCAL_TIME_EPOCH_S=ge(function(){return Math.round(Date.now()/1E3).toString()});\nreturn Y};\nTL=function(W){W.W.stop();var Y=Infinity;for(var k=g.e(W.data),P=k.next();!P.done;P=k.next())P=P.value,P.expire=67&&!W.api.V().G;W=W.api.V().disableOrganicUi;return!g.fF(\"tizen\")&&!D$&&!Y&&!W};\ng.kO=function(W){return(W.deviceIsAudioOnly||!g.sr||o4||W.controlsType===\"3\"?!1:g.pK?W.T&&g.XK(51):!0)||(W.deviceIsAudioOnly||!g.r9||o4||W.controlsType===\"3\"?!1:g.pK?W.T&&g.XK(48):g.XK(38))||(W.deviceIsAudioOnly||!g.sT||o4||W.controlsType===\"3\"?!1:g.pK?W.T&&g.XK(37):g.XK(27))||!W.deviceIsAudioOnly&&g.jx&&!sDq()&&g.XK(11)||!W.deviceIsAudioOnly&&g.nV&&g.XK(\"604.4\")};\nYe=function(W,Y){Y=Y===void 0?\"\":Y;return W.Aj?HQ(!0):rG(R8(HQ(g.ws(W,Y)),function(k){return HQ(!!k)}),function(){return HQ(!1)})};\nVYF=function(W){var Y=[\"o\",\"a\",\"A\"];W.TJ===1&&(W.T&&(Y=[\"mac3\",\"MAC3\"].concat(Y)),W.C&&(Y=[\"meac3\",\"MEAC3\"].concat(Y)),W.f1&&(Y=[\"i\",\"I\"].concat(Y)));W.A5&&(Y=[\"so\",\"sa\"].concat(Y));!W.xq||W.OP||W.J||W.AC||Y.unshift(\"a\");W.J&&(Y=(rn2[W.J]||[W.J]).concat(Y));return Y};\nGYX=function(W){for(var Y={w2:0};Y.w2<16;Y={w2:Y.w2},++Y.w2){var k=new g.c({S:\"a\",j:\"ytp-suggestion-link\",D:{href:\"{{link}}\",target:W.api.V().N,\"aria-label\":\"{{aria_label}}\"},B:[{S:\"div\",j:\"ytp-suggestion-image\"},{S:\"div\",j:\"ytp-suggestion-overlay\",D:{style:\"{{blink_rendering_hack}}\",\"aria-hidden\":\"{{aria_hidden}}\"},B:[{S:\"div\",j:\"ytp-suggestion-title\",v6:\"{{title}}\"},{S:\"div\",j:\"ytp-suggestion-author\",v6:\"{{author_and_views}}\"},{S:\"div\",D:{\"data-is-live\":\"{{is_live}}\"},j:\"ytp-suggestion-duration\",\nv6:\"{{duration}}\"}]}]});g.m(W,k);var P=k.J5(\"ytp-suggestion-link\");g.KX(P,\"transitionDelay\",Y.w2/20+\"s\");W.J.Z(P,\"click\",function(T){return function(I){var X=T.w2;if(W.K){var h=W.suggestionData[X],B=h.sessionData;W.C&&W.api.U(\"web_player_log_click_before_generating_ve_conversion_params\")?(W.api.logClick(W.W[X].element),X=h.md(),h={},g.zD(W.api,h),X=g.YW(X,h),g.bH(X,W.api,I)):g.It(I,W.api,W.C,B||void 0)&&W.api.zq(h.videoId,B,h.playlistId)}else I.preventDefault(),document.activeElement.blur()}}(Y));\nk.S1(W.suggestions.element);W.W.push(k);W.api.createServerVe(k.element,k)}};\nUT=function(W){W.W=null;W.wD=-1;W.N=0;W.X=null;W.TJ=NaN;W.A5=0;W.Kg=null};\nrn=function(W){return W.TJ===\"leanback\"};\nrJ1=function(W,Y,k){if(k.length==0)throw new l(\"No \"+Yl2.get(Y)+\" triggers found for slot.\",void 0,pKv(Y));k=g.e(k);for(var P=k.next();!P.done;P=k.next())if(P=P.value,!W.x7.hL.get(P.triggerType))throw new l(\"No trigger adapter registered for \"+Y+\" trigger of type: \"+P.triggerType,void 0,\"ADS_CLIENT_ERROR_MESSAGE_NO_TRIGGER_ADAPTER_REGISTERED_FOR_TYPE\");};\nAJq=function(W){W.Y.cueVideoByPlayerVars({videoId:\"empty_video\"},2)};\nzFq=function(W,Y){var k,P;W=((k=W.watchEndpointSupportedAuthorizationTokenConfig)==null?void 0:(P=k.videoAuthorizationToken)==null?void 0:P.credentialTransferTokens)||[];for(k=0;k-1)return Y.apply(null,g.cp(k));try{return W.W=W.J.W.now(),Y.apply(null,g.cp(k))}finally{W.T+=W.J.W.now()-W.W,W.W=-1,W.K+=1}}};\nmE2=function(W,Y){for(var k=new Uint8Array(270),P=0;P<135;P++)k[P*2]=''.charCodeAt(P);W=W.J.createSession(\"video/mp4\",Y,k);return new hg(null,null,null,null,W)};\nSlS=function(W){return new Promise(function(Y){var k=g.sF(\"SCRIPT\");if(W){var P=IL(W,6);P=P===null||P===void 0?null:Xe0(P)}else P=null;k.textContent=Y$(P);ds(k);(g.yg(\"HEAD\")[0]||document.documentElement).appendChild(k);g.q8(k);Y()})};\nBi=function(W){var Y=XI();return!!(Y&&Y.canPlayType&&Y.canPlayType(W))};\nOv=function(W,Y,k){Y=Y===void 0?!0:Y;k=k===void 0?!1:k;g.c.call(this,{S:\"div\",j:\"ytp-suggested-action\"});var P=this;this.Y=W;this.K1=this.Kg=this.wD=this.A5=this.T=this.G=this.expanded=this.enabled=this.rD=!1;this.e1=new g.fC(function(){P.badge.element.style.width=\"\"},200,this);\nthis.Fr=new g.fC(function(){WC(P);yR(P)},200,this);\nthis.GJ=this.Y.U(\"delhi_modern_web_player\")?40:34;this.dismissButton=new g.c({S:\"button\",Ya:[\"ytp-suggested-action-badge-dismiss-button-icon\",\"ytp-button\"]});g.m(this,this.dismissButton);this.J=new g.c({S:\"div\",j:\"ytp-suggested-action-badge-expanded-content-container\",B:[{S:\"label\",j:\"ytp-suggested-action-badge-title\",v6:\"{{badgeLabel}}\"},this.dismissButton]});g.m(this,this.J);this.OP=new g.c({S:\"div\",j:\"ytp-suggested-action-badge-icon-container\",B:[Y?{S:\"div\",j:\"ytp-suggested-action-badge-icon\"}:\n\"\"]});g.m(this,this.OP);this.badge=new g.c({S:k?\"div\":\"button\",Ya:[\"ytp-button\",\"ytp-suggested-action-badge\",\"ytp-suggested-action-badge-with-controls\"],B:[this.OP,this.J]});g.m(this,this.badge);this.badge.S1(this.element);this.N=new g.fH(this.badge,250,!1,100,function(){P.Y.U(\"web_player_overlay_positioned_layout\")&&P.hide()});\ng.m(this,this.N);W.U(\"web_player_overlay_positioned_layout\")&&this.hide();this.bz=new g.fH(this.J,250,!1,100);g.m(this,this.bz);this.Lg=new g.uC(this.mx5,null,this);g.m(this,this.Lg);this.Q5=new g.uC(this.Ie,null,this);g.m(this,this.Q5);g.m(this,this.e1);g.m(this,this.Fr);this.Y.createServerVe(this.badge.element,this.badge,!0);this.Y.createServerVe(this.dismissButton.element,this.dismissButton,!0);this.Z(this.Y,\"onHideControls\",function(){P.gW(!1)});\nthis.Z(this.Y,\"onShowControls\",function(){P.gW(!0)});\nthis.Z(this.badge.element,\"click\",this.Lt);this.Z(this.dismissButton.element,\"click\",this.yQ);this.Z(this.Y,\"pageTransition\",this.SK);this.Z(this.Y,\"appresize\",this.zw);this.Z(this.Y,\"fullscreentoggled\",this.mTi);this.Z(this.Y,\"cardstatechange\",this.vm5);this.Z(this.Y,\"annotationvisibility\",this.S61,this);this.Z(this.Y,\"offlineslatestatechange\",this.C_2,this)};\nEKd=function(W){var Y=W.X,k=ds0(Y);k&&(k.startSecs+=W.TJ,W.loader.Kw(W.C,k,Y.bv,Y.qH()))};\nil=function(W){this.Y=W;this.adVideoId=this.W=this.videoId=this.adCpn=this.contentCpn=null;this.C=!0;this.K=this.J=!1;this.adFormat=null;this.T=\"AD_PLACEMENT_KIND_UNKNOWN\";this.actionType=\"unknown_type\";this.videoStreamType=\"VIDEO_STREAM_TYPE_VOD\"};\nwK0=function(W,Y,k,P,T,I,X,h){var B,O,u,Z,M,t;return g.v(function(q){switch(q.W){case 1:return B=g.Y6(W),B===4?q.return(4):g.L(q,g.BP(),2);case 2:O=q.K;if(!O)throw g.ks(\"wiac\");if(!h||X===void 0){q.oi(3);break}return g.L(q,DEF(h,X),4);case 4:X=q.K;case 3:return u=k.lastModified||\"0\",g.L(q,g.Og(O),5);case 5:return Z=q.K,g.Ta(q,6),ua++,g.L(q,g.KQ(Z,[\"index\",\"media\"],{mode:\"readwrite\",tag:\"IDB_TRANSACTION_TAG_WIAC\",sR:!0},function(G){if(I!==void 0&&X!==void 0){var E=\"\"+W+\"|\"+Y.id+\"|\"+u+\"|\"+String(I).padStart(10,\n\"0\");E=g.J8(G.objectStore(\"media\"),X,E)}else E=g.UE.resolve(void 0);var z=g6z(W,Y.qa()),A=g6z(W,!Y.qa()),F={fmts:Fh6(P),format:k||{}};z=g.J8(G.objectStore(\"index\"),F,z);var y=P.downloadedEndTime===-1;F=y?G.objectStore(\"index\").get(A):g.UE.resolve(void 0);var U={fmts:\"music\",format:{}};G=y&&T&&!Y.qa()?g.J8(G.objectStore(\"index\"),U,A):g.UE.resolve(void 0);return g.UE.all([G,F,E,z]).then(function(V){V=g.e(V);V.next();V=V.next().value;ua--;var b=g.Y6(W);if(b!==4&&y&&T||V!==void 0&&g.uxd(V.fmts))b=1,g.Fh(W,\nb);return b})}),8);\ncase 8:return q.return(q.K);case 6:M=g.jh(q);ua--;t=g.Y6(W);if(t===4)return q.return(t);g.Fh(W,4);throw M;}})};\nQDV=function(W){var Y=document.querySelectorAll('[data-tooltip-target-id=\"'+W.tooltipRenderer.targetId+'\"]');Y=Y.length>0?Y[0]:null;var k=g.hr(\"ytp-chrome-bottom\"),P=g.hr(\"ytp-ad-module\");W.T=!(k==null||!k.contains(Y));W.G=!(P==null||!P.contains(Y));W.N=!(Y==null||!Y.hasAttribute(\"data-tooltip-target-fixed\"));return Y};\no1=function(W){return!!W.c5||W.ow};\nyJV=function(W){switch(W){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7}};\neFz=function(W){if(!W.W)return null;var Y=re(W.W,\"atr\");return function(k){W.W&&c$C(W.W,k,Y)}};\ng.xe=function(){return{S:\"svg\",D:{height:\"100%\",viewBox:\"0 0 24 24\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\",fill:\"#fff\"}}]}};\nGG=function(W,Y,k,P){return W.P6.get().OU(Yd(Y))?new In(W.W,k):P};\no62=function(W){return g.ik([\"fullscreenchange\",\"webkitfullscreenchange\",\"mozfullscreenchange\",\"MSFullscreenChange\"],function(Y){return\"on\"+Y.toLowerCase()in W})};\nKz=function(W,Y){return W.wD[Y!=null&&Y2147483647?-1:g.hL.setTimeout(W,Y||0)};\nPsS=function(W,Y){function k(){PE({writeThenSend:!0},W,Y)}\nW=W===void 0?!1:W;Y=Y===void 0?200:Y;var P=Yf(W,Y),T=P===v6V||P===CT2?5E3:LhC;g.dS(\"web_gel_timeout_cap\")&&!P.W&&(T=B0(function(){k()},T),P.W=T);\n$f(P.K);T=g.o_(\"LOGGING_BATCH_TIMEOUT\",g.uu(\"web_gel_debounce_ms\",1E4));g.dS(\"shorten_initial_gel_batch_timeout\")&&d0&&(T=UE2);T=B0(function(){g.uu(\"gel_min_batch_size\")>0?Y1().getSequenceCount({cttAuthInfo:void 0,isJspb:W,tier:Y})>=ly5&&k():k()},T);\nP.K=T};\nbOd=function(W,Y,k){k=k===void 0?null:k;var P=P===void 0?W.withCredentials:P;var T={},I=new URL(GO1(W));k&&(T.Authorization=k);W.sessionIndex&&(T[\"X-Goog-AuthUser\"]=W.sessionIndex,I.searchParams.set(\"authuser\",W.sessionIndex));W.pageId&&(Object.defineProperty(T,\"X-Goog-PageId\",{value:W.pageId}),I.searchParams.set(\"pageId\",W.pageId));return{url:I.toString(),body:Y,jf:1,requestHeaders:T,requestType:\"POST\",withCredentials:P,timeoutMillis:W.timeoutMillis}};\ncJd=function(W,Y){W.J.some(function(k){var P;return((P=k.Ib)==null?void 0:P.getId())===Y});\nW.W=Y};\nbb=function(){g.c.call(this,{S:\"div\",j:\"ytp-chapter-hover-container\",B:[{S:\"div\",j:\"ytp-progress-bar-padding\"},{S:\"div\",j:\"ytp-progress-list\",B:[{S:\"div\",Ya:[\"ytp-play-progress\",\"ytp-swatch-background-color\"]},{S:\"div\",j:\"ytp-progress-linear-live-buffer\"},{S:\"div\",j:\"ytp-load-progress\"},{S:\"div\",j:\"ytp-hover-progress\"},{S:\"div\",j:\"ytp-ad-progress-list\"}]}]});this.startTime=NaN;this.title=\"\";this.index=NaN;this.width=0;this.K=this.J5(\"ytp-progress-list\");this.C=this.J5(\"ytp-progress-linear-live-buffer\");\nthis.T=this.J5(\"ytp-ad-progress-list\");this.X=this.J5(\"ytp-load-progress\");this.G=this.J5(\"ytp-play-progress\");this.J=this.J5(\"ytp-hover-progress\");this.W=this.J5(\"ytp-chapter-hover-container\")};\nun=function(){throw Error(\"Invalid UTF8\");};\nfyz=function(W,Y,k,P,T){Y=xE2(Y,k,P,T);(k=g.hN(W.zJ)&&!W.zJ.Kg)&&!W.XK&&(Y.fetch=0);OT(W,Y);g.hN(W.zJ)&&W.C1.tick(\"ep_a_pr_s\");if(k&&!W.XK)k=W.Kq(),hW1(k,Y).then(function(I){W.dh=!0;uB(W,I)});\nelse W.playlist.onReady(function(){Av(W)});\ng.hN(W.zJ)&&W.C1.tick(\"ep_a_pr_r\")};\nxW6=function(W,Y){var k=iFz(Y);W=new Uint32Array(W.buffer);Y=W[0];var P=g.e(k);k=P.next().value;P=P.next().value;for(var T=1;T>>8|X<<24,X+=I|0,X^=h+38293,I=I<<3|I>>>29,I^=X,B=B>>>8|B<<24,B+=h|0,B^=O+38293,h=h<<3|h>>>29,h^=B;I=[I,X];W[T]^=I[0];T+1>>0&255);W.W.push(Y>>>8&255);W.W.push(Y>>>16&255);W.W.push(Y>>>24&255)};\nwf=function(W){var Y={engagementType:\"ENGAGEMENT_TYPE_UNBOUND\"};W&&(Y.interpreterHash=W);return Y};\nVJ=function(W,Y,k){qA.call(this,W);var P=this;this.P6=k;Y.get().addListener(this);this.addOnDisposeCallback(function(){Y.Xr()||Y.get().removeListener(P)})};\neW=function(W){var Y=this;this.W=W;this.J=new Map;this.K=!1;this.done=new Promise(function(k,P){Y.W.addEventListener(\"complete\",function(){k()});\nY.W.addEventListener(\"error\",function(T){T.currentTarget===T.target&&P(Y.W.error)});\nY.W.addEventListener(\"abort\",function(){var T=Y.W.error;if(T)P(T);else if(!Y.K){T=g.rH;for(var I=Y.W.objectStoreNames,X=[],h=0;h=W.T);if(W.K===1||W.K===2)return!1;if(W.K!==0&&Y===W.audioTrack){if(W.policy.K)return Oyd(W.videoTrack,k)||Oyd(W.videoTrack,k+1);W=Qq(W.videoTrack);if(k>(W?W.t5:-1))return!1}return!0};\nLOz=function(W,Y){W=Number(g.DR(Y,W.K,W.J).toFixed(2));Y=Math.floor((W+.001)*100%5+2E-15);var k=W;Y!==0&&(k=W-Y*.01);return Number(k.toFixed(2))};\nGN7=function(W,Y,k){var P={stack:[],error:void 0,hasError:!1};try{var T=pAC(W,k);return NO(XT5(P,new Qr(W.logger,T)),function(){return[]},Y)}catch(I){P.error=I,P.hasError=!0}finally{L11(P)}};\ng.iJ=function(W,Y){W.style.display=Y?\"\":\"none\"};\ng.l_=function(W){return/^TVHTML5/.test(Fp(W))};\ng.xQ=function(){return g.fF(\"cobalt\")};\nZyV=function(W,Y){if(W.X)return!!W.X[Y.name];if(Y===Up.BITRATE&&W.isTypeSupported('video/webm; codecs=\"vp9\"; width=3840; height=2160; bitrate=2000000')&&!W.isTypeSupported('video/webm; codecs=\"vp9\"; width=3840; height=2160; bitrate=20000000'))return!1;if(Y===Up.AV1_CODECS)return W.isTypeSupported(\"video/mp4; codecs=\"+Y.valid)&&!W.isTypeSupported(\"video/mp4; codecs=\"+Y.mz);if(Y.video){var k='video/webm; codecs=\"vp9\"';W.isTypeSupported(k)||(k='video/mp4; codecs=\"avc1.4d401e\"')}else k='audio/webm; codecs=\"opus\"',\nW.isTypeSupported(k)||(k='audio/mp4; codecs=\"mp4a.40.2\"');return W.isTypeSupported(k+\"; \"+Y.name+\"=\"+Y.valid)&&!W.isTypeSupported(k+\"; \"+Y.name+\"=\"+Y.mz)};\nsf5=function(W,Y){var k=W.W.W;if(k){W.videoInfos=W.X;var P=g.ik(W.videoInfos,function(T){return T.id===k});\nP&&P.video.qualityOrdinal===Y?W.videoInfos=[P]:(P=W.videoInfos.map(function(T){return T.id}),W.loader.y5(\"sabrpf\",{pfid:\"\"+k,\nvfids:\"\"+P.join(\".\")}),nS(W,Y,Y),Hi(W.W,\"\"))}else nS(W,Y,Y)};\nny=function(W,Y,k){t0V(W,Y,k===void 0?!1:k);Y.dispose()};\niy6=function(W){this.h5=rT(W,4)};\nlD=function(W){return Wx7()[W]};\ngK=function(W,Y,k,P,T,I,X,h){g.D.call(this);var B=this;this.loader=W;this.l7=Y;this.videoTrack=k;this.audioTrack=P;this.H6=T;this.N=I;this.isAudioOnly=X;this.L=h;this.K=Tx;this.wD=!1;this.logger=new g.M_(\"sabr\");this.G=this.Kg=this.A5=!1;this.videoInfos=this.X=this.N.videoInfos;this.J=this.gD=this.N.W;this.W=new h3(Y,I,function(O,u){B.loader.y5(O,u)});\nthis.isAudioOnly&&I0z(this,this.H6.W[\"0\"])};\nQ_X=function(W){var Y=W[MxV];if(!Y){var k=MF(tL,qF,Rg,W);Y=function(P,T){return zT0(P,T,k)};\nW[MxV]=Y}return Y};\nES=function(W,Y){g.c.call(this,{S:\"button\",Ya:[\"ytp-button\",\"ytp-settings-button\"],D:{\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\",\"aria-controls\":wL(),title:W.U(\"player_tooltip_data_title_killswitch\")?\"Settings\":\"\",\"data-tooltip-title\":\"Settings\",\"data-tooltip-target-id\":\"ytp-settings-button\"},B:[W.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M12.84 1H11.15C10.72 .99 10.30 1.14 9.95 1.40C9.60 1.66 9.35 2.02 9.23 2.44L9.19 2.61C9.11 3.00 8.96 3.38 8.73 3.71C8.51 4.04 8.22 4.33 7.89 4.55L7.75 4.64C7.37 4.85 6.96 4.98 6.53 5.02C6.11 5.06 5.68 5.01 5.27 4.87C4.86 4.73 4.42 4.73 4.00 4.86C3.59 5.00 3.23 5.26 2.99 5.62L2.89 5.77L2.05 7.23C1.82 7.63 1.73 8.10 1.81 8.55C1.88 9.01 2.12 9.43 2.47 9.73L2.58 9.84C3.15 10.39 3.50 11.15 3.50 12L3.49 12.16C3.47 12.56 3.37 12.95 3.19 13.31C3.01 13.67 2.77 13.99 2.47 14.26C2.12 14.56 1.88 14.98 1.81 15.43C1.73 15.89 1.82 16.36 2.05 16.76L2.89 18.22L2.99 18.37C3.24 18.73 3.59 18.99 4.01 19.13C4.42 19.26 4.86 19.26 5.27 19.12L5.42 19.07C5.81 18.96 6.21 18.93 6.61 18.98C7.01 19.03 7.40 19.15 7.75 19.36L7.89 19.44C8.22 19.66 8.51 19.95 8.73 20.28C8.96 20.61 9.11 20.99 9.19 21.38C9.28 21.84 9.52 22.24 9.88 22.54C10.24 22.83 10.69 23.00 11.15 23H12.84C13.30 23.00 13.75 22.83 14.11 22.54C14.47 22.24 14.71 21.84 14.80 21.38C14.89 20.96 15.06 20.56 15.31 20.21C15.55 19.86 15.88 19.57 16.25 19.36L16.39 19.28C16.75 19.10 17.14 18.99 17.54 18.96C17.94 18.94 18.34 18.99 18.72 19.12L18.89 19.17C19.31 19.27 19.75 19.24 20.15 19.07C20.55 18.90 20.88 18.60 21.10 18.23L21.95 16.76C22.18 16.36 22.26 15.89 22.19 15.43C22.11 14.98 21.88 14.56 21.53 14.26C21.23 13.99 20.98 13.67 20.80 13.31C20.63 12.95 20.52 12.56 20.50 12.16L20.50 12C20.50 11.57 20.59 11.14 20.77 10.75C20.94 10.36 21.20 10.01 21.53 9.73C21.88 9.43 22.11 9.01 22.19 8.55C22.26 8.10 22.18 7.63 21.95 7.23L21.10 5.76C20.88 5.39 20.55 5.09 20.15 4.92C19.76 4.75 19.31 4.72 18.89 4.82L18.72 4.87C18.34 5.00 17.94 5.05 17.54 5.03C17.14 5.00 16.75 4.89 16.4 4.71L16.25 4.63C15.88 4.42 15.56 4.13 15.31 3.78C15.06 3.43 14.89 3.03 14.80 2.61C14.71 2.15 14.47 1.74 14.11 1.45C13.75 1.16 13.30 .99 12.84 1ZM11.15 3H12.84C12.98 3.70 13.26 4.36 13.68 4.94C14.09 5.52 14.63 6.01 15.25 6.37C15.87 6.72 16.55 6.94 17.26 7.01C17.97 7.08 18.69 6.99 19.37 6.76L20.21 8.23C19.67 8.69 19.24 9.27 18.94 9.92C18.65 10.57 18.50 11.28 18.5 12C18.50 12.71 18.65 13.42 18.95 14.07C19.24 14.72 19.67 15.29 20.21 15.76L19.37 17.23C18.69 16.99 17.97 16.91 17.26 16.98C16.55 17.05 15.86 17.27 15.25 17.63C14.63 17.98 14.09 18.47 13.68 19.05C13.26 19.63 12.98 20.29 12.84 21H11.15C11.01 20.29 10.73 19.63 10.31 19.05C9.90 18.47 9.36 17.98 8.75 17.62C8.13 17.27 7.44 17.05 6.73 16.98C6.02 16.91 5.30 16.99 4.62 17.23L3.78 15.76C4.32 15.29 4.75 14.71 5.05 14.06C5.34 13.41 5.49 12.71 5.5 12C5.50 11.28 5.34 10.57 5.05 9.92C4.75 9.27 4.32 8.69 3.78 8.23L4.62 6.76C5.30 7.00 6.02 7.08 6.73 7.01C7.44 6.94 8.13 6.72 8.75 6.37C9.36 6.01 9.90 5.52 10.31 4.94C10.73 4.36 11.01 3.70 11.15 3ZM12.00 8C10.94 8 9.92 8.42 9.17 9.17C8.42 9.92 8.00 10.93 8.00 12C8.00 13.06 8.42 14.07 9.17 14.82C9.92 15.57 10.94 16 12.00 16C13.06 16 14.08 15.57 14.83 14.82C15.58 14.07 16.00 13.06 16.00 12C16.00 10.93 15.58 9.92 14.83 9.17C14.08 8.42 13.06 8 12.00 8ZM12.00 10H12L12.20 10.01C12.69 10.06 13.15 10.29 13.48 10.65C13.81 11.02 14.00 11.50 14 12L13.99 12.20C13.95 12.58 13.80 12.95 13.55 13.25C13.31 13.55 12.98 13.78 12.62 13.90C12.25 14.02 11.85 14.03 11.48 13.93C11.11 13.83 10.77 13.62 10.51 13.34C10.25 13.05 10.08 12.69 10.02 12.31C9.96 11.93 10.01 11.54 10.17 11.18C10.32 10.83 10.58 10.53 10.91 10.32C11.23 10.11 11.61 10.00 12 10\",\nfill:\"white\"}}]}:g.RCz()]});this.Y=W;this.Mq=Y;this.K=!0;this.listen(\"click\",this.J);this.Z(W,\"onPlaybackQualityChange\",this.updateBadge);this.Z(W,\"videodatachange\",this.updateBadge);this.Z(W,\"webglsettingschanged\",this.updateBadge);this.Z(W,\"appresize\",this.W);pt(W,this.element,this);this.Y.createClientVe(this.element,this,28663);this.updateBadge();this.W(W.ai().getPlayerSize())};\nsh=function(W,Y,k){Y&&(Y=W.s1({playerType:k}))&&Y===W.zn()&&(Y.getVideoData().nu=!0)};\nUF7=function(W,Y){var k=W.app;hCF(k.Kq())&&k.ud.J[2]&&W.logger.W(360717806,\"SSTM lingering playback\");W.api.X_();W.api.publish(\"serverstitchedvideochange\",Y.U1,Y.W$)};\nVJ6=function(W){if(!W.H6.t9)return!0;var Y=W.W6.getVideoData();if(W.W6.ri())return W.y5(\"ombpa\",{}),!1;var k,P;if(!!((k=W.A5)==null?0:(P=k.Qo)==null?0:P.TeJ)!==W.H6.Fj)return W.y5(\"ombplmm\",{}),!1;k=Y.K1||Y.liveUtcStartSeconds||Y.rZ;if(W.H6.Fj&&k)return W.y5(\"ombplst\",{}),!1;if(W.H6.A5)return W.y5(\"ombab\",{}),!1;k=Date.now();return iZ(W.H6)&&!isNaN(W.TJ)&&k-W.TJ>W.policy.hv*1E3?(W.y5(\"ombttl\",{}),!1):W.H6.UU&&W.H6.T||!W.policy.N2&&W.H6.isPremiere||RD(Y)!==0&&!W.policy.W||Y.U(\"html5_disable_onesie_media_for_mosaic\")&&\nbw(Y)||Y.U(\"html5_disable_onesie_media_for_lifa_eligible\")&&IR(Y)?!1:!0};\nHa=function(W){if(W.Y.U(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")){var Y,k,P;return W.K.v7?null:(Y=W.W)==null?void 0:(k=Y.bannerData)==null?void 0:(P=k.itemData)==null?void 0:P.vendorName}var T,I,X,h,B,O;return W.K.v7||W.C.v7||((T=W.W)==null?0:(I=T.bannerData)==null?0:(X=I.itemData)==null?0:X.affiliateDisclaimer)?null:(h=W.W)==null?void 0:(B=h.bannerData)==null?void 0:(O=B.itemData)==null?void 0:O.vendorName};\nUk=function(W,Y,k,P){P=P===void 0?{}:P;g.nT(function(){tx0.includes(Y)||(g.Jx(new g.M6(\"createClientScreen() called with a non-page VE\",Y)),Y=83769);P.isHistoryNavigation||(W.Kg=[],W.W.push({rootVe:Y,key:P.key||\"\"}));W.G=[];W.L=[];P.Ck?GD1(W,Y,k,P):pRC(W,Y,k,P)})()};\ngR=function(){return{S:\"div\",j:\"ytp-spinner-container\",B:[{S:\"div\",j:\"ytp-spinner-rotator\",B:[{S:\"div\",j:\"ytp-spinner-left\",B:[{S:\"div\",j:\"ytp-spinner-circle\"}]},{S:\"div\",j:\"ytp-spinner-right\",B:[{S:\"div\",j:\"ytp-spinner-circle\"}]}]}]}};\nHmV=function(W,Y,k){return new Promise(function(P,T){function I(){M||(M=new Rgz(X.result,{closed:Z}));return M}\nvar X=Y!==void 0?self.indexedDB.open(W,Y):self.indexedDB.open(W);var h=k.blocked,B=k.blocking,O=k.NV2,u=k.upgrade,Z=k.closed,M;X.addEventListener(\"upgradeneeded\",function(t){try{if(t.newVersion===null)throw Error(\"Invariant: newVersion on IDbVersionChangeEvent is null\");if(X.transaction===null)throw Error(\"Invariant: transaction on IDbOpenDbRequest is null\");t.dataLoss&&t.dataLoss!==\"none\"&&dV(\"IDB_DATA_CORRUPTED\",{reason:t.dataLossMessage||\"unknown reason\",dbName:SC(W)});var q=I(),G=new eW(X.transaction);\nu&&u(q,function(E){return t.oldVersion=E},G);\nG.done.catch(function(E){T(E)})}catch(E){T(E)}});\nX.addEventListener(\"success\",function(){var t=X.result;B&&t.addEventListener(\"versionchange\",function(){B(I())});\nt.addEventListener(\"close\",function(){dV(\"IDB_UNEXPECTEDLY_CLOSED\",{dbName:SC(W),dbVersion:t.version});O&&O()});\nP(I())});\nX.addEventListener(\"error\",function(){T(X.error)});\nh&&X.addEventListener(\"blocked\",function(){h()})})};\nUe0=function(W,Y,k,P){function T(){W.Xr()||k.call(W)}\nfunction I(){W.Xr()||P.call(W)}\nfor(var X=g.yg(\"SCRIPT\"),h=!1,B,O=0;Ok.time?Y:k},W[0])};\neY6=function(W){var Y=navigator.mediaCapabilities;if(Y==null||!Y.decodingInfo||W.lz===\"f\")return Promise.resolve();var k={type:W.audio&&W.video?\"file\":\"media-source\"};W.video&&(k.video={contentType:W.mimeType,width:W.video.width||640,height:W.video.height||360,bitrate:W.c6*8||1E6,framerate:W.video.fps||30});W.audio&&(k.audio={contentType:W.mimeType,channels:\"\"+(W.audio.numChannels||2),bitrate:W.c6*8||128E3,samplerate:W.audio.sampleRate||44100});return Y.decodingInfo(k).then(function(P){W.K=P})};\nXjF=function(W,Y){a:{var k=Y.cryptoPeriodIndex;if(isNaN(k)&&W.J.size>0)k=!0;else{for(var P=g.e(W.J.values()),T=P.next();!T.done;T=P.next())if(T.value.cryptoPeriodIndex===k){k=!0;break a}k=!1}}W.publish(\"log_qoe\",{wvagt:\"reqnews\",canskip:k});k||W.publish(\"rotated_need_key_info_ready\",Y)};\ng.lA=function(W){return(W=$x7(W.app.gx()))?W.FK():null};\nfq2=function(W,Y,k){return W instanceof $T?Sjz(W,k,Y,1):W.Ld(k)};\nJ3=function(W,Y){var k=W.V(),P=[\"ytp-youtube-button\",\"ytp-button\",\"yt-uix-sessionlink\"];k.J&&P.push(\"no-link\");var T={title:W.U(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",target:k.N,\"data-priority\":\"6\",\"data-sessionlink\":\"feature=player-button\"};k.J||(T.href=\"{{url}}\");g.c.call(this,{S:\"a\",Ya:P,D:T,v6:\"{{logoSvg}}\"});this.W=null;this.api=W;this.visible=!1;k.J||(this.W=this.listen(\"click\",this.onClick));this.Z(W,\"videodatachange\",this.onVideoDataChange);\nthis.Z(W,\"videoplayerreset\",this.onVideoDataChange);this.Z(W,\"onLoopRangeChange\",this.onVideoDataChange);this.Z(W,\"appresize\",this.Rb);this.onVideoDataChange();k.J||this.addOnDisposeCallback(g.nt(Y.r5(),this.element));this.Rb()};\nGLC=function(W,Y){this.W=Y;this.slotType=\"SLOT_TYPE_IN_PLAYER\";this.triggerType=\"TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED\";this.triggerId=W(this.triggerType)};\nlDF=function(W,Y,k,P,T){g.D.call(this);var I=this,X=jB(function(){return new IC(I.P6)});\ng.m(this,X);var h=jB(function(){return new XY(X,I.P6)});\ng.m(this,h);var B=jB(function(){return new SB});\ng.m(this,B);var O=jB(function(){return new h2(W)});\ng.m(this,O);var u=jB(function(){return new Bg(X,h,I.P6)});\ng.m(this,u);var Z=jB(function(){return new Oc});\ng.m(this,Z);this.Wa=jB(function(){return new ul(Y)});\ng.m(this,this.Wa);this.UR=jB(function(){return new Z0(T)});\ng.m(this,this.UR);this.CH=jB(function(){return new il(Y)});\ng.m(this,this.CH);this.wZ=jB(function(){return new Mx(Y)});\ng.m(this,this.wZ);this.JT=jB(function(){return new t2(Y)});\ng.m(this,this.JT);this.RI=jB(function(){return new qx(Y)});\ng.m(this,this.RI);this.P6=jB(function(){return new RC(Y)});\ng.m(this,this.P6);var M=jB(function(){return new Hg(P)});\ng.m(this,M);var t=jB(function(){return new n7(I.P6)});\ng.m(this,t);this.fu=jB(function(){return new GJ(Y)});\ng.m(this,this.fu);this.eN=jB(function(){return new Eg});\ng.m(this,this.eN);this.qq=jB(function(){return new K7(Y,Z,I.P6)});\ng.m(this,this.qq);var q=Ec({qq:this.qq,P6:this.P6,v5:t}),G=q.context,E=q.E6;this.H7=q.H7;this.Va=jB(function(){return new B3(Y,I.P6,I.sP)});\ng.m(this,this.Va);this.Pa=jB(function(){return new ko(Y)});\ng.m(this,this.Pa);this.Cg=jB(function(){return new J2(Y,I.qq,I.P6)});\ng.m(this,this.Cg);this.gV=jB(function(){return new sc});\ng.m(this,this.gV);q=jB(function(){return new p7(X,u,h,I.P6,t,\"SLOT_TYPE_ABOVE_FEED\",I.Cg,I.QC,I.Na)});\ng.m(this,q);this.a6=jB(function(){return new A2(I.P6)});\nthis.i8=jB(function(){return new rA(I.Cg,Y,I.P6)});\ng.m(this,this.i8);this.sP=jB(function(){return new av(Y,B,I.i8,I.qq,I.H7,I.P6,E)});\ng.m(this,this.sP);this.RZ=new zJ(dA,mL,function(A,F,y,U){return fM(h.get(),A,F,y,U)},O,u,h,t,this.P6,this.qq);\ng.m(this,this.RZ);this.Tr=new D0(O,q,k,this.P6,W,this.qq,this.Cg,this.CH);g.m(this,this.Tr);var z=new gA(Y,this.Tr,this.Cg,this.qq,this.Va);this.Gj=jB(function(){return z});\nthis.mV=z;this.QC=new K3(O,u,this.Gj,this.Va,this.Cg,this.P6,this.sP,this.Pa);g.m(this,this.QC);this.dV=new bl(O,u,this.wZ,this.Gj,G);g.m(this,this.dV);this.Cq=new cg(this.P6,O,u,q,this.qq,this.dV,k,this.JT);g.m(this,this.Cq);this.oZ=jB(function(){return new xS(M,h,t,I.P6,I.sP,I.Cg,I.Pa)});\ng.m(this,this.oZ);this.ge=jB(function(){return new f7});\ng.m(this,this.ge);this.PK=new VJ(W,this.Wa,this.P6);g.m(this,this.PK);this.Qi=new Nx(W);g.m(this,this.Qi);this.hh=new Jg(W);g.m(this,this.hh);this.D9=new aC(W,this.Gj,G);g.m(this,this.D9);this.lD=new Wh(W,this.wZ,this.Cg,this.qq,G);g.m(this,this.lD);this.iK=new Hq(W,this.qq);g.m(this,this.iK);this.Na=new hO(W,this.Va,this.Cg,this.sP,this.Gj,this.QC);g.m(this,this.Na);this.nN=new Yo(W);g.m(this,this.nN);this.Yh=new Ph(W);g.m(this,this.Yh);this.VL=new $o(W);g.m(this,this.VL);this.gp=new nl(W);g.m(this,\nthis.gp);this.Yh=new Ph(W);g.m(this,this.Yh);this.JC=jB(function(){return new Tf});\ng.m(this,this.JC);this.Nz=jB(function(){return new Sa(I.Cg)});\ng.m(this,this.Nz);this.Kb=jB(function(){return new c6d(I.Wa,I.sP,W,B,I.i8)});\ng.m(this,this.Kb);this.Tw=jB(function(){return new j8(I.Cq,O,X)});\ng.m(this,this.Tw);this.t7=jB(function(){return new IV(I.P6,I.sP,I.nN,I.i8)});\ng.m(this,this.t7);this.rM=jB(function(){return new xiS(W,I.Yh,I.nN,I.qq,I.Pa,I.Cg,I.gV,I.sP,Z,I.Va,I.i8,I.a6,I.JT,I.wZ,I.CH,I.RI,I.UR,I.fu,I.P6,B,G,E)});\ng.m(this,this.rM);this.jO=jB(function(){return new hA6(I.Cg,I.sP,I.UR,I.P6,I.i8,I.qq)});\ng.m(this,this.jO);this.IE=jB(function(){return new OS2(I.Wa,I.Cg,I.sP,B,I.i8,I.hh,I.gp,I.UR,I.P6,k)});\ng.m(this,this.IE);this.HC=jB(function(){return new pHv(I.Wa,I.sP,B)});\ng.m(this,this.HC);this.t0=new Cz(W,this.eN,X);g.m(this,this.t0);this.x7={vX:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Cq],[\"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL\",this.QC],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.RZ],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.Tr],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.dV]]),Pw:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.oZ],[\"SLOT_TYPE_ABOVE_FEED\",this.ge],[\"SLOT_TYPE_FORECASTING\",this.ge],\n[\"SLOT_TYPE_IN_PLAYER\",this.ge],[\"SLOT_TYPE_PLAYER_BYTES\",this.ge],[\"SLOT_TYPE_PLAYER_UNDERLAY\",this.ge],[\"SLOT_TYPE_PLAYBACK_TRACKING\",this.ge],[\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\",this.ge]]),hL:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",this.PK],[\"TRIGGER_TYPE_SURVEY_SUBMITTED\",this.PK],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",this.Qi],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.Qi],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.Qi],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",\nthis.Qi],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_UNSCHEDULED\",this.Qi],[\"TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED\",this.Qi],[\"TRIGGER_TYPE_CLOSE_REQUESTED\",this.hh],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.D9],[\"TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER\",this.lD],[\"TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER\",\nthis.lD],[\"TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME\",this.lD],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",this.lD],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",this.lD],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED\",this.lD],[\"TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE\",this.lD],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED\",this.iK],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED\",this.iK],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.nN],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",\nthis.D9],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.VL],[\"TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER\",this.gp],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.Yh],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\",this.Na],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\",this.Na],[\"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION\",this.Na],[\"TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED\",this.Na],[\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\",this.Na]]),Iu:new Map([[\"SLOT_TYPE_ABOVE_FEED\",this.JC],\n[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.JC],[\"SLOT_TYPE_FORECASTING\",this.JC],[\"SLOT_TYPE_IN_PLAYER\",this.JC],[\"SLOT_TYPE_PLAYER_BYTES\",this.Nz],[\"SLOT_TYPE_PLAYER_UNDERLAY\",this.JC],[\"SLOT_TYPE_PLAYBACK_TRACKING\",this.JC],[\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\",this.JC]]),RE:new Map([[\"SLOT_TYPE_ABOVE_FEED\",this.Kb],[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Tw],[\"SLOT_TYPE_FORECASTING\",this.t7],[\"SLOT_TYPE_PLAYER_BYTES\",this.rM],[\"SLOT_TYPE_PLAYBACK_TRACKING\",this.jO],[\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\",\nthis.jO],[\"SLOT_TYPE_IN_PLAYER\",this.IE],[\"SLOT_TYPE_PLAYER_UNDERLAY\",this.HC]])};this.listeners=[B.get()];this.Za={Cq:this.Cq,tj:this.P6.get(),B6:this.UR.get(),J6:this.Cg.get(),Tr:this.Tr,x5:X.get(),HE:this.eN.get(),Lr:this.PK,Zd:B.get(),AD:this.qq.get()}};\nK76=function(W){W.NT=\"rendering_start_requested\";W.rX(-1)};\nakv=function(W,Y,k){return Y.pF(k).then(function(){return Ww(new dVV(Y,Y.J))},function(P){P instanceof Error&&g.Jx(P);\nvar T=Bi('video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"'),I=uE('audio/mp4; codecs=\"mp4a.40.2\"'),X=T||I,h=Y.isLivePlayback&&!g.EcS(W.C,!0);P=\"fmt.noneavailable\";h?P=\"html5.unsupportedlive\":X||(P=\"html5.missingapi\");X=h||!X?2:1;T={buildRej:\"1\",a:Y.HA(),d:!!Y.D_,drm:Y.t$(),f18:Y.fN.indexOf(\"itag=18\")>=0,c18:T};Y.W&&(Y.t$()?(T.f142=!!Y.W.W[\"142\"],T.f149=!!Y.W.W[\"149\"],T.f279=!!Y.W.W[\"279\"]):(T.f133=!!Y.W.W[\"133\"],T.f140=!!Y.W.W[\"140\"],T.f242=!!Y.W.W[\"242\"]),T.cAAC=I,T.cAVC=uE('video/mp4; codecs=\"avc1.42001E\"'),\nT.cVP9=uE('video/webm; codecs=\"vp9\"'));Y.C&&(T.drmsys=Y.C.keySystem,I=0,Y.C.W&&(I=Object.keys(Y.C.W).length),T.drmst=I);return new g.LT(P,T,X)})};\nJg2=function(W){return g.o_(\"client-screen-nonce-store\",{})[W===void 0?0:W]};\nsg=function(W,Y){return dM(W,W.state&~Y,null,null)};\na5=function(W,Y){Uh(W,1,Y.startTicks);Uh(W,2,Y.Wd);Uh(W,3,Y.timescale)};\nvB=function(W){sE.call(this,W);var Y=this;this.W=!0;var k=new g.x5(W);g.m(this,k);k.Z(W,\"internalaudioformatchange\",function(P,T){oIF(Y,P,T)});\nk.Z(W,\"videoplayerreset\",function(){j1(Y)});\nk.Z(W,\"videodatachange\",function(P,T){Y.onVideoDataChange(P,T)})};\nNX=function(W,Y){W.C&&(W.C.resolve(Y),W.W6.g1(),W.zJ.OR()||xj0(W))&&(Y=W.ER(),Y[\"native\"]=\"\"+ +W.Kg,Y.otgt=\"\"+(W.K+W.timestampOffset),W.W6.y5(\"seekEnd\",Y));Vt(W)};\nstF=function(W,Y){if(W.Tg()===0||W.hasError())return!1;var k=W.getCurrentTime()>0;return Y>=0&&(W=W.c$(),W.length||!k)?YX(W,Y):k};\nPp=function(W){W=W.Kq();W.Nt();return lt(W)};\nrgz=function(W,Y,k,P,T){var I=[];y1(W,function(X,h){(X=v6(X,Y,k,P,T))&&I.push(h+\"=\"+X)});\nreturn I.join(Y)};\nzd=function(W,Y,k,P,T,I){I=I===void 0?0:I;Du.call(this,W,Y,P,void 0);this.C=k;this.Lh=I;this.index=T||new g.gM};\nAgd=function(W,Y){if(Y=Y&&Y.buttonRenderer||null)Y.serviceEndpoint?(W.K=new Yp(W.api,W.layoutId,W.interactionLoggingClientData,W.B6,[\"ytp-ad-feedback-dialog-undo-mute-button\"],\"ad-feedback-undo-mute-button\"),g.m(W,W.K),W.K.init(R1(\"ad-feedback-undo-mute-button\"),Y,W.macros),W.K.listen(\"click\",W.QkJ,W),W.K.S1(W.TJ)):g.Jx(Error(\"AdFeedbackRenderer.undoRenderer.undoButtonRenderer was specified but did not contain a service endpoint.\"))};\niav=function(W,Y,k){W.W4===void 0&&(W.W4=W.ob.W4(Y,k));return W.W4};\nzoz=function(W){return{Gz:ya(W,2),videoId:yx(W,3),kD:Qx(W,4)}};\ndA7=function(W){return!!W.JR||!!W.K6||!!W.mH||!!W.Br||W.e$};\nfB=function(W){var Y=0;W=g.e(W.questions);for(var k=W.next();!k.done;k=W.next())if(k=k.value,k=g.R(k,Z_)||g.R(k,u6)){var P=void 0;Y+=((P=k.surveyAdQuestionCommon)==null?void 0:P.durationMilliseconds)||0}return Y};\ng.Ae=function(W){return Fp(W)===\"WEB_EMBEDDED_PLAYER\"};\nmAV=function(W){W.Y.fq(\"shopping_overlay_visible\");W.Y.fq(\"shopping_overlay_preview_collapsed\");W.Y.fq(\"shopping_overlay_preview_expanded\");W.Y.fq(\"shopping_overlay_expanded\")};\nCQ=function(W,Y){this.zJ=W;this.timerName=\"\";this.J=!1;this.K=NaN;this.T=new nGV;this.W=Y||null;this.J=!1};\nDAX=function(W,Y){W=\"https://\"+Pd(79,Y.location)+\"/initplayback?c=\"+Fp(W.zJ)+\"&owc=1\";sa(W,\"pw\",function(k){k.ht=Y.W})};\ngcC=function(W){this.h5=rT(W)};\nF76=function(W){return g.p(W.W6.getPlayerState(),2)?0x8000000000000:W.W6.getCurrentTime()*1E3};\nQL=function(W,Y){throw Error(Y===void 0?\"unexpected value \"+W+\"!\":Y);};\nlv2=function(W){if(rJ){for(var Y=g.e(rJ),k=Y.next();!k.done;k=Y.next())k=k.value,k.payload&&(k.payload.csn=W.csn,g.qc(k.payloadName,k.payload,k.options));rJ.length=0}wi5=0};\nAg=function(W,Y){this.triggeringSlotId=Y;this.triggerType=\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\";this.triggerId=W(this.triggerType)};\nQt1=function(W){var Y=new Map;W=g.e(W);for(var k=W.next();!k.done;k=W.next())(k=k.value.renderer.remoteSlotsRenderer)&&k.hostElementId&&Y.set(k.hostElementId,k);return Y};\nQ1=function(){this.J=\"&\";this.K={};this.T=0;this.W=[]};\nIYq=function(W){var Y=W.Kg;isFinite(Y)&&(p_(W)?W.refresh():(Y=Math.max(0,W.Fr+Y-(0,g.lj)()),W.G||(W.G=new g.fC(W.refresh,Y,W),g.m(W,W.G)),W.G.start(Y)))};\noP=function(W){this.value=W};\nyg2=function(W,Y){var k;return g.v(function(P){(0,g.lj)();if(W.W.W)return P.return($n1(W,Y,W.iv));k=k22(W.W);return P.return(k.encrypt(Y,W.iv))})};\neoX=function(W,Y){W.timing.A5=!0;W.xhr.ZU()&&W.timing.CY();if(W.policy.LH){var k;(k=W.MH)==null||k.stop()}wK(W.ue,Y,!1)};\nWx7=function(){var W=g.o_(\"csn-to-ctt-auth-info\");W||(W={},V1(\"csn-to-ctt-auth-info\",W));return W};\nb6d=function(W){W=g.TZ(W);return W!==null?W.split(\".\").reverse():null};\nzL=function(W,Y,k){if(Y<=0){k=RN();Y=\"muted\";var P=0}else k=k?{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,D:{d:\"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z\",fill:\"#fff\"}}]}:{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,D:{d:\"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z\",\nfill:\"#fff\"}}]},P=Math.floor(Y),Y=P+\"volume\";tQ(W,k,Y,P+\"%\")};\ng.m7=function(W){return(W=g.dJ(W.gx()))?W.kG():{}};\n$GX=function(W,Y,k,P){var T=(P=P===void 0?!1:P)?16:8;P=U5({cttAuthInfo:lD(Y)||void 0,endOfSequence:P},Y);k={csn:Y,ve:k.getAsJson(),eventType:T};Y===\"UNDEFINED_CSN\"?bD(\"visualElementHidden\",P,k):W?cJ(\"visualElementHidden\",k,W,P):g.qc(\"visualElementHidden\",k,P)};\nDM=function(){var W=ocz();W=W===void 0?\"bevasrsg\":W;return new Promise(function(Y){var k=window===window.top?window:cEv()?window:window.top,P=k[W],T;((T=P)==null?0:T.bevasrs)?Y(new D6(P.bevasrs)):(P||(P={},P=(P.nqfbel=[],P),k[W]=P),P.nqfbel.push(function(I){Y(new D6(I))}))})};\nwv7=function(W,Y,k){k=k===void 0?{}:k;var P={};g.o_(\"EOM_VISITOR_DATA\")?P={\"X-Goog-EOM-Visitor-Id\":g.o_(\"EOM_VISITOR_DATA\")}:P={\"X-Goog-Visitor-Id\":k.visitorData||g.o_(\"VISITOR_DATA\",\"\")};if(Y&&Y.includes(\"www.youtube-nocookie.com\"))return P;Y=k.Uz||g.o_(\"AUTHORIZATION\");Y||(W?Y=\"Bearer \"+g.o3(\"gapi.auth.getToken\")().access_token:(W=b11().Ua(fu),g.dS(\"pageid_as_header_web\")||delete W[\"X-Goog-PageId\"],P=Object.assign({},P,W)));Y&&(P.Authorization=Y);return P};\nBzq=function(W,Y){Y!=null?(W.Zu=Y,W.zr=!0):(W.Zu=\"\",W.zr=!1)};\nvcV=function(W,Y){if(!W)return{xi:[],adSlots:[],ac:!0,ssdaiAdsConfig:void 0};W.trackingParams&&CX(W.trackingParams);if(W.adThrottled)return{xi:[],adSlots:[],ac:!0,ssdaiAdsConfig:void 0};var k,P=(k=W.adSlots)!=null?k:[],T;k=(T=W.playerAds)!=null?T:[];if(!(k&&k.length||P.length))return{xi:[],adSlots:P,ac:!1,ssdaiAdsConfig:void 0};T=k.map(function(X){return X.adPlacementRenderer}).filter(function(X){return!(!X||!X.renderer)});\nif(!T.length&&!P.length)return{xi:[],adSlots:P,ac:!1,ssdaiAdsConfig:void 0};if(Y.end>0){var I=Y.end.toString();T.forEach(function(X){(X=X.config&&X.config.adPlacementConfig)&&X.kind===\"AD_PLACEMENT_KIND_MILLISECONDS\"&&X.adTimeOffset&&X.adTimeOffset.offsetEndMilliseconds===\"-1\"&&X.adTimeOffset.offsetEndMilliseconds!==I&&(X.adTimeOffset.offsetEndMilliseconds=I)});\nP.map(function(X){return g.R(X,Ci)}).forEach(function(X){var h;\n(X=X==null?void 0:(h=X.slotEntryTrigger)==null?void 0:h.mediaTimeRangeTrigger)&&X.offsetEndMilliseconds===\"-1\"&&(X.offsetEndMilliseconds=I)})}return{xi:T,\nadSlots:P,ac:!1,ssdaiAdsConfig:W.ssdaiAdsConfig}};\nL7q=function(){this.W=Cn6[0].toLowerCase()};\nUA7=function(W,Y,k,P,T,I){var X={layoutId:W.adLayoutMetadata.layoutId,layoutType:W.adLayoutMetadata.layoutType,fg:\"core\"};Y=bk(W,Y,k);return Y instanceof l?Y:(k=g.R(W.renderingContent,gJ))&&k.pings?Object.assign({},X,{renderingContent:W.renderingContent,W7:t4(k.pings)},Y,{XA:kN(P,T)(X),clientMetadata:new i_([new yI(e8(I))]),adLayoutLoggingData:W.adLayoutMetadata.adLayoutLoggingData}):new l(\"VideoAdTracking is missing from PlayerBytesSequenceItemAdLayoutRenderer\")};\ng.Pi=function(W,Y){var k=new tC7(4096);Y(k,W);return new Uint8Array(k.W.buffer,k.W.byteOffset,k.pos)};\nhg=function(W,Y,k,P,T,I){I=I===void 0?!1:I;g.D.call(this);this.element=W;this.L=Y;this.initData=k;this.W=P;this.K=T;this.N=I;this.sessionId=\"\";this.G=this.X=this.J=this.C=null;this.T=new g.x5(this);g.m(this,this.T);l6d(this)};\ng.oa=function(W){for(var Y=[],k=0,P=0;P>6|192:((T&64512)==55296&&P+1>18|240,Y[k++]=T>>12&63|128):Y[k++]=T>>12|224,Y[k++]=T>>6&63|128),Y[k++]=T&63|128)}return Y};\nosq=function(W,Y,k,P,T){return W instanceof $T?hHV(W,P,T,Y,k):hHV(W,P,T,new Nt,0)};\nSGX=function(W){var Y;return W==null?void 0:(Y=W.activeViewTracking)==null?void 0:Y.identifier};\nbyd=function(W,Y,k){if(W.g_())return\"qie\";if(W.W==null||W.W.Xr()||W.W.getVideoData()==null)return\"qpd\";if(Y.videoId!==W.W.B5())return\"vinm\";if(Wn2(W)<=0)return\"ivd\";if(k!==1)return\"upt\";if((k=W.J)==null)W=void 0;else if(k.getStatus().status!==5)W=\"niss\";else if(u5(k.policy,k.W,k.K,k.L7)!=null)W=\"pge\";else{Y=fc(k);W=Y.DC;var P=Y.XW;Y=g.je(k.GW.V().experiments,\"html5_shorts_gapless_next_buffer_in_seconds\");var T=k.X+Y;k.GW.V().experiments.Nq(\"html5_pseudogapless_shorts\")&&(T=WB(k).vy+Y);k=YX(P.Mt(),\nT);W=YX(W.Mt(),T);W=!(Y>0)||k&&W?null:\"neb\"}return W!=null?W:null};\ng.EcS=function(W,Y){Y=Y===void 0?!1:Y;return qU()&&W.isTypeSupported('audio/mp4; codecs=\"mp4a.40.2\"')||!Y&&W.canPlayType(XI(),\"application/x-mpegURL\")?!0:!1};\ncg7=function(W,Y){Y===W.videoTrack?W.V5=W.V5||(0,g.lj)():W.Fr=W.Fr||(0,g.lj)()};\nxAq=function(W){W=W.api.getVideoData();if(!W)return!1;var Y=W.adFormat===\"17_8\",k,P=((k=W.DT)==null?void 0:FL(k,5))===8;return W.isAd()&&(Y||P)};\nonv=function(W){W.J>=0||(W.provider.zJ.jW||W.provider.W6.getVisibilityState()!==3?W.J=g.Jj(W.provider):W.rD=!0)};\nUa7=function(W){W.va=[];W.Qy=[];W.C.clear();W.W=-1;W.J=void 0};\ng.KS=function(W){try{return W.W?W.W.responseText:\"\"}catch(Y){return\"\"}};\nUi=function(W,Y){Y=Y===void 0?!1:Y;var k=BM[W],P=c1d[k],T=f67[W];if(!T||!P)return null;Y=new iX(Y?T.height:T.width,Y?T.width:T.height,T.fps);P=rtz(P,Y,k);return new OZ(W,P,{video:Y,c6:T.bitrate/8})};\nVx1=function(W,Y){var k=-1,P=-1,T=-1,I;if((I=W.MO)==null?0:I.items)for(W=g.e(W.MO.items),I=W.next();!I.done;I=W.next())I=I.value,YW.C.YO+100)&&W.C){var T=W.C;k=T.isAd;P=P*1E3-T.YO;W.mE=Y*1E3-T.ezP-P-T.xa5;T=(0,g.lj)()-P;Y=W.mE;P=W.provider.videoData;var I=P.isAd();if(k||I){I=(k?\"ad\":\"video\")+\"_to_\"+(I?\"ad\":\"video\");var X={};P.X&&(X.cttAuthInfo={token:P.X,videoId:P.videoId});X.startTime=\nT-Y;XF(I,X);g.lN({targetVideoId:P.videoId,targetCpn:P.clientPlaybackNonce},I);aj(\"pbs\",T,I)}else T=W.provider.W6.w_(),T.X!==P.clientPlaybackNonce?(T.C=P.clientPlaybackNonce,T.K=Y):P.xZ()||g.Jx(new g.M6(\"CSI timing logged before gllat\",{cpn:P.clientPlaybackNonce}));W.y5(\"gllat\",{l:W.mE.toFixed(),prev_ad:+k});delete W.C}};\nCgC=function(){this.W=g.o_(\"ALT_PREF_COOKIE_NAME\",\"PREF\");this.K=g.o_(\"ALT_PREF_COOKIE_DOMAIN\",\"youtube.com\");var W=g.h1(this.W);W&&this.parse(W)};\ng.$Z=function(W,Y){return W.classList?W.classList.contains(Y):g.oq(Bw(W),Y)};\nOOC=function(W){this.experiments=W;this.W=17;this.J=13E4;this.X=.5;this.T=this.K=!1;this.Kg=this.U(\"html5_use_histogram_for_bandwidth\");this.C=g.je(this.experiments,\"html5_auxiliary_estimate_weight\");this.A5=g.je(this.experiments,\"html5_stall_factor\")||1;this.G=g.je(this.experiments,\"html5_check_for_idle_network_interval_ms\");this.L=this.experiments.Nq(\"html5_trigger_loader_when_idle_network\");this.N=this.experiments.Nq(\"html5_sabr_fetch_on_idle_network_preloaded_players\")};\nLKz=function(W){var Y=W.layoutId,k=W.k$;if(W.Nh){var P={};Mb(W.AD,\"slso\",(P.ec=Y,P.is=k,P.ctp=qb(Y),P))}};\nXP=function(W){var Y=fd;fd=W;return Y};\nRN1=function(W,Y){Uh(W,1,Y.clientState);MB(W,2,Y.z9r,cH0,1)};\na62=function(W,Y,k,P){var T=P;NB(W);P=W.h5;W=jPd(W,P,P[a_]|0,k,Y,2,!0);T=T!=null?BA(T,k):new k;W.push(T);Y=k=W===Pl?7:W[a_]|0;(T=yb(T))?(k&=-9,W.length===1&&(k&=-4097)):k|=4096;k!==Y&&XX(W,k);T||Je(P)};\nWcv=function(){};\nYAX=function(W){var Y=W.J;W.J=[];return Y};\nCT=function(W){return W===1||W===2};\nwJ=function(W,Y,k){$fq(W.Sj,Y);W.TJ&&(W.TJ.add(Math.ceil(Y)-Math.ceil(W.G)),W.TJ.add(Math.max(0,Math.ceil(k/1024)-Math.ceil(W.C/1024))));var P=Y-W.G,T=k-W.C;W.Gn=T;W.bz=Math.max(W.bz,T/(P+.01)*1E3);W.G=Y;W.C=k;W.gD&&k>W.gD&&k$1(W)};\nPOC=function(W,Y,k){if(Y.gq()==null){W=Qg(W);if(!(Y=!W||W.W!==k.info.W)){a:if(W=W.N,k=k.info.N,W.length!==k.length)k=!1;else{for(Y=0;Y=k?Y=k:(W=Math.floor(Y*100+.001)%5,Y=W===0?Y:Math.floor((Y-W*.01)*100+.001)/100);return Y};\nkl1=function(){var W=[],Y=fZ();W.push(dU(jb));I7(Y.gZ,\"mvp_lv\")&&W.push(dU(FB));Y=[new vi,new Cy];Y.push(new nr(W));Y.push(new JE(Cc));return Y};\nuvS=function(W){if(W.offset>=W.W.totalLength)throw Error();return TJ(W.W,W.offset++)};\nEg=function(){this.listeners=new Set};\nT8=function(W){W=W.Y.getVideoData();var Y;if(Y=W.U(\"web_player_defer_ad\")){if(g.oq(W.N,\"ad\")||dA7(W)||W.enableServerStitchedDai)W=!1;else{Y=W.playerResponse;W=W.startSeconds;var k=Y==null?void 0:Y.adPlacements;if(Y=k){Y=Number.MAX_VALUE;k=g.e(k);for(var P=k.next();!P.done;P=k.next())if(P=P.value.adPlacementRenderer){var T=void 0,I=(T=P.config)==null?void 0:T.adPlacementConfig;T=void 0;if(((T=I)==null?void 0:T.kind)===\"AD_PLACEMENT_KIND_MILLISECONDS\"){var X=T=void 0;I=Number((T=I)==null?void 0:(X=\nT.adTimeOffset)==null?void 0:X.offsetStartMilliseconds)||0;X=T=void 0;P=Number(((T=P.renderer)==null?void 0:(X=T.adBreakServiceRenderer)==null?void 0:X.prefetchMilliseconds)||0);P=I-P;P0)){t.oi(5);break}return g.L(t,xs7(5E3),6);case 6:X=new g.M6(\"Retrying OnePlatform request\",{attempt:I}),g.Jx(X);case 5:return g.Ta(t,7),g.L(t,b$d(W,Y),9);case 9:return t.return();case 7:h=g.jh(t);B=BH(h);O=B.errorCode;u=W.V();Z=u.U(\"html5_use_network_error_code_enums\")?401:\"401\";P&&O===\"manifest.net.badstatus\"&&B.details.rc===Z&&(P=!1,I===T-1&&(T+=\n1));if(I===T-1)return M=Rvd(k,B.details),M.details.backend=\"op\",M.details.originec=O,t.return(Promise.reject(M));if(O===\"auth\"||O===\"manifest.net.retryexhausted\")return t.return(Promise.reject(B));W.handleError(B);if(CT(B.severity)){t.oi(4);break}case 3:I++;t.oi(2);break;case 4:return t.return(Promise.reject(Rvd(k,{backend:\"op\"})))}})};\nHq7=function(W,Y){W.Y.cueVideoByPlayerVars(Y,2)};\nBm0=function(W){switch(W){case \"spatial_audio_type_ambisonics_5_1\":return\"SPATIAL_AUDIO_TYPE_AMBISONICS_5_1\";case \"spatial_audio_type_ambisonics_quad\":return\"SPATIAL_AUDIO_TYPE_AMBISONICS_QUAD\";case \"spatial_audio_type_foa_with_non_diegetic\":return\"SPATIAL_AUDIO_TYPE_FOA_WITH_NON_DIEGETIC\";default:return\"SPATIAL_AUDIO_TYPE_NONE\"}};\nZJ=function(W,Y,k){return{ssvc:Y,cpn:(k==null?void 0:k.cpn)||\"\",vid:(k==null?void 0:k.videoData.videoId)||\"\",ct:(W.playback.getCurrentTime()||0).toFixed(3),cmt:(W.playback.tD()||0).toFixed(3)}};\nnM2=function(W,Y){this.callback=W;this.slot=Y};\nx90=function(W){try{var Y=uE('video/mp4; codecs=\"avc1.42001E\"')||uE('video/webm; codecs=\"vp9\"');return(uE('audio/mp4; codecs=\"mp4a.40.2\"')||uE('audio/webm; codecs=\"opus\"'))&&(Y||!W)||Bi('video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"')?null:\"fmt.noneavailable\"}catch(k){return\"html5.missingapi\"}};\nE$S=function(W,Y){if(!W.W[\"0\"]){var k=new OZ(\"0\",\"fakesb\",{video:new iX(0,0,0,void 0,void 0,\"auto\")});W.W[\"0\"]=Y?new zd(new g.uF(\"http://www.youtube.com/videoplayback\"),k,\"fake\"):new aW(new g.uF(\"http://www.youtube.com/videoplayback\"),k,new Wn(0,0),new Wn(0,0))}};\ng.rE=function(W){OY.call(this);var Y=this;this.W=W;this.C={};this.listener=function(k){Y.dispatchEvent(new bn(Y,k.type,k))}};\nbMv=function(W,Y){W.fflags=CO(W.fflags,Y.fflags);var k=Y.iv_invideo_url;k&&(W.Fr=ci(k));W.Mo=ud(W.Mo,Y.iv_ads_only);if(k=Y.cta_conversion_urls)W.ly=k;W.isPharma=ud(W.isPharma,Y.is_pharma);W.author=CO(W.author,Y.author);W.Qa=pNC(Y.ttsurl)||W.Qa;W.wX=ud(W.wX,Y.cc_asr);W.Lg=CO(W.Lg,Y.channel_path);if(k=Y.profile_picture)W.profilePicture=CO(W.profilePicture,k);W.videoCountText=CO(W.videoCountText,Y.video_count_text);W.autonavState=LO(W.autonavState,Y.autonav_state,G$0);W.clientPlaybackNonce=CO(W.clientPlaybackNonce,\nY.cpn);W.subscribed=ud(W.subscribed,Y.subscribed);W.rawViewCount=ag(W.rawViewCount,Y.view_count);W.shortViewCount=CO(W.shortViewCount,Y.short_view_count_text);W.publishedTimeText=CO(W.publishedTimeText||\"\",Y.publishedTimeText);W.lengthText=CO(W.lengthText||\"\",Y.lengthText);W.y3=CO(W.y3||\"\",Y.y3);W.rk=CO(W.rk||\"\",Y.rk);W.title=CO(W.title,Y.title);W.subtitle=CO(W.subtitle,Y.subtitle);W.expandedTitle=CO(W.expandedTitle,Y.expanded_title);W.expandedSubtitle=CO(W.expandedSubtitle,Y.expanded_subtitle);W.ypcPreview=\nCO(W.ypcPreview,Y.ypc_preview);W.zf=CO(W.zf,Y.ypc_origin);W.zg=ud(W.zg,Y.ypc_is_premiere_trailer);W.CL=CO(W.CL,Y.ypc_clickwrap_message);W.paygated=ud(W.paygated,Y.paygated);W.Mr=ud(W.Mr,Y.requires_purchase);W.showShareButton=!ud(!W.showShareButton,Y.ss);W.rV=ud(W.rV,Y.showwatchlater);W.ww=ud(W.ww,Y.shownotifybutton);W.l4=ud(W.l4,Y.copy_share);if(k=Y.el)W.eventLabel=k;if(k=Y.keywords)W.keywords=Kc7(k.split(\",\"));if(k=Y.rvs)W.suggestions=kT(k).map(function(P){return P.playlist||P.list||P.api?new Xp(W.pg,\nP):new W4(W.pg,P)});\nW.contentCheckOk=ud(W.contentCheckOk,Y.cco);W.racyCheckOk=ud(W.racyCheckOk,Y.rco);W.isLivingRoomDeeplink=ud(W.isLivingRoomDeeplink,Y.is_living_room_deeplink);W.oauthToken=CO(W.oauthToken,Y.oauth_token);W.tT=CO(W.tT,Y.kpt);W.visitorData=CO(W.visitorData,Y.visitor_data);if(k=Y.session_data)W.sessionData=LL(k,\"&\");W.nR=CO(W.nR,Y.endscreen_ad_tracking_data);W.FB=ud(W.FB,Y.wait_for_vast_info_cards_xml);W.CB=ud(W.CB,Y.suppress_creator_endscreen);W.Lx=ud(W.Lx,Y.is_trueview_action);W.uF=CO(W.uF,Y.tracking_list);\neJ7(W,Y)};\nXb7=function(W,Y){W=W.flags.get(\"\"+Y);return Number(W)||0};\nEMS=function(W){var Y;g.v(function(k){switch(k.W){case 1:return g.Ta(k,2),g.L(k,W.T,4);case 4:g.Vi(k,3);break;case 2:g.jh(k);case 3:(Y=W.J)==null||Y.disconnect(),g.I_(k)}})};\ng.YJ=function(W){var Y=eQ(W);return dL(Y)||!W.o6?null:g.ik(W.o6.W.videoInfos,function(k){return Y.T(k)})};\nsKq=function(W,Y,k){Y=F$F(Y);if(Y!=null){switch(typeof Y){case \"string\":Jid(Y)}if(Y!=null)switch($w(W,k,0),typeof Y){case \"number\":W=W.W;pZ(Y);n67(W,JC,sp);break;case \"bigint\":k=BigInt.asUintN(64,Y);k=new dm(Number(k&BigInt(4294967295)),Number(k>>BigInt(32)));n67(W.W,k.K,k.W);break;default:k=Jid(Y),n67(W.W,k.K,k.W)}}};\nxc=function(W){W.K&&(W.K.disable(),W.Q5=0,W.Kg.style.removeProperty(\"transform\"),W.progressBar.style.removeProperty(\"transform\"),W.e1.style.removeProperty(\"height\"),W.element.parentElement&&W.element.parentElement.style.removeProperty(\"height\"))};\nYf=function(W,Y){Y=Y===void 0?200:Y;return W?Y===300?v6V:ri1:Y===300?CT2:Aiv};\nhpV=function(W,Y){if(W=W.flags.get(\"\"+Y))if(W=W.replace(/\\[ *(.*?) *\\]/,\"$1\"))return W.split(\",\").map(Number);return[]};\nvSC=function(W,Y,k,P,T,I){P=P===void 0?{}:P;var X=Math.round((0,g.lj)()),h={value:W.size},B=new Map([].concat(g.cp(W)));B=g.e(B);for(var O=B.next();!O.done;O=B.next()){var u=g.e(O.value).next().value,Z=W.get(u);O=new zv5;var M=Y.config_||g.sV(),t=new fy,q=new Wj;P0(q,1,M.Op);P0(q,2,M.nJ);Pu(q,16,M.Pv);P0(q,17,M.innertubeContextClientVersion);if(M.Ju){var G=M.Ju,E=new kt;G.coldConfigData&&P0(E,1,G.coldConfigData);G.appInstallData&&P0(E,6,G.appInstallData);G.coldHashData&&P0(E,3,G.coldHashData);G.hotHashData&&\nE.SD(G.hotHashData);S2(q,kt,62,E)}(G=g.hL.devicePixelRatio)&&G!=1&&XA(q,65,hZ(G));G=ZG();G!==\"\"&&P0(q,54,G);G=i0();if(G.length>0){E=new L3F;for(var z=0;z-k?-Y/k*W.interval*.5:-(Y+k/2)/k*W.interval};\nqMS=function(){this.J=!0;this.K=0;this.W=\"\"};\ntW2=function(W,Y){g.c.call(this,{S:\"button\",Ya:[\"ytp-fullscreen-button\",\"ytp-button\"],D:{title:W.U(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",\"aria-label\":\"{{aria-label}}\",\"aria-keyshortcuts\":\"f\",\"data-priority\":\"12\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\"},v6:\"{{icon}}\"});this.Y=W;this.K=Y;this.message=null;this.W=g.nt(this.K.r5(),this.element);this.J=new g.fC(this.dR,2E3,this);g.m(this,this.J);this.Z(W,\"fullscreentoggled\",this.aS);\nthis.Z(W,\"presentingplayerstatechange\",this.xa);this.Z(W,\"resize\",this.xa);this.listen(\"click\",this.onClick);g.SO()&&(Y=this.Y.ai(),this.Z(Y,wN5(),this.El),this.Z(Y,o62(document),this.I0));W.V().Lg||W.V().G||this.disable();W.createClientVe(this.element,this,139117);this.xa();this.aS(W.isFullscreen())};\nQKF=function(W){for(var Y=1;Y>>=1,k<<=1;while(--Y>0);return k>>>1};\nQC6=function(W,Y){if(!isNaN(W.J9)){var k=Date.now()-W.J9;k<1E4&&W.y5(\"bfaswtch\",{ep:k,sk:Y!==void 0?\"1\":\"0\",sr:Y||\"\"})}};\n$tS=function(W){var Y=!!I7(fZ().gZ,\"umt\");return W.N||!Y&&!W.Fr?0:1};\neKS=function(W){return/.*(\\.c\\.youtube\\.com|.*\\.googlevideo\\.com)/.test(W)};\ntH=function(W){var Y={};W=W.split(\"&\");W=g.e(W);for(var k=W.next();!k.done;k=W.next())k=k.value.split(\"=\"),k.length===2&&(Y[k[0]]=k[1]);return Y};\nat=function(){var W=vMV;var Y=Y===void 0?[]:Y;var k=k===void 0?[]:k;Y=Xp7.apply(null,[SKd.apply(null,g.cp(Y))].concat(g.cp(k)));this.store=CO0(W,void 0,Y)};\nqVd=function(W,Y){WH.apply(null,[5,W,Y].concat(g.cp(g.xh.apply(2,arguments))))};\nLcC=function(){this.K=this.N0=0;this.W=Array.from({length:WN.length}).fill(0)};\nOT=function(W,Y){W.playlist&&(g.o8(W.playlist),W.playlist=null);Y&&(W.XK&&(Y.fetch=0),W.playlist=new Ufd(W.zJ,Y))};\npz=function(W){return[W.top,W.left,W.bottom,W.right]};\nl5=function(W,Y){g.D.call(this);var k=this;this.W=null;this.J=Y;Y=[];for(var P=0;P<=100;P++)Y.push(P/100);Y={threshold:Y,trackVisibility:!0,delay:1E3};(this.K=window.IntersectionObserver?new IntersectionObserver(function(T){T=T[T.length-1];var I=null;typeof T.isVisible===\"undefined\"?document.visibilityState===\"visible\"&&T.isIntersecting&&T.intersectionRatio>0?I=T.intersectionRatio:document.visibilityState===\"hidden\"?I=0:I=null:I=T.isVisible?T.intersectionRatio:0;I!=null&&(I=Math.max(I,0),I=Math.min(I,\n1));k.W=I;typeof k.J===\"function\"&&k.J(k.W)},Y):null)&&this.K.observe(W)};\nicv=function(W){W=W.tabIndex;return typeof W===\"number\"&&W>=0&&W<32768};\nZ4=function(W,Y){return Y?\"&\"+W+\"=\"+encodeURIComponent(Y):\"\"};\nl15=function(W,Y,k){return k.layoutId!==YM(W,Y,k)?(EF(\"onSkipRequested for a PlayerBytes layout that is not currently active\",W.jr(),W.Z2()),!1):!0};\ng.rF=function(W){var Y,k;return!!((Y=W.embeddedPlayerConfig)==null?0:(k=Y.embeddedPlayerFlags)==null?0:k.enableMusicUx)};\nRC=function(W){this.Y=W;g.je(this.Y.V().experiments,\"tv_pacf_logging_sample_rate\")};\ng.yY=function(W){var Y=BE1(W);return Y==\"array\"||Y==\"object\"&&typeof W.length==\"number\"};\nvi=function(W){W=W===void 0?Cc:W;Rk.call(this,new HO(W,2))};\nUHS=function(){return{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M11.72,11.93C13.58,11.59,15,9.96,15,8c0-2.21-1.79-4-4-4C8.79,4,7,5.79,7,8c0,1.96,1.42,3.59,3.28,3.93 C4.77,12.21,2,15.76,2,20h18C20,15.76,17.23,12.21,11.72,11.93z M8,8c0-1.65,1.35-3,3-3s3,1.35,3,3s-1.35,3-3,3S8,9.65,8,8z M11,12.9c5.33,0,7.56,2.99,7.94,6.1H3.06C3.44,15.89,5.67,12.9,11,12.9z M16.68,11.44l-0.48-0.88C17.31,9.95,18,8.77,18,7.5 c0-1.27-0.69-2.45-1.81-3.06l0.49-0.88C18.11,4.36,19,5.87,19,7.5C19,9.14,18.11,10.64,16.68,11.44z M18.75,13.13l-0.5-0.87 C19.95,11.28,21,9.46,21,7.5s-1.05-3.78-2.75-4.76l0.5-0.87C20.75,3.03,22,5.19,22,7.5S20.76,11.97,18.75,13.13z\",\nfill:\"white\"}}]}};\nWFV=function(W,Y){this.opportunityType=\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\";this.associatedSlotId=Y;this.triggerType=\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\";this.triggerId=W(this.triggerType)};\nl6d=function(W){W.W?(W.T.Z(W.W,\"message\",W.KM),W.T.Z(W.W,\"keystatuseschange\",W.CI),W.W.closed&&W.W.closed.then(If(function(){W.onClosed()}),null)):W.K&&(V5(W.T,W.K,[\"mskeymessage\",\n\"webkitkeymessage\"],W.d6),V5(W.T,W.K,[\"mskeyerror\",\"webkitkeyerror\"],W.Bj),V5(W.T,W.K,[\"mskeyadded\",\"webkitkeyadded\"],W.Qp))};\nRo=function(W,Y){return Y&&g.l_(W.zJ)?Y.some(function(k){return k.video.fps>32}):!1};\ne3v=function(W){return isNaN(W.cryptoPeriodIndex)?g.Pk(W.initData):\"\"+W.cryptoPeriodIndex};\nbqz=function(W,Y){this.statusCode=W;this.message=Y;this.K=this.heartbeatParams=this.errorMessage=null;this.W={};this.nextFairplayKeyId=null};\nciz=function(W,Y,k){W instanceof String&&(W=String(W));for(var P=W.length-1;P>=0;P--){var T=W[P];if(Y.call(k,T,P,W))return{iT:P,Ou:T}}return{iT:-1,Ou:void 0}};\nxfV=function(W,Y,k){var P=[],T=Y?156595:151874;W=g.e(W);for(var I=W.next();!I.done;I=W.next()){var X=I.value;I=X.video;X={formatId:X.id,qualityLabel:I.qualityLabel,quality:I.quality,isPlayable:Y};if(I=k.get(I.qualityLabel))X.paygatedQualityDetails={paygatedIndicatorText:I.paygatedIndicatorText,endpoint:I.endpoint,veType:T,trackingParams:I.trackingParams};P.push(X)}return P};\nMD0=function(W,Y,k,P){var T,I,X;return g.v(function(h){switch(h.W){case 1:if(W.W){h.oi(2);break}return g.L(h,P.importKey(\"raw\",W.K,{name:\"HMAC\",hash:\"SHA-256\"},!1,[\"sign\"]),3);case 3:W.W=h.K;case 2:return T=new Uint8Array(Y.length+k.length),T.set(Y),T.set(k,Y.length),I={name:\"HMAC\",hash:\"SHA-256\"},g.L(h,P.sign(I,W.W,T),4);case 4:return X=h.K,h.return(new Uint8Array(X))}})};\nN_7=function(W){var Y=W.api.V();q$5(W);W.updateValue(\"flyoutUnfocusable\",\"true\");W.updateValue(\"channelTitleFocusable\",\"-1\");W.updateValue(\"shouldHideExpandedTitleForA11y\",\"true\");W.updateValue(\"shouldHideExpandedSubtitleForA11y\",\"true\");Y.K||Y.GJ||(W.Z(W.channel,\"mouseenter\",W.Ef),W.Z(W.channel,\"mouseleave\",W.vL),W.Z(W.channel,\"focusin\",W.Ef),W.Z(W.channel,\"focusout\",function(k){W.channel.contains(k.relatedTarget)||W.vL()}));\nW.J=new g.fC(function(){W.isExpanded()&&(W.api.logVisibility(W.channelName,!1),W.subscribeButton&&(W.subscribeButton.hide(),W.api.logVisibility(W.subscribeButton.element,!1)),W.W&&(W.W.hide(),W.api.logVisibility(W.W.element,!1)),W.channel.classList.remove(\"ytp-title-expanded\"),W.channel.classList.add(\"ytp-title-show-collapsed\"))},500);\ng.m(W,W.J);W.Z(W.channel,f1V,function(){Vsd(W)});\nW.Z(W.api,\"onHideControls\",W.Kv);W.Z(W.api,\"appresize\",W.Kv);W.Z(W.api,\"fullscreentoggled\",W.Kv)};\ng.$M=function(W){W=W.split(a1z);for(var Y=[],k=0;k=Y)};\n$d=function(W,Y,k){this.triggeringSlotId=Y;this.triggerType=\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\";this.triggerId=k||W(this.triggerType)};\nGW=function(W,Y,k){var P=[Y];if(W!=Y||k!=Y)P.unshift(W),P.push(k);return P};\ni_=function(W){var Y=new Map;W.forEach(function(k){Y.set(k.W(),k)});\nthis.W=Y};\nvq=function(W,Y,k){this.layoutId=Y;this.triggerType=\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\";this.triggerId=k||W(this.triggerType)};\neXd=function(W){var Y=W.api.V(),k=W.api.getVideoData();k=g.sQ(Y)+k.Lg;if(!g.hN(Y))return k;Y={};g.Ar(W.api,\"addEmbedsConversionTrackingParams\",[Y]);return g.YW(k,Y)};\nGe=function(W,Y,k,P,T){if(Wd(70,W.b5))return new r9V(W,k);W=W.OV();return P?K2z()?new A30(W,Y,k,T):new Y0z(W,Y,k,T):new U7V(W,k,T)};\nPN=function(W,Y){var k={};if(W!==void 0)if(Y!=null)for(var P in Y){var T=Y[P];P in Object.prototype||T!=null&&(k[P]=typeof T===\"function\"?T(W):W[T])}else g.ux(k,W);return JK(IH(new jc,k))};\nce=function(W,Y){var k=NA(W);if(k===1){for(Y=k=0;Y<7;Y++)k=k*256+NA(W);return k}for(var P=128,T=0;T<6&&P>k;T++)k=k*256+NA(W),P*=128;return Y?k-P:k};\nMMv=function(W,Y,k,P,T){var I=HOv(f8(W.slotEntryTrigger,k,P),T,W,Y);if(I instanceof l)return I;for(var X=[],h=g.e(W.slotFulfillmentTriggers),B=h.next();!B.done;B=h.next()){B=f8(B.value,k,P);if(B instanceof l)return B;X.push(B)}X=r$F(X,T,W,Y);Y=[];W=g.e(W.slotExpirationTriggers);for(T=W.next();!T.done;T=W.next()){T=f8(T.value,k,P);if(T instanceof l)return T;Y.push(T)}return{slotEntryTrigger:I,slotFulfillmentTriggers:X,slotExpirationTriggers:Y}};\nu4=function(W,Y){W[Y]||(W[Y]=new $T1);return W[Y]};\nql=function(W){this.value=W};\njs=function(W){if(W.W){var Y=W.W.getAttribute(\"data-tooltip-text\");if(W.J&&W.W.getAttribute(\"aria-label\")!==W.J)var k=W.J;var P=W.W.getAttribute(\"aria-keyshortcuts\"),T=W.W.getAttribute(\"data-title-no-tooltip\");P&&T&&(k=g.Vq(\"$BUTTON_TITLE keyboard shortcut $SHORTCUT_KEY\",{BUTTON_TITLE:T,SHORTCUT_KEY:P}));k&&W.W.setAttribute(\"aria-label\",k);if(Y&&!W.G){kF2(W,!0);var I=W.W;W.updateValue(\"text\",Y);k=I.getAttribute(\"data-duration\");W.update({title:W.J,duration:k});I=I.getAttribute(\"data-preview\");W.env.U(\"delhi_modern_web_player\")?\n(W.updateValue(\"title\",T),W.updateValue(\"keyBoardShortcutTitle\",P.toUpperCase())):kF2(W,!1);P=243*W.scale;T=141*W.scale;W.bg.style.width=P+\"px\";W.bg.style.height=T+\"px\";W.bg.style.backgroundImage=I?\"url(\"+I+\")\":\"\";W.bg.style.backgroundSize=P+\"px \"+T+\"px\";W.wrapper.style.width=P+\"px\";g.T$(W.element,[\"ytp-text-detail\",\"ytp-preview\"]);g.ML(W.element,\"ytp-has-duration\",!!k)}else T&&P&&W.env.U(\"delhi_modern_web_player\")?(W.updateValue(\"text\",T),W.updateValue(\"keyBoardShortcut\",P.toUpperCase())):W.updateValue(\"text\",\nW.J),g.Oj(W.element,[\"ytp-text-detail\",\"ytp-preview\",\"ytp-has-duration\"]);k=W.W;k.hasAttribute(\"data-tooltip-offset-y\")?(k=Number(k.getAttribute(\"data-tooltip-offset-y\")),k=isNaN(k)?0:k):k=0;P1F(W,!!Y,void 0,k)}};\nTd0=function(W){if(W.W){var Y=W.W;Y.W={};Y.jz={}}W.J=!1;W.C=void 0;W.K=NaN};\njw0=function(W,Y){W.VM=Y;W.policy.gD||(W.logger.debug(\"Suspended.\"),W.isSuspended=!0,W.policy.Io&&(W.Da.stop(),W.f1.stop(),W.D_.stop()),W.Q5.stop())};\nsa=function(W,Y,k,P){function T(X){var h=!(X.status!==204&&X.status!==200&&!X.response),B;X={succ:\"\"+ +h,rc:X.status,lb:((B=X.response)==null?void 0:B.byteLength)||0,rt:((0,g.lj)()-I).toFixed(),shost:g.TZ(W),trigger:Y};sBF(X,W);k&&k(X);P&&!h&&P(new g.LT(\"pathprobe.net\",X))}\nvar I=(0,g.lj)();g.DV(W,{format:\"RAW\",responseType:\"arraybuffer\",timeout:1E4,onFinish:T,onTimeout:T})};\nIU2=function(W){W.C||(W.C=(0,g.lj)(),g.AR(\"vda\",W.C,W.W),W.T&&(g.tN(),d8(4)))};\nVz=function(){var W;return(W=g.GK(\"yt-player-performance-cap-active-set\"))!=null?W:[]};\ng.yp=function(W){if(g.o_(\"DATASYNC_ID\")!==void 0)return g.o_(\"DATASYNC_ID\");throw new g.M6(\"Datasync ID not set\",W===void 0?\"unknown\":W);};\nXz7=function(W){function Y(k){return{toString:function(){return k()}}}\nW.macros.SURVEY_LOCAL_TIME_EPOCH_S=Y(function(){var k=new Date;return(Math.round(k.valueOf()/1E3)+-1*k.getTimezoneOffset()*60).toString()});\nW.macros.SURVEY_ELAPSED_MS=Y(function(){return(Date.now()-W.J).toString()})};\nNa1=function(W){return W.data[\"Stitched-Video-Cpn\"]?W.data[\"Stitched-Video-Cpn\"].split(\",\").slice(0,-1):[]};\nKV=function(W,Y){var k;return g.v(function(P){if(P.W==1)return W?g.L(P,g.LQ(F6,Y),2):P.return();k=P.K;return P.return(k.delete(\"databases\",W))})};\nFL=function(W,Y){var k=k===void 0?0:k;W=Yn(W,Y);W=W==null?W:YD(W)?W|0:void 0;return W!=null?W:k};\nS02=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 14 14\",width:\"100%\"},B:[{S:\"path\",D:{d:\"M14,14 L14,0 L0,0 L0,14 L14,14 Z\"}},{S:\"path\",D:{d:\"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z\",fill:\"#fff\"}}]}};\nvS=function(W,Y){var k={type:Y.slotType,controlFlowManagerLayer:w$1.get(Y.fg)||\"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED\"};Y.slotEntryTrigger&&(k.entryTriggerType=Y.slotEntryTrigger.triggerType);Y.slotPhysicalPosition!==1&&(k.slotPhysicalPosition=Y.slotPhysicalPosition);if(W){k.debugData={slotId:Y.slotId};if(W=Y.slotEntryTrigger)k.debugData.slotEntryTriggerData=IK(W);W=Y.slotFulfillmentTriggers;k.debugData.fulfillmentTriggerData=[];W=g.e(W);for(var P=W.next();!P.done;P=W.next())k.debugData.fulfillmentTriggerData.push(IK(P.value));\nY=Y.slotExpirationTriggers;k.debugData.expirationTriggerData=[];Y=g.e(Y);for(W=Y.next();!W.done;W=Y.next())k.debugData.expirationTriggerData.push(IK(W.value))}return k};\n$c=function(W,Y){this.info=W;this.callback=Y;this.state=1;this.iG=this.P8=!1;this.ue=null};\nhR0=function(W,Y,k,P,T,I,X){var h=Y.config.adPlacementConfig,B=Bxz(h),O=B.m9,u=B.Zs;B=(Y.renderer.linearAdSequenceRenderer||{}).linearAds;if(B==null||!B.length)throw new TypeError(\"Expected linear ads\");var Z=[],M={GV:O,lE:0,Qsh:Z};B=B.map(function(q){return h8S(W,q,M,k,P,h,T,u,X)}).map(function(q,G){G=new $N(G,Z);\nreturn q(G)});\nvar t=B.map(function(q){return q.oe});\nreturn{TE:ah5(k,W,O,t,h,CES(Y),P,u,I),Vy1:B.map(function(q){return q.dxq})}};\nYMF=function(W,Y){return yE5(W,function(k){return k.J},Y===void 0?!0:Y)};\nXv=function(W){for(var Y=W.length;--Y>=0;)W[Y]=0};\nBdC=function(W,Y){W.isContentForward=Y;g.ML(W.badge.element,\"ytp-suggested-action-badge-content-forward\",Y)};\nuqC=function(W){var Y;if((Y=W.K)==null?0:Y.isLocked())return W.videoInfos;var k=pO(W.W);Y=g.HE(W.videoInfos,function(P){return P.c6>W.l7.c6?!1:!k.has(P.id)});\nOfC(W.W)&&(Y=g.HE(Y,function(P){return P.video.width<=854&&P.video.height<=480}));\nreturn Y};\nZf2=function(W){W.G&&W.G.stop()};\nifd=function(W){return fj(W.adLayoutMetadata)?(W=g.R(W.renderingContent,gJ))&&W.pings?!0:!1:!1};\nn4C=function(W,Y){Y=Y===void 0?!1:Y;if(!W.mediaElement||W.mediaElement.Tg()===0||W.mediaElement.hasError())return!1;var k=W.mediaElement.getCurrentTime()>0;return W.videoData.J&&W.videoData.J.W||W.videoData.isLivePlayback||!W.videoData.t$()?W.K>=0&&!Y&&(Y=W.mediaElement.c$(),Y.length||!k)?YX(Y,W.K-W.timestampOffset):k:k};\nwJF=function(W){g.E2(W.W,function(Y){Y.J>1E5||++Y.J})};\nMXV=function(W,Y,k){return W.policy.W?M4(W,!0)Y&&W.X=0;X--){var h=T.K[X];h.info.t5>=Y&&(T.K.pop(),T.J-=OH(h,T.policy.KH),I=h.info)}I&&(T.T=T.K.length>0?T.K[T.K.length-1].info:T.GJ,T.K.length!==0||T.T||V_(T,\"r\"));T.loader.y5(\"mdstm\",{rollbk:1,itag:I?I.W.info.itag:\"\",popped:I?I.t5:-1,sq:Y,lastslc:T.T?T.T.t5:-1,lastfraget:T.J.toFixed(3)});if(W.policy.W)return W.K=null,!0;P>k?p1(W,P):W.K=W.W.kB(Y-1,!1).EP[0]}catch(B){return Y=BH(B),Y.details.reason=\"rollbkerr\",\nW.loader.handleError(Y.errorCode,Y.details,Y.severity),!1}return!0};\nwzv=function(W){var Y={c:W.mO,e:W.Vd,mc:W.T0,me:W.oG};W.NV&&(Y.co={c:W.NV.dC,a:W.NV.uV,s:W.NV.rL});return Y};\nVpd=function(W){var Y=R8d();Y||(Y=new Map);W=g.e(W);for(var k=W.next();!k.done;k=W.next())k=k.value,Y.set(k.settingItemId,k.settingOptionValue);Y=JSON.stringify(Object.fromEntries(Y));g.Zm(\"yt-player-user-settings\",Y,2592E3)};\nSl=function(W,Y,k,P,T){NB(W);var I=W.h5;$a(I,I[a_]|0,Y,(P===\"0\"?Number(k)===0:k===P)?void 0:k,T);return W};\nQw6=function(W){for(var Y=0,k=0;k0};\nvqC=function(W){if(W.J)if(W.T===\"AD_PLACEMENT_KIND_START\"&&W.actionType===\"video_to_ad\")Cx(\"video_to_ad\");else{var Y={adBreakType:UP(W.T),playerType:\"LATENCY_PLAYER_HTML5\",playerInfo:{preloadType:\"LATENCY_PLAYER_PRELOAD_TYPE_PREBUFFER\"},videoStreamType:W.videoStreamType};W.actionType===\"ad_to_video\"?(W.contentCpn&&(Y.targetCpn=W.contentCpn),W.videoId&&(Y.targetVideoId=W.videoId)):(W.adCpn&&(Y.targetCpn=W.adCpn),W.adVideoId&&(Y.targetVideoId=W.adVideoId));W.adFormat&&(Y.adType=W.adFormat);W.contentCpn&&\n(Y.clientPlaybackNonce=W.contentCpn);W.videoId&&(Y.videoId=W.videoId);W.adCpn&&(Y.adClientPlaybackNonce=W.adCpn);W.adVideoId&&(Y.adVideoId=W.adVideoId);g.lN(Y,W.actionType);W.Y.V().experiments.Nq(\"html5_ads_csi_qoes\")&&(Y=W.Y.XZ(W.actionType===\"ad_to_video\"?1:2),Y=(0,g.lj)()-1E3*Y,P2(\"qoes\",Y,W.actionType))}};\ng.vL=function(W){return W.TJ===\"embedded\"};\ng.C1d=function(W,Y){this.W=W[g.hL.Symbol.iterator]();this.K=Y};\nLBz=function(W,Y,k,P,T){if(T&&P){var I=P.w5,X=T.SF(I);I.event===\"predictStart\"&&(W.Kg=Y);W.y5(\"sdai\",{onqevt:I.event,sq:Y,mt:k,gab:X,cst:I.startSecs,cueid:W.policy.LB&&(X||I.event===\"start\")?I.identifier:void 0},!0);if(X)I.event!==\"predictStart\"?(I.event===\"start\"&&W.Kg===Y-1&&W.y5(\"sdai\",{gabonstart:Y}),kKF(W,Y,k,P,T)):W.policy.vk?qL(W,3,\"predict\"):(Y+=Math.max(Math.ceil(-I.W/5E3),1),I=Math.floor(k-I.W/1E3),W.policy.K?W.C=I:W.T=Y,W.y5(\"sdai\",{onpred:k,estsq:Y,estmt:I.toFixed(3)}),Z1(W.loader,I,I,\nY),W.N=Date.now(),qL(W,3,\"predict\"),T.Nu(P.w5));else if(W.K===1){var h;((h=W.J)==null?0:h.Qd(k))?(Z1(W.loader,k,k,Y),qL(W,4,\"sk2head\")):qL(W,5,\"nogab\")}else I.event===\"predictStart\"?W.policy.K&&W.C>0?(k=Math.floor(k-I.W/1E3),W.C!==k&&W.y5(\"sdai\",{updateSt:k,old:W.C}),W.C=k):W.T>0&&(k=Y+Math.max(Math.ceil(-I.W/5E3),1),W.T!==k&&(W.y5(\"sdai\",{updateSt:k,old:W.T}),W.T=k)):W.policy.vk&&W.K===3&&kKF(W,Y,k,P,T)}else W.y5(\"sdai\",{nulldec:1,sq:Y,mt:k.toFixed(3),evt:(P==null?void 0:(I=P.w5)==null?void 0:I.event)||\n\"none\"})};\nEL7=function(W,Y,k){var P,T=(P=W.W.W)==null?void 0:P.encrypt(Y,k);return T?T:(new g.ju(W.W.K)).encrypt(Y,k)};\nAD=function(){Ug.apply(this,arguments)};\nd3=function(W){return W==null||typeof W===\"string\"?W:void 0};\nUT2=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-ad-grid-card-text\",B:[{S:\"div\",j:\"ytp-ad-grid-card-text__metadata\",B:[{S:\"div\",j:\"ytp-ad-grid-card-text__metadata__headline\"},{S:\"div\",j:\"ytp-ad-grid-card-text__metadata__description\",B:[{S:\"div\",j:\"ytp-ad-grid-card-text__metadata__description__line\"},{S:\"div\",j:\"ytp-ad-grid-card-text__metadata__description__line\"}]}]},{S:\"div\",j:\"ytp-ad-grid-card-text__button\"}]},\"ad-grid-card-text\",Y,k,P);this.headline=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.B6);g.m(this,this.headline);this.headline.S1(this.J5(\"ytp-ad-grid-card-text__metadata__headline\"));this.moreInfoButton=new MI(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!0);g.m(this,this.moreInfoButton);this.moreInfoButton.S1(this.J5(\"ytp-ad-grid-card-text__button\"))};\nq4v=function(W,Y){gH(W,1,Y.hl);gH(W,12,Y.deviceMake);gH(W,13,Y.deviceModel);Uh(W,16,Y.clientName);gH(W,17,Y.clientVersion);gH(W,18,Y.osName);gH(W,19,Y.osVersion)};\neu=function(W){sE.call(this,W);var Y=this;this.J=1;this.C1=null;this.zW={yUJ:function(){return Y.J}};\nthis.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"d6de4videobindingchange\",function(k){Y.NP(k)});\nthis.events.Z(W,\"csiinitialized\",function(){sbv(Y)})};\nbfF=function(W){W.logger.debug(\"start application playback\");if(W.zn().getPlayerState().isError())W.logger.debug(\"start application playback done, player in error state\");else{var Y=AS(W);W.Kq().isLoaded();Y&&W.IC(6);lUv(W);T8(W.eL)||ft(W)}};\niO=function(W,Y,k){this.W=W;this.K=Y;this.expiration=k;this.ob=null};\nxTv=function(W){g.hl(W.aQ);cT5(W)||(W.aQ=g.mW(function(){return cT5(W)},100))};\ndV=function(W,Y){pW||(qn?qn.logEvent(W,Y):(R9.push({type:\"EVENT\",eventType:W,payload:Y}),R9.length>10&&R9.shift()))};\nfk2=function(W,Y){return W.K+Y*(W.W-W.K)};\nfU1=function(W){return!!W.K&&W.K.t5!==-1&&W.K.t51?Math.ceil(T*Y):Math.floor(T*Y))}W.skip(1);k=nx(W)<<16|F_(W);if(k&256){P=k&1;T=k&4;var I=k&512,X=k&1024,h=k&2048;k=g6(W);P&&W.skip(4);T&&W.skip(4);P=(I?4:0)+(X?4:0)+(h?4:0);for(T=0;T1?Math.ceil(X*Y):Math.floor(X*Y)),W.skip(P)}}};\ny17=function(W){var Y,k;return(k=(Y=/https?:\\/\\/[^\\/]+/.exec(W))==null?void 0:Y[0])!=null?k:\"\"};\nSDV=function(W){var Y=(0,g.lj)();W.LJ=Y};\nRc=function(W,Y){this.breakDurationMs=W;this.triggerType=\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\";this.triggerId=Y||\"\"};\nTb6=function(W,Y,k){PV2&&console.groupCollapsed&&console.groupEnd&&(console.groupCollapsed(\"[\"+W.constructor.name+\"] '\"+W.state+\"' to '\"+Y+\"'\"),console.log(\"with message: \",k),console.groupEnd())};\nBR6=function(W){return XO(W.slot,W.P6.get())?new Ig(W):new Vx(W)};\njM7=function(W){return{In:yx(W,1),action:Qx(W,2),z1:e2(W,3,$sd)}};\nSp=function(W){W=C$(W);W.tick||(W.tick={});return W.tick};\npRC=function(W,Y,k,P){P=P===void 0?{}:P;var T=void 0;P.layer||(P.layer=0);T=P.parentLayer!==void 0?P.parentLayer:P.layer;var I=g.Zu(T);T=g.iK(T);var X=k||T,h;X&&(P.parentCsn!==void 0?h={clientScreenNonce:P.parentCsn,visualElement:X}:I&&I!==\"UNDEFINED_CSN\"&&(h={clientScreenNonce:I,visualElement:X}));var B,O=g.o_(\"EVENT_ID\");I===\"UNDEFINED_CSN\"&&O&&(B={servletData:{serializedServletEventId:O}});g.dS(\"combine_ve_grafts\")&&I&&IA(W,I);g.dS(\"no_client_ve_attach_unless_shown\")&&X&&I&&Ty(X,I);try{var u=Ia5(W.client,\nY,h,P.Jy,P.cttAuthInfo,B,P.implicitGestureType,P.loggingExpectations)}catch(t){nE2(t,{AN:Y,rootVe:T,otg:k,Doa:I,TTD:h,Jy:P.Jy});g.LH(t);return}oM7(u,Y,P.layer,P.cttAuthInfo);I&&I!==\"UNDEFINED_CSN\"&&T&&!CS0(I)&&$GX(W.client,I,T,!0);W.W[W.W.length-1]&&!W.W[W.W.length-1].csn&&(W.W[W.W.length-1].csn=u||\"\");g.lN({clientScreenNonce:u});RK.instance||(RK.instance=new RK);g.nT(jR().W).bind(jR())();var Z=g.iK(P.layer);I&&I!==\"UNDEFINED_CSN\"&&Z&&(g.dS(\"web_mark_root_visible\")||g.dS(\"music_web_mark_root_visible\"))&&\ng.Of(u,Z);W.K.delete(P.layer||0);W.T=void 0;var M;(M=W.wD.get(P.layer))==null||M.forEach(function(t,q){t?ze(W,q,t,P.layer):Z&&ze(W,q,Z,P.layer)});\nY65(W)};\ncQ7=function(W,Y){g.Lt(W.api.gx())&&W.api.setOption(\"captions\",\"sampleSubtitles\",Y)};\nAP5=function(){this.J=[];this.K=0;this.W=new Kh5};\nHN=function(W){var Y,k,P,T,I;return!((Y=W.get(\"active_view_viewable\"))==null||!Y.length)||!((k=W.get(\"active_view_measurable\"))==null||!k.length)||!((P=W.get(\"active_view_fully_viewable_audible_half_duration\"))==null||!P.length)||!((T=W.get(\"audio_audible\"))==null||!T.length)||!((I=W.get(\"audio_measurable\"))==null||!I.length)};\nKx=function(W){W.Fr&&W.P7({adf:\"0_\"+((new Date).getTime()/1E3-W.K1)+\"_isTimeout_\"+W.L})};\neD1=function(W,Y,k){XmC(k)!==Y&&(Vpd([{settingItemId:WR(k),settingOptionValue:{stringValue:Y}}]),R8(W.fn(),function(P){jlC(P,WR(k),{stringValue:Y})}))};\nBVz=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"applicationvideodatachange\",function(k,P){P=P.clipConfig;k===\"dataloaded\"&&P&&P.startTimeMs!=null&&P.endTimeMs!=null&&Y.api.setLoopRange({startTimeMs:Math.floor(Number(P.startTimeMs)),endTimeMs:Math.floor(Number(P.endTimeMs)),postId:P.postId,type:\"clips\"})})};\nnq=function(W,Y){g.Y6(W.policy.T)!==4&&(g.Fh(W.policy.T,4),g.Jx(Y),W.L.reject(new fJ(Y.message)))};\npq=function(W,Y,k,P,T,I,X){g.c.call(this,{S:\"div\",j:\"ytp-slider-section\",D:{role:\"slider\",\"aria-valuemin\":\"{{minvalue}}\",\"aria-valuemax\":\"{{maxvalue}}\",\"aria-valuenow\":\"{{valuenow}}\",\"aria-valuetext\":\"{{valuetext}}\",tabindex:\"0\"},B:[{S:\"div\",j:\"ytp-slider\",B:[{S:\"div\",j:\"ytp-slider-handle\"}]}]});this.G=W;this.N=Y;this.K=k;this.J=P;this.A5=T;this.TJ=I;this.range=this.J-this.K;this.OP=this.J5(\"ytp-slider-section\");this.T=this.J5(\"ytp-slider\");this.Kg=this.J5(\"ytp-slider-handle\");this.X=new g.C2(this.T,\n!0);this.W=X?X:k;g.m(this,this.X);this.X.subscribe(\"dragmove\",this.xR,this);this.Z(this.element,\"keydown\",this.jk);this.Z(this.element,\"wheel\",this.IU);this.init()};\nfn=function(W){var Y=W.pos;W.pos=0;var k=1E6;Ri(W,[408125543,357149030,2807729])&&(k=b0(W));W.pos=Y;return k};\nug=function(){if(!OC())throw Error();};\nG$=function(W,Y,k){Y=Math.max(Y,W.K.W);W.G.NL(1,k/Y)};\nqWz=function(W,Y){try{return globalThis.sessionStorage.setItem(W,Y),!0}catch(k){return!1}};\ng.X8=function(W,Y,k,P,T,I){T=T===void 0?!1:T;I=I===void 0?{}:I;Object.assign(I,U5({cttAuthInfo:lD(Y)||void 0},Y));for(var X=g.e(P),h=X.next();!h.done;h=X.next()){h=h.value;var B=h.getAsJson();(g.x3(B)||!B.trackingParams&&!B.veType)&&g.Jx(Error(\"Child VE logged with no data\"));if(g.dS(\"no_client_ve_attach_unless_shown\")){var O=kZ(h,Y);if(B.veType&&!PM.has(O)&&!Sw7.has(O)&&!T){if(!g.dS(\"il_attach_cache_limit\")||oT.size<1E3){oT.set(O,[W,Y,k,h]);return}g.dS(\"il_attach_cache_limit\")&&oT.size>1E3&&g.Jx(new g.M6(\"IL Attach cache exceeded limit\"))}h=\nkZ(k,Y);oT.has(h)?Ty(k,Y):Sw7.set(h,!0)}}P=P.filter(function(u){u.csn!==Y?(u.csn=Y,u=!0):u=!1;return u});\nk={csn:Y,parentVe:k.getAsJson(),childVes:g.Ab(P,function(u){return u.getAsJson()})};\nY===\"UNDEFINED_CSN\"?bD(\"visualElementAttached\",I,k):W?cJ(\"visualElementAttached\",k,W,I):g.qc(\"visualElementAttached\",k,I)};\nhmV=function(W){W.FA.onProgress();if(Hr(W.videoData)&&Date.now()>W.lS+6283){if(W.U(\"html5_unified_live_latency_reporting\")){var Y=W.FA;Y.qoe&&gNv(Y.qoe)}else!W.isAtLiveHead()||W.videoData.W&&p_(W.videoData.W)||(Y=W.FA,Y.qoe&&gNv(Y.qoe));Y=g.xW(W.zJ);var k=W.U(\"html5_always_log_rawlat\");(Y||k)&&W.y5(\"rawlat\",{l:Gz(W.Ab,\"rawlivelatency\").toFixed(3)});W.lS=Date.now()}W.videoData.K&&Q8(W.videoData.K)&&(Y=W.Ud())&&Y.videoHeight!==W.a$&&(W.a$=Y.videoHeight,Q4(W,\"a\",B5V(W,W.videoData.rD)))};\nKq=function(W,Y,k,P){if(P.substring(0,2)===\"{{\")W.k8[P]=[Y,k];else return P};\nBb7=function(W,Y,k){bQ6(W);is(W,k);is(W,~k);K6.ys(W.OE,W.window,Y,k,W.pending);W.pending+=k};\nSX2=function(W,Y,k){k=k===void 0?!1:k;W.A9=CO(W.A9,Y.video_id);W.Qa=CO(W.Qa,Y.eventid);W.Qa&&(EA=W.Qa);for(var P=[],T=g.e(Object.keys(Og5)),I=T.next();!I.done;I=T.next()){I=Og5[I.value];var X=Y[I];X!=null&&(X!==W.W[I]&&P.push(I),W.W[I]=X)}!k&&P.length>0&&W.df&&(P.sort(),g.Jx(new g.M6(\"Player client parameters changed after startup\",P)));W.userAge=ag(W.userAge,Y.user_age);W.k7=CO(W.k7,Y.user_display_email);W.userDisplayImage=CO(W.userDisplayImage,Y.user_display_image);g.i8(W.userDisplayImage)||(W.userDisplayImage=\n\"\");W.userDisplayName=CO(W.userDisplayName,Y.user_display_name);W.i5=CO(W.i5,Y.user_gender);W.csiPageType=CO(W.csiPageType,Y.csi_page_type);W.csiServiceName=CO(W.csiServiceName,Y.csi_service_name);W.yL=ud(W.yL,Y.enablecsi);W.pageId=CO(W.pageId,Y.pageid);if(k=Y.enabled_engage_types)W.enabledEngageTypes=new Set(k.split(\",\"));Y.living_room_session_po_token&&(W.Dm=Y.living_room_session_po_token.toString())};\neUz=function(){var W=$mX||Cc;if(!W)return\"\";var Y=[];if(!W.location||!W.location.href)return\"\";Y.push(\"url=\"+encodeURIComponent(W.location.href.substring(0,512)));W.document&&W.document.referrer&&Y.push(\"referrer=\"+encodeURIComponent(W.document.referrer.substring(0,512)));return Y.join(\"&\")};\nqe=function(W,Y){var k;if((k=tM)==null?0:k.encodeInto)return Y=tM.encodeInto(W,Y),Y.read>6|192:((T&64512)===55296&&P+1>18|240,Y[k++]=T>>12&63|128):Y[k++]=T>>12|224,Y[k++]=T>>6&63|128),Y[k++]=T&63|128)}return k};\npb=function(W,Y){Y=Y||W.videoTrack&&W.videoTrack.K&&W.videoTrack.K.startTime||W.getCurrentTime();var k=Ji,P=W.videoTrack,T=W.W;Y=T.nextVideo&&T.nextVideo.index.o7(Y)||0;T.gD!==Y&&(T.OP={},T.gD=Y,DT(T,T.W));Y=!T.W.isLocked()&&T.N>-1&&(0,g.lj)()-T.N=T){T=ZgS(X.url);g.i8(T)&&(Y[P]=T);break}}(W=W.pop())&&W.width>=1280&&(W=ZgS(W.url),g.i8(W)&&(Y[\"maxresdefault.jpg\"]=W));return Y};\nigC=function(W,Y){if(W.W&&W.loader){var k=!1;Y?k=!0:W.videoData.isLowLatencyLiveStream||W.videoData.latencyClass===\"LOW\"||W.videoData.latencyClass===\"ULTRALOW\"?k=uU6(W.W):W.e1&&(W.e1=!1,k=uU6(W.W,!0));k&&(Y=W.W6.FA,k=W.W,k=ax(k)*k.W,Y.qoe&&(Y=Y.qoe,g.xd(Y,g.Jj(Y.provider),\"lra\",[k]),Y.y5(\"live-readahead-seconds\",{v:k})));Y=W.loader;k=W.W.W;W=W.W;W=(W.W-1+W.policy.W)*ax(W);var P=NaN,T=Y.tT;T===2||T===-1?mH(Y.W6.getVideoData())&&(P=Y.policy.cE):--k;k=Math.max(k,0);T=Y.C;T.Cs=k;T.N=P;Y.G&&(Y.G.A5=W)}};\nMAS=function(W,Y,k,P,T,I){if(!W.U0)if(g.oA(W,k))W.P7({gdu:\"undec\",seg:k,itag:T});else if(Y=Ea(W,Y,k,P,I),!(W.playback.getVideoData().Xj()&&(Y==null?0:Y.Yr)))return Y};\ng.qwC=function(W,Y,k,P){var T=W.C!==k,I=W.N!==P;W.Cn=Y;W.C=k;W.N=P;Vh(W)&&(Y=W.K)!=null&&(Y.scale=P?1.5:1);aXd(W);W.W.length===1&&(W.W[0].width=k||0);T&&g.cj(W);W.K&&I&&Vh(W)&&(W.K.isEnabled&&(k=W.N?135:90,P=k-J7(W),W.e1.style.height=k+\"px\",g.KX(W.Kg,\"transform\",\"translateY(\"+-P+\"px)\"),g.KX(W.progressBar,\"transform\",\"translateY(\"+-P+\"px)\")),tAd(W.K))};\nqUF=function(W){o1(W)&&!W.hS&&(W.W=!0,W.Nb&&Math.random()<=W.OJ&&W.a7.rR(W.c5),W.HJ(),W.O6.s6()&&W.EY(),W.O6.listen(W.sx,W.EY.bind(W)),W.O6.listen(W.He,W.bq.bind(W)))};\nSZ2=function(W,Y,k,P,T){return XB2(W,Y,k,P,T)};\nLEv=function(W){if(W.s3()!==tG.contentCpn){var Y={};Y=(Y.c=tG.contentCpn,Y);W.Y.y5(\"ccm\",Y)}};\nvLV=function(W){W.menuItem||(W.menuItem=new EX(W.api),g.m(W,W.menuItem),W.menuItem.xa(W.W))};\ng.D=function(){this.kp=this.kp;this.FC=this.FC};\nHgd=function(W,Y){if(Y=Y.content&&Y.content.adFeedbackRenderer||null)W.K=new Rm0(W.api,W.layoutId,W.interactionLoggingClientData,W.B6),g.m(W,W.K),W.K.init(R1(\"ad-feedback-dialog\"),Y,W.macros),W.K.S1(W.TJ),W.K.subscribe(\"a\",function(){return W.publish(\"c\")})};\nn_0=function(){var W=null;VE5().then(function(Y){return W=Y},function(Y){return W=NRX(Y)});\nreturn W};\ng.Zm=function(W,Y,k){var P=k&&k>0?k:0;k=P?Date.now()+P*1E3:0;if((P=P?(0,g.Il)():jC())&&window.JSON){typeof Y!==\"string\"&&(Y=JSON.stringify(Y,void 0));try{P.set(W,Y,k)}catch(T){P.remove(W)}}};\ng.nc=function(W,Y){this.id=W;this.Ib=Y;this.captionTracks=[];this.J=this.T=null;this.xtags=\"\";this.C=!1;this.W=null;this.K=\"UNKNOWN\";this.captionsInitialState=\"CAPTIONS_INITIAL_STATE_UNKNOWN\";W=this.Ib.id.split(\".\");W.length>1&&(this.C=W[1]===\"2\")};\npm7=function(W){return Wk(W,function(Y){return\"FORMAT_STREAM_TYPE_OTF\"===Y.type})?\"FORMAT_STREAM_TYPE_OTF\":\"FORMAT_STREAM_TYPE_UNKNOWN\"};\nGId=function(W,Y){HL(W,2,Y.mG);HL(W,5,Y.encryptedClientKey);HL(W,6,Y.iv);HL(W,7,Y.z2);lm(W,10,Y.iuJ);lm(W,13,Y.Xl);lm(W,14,Y.Hn);HL(W,16,Y.J$1);lm(W,17,Y.s7D)};\nqsz=function(W){var Y=new Uint8Array(32),k=64-W.K;W.K>55&&(k+=64);var P=new Uint8Array(k);P[0]=128;for(var T=W.T*8,I=1;I<9;I++){var X=T%256;P[k-I]=X;T=(T-X)/256}W.update(P);for(k=0;k<8;k++)Y[k*4]=W.W[k]>>>24,Y[k*4+1]=W.W[k]>>>16&255,Y[k*4+2]=W.W[k]>>>8&255,Y[k*4+3]=W.W[k]&255;ZQC(W);return Y};\nKed=function(W,Y,k){var P=W.getVideoData(),T=Y.getVideoData();if(!P.V().supportsGaplessShorts())return{nq:\"env\"};if((!k.N||P.zv&&!P.isAd()||T.zv&&!T.isAd())&&(!k.K||P.zv&&!P.isAd()||T.zv)&&(!k.J||T.zv&&!T.isAd()||P.zv)&&(P.zv||T.zv))return{nq:\"autoplay\"};if(P.endSeconds>0)return{nq:\"endcr\"};if(!P.G)return{nq:\"client\"};if(!W.g_())return{nq:\"no-empty\"};W=u5(k,W,Y,Infinity);return W!=null?{nq:W.msg}:null};\nd6v=function(W){for(var Y=new Uint8Array(W.length),k=0;k=W.data.length)return W.error=!0,0;W.register|=W.data[W.K++]<>=Y;W.W-=Y;return k};\nryd=function(W,Y,k,P,T,I){var X=Tb(W.K.get(),\"SLOT_TYPE_FORECASTING\");Y=Tv(W,Y,k,P);if(Y instanceof l)return Y;P=[new jm(W.W,X)];W=[new Jp(W.W,X),new Zp(W.W,k)];return{slotId:X,slotType:\"SLOT_TYPE_FORECASTING\",slotPhysicalPosition:1,slotEntryTrigger:Y,slotFulfillmentTriggers:P,slotExpirationTriggers:W,fg:\"core\",clientMetadata:new i_([new H$(I({slotId:X,slotType:\"SLOT_TYPE_FORECASTING\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:Y,slotFulfillmentTriggers:P,slotExpirationTriggers:W}))]),adSlotLoggingData:T}};\nAyd=function(W,Y,k){W.jj.set(Y,{bD:new $A,P$:0,bytesReceived:0,KE:0,VI:!1,Lu:!1,k5:!1,xH:k,u9:[],EP:[],BE:[],Uc:!1,j5:new Map,s9:new Map,g7:[]});W.logger.debug(function(){return\"[initStream] formatId: \"+Y})};\nzmv=function(){return Math.random().toString(36).substring(7).split(\"\").join(\".\")};\nxs7=function(W,Y){var k=null;return(new g.JL(function(P,T){k=g.lu(function(){P(Y)},W);\nk==-1&&T(Error(\"Failed to schedule timer.\"))})).MA(function(P){g.hL.clearTimeout(k);\nthrow P;})};\nmc=function(W,Y){this.W=W;this.cipher=this.W.exports.AES128CTRCipher_create(Y.byteOffset)};\nX9=function(){var W=this;this.C=!1;this.J=this.T=0;this.X=new C6;this.zW={xV5:function(){W.C=!0},\nGRi:function(){return W.W},\nDHg:function(Y){F2(W,Y)},\nSD:function(Y){W.SD(Y)},\nIni:function(Y){RH(W,Y)},\nw$:function(){return W.coldHashData},\nYQ:function(){return W.hotHashData},\nbCq:function(){return W.K},\nD8a:function(){return D1()},\nBOD:function(){return gf()},\nQlP:function(){return g.o3(\"yt.gcf.config.coldHashData\")},\nd85:function(){return g.o3(\"yt.gcf.config.hotHashData\")},\nMTz:function(){rNF(W)},\nsE6:function(){W.SD(void 0);OG(W);delete X9.instance},\nZyh:function(Y){W.J=Y},\nZCP:function(){return W.J}}};\ndp0=function(W){return W.Y.V().experiments.Nq(\"should_ignore_cuepoints_during_lifa_preroll\")};\ng.fGV=function(W,Y){Y=a4(Y);Y=gy(Y,Y);Y.T=!0;wy(W,Y);return W};\n$S=function(W,Y,k){Y=g.e(Y);var P=Y.next();IZ1(P);if(P.done)W.K=P.value,W.W=k;else return W.T=Y,g.L(W,P.value,k)};\nmp0=function(W,Y,k){!W.zJ.U(\"html5_tv_ignore_capable_constraint\")&&g.l_(W.zJ)&&(k=k.compose(W.l0(Y)));return k};\ng.FR=function(){return window.devicePixelRatio>1?window.devicePixelRatio:1};\nDO6=function(W,Y){var k=W.V();k=W.Cn&&k.U(\"html5_onesie_preload_use_content_owner\");var P=W.ZN;k=k===void 0?!1:k;var T=bG(Y.zJ.experiments,\"debug_bandaid_hostname\");if(T)Y=SQ(Y,T);else if(k&&(P==null?0:P.url)&&!Y.K){var I=Pd(69,new g.uF(P.url));Y=SQ(Y,I)}else Y=(I=Y.W.get(0))==null?void 0:I.location.clone();if(Y&&W.videoId){I=Df(W.videoId);W=[];if(I)for(I=g.e(I),k=I.next();!k.done;k=I.next())W.push(k.value.toString(16).padStart(2,\"0\"));Y.set(\"id\",W.join(\"\"));return Y}};\nX_=function(W){W=W.c$();return W.length<1?NaN:W.end(W.length-1)};\nc_=function(){mS.apply(this,arguments)};\nSU=function(W,Y,k,P){Y!==W.vU&&(W.W6.y5(\"ssevt\",{tag:W.W===0?\"sstd-cr\":W.W===1?\"sstd-tm\":W.W===2?\"sstd-poll\":W.W===3?\"sstd-poll100\":\"sstd-unknown\",ad:W.cpn!==Y,cpn:Y,st:k.toFixed(3),late:Math.round(W.isSeeking?0:(P-k)*1E3)}),W.vU=Y,W.W6.publish(\"playbackstarted\",Y,k+W.W6.m2()))};\nunz=function(W){if(W.instreamVideoAdRenderer===void 0)return EF(\"AdPlacementSupportedRenderers without matching InstreamVideoAdRenderer\"),!1;for(var Y=g.e(W.OB),k=Y.next();!k.done;k=Y.next()){k=k.value;if(k.Uf===void 0)return!1;if(k.sB===void 0)return EF(\"AdPlacementConfig for AdPlacementSupportedRenderers that matches an InstreamVideoAdRenderer is undefined\"),!1;if(W.vE===void 0||k.L6===void 0||W.vE!==k.L6&&k.L6!==\"AD_PLACEMENT_KIND_SELF_START\")return!1;if(W.instreamVideoAdRenderer.elementId===void 0)return EF(\"InstreamVideoAdRenderer has no elementId\",\nvoid 0,void 0,{kind:W.vE,\"matching APSR kind\":k.L6}),!1}return!0};\n$fq=function(W,Y){if(W.C){var k=Y-W.C;if(k<6E4){if(k>1E3){var P=W.interruptions;P.push(Math.ceil(k));P.sort(function(T,I){return I-T});\nP.length>16&&P.pop()}W.gD+=k}}W.C=Y};\nl9=function(W,Y){var k=0,P=-1;W=g.e(W);for(var T=W.next();!T.done;T=W.next())if(T=T.value,!(T.startTimeMs+T.durationMsY||P>=0&&T.T9>P+1)break;k=Math.max(k,T.startTimeMs+T.durationMs);P=Math.max(P,T.wV)}return Math.max(0,k-Y)};\nDqd=function(){if(Ng2()&&!Dp1){var W=function(k){k=k.data;if(k.op===\"gzippedGelBatch\"){var P=g_.get(k.key);P&&(wjS(k.gzippedBatch,P.latencyPayload,P.url,P.options,P.sendFn),g_.delete(k.key))}},Y=aL();\nY&&(Y.addEventListener(\"message\",W),Y.onerror=function(){g_.clear()},Dp1=!0)}};\nD2=function(W,Y){return Math.abs(g_7*Y-W)<1||Math.abs(g_7/W-Y)<1?g_7:W/Y};\nEn=function(W,Y){W.U(\"html5_webpo_bge_ctmp\")&&W.api.y5(Y,{hwpo:!!W.K,hwpor:W.W})};\nFeF=function(W){var Y=[];if(!W||!W.thumbnails)return Y;W=g.e(W.thumbnails);for(var k=W.next();!k.done;k=W.next())k=k.value,k.url&&(!k.width||k.width<=0||!k.height||k.height<=0||g.i8(k.url)&&Y.push({src:k.url||\"\",sizes:k.width+\"x\"+k.height,type:\"image/jpeg\"}));return Y};\nwmv=function(W,Y,k,P,T,I,X,h){Qy.call(this,W,Y,k,P);this.sP=T;this.er=I;this.X=h;this.ey=!0;this.T=null;this.C=kW(k.clientMetadata,\"metadata_type_linked_player_bytes_layout_id\");qj(this.er(),this);W=kW(k.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId)};\nfhd=function(){return{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V19L1.01 19.20C1.05 19.66 1.26 20.08 1.58 20.41C1.91 20.73 2.33 20.94 2.79 20.99L3 21H21L21.20 20.98C21.66 20.94 22.08 20.73 22.41 20.41C22.73 20.08 22.94 19.66 22.99 19.20L23 19V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01ZM3 19V5H21V19H3ZM8 11H6C5.73 11 5.48 11.10 5.29 11.29C5.10 11.48 5 11.73 5 12C5 12.26 5.10 12.51 5.29 12.70C5.48 12.89 5.73 13 6 13H8C8.26 13 8.51 12.89 8.70 12.70C8.89 12.51 9 12.26 9 12C9 11.73 8.89 11.48 8.70 11.29C8.51 11.10 8.26 11 8 11ZM18 11H12C11.73 11 11.48 11.10 11.29 11.29C11.10 11.48 11 11.73 11 12C11 12.26 11.10 12.51 11.29 12.70C11.48 12.89 11.73 13 12 13H18C18.26 13 18.51 12.89 18.70 12.70C18.89 12.51 19 12.26 19 12C19 11.73 18.89 11.48 18.70 11.29C18.51 11.10 18.26 11 18 11ZM18 15H16C15.73 15 15.48 15.10 15.29 15.29C15.10 15.48 15 15.73 15 16C15 16.26 15.10 16.51 15.29 16.70C15.48 16.89 15.73 17 16 17H18C18.26 17 18.51 16.89 18.70 16.70C18.89 16.51 19 16.26 19 16C19 15.73 18.89 15.48 18.70 15.29C18.51 15.10 18.26 15 18 15ZM12 15H6C5.73 15 5.48 15.10 5.29 15.29C5.10 15.48 5 15.73 5 16C5 16.26 5.10 16.51 5.29 16.70C5.48 16.89 5.73 17 6 17H12C12.26 17 12.51 16.89 12.70 16.70C12.89 16.51 13 16.26 13 16C13 15.73 12.89 15.48 12.70 15.29C12.51 15.10 12.26 15 12 15Z\",\nfill:\"white\"}}]}};\nazd=function(W){sE.call(this,W);var Y=this;NE(this.api,\"getPlaybackRate\",function(){return Y.api.getPlaybackRate()});\nNE(this.api,\"setPlaybackRate\",function(k){typeof k===\"number\"&&Y.api.setPlaybackRate(k)})};\niBV=function(W,Y){function k(B){for(;P>4);X!=64&&(Y(I<<4&240|X>>2),h!=64&&Y(X<<6&192|h))}};\nE7=function(W){if(W.isAd()&&(W.f1?W.videoId!==W.pg.A9:W.videoId!=W.pg.A9))return W.pg.A9};\ng.sU=function(){var W=this;this.promise=new Promise(function(Y,k){W.resolve=Y;W.reject=k})};\nQMz=function(W,Y,k,P,T){if(Array.isArray(Y)){for(var I=0;I0&&(this.W=new g.fC(this.sz,Y,this),g.m(this,this.W));this.C=new g.fC(this.sz,k,this);g.m(this,this.C);this.L=kV7(this.K,T,1,P);g.m(this,this.L);this.G=kV7(this.K,0,P,1);g.m(this,this.G);this.T=new EQ;g.m(this,this.T)};\nhYd=function(W,Y,k,P,T,I,X){g.D.call(this);this.callback=W;this.JT=Y;this.Cg=k;this.CH=P;this.dZ=T;this.er=I;this.P6=X;this.ey=!0;this.ZV=!1};\nC6z=function(W,Y,k,P,T){if(!W.FN){var I=W.LN();if(I){I.Z2().layoutId!==k.layoutId&&EF(\"SubLayout mismatch in exitSubLayout\",Y,k,{exitingSubLayout:k.layoutId,activeSubLayout:I.Z2().layoutId});W.FN=!0;I.ej(I.Z2(),P);I=Object.assign({},yV(W),{layoutId:k.layoutId,layoutExitReason:P});var X=I.layoutId,h=I.layoutExitReason;if(I.Nh){var B={};Mb(I.AD,\"wrsx\",(B.xc=X,B.ler=h,B.ctp=qb(X),B))}W.JM(Y,k,P);W.FN=!1;W.Ml?(W.Ml(),W.OU()||v_X(W.CH.get())):T()}else EF(\"No active adapter when exitSubLayout in PlayerBytesVodCompositeLayoutRenderingAdapter. This should never happen.\",\nY,k)}};\ndB=function(W,Y,k,P,T,I){I=I===void 0?function(){}:I;\nCC.call(this,W,{S:\"div\",j:\"ytp-ad-survey-question\",B:[{S:\"div\",Ya:[\"ytp-ad-survey-question-text\",\"ytp-ad-survey-question-foreground\"]},{S:\"div\",Ya:[\"ytp-ad-survey-answers\",\"ytp-ad-survey-question-foreground\"]},{S:\"div\",Ya:[\"ytp-ad-survey-question-player-overlay\",\"ytp-ad-survey-question-foreground\"]},{S:\"div\",j:\"ytp-ad-survey-question-background\"}]},T,Y,k,P);this.TJ=I;this.T=null;this.K=[];this.W=null;this.N=this.api.V().experiments.Nq(\"a11y_h5_associate_survey_question\");this.question=this.J5(\"ytp-ad-survey-question\");\nthis.UP=this.J5(\"ytp-ad-survey-question-background\");this.questionText=this.J5(\"ytp-ad-survey-question-text\");this.answers=this.J5(\"ytp-ad-survey-answers\");this.playerOverlay=this.J5(\"ytp-ad-survey-question-player-overlay\");this.J=Date.now()};\nCVd=function(W){return{token:yx(W,1)}};\nZ_d=function(W,Y){if(W.policy.e$){var k=Y.info.c6,P=vy(W.schedule);Y=Y.index.N5();k=Math.max(1,P/k);W.L=Math.round(Math.max(((k-1)*Y+W.policy.rZ)/k,Y-W.policy.uv)*1E3)}};\nLez=function(W){W=g.e(EZ(W.W).Zd.ph.values());for(var Y=W.next();!Y.done;Y=W.next())if(Y.value.layoutType===\"LAYOUT_TYPE_MEDIA_BREAK\")return!0;return!1};\nBxz=function(W){var Y=W.adTimeOffset||{};W=Y.offsetEndMilliseconds;Y=Number(Y.offsetStartMilliseconds);if(isNaN(Y))throw new TypeError(\"Expected valid start offset\");W=Number(W);if(isNaN(W))throw new TypeError(\"Expected valid end offset\");return{m9:Y,Zs:W}};\nUpd=function(W,Y,k,P,T,I){var X=X===void 0?\"trayride\":X;k?(W.ZY(2),g.hw(g.w6(k),function(){if(window[X])eGF(W,P,X,T);else{W.ZY(3);var h=w_S(k),B=document.getElementById(h);B&&(eL7(h),B.parentNode.removeChild(B));g.Jx(new g.M6(\"BL:ULB\",\"\"+k))}},I)):Y?(I=g.sF(\"SCRIPT\"),Y instanceof WZ?(I.textContent=Y$(Y),ds(I)):I.textContent=Y,I.nonce=cR(document),document.head.appendChild(I),document.head.removeChild(I),window[X]?eGF(W,P,X,T):(W.ZY(4),g.Jx(new g.M6(\"BL:ULBJ\")))):g.Jx(new g.M6(\"BL:ULV\"))};\nXiq=function(W){if(W.J&&W.nextVideo&&AL(W,W.J.info)0&&W.C>0){for(var X=W.C-Vc(W)*W.OP,h=W.K1===0?3:X*W.K1,B=g.e(W.W),O=B.next();!O.done;O=B.next())O.value.width=0;for(;k1);O=(I===0?0:B/I*X)+W.W[k].width;if(O>h)W.W[k].width=O;else{W.W[k].width=0;var u=W,Z=k,M=u.W[Z-1];M!==void 0&&M.width>0?\nM.width+=O:ZW.K1&&(W.K1=B/I),P=!0)}k++}}return P};\ncyd=function(W,Y){W.lG.push(Y);for(var k=!1,P=g.e(W.listeners),T=P.next();!T.done;T=P.next())k=T.value.JA(Y)||k;W.T=k;gt(W.P6.get())&&Fr(W.sP.get(),\"onci\",\"cpi.\"+Y.identifier+\";cpe.\"+Y.event+\";cps.\"+Y.startSecs+\";cbi.\"+k)};\nYs=function(W){if(W.U(\"html5_onesie\")&&W.errorCode)return!1;var Y=g.oq(W.N,\"ypc\");W.ypcPreview&&(Y=!1);return W.Nt()&&!W.loading&&(g.LX(W)||g.oq(W.N,\"heartbeat\")||Y)};\noK=function(W){this.state=W;this.plugins=[];this.J=void 0;this.T={};es&&yL(this.state)};\nfaq=function(W,Y){Y=Y===void 0?!1:Y;return nR(pR(W,xp2),W,Y,\"Captions URL\")};\nf6=function(W){return W.J?!1:!W.keySystemAccess&&!!lP()&&W.keySystem===\"com.microsoft.playready\"};\nVAV=function(W,Y,k){var P;if(P=W.playback.getVideoData().Xj())P=(P=W.W.s1({cpn:Y}))&&P.J7?(W=W.W.W.get(P==null?void 0:P.J7))&&W.slice(-1)[0].cpn===Y:!1;return P&&k===2?1E3:0};\ng.TO=function(W){g.MK(W.info.W.info)||W.info.W.info.pN();if(W.J!==-1)return W.J;if(W.W&&yHv(W.W))return W.J=yHv(W.W),W.J;if(g.MK(W.info.W.info)){var Y=g.tB(W);for(var k=W.info.W.W,P=NaN,T=NaN,I=0;FP(Y,I);){var X=ww(Y,I);X.type===1936286840?T=X.data.getUint32(X.dataOffset+8):X.type===1836476516?T=g.Es(X):X.type===1952867444&&isNaN(P)&&(P=g.OM(X));I=Ct(X.type)?I+8:I+X.size}!T&&k&&(T=Jl(k));Y=P/T}else Y=new qK(g.tB(W)),k=W.C?Y:new qK(new DataView(W.info.W.W.buffer)),P=fn(k),k=Y.pos,Y.pos=0,Fc(Y)?NR(Y,\n231)?(P=b0(Y)*P/1E9,Y.pos=k,Y=P):(Y.pos=k,Y=NaN):(Y.pos=k,Y=NaN);W.J=Y||W.info.C;return W.J};\nNb1=function(W,Y){W.W=Y};\nCy=function(W){W=W===void 0?Cc:W;Rk.call(this,new HO(W,2))};\nPF=function(W){this.G=W;this.W=null;this.T=0;this.X=null;this.C=0;this.K=[];for(W=0;W<4;W++)this.K.push(0);this.J=0;this.Kg=g.dP(window,\"mousemove\",(0,g.xp)(this.N,this));this.L=g.mW((0,g.xp)(this.A5,this),25)};\nF9z=function(W,Y,k,P,T){var I=(0,g.lj)(),X=T?T(Y):void 0,h;T=(h=X==null?void 0:X.N0)!=null?h:1;if(T!==0){var B;h=(B=X==null?void 0:X.profile)!=null?B:k;aaF(W,h,I-P,T)}return Y};\nWCX=function(W,Y,k){W.onSuccess=Y;W.onError=k};\nyiC=function(W,Y){Y=Y===void 0?0:Y;var k=g.o_(\"client-screen-nonce-store\");k||(k={},V1(\"client-screen-nonce-store\",k));k[Y]=W};\ng.vN=function(W,Y){Y>=W.y8()&&W.cP();var k=QW(W,Y),P=W.columns*W.rows,T=Y%P;Y=T%W.columns;T=Math.floor(T/W.columns);var I=W.cP()+1-P*k;if(I=0;Y--)delete W[Y];W.length=0};\n$oC=function(W,Y){Y=g.Vq(\"$TOTAL_SEEK_TIME seconds\",{TOTAL_SEEK_TIME:Y.toString()});W.updateValue(\"seekTime\",Y)};\niFz=function(W,Y){return[uo(W,0,W.length>>1,Y),uo(W,W.length>>1)]};\nkk2=function(W,Y){var k=Y.getAudioTrack();return k.id!==\"und\"?g.HE(W,function(P){var T;return((T=P.Ib)==null?void 0:T.name)===k.getLanguageInfo().name}):W};\nPrq=function(W,Y){var k=rKv(Y);if(W.K[k])return W.K[k];var P=Object.keys(W.store)||[];if(P.length<=1&&rKv(Y)===P[0])return P;for(var T=[],I=0;I0)||P.mediaElement&&P.mediaElement.getCurrentTime()>0||(Y={Fi:\"seektimeline_resumeTime\",dT:Y},P.videoData.Kg||(Y.seekSource=15),\nP.seekTo(P.J,Y)));a:{Y=k;if(w9(W.videoData)){if(!W.videoData.t$())break a}else if(!g.TY(W.videoData))break a;if(W.mediaElement)if((P=W.videoData.C)&&W.mediaElement.vr()){T=W.mediaElement.Tn();if(W.hY)if(T!==W.hY.element)GL(W);else if(Y&&P.flavor===\"fairplay\"&&!iH())GL(W);else break a;if(W.U(\"html5_report_error_for_unsupported_tvos_widevine\")&&iH()&&P.flavor===\"widevine\")W.SW(\"fmt.unplayable\",1,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"trg.unspttvoswidevine\");else{W.hY=new Yy(T,W.videoData,W.zJ);W.hY.subscribe(\"licenseerror\",\nW.sO,W);W.hY.subscribe(\"qualitychange\",W.DTa,W);W.hY.subscribe(\"heartbeatparams\",W.eM,W);W.hY.subscribe(\"keystatuseschange\",W.CI,W);W.hY.subscribe(\"ctmp\",W.y5,W);Y=g.e(W.PX.keys);for(P=Y.next();!P.done;P=Y.next())P=W.PX.get(P.value),W.hY.j7(P);W.U(\"html5_eme_loader_sync\")||W.PX.removeAll()}}else W.SW(\"fmt.unplayable\",1,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"trg.updatedrm\")}return k};\niG0=function(W,Y,k){if(!W.jm){Y=Math.max(Y,.01);var P=W.QD?Math.max(Y,k/W.QD):Y,T=W.Sj.K.J;T&&(P=Y,W.QD&&(P=Math.max(Y,k/W.QD*T)));sz(W.Sj,Y,k,P)}};\nQt=function(W){return wo(W).then(function(Y){return Y?new UA(W,Y):null})};\nMFF=function(W,Y){var k=EE(Kj,Y);k||(k=vW(W,Y,\"h\",-1));return k};\nocz=function(){if(g.dS(\"bg_st_hr\"))return\"havuokmhhs-0\";var W,Y=((W=performance)==null?void 0:W.timeOrigin)||0;return\"havuokmhhs-\"+Math.floor(Y)};\nWdq=function(W,Y){var k=re(W,\"watchtime\");tFF(W)&&(k.delayThresholdMet=!0,W.wD=!0);if(W.K>0){for(var P=g.e(Y),T=P.next();!T.done;T=P.next())T=T.value,T.startTime-=W.K,T.endTime-=W.K;k.W-=W.K}else k.W=W.W.W;k.segments=Y;return k};\ng.lO=function(W,Y,k){if(g.x3(k))return W;k=g.kY0(k);if(typeof W===\"string\")return MD(W,g.tw(Y),k);g.f5(W,Y,k);return W};\nbO=function(W){g.tR.call(this);this.W=!1;this.oB=0;this.handler=new EQ(this);g.m(this,this.handler);this.durationMs=W;this.timer=new g.df(100);g.m(this,this.timer);this.handler.Z(this.timer,\"tick\",this.Xi);this.K={seekableStart:0,seekableEnd:W/1E3,current:0};this.start()};\nqO6=function(W){var Y;return!((Y=W.Ba)==null||!Y.v7)};\nRd1=function(W){W.timelyActions&&(W.T=W.timelyActions.reduce(function(Y,k){if(k.cueRangeId===void 0)return Y;Y[k.cueRangeId]=0;return Y},{}))};\nHGC=function(){};\nRJ=function(){g.Td.call(this);this.C=new Map};\ncbd=function(W){var Y=W===void 0?{}:W;W=Y.hasSubfragmentedFmp4===void 0?!1:Y.hasSubfragmentedFmp4;Y=Y.h3===void 0?!1:Y.h3;var k=new pC1;k.Ch=W||Y;return k};\nnPz=function(W){W.Y.isFullscreen()?g.Fw(W.Y,W.element,10):W.S1(Q3(W).body)};\nGk6=function(W){return Object.values(po6).includes(W)};\ng.y7=function(W){return\"/youtubei/v1/\"+jAV(W)};\ng.VG=function(W,Y,k,P){this.level=W;this.T=Y;this.loaded=new Set;this.level=W;this.T=Y;W=k.split(\"#\");this.width=Math.floor(Number(W[0]));this.height=Math.floor(Number(W[1]));this.frameCount=Math.floor(Number(W[2]));this.columns=Math.floor(Number(W[3]));this.rows=Math.floor(Number(W[4]));this.W=Math.floor(Number(W[5]));this.J=W[6];this.signature=W[7];this.videoLength=P};\nKCX=function(W,Y){if(W.Y.V().OP){var k=g.T_(W.Y,\"Mute\",\"m\"),P=g.T_(W.Y,\"Unmute\",\"m\");k=Y?P:k;W.Y.V().U(\"player_tooltip_data_title_killswitch\")?W.updateValue(\"title\",k):W.update({\"tooltip-title\":k,\"aria-label\":k});W.update({\"data-title-no-tooltip\":Y?\"Unmute\":\"Mute\"});W.tooltip.wc()}};\nVsd=function(W){W.channel.classList.remove(\"ytp-title-show-collapsed\");W.channel.classList.remove(\"ytp-title-show-expanded\")};\nLV7=function(W){if(!W.K){W.K=!0;var Y=W.W6.getPlayerState();Y=Y.isPaused()||Y.isSuspended();W.W6.lw();Y&&!D3(W.videoData)||W.W6.publish(\"signatureexpired\")}};\nFxX=function(W){var Y=W.o3(),k=1,P=!1,T=EPd(W,Y,W.getVideoAspectRatio()),I=W.app.V(),X=I.U(\"enable_desktop_player_underlay\"),h=sDq(),B=g.je(I.experiments,\"player_underlay_min_player_width\");B=X&&W.QI&&W.getPlayerSize().width>B;if(mn(W)){var O=fpq(W);var u=isNaN(O)||g.PC||iz&&g.nV||B;o4&&!g.XK(601)?O=T.aspectRatio:u=u||I.controlsType===\"3\";u?B?(u=I.U(\"place_shrunken_video_on_left_of_player\")?16:W.getPlayerSize().width-Y.width-16,O=Math.max((W.getPlayerSize().height-Y.height)/2,0),u=new g.$F(u,O,Y.width,\nY.height),W.L1.style.setProperty(\"border-radius\",\"12px\")):u=new g.$F(0,0,Y.width,Y.height):(k=T.aspectRatio/O,u=new g.$F((Y.width-T.width/k)/2,(Y.height-T.height)/2,T.width/k,T.height),k===1&&g.nV&&(O=u.width-Y.height*O,O>0&&(u.width+=O,u.height+=O)));g.ML(W.element,\"ytp-fit-cover-video\",Math.max(u.width-T.width,u.height-T.height)<1);if(h||W.FW)W.L1.style.display=\"\";W.Vl=!0}else{u=-Y.height;o4?u*=window.devicePixelRatio:g.jx&&(u-=window.screen.height);u=new g.$F(0,u,Y.width,Y.height);if(h||W.FW)W.L1.style.display=\n\"none\";W.Vl=!1}MQ(W.zP,u)||(W.zP=u,g.gp(I)?(W.L1.style.setProperty(\"width\",u.width+\"px\",\"important\"),W.L1.style.setProperty(\"height\",u.height+\"px\",\"important\")):g.o9(W.L1,u.getSize()),P=new g.z6(u.left,u.top),g.t3(W.L1,Math.round(P.x),Math.round(P.y)),P=!0);Y=new g.$F((Y.width-T.width)/2,(Y.height-T.height)/2,T.width,T.height);MQ(W.Th,Y)||(W.Th=Y,P=!0);g.KX(W.L1,\"transform\",k===1?\"\":\"scaleX(\"+k+\")\");X&&B!==W.eH&&(B&&(W.L1.addEventListener(sH,W.IQ),W.L1.addEventListener(\"transitioncancel\",W.IQ),W.L1.classList.add(g.xf.VIDEO_CONTAINER_TRANSITIONING)),\nW.eH=B,W.app.Ii.publish(\"playerUnderlayVisibilityChange\",W.eH?\"transitioning\":\"hidden\"));return P};\ncT5=function(W){var Y=W.mediaElement;Y&&W.Py&&!W.videoData.Kg&&!IQ(\"vfp\",W.C1.timerName)&&Y.Tg()>=2&&!Y.isEnded()&&uO(Y.EE())&&W.C1.tick(\"vfp\");return(Y=W.mediaElement)&&!W.videoData.Kg&&Y.getDuration()>0&&(Y.isPaused()&&Y.Tg()>=2&&uO(Y.EE())&&(IQ(\"pbp\",W.C1.timerName)||W.C1.tick(\"pbp\"),!W.videoData.Ka||W.Cl||Y.isSeeking()||(W.Cl=!0,W.publish(\"onPlaybackPauseAtStart\"))),Y=Y.getCurrentTime(),cN(W.mY,Y))?(W.l6(),!0):!1};\nJ51=function(W){var Y=mK(W.W)>>>0;return OT1(W.W,Y)};\nxA=function(W){this.h5=rT(W,8)};\n$7=function(W){if(!W.userDisplayImage)return\"\";var Y=W.userDisplayImage.split(\"/\");if(Y.length===5)return W=Y[Y.length-1].split(\"=\"),W[1]=\"s20-c\",Y[Y.length-1]=W.join(\"=\"),Y.join(\"/\");if(Y.length===8)return Y.splice(7,0,\"s20-c\"),Y.join(\"/\");if(Y.length===9)return Y[7]+=\"-s20-c\",Y.join(\"/\");g.Jx(new g.M6(\"Profile image not a FIFE URL.\",W.userDisplayImage));return W.userDisplayImage};\nsaq=function(W){yVC=2592E3*(W||1)};\ng.fL=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next())if(k=k.value,k.cueRangeSetIdentifier){var P=void 0;W.P1.set(k.cueRangeSetIdentifier,(P=k.playerCueRanges)!=null?P:[])}};\nhi=function(){mS.apply(this,arguments)};\nr5F=function(W,Y,k,P,T){this.listener=W;this.proxy=null;this.src=Y;this.type=k;this.capture=!!P;this.handler=T;this.key=++sud;this.removed=this.ut=!1};\nYM=function(W,Y,k){var P=kW(W.Z2().clientMetadata,\"metadata_type_linked_in_player_layout_id\");return P?P:(EF(\"Tried to retrieve Linked InPlayer LayoutId but missing ClientMetadata\",W.jr(),W.Z2(),{requestingSlot:Y,requestingLayout:k}),null)};\nxM=function(W,Y,k,P,T,I){I=I===void 0?!1:I;W.OP.NL(Y,k/Y);W.X=(0,g.lj)();T||W.N.NL(1,Y-P);I||(W.C=0);W.Kg>-1&&(0,g.lj)()-W.Kg>3E4&&dkC(W)};\nA5F=function(W,Y){if(W.Dd&&W.t5!==void 0&&W.Cs!==void 0){var k=Math,P=k.min,T=W.wD;var I=W.Dd;var X=W.W;if(Exq(I,W.t5))I=Y;else{var h=0;I.Ch&&(h=.2);I=X+(I.Fu+h)*1E3}W.wD=P.call(k,T,I);k=Math;P=k.min;T=W.UP;I=W.Dd;X=W.W;h=Tfd(I,W.t5,W.Cs);h!==2&&(Y=h?Y:X+I.Fu*1E3,I.Ch&&(Y+=I.Fu*1E3));W.UP=P.call(k,T,Y);W.wD<=W.W?TJ1(W):(W.Fr=W.wD,W.K1=!0)}};\nzdz=function(W,Y){var k=wL();g.KK.call(this,W,{S:\"div\",j:\"ytp-info-panel-detail-skrim\",B:[{S:\"div\",j:\"ytp-info-panel-detail\",D:{role:\"dialog\",id:k},B:[{S:\"div\",j:\"ytp-info-panel-detail-header\",B:[{S:\"div\",j:\"ytp-info-panel-detail-title\",v6:\"{{title}}\"},{S:\"button\",Ya:[\"ytp-info-panel-detail-close\",\"ytp-button\"],D:{\"aria-label\":\"Close\"},B:[g.xe()]}]},{S:\"div\",j:\"ytp-info-panel-detail-body\",v6:\"{{body}}\"},{S:\"div\",j:\"ytp-info-panel-detail-items\"}]}]},250);this.W=Y;this.items=this.J5(\"ytp-info-panel-detail-items\");\nthis.J=new g.x5(this);this.itemData=[];this.T=k;this.Z(this.J5(\"ytp-info-panel-detail-close\"),\"click\",this.n1);this.Z(this.J5(\"ytp-info-panel-detail-skrim\"),\"click\",this.n1);this.Z(this.J5(\"ytp-info-panel-detail\"),\"click\",function(P){P.stopPropagation()});\ng.m(this,this.J);this.Y.createServerVe(this.element,this,!0);this.Z(W,\"videodatachange\",this.onVideoDataChange);this.onVideoDataChange(\"newdata\",W.getVideoData());this.hide()};\nX_V=function(W,Y,k){if(W.jL){W.jL.bZ();var P=W.jL.N,T=P.T,I=T.W;if(P.X!=null){var X=P.J;W.oQ=new g.z6(X.left-I.left,X.top-I.top)}I=W.lP()?Math.max(P.W,P.C):P.W;X={};T.volume!==null&&(X.volume=T.volume);T=W.wA(P);W.qF=P;W.xa(I,Y,k,!1,X,T,P.L)}};\ndo1=function(W,Y,k){var P;Fr(W.sP.get(),\"ads_qua\",\"cpn.\"+kW(W.layout.clientMetadata,\"metadata_type_content_cpn\")+\";acpn.\"+((P=DS(W.qq.get(),2))==null?void 0:P.clientPlaybackNonce)+\";qt.\"+Y+\";clr.\"+k)};\nxR=function(W,Y,k,P){this.durationMs=Y;this.triggeringLayoutId=k;this.triggerType=\"TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER\";this.triggerId=P||W(this.triggerType)};\ng.z$=function(W,Y,k,P){return new xn(g.cu[W]||0,g.cu[Y]||0,k,P)};\nGdd=function(W,Y){this.Sj=W;this.policy=Y;this.playbackRate=1};\nmod=function(W,Y,k,P){Y.durationMs=k;Y.vz=P;P={BK:fq(k,!0),L7:k,target:null};ce1(W,Y,P);cL(W,Y)&&W.app.D2().getCurrentTime()*1E3>k&&(Y=vX0(W,Y)/1E3,k=W.app.D2().getPlayerState(),Nb(W,Y,{},k,\"_update\"))};\nA6=function(W){this.W=W};\nHaF=function(W,Y,k){var P;if((P=Y.NV)!=null&&P.uV)try{var T,I=(T=W.cache)==null?void 0:R22(T,aa(W,Y),Y.NV.dC);return I?k?KN(W.logger,function(){return g.Pk(I,2)},\"a\"):I:void 0}catch(X){W.reportError(new Uo(23,\"RXO:read\",X))}};\nyZ7=function(W){return W===null?\"null\":W===void 0?\"undefined\":W};\nFp=function(W){return W.W.c};\nDo5=function(W,Y,k,P,T){sJ.call(this,\"shopping-companion\",W,Y,k,P,T)};\ngPF=function(W,Y){W.attestationResponse&&zS(W).then(function(k){k=k||{};k.method=\"POST\";k.postParams={atr:W.attestationResponse};W.TJ?W.OP?mr().sendAndWrite(Y,k):mr().sendThenWrite(Y,k):g.DV(Y,k)})};\nvs0=function(W,Y){return FC6(W,f_(Y,ZE,1,O$),f_(Y,UH,2,O$),G4(Y,3,void 0,O$))};\ntp1=function(W){var Y=W.webPlayerContextConfig.trustedJsUrl;return Y?Aa(Y).toString():W.webPlayerContextConfig.jsUrl};\ng.QA=function(W,Y){g.JJ.call(this,W,Y);wov(this);V3(this,\"addEventListener\",this.O_);V3(this,\"removeEventListener\",this.fmz);V3(this,\"cueVideoByPlayerVars\",this.wg);V3(this,\"loadVideoByPlayerVars\",this.p6S);V3(this,\"preloadVideoByPlayerVars\",this.g81);V3(this,\"loadVideoById\",this.Vo);V3(this,\"loadVideoByUrl\",this.rG);V3(this,\"playVideo\",this.xW);V3(this,\"loadPlaylist\",this.loadPlaylist);V3(this,\"nextVideo\",this.nextVideo);V3(this,\"previousVideo\",this.previousVideo);V3(this,\"playVideoAt\",this.playVideoAt);\nV3(this,\"getVideoData\",this.Oh);V3(this,\"seekBy\",this.zng);V3(this,\"seekTo\",this.yDg);V3(this,\"showControls\",this.showControls);V3(this,\"hideControls\",this.hideControls);V3(this,\"cancelPlayback\",this.cancelPlayback);V3(this,\"getProgressState\",this.getProgressState);V3(this,\"isInline\",this.isInline);V3(this,\"setInline\",this.setInline);V3(this,\"setLoopVideo\",this.setLoopVideo);V3(this,\"getLoopVideo\",this.getLoopVideo);V3(this,\"getVideoContentRect\",this.getVideoContentRect);V3(this,\"getVideoStats\",this.D3);\nV3(this,\"getCurrentTime\",this.Ti);V3(this,\"getDuration\",this.Lk);V3(this,\"getPlayerState\",this.qn);V3(this,\"getVideoLoadedFraction\",this.fO);V3(this,\"mute\",this.yv);V3(this,\"unMute\",this.SQ);V3(this,\"setVolume\",this.RF);V3(this,\"loadModule\",this.loadModule);V3(this,\"unloadModule\",this.unloadModule);V3(this,\"getOption\",this.Tp);V3(this,\"getOptions\",this.getOptions);V3(this,\"setOption\",this.setOption);V3(this,\"addCueRange\",this.addCueRange);V3(this,\"getDebugText\",this.getDebugText);V3(this,\"getStoryboardFormat\",\nthis.getStoryboardFormat);V3(this,\"toggleFullscreen\",this.toggleFullscreen);V3(this,\"isFullscreen\",this.isFullscreen);V3(this,\"getPlayerSize\",this.getPlayerSize);V3(this,\"toggleSubtitles\",this.toggleSubtitles);V3(this,\"setCenterCrop\",this.setCenterCrop);V3(this,\"setFauxFullscreen\",this.setFauxFullscreen);V3(this,\"setSizeStyle\",this.setSizeStyle);V3(this,\"handleGlobalKeyDown\",this.handleGlobalKeyDown);V3(this,\"handleGlobalKeyUp\",this.handleGlobalKeyUp);Qu0(this)};\ny5C=function(W){vh=W};\nGn=function(W){if(W.indexOf(\":\")>=0)throw Error(\"Database name cannot contain ':'\");};\nD0=function(W,Y,k,P,T,I,X,h){g.D.call(this);this.K=W;this.W=Y;this.J=k;this.P6=P;this.T=T;this.qq=I;this.Cg=X;this.CH=h};\nxQ2=function(){if(g.dS(\"embeds_web_enable_cookie_detection_fix\")){if(!g.hL.navigator.cookieEnabled)return!1}else if(!UJ.isEnabled())return!1;if(!UJ.isEmpty())return!0;g.dS(\"embeds_web_enable_cookie_detection_fix\")?UJ.set(\"TESTCOOKIESENABLED\",\"1\",{k_:60,LB1:\"none\",secure:!0}):UJ.set(\"TESTCOOKIESENABLED\",\"1\",{k_:60});if(UJ.get(\"TESTCOOKIESENABLED\")!==\"1\")return!1;UJ.remove(\"TESTCOOKIESENABLED\");return!0};\nLZ=function(W,Y){Y.name in W.L||(W.L[Y.name]=ZyV(W,Y));return W.L[Y.name]};\ny9C=function(W){RP[W]=W in RP?RP[W]+1:0;return RP[W]};\nedV=function(W){W.C&&W.OP.element.removeChild(W.C.element);W.C=void 0};\ntK=function(W,Y){for(var k=W.search(Ka),P=0,T,I=[];(T=EY(W,P,Y,k))>=0;)I.push(W.substring(P,T)),P=Math.min(W.indexOf(\"&\",T)+1||k,k);I.push(W.slice(P));return I.join(\"\").replace(oP0,\"$1\")};\noV5=function(W){var Y=\"true\".toString(),k=[new L7q];if(k.length===0)throw Error(\"\");if(k.map(function(P){if(P instanceof L7q)P=P.W;else throw Error(\"\");return P}).every(function(P){return\"data-loaded\".indexOf(P)!==0}))throw Error('Attribute \"data-loaded\" does not match any of the allowed prefixes.');\nW.setAttribute(\"data-loaded\",Y)};\nw36=function(W){if(W!==cl)throw Error(\"illegal external caller\");};\nvP0=function(W,Y,k,P,T){VV.call(this,W,Y,k,P,T,{S:\"div\",j:\"ytp-display-underlay-text-grid-cards\",B:[{S:\"div\",j:\"ytp-display-underlay-text-grid-cards__content_container\",B:[{S:\"div\",j:\"ytp-display-underlay-text-grid-cards__content_container__header\",B:[{S:\"div\",j:\"ytp-display-underlay-text-grid-cards__content_container__header__ad_avatar\"},{S:\"div\",j:\"ytp-display-underlay-text-grid-cards__content_container__header__headline\"}]},{S:\"div\",j:\"ytp-display-underlay-text-grid-cards__content_container__ad_grid_card_collection\"},\n{S:\"div\",j:\"ytp-display-underlay-text-grid-cards__content_container__ad_button\"}]}]},\"display-underlay-text-grid-cards\");this.adGridCardCollection=new Nf(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.adGridCardCollection);this.adGridCardCollection.S1(this.J5(\"ytp-display-underlay-text-grid-cards__content_container__ad_grid_card_collection\"));this.adButton=new MI(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.adButton);this.adButton.S1(this.J5(\"ytp-display-underlay-text-grid-cards__content_container__ad_button\"));\nthis.J=this.J5(\"ytp-display-underlay-text-grid-cards__content_container\");this.T=this.J5(\"ytp-display-underlay-text-grid-cards__content_container__header\")};\nWD=function(W,Y){for(var k in Y)if(aY(Y[k])){if(k in W&&!aY(W[k]))throw Error(\"Cannot merge an object into a non-object.\");k in W||(W[k]={});WD(W[k],Y[k])}else if(fQ(Y[k])){if(k in W&&!fQ(W[k]))throw Error(\"Cannot merge an array into a non-array.\");k in W||(W[k]=[]);p9F(W[k],Y[k])}else W[k]=Y[k];return W};\ng.df=function(W,Y){g.sq.call(this);this.z9=W||1;this.DG=Y||g.hL;this.xV=(0,g.xp)(this.EHr,this);this.FH=g.hQ()};\nCr1=function(){var W=[\"metadata_type_shopping_companion_carousel_renderer\",\"metadata_type_linked_player_bytes_layout_id\"];Nd().forEach(function(Y){W.push(Y)});\nreturn{ya:W,EV:[\"LAYOUT_TYPE_COMPANION_WITH_SHOPPING\"]}};\naK=function(W,Y){var k=W.D2();return Y===W.zn()&&W.Tj(Y)&&W.Tj(k)?k:Y};\ng.kc=function(W,Y,k){k=W.W4===null?W.ob.W4(Y,k,W.EP[0].type):W.W4;if(W.W){Y=k?iF(25,W.W,Y.Jo):W.W;var P=new V4(Y);P.get(\"alr\")||P.set(\"alr\",\"yes\");W.K&&LC2(P,W.K)}else/http[s]?:\\/\\//.test(W.K)?P=new V4(new g.uF(W.K)):(P=fx(W.ob,k,Y),W.K&&LC2(P,W.K));(Y=W.range)?P.set(\"range\",Y.toString()):W.EP[0].W.Rp()&&W.EP.length===1&&W.EP[0].K&&P.set(\"range\",W.EP[0].K+\"-\");W.requestId&&P.set(\"req_id\",W.requestId);isNaN(W.Cs)||P.set(\"headm\",W.Cs.toString());isNaN(W.C)||P.set(\"mffa\",W.C+\"ms\");W.urlParams&&g.E2(W.urlParams,\nfunction(T,I){P.set(I,T)});\nreturn P};\ng.hN=function(W){return W.T&&g.vL(W)&&!vR(W)&&!W.X};\nEPd=function(W,Y,k,P){var T=k,I=D2(Y.width,Y.height);W.Bf?T=kI?{width:Y.width,height:Y.width/T,aspectRatio:T}:TT?W.width=W.height*k:k=0&&(X={},I.publish(\"clienttemp\",\"resetMflIndex\",(X[P?\n\"v\":\"a\"]=B,X),!1));I=h;Uo6(W.qx,Y,P,I);if(W.policy.bz&&W.policy.K&&(B=Y.w5||null)){var t;X=(t=W.K)==null?void 0:lj7(t).requestNumber;var q;(q=W.gD)==null||Pl1(q,B,X,Y.t5)}W.J.Xf(Y,k,P,T);Y.t5===W.H6.UU&&I&&kV(W.H6)&&Y.startTime>kV(W.H6)&&(W.H6.gD=Y.startTime+(isNaN(W.timestampOffset)?0:W.timestampOffset),W.qx.isSeeking()&&W.qx.targetTime=0)for(var T=P;T<=P+1&&T=I.pH-k&&Y<=I.vz+k)return I}};\nqt=function(W,Y,k){W.W==0&&(W===k&&(Y=3,k=new TypeError(\"Promise cannot resolve to itself\")),W.W=1,V0z(k,W.P_5,W.wK5,W)||(W.G=k,W.W=Y,W.J=null,WGq(W),Y!=3||k instanceof FT||Zcv(W,k)))};\ng.T$=function(W,Y){if(W.classList)Array.prototype.forEach.call(Y,function(T){g.N6(W,T)});\nelse{var k={};Array.prototype.forEach.call(Bw(W),function(T){k[T]=!0});\nArray.prototype.forEach.call(Y,function(T){k[T]=!0});\nY=\"\";for(var P in k)Y+=Y.length>0?\" \"+P:P;g.h8(W,Y)}};\nlm=function(W,Y,k){k!==void 0&&Uh(W,Y,k?1:0)};\nNG=function(W,Y){g.c.call(this,{S:\"div\",j:\"ytp-fine-scrubbing\",B:[{S:\"div\",j:\"ytp-fine-scrubbing-draggable\",B:[{S:\"div\",j:\"ytp-fine-scrubbing-thumbnails\",D:{tabindex:\"0\",role:\"slider\",type:\"range\",\"aria-label\":\"Click or scroll the panel for the precise seeking.\",\"aria-valuemin\":\"{{ariamin}}\",\"aria-valuemax\":\"{{ariamax}}\",\"aria-valuenow\":\"{{arianow}}\",\"aria-valuetext\":\"{{arianowtext}}\"}}]},{S:\"div\",D:{\"aria-hidden\":\"true\"},j:\"ytp-fine-scrubbing-cursor\"},{S:\"div\",j:\"ytp-fine-scrubbing-seek-time\",D:{\"aria-hidden\":\"true\"},\nv6:\"{{seekTime}}\"},{S:\"div\",j:\"ytp-fine-scrubbing-play\",B:[W.U(\"delhi_modern_web_player_icons\")?pY():xk()],D:{title:\"Play from this position\",role:\"button\"}},{S:\"div\",j:\"ytp-fine-scrubbing-dismiss\",B:[g.xe()],D:{title:\"Exit precise seeking\",role:\"button\"}}]});var k=this;this.api=W;this.C=this.J5(\"ytp-fine-scrubbing-thumbnails\");this.dismissButton=this.J5(\"ytp-fine-scrubbing-dismiss\");this.wD=this.J5(\"ytp-fine-scrubbing-draggable\");this.playButton=this.J5(\"ytp-fine-scrubbing-play\");this.thumbnails=\n[];this.K=[];this.UP=this.W=0;this.OP=void 0;this.A5=NaN;this.Fr=this.N=this.J=this.G=0;this.T=[];this.interval=this.frameCount=0;this.X=160;this.scale=1;this.GJ=0;this.isEnabled=this.TJ=!1;ol(this,this.api.getCurrentTime());this.addOnDisposeCallback(g.nt(Y,this.dismissButton));this.addOnDisposeCallback(g.nt(Y,this.playButton));this.gD=new g.C2(this.wD,!0);this.gD.subscribe(\"dragstart\",this.T$,this);this.gD.subscribe(\"dragmove\",this.pA,this);this.gD.subscribe(\"dragend\",this.fM,this);this.Z(W,\"SEEK_COMPLETE\",\nthis.Db);W.U(\"web_fix_fine_scrubbing_false_play\")&&this.Z(W,\"rootnodemousedown\",function(P){k.Kg=P});\nthis.C.addEventListener(\"keydown\",function(){});\ng.m(this,this.gD);this.api.createClientVe(this.element,this,153154);this.api.createClientVe(this.C,this,152789);this.api.createClientVe(this.dismissButton,this,153156);this.api.createClientVe(this.playButton,this,153155)};\nWz=function(W,Y){YH.call(this,W,Y);this.options=Y;Gn(W)};\nWr7=function(W,Y){Y.rO&&W.rO.push.apply(W.rO,Y.rO);Y.pC&&W.pC.push.apply(W.pC,Y.pC)};\nra=function(W,Y,k){return Y>=15E3?!0:W.Q5?(k===void 0?0:k)?!0:W.J>0?Y>=W.J/2:W.TJ>0?Y>=W.TJ:!1:!1};\nbGd=function(W){switch(W){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;default:QL(W,\"unknown transitionReason\")}};\nc5d=function(W){W.provider.videoData.Cn&&wq(W,\"prefetch\");W.provider.videoData.xm&&W.y5(\"reload\",{r:W.provider.videoData.reloadReason,ct:W.provider.videoData.xm});W.provider.videoData.e1&&wq(W,\"monitor\");W.provider.videoData.isLivePlayback&&wq(W,\"live\");KB&&wq(W,\"streaming\");W.provider.videoData.ws&&W.y5(\"ctrl\",{mode:W.provider.videoData.ws},!0);if(W.provider.videoData.eA){var Y=W.provider.videoData.eA.replace(/,/g,\"_\");W.y5(\"ytp\",{type:Y},!0)}W.provider.videoData.hw&&(Y=W.provider.videoData.hw.replace(/,/g,\n\".\"),W.y5(\"ytrexp\",{ids:Y},!0));Y=W.provider.videoData;var k=W.provider.zJ.U(\"enable_white_noise\")||W.provider.zJ.U(\"enable_webgl_noop\"),P=g.Pq(Y)||g.z8(Y)||g.dz(Y)||g.VZ(Y);(k||P)&&(k=(0,g.Yq)())&&W.W.set(\"gpu\",[k]);D3(W.provider.videoData)&&g.xd(W,g.Jj(W.provider),\"dt\",[\"1\"]);Y.cotn&&!D3(Y)&&W.f3(!0);W.provider.zJ.OR()&&(Y=(0,g.lj)()-W.provider.zJ.fN,W.y5(\"playerage\",{secs:Math.pow(1.6,Math.round(Math.log(Y/1E3)/Math.log(1.6))).toFixed()}));W.T=!0;W.Kg=g.mW(function(){W.reportStats()},1E4)};\nxoV=function(W,Y,k){this.label=W;this.type=Y;this.value=k;this.duration=0;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()};\nA8z=function(W){var Y=new zbv,k={},P=(k[\"X-Goog-Api-Key\"]=\"AIzaSyDyT5W0Jh49F30Pqqtyfdf7pDLFKLJoAnw\",k);return new $T(Y,W,function(){return P})};\nfj7=function(W){return{downloadedEndTime:-1,maxKnownEndTime:Math.round(W.W.index.UI()),averageByteRate:Math.round(W.W.info.Do)}};\neC=function(W,Y,k){if(!isNaN(k.du)){var P=k.du;k.KMath.max(1E4,W.J/3)?0:Y);var k=W.G(W)||{};k=k.currentTime!==void 0?k.currentTime:W.A5;var P=k-W.A5,T=0;P>=0?(W.Kg+=Y,W.OP+=Math.max(Y-P,0),T=Math.min(P,W.Kg)):W.GJ+=Math.abs(P);P!=0&&(W.Kg=0);W.V5==-1&&P>0&&(W.V5=yk>=0?S9()-yk:-1);W.A5=k;return T};\ng.OQ=function(W){return\"crn_\"+W};\ng.o$z=function(W){var Y=W.vssId;W.translationLanguage&&Y&&(Y=\"t\"+Y+\".\"+g.$q(W));return Y};\nq71=function(W){return g.KC(W.W,function(Y){return Y.info.video?Y.info.video.projectionType===\"EQUIRECTANGULAR_THREED_TOP_BOTTOM\":!1})};\najS=function(){};\nW0X=function(){this.state=1;this.W5=null;this.xf=void 0};\nD6=function(W){g.D.call(this);var Y=this;this.W5=W;this.J=\"keydown keypress keyup input focusin focusout select copy cut paste change click dblclick auxclick pointerover pointerdown pointerup pointermove pointerout dragenter dragleave drag dragend mouseover mousedown mouseup mousemove mouseout touchstart touchend touchmove wheel\".split(\" \");this.K=void 0;this.uR=this.W5.p;this.T=this.Vv.bind(this);this.addOnDisposeCallback(function(){return void JL2(Y)})};\ng.fl0=function(W){return W.t9()&&w9(W)};\nZ6=function(W,Y,k){k=k===void 0?null:k;var P=P===void 0?0:P;return new MA(g.je(W.zJ.experiments,Y)||P,k?W.zJ.U(k):!1)};\neS=function(W){var Y;return Rb(W)||ok((Y=W.T.nI())==null?void 0:Y.info)};\nY_v=function(W,Y){var k=rY;g.Am(W,function(P,T){return k(Y(P),Y(T))})};\nGsz=function(W,Y){var k,P=W.X;if(k=ds0(P))k.startSecs+=W.TJ;return new kq(P.bv,W.TJ,Y?P.Lh:W.A5,P.ingestionTime,\"sq/\"+P.bv,void 0,void 0,Y,k)};\nTH=function(){this.X=null;this.G=[];this.T=this.K=this.J=this.W=this.N=0;this.C=null;this.L=0};\ng.Nk=function(W,Y){W.X=0;W.C=Y||0};\nGO1=function(W){W.L||(W.L=g8());try{return(new URL(W.L)).toString()}catch(Y){return(new URL(W.L,op().location.origin)).toString()}};\nRn=function(W,Y,k,P,T){T=T===void 0?null:T;this.J=W;this.sP=Y;this.layoutId=P;this.T=0;this.X=null;this.C=void 0;this.W=new Set;this.K=Array.from(this.J.get(\"progress\")||[]);this.K.sort(function(I,X){return(I.offsetMilliseconds||0)-(X.offsetMilliseconds||0)});\nthis.G={adPlacementConfig:k,AK:T}};\n$rS=function(W,Y){W.startSec+=Y;W.endSec+=Y};\nkPv=function(W,Y){Y=Y===void 0?!1:Y;if(AbV(W)){W.policy.X&&W.loader.y5(\"sabrcrq\",{create:1});var k=new we(0,W.H6.N,W);W.policy.Dm>0&&W.T++;Y=Dgd(W,k,Y);W.W.push(Y);var P;(P=W.UP)==null||z55(P,W.H6.N)}};\nPyd=function(W,Y,k,P,T){sJ.call(this,\"ads-engagement-panel-layout\",W,Y,k,P,T)};\ng.ML=function(W,Y,k){k?g.N6(W,Y):g.Sr(W,Y)};\nCj=function(W,Y,k,P,T,I){var X={S:\"div\",j:\"ytp-panel\"};if(k){var h=\"ytp-panel-back-button\";var B=\"ytp-panel-title\";var O={S:\"div\",j:\"ytp-panel-header\",B:[{S:\"div\",Ya:[\"ytp-panel-back-button-container\"],B:[{D:{\"aria-label\":\"Back to previous menu\"},S:\"button\",Ya:[\"ytp-button\",h]}]},{S:\"span\",Ya:[B],D:W.U(\"web_enable_a11y_header_role_in_panel\")?{role:\"heading\",\"aria-level\":\"2\"}:void 0,B:[k]}]};if(T){var u=\"ytp-panel-options\";O.B.push({S:\"button\",Ya:[\"ytp-button\",u],B:[P]})}X.B=[O]}P=!1;I&&(I={S:\"div\",\nj:\"ytp-panel-footer\",B:[I]},P=!0,X.B?X.B.push(I):X.B=[I]);g.pk.call(this,X);this.content=Y;P&&X.B?Y.S1(this.element,X.B.length-1):Y.S1(this.element);this.rA=!1;this.VB=P;k&&(this.backButton=this.J5(h),k=this.J5(B),this.Z(this.backButton,\"click\",this.Ob),this.Z(k,\"click\",this.Ob),this.rA=!0,T&&this.Z(this.J5(u),\"click\",T));Y.subscribe(\"size-change\",this.G0,this);this.Z(W,\"fullscreentoggled\",this.G0);this.Y=W};\nqL2=function(W){if(W[0]===\"-\")return!1;var Y=W.length;return Y<20?!0:Y===20&&Number(W.substring(0,6))<184467};\nTQS=function(W,Y){if(W.W<7){var k=W.data,P=W.K;P>k.length&&(W.error=!0);W.register|=(k[P+1]<<8)+k[P]<=0)return k86(W,k&15),k>>4;for(k86(W,7);k<0;)k=Y[d_(W,1)-k];return k>>4};\nK1=function(W,Y){Y+=W.RA();var k;if(W.playback.getVideoData().Xj()){a:{var P=Y*1E3;W=g.e(W.W.K);for(k=W.next();!k.done;k=W.next()){k=k.value;var T=k.W$?k.W$*1E3:k.pH;if(P>=k.pH-1E3&&P<=T+k.durationMs+1E3){P=k;break a}}P=void 0}k={qS:P,cS:Y}}else k=Oh(W,Y),((P=k)==null?0:P.qS)||(k=Oh(W,Y,1));var I;return(I=k)==null?void 0:I.qS};\njYX=function(W){return wo(W).then(function(Y){return Y?new NJq(W,Y):null})};\nKi=function(W){return new Uint8Array(Nn(W)||0)};\ng.Pq=function(W){return!!W.W&&dZX(W.W)};\njSd=function(){this.T=[];this.W=null;this.K={};this.J={}};\nvF=function(W){g.D.call(this);this.app=W;this.C=this.T=this.K=this.W=null;this.J=1;this.events=new g.x5(this);this.events.Z(this.app.Ii,g.ut(\"gaplessshortslooprange\"),this.L);g.m(this,this.events)};\nRt=function(W){if(!W.nextVideo||!W.policy.T)if(W.W.isLocked())W.nextVideo=W.W.W<=360?W.H6.W[W.T[0].id]:W.H6.W[g.wE(W.T).id],W.logger.debug(function(){return\"Select max fmt: \"+dr(W.nextVideo.info)});\nelse{for(var Y=Math.min(W.L,W.T.length-1),k=rr(W.wD),P=AL(W,W.K.info),T=k/W.policy.Kg-P;Y>0&&!(AL(W,W.T[Y])<=T);Y--);for(var I=k/W.policy.L-P;Y=I);Y++);W.nextVideo=W.H6.W[W.T[Y].id];W.L!==Y&&W.logger.info(function(){return\"Adapt to: \"+dr(W.nextVideo.info)+\", bandwidth: \"+k.toFixed(0)+\", bandwidth to downgrade: \"+T.toFixed(0)+\", bandwidth to upgrade: \"+I.toFixed(0)+\", constraint: \"+B6(W.W)});\nW.L=Y}};\nI80=function(W,Y){W.K=Y;return W};\nKOd=function(W){this.C=W;this.J=this.K=0;this.T=new Pz(50)};\nXfV=function(W,Y){var k=W.W;Y=Math.min(Y,k.K.totalLength);if(Y===k.K.totalLength)return W.W=null,k;k=AuV(k,Y);W.W=k[1];return k[0]};\nS_d=function(W,Y,k){return k.renderingContent===void 0&&k.layoutId!==YM(W,Y,k)?(EF(\"onSkipWithAdPodSkipTargetRequested for a PlayerBytes layout that is not currently active\",W.jr(),W.Z2(),{requestingSlot:Y,requestingLayout:k}),!1):!0};\neH7=function(W){return am.includes(\"en\")?W?YR():{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M6,14v-4c0-0.55,.45-1,1-1h3c0.55,0,1,.45,1,1v1H9.5v-0.5h-2v3h2V13H11v1c0,.55-0.45,1-1,1H7C6.45,15,6,14.55,6,14z M14,15h3c0.55,0,1-0.45,1-1v-1h-1.5v0.5h-2v-3h2V11H18v-1c0-0.55-0.45-1-1-1h-3c-0.55,0-1,.45-1,1v4C13,14.55,13.45,15,14,15z M20,4H4v16h16V4 M21,3v18H3V3.01C3,3,3,3,3.01,3H21L21,3z\",fill:\"white\"}}]}:W?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",\nwidth:\"24\"},B:[{S:\"path\",D:{d:\"M21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V19L1.01 19.20C1.05 19.66 1.26 20.08 1.58 20.41C1.91 20.73 2.33 20.94 2.79 20.99L3 21H21L21.20 20.98C21.66 20.94 22.08 20.73 22.41 20.41C22.73 20.08 22.94 19.66 22.99 19.20L23 19V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01ZM3 19V5H21V19H3ZM8 11H6C5.73 11 5.48 11.10 5.29 11.29C5.10 11.48 5 11.73 5 12C5 12.26 5.10 12.51 5.29 12.70C5.48 12.89 5.73 13 6 13H8C8.26 13 8.51 12.89 8.70 12.70C8.89 12.51 9 12.26 9 12C9 11.73 8.89 11.48 8.70 11.29C8.51 11.10 8.26 11 8 11ZM18 11H12C11.73 11 11.48 11.10 11.29 11.29C11.10 11.48 11 11.73 11 12C11 12.26 11.10 12.51 11.29 12.70C11.48 12.89 11.73 13 12 13H18C18.26 13 18.51 12.89 18.70 12.70C18.89 12.51 19 12.26 19 12C19 11.73 18.89 11.48 18.70 11.29C18.51 11.10 18.26 11 18 11ZM18 15H16C15.73 15 15.48 15.10 15.29 15.29C15.10 15.48 15 15.73 15 16C15 16.26 15.10 16.51 15.29 16.70C15.48 16.89 15.73 17 16 17H18C18.26 17 18.51 16.89 18.70 16.70C18.89 16.51 19 16.26 19 16C19 15.73 18.89 15.48 18.70 15.29C18.51 15.10 18.26 15 18 15ZM12 15H6C5.73 15 5.48 15.10 5.29 15.29C5.10 15.48 5 15.73 5 16C5 16.26 5.10 16.51 5.29 16.70C5.48 16.89 5.73 17 6 17H12C12.26 17 12.51 16.89 12.70 16.70C12.89 16.51 13 16.26 13 16C13 15.73 12.89 15.48 12.70 15.29C12.51 15.10 12.26 15 12 15Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M5,11h2v2H5V11z M15,15H5v2h10V15z M19,15h-2v2h2V15z M19,11H9v2h10V11z M22,6H2v14h20V6z M3,7h18v12H3V7z\",fill:\"white\"}}]}};\nC_X=function(W,Y){if(W.playerType===2||W.zJ.Xo)Y.h1=!0;var k=IbC(Y.jW,Y.SB,W.zJ.T,W.zJ.L);k&&(Y.adFormat=k);W.playerType===2&&(Y.zv=!0);if(W.isFullscreen()||W.zJ.T)k=g.GK(\"yt-player-autonavstate\"),Y.autonavState=k||(W.zJ.T?2:W.videoData.autonavState);Y.endSeconds&&Y.endSeconds>Y.startSeconds&&Hs(W,Y.endSeconds)};\nTF=function(W,Y){if(W.heightPx===-1){var k=null;try{k=g.sF(\"CANVAS\"),W.K=k.getContext(\"2d\")}catch(h){}if(W.K){var P=W.W*W.sampleCount;W.J=k;W.J.width=P;W.J.style.width=P+\"px\";W.element.appendChild(W.J)}else for(W.sampleCount=Math.floor(W.sampleCount/4),W.W*=4,k=0;k1?2:1,W.J.height=W.heightPx*k,W.J.style.height=\nW.heightPx+\"px\",W.K.scale(1,k)));Y=g.e(Y);for(P=Y.next();!P.done;P=Y.next()){k=W;var T=W.index,I=P.value;for(P=0;P+22?W.W.statusText:\"\"}catch(k){Y=\"\"}W.T=Y+\" [\"+W.getStatus()+\"]\";gDF(W)}}finally{sY(W)}}};\ng.Ic=function(W,Y){var k=0;W=W2(String(W)).split(\".\");Y=W2(String(Y)).split(\".\");for(var P=Math.max(W.length,Y.length),T=0;k==0&&T=0&&Y.push(k);return parseFloat(Y.join(\".\"))};\nIL=function(W,Y){return d3(Yn(W,Y,void 0,Mg))};\ng.eh=function(W,Y,k,P,T){function I(){}\nT=T===void 0?{Zo:{identity:fu}}:T;var X=X===void 0?!0:X;I=gGv(qiF(k));Y.context||(Y.context=g.Fx(P,X));return new g.JL(function(h){var B,O,u,Z,M;return g.v(function(t){if(t.W==1)return B=mR(k),O=Ih(B)?\"same-origin\":\"cors\",W.W.eJ?(u=y$0(W,T,O),t.oi(2)):g.L(t,iA2(W,T,O),3);t.W!=2&&(u=t.K);Z=sc0(mR(k));M={input:Z,sM:Xb(Z),zX:Y,config:T};h(ZYd(W,M,u,I));g.I_(t)})})};\nsS2=function(W,Y,k,P,T){T=T===void 0?!1:T;var I=\"https://youtubei.googleapis.com/youtubei/\"+Y.Wu.innertubeApiVersion+\"/player\",X=[{name:\"Content-Type\",value:\"application/json\"}];P&&X.push({name:\"Authorization\",value:\"Bearer \"+P});X.push({name:\"User-Agent\",value:g.Ed()});g.o_(\"EOM_VISITOR_DATA\")?X.push({name:\"X-Goog-EOM-Visitor-Id\",value:g.o_(\"EOM_VISITOR_DATA\")}):(k=k.visitorData||g.o_(\"VISITOR_DATA\"))&&X.push({name:\"X-Goog-Visitor-Id\",value:k});(k=g.o_(\"SERIALIZED_LAVA_DEVICE_CONTEXT\"))&&X.push({name:\"X-YouTube-Lava-Device-Context\",\nvalue:k});(Y=bG(Y.experiments,\"debug_sherlog_username\"))&&X.push({name:\"X-Youtube-Sherlog-Username\",value:Y});W=yQ(JSON.stringify(W));return{url:I,o$:X,postBody:W,ON1:T,po:T}};\nXq=function(W,Y){gm.call(this,\"Autoplay\",g.po.Jz);this.Y=W;this.Mq=Y;this.W=!1;this.K=[];this.Z(W,\"presentingplayerstatechange\",this.X5);this.subscribe(\"select\",this.onSelect,this);W.createClientVe(this.element,this,113682);this.X5()};\nHg=function(W){this.W=W};\neI=function(W,Y,k){ys(W.C,Y,k===void 0?!1:k);W.N=-1;DT(W,W.W)};\nUVd=function(W){var Y=W.layoutId,k=W.k$,P=W.AD;W.Nh&&(W={},Mb(P,\"sleo\",(W.xc=Y,W.is=k,W.ctp=qb(Y),W)),LEv(P))};\ng.Iv=function(W,Y){W.isActive()||W.start(Y)};\nfa=function(W){this.W=[];if(W)a:{if(W instanceof fa){var Y=W.dU();W=W.F7();if(this.W.length<=0){for(var k=this.W,P=0;P.02;if((I===h||I>h&&I>W.rD)&&B){P=Math.max(.95,Math.min(1.05,(k-(X-T))/k));if(g.MK(Y.info.W.info))cAz(g.tB(Y),P);else if(Y.info.W.info.pN()&&(I=T-X,!g.MK(Y.info.W.info)&&(Y.info.W.info.pN(),P=new qK(g.tB(Y)),h=Y.C?P:new qK(new DataView(Y.info.W.W.buffer)),OH(Y,!0)))){var O=\nI*1E3,u=fn(h);h=P.pos;P.pos=0;if(P.W.getUint8(P.pos)===160||Fc(P))if(NR(P,160))if(ce(P,!0),NR(P,155)){if(I=P.pos,B=ce(P,!0),P.pos=I,O=O*1E9/u,u=b0(P),O=u+Math.max(-u*.7,Math.min(u,O)),O=Math.sign(O)*Math.floor(Math.abs(O)),!(Math.ceil(Math.log(O)/Math.log(2)/8)>B)){P.pos=I+1;for(I=B-1;I>=0;I--)P.W.setUint8(P.pos+I,O&255),O>>>=8;P.pos=h}}else P.pos=h;else P.pos=h;else P.pos=h}P=OH(Y,W.policy.KH);P=k-P}P&&Y.info.W.info.pN()&&W.loader.y5(\"webmDurationAdjustment\",{durationAdjustment:P,videoDrift:T+P,\naudioDrift:X})}return P};\nr05=function(W){var Y=W.api.getVideoData();W.button.b8(Y.dQ)};\nOEv=function(W,Y,k){W.jj.get(Y).onProgress=k};\nA00=function(){this.J=!1};\neJ=function(W){W=W===void 0?!1:W;var Y=X4([\"fullscreenElement\",\"webkitFullscreenElement\",\"mozFullScreenElement\",\"msFullscreenElement\"],document);if(W)for(;Y&&Y.shadowRoot;)Y=Y.shadowRoot.fullscreenElement;return Y?Y:null};\nOyd=function(W,Y){var k;return!((k=W.L)==null||!k.C.has(Y))||zO2(W.T,Y)};\nBW=function(W,Y){SX[Y]=SX[Y]||{count:0};var k=SX[Y];k.count++;k.time=(0,g.lj)();W.W||(W.W=g.iQ(0,function(){var P=(0,g.lj)(),T;for(T in SX)SX[T]&&P-SX[T].time>6E4&&delete SX[T];W&&(W.W=0)},5E3));\nreturn k.count>5?(k.count===6&&Math.random()*1E5<1&&(k=new g.M6(\"CSI data exceeded logging limit with key\",Y.split(\"_\")),Y.indexOf(\"plev\")>=0||g.Jx(k)),!0):!1};\ndrS=function(W,Y){Y=Y===void 0?\"\":Y;var k=Df(Y)||void 0;if(!Y||!k){var P;W.P7({adcfg:(P=Y)==null?void 0:P.length,dcfg:k==null?void 0:k.length})}return k};\nmr0=function(W){W.J.read().then(W.LO.bind(W)).catch(W.L2.bind(W))};\nEk=function(W,Y){Y.stack&&(W.stack+=\"\\n\"+Y.stack);return W};\nMA=function(W,Y){this.X=Y===void 0?!1:Y;this.W=this.K=this.J=this.startTimestamp=0;this.T=!1;this.C=Math.ceil(W/1E3)};\ndD1=function(){this.W=this.G=this.J=this.K=this.N=this.X=this.A5=this.L=this.C=this.T=!1};\nB67=function(W,Y,k){function P(){k(W.error);I()}\nfunction T(){Y(W.result);I()}\nfunction I(){try{W.removeEventListener(\"success\",T),W.removeEventListener(\"error\",P)}catch(X){}}\nW.addEventListener(\"success\",T);W.addEventListener(\"error\",P)};\niUC=function(W,Y,k){this.dP=Y;this.W=k;this.triggerType=\"TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE\";this.triggerId=W(this.triggerType)};\nqj=function(W,Y){W.K.add(Y)};\nEG=function(W,Y){var k=W.T.get(Y);if(k)return k;k=W.levels.length;for(var P=0;P=Y)return W.T.set(Y,P),P;W.T.set(Y,k-1);return k-1};\nwov=function(W){D4(W,\"getInternalApiInterface\",W.getInternalApiInterface);D4(W,\"addEventListener\",W.tO);D4(W,\"removeEventListener\",W.j6z);D4(W,\"cueVideoByPlayerVars\",W.P0);D4(W,\"loadVideoByPlayerVars\",W.J5J);D4(W,\"preloadVideoByPlayerVars\",W.CDD);D4(W,\"getAdState\",W.getAdState);D4(W,\"sendAbandonmentPing\",W.sendAbandonmentPing);D4(W,\"setLoopRange\",W.setLoopRange);D4(W,\"getLoopRange\",W.getLoopRange);D4(W,\"setAutonavState\",W.setAutonavState);D4(W,\"seekTo\",W.WWD);D4(W,\"seekBy\",W.MWP);D4(W,\"seekToLiveHead\",\nW.seekToLiveHead);D4(W,\"requestSeekToWallTimeSeconds\",W.requestSeekToWallTimeSeconds);D4(W,\"seekToStreamTime\",W.seekToStreamTime);D4(W,\"prefetchKeyPlay\",W.prefetchKeyPlay);D4(W,\"startSeekCsiAction\",W.startSeekCsiAction);D4(W,\"getStreamTimeOffset\",W.getStreamTimeOffset);D4(W,\"getVideoData\",W.Z3);D4(W,\"setInlinePreview\",W.setInlinePreview);D4(W,\"getAppState\",W.getAppState);D4(W,\"updateLastActiveTime\",W.updateLastActiveTime);D4(W,\"setBlackout\",W.setBlackout);D4(W,\"setUserEngagement\",W.setUserEngagement);\nD4(W,\"updateSubtitlesUserSettings\",W.updateSubtitlesUserSettings);D4(W,\"getPresentingPlayerType\",W.uJ);D4(W,\"canPlayType\",W.canPlayType);D4(W,\"updatePlaylist\",W.updatePlaylist);D4(W,\"updateVideoData\",W.updateVideoData);D4(W,\"updateEnvironmentData\",W.updateEnvironmentData);D4(W,\"sendVideoStatsEngageEvent\",W.vHJ);D4(W,\"productsInVideoVisibilityUpdated\",W.productsInVideoVisibilityUpdated);D4(W,\"setSafetyMode\",W.setSafetyMode);D4(W,\"isAtLiveHead\",function(Y){return W.isAtLiveHead(void 0,Y)});\nD4(W,\"getVideoAspectRatio\",W.getVideoAspectRatio);D4(W,\"getPreferredQuality\",W.getPreferredQuality);D4(W,\"getPlaybackQualityLabel\",W.getPlaybackQualityLabel);D4(W,\"setPlaybackQualityRange\",W.Ce1);D4(W,\"onAdUxClicked\",W.onAdUxClicked);D4(W,\"getFeedbackProductData\",W.getFeedbackProductData);D4(W,\"getStoryboardFrame\",W.getStoryboardFrame);D4(W,\"getStoryboardFrameIndex\",W.getStoryboardFrameIndex);D4(W,\"getStoryboardLevel\",W.getStoryboardLevel);D4(W,\"getNumberOfStoryboardLevels\",W.getNumberOfStoryboardLevels);\nD4(W,\"getCaptionWindowContainerId\",W.getCaptionWindowContainerId);D4(W,\"getAvailableQualityLabels\",W.getAvailableQualityLabels);D4(W,\"addCueRange\",W.addCueRange);D4(W,\"addUtcCueRange\",W.addUtcCueRange);D4(W,\"showAirplayPicker\",W.showAirplayPicker);D4(W,\"dispatchReduxAction\",W.dispatchReduxAction);D4(W,\"getPlayerResponse\",W.Xp);D4(W,\"getWatchNextResponse\",W.BG);D4(W,\"getHeartbeatResponse\",W.g$);D4(W,\"getCurrentTime\",W.Jk);D4(W,\"getDuration\",W.Lk);D4(W,\"getPlayerState\",W.getPlayerState);D4(W,\"getPlayerStateObject\",\nW.Fp);D4(W,\"getVideoLoadedFraction\",W.getVideoLoadedFraction);D4(W,\"getProgressState\",W.getProgressState);D4(W,\"getVolume\",W.getVolume);D4(W,\"setVolume\",W.RF);D4(W,\"isMuted\",W.isMuted);D4(W,\"mute\",W.yv);D4(W,\"unMute\",W.SQ);D4(W,\"loadModule\",W.loadModule);D4(W,\"unloadModule\",W.unloadModule);D4(W,\"getOption\",W.Tp);D4(W,\"getOptions\",W.getOptions);D4(W,\"setOption\",W.setOption);D4(W,\"loadVideoById\",W.Vo);D4(W,\"loadVideoByUrl\",W.rG);D4(W,\"playVideo\",W.xW);D4(W,\"loadPlaylist\",W.loadPlaylist);D4(W,\"nextVideo\",\nW.nextVideo);D4(W,\"previousVideo\",W.previousVideo);D4(W,\"playVideoAt\",W.playVideoAt);D4(W,\"getDebugText\",W.getDebugText);D4(W,\"getWebPlayerContextConfig\",W.getWebPlayerContextConfig);D4(W,\"notifyShortsAdSwipeEvent\",W.notifyShortsAdSwipeEvent);D4(W,\"getVideoContentRect\",W.getVideoContentRect);D4(W,\"setSqueezeback\",W.setSqueezeback);D4(W,\"toggleSubtitlesOn\",W.toggleSubtitlesOn);D4(W,\"isSubtitlesOn\",W.isSubtitlesOn);D4(W,\"reportPlaybackIssue\",W.reportPlaybackIssue);D4(W,\"setAutonav\",W.setAutonav);D4(W,\n\"isNotServable\",W.isNotServable);D4(W,\"channelSubscribed\",W.channelSubscribed);D4(W,\"channelUnsubscribed\",W.channelUnsubscribed);D4(W,\"togglePictureInPicture\",W.togglePictureInPicture);D4(W,\"supportsGaplessAudio\",W.supportsGaplessAudio);D4(W,\"supportsGaplessShorts\",W.supportsGaplessShorts);D4(W,\"enqueueVideoByPlayerVars\",function(Y){return void W.enqueueVideoByPlayerVars(Y)});\nD4(W,\"clearQueue\",W.clearQueue);D4(W,\"getAudioTrack\",W.Ak);D4(W,\"setAudioTrack\",W.PeS);D4(W,\"getAvailableAudioTracks\",W.vG);D4(W,\"getMaxPlaybackQuality\",W.getMaxPlaybackQuality);D4(W,\"getUserPlaybackQualityPreference\",W.getUserPlaybackQualityPreference);D4(W,\"getSubtitlesUserSettings\",W.getSubtitlesUserSettings);D4(W,\"resetSubtitlesUserSettings\",W.resetSubtitlesUserSettings);D4(W,\"setMinimized\",W.setMinimized);D4(W,\"setOverlayVisibility\",W.setOverlayVisibility);D4(W,\"confirmYpcRental\",W.confirmYpcRental);\nD4(W,\"queueNextVideo\",W.queueNextVideo);D4(W,\"handleExternalCall\",W.handleExternalCall);D4(W,\"logApiCall\",W.logApiCall);D4(W,\"isExternalMethodAvailable\",W.isExternalMethodAvailable);D4(W,\"setScreenLayer\",W.setScreenLayer);D4(W,\"getCurrentPlaylistSequence\",W.getCurrentPlaylistSequence);D4(W,\"getPlaylistSequenceForTime\",W.getPlaylistSequenceForTime);D4(W,\"shouldSendVisibilityState\",W.shouldSendVisibilityState);D4(W,\"syncVolume\",W.syncVolume);D4(W,\"highlightSettingsMenuItem\",W.highlightSettingsMenuItem);\nD4(W,\"openSettingsMenuItem\",W.openSettingsMenuItem);D4(W,\"getEmbeddedPlayerResponse\",W.getEmbeddedPlayerResponse);D4(W,\"getVisibilityState\",W.getVisibilityState);D4(W,\"isMutedByMutedAutoplay\",W.isMutedByMutedAutoplay);D4(W,\"isMutedByEmbedsMutedAutoplay\",W.isMutedByEmbedsMutedAutoplay);D4(W,\"setGlobalCrop\",W.setGlobalCrop);D4(W,\"setInternalSize\",W.setInternalSize);D4(W,\"setFauxFullscreen\",W.setFauxFullscreen);D4(W,\"setAppFullscreen\",W.setAppFullscreen)};\nDrd=function(W,Y){if(Y+1<=W.totalLength){var k=TJ(W,Y);k=k<128?1:k<192?2:k<224?3:k<240?4:5}else k=0;if(k<1||!(Y+k<=W.totalLength))return[-1,Y];if(k===1)W=TJ(W,Y++);else if(k===2)k=TJ(W,Y++),W=TJ(W,Y++),W=(k&63)+64*W;else if(k===3){k=TJ(W,Y++);var P=TJ(W,Y++);W=TJ(W,Y++);W=(k&31)+32*(P+256*W)}else if(k===4){k=TJ(W,Y++);P=TJ(W,Y++);var T=TJ(W,Y++);W=TJ(W,Y++);W=(k&15)+16*(P+256*(T+256*W))}else k=Y+1,W.focus(k),Tz(W,k,4)?W=VrV(W).getUint32(k-W.J,!0):(P=TJ(W,k+2)+256*TJ(W,k+3),W=TJ(W,k)+256*(TJ(W,k+1)+\n256*P)),Y+=5;return[W,Y]};\nZP0=function(W){if(!W.W){var Y=g.p8(function(P){var T=(0,g.lj)();P&&T<=631152E6&&(W.W6.y5(\"ytnerror\",{issue:28799967,value:\"\"+T}),T=(new Date).getTime()+2);return T},W.zJ.U(\"html5_validate_yt_now\")),k=Y();\nW.W=function(){return Math.round(Y()-k)/1E3};\nW.W6.SO()}return W.W};\ngYd=function(W){this.provider=W;this.G=!1;this.W=0;this.T=-1;this.PF=NaN;this.J=0;this.segments=[];this.X=this.C=0;this.previouslyEnded=!1;this.N=this.provider.W6.getVolume();this.L=this.provider.W6.isMuted()?1:0;this.K=sP(this.provider)};\npv6=function(W,Y){return VF(W,function(){var k=this;return function T(){var I,X,h,B,O,u,Z,M,t;return i9(T,function(q){switch(q.W){case 1:g.Nk(q,2);I=[];X=function(){return\"wasm.ps.c: [\"+I.map(function(G){return'\"'+G+'\"'}).join(\", \")+\"]\"};\nh=xev(Y);if(h.mod)return q.return(h.mod);if(!h.modP){q.oi(4);break}g.Ta(q,5);B=YS;return $S(q,kS(h.modP),7);case 7:return q.return(B(q.K));case 5:g.jh(q),I.unshift(\"pcm\");case 4:if((O=h.bin)||!h.binP){q.oi(8);break}g.Ta(q,9);u=YS;return $S(q,kS(h.binP),11);case 11:O=u(q.K);g.Vi(q,8);break;case 9:g.jh(q),I.unshift(\"pfb\");case 8:if(O){q.oi(12);break}g.Ta(q,13);Z=YS;return $S(q,kS(fs2(Y)),15);case 15:O=Z(q.K);g.Vi(q,12);break;case 13:throw g.jh(q),k.K=!1,I.unshift(\"fb\"),X();case 12:if(k.W)try{return q.return(new WebAssembly.Module(O))}catch(G){k.W=\n!1,I.unshift(\"cs\")}g.Ta(q,16);M=YS;return $S(q,kS(WebAssembly.compile(O)),18);case 18:return q.return(M(q.K));case 16:t=g.jh(q),tKS(Y),I.unshift(\"ca: \"+t);case 17:throw X();case 2:g.Ei(q),g.JB(q,0)}})}()})};\nQSF=function(W,Y,k){W.button==null?g.LH(Error(\"AdInfoHoverTextButton.button was expected but it was not created.\")):(W.K&&g.N6(W.K.element,\"ytp-ad-info-hover-text-short\"),(Y=Y&&Y.serviceEndpoint&&g.R(Y.serviceEndpoint,F0S)||null)?(sl5(W,Y,k),W.button.listen(\"click\",function(){W.W&&!W.W.v7&&(W.W.show(),wf5(W))})):W.button.listen(\"click\",function(){return wf5(W)}))};\nIa5=function(W,Y,k,P,T,I,X,h){var B=y07(),O=new ZS({veType:Y,youtubeData:I,jspbYoutubeData:void 0});I=U5({},B);T&&(I.cttAuthInfo=T);T={csn:B,pageVe:O.getAsJson()};g.dS(\"expectation_logging\")&&h&&h.screenCreatedLoggingExpectations&&(T.screenCreatedLoggingExpectations=h.screenCreatedLoggingExpectations);k&&k.visualElement?(T.implicitGesture={parentCsn:k.clientScreenNonce,gesturedVe:k.visualElement.getAsJson()},X&&(T.implicitGesture.gestureType=X)):k&&g.Jx(new g.M6(\"newScreen() parent element does not have a VE - rootVe\",\nY));P&&(T.cloneCsn=P);W?cJ(\"screenCreated\",T,W,I):g.qc(\"screenCreated\",T,I);GT(xLC,new yc(B));oT.clear();PM.clear();Sw7.clear();return B};\nlUv=function(W){W.logger.debug(\"start presenter playback\");var Y=W.getVideoData(),k=W.eL;T8(k)||k.uI();!Wg&&k.Y.U(\"html5_allow_asmjs\")&&fPS(k);Ix(k,\"embed\");Ix(k,\"kids\");Ix(k,\"remote\");Ix(k,\"miniplayer\");Ix(k,\"offline\");Ix(k,\"unplugged\");Ix(k,\"ypc\",!1,!0);k.Y.U(\"html5_ypc_clickwrap_module_refactor\")||Ix(k,\"ypc_clickwrap\",!1,!0);Ix(k,\"yto\",!1,!0);Ix(k,\"webgl\",!1,!0);Gz7(k)||(Ix(k,\"captions\",!0),Ix(k,\"endscreen\"),k.xv(),Ix(k,\"creatorendscreen\",!0));k.vn();k.Y.publish(\"modulesCreated\");W.Ii.publish(\"videoready\",\nY)};\nUP=function(W){switch(W){case \"AD_PLACEMENT_KIND_START\":return\"LATENCY_AD_BREAK_TYPE_PREROLL\";case \"AD_PLACEMENT_KIND_MILLISECONDS\":case \"AD_PLACEMENT_KIND_COMMAND_TRIGGERED\":case \"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED\":return\"LATENCY_AD_BREAK_TYPE_MIDROLL\";case \"AD_PLACEMENT_KIND_END\":return\"LATENCY_AD_BREAK_TYPE_POSTROLL\";default:return\"LATENCY_AD_BREAK_TYPE_UNKNOWN\"}};\ng.G0=function(W){W.W=Math.min(W.C,W.W*W.G);W.J=Math.min(W.C,W.W+(W.X?Math.round(W.X*(Math.random()-.5)*2*W.W):0));W.K++};\ng.UE=function(W){function Y(T){if(P.state.status===\"PENDING\"){P.state={status:\"REJECTED\",reason:T};T=g.e(P.K);for(var I=T.next();!I.done;I=T.next())I=I.value,I()}}\nfunction k(T){if(P.state.status===\"PENDING\"){P.state={status:\"FULFILLED\",value:T};T=g.e(P.W);for(var I=T.next();!I.done;I=T.next())I=I.value,I()}}\nvar P=this;this.state={status:\"PENDING\"};this.W=[];this.K=[];W=W.W;try{W(k,Y)}catch(T){Y(T)}};\n$DX=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);this.W=new qYV(this.api);g.m(this,this.W);this.events.Z(W,\"videodatachange\",function(){var k,P=(k=Y.api.getVideoData())==null?void 0:k.OZ;k=Y.W;if(P){var T,I,X=((T=P.title)==null?void 0:T.content)||\"\";T=((I=P.subtitle)==null?void 0:I.content)||\"\";k.update({title:X,subtitle:T});X=P.thumbnail;I=\"none\";if(X==null?0:X.sources){T=0;X=g.e(X.sources);for(var h=X.next();!h.done;h=X.next())h=h.value,h.width&&h.url&&h.width>\nT&&(T=h.width,I=\"url(\"+h.url+\")\")}k.background.style.backgroundImage=I;eOv(k,P.actionButtons||[]);k.show()}else k.hide()});\ng.Fw(this.api,this.W.element,4)};\noYS=function(W){switch(W.NI()){case 2:return\"progressive.net.retryexhausted\";case 3:return W=W.JD(),(W==null?0:W.includes(\"MEDIA_ERR_CAPABILITY_CHANGED\"))||RGz&&(W==null?0:W.includes(\"audio_output_change\"))?\"capability.changed\":\"fmt.decode\";case 4:return\"fmt.unplayable\";case 5:return\"drm.unavailable\";case 1E3:return\"capability.changed\";default:return null}};\nvY0=function(W){this.K=W;this.W=NaN;this.buffer=new Pz(100)};\n$Bq=function(W,Y,k){W=W.K();if(typeof W===\"function\"){var P={};var T={};P=Object.assign({},E9!==null&&(P.v=E9,P),(T.sv=\"968\",T.cb=Ui2,T.e=vmq(Y),T));T=Kh(k,Y,er());g.ux(P,T);k.RR[Y]=T;P=k.NS()==2?CDv(P).join(\"&\"):k.m1.W(P).W;try{return W(k.Pl,P,Y),0}catch(I){return 2}}else return 1};\nuE2=function(W,Y,k){W.policy.u0&&Dq(W.W6.getVideoData())?(W.W6.jo()||Om5(W,\"sepInit\",Y,k.info),rUF(W.W6,\"sie\")):Om5(W,\"sepInit\",Y,k.info)};\nhT=function(W,Y,k){F9.call(this,W,Y,k)};\nCyd=function(W,Y){this.layoutId=Y;this.triggerType=\"TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME\";this.triggerId=W(this.triggerType)};\ng.q9=function(W){var Y,k;if(!((Y=W.webPlayerContextConfig)==null?0:(k=Y.embedsHostFlags)==null?0:k.enableLiteUx)||W.f1||W.X||W.J||W.gD===\"EMBEDDED_PLAYER_MODE_PFP\")return\"EMBEDDED_PLAYER_LITE_MODE_NONE\";W=g.je(W.experiments,\"embeds_web_lite_mode\");return W===void 0?\"EMBEDDED_PLAYER_LITE_MODE_UNKNOWN\":W>=0&&W-1)throw Error(\"Deps cycle for: \"+Y);if(W.K.has(Y))return W.K.get(Y);if(!W.W.has(Y)){if(P)return;throw Error(\"No provider for: \"+Y);}P=W.W.get(Y);k.push(Y);if(P.jE!==void 0)var T=P.jE;else if(P.tsS)T=P[Bz]?ag5(W,P[Bz],k):[],T=P.tsS.apply(P,g.cp(T));else if(P.Uu){T=P.Uu;var I=T[Bz]?ag5(W,T[Bz],k):[];T=new (Function.prototype.bind.apply(T,[null].concat(g.cp(I))))}else throw Error(\"Could not resolve providers for: \"+Y);k.pop();P.e9g||W.K.set(Y,T);\nreturn T};\nSdv=function(W,Y,k){var P=Y.V();W.thirdParty||(W.thirdParty={});P.ancestorOrigins&&(W.thirdParty.embeddedPlayerContext=Object.assign({},W.thirdParty.embeddedPlayerContext,{ancestorOrigins:P.ancestorOrigins}));P.U(\"embeds_enable_autoplay_and_visibility_signals\")&&(P.ww!=null&&(W.thirdParty.embeddedPlayerContext=Object.assign({},W.thirdParty.embeddedPlayerContext,{visibilityFraction:Number(P.ww)})),P.Jj&&(W.thirdParty.embeddedPlayerContext=Object.assign({},W.thirdParty.embeddedPlayerContext,{visibilityFractionSource:P.Jj})),\nW.thirdParty.embeddedPlayerContext=Object.assign({},W.thirdParty.embeddedPlayerContext,{autoplayBrowserPolicy:fS(),autoplayIntended:O0(Y),autoplayStatus:f8d(Y,k)}))};\nPa=function(W,Y){this.K=W>>>0;this.W=Y>>>0};\njt6=function(W){var Y,k,P;return W.playerResponse&&W.playerResponse.paidContentOverlay&&W.playerResponse.paidContentOverlay.paidContentOverlayRenderer||g.R((Y=W.OP)==null?void 0:(k=Y.playerOverlays)==null?void 0:(P=k.playerOverlayRenderer)==null?void 0:P.playerDisclosure,V30)||null};\nNQq=function(W){var Y=W.W[W.W.length-1];if(Y){g.o9(W.element,W.maxWidth||\"100%\",W.maxHeight||\"100%\");g.KX(Y.element,\"width\",\"\");g.KX(Y.element,\"height\",\"\");g.KX(Y.element,\"maxWidth\",\"100%\");g.KX(Y.element,\"maxHeight\",\"100%\");g.KX(Y.content.element,\"height\",\"\");var k=g.$p(Y.element);k.width+=1;k.height+=1;g.KX(Y.element,\"width\",k.width+\"px\");g.KX(Y.element,\"height\",k.height+\"px\");g.KX(Y.element,\"maxWidth\",\"\");g.KX(Y.element,\"maxHeight\",\"\");var P=0;Y.rA&&(P=g.$p(Y.J5(\"ytp-panel-header\")).height);var T=\n0;Y.VB&&(T=Y.J5(\"ytp-panel-footer\"),g.KX(T,\"width\",k.width+\"px\"),T=g.$p(T).height);g.KX(Y.content.element,\"height\",k.height-P-T+\"px\");Y.element instanceof HTMLElement&&(P=Y.element,T=P.scrollWidth-P.clientWidth,P.offsetWidth-P.clientWidth>0&&T>0&&(k.width+=T,g.KX(Y.element,\"width\",k.width+\"px\")));W.size=k}};\na85=function(W,Y,k){if(!W.policy.C){W=Y.W.index;var P=Y.K.t5;W.di(P)||k&&k.t5===P?(Y.C=!W.di(P),Y.wD=!W.di(P)):(Y.C=!0,Y.wD=!0)}};\nq3=function(W,Y,k){Y=Y.layoutId;for(var P=[],T=g.e(W.Ym.values()),I=T.next();!I.done;I=T.next())if(I=I.value,I.trigger instanceof vq){var X;if(X=I.trigger.layoutId===Y){X=k;var h=qqd.get(I.category);X=h?h===X:!1}X&&P.push(I)}P.length&&P_(W.W(),P)};\ngn=function(W){return W.api.U(\"allow_autohide_on_paused_videos\")?!(W.K&-129):!W.K};\nZO=function(W){W.removeCueRange(W.S9);W.S9=null};\nWDd=function(W){W.T&&g.k7(W.T);W.C&&g.k7(W.C)};\nyB=function(W,Y,k,P){(P===void 0?0:P)>1?Y=Y.Xz:(k=u4(k,Yeq(W,W.W4(Y,k),Y)),Y=Math.max(W.C,k.timedOut)+Y.w3*(W.J-W.C)+.25*W.G,Y=Y>3?1E3*Math.pow(1.6,Y-3):0);return Y===0?!0:W.N+Y<(0,g.lj)()};\n$Jq=function(W,Y,k,P,T,I,X,h,B,O){if(DS(W.qq.get(),1).clientPlaybackNonce!==B)throw new l(\"Cannot register CueRange-based trigger for different content CPN\",{trigger:k});W.Ym.set(k.triggerId,{Id:new e4(Y,k,P,T),cueRangeId:I});W.wZ.get().addCueRange(I,X,h,O,W);as(W.context.P6.get())&&(B={},W.context.cU.P7(\"crr\",(B.ca=Y,B.tt=k.triggerType,B.st=P.slotType,B.lt=T==null?void 0:T.layoutType,B.cid=I,B.sm=X,B.em=h,B)))};\nkQ2=function(){if(g.dS(\"disable_biscotti_fetch_entirely_for_all_web_clients\"))return Error(\"Biscotti id fetching has been disabled entirely.\");if(!Fe())return Error(\"User has not consented - not fetching biscotti id.\");var W=g.o_(\"PLAYER_VARS\",{});if(g.JW(W,\"privembed\",!1)==\"1\")return Error(\"Biscotti ID is not available in private embed mode\");if(NLC(W))return Error(\"Biscotti id fetching has been disabled for pfl.\")};\nPLv=function(W,Y,k){W.W=\"The stream is broken @\"+W.K+\". Error: \"+k+\". With input:\\n\"+Y;throw Error(W.W);};\nDe1=function(W,Y,k,P,T){if(!a2(Y))return new l(\"Invalid PlayerBytesAdLayoutRenderer\");var I=g.R(Y.renderingContent,lo);if(!I||I.durationMilliseconds===void 0)return new l(\"Invalid endcap renderer\");var X={layoutId:Y.adLayoutMetadata.layoutId,layoutType:Y.adLayoutMetadata.layoutType,fg:\"adapter\"};P=[new eN(I.durationMilliseconds),new x7({impressionCommands:void 0,abandonCommands:I.abandonCommands?[{commandExecutorCommand:I.abandonCommands}]:void 0,completeCommands:I.completionCommands}),new yI(P),\nnew oP(\"LAYOUT_TYPE_ENDCAP\")];if(T){P.push(new u_(T.tE.adPodIndex-1));P.push(new BB(T.tE.adPodIndex));var h;P.push(new Oo((h=T.adPodSkipTarget)!=null?h:-1))}return Object.assign({},X,Vs,{renderingContent:Y.renderingContent,clientMetadata:new i_(P),W7:I.skipPings?new Map([[\"skip\",I.skipPings]]):new Map,XA:kN(k,W)(X),adLayoutLoggingData:Y.adLayoutMetadata.adLayoutLoggingData})};\ng.DC=function(){var W=ffz();if(!W)return{};try{var Y=W.get(\"yt-player-lv\");return JSON.parse(Y||\"{}\")}catch(k){return{}}};\na1=function(W,Y,k,P){aQ.call(this);var T=this;this.J=-1;this.W={};this.T=new g.fC(this.C,0,this);g.m(this,this.T);this.K=new g.fC(function(){T.Xr()||(T.T.start(Math.random()*k),T.K.start(Y))},W,this);\ng.m(this,this.K);P.subscribe(\"fairplay_next_need_key_info\",this.X,this)};\nK3z=function(W,Y,k,P,T,I){var X=this;I=I===void 0?[]:I;this.loader=W;this.wD=Y;this.policy=k;this.H6=P;this.X=T;this.bz=I;this.logger=new g.M_(\"dash/abr\");this.W=Tx;this.J=this.G=null;this.N=-1;this.UP=!1;this.nextVideo=this.K=null;this.T=[];this.GJ=new Set;this.OP={};this.Q5=new Th(1);this.L=0;this.V5=this.Kg=this.A5=!1;this.gD=0;this.rD=!1;this.TJ=new Set;this.Fr=!1;this.zW={vt:function(){Mu(X)}};\nthis.C=new h3(this.policy,T,function(h,B){X.loader.y5(h,B)})};\nTuX=function(W,Y,k,P,T,I){if(Array.isArray(k))for(var X=0;X0&&(Y+=\" \"+P+\" Days\");if(P>0||T>0)Y+=\" \"+T+\" Hours\";Y+=\" \"+I+\" Minutes\";Y+=\" \"+k+\" Seconds\";P=Y.trim()}else{Y=\"\";P>0&&(Y+=P+\":\",T<10&&(Y+=\"0\"));if(P>0||T>0)Y+=T+\":\",I<10&&(Y+=\"0\");Y+=I+\":\";k<10&&(Y+=\"0\");P=Y+k}return W>=0?P:\"-\"+P};\nY2V=function(W){W=new g.hq(W);g.nI(W,document.location.protocol);g.Bd(W,document.location.hostname);document.location.port&&g.VN(W,document.location.port);return W.toString()};\njGd=function(){this.du=0;this.T=this.J=this.DU=this.FV=this.K=NaN;this.W={};this.bandwidthEstimate=NaN};\nIo1=function(W,Y){return Y.layoutId!==W.layout.layoutId?(W.JE.Wk(W.slot,Y,new Fn(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+W.layout.layoutId+(\"and LayoutType: \"+W.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\"),!1):!0};\nXUV=function(W){return W.Y.V().experiments.Nq(\"enable_progres_commands_lr_feeds\")};\njp=function(W,Y){Q5(\"_start\",W,Y)};\nv$=function(W){return window.navigator.msPointerEnabled?\"MSPointer\"+W.charAt(0).toUpperCase()+W.substring(1):\"mouse\"+W};\nvw=function(W,Y){var k=W.K[Y],P=k[1];W.J+=k[0];P>0&&W.W[Y]==0&&(W.W[Y]=1)};\no90=function(W){function Y(k){k.stack&&k.stack.indexOf(\"player\")!==-1&&W.D2().Yb(k)}\nHj.subscribe(\"handleError\",Y);rP.push(Y);return function(){Hj.unsubscribe(\"handleError\",Y);var k=rP.indexOf(Y);k!==-1&&rP.splice(k,1)}};\nSeX=function(W){this.h5=rT(W)};\nWjd=function(W,Y){var k=m7d(W.videoTrack).find(function(P){return P.startTime>=Y&&$Cq(W,P.startTime,!1)});\nreturn k&&k.startTime1&&this.levels[0].isDefault()&&this.levels.splice(0,1)};\nbd0=function(W,Y,k,P,T){var I;Y!==((I=W.W)==null?void 0:I.t5)||W.K===1||P||W.W.w5.event===\"predictStart\"||W.y5(\"sdai\",{undecevt:1,sq:Y,mt:k,evt:W.W.w5.event},!0);Y>W.X&&(W.X=NaN,W.G=NaN);W.W&&W.W.t5===Y?LBz(W,Y,k,W.W,T):W.K===1&&qL(W,5,\"noad\")};\ng.u1=function(W){W=W===void 0?{}:W;this.languageCode=W.languageCode||\"\";this.languageName=W.languageName||null;this.kind=W.kind||\"\";this.name=W.name===void 0?null:W.name;this.displayName=W.displayName||null;this.id=W.id||null;this.W=W.is_servable||!1;this.isTranslateable=W.is_translateable||!1;this.url=W.url||null;this.vssId=W.vss_id||\"\";this.isDefault=W.is_default||!1;this.translationLanguage=W.translationLanguage||null;this.xtags=W.xtags||\"\";this.captionId=W.captionId||\"\"};\ng.xp=function(W,Y,k){g.xp=Function.prototype.bind&&Function.prototype.bind.toString().indexOf(\"native code\")!=-1?vI1:ut5;return g.xp.apply(null,arguments)};\nZ9V=function(W,Y){g.dS(\"use_event_time_ms_header\")&&Ih(W)&&(Y.headers||(Y.headers={}),Y.headers[\"X-Goog-Event-Time\"]=JSON.stringify(Math.round((0,g.lj)())));return Y};\nV2F=function(){i9F||(i9F=Aa(g.o_(\"WORKER_SERIALIZATION_URL\")));return i9F||void 0};\ntZS=function(W){return MZX.then(W)};\nXJq=function(W,Y,k,P,T,I){P.index&&(T.playlistIndex=String(Number(P.index)+1));T.videoId=k?k:\"\";Y&&I.Nq(\"embeds_enable_per_video_embed_config\")?T.serializedThirdPartyEmbedConfig=Y:W&&(T.serializedThirdPartyEmbedConfig=W)};\nz$V=function(W){return new G5(W)};\ng.It=function(W,Y,k,P){var T=W.currentTarget;if((k===void 0||!k)&&g.CK(W))return W.preventDefault(),!0;Y.pauseVideo();W=T.getAttribute(\"href\");g.LGX(W,P,!0);return!1};\ng.ZU=function(W,Y){var k=W.style[cU1(Y)];return typeof k!==\"undefined\"?k:W.style[iD(W,Y)]||\"\"};\nCO0=function(W,Y,k){function P(t){if(typeof t!==\"object\"||t===null)var q=!1;else{for(q=t;Object.getPrototypeOf(q)!==null;)q=Object.getPrototypeOf(q);q=Object.getPrototypeOf(t)===q}if(!q)throw Error(\"Actions must be plain objects. Instead, the actual type was: '\"+typeof t+\"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\nif(typeof t.type===\"undefined\")throw Error('Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');if(u)throw Error(\"Reducers may not dispatch actions.\");try{u=!0,h=X(h,t)}finally{u=!1}q=B=O;for(var G=0;G0)){q.oi(5);break}return g.L(q,xs7(5E3),6);case 6:u={playerretry:B,playerretrysrc:k},X||(u.recover=\"embedded\"),O=a8(I,u);case 5:return g.L(q,e_2(Y,O).then(T,P),7);case 7:if(Z=q.K)return q.return();B++;q.oi(2);break;case 4:M=X?\"auth\":\"manifest.net.retryexhausted\";\nt=X?2:1;if(!X&&Math.random()<1E-4)try{g.Jx(new g.M6(\"b/152131571\",btoa(I)))}catch(E){}return q.return(Promise.reject(new g.LT(M,{backend:\"gvi\"},t)))}})};\nbD=function(W,Y,k){rJ.push({payloadName:W,payload:k,VDS:void 0,options:Y});wi5||(wi5=cW0())};\nKDX=function(W,Y){if(Y.x4()||Y.Xr()){var k=W.loader,P=k.y5,T=Y.state;W=W.B5();var I,X;if((Y=(I=Y.Sy)==null?void 0:I.get(W))==null)Y=void 0;else{I=0;W=Y.Jg();for(var h=0;h=-1&&I<=2):I=Math.abs(P-T)<=1,EUV(W,Y,I?P:T,k,P,X,h&&I),I&&!B&&W.Z_(\"complete\"))};\nJzd=function(W){return W.Y.V().U(\"substitute_ad_cpn_macro_in_ssdai\")};\nrS7=function(W,Y){if(Y&&W.T){var k=new Set([\"q\",\"feature\",\"mos\"]),P=new Set(\"autoplay cl len fexp delay el ns adformat\".split(\" \")),T=new Set([\"aqi\",\"autonav\",\"list\",\"ssrt\",\"upt\"]);W.T.ns===\"3pp\"&&(Y.ns=\"3pp\");for(var I=g.e(Object.keys(W.T)),X=I.next();!X.done;X=I.next())X=X.value,P.has(X)||k.has(X)||T.has(X)&&!W.T[X]||(Y[X]=W.T[X])}};\nabV=function(W){return Fp(W)===\"TVHTML5_SIMPLY_EMBEDDED_PLAYER\"};\nVI=function(W,Y,k){(W=W.W[Y])&&W.J(k)};\nIh=function(W){if(!Y)var Y=window.location.href;var k=g.rM(W)[1]||null,P=g.TZ(W);k&&P?(W=g.rM(W),Y=g.rM(Y),W=W[3]==Y[3]&&W[1]==Y[1]&&W[4]==Y[4]):W=P?g.TZ(Y)===P&&(Number(g.rM(Y)[4]||null)||null)===(Number(g.rM(W)[4]||null)||null):!0;return W};\nsGq=function(W,Y){if(Y){var k=g.R(Y,i1)||null;k==null?g.LH(Error(\"AdInfoRenderer did not contain an AdHoverTextButtonRenderer.\")):(Y=g.hr(\"video-ads ytp-ad-module\")||null,Y==null?g.LH(Error(\"Could not locate the root ads container element to attach the ad info dialog.\")):(W.TJ=new g.pk({S:\"div\",j:\"ytp-ad-overlay-ad-info-dialog-container\"}),g.m(W,W.TJ),W.TJ.S1(Y),Y=new cE(W.api,W.layoutId,W.interactionLoggingClientData,W.B6,W.TJ.element,!1),g.m(W,Y),Y.init(R1(\"ad-info-hover-text-button\"),k,W.macros),\nW.C?(Y.S1(W.C,0),Y.subscribe(\"f\",W.RSi,W),Y.subscribe(\"e\",W.PW,W),W.Z(W.C,\"click\",W.NDh),W.Z(g.hr(\"ytp-ad-button\",Y.element),\"click\",function(){var P;if(g.R((P=g.R(k.button,g.FM))==null?void 0:P.serviceEndpoint,F0S))W.GJ=W.api.getPlayerState(1)===2,W.api.pauseVideo();else W.api.onAdUxClicked(\"ad-info-hover-text-button\",W.layoutId)}),W.bz=Y):g.LH(Error(\"Ad info button container within overlay ad was not present.\"))))}else g.Jx(Error(\"AdInfoRenderer was not present within InvideoOverlayAdRenderer.\"))};\n$L=function(W,Y,k,P){(new Uint8Array(W.data.buffer,W.offset,P)).set(new Uint8Array(Y.buffer,k+Y.byteOffset,P));W.offset+=P};\nFZX=function(W){var Y=new DP;if(W.interpreterJavascript){var k=SrV(W.interpreterJavascript);k=Y$(k).toString();var P=new ZE;P0(P,6,k);S2(Y,ZE,1,P,O$)}else W.interpreterUrl&&(k=Aa(W.interpreterUrl),k=za(k).toString(),P=new UH,P0(P,4,k),S2(Y,UH,2,P,O$));W.interpreterHash&&Ck(Y,3,W.interpreterHash,O$);W.program&&Ck(Y,4,W.program,O$);W.globalName&&Ck(Y,5,W.globalName,O$);W.clientExperimentsStateBlob&&Ck(Y,7,W.clientExperimentsStateBlob,O$);return Y};\njTV=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"standardControlsInitialized\",function(){var k=new Mud(W);g.m(Y,k);W.A4(k,\"RIGHT_CONTROLS_LEFT\")})};\nrz2=function(W){W.created!==W.loaded&&EF(\"Created and loaded are out of sync\")};\nAzV=function(W){if(!W)throw Error();throw W;};\nkG=function(W){g.D.call(this);this.J=W;this.W=new Map;this.K=new g.fC(this.sample,250,this);g.m(this,this.K);this.start()};\nIP=function(W){for(var Y=0,k=W.W,P=k+10,T=W.K;k=3&&(X=1,T=\"drm.net.retryexhausted\");Nc(W,{onlcsrqerr:T,info:I});W.error(T,X,I);W.shouldRetry(CT(X),P)&&b95(W,P)}});\ng.m(W,Y);czF(W,Y)}else W.error(\"drm.unavailable\",1,\"km.empty\")};\nRN=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z\"}}]}};\nT5=function(W){if(!Hr(W.videoData))return NaN;var Y=0;W.loader&&W.videoData.W&&(Y=c3(W.videoData)?W.loader.BQ.le()||0:W.videoData.W.OP);return(0,g.lj)()/1E3-W.hT()-Y};\nJ76=function(W,Y,k,P,T,I,X,h,B,O,u,Z){return function(M,t){if(ld(u)&&ho(u))a:{var q=r_0(P,k,u);if(q instanceof l)t=q;else{for(var G=0,E=[],z=[],A=[],F=[],y=[],U=[],V=new yh({current:null}),b=new r3({current:null}),Sz=!1,jz=[],X7=0,O2=[],$5=0;$50?X7:-1;else if(z1=\ng.R($5,lo)){$5=Yq0(W,Y,k,z1,I,G,h,b,X7);if($5 instanceof l){t=$5;break a}$5=$5(M);E.push($5.Xu);z=[].concat(g.cp($5.Yk),g.cp(z));A=[].concat(g.cp($5.gM),g.cp(A));$5.ZS&&(jz=[$5.ZS].concat(g.cp(jz)))}else if(z1=g.R($5,n3)){if(t===void 0){t=new l(\"Composite Survey must already have a Survey Bundle with required metadata.\",{instreamSurveyAdRenderer:z1});break a}$5=MV7(W,Y,k,I,z1,V,h,t,G,v7(u,\"supports_multi_step_on_desktop\"));if($5 instanceof l){t=$5;break a}$5=$5(M);E.push($5.Xu);$5.ZS&&jz.push($5.ZS);\nz=[].concat(g.cp($5.Yk),g.cp(z));A=[].concat(g.cp($5.gM),g.cp(A));F=[].concat(g.cp($5.uC),g.cp(F));y=[].concat(g.cp($5.gt),g.cp(y));U=[V].concat(g.cp(U))}else if($5=g.R($5,p3)){$5=Fj0(W,Y,k,I,$5,V,h,G);if($5 instanceof l){t=$5;break a}$5=$5(M);E.push($5.Xu);$5.ZS&&jz.push($5.ZS);A=[].concat(g.cp($5.gM),g.cp(A))}else{t=new l(\"Unsupported linearAd found in LinearAdSequenceRenderer.\");break a}t={e3:E,layoutExitSkipTriggers:z,layoutExitUserInputSubmittedTriggers:F,II:y,layoutExitMuteTriggers:A,Si:U,I6:jz}}}else a:if(G=\nr_0(P,k,u),G instanceof l)t=G;else{E=0;z=[];A=[];F=[];y=[];U=[];V=[];b=new yh({current:null});Sz=new r3({current:null});jz=!1;O2=[];X7=-1;q=g.e(P);for($5=q.next();!$5.done;$5=q.next())if($5=$5.value,g.R($5,Nw)){$5=xJ1(Y,k,g.R($5,Nw),h);if($5 instanceof l){t=$5;break a}$5=$5(M);z.push($5.Xu);A=[].concat(g.cp($5.Yk),g.cp(A));F=[].concat(g.cp($5.gM),g.cp(F));$5.ZS&&(O2=[$5.ZS].concat(g.cp(O2)))}else if(g.R($5,c4)){X7=Bn(g.R($5,c4),k,u);if(X7 instanceof Fn){t=new l(X7);break a}$5=new $N(E,G);$5=wLz(Y,\nX7.layoutId,X7.Sm,k,KA(X7.playerVars,X7.Ye,X,O,$5),X7.sK,I,$5,h(M),Sz,B.get(X7.Sm.externalVideoId),void 0,Z);E++;z.push($5.Xu);A=[].concat(g.cp($5.Yk),g.cp(A));F=[].concat(g.cp($5.gM),g.cp(F));jz||(V.push(Sz),jz=!0);X7=(X7=X7.Sm.adPodSkipTarget)&&X7>0?X7:-1}else if(g.R($5,lo)){$5=Yq0(W,Y,k,g.R($5,lo),I,E,h,Sz,X7);if($5 instanceof l){t=$5;break a}$5=$5(M);z.push($5.Xu);A=[].concat(g.cp($5.Yk),g.cp(A));F=[].concat(g.cp($5.gM),g.cp(F));$5.ZS&&(O2=[$5.ZS].concat(g.cp(O2)))}else if(g.R($5,n3)){if(t===\nvoid 0){t=new l(\"Composite Survey must already have a Survey Bundle with required metadata.\",{instreamSurveyAdRenderer:g.R($5,n3)});break a}$5=MV7(W,Y,k,I,g.R($5,n3),b,h,t,E,v7(u,\"supports_multi_step_on_desktop\"));if($5 instanceof l){t=$5;break a}$5=$5(M);z.push($5.Xu);$5.ZS&&O2.push($5.ZS);A=[].concat(g.cp($5.Yk),g.cp(A));F=[].concat(g.cp($5.gM),g.cp(F));y=[].concat(g.cp($5.uC),g.cp(y));U=[].concat(g.cp($5.gt),g.cp(U));V=[b].concat(g.cp(V))}else if(g.R($5,p3)){$5=Fj0(W,Y,k,I,g.R($5,p3),b,h,E);if($5 instanceof\nl){t=$5;break a}$5=$5(M);z.push($5.Xu);$5.ZS&&O2.push($5.ZS);F=[].concat(g.cp($5.gM),g.cp(F))}else{t=new l(\"Unsupported linearAd found in LinearAdSequenceRenderer.\");break a}t={e3:z,layoutExitSkipTriggers:A,layoutExitUserInputSubmittedTriggers:y,II:U,layoutExitMuteTriggers:F,Si:V,I6:O2}}t instanceof l?M=t:(U=M.slotId,G=t.e3,E=t.layoutExitSkipTriggers,z=t.layoutExitMuteTriggers,A=t.layoutExitUserInputSubmittedTriggers,F=t.Si,M=h(M),y=T?T.layoutType:\"LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES\",U=T?T.layoutId:\nyN(Y.K.get(),y,U),V={layoutId:U,layoutType:y,fg:\"core\"},M={layout:{layoutId:U,layoutType:y,W7:new Map,layoutExitNormalTriggers:[new vq(Y.W,U)],layoutExitSkipTriggers:E,layoutExitMuteTriggers:z,layoutExitUserInputSubmittedTriggers:A,II:[],fg:\"core\",clientMetadata:new i_([new af(G)].concat(g.cp(F))),XA:M(V)},I6:t.I6});return M}};\nC2X=function(){return\"INNERTUBE_API_KEY\"in $g&&\"INNERTUBE_API_VERSION\"in $g};\nO90=function(W){this.W=W;this.iv=(0,g.oo)(Ve(16))};\nfoq=function(W,Y,k,P,T,I,X,h,B,O){var u=T-P,Z,M=((Z=W.fulfilledLayout||kW(W.clientMetadata,\"metadata_type_fulfilled_layout\"))==null?void 0:kW(Z.clientMetadata,\"metadata_type_ssdai_ads_config\"))||\"\",t,q;(Z=(t=kW(W.clientMetadata,\"metadata_type_triggering_cue_point\"))==null?void 0:(q=t.current)==null?void 0:q.identifier)||EF(\"Cue point identifier is undefined\",W,Y,B());if(!u)return X.yq(k,M,2,I,P,T,W.slotId,Z),Fr(O,\"ads_iraot\",\"slid.\"+Y.layoutId+\";enterMs.\"+P+\";exitMs.\"+T+\";vid.\"+k.video_id),null;u=\nX.Oc(k,M,2,I,P,T,W.slotId,Z);Fr(O,\"ads_atct\",\"slid.\"+Y.layoutId+\";enterMs.\"+P+\";exitMs.\"+T+\";vid.\"+k.video_id+\";pid.\"+u);if(!u)return EF(\"Unexpected failure to add to playback timeline\",W,Y,B()),null;W=W.slotId;Y=Y.layoutId;u?(h.W.has(u)&&EF(\"Unexpected remap of timeline playback\"),h.W.set(u,{slotId:W,layoutId:Y})):EF(\"Invalid timeline playback ID\");P+I>T&&X.bR(u,T-P);return u};\nrb6=function(W){if(!W.W)return!1;W=W.K.get(W.W);return W&&W.event!==\"predictStart\"&&W.p7===5?(W==null?0:W.G7)&&Date.now()-(W==null?NaN:W.G7)>1E4?(W.p7=1,!1):!0:!1};\nMSS=function(W,Y,k,P,T,I,X,h){var B=Y;I===1||(I!==4?0:2&Y||!(16&Y)&&32&P)?Te(Y)||(Y|=!W.length||X&&!(4096&Y)||32&P&&!(4096&Y||16&Y)?2:256,Y!==B&&XX(W,Y),Object.freeze(W)):(I===2&&Te(Y)&&(W=j9(W),B=0,Y=I3(Y,P),P=$a(k,P,T,W)),Te(Y)||(h||(Y|=16),Y!==B&&XX(W,Y)));2&Y||!(4096&Y||16&Y)||Je(k,P);return W};\nVZq=function(W,Y,k,P,T){var I,X,h,B,O,u,Z,M,t,q,G,E,z;g.v(function(A){switch(A.W){case 1:I=!!Y.scrubReferrer;X=g.Wu(Y.baseUrl,oqX(k,I,P));h={};if(!Y.headers){A.oi(2);break}B=W.T();if(!B.W){O=B.getValue();A.oi(3);break}return g.L(A,B.W,4);case 4:O=A.K;case 3:u=O;Z=g.e(Y.headers);for(M=Z.next();!M.done;M=Z.next())switch(t=M.value,t.headerType){case \"VISITOR_ID\":g.o_(\"VISITOR_DATA\")&&(h[\"X-Goog-Visitor-Id\"]=g.o_(\"VISITOR_DATA\"));break;case \"EOM_VISITOR_ID\":g.o_(\"EOM_VISITOR_DATA\")&&(h[\"X-Goog-EOM-Visitor-Id\"]=\ng.o_(\"EOM_VISITOR_DATA\"));break;case \"USER_AUTH\":u&&(h.Authorization=\"Bearer \"+u);break;case \"PLUS_PAGE_ID\":(q=W.C())&&(h[\"X-Goog-PageId\"]=q);break;case \"AUTH_USER\":G=W.W();!u&&G&&(h[\"X-Goog-AuthUser\"]=G);break;case \"DATASYNC_ID\":if(E=void 0,(E=W.J())==null?0:E.Nq(\"enable_datasync_id_header_in_web_vss_pings\"))z=W.K(),Ih(X)&&g.o_(\"LOGGED_IN\")&&z&&(h[\"X-YouTube-DataSync-Id\"]=z)}\"X-Goog-EOM-Visitor-Id\"in h&&\"X-Goog-Visitor-Id\"in h&&delete h[\"X-Goog-Visitor-Id\"];case 2:g.gD(X,void 0,I,Object.keys(h).length!==\n0?h:void 0,\"\",!0,T),g.I_(A)}})};\ng.hf=function(W){g.sq.call(this);this.headers=new Map;this.TJ=W||null;this.J=!1;this.W=null;this.L=\"\";this.K=0;this.T=\"\";this.C=this.wD=this.N=this.Kg=!1;this.A5=0;this.X=null;this.gD=\"\";this.G=!1};\nVu=function(W,Y){Y=(Y===void 0?0:Y)?\"EMBEDDED_PLAYER_MODE_DEFAULT\":\"EMBEDDED_PLAYER_MODE_UNKNOWN\";window.location.hostname.includes(\"youtubeeducation.com\")&&(Y=\"EMBEDDED_PLAYER_MODE_PFL\");var k=W.raw_embedded_player_response;if(!k&&(W=W.embedded_player_response))try{k=JSON.parse(W)}catch(P){return Y}return k?LO(Y,k.embeddedPlayerMode,Nud):Y};\nfSX=function(W,Y,k,P){k=k===void 0?800:k;P=P===void 0?600:P;if(W=g.qu(window,W,\"loginPopup\",\"width=\"+k+\",height=\"+P+\",resizable=yes,scrollbars=yes\"))aoz(function(){Y()}),W.moveTo((screen.width-k)/2,(screen.height-P)/2)};\nW8v=function(W){if(g.fF(\"cobalt\")&&g.fF(\"nintendo switch\")){var Y=!window.matchMedia(\"screen and (max-height: 720px) and (min-resolution: 200dpi)\").matches;W.y5(\"nxdock\",{d:Y})}};\nYB6=function(W,Y){Y&&g.lS(W.element,fR(W.W,Y))};\nAH=function(W,Y,k,P){WDd(W);Y&&(Y.unsubscribe(\"size-change\",W.h6,W),Y.unsubscribe(\"back\",W.iY,W));k.subscribe(\"size-change\",W.h6,W);k.subscribe(\"back\",W.iY,W);if(W.v7){g.N6(k.element,P?\"ytp-panel-animate-back\":\"ytp-panel-animate-forward\");k.S1(W.content);k.focus();W.element.scrollLeft=0;W.element.scrollTop=0;var T=W.size;NQq(W);g.o9(W.element,T);W.T=new g.fC(function(){$1d(W,Y,k,P)},20,W);\nW.T.start()}else k.S1(W.content),Y&&Y.detach()};\nIp=function(W,Y){W.message&&g.Jx(Error(Y+\"_\"+W.message))};\nTw=function(W,Y){return new g.UE(new A6(function(k,P){function T(){var I=W?Y(W):null;I?I.then(function(X){W=X;T()},P):k()}\nT()}))};\ntJV=function(W,Y){if(W.removed)W=!0;else{Y=new t8(Y,this);var k=W.listener,P=W.handler||W.src;W.ut&&$I(W);W=k.call(P,Y)}return W};\nTi=function(W){this.value=W};\nk00=function(W,Y,k,P){var T=Tb(W.K.get(),\"SLOT_TYPE_PLAYER_UNDERLAY\");k=new A7(W.W,k);var I=[new jm(W.W,T)];W=[new Zp(W.W,Y),new Jp(W.W,T)];return{slotId:T,slotType:\"SLOT_TYPE_PLAYER_UNDERLAY\",slotPhysicalPosition:1,slotEntryTrigger:k,slotFulfillmentTriggers:I,slotExpirationTriggers:W,fg:\"core\",clientMetadata:new i_([new H$(P({slotId:T,slotType:\"SLOT_TYPE_PLAYER_UNDERLAY\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:k,slotFulfillmentTriggers:I,slotExpirationTriggers:W}))])}};\nv56=function(W,Y){return W.pg.U(\"html5_use_network_error_code_enums\")&&Y.details.rc===403||Y.details.rc===\"403\"?(W=Y.errorCode,W===\"net.badstatus\"||W===\"manifest.net.retryexhausted\"):!1};\nPcv=function(W,Y,k,P,T,I,X,h){var B=EkC(W,I,I+T);W.L&&W.P7({adaftto:1});k||W.P7({missadcon:1,enter:I,len:T,aid:h});W.T&&!W.T.lk&&(W.T.lk=h);W.U0&&W.P7({adfbk:1,enter:I,len:T,aid:h});var O=W.playback;I>X&&vv(W,{reason:\"enterTime_greater_than_return\",pH:I,vz:X});var u=O.aI()*1E3;IO&&vv(W,{reason:\"parent_return_greater_than_content_duration\",vz:X,pwi:O});(O=Kkq(W.W,I))&&O.vz>I&&v3q(W,Y.video_id||\"\",\nI,X,O);if(B&&O)for(u=0;u1){g.Jx(new g.M6(\"Exit already started\",{current:W.currentState}));var k=!1}else k=!0;if(!k)return!1;W.currentState=2;W.W=Y;return!0};\ng.uJ=function(W,Y,k,P,T){T=T===void 0?!1:T;k&&Bj(W,k);k=g.PO(W);var I=g.QB(k);W!=I&&PL(Error(\"Unsafe window.open URL: \"+W));W=I;Y=Y||kb(W).toString(36);try{if(T)return T=W,T=BI0(T),Oq(T),g.qu(window,T,Y,\"attributionsrc\")}catch(X){g.Yr(X)}Oq(W);return g.qu(window,k,Y,P)};\njy1=function(W,Y,k,P,T,I,X,h,B,O,u,Z){var M=Bn(P,k,O);return M instanceof Fn?new l(M):O.Y.V().experiments.Nq(\"html5_refactor_in_player_slot_generation\")?function(t){var q=new $N(0,[M.sK]);t=DGV(Y,M.layoutId,M.Sm,k,KA(M.playerVars,M.Ye,I,B,q),M.sK,T,q,X(t),h.get(M.Sm.externalVideoId),Z);q=[];if(M.Sm.playerOverlay.instreamAdPlayerOverlayRenderer){var G=V8V(t);if(!G)return EF(\"Expected MediaLayout to carry valid data to create InPlayerSlot and PlayerOverlayForMediaLayout\",void 0,t),{layout:t,I6:[]};\nq=[Ur2(W,G.contentCpn,G.BF,function(z){return fM(Y,z.slotId,\"core\",G,kN(u,z))},G.inPlayerSlotId)].concat(g.cp(q));\nif(G.instreamAdPlayerUnderlayRenderer&&wi(O)){var E=G.instreamAdPlayerUnderlayRenderer;q=[k00(W,G.contentCpn,G.BF,function(z){return P_q(Y,z.slotId,E,G.adPlacementConfig,G.BF,kN(u,z))})].concat(g.cp(q))}}return{layout:t,\nI6:q}}:function(t){var q=new $N(0,[M.sK]);\nreturn{layout:DGV(Y,M.layoutId,M.Sm,k,KA(M.playerVars,M.Ye,I,B,q),M.sK,T,q,X(t),h.get(M.Sm.externalVideoId),Z),I6:[]}}};\nrr=function(W){return KH(W)/W.playbackRate};\nO4d=function(W){var Y=W.layoutId,k=W.k$;if(W.Nh){var P={};Mb(W.AD,\"slse\",(P.ec=Y,P.is=k,P.ctp=qb(Y),P))}};\ni2=function(W,Y,k,P,T,I,X,h,B,O,u,Z){P=P===void 0?\"\":P;this.type=W;this.W=Y;this.range=k;this.source=P;this.lY=u;this.clipId=Z===void 0?\"\":Z;this.N=[];this.G=\"\";this.t5=-1;this.A5=0;this.G=P;this.t5=T>=0?T:-1;this.startTime=I||0;this.duration=X||0;this.K=h||0;this.J=B>=0?B:this.range?this.range.length:NaN;this.T=this.range?this.K+this.J===this.range.length:O===void 0?!!this.J:O;this.range?(this.C=this.startTime+this.duration*this.K/this.range.length,this.L=this.duration*this.J/this.range.length,this.X=\nthis.C+this.L):Fk0(this)};\nf$v=function(W){g.dS(\"nwl_csi_killswitch\")||Ku(\"networkless_performance\",W,{sampleRate:1})};\ng.Ga=function(W,Y){for(var k=1;k32&&P.push(\"hfr\");Y.isHdr()&&P.push(\"hdr\");Y.primaries===\"bt2020\"&&P.push(\"wcg\");k.video_quality_features=P}}if(W=W.getPlaylistId())k.list=W;return k};\ni4z=function(W,Y,k,P,T,I){I=I===void 0?new N9:I;e_.call(this,Y,k,P);this.m1=T;this.xg=0;this.HU={};this.Rs=new Z4F;this.RR={};this.Pl=\"\";this.rD=null;this.K1=!1;this.W=[];this.dO=I.K();this.X=I.J();this.T=null;this.J=-1;this.Fr=this.N=void 0;this.Kg=this.A5=0;this.TJ=-1;this.bz=this.Q5=!1;this.gD=this.L=this.K=this.Mf=this.A9=0;new vC;this.OP=this.GJ=0;this.V5=-1;this.DP=0;this.G=g.O7;this.wD=[this.IH()];this.xm=2;this.Fx={};this.Fx.pause=\"p\";this.Fx.resume=\"r\";this.Fx.skip=\"s\";this.Fx.mute=\"m\";this.Fx.unmute=\n\"um\";this.Fx.exitfullscreen=\"ef\";this.C=null;this.e1=this.Lg=!1;this.J9=Math.floor(Date.now()/1E3-1704067200);this.UP=0};\nza=function(W){if(W instanceof sW1)return W.W;throw Error(\"\");};\nUB1=function(W,Y){W.Xr()||(W.K=Y,W.logger.update(Y.bP()),W.C.resolve(),W.X.resolve(void 0),W.Hy())};\nQo=function(W,Y,k,P,T,I,X){I=I===void 0?[]:I;var h=Tb(W.K.get(),\"SLOT_TYPE_AD_BREAK_REQUEST\");X||(X=[],P.f8&&P.f8.start!==P.AE.start&&X.push(new z9(W.W,k,new VX(P.f8.start,P.AE.start),!1)),X.push(new z9(W.W,k,new VX(P.AE.start,P.AE.end),P.jl)));P={getAdBreakUrl:Y.getAdBreakUrl,vD:P.AE.start,K5:P.AE.end,cueProcessedMs:P.cueProcessedMs};Y=new Ag(W.W,h);I=[new hA(P)].concat(g.cp(I));return{slotId:h,slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\",slotPhysicalPosition:1,slotEntryTrigger:Y,slotFulfillmentTriggers:X,\nslotExpirationTriggers:[new Zp(W.W,k),new Jp(W.W,h),new Vn(W.W,h)],fg:\"core\",clientMetadata:new i_(I),adSlotLoggingData:T}};\nEU=function(W,Y,k){for(var P=W.Is[k],T=k<<1;T<=W.GR;){T0&&egX(12E4,W-1);throw Y;};\nSI=function(W){if(!W.playerResponse)return!1;if(W.Ys)return!0;var Y=W.videoData.U(\"html5_onesie_audio_only_playback\")&&a7(W.videoData);if(W.Sy&&W.MX){if(!W.Sy.has(W.Tu))return!1;var k=W.Sy.get(W.Tu),P;if(P=k){P=!1;for(var T=g.e(k.jj.keys()),I=T.next();!I.done;I=T.next())if(I=k.jj.get(I.value))for(var X=g.e(I.BE),h=X.next();!h.done;h=X.next())h.value.o5>0&&(I.xH?P=!0:Y=!0);P=!(Y&&P)}if(P)return!1}W.VU(\"ofr\");W.fI.resolve(W.playerResponse);if(!W.E9){var B;(B=W.jH)==null||B.start();W.uB.start()}return W.Ys=\n!0};\nreV=function(W,Y,k,P){if(W)return W.apply(Y,P);if(g.Hz&&document.documentMode<10){if(!Y[k].call)throw Error(\"IE Clobbering detected\");}else if(typeof Y[k]!=\"function\")throw Error(\"Clobbering detected\");return Y[k].apply(Y,P)};\ng$V=function(W,Y,k){var P,T,I,X;return g.v(function(h){if(h.W==1){if(!g.dS(\"start_client_gcf\"))return h.oi(0);OG(W,Y);return(P=$s())?k?h.oi(4):g.L(h,Re7(P),5):h.oi(0)}h.W!=4&&(T=h.K,k=(I=T)==null?void 0:I.config);if(!k)return h.oi(0);X=k.configData;return g.L(h,qBq(k,Y,X,P),0)})};\ndx=function(W){var Y;return(Y=W.Y.getVideoData(1)==null?void 0:!1)!=null?Y:!1};\njU=function(W){g.D.call(this);var Y=this;this.W6=W;this.L=this.W=this.loader=this.mediaElement=this.playbackData=null;this.J=0;this.C=this.wD=this.T=null;this.TJ=!1;this.K1=0;this.Kg=!1;this.timestampOffset=0;this.N=!0;this.V5=0;this.Q5=this.xm=!1;this.G=0;this.e1=!1;this.gD=0;this.zW={Tc:function(k){return Y.Tc(k)}};\nthis.zJ=this.W6.V();this.videoData=this.W6.getVideoData();this.policy=new F67;this.A5=new tg(this.W6);this.Lg=this.GJ=this.Fr=this.X=this.K=NaN;this.UP=new g.fC(function(){YL0(Y,!1)},2E3);\nthis.J9=new g.fC(function(){ke(Y)});\nthis.rD=new g.fC(function(){eE6(Y,{})});\nthis.A9=NaN;this.OP=new g.fC(function(){var k=Y.zJ.CN;k.W+=1E4/36E5;k.W-k.J>1/6&&(fAC(k),k.J=k.W);Y.OP.start()},1E4);\ng.m(this,this.A5);g.m(this,this.UP);g.m(this,this.rD);g.m(this,this.J9);g.m(this,this.OP)};\nCBV=function(W,Y,k,P){var T=Tb(W.K.get(),\"SLOT_TYPE_IN_PLAYER\"),I=new Ju(W.W,Y),X=[new $d(W.W,T)];W=[new Zp(W.W,Y),new Jp(W.W,T)];return{slotId:T,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:I,slotFulfillmentTriggers:X,slotExpirationTriggers:W,fg:\"core\",clientMetadata:new i_([new H$(P({slotId:T,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:I,slotFulfillmentTriggers:X,slotExpirationTriggers:W}))]),adSlotLoggingData:k}};\ng.wj=function(W){return Fp(W)===\"TVHTML5\"};\nFmV=function(W,Y,k,P,T){Y=g.R(Y.renderingContent,c4);if(!Y)return new l(\"Invalid rendering content for DAI media layout\");W=[new lX(P),new t9(k.QM.videoLengthSeconds),new W5(k.QM.playerVars),new $R(k.GV),new kR(k.aq),new BB(k.lE),new yI(e8(W)),new zA(k.QM.adVideoId),new hJ(k.tE),Y.sodarExtensionData&&new $O(Y.sodarExtensionData),new ao({current:null}),new QI({}),new la(ba(Y.pings))].filter(zhq);T!==void 0&&W.push(new PG(T));return W};\nRuC=function(W,Y){var k=Y.cancelRenderer&&Y.cancelRenderer.buttonRenderer||null;k&&(W.W=new Yp(W.api,W.layoutId,W.interactionLoggingClientData,W.B6,[\"ytp-ad-feedback-dialog-close-button\"],\"button\"),g.m(W,W.W),W.W.init(R1(\"button\"),k,W.macros),W.W.listen(\"click\",W.qQ,W),W.W.S1(W.element));Y.title&&(k=g.NF(Y.title),W.updateValue(\"title\",k));Y.reasonsTitle&&(k=g.NF(Y.reasonsTitle),W.updateValue(\"reasonsTitle\",k));Y.reasons&&aQV(W,Y.reasons);Y.cancelLabel&&(k=g.NF(Y.cancelLabel),W.updateValue(\"cancelLabel\",\nk),g.dP(W.C,\"click\",function(){return W.qQ()}));\nY.confirmLabel&&(k=g.NF(Y.confirmLabel),W.updateValue(\"confirmLabel\",k),g.dP(W.N,\"click\",function(){return Fwz(W)}));\nY.undoRenderer&&Agd(W,Y.undoRenderer)};\nBKd=function(W,Y,k){this.experiments=W;this.gD=Y;this.TJ=k===void 0?!1:k;this.N=!!g.o3(\"cast.receiver.platform.canDisplayType\");this.L={};this.A5=!1;this.T=new Map;this.G=!0;this.K=this.J=!1;this.W=new Map;this.Kg=0;this.wD=this.experiments.Nq(\"html5_disable_vp9_encrypted\");this.C=this.experiments.Nq(\"html5_enable_encrypted_av1\");W=g.o3(\"cast.receiver.platform.getValue\");this.X=!this.N&&W&&W(\"max-video-resolution-vpx\")||null;H4C(this);this.J=!!(iH()&&NQ()>=21)};\nnf=function(W){var Y=g.XE({\"aria-haspopup\":\"true\"});g.Ia.call(this,Y,W);this.listen(\"keydown\",this.kZ)};\nYeq=function(W,Y,k){return Pd(71,Y?Cr(W,k):W.W)};\nUV=function(W,Y){var k=Y||W.eW,P=W.W.s1({cpn:k});if(P){Y=P.videoData;var T,I;k=P.W$||((I=(T=W.K.get(k))==null?void 0:T.start)!=null?I:0)/1E3;W=W.playback.getCurrentTime()-k;Y.UV=W>0?W:0}else W.qh().videoData.UV=W.playback.getCurrentTime()};\nSP=function(W){var Y=C$(W).nonce;Y||(Y=g.BV(16),C$(W).nonce=Y);return Y};\nqBq=function(W,Y,k,P,T){var I,X,h;return g.v(function(B){switch(B.W){case 1:return I={config:W,hashData:Y,configData:k,timestamp:T!==void 0?T:(0,g.lj)()},g.L(B,Uj(P),2);case 2:return X=B.K,g.L(B,X.clear(\"coldConfigStore\"),3);case 3:return g.L(B,g.ip(X,\"coldConfigStore\",I),4);case 4:return h=B.K,B.return(h)}})};\naY=function(W){return typeof W===\"object\"&&!Array.isArray(W)};\nnv5=function(W){W.W=null;W.Ym.clear();W.K&&W.K.stop();W.C&&W.C.stop();var Y;(Y=W.J)==null||Y.stop();delete W.J};\npXv=function(W,Y,k){if(!W.qF||W.PF==-1||Y.K===-1||W.qF.K===-1)return 0;W=Y.K-W.qF.K;return W>k?0:W};\nn8=function(W){return W?W.passive&&GjX()?W:W.capture||!1:!1};\nJXV=function(W){var Y=mK(W.W)>>>0;W=W.W;var k=h50(W,Y);W=W.K;if(K82){var P=W,T;(T=Evd)||(T=Evd=new TextDecoder(\"utf-8\",{fatal:!0}));Y=k+Y;P=k===0&&Y===P.length?P:P.subarray(k,Y);try{var I=T.decode(P)}catch(O){if(pf===void 0){try{T.decode(new Uint8Array([128]))}catch(u){}try{T.decode(new Uint8Array([97])),pf=!0}catch(u){pf=!1}}!pf&&(Evd=void 0);throw O;}}else{I=k;Y=I+Y;k=[];for(var X=null,h,B;I=Y?un():(B=W[I++],h<194||(B&192)!==128?(I--,un()):k.push((h&31)<<6|B&\n63)):h<240?I>=Y-1?un():(B=W[I++],(B&192)!==128||h===224&&B<160||h===237&&B>=160||((T=W[I++])&192)!==128?(I--,un()):k.push((h&15)<<12|(B&63)<<6|T&63)):h<=244?I>=Y-2?un():(B=W[I++],(B&192)!==128||(h<<28)+(B-144)>>30!==0||((T=W[I++])&192)!==128||((P=W[I++])&192)!==128?(I--,un()):(h=(h&7)<<18|(B&63)<<12|(T&63)<<6|P&63,h-=65536,k.push((h>>10&1023)+55296,(h&1023)+56320))):un(),k.length>=8192&&(X=ayd(X,k),k.length=0);I=ayd(X,k)}return I};\ng$=function(W){var Y,k;var P=!!W.N&&!((Y=W.api.getVideoData())==null?0:Y.isLivePlayback)&&!W.api.Y8()&&W.api.getPresentingPlayerType()!==2&&!g.p(W.api.getPlayerStateObject(),2)&&!((k=g.lA(W.api))==null?0:k.jy())&&!W.api.isEmbedsShortsMode()&&kCF(W.api.qz());W.T!==P&&(W.T=P,W.T?W.W.subscribe(\"dragstart\",W.Kg,W):(W.W.unsubscribe(\"dragstart\",W.Kg,W),W.W.unsubscribe(\"dragmove\",W.X,W),W.W.unsubscribe(\"dragend\",W.C,W),Xd(W)))};\nsUV=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q,G){W=Tb(W,\"SLOT_TYPE_PLAYER_BYTES\");P=Ffd(Y,X,P,T,W,O,u);if(P instanceof l)return P;var E;X=(E=kW(P.clientMetadata,\"metadata_type_fulfilled_layout\"))==null?void 0:E.layoutId;if(!X)return new l(\"Invalid adNotify layout\");Y=emV(X,Y,k,T,I,B,h,O,Z,M,t,q,G);return Y instanceof l?Y:[P].concat(g.cp(Y))};\nwv=function(W){g.FK(W.C);W.C=NaN};\nFP=function(W,Y){if(W.byteLength-Y<8)return!1;var k=W.getUint32(Y);if(k<8||W.byteLength-Y122)return!1}return!0};\nrXd=function(W,Y,k,P){k.adFormat=k.jW;var T=Y.W6;Y=new ij(new By(k,Y.zJ,{getDuration:function(){return k.lengthSeconds},\ngetCurrentTime:function(){return T.getCurrentTime()},\ntD:function(){return T.tD()},\ng9:function(){return T.g9()},\nrH:function(){return T.rH()},\ngetPlayerSize:function(){return T.getPlayerSize()},\ngetAudioTrack:function(){return k.getAudioTrack()},\ngetPlaybackRate:function(){return T.getPlaybackRate()},\nEa:function(){return T.Ea()},\ngetVisibilityState:function(){return T.getVisibilityState()},\nw_:function(){return T.w_()},\nsI:function(){return T.sI()},\ngetVolume:function(){return T.getVolume()},\nisMuted:function(){return T.isMuted()},\nWF:function(){return T.WF()},\nfK:function(){return T.fK()},\ngetProximaLatencyPreference:function(){return T.getProximaLatencyPreference()},\nSO:function(){T.SO()},\ny5:function(I,X){T.y5(I,X)},\nJx:function(){return T.Jx()},\nm2:function(){return T.m2()}}));\nY.K=P;g.m(W,Y);return Y};\nsE=function(W){g.D.call(this);this.api=W};\nwy=function(W,Y){W.K||W.W!=2&&W.W!=3||WGq(W);W.T?W.T.next=Y:W.K=Y;W.T=Y};\nGF=function(W,Y,k,P,T,I,X){ls.call(this,W,{S:\"span\",j:X?\"ytp-ad-duration-remaining--clean-player\":\"ytp-ad-duration-remaining\"},\"ad-duration-remaining\",Y,k,P,T);this.videoAdDurationSeconds=I;this.K=null;X&&this.api.V().K&&(this.element.classList.add(\"ytp-ad-duration-remaining--mweb\"),o4&&this.element.classList.add(\"ytp-ad-duration-remaining--mweb-ios\"));this.hide()};\nor=function(W){sE.call(this,W);var Y=this;W.addEventListener(\"settingsMenuInitialized\",function(){Y.menuItem||(Y.menuItem=new AXF(Y.api,Y.api.ML()),g.m(Y,Y.menuItem))});\nW.addEventListener(\"openSettingsMenuItem\",function(k){if(k===\"menu_item_sleep_timer\"){if(!Y.menuItem){var P;(P=Y.api.ML())==null||P.fH()}Y.menuItem.open()}});\nD4(W,\"resetSleepTimerMenuSettings\",function(){Y.resetSleepTimerMenuSettings()});\nD4(W,\"setSleepTimerTimeLeft\",function(k){Y.setSleepTimerTimeLeft(k)});\nD4(W,\"setVideoTimeLeft\",function(k){Y.setVideoTimeLeft(k)})};\napF=function(){return{ya:[\"metadata_type_valid_ad_message_renderer\"],EV:[\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\"]}};\ng.Zu=function(W){W=Jg2(W===void 0?0:W);if(!W&&!g.o_(\"USE_CSN_FALLBACK\",!0))return null;W||(W=\"UNDEFINED_CSN\");return W?W:null};\nQX=function(W){return vO(W.EE(),W.getCurrentTime())};\nzuF=function(){var W=navigator;return new Promise(function(Y,k){var P;(P=W.webkitTemporaryStorage)!=null&&P.queryUsageAndQuota?W.webkitTemporaryStorage.queryUsageAndQuota(function(T,I){Y({usage:T,quota:I})},function(T){k(T)}):k(Error(\"webkitTemporaryStorage is not supported.\"))})};\ng.TA=function(W,Y,k){var P=g.Zw();if(P&&Y){var T=P.subscribe(W,function(){function I(){iU[T]&&Y.apply&&typeof Y.apply==\"function\"&&Y.apply(k||window,X)}\nvar X=arguments;try{g.Kf[W]?I():g.LB(I,0)}catch(h){g.Yr(h)}},k);\niU[T]=!0;ZN[W]||(ZN[W]=[]);ZN[W].push(T);return T}return 0};\njpq=function(W){return W.match(/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})\\.(\\d{3})$/)?W+\"Z\":W};\nuX=function(W,Y,k){this.initData=W;this.contentType=Y;this.isPrefetch=k;this.W=this.cryptoPeriodIndex=NaN;this.J=[];this.pN=!1;this.K=null;if((Y==null?void 0:Y.toLowerCase())===\"webm\"||W.length===16)this.pN=!0};\nXW0=function(W,Y){if(!W.Xr()){W.Ur({onInitData:1});if(W.zJ.U(\"html5_eme_loader_sync\")&&W.videoData.J&&W.videoData.J.W){var k=W.G.get(Y.initData);Y=W.X.get(Y.initData);if(!k||!Y)return;Y=k;k=Y.initData;W.X.remove(k);W.G.remove(k)}W.Ur({initd:Y.initData.length,ct:Y.contentType});if(W.W.flavor===\"widevine\")if(W.TJ&&!W.videoData.isLivePlayback)qW(W);else{if(!(W.zJ.U(\"vp9_drm_live\")&&W.videoData.isLivePlayback&&Y.pN)){W.TJ=!0;k=Y.cryptoPeriodIndex;var P=Y.W;lOS(Y);Y.pN||(P&&Y.W!==P?W.publish(\"ctmp\",\"cpsmm\",\n{emsg:P,pssh:Y.W}):k&&Y.cryptoPeriodIndex!==k&&W.publish(\"ctmp\",\"cpimm\",{emsg:k,pssh:Y.cryptoPeriodIndex}));W.publish(\"widevine_set_need_key_info\",Y)}}else W.TY(Y)}};\nHH=function(W){this.track=W;this.buffered=[];this.J=this.T=0;this.X={};this.C=0;this.W=new aR};\n$D=function(W,Y){Y=Math.pow(10,Y);return Math.floor(W*Y)/Y};\nsc=function(){g.D.apply(this,arguments);this.PDq=new Map};\nzv=function(W,Y,k,P,T){W={retry:!0,onSuccess:k,onError:P,networklessOptions:W,dangerousLogToVisitorSession:Y,HIh:!!T,headers:{},postBodyFormat:\"\",postBody:\"\",compress:g.dS(\"compress_gel\")||g.dS(\"compress_gel_lr\")};T37()&&(W.headers[\"X-Goog-Request-Time\"]=JSON.stringify(Math.round((0,g.lj)())));return W};\nv0X=function(W,Y){if(W===Y)W=!0;else if(Array.isArray(W)&&Array.isArray(Y))W=g.BK(W,Y,v0X);else if(g.XG(W)&&g.XG(Y))a:if(g.oX(W).length!=g.oX(Y).length)W=!1;else{for(var k in W)if(!v0X(W[k],Y[k])){W=!1;break a}W=!0}else W=!1;return W};\nd15=function(W,Y){if(W.zJ.OR()&&W.mediaElement){var k=W.mediaElement.ER();k.omt=(W.mediaElement.getCurrentTime()+W.m2()).toFixed(3);k.ps=W.playerState.state.toString(16);k.rt=(g.Jj(W.FA.provider)*1E3).toFixed();k.e=Y;W.EO[W.gB++%5]=k}try{if(Y===\"timeupdate\"||Y===\"progress\")return}catch(P){}W.logger.debug(function(){return\"video element event \"+Y})};\nm1z=function(W){var Y=W.api.getPlayerSize();return g.hN(W.api.V())&&Y.width>=524};\nuYF=function(W){var Y=zV(W)===\"adunit\"?W.mT:lt(W)?zV(W)===\"detailpage\"||zV(W)===\"shortspage\"?W.isAutonav||W.xm>0:W.Dm?!1:W.pg.nu||W.pg.i_||!g.hN(W.pg)?!0:!1:(W.Dm?0:W.nu)&&g.hN(W.pg)?!0:!1;W.U(\"html5_log_detailpage_autoplay\")&&zV(W)===\"detailpage\"&&W.y5(\"autoplay_info\",{autoplay:W.zv,autonav:W.isAutonav,wasDompaused:W.Dm,result:Y});return Y};\nknv=function(W){W.audioTrack.A5=[];W.videoTrack.A5=[]};\nv7=function(W,Y){return W.Y.V().U(Y)};\ng9=function(W,Y,k,P){Y=Y===void 0?{}:Y;if(P===void 0?0:P)return Y.disabled=1,0;if(LZ(W.C,Up.AV1_CODECS)&&LZ(W.C,Up.HEIGHT)&&LZ(W.C,Up.BITRATE))return Y.isCapabilityUsable=1,8192;try{var T=OP5();if(T&&!W.U(\"disable_av1_setting\"))return Y.localPref=T}catch(h){}P=1080;T=navigator.hardwareConcurrency;T<=2&&(P=480);Y.coreCount=T;if(T=g.je(W.experiments,\"html5_default_av1_threshold\"))P=Y[\"default\"]=T;!W.U(\"html5_disable_av1_arm_check\")&&Y$d()&&(Y.isArm=1,P=240);if(W=W.C.Kg)Y.mcap=W,P=Math.max(P,W);if(k){var I,\nX;if(W=(I=k.videoInfos.find(function(h){return jQ(h)}))==null?void 0:(X=I.K)==null?void 0:X.powerEfficient)P=8192,Y.isEfficient=1;\nk=k.videoInfos[0].video;I=Math.min(IY(\"1\",k.fps),IY(\"1\",30));Y.perfCap=I;P=Math.min(P,I);k.isHdr()&&!W&&(Y.hdr=1,P*=.75)}else k=IY(\"1\",30),Y.perfCap30=k,P=Math.min(P,k),k=IY(\"1\",60),Y.perfCap60=k,P=Math.min(P,k);return Y.av1Threshold=P};\ng.dP=function(W,Y,k,P){P=P===void 0?{}:P;if(!W||!W.addEventListener&&!W.attachEvent)return\"\";var T=iKz(W,Y,k,P);if(T)return T;T=++D1C.count+\"\";var I=!(Y!=\"mouseenter\"&&Y!=\"mouseleave\"||!W.addEventListener||\"onmouseenter\"in document);var X=I?function(h){h=new Ss(h);if(!yC(h.relatedTarget,function(B){return B==W},!0))return h.currentTarget=W,h.type=Y,k.call(W,h)}:function(h){h=new Ss(h);\nh.currentTarget=W;return k.call(W,h)};\nX=g.nT(X);W.addEventListener?(Y==\"mouseenter\"&&I?Y=\"mouseover\":Y==\"mouseleave\"&&I?Y=\"mouseout\":Y==\"mousewheel\"&&\"MozBoxSizing\"in document.documentElement.style&&(Y=\"MozMousePixelScroll\"),gv2()||typeof P===\"boolean\"?W.addEventListener(Y,X,P):W.addEventListener(Y,X,!!P.capture)):W.attachEvent(\"on\"+Y,X);u$[T]=[W,Y,k,X,P];return T};\nbV6=function(W){return W.info.W.xk()&&W.info.t5===W.info.W.index.QU()};\nF8z=function(W){return{Xy:Qx(W,1),items:RQ(W,2,MtX),TX:Qx(W,3)}};\nwXS=function(W,Y){Y===W.videoTrack?W.V5=0:W.Fr=0};\nUA=function(W,Y){this.request=W;this.cursor=Y};\npZ=function(W){if(W<0){en(0-W);var Y=g.e(ri(JC,sp));W=Y.next().value;Y=Y.next().value;JC=W>>>0;sp=Y>>>0}else en(W)};\nE0=function(W,Y,k){return W.protocol+\"://i1.ytimg.com/vi/\"+Y+\"/\"+(k||\"hqdefault.jpg\")};\nQy=function(W,Y,k,P){g.tR.call(this);this.callback=W;this.J=P;this.W=[];this.K=new CP2(W,Y,k)};\nv_X=function(W){W.K=!1;var Y={};W.W&&W.videoId&&(Y.cttAuthInfo={token:W.W,videoId:W.videoId});XF(\"ad_to_video\",Y);vqC(W)};\nf1=function(W,Y){g.Lj.call(this,W,void 0,\"Options\");var k=this;this.cw={};for(var P=0;P>>8&255;W.OE[W.pending++]=Y&255};\ncZV=function(){return Tm(MT(),function(W){return\"\"+W})};\neu5=function(W){var Y,k,P=(Y=W.W)==null?void 0:(k=Y.bannerData)==null?void 0:k.itemData;return W.Y.U(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")&&(P==null||!P.priceReplacementText)&&(P==null?0:P.promotionText)?P==null?void 0:P.promotionText.content:null};\novC=function(){var W=[\"metadata_type_ads_engagement_panel_renderer\",\"metadata_type_linked_player_bytes_layout_id\"];Nd().forEach(function(Y){W.push(Y)});\nreturn{ya:W,EV:[\"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON\"]}};\nRx0=function(){var W=g.hL.__SAPISID||g.hL.__APISID||g.hL.__3PSAPISID||g.hL.__1PSAPISID||g.hL.__OVERRIDE_SID;if(W)return!0;typeof document!==\"undefined\"&&(W=new cw(document),W=W.get(\"SAPISID\")||W.get(\"APISID\")||W.get(\"__Secure-3PAPISID\")||W.get(\"__Secure-1PAPISID\"));return!!W};\nvvq=function(W,Y,k,P,T){this.callback=W;this.slot=Y;this.layout=k;this.sP=P;this.QH=T;W=kW(this.layout.clientMetadata,\"metadata_type_ad_placement_config\");this.dD=new Rn(k.W7,this.sP,W,k.layoutId)};\neL7=function(W){var Y=g.Zw();if(Y)if(Y.clear(W),W)TL2(W);else for(var k in ZN)TL2(k)};\nV3=function(W,Y,k){W.state.W.hasOwnProperty(Y)||D4(W,Y,k);W.app.V().L&&(W.state.L[Y]=function(){return k.apply(W,g.xh.apply(0,arguments))},W.state.X.add(Y))};\nYR=function(){return{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V19L1.01 19.20C1.05 19.66 1.26 20.08 1.58 20.41C1.91 20.73 2.33 20.94 2.79 20.99L3 21H21L21.20 20.98C21.66 20.94 22.08 20.73 22.41 20.41C22.73 20.08 22.94 19.66 22.99 19.20L23 19V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01ZM3 19V5H21V19H3ZM6.97 8.34C6.42 8.64 5.96 9.09 5.64 9.63L5.50 9.87C5.16 10.53 4.99 11.26 5 12L5.00 12.27C5.04 12.92 5.21 13.55 5.50 14.12L5.64 14.36C5.96 14.90 6.42 15.35 6.97 15.65L7.21 15.77C7.79 16.01 8.43 16.06 9.03 15.91L9.29 15.83C9.88 15.61 10.39 15.23 10.77 14.73C10.93 14.53 11.00 14.27 10.97 14.02C10.94 13.77 10.82 13.53 10.63 13.37C10.44 13.20 10.19 13.11 9.93 13.12C9.68 13.13 9.44 13.24 9.26 13.43L9.19 13.50C9.05 13.70 8.85 13.85 8.62 13.94L8.54 13.97C8.35 14.02 8.16 14.00 7.99 13.92L7.91 13.88C7.67 13.75 7.48 13.56 7.35 13.32L7.28 13.20C7.11 12.88 7.02 12.52 7.00 12.16L7 12C6.99 11.58 7.09 11.16 7.28 10.79L7.35 10.67C7.48 10.43 7.67 10.24 7.91 10.11C8.10 10.00 8.32 9.97 8.54 10.02L8.62 10.05C8.81 10.12 8.98 10.24 9.11 10.39L9.19 10.49L9.26 10.57C9.43 10.74 9.66 10.85 9.91 10.87C10.15 10.89 10.40 10.81 10.59 10.66C10.79 10.51 10.92 10.29 10.96 10.05C11.01 9.80 10.96 9.55 10.83 9.34L10.77 9.26L10.60 9.05C10.24 8.65 9.79 8.35 9.29 8.16L9.03 8.08C8.34 7.91 7.60 8.00 6.97 8.34ZM14.97 8.34C14.42 8.64 13.96 9.09 13.64 9.63L13.50 9.87C13.16 10.53 12.99 11.26 13 12L13.00 12.27C13.04 12.92 13.21 13.55 13.50 14.12L13.64 14.36C13.96 14.90 14.42 15.35 14.97 15.65L15.21 15.77C15.79 16.01 16.43 16.06 17.03 15.91L17.29 15.83C17.88 15.61 18.39 15.23 18.77 14.73C18.93 14.53 19.00 14.27 18.97 14.02C18.94 13.77 18.82 13.53 18.63 13.37C18.44 13.20 18.19 13.11 17.93 13.12C17.68 13.13 17.44 13.24 17.26 13.43L17.19 13.50C17.05 13.70 16.85 13.85 16.62 13.94L16.54 13.97C16.35 14.02 16.16 14.00 15.99 13.92L15.91 13.88C15.67 13.75 15.48 13.56 15.35 13.32L15.28 13.20C15.11 12.88 15.02 12.52 15.00 12.16L15 12C14.99 11.58 15.09 11.16 15.28 10.79L15.35 10.67C15.48 10.43 15.67 10.24 15.91 10.11C16.10 10.00 16.32 9.97 16.54 10.02L16.62 10.05C16.81 10.12 16.98 10.24 17.11 10.39L17.19 10.49L17.26 10.57C17.43 10.74 17.66 10.85 17.91 10.87C18.15 10.89 18.40 10.81 18.59 10.66C18.79 10.51 18.92 10.29 18.96 10.05C19.01 9.80 18.96 9.55 18.83 9.34L18.77 9.26L18.60 9.05C18.24 8.65 17.79 8.35 17.29 8.16L17.03 8.08C16.34 7.91 15.60 8.00 14.97 8.34Z\",\nfill:\"white\"}}]}};\nh6=function(W,Y,k,P){P=P===void 0?0:P;isNaN(W.Kg)||(W.y5(\"aswm\",{sq:Y[0].t5,id:Y[0].W.info.itag,xtag:Y[0].W.info.W,ep:Date.now()-W.Kg}),W.Kg=NaN);switch(k.info.type){case 1:case 2:fvq(W,k);break;case 4:var T=k.info.W,I=T.Jw(k),X;((X=W.K)==null?0:X.type===4)&&rV2(k.info,W.K)&&(W.K=T.sY(W.K).pop());k=g.e(I);for(T=k.next();!T.done;T=k.next())h6(W,Y,T.value,P);break;case 3:k.info.W.info.video?(T=W.timing,T.TJ||(T.TJ=(0,g.lj)(),g.AR(\"fvb_r\",T.TJ,T.W))):(T=W.timing,T.X||(T.X=(0,g.lj)(),g.AR(\"fab_r\",T.X,\nT.W)));Cc7(W.T,Y,k,P);W.policy.W&&O$6(W);break;case 6:Cc7(W.T,Y,k,P),W.K=k.info}};\nG8=function(W,Y){var k,P;return(P=(k=W.J)!=null?k:Y.priority)!=null?P:0};\nd9C=function(){return{S:\"svg\",D:{viewBox:\"0 0 24 24\"},B:[{S:\"path\",D:{d:\"M0 0h24v24H0z\",fill:\"none\"}},{S:\"path\",D:{d:\"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z\",fill:\"#fff\"}}]}};\nL85=function(W,Y){W.W.delete(Y.aJ())||EF(\"Trying to unregister a AdErrorInfoSupplier that has not been registered yet.\")};\nwi=function(W){return W.Y.V().experiments.Nq(\"enable_desktop_player_underlay\")};\nU16=function(W){W.logger.debug(\"Rebuffering.\");W.y0=!0;if(W.policy.D_&&W.j1){var Y,k,P,T;W.y5(\"lr_rb\",{c:W.getCurrentTime(),s:W.isSeeking(),ab:pH(W.j1.W.Mt()),ala:(Y=Qg(W.audioTrack))==null?void 0:Y.TW(),alr:(k=W.audioTrack.K)==null?void 0:k.TW(),vb:pH(W.j1.K.Mt()),vla:(P=Qg(W.videoTrack))==null?void 0:P.TW(),vlr:(T=W.videoTrack.K)==null?void 0:T.TW()})}W.W6.u2()!==0&&W.y5(\"sps_rebuffer\",{c:W.getCurrentTime()})};\ntU=function(W){var Y=da();W=Y?Y.createHTML(W):W;return new mE(W)};\nlr5=function(W){W.isChecked=W.isChecked;W.J5(\"ytp-autonav-toggle-button\").setAttribute(\"aria-checked\",String(W.isChecked));var Y=W.isChecked?\"Autoplay is on\":\"Autoplay is off\";W.Y.V().U(\"player_tooltip_data_title_killswitch\")?W.update({title:Y,label:Y}):W.update({\"data-tooltip-title\":Y,label:Y});W.Y.wc()};\nr3=function(W){this.value=W};\nx1z=function(W,Y){if(Y){var k=Y.background;k&&g.R(k,b4C)&&(k=(k=g.R(k,b4C).image)&&Ao(k)||\"\",g.Xi(k)?g.Jx(Error(\"Found ThumbnailDetails without valid image URL\")):g.KX(W.UP,\"backgroundImage\",\"url(\"+k+\")\"));if(Y.durationMilliseconds==null||Y.durationMilliseconds===void 0||Y.durationMilliseconds===0)W=Error(\"durationMilliseconds unset or 0 for SurveyAdQuestionCommon: \"+JSON.stringify(Y)),g.LH(W);else{W.J=g.hQ();W.W=new PB(W.api,Y.durationMilliseconds);g.m(W,W.W);if(W.W&&Y.instreamAdPlayerOverlay&&g.R(Y.instreamAdPlayerOverlay,\ncXd))try{var P=new LC(W.api,W.layoutId,W.interactionLoggingClientData,W.B6,W.W);P.S1(W.playerOverlay);P.init(R1(\"survey-player-overlay\"),g.R(Y.instreamAdPlayerOverlay,cXd),W.macros);W.T=P;g.m(W,P);W.Qu()}catch(T){P=Error(\"ISAPOR had an error when initializing. Error: \"+(T+\" SurveyAdQuestionCommon: \"+JSON.stringify(Y))),g.LH(P)}else P=Error(\"ISAPOR was not present in renderer. SurveyAdQuestionCommon: \"+JSON.stringify(Y)),g.LH(P);W.W&&Y.durationMilliseconds&&Y.durationMilliseconds>0?(Y=new UN(W.api,\nW.W),Y.S1(W.playerOverlay),g.m(W,Y)):(W=Error(\"Survey progress bar was not added. SurveyAdQuestionCommon: \"+JSON.stringify(Y)),g.LH(W))}}else g.LH(Error(\"addCommonComponents() needs to be called before starting countdown.\"))};\ntm=function(W){g.D.call(this);var Y=this;this.provider=W;this.W=-1;this.C=!1;this.K=-1;this.playerState=new g.ZR;this.networkErrorCount=this.rebufferTimeSecs=this.playTimeSecs=this.T=0;this.encounteredSabrFallback=!1;this.seekCount=this.nonNetworkErrorCount=0;this.delay=new g.fC(this.send,6E4,this);this.J=!1;this.jsErrorCount=0;this.zW={hm:function(){Y.hm()}};\nthis.hm=function(){Y.jsErrorCount++};\ng.m(this,this.delay);window.addEventListener(\"error\",this.hm);window.addEventListener(\"unhandledrejection\",this.hm)};\ndc=function(){};\nrX=function(W,Y,k){return W.split(Y).LL.split(k).Mu};\neiC=function(W){W.logger.debug(\"reset for new application playback\");FO(W);W.setLoopVideo(!1);W.setLoopRange(null);W.Ii.publish(\"legacyadtrackingpingreset\");W.yW={};W.Xa=[];Td0(W.C1);if(W.cz){var Y=W.cz,k=W.zn();k.getPlayerType();SG(Y,!1);um(Y);Fy7(Y);Y.playback=k}Y=W.Ha;W=W.zn();W.getPlayerType()!==1&&QY(Y,\"invalidParentVideoPlayerType\");L8(Y,!1);frd(Y);Y.W=W};\nxHS=function(W){for(var Y=Array(W.W),k=0;k=W.K&&k.l4&&!k.zr&&!W.api.isEmbedsShortsMode()&&!Y};\nczF=function(W,Y){W.status=\"km\";aj(\"drm_net_s\",void 0,W.videoData.A5);var k=new g.p2(W.zJ.Wu),P={context:g.JV(k.config_||g.sV())};P.drmSystem=NI0[W.K.flavor];P.videoId=W.videoData.videoId;P.cpn=W.videoData.clientPlaybackNonce;P.sessionId=W.sessionId;P.licenseRequest=g.Pk(Y.message);P.drmParams=W.videoData.drmParams;isNaN(W.cryptoPeriodIndex)||(P.isKeyRotated=!0,P.cryptoPeriodIndex=W.cryptoPeriodIndex);var T,I,X=!!((T=W.videoData.K)==null?0:(I=T.video)==null?0:I.isHdr());P.drmVideoFeature=X?\"DRM_VIDEO_FEATURE_PREFER_HDR\":\n\"DRM_VIDEO_FEATURE_SDR\";if(P.context&&P.context.client){if(T=W.zJ.W)P.context.client.deviceMake=T.cbrand,P.context.client.deviceModel=T.cmodel,P.context.client.browserName=T.cbr,P.context.client.browserVersion=T.cbrver,P.context.client.osName=T.cos,P.context.client.osVersion=T.cosver;P.context.user=P.context.user||{};P.context.request=P.context.request||{};W.videoData.TJ&&(P.context.user.credentialTransferTokens=[{token:W.videoData.TJ,scope:\"VIDEO\"}]);P.context.request.mdxEnvironment=W.videoData.mdxEnvironment||\nP.context.request.mdxEnvironment;W.videoData.tT&&(P.context.user.kidsParent={oauthToken:W.videoData.tT});g.Bk(W.K)&&(P.fairplayKeyId=g.Pk(zS5(W.fairplayKeyId)));g.ws(W.zJ,g.Q7(W.videoData)).then(function(h){arF(Y,P,k,h);W.status=\"rs\"})}else W.error(\"drm.net\",2,\"t.r;ic.0\")};\nWPd=function(W){var Y=Math,k=Y.round,P=Math.min((0,g.lj)()-W.J,W.K);Y=k.call(Y,(W.K-P)/1E3);W.updateValue(\"duration\",nZ({seconds:Y}));Y<=0&&W.W?W.stopTimer():W.W&&W.W.start()};\nY3d=function(W){var Y=!W.V().Er&&W.getPresentingPlayerType()!==3;return W.isFullscreen()||Y};\ngW=function(W,Y){W.logger.debug(function(){return\"[closeStream] formatId: \"+Y});\nvar k=W.jj.get(Y);if(k&&!k.Lu){k.Lu=!0;if(k.onProgress)k.onProgress();$M1(W)&&W.T.tK()}};\ns0=function(W){es&&W&&$gd(W)};\ncB6=function(W,Y,k){var P;(P=W.W.get(k))==null||P.delay.dispose();W.W.delete(k);return new Promise(function(T){T={id:k,mediaTime:Y,delay:new g.fC(function(){}),\nresolve:T};W.W.set(k,T);x9(W,T)})};\nI3=function(W,Y){return W=(2&Y?W|2:W&-3)&-273};\nfrd=function(W,Y,k){Y=Y===void 0?-1:Y;k=k===void 0?Infinity:k;for(var P=Y,T=k,I=g.e(W.C),X=I.next();!X.done;X=I.next()){var h=g.e(X.value);X=h.next().value;h=h.next().value;h.L7>=P&&h.target&&h.target.vz<=T&&(W.W.removeCueRange(X),W.C.delete(X))}P=Y;T=k;I=[];X=g.e(W.K);for(h=X.next();!h.done;h=X.next())if(h=h.value,h.pH>=P&&h.vz<=T){var B=W;B.G===h&&bC(B);cL(B,h)&&B.app.nY()}else I.push(h);W.K=I;P=p01(W,Y/1E3);Y=P.qS;P=P.cS;Y&&(P*=1E3,mod(W,Y,P,Y.vz===Y.pH+Y.durationMs?Y.pH+P:Y.vz));(Y=p01(W,k/1E3).qS)&&\nQY(W,\"Invalid clearEndTimeMs=\"+k+\" that falls during playback={timelinePlaybackId=\"+(Y.U1+\" video_id=\"+Y.playerVars.video_id+\" durationMs=\"+Y.durationMs+\" enterTimeMs=\"+Y.pH+\" parentReturnTimeMs=\"+Y.vz+\"}.Child playbacks can only have duration updated not their start.\"))};\nFrS=function(W){return W.replace(/(\\d+)---/g,function(Y,k){Y=Number(k);return(Y===1?2:Y-1)+\"---\"})};\nWX7=function(W,Y,k,P,T,I,X,h){h=h===void 0?!1:h;if(Y.LH&&X&&X.length>1&&!(Y.nh>0||Y.L)){for(var B=Y.K||!!T,O=B&&Y.D_?I:void 0,u=QWS(Y,P),Z=[],M=[],t={},q=0;q0&&(V.push(z),V.push(new Oo(U.adPodSkipTarget)));(I=O.get(U.externalVideoId))&&V.push(new Af(I));I=V}else I=new l(\"Invalid vod media renderer\")}if(I instanceof\nl)return I;W=Object.assign({},X,P,{W7:F,renderingContent:k.renderingContent,clientMetadata:new i_(I),XA:kN(u,W)(X),adLayoutLoggingData:k.adLayoutMetadata.adLayoutLoggingData});k=g.R(k.renderingContent,c4);if(!k||!H5(k))return new l(\"Invalid meida renderer\");Z=hn(Z,k.externalVideoId);Z.instreamVideoAdRenderer=k;Z.vE=\"AD_PLACEMENT_KIND_START\";return t?(B=Pe(M,W,B,G,u,E,q,z,!1),B instanceof l?B:UD5(W.layoutId,M)&&B?{layout:Object.assign({},W,{clientMetadata:new i_(I.concat(new LDd(B)))})}:{layout:W,\nZS:B}):{layout:W}};\nXxC=function(W){W.provider.videoData.googleRemarketingUrl&&!W.Kg&&(mm(W,W.provider.videoData.googleRemarketingUrl),W.Kg=!0)};\nij=function(W){g.D.call(this);this.provider=W;this.X=\"paused\";this.C=NaN;this.G=[10,10,10,40];this.N=this.L=0;this.Kg=this.gD=this.wD=this.A5=this.J=!1;this.K=this.T=NaN;this.logger=new g.M_(\"vss\");this.W=new gYd(W)};\nQAz=function(W){W=W||P7();for(var Y=new nkv(g.hL.location.href,!1),k=null,P=W.length-1,T=P;T>=0;--T){var I=W[T];!k&&S3X.test(I.url)&&(k=I);if(I.url&&!I.W){Y=I;break}}T=null;I=W.length&&W[P].url;Y.depth!==0&&I&&(T=W[P]);return new hIF(Y,T,k)};\nBCX=function(W,Y){W.W6.y5(\"sdai\",{adj4t:Y.toFixed(3)});W.Fr=Y;Y+=1;W.K=Y;W.J=Y;PI(W).then(function(k){NX(W,k)},function(){Vt(W)})};\noJ=function(W){return Hr(W)&&W.allowLiveDvr};\ni$V=function(W){W=dE(W);return new g.z6(W.left,W.top)};\nIr1=function(W,Y,k,P){var T=W.kind;P=P?!1:!W.hideCueRangeMarker;switch(T){case \"AD_PLACEMENT_KIND_START\":return P={AE:new VX(-0x8000000000000,-0x8000000000000),jl:P},k!=null&&(P.f8=new VX(-0x8000000000000,-0x8000000000000)),P;case \"AD_PLACEMENT_KIND_END\":return P={AE:new VX(0x7ffffffffffff,0x8000000000000),jl:P},k!=null&&(P.f8=new VX(Math.max(0,Y-k),0x8000000000000)),P;case \"AD_PLACEMENT_KIND_MILLISECONDS\":T=W.adTimeOffset;T.offsetStartMilliseconds||EF(\"AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds.\");\nT.offsetEndMilliseconds||EF(\"AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.\");W=Number(T.offsetStartMilliseconds);T=Number(T.offsetEndMilliseconds);T===-1&&(T=Y);if(Number.isNaN(W)||Number.isNaN(T)||W>T)return new l(\"AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.\",{offsetStartMs:W,offsetEndMs:T},\"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START\",T===Y&&W-500<=T);P={AE:new VX(W,T),jl:P};if(k!=null){W=Math.max(0,W-k);if(W===T)return P;P.f8=new VX(W,T)}return P;\ndefault:return new l(\"AdPlacementKind not supported in convertToRange.\",{kind:T,adPlacementConfig:W})}};\nMX=function(W){var Y=W.player.getPlayerStateObject();g.ML(W.player.getRootNode(),\"ytp-grid-ended-state\",g.p(Y,2))};\nOp6=function(W,Y){for(var k=W.element.getElementsByTagName(\"a\"),P=0;P=Y){Y=I;break a}}Y=T}return Y<0?NaN:Ba6(W,k?Y:0)?W[Y].startTime:NaN};\nSc=function(W,Y){Y.W>=2&&(W.slot_pos=Y.adPodIndex);W.autoplay=\"1\"};\nK67=function(W,Y,k){var P={};TMd(W,P,Y,k);u3F(P);P.LACT=ge(function(){return Ud().toString()});\nP.VIS=ge(function(){return W.getVisibilityState().toString()});\nP.SDKV=\"h.3.0\";P.VOL=ge(function(){return W.isMuted()?\"0\":Math.round(W.getVolume()).toString()});\nP.VED=\"\";return P};\nxJ1=function(W,Y,k,P){if(!k.playerVars)return new l(\"No playerVars available in AdIntroRenderer.\");var T=DX(k.playerVars);T.autoplay=\"1\";return function(I){var X=I.slotId;I=P(I);X=yN(W.K.get(),\"LAYOUT_TYPE_MEDIA\",X);var h={layoutId:X,layoutType:\"LAYOUT_TYPE_MEDIA\",fg:\"adapter\"};return{Xu:{layoutId:X,layoutType:\"LAYOUT_TYPE_MEDIA\",W7:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"adapter\",clientMetadata:new i_([new cr({}),\nnew yI(Y),new ao({current:null}),new W5(T)]),XA:I(h)},Yk:[new Zq(W.W,X,[\"error\"])],gM:[],uC:[],gt:[]}}};\nZpC=function(W){var Y=W.getVideoData().Aj,k=W.zJ.bz,P=W.isInline()&&!W.getVideoData().zs,T=W.mediaElement;Y||k||P?T.jc():(T.BL(),Ij(W,W.VH))};\nipv=function(W){return!W.keySystemAccess&&!!lP()&&W.keySystem===\"com.apple.fps.1_0\"};\nXLV=function(W){try{var Y=W.split(\",\");return Y.length>g.oX(ML1).length?null:Nq(Y,function(k,P){P=P.toLowerCase().split(\"=\");if(P.length!=2||tLF[P[0]]===void 0||!tLF[P[0]](P[1]))throw Error(\"Entry (\"+P[0]+\", \"+P[1]+\") is invalid.\");k[P[0]]=P[1];return k},{})}catch(k){return null}};\nDIX=function(W,Y,k){var P=g.Jj(W.provider);g.xd(W,P,\"vfi\",[Y===\"A\"?\"\":\"\"+(k!=null?k:0),Y])};\nDEF=function(W,Y){var k;return g.v(function(P){if(!Y)return P.return(Y);k=new g.iA(W.K);return P.return(k.encrypt(Y,W.W))})};\nrd=function(W,Y,k,P,T,I){ls.call(this,W,{S:\"div\",j:\"ytp-ad-skip-button-slot\"},\"skip-button\",Y,k,P,T);var X=this;this.Kg=null;this.TJ=!1;this.GJ=I;this.C=this.api.V().experiments.Nq(\"enable_modern_skip_button_on_web\");this.Q5=!1;this.T=new g.pk({S:\"span\",Ya:[\"ytp-ad-skip-button-container\"]});this.C&&this.T.element.classList.add(\"ytp-ad-skip-button-container-detached\");g.m(this,this.T);this.T.S1(this.element);this.K=this.J=null;this.bz=new g.fH(this.T,500,!1,100,function(){return X.hide()});\ng.m(this,this.bz);this.UP=new j_(this.T.element,15E3,5E3,.5,.5,this.C);g.m(this,this.UP);this.hide()};\nq3d=function(W){var Y,k,P=(Y=W.W)==null?void 0:(k=Y.bannerData)==null?void 0:k.itemData,T,I,X,h;if(!((P==null?0:P.priceReplacementText)||W.Y.U(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")||(P==null?0:(T=P.dealsData)==null?0:(I=T.sales)==null?0:I.originalPrice))&&(P==null?0:(X=P.dealsData)==null?0:(h=X.priceDrop)==null?0:h.referencePrice)){var B,O;return P==null?void 0:(B=P.dealsData)==null?void 0:(O=B.priceDrop)==null?void 0:O.referencePrice}return null};\ng6z=function(W,Y){return\"\"+W+\"|\"+(Y?\"v\":\"a\")};\nRIS=function(W){var Y=W.timing.iW();Y.shost=Pd(77,W.SL.b5);return Y};\noc=function(W,Y){var k=\"f\"+(Math.floor(W/31)+1);W=1<=43&&(W=!0);lBv(\"Firefox\")<=40&&(W=!1);return W};\neqX=function(W,Y){g.z3(Y,function(T){return T.depth>=0});\nvar k=Nq(Y,function(T,I){return Math.max(T,I.depth)},-1),P=uzF(k+2);\nP[0]=W;g.hv(Y,function(T){return P[T.depth+1]=T.W});\nreturn P};\nmP5=function(W){if(W=W.Ik(\"html5_web_po_experiment_ids\"))if(W=W.replace(/\\[ *(.*?) *\\]/,\"$1\"))return W.split(\",\").map(Number);return[]};\ng.Zg=function(W){W&&(typeof W==\"string\"&&(W=[W]),g.hv(W,function(Y){if(Y in u$){var k=u$[Y],P=k[0],T=k[1],I=k[3];k=k[4];P.removeEventListener?gv2()||typeof k===\"boolean\"?P.removeEventListener(T,I,k):P.removeEventListener(T,I,!!k.capture):P.detachEvent&&P.detachEvent(\"on\"+T,I);delete u$[Y]}}))};\nKY=function(W,Y,k,P,T){P===0||k.includes(P);var I=UQ(W),X=GV(I,W,Y,k,T);X!==P&&(X&&(Y=$a(W,Y,X,void 0,T)),I.set(k,P));return Y};\nSW7=function(W){if(W.A3&&W.F6){var Y=I7(W.gZ,\"od\")==1,k=aX().W,P=W.F6,T=W.jL?W.jL.getName():\"ns\",I=W.oQ,X=new g.Sn(T3(k),k.getHeight());k=W.lP();W={kjS:T,oQ:I,Gv1:X,lP:k,Gr:W.Yf.Gr,Os5:Y};if(Y=P.K){Y.bZ();T=Y.N;I=T.T.W;var h=X=null;T.X!=null&&I&&(X=T.J,X=new g.z6(X.left-I.left,X.top-I.top),h=new g.Sn(I.right-I.left,I.bottom-I.top));T=k?Math.max(T.W,T.C):T.W;k={kjS:Y.getName(),oQ:X,Gv1:h,lP:k,Os5:!1,Gr:T}}else k=null;k&&HQ2(P,W,k)}};\niH=function(){return g.fF(\"cobalt\")&&g.fF(\"appletv\")};\nnz1=function(W){this.W=W};\nzv5=function(W){this.h5=rT(W)};\npx6=function(W){g.KK.call(this,W,{S:\"div\",j:\"ytp-playlist-menu\",D:{role:\"dialog\",id:wL()},B:[{S:\"div\",j:\"ytp-playlist-menu-header\",B:[{S:\"div\",j:\"ytp-playlist-menu-title\",B:[W.V().J?{S:\"span\",j:\"ytp-playlist-menu-title-name\",v6:\"{{title}}\"}:{S:\"a\",j:\"ytp-playlist-menu-title-name\",D:{href:\"{{playlisturl}}\"},v6:\"{{title}}\"},{S:\"button\",Ya:[\"ytp-playlist-menu-close\",\"ytp-button\"],D:{\"aria-label\":\"Close\"},B:[g.xe()]}]},{S:\"div\",j:\"ytp-playlist-menu-subtitle\",v6:\"{{subtitle}}\"}]},{S:\"div\",j:\"ytp-playlist-menu-items\",\nD:{role:\"menu\"}}]},250);this.api=W;this.J=this.selected=this.T=this.playlist=null;this.items=this.J5(\"ytp-playlist-menu-items\");this.W=new g.x5(this);this.playlistData=[];this.Z(this.J5(\"ytp-playlist-menu-close\"),\"click\",this.n1);var Y=this.J5(\"ytp-playlist-menu-title-name\");W.V().J||(this.J=this.Z(Y,\"click\",this.Zqh));g.m(this,this.W);this.hide()};\njHq=function(W,Y){if(Y.W.info.video&&Y.T){var k=(Y.K+Y.J)/Y.duration,P=Y.W.info.c6;k&&P&&(W.Q5.NL(1,k/P),W.policy.J&&k/P>1.5&&W.loader.y5(\"overshoot\",{sq:Y.t5,br:k,max:P}))}};\nqw=function(W,Y){return!W.X&&Zt()&&UX(55)&&W.controlsType===\"3\"&&!Y};\nzBC=function(W){var Y=GUX(W.T);Y?Y.then(If(function(){imv(W)}),If(function(k){if(!W.Xr()){g.LH(k);\nvar P=\"t.a\";k instanceof DOMException&&(P+=\";n.\"+k.name+\";m.\"+k.message);W.publish(\"licenseerror\",\"drm.unavailable\",1,P,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\")}})):(W.Ur({mdkrdy:1}),W.N=!0);\nW.A5&&(Y=GUX(W.A5))};\nbN=function(W,Y,k){var P=this;this.policy=W;this.W=Y;this.gD=k;this.T=this.K=0;this.Ma=null;this.A5=new Set;this.N=[];this.indexRange=this.initRange=null;this.L=new $e;this.Kg=this.wD=!1;this.zW={Ktz:function(){return P.J},\nqIP:function(){return P.chunkSize},\nU86:function(){return P.G},\nYI2:function(){return P.X}};\n(Y=ikd(this))?(this.chunkSize=Y.csz,this.J=Math.floor(Y.clen/Y.csz),this.G=Y.ck,this.X=Y.civ):(this.chunkSize=W.Ki,this.J=0,this.G=g.BV(16),this.X=g.BV(16));this.C=new Uint8Array(this.chunkSize);this.G&&this.X&&(this.crypto=new sAX(this.G,this.X))};\nyKd=function(W,Y,k){Y.match(KP2);return W(Y,k).then(function(P){var T=g.l20(P.xhr);return T?yKd(W,T,k):P.xhr})};\nEzq=function(W,Y,k,P,T){this.J=W;this.K=Y;this.C=k;this.cpn=P;this.X=T;this.T=0;this.W=\"\"};\nWK2=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M){W=va(W,Y,k,T,I,X,h,B,Z,CM(W,k,P.layoutId,\"createSubLayoutVodSkippableMediaBreakLayoutForEndcap\"),M);Y=W.Si;k=new LM(W.DN);P=W.layoutExitSkipTriggers;O>0&&(Y.push(k),Y.push(new Oo(O)),P=[]);Y.push(new u_(u));return{Xu:{layoutId:W.layoutId,layoutType:W.layoutType,W7:W.W7,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:W.fg,clientMetadata:new i_(Y),XA:W.XA,adLayoutLoggingData:W.adLayoutLoggingData},\nYk:P,gM:W.layoutExitMuteTriggers,uC:W.layoutExitUserInputSubmittedTriggers,gt:W.II,ZS:W.ZS}};\ned=function(W,Y,k,P,T,I,X,h){var B={layoutId:Y,layoutType:I,fg:\"core\"};return{layoutId:Y,layoutType:I,W7:new Map,layoutExitNormalTriggers:[new L6(W.W,k)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:new i_([new yI(P)].concat(g.cp(X))),XA:T(B),adLayoutLoggingData:h}};\nlx0=function(W,Y,k,P){Y={dW:[],JB:Y};W=g.e(W);for(var T=W.next();!T.done;T=W.next())if((T=T.value)&&T.renderer!=null){var I=T.renderer;if(!k.Y.V().U(\"html5_enable_vod_lasr_with_notify_pacf\")){var X=void 0,h=void 0,B=void 0,O=void 0,u=P;g.R((O=I.sandwichedLinearAdRenderer)==null?void 0:O.adVideoStart,cO)?(X=g.R((B=I.sandwichedLinearAdRenderer)==null?void 0:B.adVideoStart,cO),X=Hnv(X,u),g.AT(I.sandwichedLinearAdRenderer.adVideoStart,cO,X)):g.R((h=I.linearAdSequenceRenderer)==null?void 0:h.adStart,cO)&&\n(B=g.R((X=I.linearAdSequenceRenderer)==null?void 0:X.adStart,cO),X=Hnv(B,u),g.AT(I.linearAdSequenceRenderer.adStart,cO,X))}Y.dW.push(T)}return Y};\nJs0=function(W){return W.G||W.U(\"web_player_media_session_infinity\")&&W.isLivePlayback};\ns$5=function(W,Y,k){if(W.W){var P=e6(tK(Y,\"key\"))||\"/UNKNOWN_PATH\";W.W.start(P)}P=k;g.dS(\"wug_networking_gzip_request\")&&(P=PAS(k));var T;return new ((T=W.T)!=null?T:window.Request)(Y,P)};\nVE5=function(){try{var W=g.o3(\"yt.ads.biscotti.getId_\");return W?W():rs2()}catch(Y){return m5(Y)}};\ng.zF=function(){this.W=new Map;this.J=new Map;this.K=new Map};\nAsz=function(W,Y,k){var P=W.api.getCurrentTime()*1E30?{associatedSlotId:k}:{},P.length>0?{slots:P}:{}));\nreturn Y};\nIV=function(W,Y,k,P){this.P6=W;this.sP=Y;this.QH=k;this.i8=P};\nmMq=function(W){LW=W};\nwy7=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M){k=jy1(Y,k,P,I,X,h,B,O,u,Z,M);if(k instanceof l)return k;W=XvS(Y,W,X,T,k);return W instanceof l?W:[].concat(g.cp(W.I6),[W.Q3])};\nsS=function(W){var Y=W.U(\"web_enable_pip_on_miniplayer\");g.c.call(this,{S:\"button\",Ya:[\"ytp-miniplayer-button\",\"ytp-button\"],D:{title:W.U(\"player_tooltip_data_title_killswitch\")?\"{{title}}\":\"\",\"data-tooltip-title\":\"{{tooltip-title}}\",\"aria-keyshortcuts\":\"i\",\"data-priority\":\"7\",\"data-title-no-tooltip\":\"{{data-title-no-tooltip}}\",\"data-tooltip-target-id\":\"ytp-miniplayer-button\"},B:[\"{{icon}}\"]});this.Y=W;this.visible=!1;this.listen(\"click\",this.onClick);this.Z(W,\"fullscreentoggled\",this.xa);this.Y.U(\"player_tooltip_data_title_killswitch\")?\nthis.update({title:g.T_(W,\"Miniplayer\",\"i\"),\"data-title-no-tooltip\":\"Miniplayer\",icon:cMX(this,Y)}):this.update({\"tooltip-title\":g.T_(W,\"Miniplayer\",\"i\"),\"data-title-no-tooltip\":\"Miniplayer\",icon:cMX(this,Y)});pt(W,this.element,this);W.createClientVe(this.element,this,62946);this.xa()};\nsk=function(W){var Y={},k=g.WNz(W.W);Object.keys(k).forEach(function(P){Y[P]=k[P]});\nreturn Y};\ng.Co=function(W){this.Ha=W};\nhB=function(W){var Y,k;return(k=(Y=W.W6.bd())==null?void 0:Y.getCurrentTime())!=null?k:W.W6.getCurrentTime()};\ncA=function(W){gm.call(this,\"Loop\",g.po.QO);this.Y=W;var Y=W.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M17.29 1.29C17.11 1.46 17.01 1.70 17.00 1.94C16.98 2.19 17.06 2.43 17.22 2.63L17.29 2.70L18.58 4H7C5.67 4 4.40 4.52 3.46 5.46C2.52 6.40 2 7.67 2 9V13C2 13.26 2.10 13.51 2.29 13.70C2.48 13.89 2.73 14 3 14C3.26 14 3.51 13.89 3.70 13.70C3.89 13.51 4 13.26 4 13V9C4 8.20 4.31 7.44 4.87 6.87C5.44 6.31 6.20 6 7 6H18.58L17.29 7.29C17.11 7.48 17.01 7.73 17.01 7.99C17.01 8.25 17.11 8.50 17.30 8.69C17.49 8.88 17.74 8.98 18.00 8.98C18.26 8.98 18.51 8.88 18.70 8.70L22.41 5L18.70 1.29L18.63 1.22C18.43 1.06 18.19 .98 17.94 1.00C17.70 1.01 17.46 1.11 17.29 1.29ZM21 10C20.73 10 20.48 10.10 20.29 10.29C20.10 10.48 20 10.73 20 11V15C20 15.79 19.68 16.55 19.12 17.12C18.55 17.68 17.79 18 17 18H5.41L6.70 16.70C6.80 16.61 6.87 16.50 6.93 16.38C6.98 16.26 7.01 16.12 7.01 15.99C7.01 15.86 6.98 15.73 6.93 15.60C6.88 15.48 6.81 15.37 6.71 15.28C6.62 15.18 6.51 15.11 6.39 15.06C6.26 15.01 6.13 14.98 6.00 14.98C5.87 14.98 5.73 15.01 5.61 15.06C5.49 15.12 5.38 15.19 5.29 15.29L1.58 19L5.29 22.70L5.36 22.77C5.56 22.92 5.80 23.00 6.04 22.99C6.29 22.98 6.52 22.87 6.70 22.70C6.87 22.52 6.98 22.29 6.99 22.04C7.00 21.80 6.92 21.56 6.77 21.36L6.70 21.29L5.41 20H17C18.32 20 19.59 19.47 20.53 18.53C21.47 17.59 22 16.32 22 15V11C22 10.73 21.89 10.48 21.70 10.29C21.51 10.10 21.26 10 21 10Z\",\nfill:\"white\"}}]}:DMv();this.setIcon(Y);this.subscribe(\"select\",this.K,this);W.createClientVe(this.element,this,28661);this.Z(W,\"settingsMenuVisibilityChanged\",this.W);this.listen(\"click\",this.logClick);this.Z(W,\"onLoopChange\",this.onLoopChange);B5(this,W.getLoopVideo());W.ML().c7(this)};\nUtS=function(){var W={},Y=window.performance;if(Y){var k=Y.memory;if(k){W.jsTotal=k.totalJSHeapSize;W.jsUsed=k.usedJSHeapSize;W.jsLimit=k.jsHeapSizeLimit;var P,T;W.msTotal=(T=(P=k.getMediaSourceTotalAllocatedMemory)==null?void 0:P.call(k))!=null?T:k.totalMediaSourceSize;var I,X;W.msLimit=(X=(I=k.getMediaSourceMaximumMemoryCapacity)==null?void 0:I.call(k))!=null?X:k.mediaSourceSizeLimit;var h,B;W.msUsed=(B=(h=k.getMediaSourceCurrentMemoryCapacity)==null?void 0:h.call(k))!=null?B:k.usedMediaSourceMemorySize}Y.measureAvailableCpuMemory&&\n(W.cbFree=Y.measureAvailableCpuMemory());Y.measureUsedCpuMemory&&(W.cbUsed=Y.measureUsedCpuMemory())}var O;if((O=window.h5vcc)==null?0:O.cVal)W.cbFree=window.h5vcc.cVal.getValue(\"Memory.CPU.Free\"),W.cbUsed=window.h5vcc.cVal.getValue(\"Memory.CPU.Used\"),W.cbJs=window.h5vcc.cVal.getValue(\"Memory.JS\");return W};\ngzS=function(W,Y){var k=[];Y=g.e(Y);for(var P=Y.next();!P.done;P=Y.next())k.push(g.ZK(P.value,W.H6.t9));return k};\nOKC=function(){this.K=this.position=this.J=this.W=this.T=this.width=NaN};\nXO=function(W,Y){var k=kW(W.clientMetadata,\"metadata_type_eligible_for_ssap\");return k===void 0?(EF(\"Expected SSAP eligibility in PlayerBytes factory\",W),!1):Y.OU(k)};\nSf0=function(){return!!g.GK(\"yt-player-headers-readable\")};\ndd=function(W,Y){W.add(Y==null||isNaN(Y)?0:Y+1)};\nFPd=function(W){var Y,k;return((Y=W.W)==null?void 0:(k=Y.a5)==null?void 0:k.DD)||0};\nlk5=function(W,Y){if((W=M7(W,Y))&&W.onCueRangeExit)return Rp(W.onCueRangeExit)};\nwxd=function(W){W.Ww&&(W.xhr.status=W.Ww,W.Zg=W.Ww)};\nJ_=function(W){if(!$0&&!k0||!Pn)return!1;for(var Y=0;Y>>13;P-=T;P-=k;P^=k<<8;T-=k;T-=P;T^=P>>>13;k-=P;k-=T;k^=T>>>12;P-=T;P-=k;P^=k<<16;T-=k;T-=P;T^=P>>>5;k-=P;k-=T;k^=T>>>3;P-=T;P-=k;P^=k<<10;T-=k;T-=P;T^=P>>>15}\nW=oOF(W);for(var k=2654435769,P=2654435769,T=314159265,I=W.length,X=I,h=0;X>=12;X-=12,h+=12)k+=xB(W,h),P+=xB(W,h+4),T+=xB(W,h+8),Y();T+=I;switch(X){case 11:T+=W[h+10]<<24;case 10:T+=W[h+9]<<16;case 9:T+=W[h+8]<<8;case 8:P+=W[h+7]<<24;case 7:P+=W[h+6]<<16;case 6:P+=W[h+5]<<8;case 5:P+=W[h+4];case 4:k+=W[h+3]<<24;case 3:k+=W[h+2]<<16;case 2:k+=W[h+1]<<8;case 1:k+=W[h+0]}Y();return ysF.toString(T)};\nNE=function(W,Y,k){W.state.W.hasOwnProperty(Y)||D4(W,Y,k);W.state.G[Y]=function(){return k.apply(W,g.xh.apply(0,arguments))};\nW.state.X.add(Y)};\nzR5=function(W,Y,k,P,T){if(!P.info.T){if(k.length===0)k.push(P);else{var I;(W=(I=k.pop())==null?void 0:g.lB(I,P))?k.push(W):k.push(P)}return T}var X;(k=(X=k.pop())==null?void 0:g.lB(X,P))||(k=P);if(k.info.K)return W.logger&&W.logger({incompleteSegment:k.info.TW()}),T;P=W.jb(k);T=P.t5;P={clipId:P.clipId,formatId:P.formatId,startTimeMs:P.startTimeMs,durationMs:P.nU,T9:T,wV:T};T=T92(Y,P.startTimeMs);if(I=k=T>=0?Y[T]:null){I=P;var h=T;X=k.startTimeMs+k.durationMs;var B=I.startTimeMs+I.durationMs;if(I.startTimeMs-\nX>W.K)I=!1;else if(cS5(W,k.formatId,I.formatId))k.durationMs=Math.max(X,B)-k.startTimeMs,k.wV=Math.max(k.wV,I.wV),I=!0;else if(Math.abs(k.startTimeMs-I.startTimeMs)<=W.K)if(k.durationMs>I.durationMs+W.K){var O=k.formatId,u=k.T9;h=k.wV;k.formatId=I.formatId;k.durationMs=I.durationMs;k.T9=I.T9;k.wV=I.wV;I.formatId=O;I.startTimeMs=B;I.durationMs=X-B;I.T9=u;I.wV=h;I=!1}else k.formatId=I.formatId,I=!0;else X>I.startTimeMs&&(X>B&&(Y.splice(h+1,0,{formatId:k.formatId,startTimeMs:B,durationMs:X-B,T9:I.wV+\n1,wV:k.wV}),W.logger&&W.logger({splitOldStart:(O=k.startTimeMs)==null?void 0:O.toFixed(3),splitOldEnd:X==null?void 0:X.toFixed(3),splitNewStart:(u=I.startTimeMs)==null?void 0:u.toFixed(3),splitNewEnd:B==null?void 0:B.toFixed(3)})),k.durationMs=I.startTimeMs-k.startTimeMs,k.wV=I.T9-1),I=!1}I?P=k:(T+=1,Y.splice(T,0,P));O=0;for(u=T+1;u=B+k.K?k=!0:h+k.K=0||Y.ob.xG(\"defrag\")===\"1\"||Y.ob.xG(\"otf\")===\"1\"){Y=null;break a}T=Y0(0,4096)}T=new $V([new i2(5,P.W,T,\"createProbeRequestInfo\"+P.G,P.t5)],Y.K);T.W4=k;T.W=Y.W;Y=T}Y&&qv(W,Y)}};\nOX=function(W,Y){W.jj.has(Y)&&(Mn?W.jj.get(Y).j5.clear():W.jj.get(Y).bD=new $A,gW(W,Y),W.K=!0)};\nZGd=function(W,Y){W.C1.tick(\"vta\");Xc(\"vta\",void 0,\"video_to_ad\");W.getCurrentTime()>0&&GGF(W.O1,W.getCurrentTime());W.mediaElement.activate(Y);W.j1&&d8(4);!W.videoData.Kg&&W.playerState.isOrWillBePlaying()&&W.Pb.start();if(YE0(W)){var k;if(Y=(k=W.mediaElement)==null?void 0:k.audioTracks())Y.onchange=function(){W.publish(\"internalaudioformatchange\",W.videoData,!0)}}};\nvDX=function(W){if(wkC(W))return W;AC(W);return bJ0()};\niLF=function(W,Y,k){W.J||(W.J=new nfF(W.K));return RB1(W.J,Y,k)};\nn5=function(W){this.W=W};\nCRq=function(W,Y,k,P,T,I){this.callback=W;this.slot=Y;this.layout=k;this.J=P;this.W=T;this.K=I};\nkS0=function(W){function Y(){a:{if(bE)throw Error(\"\");if(fd!==null){var P=fd.uG;if(P===void 0||P.As!==k){var T=void 0,I=fd.bf;if(I&&(T=P!==void 0?P.s7:fd.producers,T!==void 0&&T.As===k)){fd.uG=T;T.Wh6=k.version;break a}var X=k.Iw,h;if(!(h=X===void 0||X.M7!==fd)){if(I){b:{h=fd;I=h.uG;if(I!==void 0){h=h.producers;do{if(h===X){I=!0;break b}if(h===I)break;h=h.s7}while(h!==void 0)}I=!1}I=!I}h=I}h&&(I=ub(fd),T={As:k,M7:fd,s7:T,hP:X,Wh6:k.version,hg:void 0},fd.uG=T,P!==void 0?P.s7=T:fd.producers=T,I&&R_S(k,\nT))}}}return k.value}\nvar k=Object.create(LPd);k.value=W;Y[PC5]=k;return[Y,function(P){return B86(k,P)},\nfunction(P){if(!SNF())throw Error();B86(k,P(k.value))}]};\nu3F=function(W){W.CONN=ge(e9(\"0\"));W.WT=ge(function(){return Date.now().toString()})};\nQ$5=function(){var W=W===void 0?{}:W;g.nT(function(){vJ()&&aj(\"aa\",void 0,void 0);XaV();Cx();B$(!1);W.cttAuthInfo&&(C$().cttAuthInfo=W.cttAuthInfo);V1(\"TIMING_AFT_KEYS\",[]);W.DVq?g.lN({loadType:\"hot\"}):g.lN({loadType:\"warm\"});V1(\"TIMING_ACTION\",\"\");delete g.o_(\"TIMING_INFO\",{}).yt_lt;g.nT(jp)(W.startTime,void 0)})()};\nUM2=function(W){W.W&&(W.T=!0,W.K&&(W.K.stop(),W.K.start()),GTV(W,\"TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED\"),Fr(W.sP.get(),\"ads_ce\",\"bdc.\"+TAX(W).length))};\nQsV=function(W){g.E2(W.W,function(Y){Y.W>1E5||++Y.W})};\nWQ=function(W,Y){this.topic=W;this.W=Y};\nNUz=function(W){if(W.range)return W.J;W=W.EP[0];return Math.round(W.L*W.W.info.c6)};\nDl=function(W,Y){Uh(W,13,Y.timeSinceLastManualFormatSelectionMs);var k=Y.lastManualDirection;k!==void 0&&(oL(W,112),oL(W,k<<1^k>>31));Uh(W,16,Y.zSa);Uh(W,17,Y.detailedNetworkType);Uh(W,18,Y.eX);Uh(W,19,Y.lV);Uh(W,21,Y.xx5);Uh(W,23,Y.It);Uh(W,28,Y.DD);Uh(W,29,Y.en5);Uh(W,34,Y.visibility);k=Y.playbackRate;if(k!==void 0){var P=new ArrayBuffer(4);(new Float32Array(P))[0]=k;k=(new Uint32Array(P))[0];if(k!==void 0)for(oL(W,285),Qc(W,4),P=0;P<4;)W.view.setUint8(W.pos,k&255),k>>=8,W.pos+=1,P+=1}Uh(W,36,Y.s5);\nMB(W,38,Y.mediaCapabilities,afC,3);Uh(W,39,Y.lgJ);Uh(W,40,Y.Pd);Uh(W,44,Y.playerState);lm(W,46,Y.U5);Uh(W,48,Y.Ko);Uh(W,50,Y.Vw);Uh(W,51,Y.Co);Uh(W,54,Y.qo);if(Y.tB)for(k=0;k>6|192;else{if(I>=55296&&I<=57343){if(I<=56319&&T=56320&&X<=57343){I=(I-55296)*1024+\nX-56320+65536;P[k++]=I>>18|240;P[k++]=I>>12&63|128;P[k++]=I>>6&63|128;P[k++]=I&63|128;continue}else T--}if(Y)throw Error(\"Found an unpaired surrogate\");I=65533}P[k++]=I>>12|224;P[k++]=I>>6&63|128}P[k++]=I&63|128}}W=k===P.length?P:P.subarray(0,k)}return W};\nctd=function(W){W=W.api.V();return g.m9(W)&&W.K};\nHMC=function(W,Y,k){if(!W.W.has(Y)){W.W.add(Y);var P={};W.params.cU.P7(Y,Object.assign({},k,(P.p_ac=W.params.adCpn,P.p_isv=W.params.EZ&&W.params.qa,P)))}};\nfIC=function(W){return new i2(W.type,W.W,W.range,\"getEmptyStubAfter\"+W.G,W.t5,W.startTime+W.duration,0,W.K+W.J,0)};\nBF=function(W,Y,k){aj(\"pbs\",Y!=null?Y:(0,g.lj)(),k!=null?k:W.timerName)};\nNCC=function(W,Y,k,P,T,I,X,h){W=ryd(W,k,I,X,P,function(B){var O=B.slotId;B=h(B);O=yN(Y.K.get(),\"LAYOUT_TYPE_FORECASTING\",O);var u={layoutId:O,layoutType:\"LAYOUT_TYPE_FORECASTING\",fg:\"core\"},Z=new Map,M=T.impressionUrls;M&&Z.set(\"impression\",M);return{layoutId:O,layoutType:\"LAYOUT_TYPE_FORECASTING\",W7:Z,layoutExitNormalTriggers:[new vq(Y.W,O)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],fg:\"core\",clientMetadata:new i_([new VLS(T),new yI(k)]),XA:B(u)}});\nreturn W instanceof l?W:[W]};\ngd=function(W){W=g.R2(W);for(var Y=g.e(Object.keys(W)),k=Y.next();!k.done;k=Y.next()){k=k.value;var P=W[k];W[k]=Array.isArray(P)?P[0]:P}return W};\naId=function(W){BI(W,\"impression\")&&!BI(W,\"seek\")&&W.h$(\"active_view_viewable\")};\nIY=function(W,Y,k){W=\"\"+W+(Y>49?\"p60\":Y>32?\"p48\":\"\");Y=MT()[W];if(Y!=null&&Y>0)return Y;Y=wg.get(W);if(Y!=null&&Y>0)return Y;k=k==null?void 0:k.get(W);return k!=null&&k>0?k:8192};\ng.Fq=function(W,Y){g.nT(function(){g.hv(Y,function(k){jy(k,W);var P=U5({cttAuthInfo:lD(W)||void 0},W);k={csn:W,ve:k.getAsJson(),eventType:4};W===\"UNDEFINED_CSN\"?bD(\"visualElementShown\",P,k):g.qc(\"visualElementShown\",k,P)})})()};\nwd=function(W){return W.map(function(Y){return HQ(Y)})};\nwc=function(W,Y,k,P,T,I){T=T===void 0?[]:T;CC.call(this,W,{S:\"div\",Ya:[\"ytp-ad-confirm-dialog-background\"],B:[{S:\"div\",j:\"ytp-ad-confirm-dialog-container\",B:[{S:\"div\",Ya:[\"ytp-ad-confirm-dialog\"].concat(T),D:{role:\"dialog\",tabindex:\"-1\"},B:[{S:\"div\",j:\"ytp-ad-confirm-dialog-title\",v6:\"{{title}}\"},{S:\"div\",j:\"ytp-ad-confirm-dialog-messages\"},{S:\"div\",j:\"ytp-ad-confirm-dialog-confirm-container\",B:[{S:\"button\",j:\"ytp-ad-confirm-dialog-cancel-button\",v6:\"{{cancelLabel}}\"},{S:\"button\",j:\"ytp-ad-confirm-dialog-confirm-button\",\nv6:\"{{confirmLabel}}\"}]}]}]},{S:\"button\",Ya:[\"ytp-ad-confirm-dialog-close-overlay-button\",\"ytp-ad-button\",\"ytp-ad-button-link\"],B:[{S:\"span\",j:\"ytp-ad-button-icon\",B:[g.xe()]}]}]},I===void 0?\"confirm-dialog\":I,Y,k,P);this.N=this.J5(\"ytp-ad-confirm-dialog-close-overlay-button\");this.T=this.J5(\"ytp-ad-confirm-dialog-cancel-button\");this.C=this.J5(\"ytp-ad-confirm-dialog-confirm-button\");this.Kg=this.J5(\"ytp-ad-confirm-dialog-messages\");this.J=null;this.W=new EQ;g.m(this,this.W);this.K=null;this.hide()};\nRW=function(W,Y){W.J.Ov=Y;g.ML(W.api.getRootNode(),\"ytp-probably-keyboard-focus\",Y);g.ML(W.contextMenu.element,\"ytp-probably-keyboard-focus\",Y)};\nW_d=function(W,Y,k){g.Lj.call(this,W);var P=this;this.Mq=Y;this.qt=k;this.getVideoUrl=new nf(6);this.Q7=new nf(5);this.Gq=new nf(4);this.ER=new nf(3);this.EF=new g.Ia(g.XE({href:\"{{href}}\",target:this.Y.V().N},void 0,!0),2,\"Troubleshoot playback issue\");this.showVideoInfo=new g.Ia(g.XE(),1,\"Stats for nerds\");this.Uo=new g.pk({S:\"div\",Ya:[\"ytp-copytext\",\"ytp-no-contextmenu\"],D:{draggable:\"false\",tabindex:\"1\"},v6:\"{{text}}\"});this.Kk=new Cj(this.Y,this.Uo);this.cB=this.ma=null;g.hN(this.Y.V())&&(this.closeButton=\nnew g.c({S:\"button\",Ya:[\"ytp-collapse\",\"ytp-button\"],D:{title:\"Close\"},B:[g.Lr()]}),g.m(this,this.closeButton),this.closeButton.S1(this.element),this.closeButton.listen(\"click\",this.bH,this));g.hN(this.Y.V())&&(this.e6=new g.Ia(g.XE(),8,\"Account\"),g.m(this,this.e6),this.c7(this.e6,!0),this.e6.listen(\"click\",this.tLz,this),W.createClientVe(this.e6.element,this.e6,137682));this.Y.V().Ka&&(this.fL=new gm(\"Loop\",7),g.m(this,this.fL),this.c7(this.fL,!0),this.fL.listen(\"click\",this.dTz,this),W.createClientVe(this.fL.element,\nthis.fL,28661));this.Y.U(\"web_player_miniplayer_in_context_menu\")&&(this.Rl=new g.Ia(g.XE(),6,\"Miniplayer\"),g.m(this,this.Rl),this.c7(this.Rl,!0),this.Rl.listen(\"click\",this.a_5,this),W.createClientVe(this.Rl.element,this.Rl,62946));g.m(this,this.getVideoUrl);this.c7(this.getVideoUrl,!0);this.getVideoUrl.listen(\"click\",this.jba,this);W.createClientVe(this.getVideoUrl.element,this.getVideoUrl,28659);g.m(this,this.Q7);this.c7(this.Q7,!0);this.Q7.listen(\"click\",this.Z15,this);W.createClientVe(this.Q7.element,\nthis.Q7,28660);g.m(this,this.Gq);this.c7(this.Gq,!0);this.Gq.listen(\"click\",this.xTD,this);W.createClientVe(this.Gq.element,this.Gq,28658);g.m(this,this.ER);this.c7(this.ER,!0);this.ER.listen(\"click\",this.I_P,this);g.m(this,this.EF);this.c7(this.EF,!0);this.EF.listen(\"click\",this.zJJ,this);g.m(this,this.showVideoInfo);this.c7(this.showVideoInfo,!0);this.showVideoInfo.listen(\"click\",this.skP,this);g.m(this,this.Uo);this.Uo.listen(\"click\",this.SRg,this);g.m(this,this.Kk);Hpq()&&(this.ma=new g.c({S:\"textarea\",\nj:\"ytp-html5-clipboard\",D:{readonly:\"\",tabindex:\"-1\"}}),g.m(this,this.ma),this.ma.S1(this.element));var T;(T=this.e6)==null||T.setIcon(qx7());var I;(I=this.fL)==null||I.setIcon(DMv());var X;(X=this.Rl)==null||X.setIcon(c0());this.ER.setIcon({S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{\"clip-rule\":\"evenodd\",d:\"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z\",\nfill:\"white\",\"fill-rule\":\"evenodd\"}}]});this.EF.setIcon(wZd());this.showVideoInfo.setIcon(A4F());this.Z(W,\"onLoopChange\",this.onLoopChange);this.Z(W,\"videodatachange\",this.onVideoDataChange);this.Z(W,\"fullscreentoggled\",function(){GlC(P)});\nbC6(this);Kj6(this,this.Y.getVideoData())};\nED=function(W,Y,k,P,T,I){I=I===void 0?!1:I;var X={S:\"div\",Ya:[\"ytp-input-slider-section\"],B:[{S:\"input\",j:\"ytp-input-slider\",D:{role:\"slider\",tabindex:\"0\",type:\"range\",min:\"{{minvalue}}\",max:\"{{maxvalue}}\",step:\"{{stepvalue}}\",value:\"{{slidervalue}}\"}}]};T&&X.B.unshift(T);I&&X.Ya.push(\"ytp-vertical-slider\");g.c.call(this,X);this.T=W;this.C=Y;this.G=k;this.initialValue=P;this.header=T;this.K=this.J5(\"ytp-input-slider\");this.W=P?P:W;this.init();this.Z(this.K,\"input\",this.J);this.Z(this.K,\"keydown\",\nthis.X)};\nemV=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M){k=J76(Y,k,P,I,X,h,B,O,u,Z,M);sVd(I)?(P=It6(Y,W),W=Tb(Y.K.get(),\"SLOT_TYPE_IN_PLAYER\"),I=yN(Y.K.get(),\"LAYOUT_TYPE_SURVEY\",W),h=fz(Y,P,h),Y=[].concat(g.cp(h.slotExpirationTriggers),[new DN(Y.W,I)]),W=k({slotId:h.slotId,slotType:h.slotType,slotPhysicalPosition:h.slotPhysicalPosition,slotEntryTrigger:h.slotEntryTrigger,slotFulfillmentTriggers:h.slotFulfillmentTriggers,slotExpirationTriggers:Y,fg:h.fg},{slotId:W,layoutId:I}),T=W instanceof l?W:{Q3:Object.assign({},\nh,{slotExpirationTriggers:Y,clientMetadata:new i_([new H$(W.layout)]),adSlotLoggingData:T}),I6:W.I6}):T=XvS(Y,W,h,T,k);return T instanceof l?T:[].concat(g.cp(T.I6),[T.Q3])};\nYmd=function(W){aj(\"drm_pb_s\",void 0,W.A5);W.GJ||W.W&&A4(W.W);var Y={};W.W&&(Y=xRV(W.TT,g.CN(W),W.pg.C,W.W,function(k){return W.publish(\"ctmp\",\"fmtflt\",k)},!0,new Set));\nY=new Q9(Y,W.pg,W.oX,W.useCobaltWidevine?iH()?MU(W):!1:!1,function(k,P){W.y5(k,P)});\ng.m(W,Y);W.y7=!1;W.loading=!0;DNX(Y,function(k){aj(\"drm_pb_f\",void 0,W.A5);for(var P=g.e(k),T=P.next();!T.done;T=P.next())switch(T=T.value,T.flavor){case \"fairplay\":T.GJ=W.GJ;T.n4=W.n4;T.U2=W.U2;break;case \"widevine\":T.S6=W.S6}W.PV=k;if(W.PV.length>0&&(W.C=W.PV[0],W.pg.OR())){k={};P=g.e(Object.entries(W.C.W));for(T=P.next();!T.done;T=P.next()){var I=g.e(T.value);T=I.next().value;I=I.next().value;var X=\"unk\";(T=T.match(/(.*)codecs=\"(.*)\"/))&&(X=T[2]);k[X]=I}W.y5(\"drmProbe\",k)}W.M4()})};\n$h7=function(W){W.W||(W.W=new eE);return W.W};\nkqS=function(W,Y){if(Y.info.video){if(W.J!==Y)return W.J=Y,gxC(W)}else W.V5=W.G!==Y,W.G=Y;return null};\ng.XU=function(W,Y){g.D.call(this);this.W6=W;this.G=Y;this.J=NaN;this.C=this.X=this.started=!1;this.K=[];this.L=new g.fC(this.sync,250,this);g.m(this,this.L);this.T=new g.fC(this.sync,0,this);g.m(this,this.T);this.W=new Jd1};\nAXF=function(W,Y){g.d2.call(this,\"Sleep timer\",g.po.SLEEP_TIMER,W,Y);this.Y=W;this.X={};this.T=this.NE(\"Off\");this.C=this.W=\"\";W.U(\"web_settings_menu_icons\")&&(Y=W.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M12.33 1.00C12.22 1.00 12.11 1.00 12 1C5.92 1 1 5.92 1 12C1 18.07 5.92 23 12 23C13.90 23.00 15.78 22.50 17.44 21.55C19.10 20.61 20.48 19.25 21.46 17.61L21.64 17.29C22.06 16.52 21.21 15.73 20.35 15.88C18.76 16.15 17.12 15.94 15.66 15.27C14.19 14.59 12.97 13.49 12.14 12.11C11.31 10.73 10.91 9.13 11.01 7.52C11.11 5.91 11.69 4.37 12.67 3.09L12.89 2.83C13.45 2.16 13.20 1.03 12.33 1.00ZM15.56 2.60C15.45 2.84 15.43 3.11 15.51 3.36C15.59 3.61 15.77 3.82 16.01 3.94C16.91 4.39 17.73 4.99 18.44 5.71L18.73 6.03L18.80 6.10C18.99 6.27 19.22 6.36 19.47 6.37C19.72 6.37 19.96 6.28 20.15 6.12C20.33 5.95 20.45 5.72 20.48 5.48C20.51 5.23 20.44 4.98 20.29 4.78L20.23 4.70L19.87 4.31C19.01 3.43 18.01 2.70 16.90 2.15C16.67 2.03 16.39 2.01 16.14 2.10C15.89 2.18 15.68 2.36 15.56 2.60M10.24 3.17C9.42 4.64 8.99 6.31 9 8C9 13.42 13.32 17.84 18.71 17.99C17.86 18.93 16.83 19.69 15.67 20.21C14.52 20.73 13.26 21.00 12 21C9.76 21.00 7.60 20.17 5.95 18.67C4.29 17.17 3.25 15.10 3.03 12.88C2.81 10.65 3.43 8.43 4.76 6.63C6.09 4.84 8.05 3.60 10.24 3.17M21.16 7.88C20.93 7.96 20.73 8.12 20.61 8.34C20.49 8.55 20.45 8.81 20.50 9.05L20.53 9.15L20.66 9.56C20.93 10.53 21.04 11.54 20.98 12.55C20.97 12.81 21.06 13.06 21.23 13.26C21.41 13.45 21.65 13.57 21.92 13.59C22.18 13.60 22.44 13.52 22.63 13.34C22.83 13.17 22.95 12.93 22.97 12.67C23.05 11.44 22.92 10.20 22.58 9.02L22.43 8.51L22.39 8.42C22.29 8.19 22.11 8.01 21.88 7.91C21.65 7.81 21.40 7.80 21.16 7.88Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M16.67,4.31C19.3,5.92,21,8.83,21,12c0,4.96-4.04,9-9,9c-2.61,0-5.04-1.12-6.72-3.02C5.52,17.99,5.76,18,6,18 c6.07,0,11-4.93,11-11C17,6.08,16.89,5.18,16.67,4.31 M14.89,2.43C15.59,3.8,16,5.35,16,7c0,5.52-4.48,10-10,10 c-1,0-1.97-0.15-2.89-0.43C4.77,19.79,8.13,22,12,22c5.52,0,10-4.48,10-10C22,7.48,19,3.67,14.89,2.43L14.89,2.43z M12,6H6v1h4.5 L6,10.99v0.05V12h6v-1H7.5L12,7.01V6.98V6L12,6z\",fill:\"#fff\"}}]},this.setIcon(Y));\nthis.K=new g.c({S:\"div\",Ya:[\"ytp-menuitem-label-wrapper\"],B:[{S:\"div\",v6:\"End of video\"},{S:\"div\",Ya:[\"ytp-menuitem-sublabel\"],v6:\"{{content}}\"}]});g.m(this,this.K);this.listen(\"click\",this.onClick);this.Z(W,\"videodatachange\",this.onVideoDataChange);this.Z(W,\"presentingplayerstatechange\",this.xa);this.Z(W,\"settingsMenuVisibilityChanged\",this.TQ);W.createClientVe(this.element,this,218889);this.xa();this.Y.Ri(\"onSleepTimerFeatureAvailable\")};\nPvS=function(){this.K=this.W=\"\"};\ng.GH=function(W,Y){return Y?W.W.concat(W.K):W.W};\njBq=function(W){this.W=W};\nDW=function(W){var Y=TJ(W.W,W.pos);++W.pos;if(Y<128)return Y;for(var k=Y&127,P=1;Y>=128;)Y=TJ(W.W,W.pos),++W.pos,P*=128,k+=(Y&127)*P;return k};\ng.Thq=function(W,Y){var k;return g.v(function(P){var T=g.o3(\"yt.aba.att\");return(k=T?T:Pv.instance!==void 0?Pv.instance.J.bind(Pv.instance):null)?P.return(k(\"ENGAGEMENT_TYPE_PLAYBACK\",W,Y)):P.return(Promise.resolve({error:\"ATTESTATION_ERROR_API_NOT_READY\"}))})};\nIF2=function(W,Y,k,P,T,I){var X=Y.cpn,h=Y.docid||Y.video_id||Y.videoId||Y.id,B=W.W;I=I===void 0?T+P:I;if(T>I)return QY(W,\"enterAfterReturn enterTimeMs=\"+T+\" is greater than parentReturnTimeMs=\"+I.toFixed(3),X,h),\"\";var O=B.aI()*1E3;if(TO)return B=\"returnAfterDuration parentReturnTimeMs=\"+I.toFixed(3)+\" is greater than parentDurationMs=\"+O+\". And timestampOffset in seconds is \"+\nB.m2(),QY(W,B,X,h),\"\";O=null;for(var u=g.e(W.K),Z=u.next();!Z.done;Z=u.next()){Z=Z.value;if(T>=Z.pH&&TZ.pH)return QY(W,\"overlappingReturn\",X,h),\"\";if(I===Z.pH)return QY(W,\"outOfOrder\",X,h),\"\";T===Z.vz&&(O=Z)}X=\"cs_childplayback_\"+jEC++;h={BK:fq(P,!0),L7:Infinity,target:null};var M={U1:X,playerVars:Y,playerType:k,durationMs:P,pH:T,vz:I,Ag:h};W.K=W.K.concat(M).sort(function(G,E){return G.pH-E.pH});\nO?ce1(W,O,{BK:fq(O.durationMs,!0),L7:O.Ag.L7,target:M}):(Y={BK:fq(T,!1),L7:T,target:M},W.C.set(Y.BK,Y),B.addCueRange(Y.BK));Y=!0;if(W.W===W.app.D2()&&(B=B.getCurrentTime()*1E3,B>=M.pH&&BP)return RH(W,I.config),SY2(W,I.configData),OG(W,I.hashData),h.return(D1());case 2:vK1(W);if(!(k&&W.W&&W.coldHashData&&W.configData)){h.oi(4);break}return g.L(h,qBq(W.W,\nW.coldHashData,W.configData,k,P),4);case 4:return W.W?h.return(D1()):(X=new g.M6(\"Config not available in ytConfig\"),PL(X),h.return(Promise.reject(X)))}})};\nlq=function(){return Bh7||(Bh7=new bq(null,cl))};\nO0q=function(W,Y){Y||(Y=Math.ceil(Math.log(W+2)/Math.log(2)/7));for(var k=1<<8-Y,P=[];P.length=.15&&ufS(W,\"INTERACTION_LOGGING_GESTURE_TYPE_SCROLL_BEGAN_DRAGGING\"),W.W=0,JD(W),g.Sr(W.api.getRootNode(),\"ytp-grid-scrolling\"))};\nLC2=function(W,Y){var k=Y.indexOf(\"?\");if(k>0){var P=pC(3,Y.substring(k+1));g.E2(P,function(T,I){this.set(I,T)},W);\nY=Y.substring(0,k)}Y=Hd(21,Y);g.E2(Y,function(T,I){this.set(I,T)},W)};\nZ02=function(W){var Y=Nq(W,function(T,I){return T+I.length},0);\nY=new Uint8Array(Y);var k=0;W=g.e(W);for(var P=W.next();!P.done;P=W.next())P=P.value,Y.set(P,k),k+=P.length;return Y};\ni01=function(W){W.h$(\"active_view_measurable\")};\nhlq=function(W,Y){return Rl(W,Y)||Math.abs(W.X-Y.C)<=1E-6||W.t5+1===Y.t5&&Y.K===0&&W.T?!0:!1};\nNt=function(){mp.apply(this,arguments)};\nRT7=function(W){var Y,k;g.v(function(P){if(P.W==1)return g.L(P,p6S(W),2);Y=P.K;k=(0,g.lj)()-2592E6;return g.L(P,g.KQ(Y,[\"SWHealthLog\"],{mode:\"readwrite\",sR:!0},function(T){return g.TN(T.objectStore(\"SWHealthLog\"),{},function(I){if(I.getValue().timestamp<=k)return I.delete().then(function(){return g.jK(I)})})}),0)})};\ng.Lz=function(W){for(var Y in W)return Y};\nLR=function(W,Y,k){W.jS>16-k?(W.Or|=Y<>16-W.jS,W.jS+=k-16):(W.Or|=Y<0&&W.set(\"osts\",\"\"+Y.startSeconds);P||(T.U(\"html5_onesie_disable_partial_segments\")&&W.set(\"oses\",\"1\"),Y=T.U(\"html5_gapless_onesie_no_media_bytes\")&&Dq(Y)&&Y.Cn,k&&!Y?(Y=k.audio,W.set(\"pvi\",k.video.join(\",\")),T.U(\"html5_onesie_disable_audio_bytes\")||W.set(\"pai\",Y.join(\",\")),KB||W.set(\"osh\",\"1\")):(W.set(\"oad\",\"0\"),W.set(\"ovd\",\"0\"),W.set(\"oaad\",\n\"0\"),W.set(\"oavd\",\"0\")))};\nFfd=function(W,Y,k,P,T,I,X){var h=Tb(W.K.get(),\"SLOT_TYPE_IN_PLAYER\"),B=yN(W.K.get(),\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",h);P=w25(W,P,I,X,B);if(P instanceof l)return P;X=[new jm(W.W,h)];T=[new Zp(W.W,I),new jm(W.W,T),new zb(W.W,T)];k=kN(k,{slotId:h,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:P,slotFulfillmentTriggers:X,slotExpirationTriggers:T});W=W.J.get();I={layoutId:B,layoutType:\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",fg:\"core\"};Y={layoutId:B,layoutType:\"LAYOUT_TYPE_TEXT_BANNER_OVERLAY\",\nW7:new Map,layoutExitNormalTriggers:[new qm0(W.W,B,Y.durationMs)],layoutExitSkipTriggers:[new E6q(W.W,B,Y.durationMs)],II:[new Cyd(W.W,B)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],fg:\"core\",clientMetadata:new i_([new Bu(Y)]),XA:k(I)};return{slotId:h,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:P,slotFulfillmentTriggers:X,slotExpirationTriggers:T,clientMetadata:new i_([new H$(Y)])}};\nab=function(W,Y,k,P){try{var T=Y.call(W.W.T,k);IZ1(T);if(!T.done)return W.W.G=!1,T;var I=T.value}catch(X){return W.W.T=null,AN(W.W,X),zK(W)}W.W.T=null;P.call(W.W,I);return zK(W)};\nRnq=function(W,Y){var k=0;W=W.W.W.get(Y);if(!W)return 0;W=g.e(W);for(Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y.durationMs!==0&&Y.vz!==Y.pH&&k++;return k};\nH0q=function(W,Y,k){k-=W.PF;return Y===W.W&&k>.5};\nLqd=function(W){return(W===void 0?0:W)&&g.dS(\"vss_through_gel_video_stats\")?\"video_stats\":\"log_event\"};\n$76=function(W,Y){return Y?!!W.W.get(Y):!1};\nw2=function(W,Y){if(Y.Ir)for(var k=0;k0?Y:null};\nYX=function(W,Y){return Ce(W,Y)>=0};\nlp5=function(W){EF(\"Received layout exit signal when not in layout exit flow.\",W.slot,W.layout)};\nK_5=function(W,Y){var k=[];Y=Array.from(Y.getElementsByTagName(\"SegmentTimeline\"));Y=g.e(Y);for(var P=Y.next();!P.done;P=Y.next()){P=P.value;var T=P.parentNode.parentNode,I=null;T.nodeName===\"Period\"?I=$h7(W):T.nodeName===\"AdaptationSet\"?(T=T.getAttribute(\"id\")||T.getAttribute(\"mimetype\")||\"\",I=GqS(W,T)):T.nodeName===\"Representation\"&&(T=T.getAttribute(\"id\")||\"\",I=iYd(W,T));if(I==null)return;I.update(P);g.Ga(k,YAX(I))}g.Ga(W.T,k);Y_v(W.T,function(X){return X.startSecs*1E3+X.W})};\nJn=function(W){this.value=W};\ng.Lf=function(W){if(g.gp(W.Y.V()))return W.zd.get(\"unplugged\")};\nut5=function(W,Y,k){if(!W)throw Error();if(arguments.length>2){var P=Array.prototype.slice.call(arguments,2);return function(){var T=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(T,P);return W.apply(Y,T)}}return function(){return W.apply(Y,arguments)}};\ncb=function(){SD.apply(this,arguments)};\nvC=function(W){this.K=W=W===void 0?Elq:W;this.W=g.Ab(this.K,function(){return new b4})};\nNb=function(W,Y,k,P,T){var I=W.W;I!==W.app.D2()&&W.app.nY();W.zJ.U(\"html5_sabr_csdai_seek_log\")||(T=\"\");var X;I.seekTo(Y,Object.assign({},{Fi:\"application_timelinemanager\"+((X=T)!=null?X:\"\")},k));tvq(W,P)};\nU0=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-ad-survey-interstitial\",B:[{S:\"div\",j:\"ytp-ad-survey-interstitial-contents\",B:[{S:\"div\",j:\"ytp-ad-survey-interstitial-logo\",B:[{S:\"div\",j:\"ytp-ad-survey-interstitial-logo-image\"}]},{S:\"div\",j:\"ytp-ad-survey-interstitial-text\"}]}]},\"survey-interstitial\",Y,k,P);this.W=this.actionButton=null;this.interstitial=this.J5(\"ytp-ad-survey-interstitial\");this.K=this.J5(\"ytp-ad-survey-interstitial-contents\");this.text=this.J5(\"ytp-ad-survey-interstitial-text\");\nthis.logoImage=this.J5(\"ytp-ad-survey-interstitial-logo-image\");this.transition=new g.fH(this,500,!1,300);g.m(this,this.transition)};\nX2v=function(W,Y,k,P,T){k=k?\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\":\"SLOT_TYPE_PLAYBACK_TRACKING\";var I=Tb(W.K.get(),k);Y=new Ju(W.W,Y);var X=[new jm(W.W,I)];W=[new Jp(W.W,I)];return{slotId:I,slotType:k,slotPhysicalPosition:1,slotEntryTrigger:Y,slotFulfillmentTriggers:X,slotExpirationTriggers:W,fg:\"core\",clientMetadata:new i_([new H$(T({slotId:I,slotType:k,slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:Y,slotFulfillmentTriggers:X,slotExpirationTriggers:W}))]),adSlotLoggingData:P}};\nl1=function(W,Y,k){m32(W.W(),Y,k)};\nnW5=function(W,Y){if(W.eW){var k=W.K.get(W.eW);if(k&&k.start-200<=Y&&k.end+200>=Y)return k}W=g.e(W.K.values());for(k=W.next();!k.done;k=W.next())if(k=k.value,k.start<=Y&&k.end>=Y)return k};\nsEd=function(W,Y){ex(W);if(Y){var k=g.B4.getState().entities;k=uk(k,\"featuredProductsEntity\",Y);if(k!=null&&k.productsData){Y=[];k=g.e(k.productsData);for(var P=k.next();!P.done;P=k.next()){P=P.value;var T=void 0;if((T=P)!=null&&T.identifier&&P.featuredSegments){W.gD.push(P);var I=void 0;T=g.e((I=P)==null?void 0:I.featuredSegments);for(I=T.next();!I.done;I=T.next()){var X=I.value;I=JY1(X.startTimeSec);I!==void 0&&(X=JY1(X.endTimeSec),Y.push(new g.Mm(I*1E3,X===void 0?0x7ffffffffffff:X*1E3,{id:P.identifier,\nnamespace:\"featured_product\"})))}}}W.Y.Bz(Y)}}};\nyXS=function(W){return g.KC(W.W,function(Y){return!!Y.info.video&&Y.info.video.qualityOrdinal>=2160})};\nZx0=function(){var W;if(g.dS(\"csi_use_performance_navigation_timing\")){var Y,k,P,T=vT==null?void 0:(W=vT.getEntriesByType)==null?void 0:(Y=W.call(vT,\"navigation\"))==null?void 0:(k=Y[0])==null?void 0:(P=k.toJSON)==null?void 0:P.call(k);T?(T.requestStart=hH(T.requestStart),T.responseEnd=hH(T.responseEnd),T.redirectStart=hH(T.redirectStart),T.redirectEnd=hH(T.redirectEnd),T.domainLookupEnd=hH(T.domainLookupEnd),T.connectStart=hH(T.connectStart),T.connectEnd=hH(T.connectEnd),T.responseStart=hH(T.responseStart),\nT.secureConnectionStart=hH(T.secureConnectionStart),T.domainLookupStart=hH(T.domainLookupStart),T.isPerformanceNavigationTiming=!0,W=T):W=vT.timing}else W=g.dS(\"csi_performance_timing_to_object\")?JSON.parse(JSON.stringify(vT.timing)):vT.timing;return W};\nrYv=function(W,Y){WE(W)?g.Vf(function(){Y(W)}):W.callback=Y};\nAYF=function(W,Y){var k=Y.lz,P=Y.video.fps,T=Y.video.qualityOrdinal-1,I=W.J;Y=\"\"+k+(P>49?\"p60\":P>32?\"p48\":\"\");k=IY(k,P,I);T>0&&(k=Math.min(k,T));if(!b1.has(Y)&&Vz().includes(Y)){var X=k;k=MT();+k[Y]>0&&(X=Math.min(+k[Y],X));k[Y]!==X&&(k[Y]=X,g.Zm(\"yt-player-performance-cap\",k,2592E3))}else if(b1.has(Y)||I==null){a:{X=X===void 0?!0:X;P=Vz().slice();if(X){if(P.includes(Y))break a;P.push(Y)}else{if(!P.includes(Y))break a;P.splice(P.indexOf(Y),1)}g.Zm(\"yt-player-performance-cap-active-set\",P,2592E3)}wg.set(Y,\nk)}else b1.add(Y),I==null||I.set(Y,k);W.W6.oA()};\nvxF=function(W,Y){var k=kW(W.clientMetadata,\"metadata_type_ad_placement_config\");return new Rn(W.W7,Y,k,W.layoutId)};\ncz=function(W){return W?g.NF(W):\"\"};\nXd=function(W){W.delay.stop();W.W.unsubscribe(\"dragmove\",W.X,W);W.W.unsubscribe(\"dragend\",W.C,W);W.J&&(W.J=!1,W.speedmasterUserEdu.SS(),W.api.setPlaybackRate(W.wD),W.api.showControls(),W.TJ&&W.api.pauseVideo(),W.U(\"enable_smart_skip_speedmaster_on_web\")&&W.api.publish(\"speedmasterchanged\",!1))};\nznC=function(W,Y){var k=new Map;W=g.e(W);for(var P=W.next();!P.done;P=W.next()){P=P.value;if(P.layoutType===\"LAYOUT_TYPE_MEDIA\")var T=\"v\";else P.layoutType===\"LAYOUT_TYPE_MEDIA_BREAK\"?(T=kW(P.clientMetadata,\"metadata_type_linked_in_player_layout_type\"),T=T===\"LAYOUT_TYPE_ENDCAP\"||T===\"LAYOUT_TYPE_VIDEO_INTERSTITIAL\"?\"e\":T===\"LAYOUT_TYPE_SURVEY\"?\"s\":T===\"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT\"?\"si\":\"u\"):T=\"u\";k.set(P.layoutId,T);if(T===\"u\"){var I={};T=Y;P=(I.c=P.layoutId,I);T.Y.y5(\"uct\",P)}}W=\nY.s3();tG={contentCpn:W,QS:k};P={};k=(P.ct=k.size,P.c=W,P);Y.Y.y5(\"acc\",k)};\nWG=function(W){return g.Lt(W.Y.gx())!=null?g.Lt(W.Y.gx()).VP()?!!W.Y.getOption(\"captions\",\"tracklist\",{includeAsr:!0}).length:!0:!1};\nTTv=function(){return\"googleAvInapp\".replace(/([A-Z])/g,\"-$1\").toLowerCase()};\ndhd=function(W,Y,k){var P,T=Y==null?void 0:(P=Y.text)==null?void 0:P.simpleText;T&&(k=Gud(W,k,T,Y==null?void 0:Y.icon,Y==null?void 0:Y.secondaryIcon),Y.navigationEndpoint&&k.listen(\"click\",function(){W.Y.Ri(\"innertubeCommand\",Y.navigationEndpoint);W.hide()},W))};\ng.Sn=function(W,Y){this.width=W;this.height=Y};\nxn=function(W,Y,k,P,T){this.K=W;this.W=Y;this.J=k;this.reason=P;this.c6=T===void 0?0:T};\nhp=function(){};\nAwz=function(W,Y){var k;return function(){k||(k=new Wz(W,Y));return k}};\nw_S=function(W){var Y=document.createElement(\"a\");g.Uf(Y,W);W=Y.href.replace(/^[a-zA-Z]+:\\/\\//,\"//\");return\"js-\"+kb(W)};\nmh2=function(W){var Y;return((Y=((W==null?void 0:W.messageRenderers)||[]).find(function(k){return!!k.timeCounterRenderer}))==null?void 0:Y.timeCounterRenderer)||null};\nnB=function(W,Y){l6.call(this,W,Y);this.A9=this.xm=!1;this.UP=this.wD=Infinity;this.Fr=NaN;this.K1=!1;this.Q5=NaN;this.f1=this.GJ=this.V5=0;this.GS=Y.GS||1;this.Ox=Y.Ox||this.GS;this.Dd=Y.Dd;this.t5=Y.t5;this.Cs=Y.Cs;TJ1(this);this.hA(this.W);this.Lg=(this.Q5-this.W)/1E3};\nF_z=function(W){var Y=new u3;Y=P0(Y,1,W.K);var k=uX1(W);Y=acd(Y,k,CQd);k=[];for(var P=[],T=g.e(W.W.keys()),I=T.next();!I.done;I=T.next())P.push(I.value.split(\",\"));for(T=0;TW.policy.nh,h=T<=W.policy.nh?jQ(P):b_(P);if(!I||X||h)k[T]=P}return k};\nPP=function(W,Y,k){W=pj(W,Y,k);return Array.isArray(W)?W:Pl};\nwYd=function(W,Y,k,P){if(!Y||!k||!Y.videoData.K)return!1;var T=g.je(W.zJ.experiments,\"html5_df_downgrade_thresh\"),I=W.U(\"html5_log_media_perf_info\");if(!((0,g.lj)()-W.T<5E3?0:I||T>0))return!1;var X=((0,g.lj)()-W.T)/1E3;W.T=(0,g.lj)();k=k.getVideoPlaybackQuality();if(!k)return!1;var h=k.droppedVideoFrames-W.X,B=k.totalVideoFrames-W.L;W.X=k.droppedVideoFrames;W.L=k.totalVideoFrames;var O=k.displayCompositedVideoFrames===0?0:k.displayCompositedVideoFrames||-1;I&&W.zJ.OR()&&W.W6.y5(\"ddf\",{dr:k.droppedVideoFrames,\nde:k.totalVideoFrames,comp:O});if(P)return W.W=0,!1;if((B-h)/X>W.N||!T||g.l_(W.zJ))return!1;W.W=(B>60?h/B:0)>T?W.W+1:0;if(W.W!==3)return!1;AYF(W,Y.videoData.K);W.W6.y5(\"dfd\",Object.assign({dr:k.droppedVideoFrames,de:k.totalVideoFrames},cZV()));return!0};\nQE2=function(W){es&&W&&yL(W)};\nRkd=function(W,Y,k,P){W=G_v(AmC(I80(new kK(1828,\"0\"),W),new Ob)).fd();Y.length&&raz(W,qEF(new yRX,Y));P!==void 0&&(W.hU=P);var T=new yYX(1828,\"\",\"\",!1,\"\",W.build());g.m(T,W);var I=new g.ZQ({flush:function(X){try{T.flush(X)}catch(h){k(h)}}});\nI.addOnDisposeCallback(function(){setTimeout(function(){try{I.Lf()}finally{T.dispose()}})});\nI.J=1E5;I.flushInterval=3E4;I.W.setInterval(3E4);return I};\nP1F=function(W,Y,k,P){var T=Math.min(W.iU,300*W.scale);W.element.style.maxWidth=Y?\"\":T+\"px\";W.OP.d7(W.element,W.W,k,W.type===1,P);W.element.style.top?g.N6(W.element,\"ytp-bottom\"):W.element.style.bottom&&g.N6(W.element,\"ytp-top\");W.type===3&&W.wD.start()};\ng.w_=function(W){return zV(W)===\"shortspage\"};\nenq=function(W){if(!W.J){W.provider.videoData.AN===16623&&g.Jx(Error(\"Playback for EmbedPage\"));var Y=re(W,\"playback\");W.G=E41(W);xkC(W.W);Y.G=y0(W);W.K>0&&(Y.W-=W.K);Y.send();if(W.provider.videoData.q0){Y=W.provider.zJ;var k=W.provider.videoData,P={html5:\"1\",video_id:k.videoId,cpn:k.clientPlaybackNonce,ei:k.eventId,ptk:k.q0,oid:k.Mg,ptchn:k.Lz,pltype:k.zm,content_v:E7(k)};k.Yi&&Object.assign(P,{m:k.Yi});Y=g.YW(Y.xf+\"ptracking\",P);mm(W,Y)}W.provider.videoData.A9||(iXV(W),XxC(W));W.J=!0;W=W.W;W.W=\nW.tD();W.PF=g.Jj(W.provider);!(W.J===0&&W.W<5)&&W.W-W.J>2&&(W.J=W.W);W.G=!0}};\nol2=function(W){W.contentCpn=null;W.adCpn=null;W.videoId=null;W.adVideoId=null;W.adFormat=null;W.T=\"AD_PLACEMENT_KIND_UNKNOWN\";W.actionType=\"unknown_type\";W.J=!1;W.K=!1};\nL1=function(W){return W.U(\"web_settings_menu_surface_custom_playback\")};\nvlv=function(W,Y){Y.name!==\"InvalidStateError\"&&Y.name!==\"AbortError\"&&(Y.name===\"NotAllowedError\"?(W.W.CC(),Rz(W.K,W.element,!1)):g.LH(Y))};\nCvF=function(W,Y,k){this.callback=W;this.slot=Y;this.Cg=k;this.K=!1;this.W=0};\nvg2=function(W){this.end=this.start=W};\nD1=function(){return g.o3(\"yt.gcf.config.coldConfigGroup\")};\npbS=function(){this.endTime=this.startTime=-1;this.T=\"-\";this.playbackRate=1;this.visibilityState=0;this.audioId=\"\";this.K=0;this.compositeLiveStatusToken=this.J=void 0;this.volume=this.connectionType=0;this.muted=!1;this.W=this.clipId=\"-\";this.previouslyEnded=!1};\nlW=function(W,Y){this.type=W||\"\";this.id=Y||\"\"};\nL_6=function(W,Y){Y==null||R8(Y,function(k){W.PU=k;var P,T;(P=W.tT)!=null&&(T=P.W)!=null&&(T.W=new V9(k,T.K,T.J),g.m(T,T.W))})};\nUh0=function(W){var Y=W.videoData;l8C(W).then(void 0,function(k){W.videoData!==Y||Y.Xr()||(k=BH(k),k.errorCode===\"auth\"&&W.videoData.errorDetail?W.SW(k.errorCode,2,unescape(W.videoData.errorReason),l4(k.details),W.videoData.errorDetail,W.videoData.OX||void 0):W.handleError(k))})};\ncY6=function(W){if(W.started&&!W.Xr()){W.T.stop();var Y=W.W6.getPlayerState();g.p(Y,32)&&W.L.start();for(var k=F76(W),P=W.isEnded(Y,k),T=[],I=[],X=g.e(W.K),h=X.next();!h.done;h=X.next())h=h.value,h.active&&(P?h.end<0x8000000000000:!h.contains(k))&&I.push(h);T=T.concat(LM2(W,I));X=I=null;P?(Y=NT(W.W,0x7ffffffffffff),I=Y.filter(function(B){return B.end<0x8000000000000}),X=lF0(W.W)):Y=W.J<=k&&aN(Y)?oBv(W.W,W.J,k):NT(W.W,k);\nT=T.concat($9(W,Y));I&&(T=T.concat(LM2(W,I)));X&&(T=T.concat($9(W,X)));W.J=k;b0F(W,T)}};\nJ22=function(W){g.c.call(this,{S:\"div\",j:\"ytp-heat-map-chapter\",B:[{S:\"svg\",j:\"ytp-heat-map-svg\",D:{height:\"100%\",preserveAspectRatio:\"none\",version:\"1.1\",viewBox:\"0 0 1000 100\",width:\"100%\"},B:[{S:\"defs\",B:[{S:\"clipPath\",D:{id:\"{{id}}\"},B:[{S:\"path\",j:\"ytp-heat-map-path\",D:{d:\"\",fill:\"white\"}}]},{S:\"linearGradient\",D:{gradientUnits:\"userSpaceOnUse\",id:\"ytp-heat-map-gradient-def\",x1:\"0%\",x2:\"0%\",y1:\"0%\",y2:\"100%\"},B:[{S:\"stop\",D:{offset:\"0%\",\"stop-color\":\"white\",\"stop-opacity\":\"1\"}},{S:\"stop\",D:{offset:\"100%\",\n\"stop-color\":\"white\",\"stop-opacity\":\"0\"}}]}]},{S:\"rect\",j:\"ytp-heat-map-graph\",D:{\"clip-path\":\"url(#hm_1)\",fill:\"white\",\"fill-opacity\":\"0.4\",height:\"100%\",width:\"100%\",x:\"0\",y:\"0\"}},{S:\"rect\",j:\"ytp-heat-map-hover\",D:{\"clip-path\":\"url(#hm_1)\",fill:\"white\",\"fill-opacity\":\"0.7\",height:\"100%\",width:\"100%\",x:\"0\",y:\"0\"}},{S:\"rect\",j:\"ytp-heat-map-play\",D:{\"clip-path\":\"url(#hm_1)\",height:\"100%\",x:\"0\",y:\"0\"}},{S:\"path\",j:\"ytp-modern-heat-map\",D:{d:\"\",fill:\"url(#ytp-heat-map-gradient-def)\",height:\"100%\",\nstroke:\"white\",\"stroke-opacity\":\"0.7\",\"stroke-width\":\"2px\",width:\"100%\",x:\"0\",y:\"0\"}}]}]});this.api=W;this.G=this.J5(\"ytp-heat-map-svg\");this.C=this.J5(\"ytp-heat-map-path\");this.T=this.J5(\"ytp-heat-map-graph\");this.X=this.J5(\"ytp-heat-map-play\");this.W=this.J5(\"ytp-heat-map-hover\");this.J=this.J5(\"ytp-modern-heat-map\");this.Nt=!1;this.K=60;W=\"\"+g.Sh(this);this.update({id:W});W=\"url(#\"+W+\")\";this.T.setAttribute(\"clip-path\",W);this.X.setAttribute(\"clip-path\",W);this.W.setAttribute(\"clip-path\",W)};\nYB=function(W,Y,k,P,T){g.c.call(this,{S:\"div\",j:\"ytp-horizonchart\"});this.X=Y;this.sampleCount=k;this.T=P;this.C=T;this.index=0;this.heightPx=-1;this.J=this.K=null;this.W=Math.round(W/k);this.element.style.width=this.W*this.sampleCount+\"px\";this.element.style.height=this.X+\"em\"};\nOfC=function(W){return W.X&&pO(W).size>0};\npFq=function(W){this.W=W;this.N=this.Fr=this.G=this.OP=this.T=this.C=this.A5=this.X=this.TJ=this.L=this.UP=this.wD=this.gD=this.Kg=0;this.ticks={}};\nKb2=function(W){W.C||(W.C=(0,g.lj)());W.policy.N&&(W.X=(0,g.lj)())};\nRY=function(W){return W.Es&&W.getVideoData().mutedAutoplay};\naw=function(W,Y,k){k=k===void 0?!1:k;var P=W.C();if(P){for(;W.T=0&&Hh(W.audioTrack,W.targetTime)>=0&&I?((W.videoTrack.C||W.audioTrack.C)&&W.loader.y5(\"iterativeSeeking\",{status:\"done\",count:W.seekCount}),W.videoTrack.C=!1,W.audioTrack.C=!1):P&&g.Vf(function(){if(W.W||!W.policy.K1)Wm(W);else{var X=Y.startTime,h=Y.duration;if(!W.policy.C){var B=k?W.videoTrack.C:W.audioTrack.C,O=W.videoTrack.X!==-1&&W.audioTrack.X!==-1,u=W.targetTime>=X&&W.targetTimeYDd||X<$IS))P(W,k);else{if(g.dS(\"gzip_gel_with_worker\")&&(g.dS(\"initial_gzip_use_main_thread\")&&!mVV||!g.dS(\"initial_gzip_use_main_thread\"))){Dp1||Dqd();var h=aL();if(h&&!T){g_.set(NhX,{latencyPayload:I,url:W,options:k,sendFn:P});h.postMessage({op:\"gelBatchToGzip\",serializedBatch:Y,key:NhX});NhX++;return}}var B=$av(kAv(Y));wjS(B,I,W,k,P)}}catch(O){PL(O),P(W,k)}else P(W,k)};\ngt0=function(W,Y,k,P,T,I){function X(O){return v0(Y,O)}\nvar h=P.LF.inPlayerSlotId,B={layoutId:P.LF.inPlayerLayoutId,layoutType:\"LAYOUT_TYPE_ENDCAP\",fg:\"core\"};k={slotId:h,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:new A7(X,W),slotFulfillmentTriggers:[new jm(X,h)],slotExpirationTriggers:[new Jp(X,h),new Zp(X,k)]};W=Object.assign({},B,{layoutExitNormalTriggers:[new L6(X,W)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],II:[],W7:new Map,clientMetadata:new i_([new xb(P.LF),\nnew yI(P.adPlacementConfig),T]),XA:kN(I,k)(B),adLayoutLoggingData:P.LF.adLayoutLoggingData});return Object.assign({},k,{clientMetadata:new i_([new H$(W)])})};\naF1=function(W){fZ().T=!!W.OM(\"isViewable\");bp(W,\"viewableChange\",sP5);W.OM(\"getState\")===\"loading\"?bp(W,\"ready\",e1d):o10(W)};\nZhC=function(W){sE.call(this,W);var Y=this;this.W=null;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"applicationvideodatachange\",function(){Y.mw()})};\nDy=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t){t=t===void 0?null:t;g.D.call(this);var q=this;this.loader=W;this.policy=Y;this.videoTrack=k;this.audioTrack=P;this.T=T;this.W=I;this.timing=X;this.C=h;this.schedule=B;this.H6=O;this.J=u;this.A5=Z;this.M2=M;this.I3=t;this.Kg=!1;this.x9=\"\";this.Dd=null;this.Cs=NaN;this.wD=!1;this.K=null;this.Z9=this.N=NaN;this.TX=this.X=0;this.logger=new g.M_(\"dash\");this.zW={Z4:function(G,E){return q.Z4(G,E)}};\nthis.policy.C4>0&&(this.x9=g.BV(this.policy.C4));this.policy.Cn&&(this.L=new dT(this.loader,this.policy,this.schedule),g.m(this,this.L))};\niE=function(W,Y,k,P,T,I,X){var h={};Y&&(h.wY=Y);if(!W)return h;h.playbackCookie=k==null?void 0:k.playbackCookie;T&&(h.qX=T);h.cX=[];h.y$=[];if(X==null?0:X.size)for(Y=g.e(X.values()),k=Y.next();!k.done;k=Y.next())h.y$.push(k.value);if(W.sabrContextUpdates.size>0)for(Y=g.e(W.sabrContextUpdates.values()),k=Y.next();!k.done;k=Y.next())WIS(h,k.value,P);w9(W)&&I&&WIS(h,I,P);P=W.V().W;h.clientInfo={clientName:YR2[P.c.toUpperCase()]||0};P.cbrand&&(h.clientInfo.deviceMake=P.cbrand);P.cmodel&&(h.clientInfo.deviceModel=\nP.cmodel);P.cver&&(h.clientInfo.clientVersion=P.cver);P.cos&&(h.clientInfo.osName=P.cos);P.cosver&&(h.clientInfo.osVersion=P.cosver);P=W.V();P.U(\"html5_sabr_enable_server_xtag_selection\")&&P.LH&&(h.clientInfo.hl=P.LH);W.C8&&(h.C8=W.C8);return h};\nLN=function(W){return W.W&&W.b3};\nhBV=function(W){W=W.document;W=W.compatMode==\"CSS1Compat\"?W.documentElement:W.body;return new g.Sn(W.clientWidth,W.clientHeight)};\nrs2=function(){var W=kQ2();if(W!==void 0)return m5(W);ay||(ay=h4(\"//googleads.g.doubleclick.net/pagead/id\",o77).then(oeC).MA(function(Y){return v7z(2,Y)}));\nreturn ay};\nkEq=function(W,Y){return $z5(W,Y)?(W.vT?W.vT.start():W.fb(),!0):!1};\ng.Y_=function(W,Y,k,P){g.D.call(this);var T=this;this.api=W;this.zJ=Y;this.playback=k;this.app=P;this.Kg=new g.zF;this.K=new Map;this.TJ=new Map;this.gD=null;this.Lg=NaN;this.Q5=this.e1=null;this.bz=new g.fC(function(){t$1(T,T.Lg,T.e1||void 0)});\nthis.events=new g.x5(this);this.GJ=15E3;this.G=new g.fC(function(){T.L=!0;T.playback.w0(T.GJ);Kx(T);if(T.playback.getVideoData().Xj()){var I;T.P7({togab:(I=T.X)==null?void 0:I.identifier})}T.Od(!1)},this.GJ);\nthis.L=!1;this.C=new Map;this.UP=[];this.X=null;this.KH=new Set;this.N=[];this.V5=[];this.Gn=[];this.J9=[];this.OP=new Set;this.pY=0;this.A5=!1;this.xm=new Set;this.D_=new Set;this.f1=new Set;this.rD=new Set;this.K1=this.yY=0;this.U0=this.A9=!1;this.eW=this.J=\"\";this.wD=null;this.logger=new g.M_(\"dai\");this.zW={SI6:function(){return T.K},\nEn:function(){return T.W.zW.En()},\nUVi:function(){return T.J},\nMFz:function(I){T.onCueRangeEnter(T.K.get(I))},\nv$r:function(I){T.onCueRangeExit(T.K.get(I))},\nmH2:function(I,X){T.K.set(I,X)},\nxHS:function(I){T.eW=I},\nqh:function(){return T.qh()},\ng$h:function(I){return T.W.W.get(I)},\nY$i:function(){return T.wD},\na4:function(){return T.W.zW.a4()}};\nthis.playback.getPlayerType();this.W=new M3(this.zJ);this.playback.r0(this);this.Fr=this.zJ.OR();g.m(this,this.bz);g.m(this,this.events);g.m(this,this.G);this.zJ.U(\"html5_use_new_ssdai_transition_detector\")?this.playback.subscribe(\"playbackstarted\",this.Bx,this):(this.events.Z(this.api,g.OQ(\"serverstitchedcuerange\"),this.onCueRangeEnter),this.events.Z(this.api,g.ut(\"serverstitchedcuerange\"),this.onCueRangeExit));tI(this.app.Ln(),this.playback,!1)};\nPM0=function(W,Y,k){k=k.opt_configurable_tracking_events;W.W!=null&&Array.isArray(k)&&OX5(W,k,Y)};\nJld=function(W,Y,k,P,T){var I=Tb(W.K.get(),\"SLOT_TYPE_IN_PLAYER\");k=new kM(W.W,P,k);P=[new jm(W.W,I)];W=[new Zp(W.W,Y)];return{slotId:I,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,slotEntryTrigger:k,slotFulfillmentTriggers:P,slotExpirationTriggers:W,fg:\"core\",clientMetadata:new i_([new H$(T({slotId:I,slotType:\"SLOT_TYPE_IN_PLAYER\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:k,slotFulfillmentTriggers:P,slotExpirationTriggers:W}))])}};\nT1d=function(W,Y){Y=Y===void 0?{}:Y;var k,P;return g.v(function(T){if(T.W==1)return g.L(T,g.BP(),2);if(T.W!=3){k=T.K;if(!k)return T.return();Gn(W);P=IwF(W);return g.L(T,my(P.actualName,Y),3)}return g.L(T,KV(P.actualName,k),0)})};\n$_=function(W,Y){var k;Y=(k=W.qq.get().Fd.get(Y))!=null?k:null;if(Y===null)return EF(\"Expected ad video start time on playback timeline\"),0;W=W.Y.getCurrentTime(2,!0);return WY);P=W.next());return k};\nZq=function(W,Y,k,P){this.triggeringLayoutId=Y;this.W=k;this.triggerType=\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\";this.triggerId=P||W(this.triggerType)};\nAAV=function(W){var Y,k;return g.v(function(P){return P.W==1?g.L(P,Uj(W),2):P.W!=3?(Y=P.K,k=void 0,g.L(P,g.KQ(Y,[\"hotConfigStore\"],{mode:\"readwrite\",sR:!0},function(T){return g.H0(T.objectStore(\"hotConfigStore\").index(\"hotTimestampIndex\"),{direction:\"prev\"},function(I){k=I.getValue()})}),3)):P.return(k)})};\ng.JB=function(W,Y,k){k=W.N.splice(k||0)[0];(k=W.J=W.J||k)?k.CE?W.W=W.X||W.C:k.oi!=void 0&&W.C>31));gH(W,2,Y.message)};\nPm=function(){tV.apply(this,arguments)};\ndK=function(W,Y,k,P){var T=Qg(Y);!T||T.T||Rl(T,P)||(k.abort(),W.policy.wX&&(T=Y.L)!=null&&(T.J=void 0),(Y=Y.N)!=null&&(zG(Y,4),Y.flush()));if(!k.m$()||Bl())try{W.policy.An?k.hX(P.W.info.containerType,P.W.info.lz)&&k.Xw(P.W.info.containerType,P.W.info.lz,P.W.info.mimeType):k.Ot(P.W.info.containerType,P.W.info.mimeType)}catch(I){return k=I,g.Jx(k),W.y5(\"ctexp\",{name:k.name,msg:k.message}),!1}else P.W.info.containerType!==k.m$()&&W.y5(\"ctu\",{ct:Bl(),prev_c:k.m$(),curr_c:P.W.info.containerType});Y=P.W.T;\nW.policy.wf&&Y&&(P=0+Y.duration,Y=-Y.W,0===k.Yj()&&P===k.SC()||k.sD(0,P),Y!==k.m2()&&(k.v3(Y),ea&&LY5(W.audioTrack.HT(),k.d9())));return!0};\nT2v=function(W,Y){if(Y.iG&&Y.state>=2&&Y.state!==3){var k=Y.xhr.getResponseHeader(\"X-Response-Itag\");if(k){W.logger.debug(function(){return\"Applying streamer-selected format \"+k});\nvar P=jZ0(W.J,k),T=Y.info.J;T&&(T-=P.qj(),P.J=!0,Y.info.EP[0].W.J=!1,Rpz(Y,P.tR(T)),Ji(W.loader,W.videoTrack,P),IL6(W.videoTrack,P),W.loader.nw(P.info.video.quality),(T=Y.DF())&&P.info.lastModified&&P.info.lastModified!==+T&&I2(W.videoTrack,Y))}else Y.iG=!1}};\nXcS=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 14 14\",width:\"100%\"},B:[{S:\"path\",yU:!0,D:{d:\"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z\",fill:\"#eaeaea\"}}]}};\nXD6=function(W,Y){var k=4320;!W.zJ.K||g.vL(W.zJ)||W.zJ.U(\"hls_for_vod\")||W.zJ.U(\"mweb_remove_360p_cap\")||(k=g.cu.medium);var P=g.je(W.zJ.experiments,\"html5_default_quality_cap\");P&&Y.W.W&&(W.zJ.U(\"html5_always_apply_default_quality_cap\")||!Y.videoData.ws&&!Y.videoData.tY)&&(k=Math.min(k,P));P=g.je(W.zJ.experiments,\"html5_random_playback_cap\");var T=/[a-h]$/;P&&T.test(Y.videoData.clientPlaybackNonce)&&(k=Math.min(k,P));if(T=P=g.je(W.zJ.experiments,\"html5_hfr_quality_cap\"))a:{T=Y.W;if(T.W){T=g.e(T.videoInfos);\nfor(var I=T.next();!I.done;I=T.next())if(I.value.video.fps>32){T=!0;break a}}T=!1}T&&(k=Math.min(k,P));(P=g.je(W.zJ.experiments,\"html5_live_quality_cap\"))&&Y.videoData.isLivePlayback&&(k=Math.min(k,P));k=hOC(W,Y,k);W=g.je(W.zJ.experiments,\"html5_byterate_soft_cap\");return new xn(0,k===4320?0:k,!1,\"d\",W)};\nTI=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-image-background\",B:[{S:\"img\",j:\"ytp-image-background-image\"}]},\"image-background\",Y,k,P);this.hide()};\ng.bkq=function(W){this.pg=W;this.G=new pC1;this.n4=this.U2=!1;this.LY=2;this.Fr=20971520;this.Lg=8388608;this.wD=120;this.qR=this.il=this.Di=2;this.CL=this.YF=!1;this.cF=1E3;this.xm=15;this.u5=1;this.L=1.15;this.Kg=1.05;this.PV=1;this.Aj=this.KN=!1;this.yL=6;this.J=!1;this.xP=100;this.kp=10;this.ew=6;this.NA=!1;this.zR=1;this.YJ=this.fN=!1;this.KL=2;this.WV=this.tp=this.PU=!1;this.K1=!0;this.AC=this.B4=this.V5=this.UV=!1;this.wf=!0;this.MR=!1;this.T=\"\";this.k7=[];this.wi=this.D_=!1;this.nh=0;this.Er=\n\"\";this.UK=this.Io=this.LI=this.Br=this.i5=this.C=this.xF=this.RB=this.W=this.e1=this.gD=this.zZ=this.wX=this.N=this.i_=this.HP=!1;this.jW=!0;this.O2=this.GU=this.yD=this.l4=this.Yi=this.K=this.Q5=!1;this.rD=!0;this.Qa=this.SB=this.A5=this.FC=this.f1=this.TJ=!1;this.Nm=3;this.Zm=this.qV=this.GT=this.q0=this.CN=this.xq=this.Zi=this.Hr=this.mH=this.kP=!1;this.A9=2;this.Mo=this.UP=this.df=!1;this.TT=g.je(this.pg.experiments,\"html5_min_readbehind_secs\");this.tv=g.je(this.pg.experiments,\"html5_min_readbehind_cap_secs\");\nthis.v4=this.pg.U(\"html5_offline_reset_media_stream_on_unresumable_slices\");this.c6=NaN;this.vu=sA(this,\"html5_request_size_min_kb\",64)*1024;this.GJ=2097152;this.nB=sA(this,\"html5_bypass_contention_secs\");this.JR=1048576;this.k8=sA(this,\"html5_repredict_interval_ms\",1800);this.pB=sA(this,\"html5_head_miss_secs\",5);this.E8=sA(this,\"html5_min_upgrade_health_secs\",10);this.Nd=sA(this,\"html5_min_seconds_between_format_selections\",8);this.P1=sA(this,\"html5_max_buffer_health_for_downgrade_secs\",15);this.No=\nKB;this.Ka=g.je(this.pg.experiments,\"html5_min_startup_buffered_media_duration_secs\");this.s2=g.je(this.pg.experiments,\"html5_post_interrupt_readahead\");this.Md=this.pg.U(\"html5_disable_classic_alr\");this.Xv=g.je(this.pg.experiments,\"html5_probe_primary_delay_base_ms\")||5E3;this.Gb=sA(this,\"html5_ssdai_failure_retry_limit\",3);this.Jo=this.pg.experiments.Nq(\"html5_clone_original_for_fallback_location\");this.rZ=g.je(this.pg.experiments,\"html5_subsegment_readahead_target_buffer_health_secs\");this.uv=\ng.je(this.pg.experiments,\"html5_subsegment_readahead_timeout_secs\");this.iN=g.je(this.pg.experiments,\"html5_subsegment_readahead_min_buffer_health_secs\");this.gw=g.je(this.pg.experiments,\"html5_subsegment_readahead_min_buffer_health_secs_on_timeout\");this.Kf=g.je(this.pg.experiments,\"html5_subsegment_readahead_min_load_speed\");this.lM=g.je(this.pg.experiments,\"html5_subsegment_readahead_load_speed_check_interval\");this.q2=g.je(this.pg.experiments,\"html5_subsegment_readahead_seek_latency_fudge\");this.Wu=\nsA(this,\"html5_hopeless_secs\",15);this.sJ=this.pg.U(\"html5_restrict_streaming_xhr_on_sqless_requests\");this.o8=g.je(this.pg.experiments,\"html5_max_headm_for_streaming_xhr\");this.IW=this.pg.U(\"html5_pipeline_manifestless_allow_nonstreaming\");this.B_=this.pg.U(\"html5_prefer_server_bwe3\");this.mX=this.pg.U(\"html5_last_slice_transition\");this.mL=this.pg.U(\"html5_store_xhr_headers_readable\");this.c9=g.je(this.pg.experiments,\"html5_max_drift_per_track_secs\");this.S2=this.pg.U(\"html5_no_placeholder_rollbacks\");\nthis.e$=this.pg.U(\"html5_subsegment_readahead_enable_mffa\");this.J9=this.pg.U(\"html5_allow_video_keyframe_without_audio\");this.WV=g.l_(this.pg)&&!g.xQ()&&this.pg.U(\"html5_adjust_media_time_for_non_cobalt_tv\");this.mA=this.pg.U(\"html5_enable_vp9_fairplay\");this.Ki=1048576;this.vQ=this.pg.U(\"html5_woffle_resume\");this.y7=this.pg.U(\"html5_abs_buffer_health\");this.Ft=this.pg.U(\"html5_interruption_resets_seeked_time\");this.CB=g.je(this.pg.experiments,\"html5_max_live_dvr_window_plus_margin_secs\")||46800;\nthis.P_=this.pg.U(\"html5_report_captions_ctmp_qoe\");this.I5=this.pg.U(\"html5_explicitly_dispose_xhr\");this.Yw=!this.pg.U(\"html5_encourage_array_coalescing\");this.pg.U(\"html5_limit_media_merge_size\")?KB?NQ()<21?this.rV=786432:this.rV=8388608:this.rV=262144:this.rV=0;this.gS=this.pg.U(\"html5_filter_non_efficient_formats_for_safari\");this.pg.U(\"html5_format_hybridization\");this.TF=this.pg.U(\"html5_abort_before_separate_init\");this.d3=PTF();this.RH=this.pg.U(\"html5_serialize_server_stitched_ad_request\");\nthis.vV=this.pg.U(\"html5_attach_po_token_to_bandaid\");this.wu=g.je(this.pg.experiments,\"html5_max_redirect_response_length\")||8192;this.Pu=this.pg.U(\"html5_rewrite_timestamps_for_webm\");this.KH=this.pg.U(\"html5_only_media_duration_for_discontinuities\");this.w3=g.je(this.pg.experiments,\"html5_resource_bad_status_delay_scaling\")||1;this.pg.U(\"html5_onesie_live\");this.N2=this.pg.U(\"html5_onesie_premieres\");this.hv=g.je(this.pg.experiments,\"html5_onesie_live_ttl_secs\")||8;this.C4=g.je(this.pg.experiments,\n\"html5_attach_num_random_bytes_to_bandaid\");this.An=this.pg.U(\"html5_update_container_type_on_codec_family_change\");this.pg.U(\"html5_apply_ssap_slice_info_adjustment\");this.Gn=this.pg.U(\"html5_enable_sabr_host_fallback\");this.u0=this.pg.U(\"html5_gapless_fallback_on_append_error\");this.zs=this.pg.U(\"html5_shorts_stop_request_when_buffer_to_end\");this.qZ=this.pg.U(\"html5_vod_stop_request_when_buffer_to_end\");this.OP=this.pg.U(\"html5_ssdai_use_post_for_media\")&&this.pg.U(\"gab_return_sabr_ssdai_config\");\nthis.TL=this.pg.U(\"html5_use_post_for_media\");this.LH=this.pg.U(\"html5_use_live_ump_heartbeat\");this.useUmp=this.pg.U(\"html5_use_ump\");this.Qf=this.pg.k8;this.aW=this.pg.U(\"html5_reset_primary_stats_on_redirector_failure\");this.Vf=this.pg.U(\"html5_remap_to_original_host_when_redirected\");this.JS=this.pg.U(\"html5_sabr_support_quality_constraints\");this.rr=this.pg.U(\"html5_sabr_remove_all_quality_constraints\");this.VE=this.pg.U(\"html5_iterative_seeking_buffered_time\");this.Ao=this.pg.U(\"html5_use_network_error_code_enums\");\nthis.WQ=this.pg.U(\"html5_disable_overlapping_requests\");this.enableServerDrivenRequestCancellation=this.pg.U(\"html5_enable_server_driven_request_cancellation\");this.Tf=this.pg.U(\"html5_enable_sabr_request_timing\");this.b3=this.pg.U(\"html5_enable_server_format_filter\");this.ix=this.pg.U(\"html5_enable_lawnmower\");this.Cn=this.pg.OR()?g.je(this.pg.experiments,\"html5_continuous_goodput_probe_interval_ms\"):0;this.cE=g.je(this.pg.experiments,\"html5_jumbo_ull_nonstreaming_mffa_ms\")||NaN;this.K6=this.pg.U(\"html5_live_defrag_only_h264_playbacks\");\nthis.R9=this.pg.U(\"html5_live_defrag_only_h264_formats\");this.Fv=this.pg.U(\"html5_record_now\");this.KI=g.je(this.pg.experiments,\"html5_drm_byterate_soft_cap\");this.vF=g.je(this.pg.experiments,\"html5_drm_live_byterate_soft_cap\");this.X=this.pg.U(\"html5_sabr_log_request_creation\");this.nu=this.pg.U(\"html5_use_buffer_timeline_for_sabr_request_creation\");this.DY=this.pg.U(\"html5_sabr_report_request_cancellation_info\");this.qY=this.pg.U(\"html5_spoof_4k\");this.Jh=sA(this,\"html5_min_media_duration_for_cabr_slice\");\nthis.U8=sA(this,\"html5_sabr_min_media_bytes_factor_to_append_for_stream\")||.01;this.RW=this.pg.U(\"html5_remove_defrag_without_frame_level_streaming\");this.a8=this.pg.U(\"html5_consume_all_buffered_bytes_one_poll\");this.yS=this.pg.U(\"html5_disable_urgent_adaptation\");this.Sw=this.pg.U(\"html5_apply_constraints_in_client_for_sabr\");this.bK=this.pg.U(\"html5_send_video_playback_ustreamer_config\");this.eI=sA(this,\"html5_max_discontinuity_rewrite_count\");this.Ey=sA(this,\"html5_fixed_media_duration_for_request\");\nthis.Kr=this.pg.U(\"html5_apply_fix_for_missing_seg_info_without_logger\");this.B4=this.pg.U(\"html5_enable_audio_quality_setting\");this.pg.U(\"html5_enable_audio_quality_setting_feature\");this.Dm=sA(this,\"html5_sabr_request_limit_per_period\");this.ww=this.pg.U(\"html5_sabr_dispose_media_objects\");this.zg=this.pg.U(\"html5_fix_hbr_reselection_qoe_restart_for_sabr\");this.PQ=this.pg.U(\"html5_enable_d6de4\");this.pg.U(\"html5_high_res_seek_logging\");this.n8=this.pg.U(\"html5_disable_chunk_synchronization_sabr_seek\");\nthis.pg.U(\"html5_enable_ssap_multi_audio_format_filtering\");this.uu=g.je(this.pg.experiments,\"html5_override_micro_discontinuities_threshold_ms\");this.l3=this.pg.U(\"html5_byterate_constraints\");this.Ct=this.pg.U(\"html5_refactor_sabr_audio_format_selection_logging\");this.S8=this.pg.U(\"enable_sabr_snackbar_message\");this.pg.U(\"html5_reinit_source_buffer_by_new_element\");this.gm=this.pg.U(\"html5_refactor_sabr_video_format_selection_logging\");this.v1=this.pg.U(\"html5_log_slice_info_in_sbu\");this.tT=sA(this,\n\"html5_paced_poll_ms\");this.zf=sA(this,\"html5_paced_poll_min_health_ms\");this.AS=this.pg.U(\"html5_disable_sabr_fallback\");this.PH=this.pg.U(\"html5_track_current_buffered_range_at_sync\");this.Xz=g.l_(this.pg)?500:2E3;this.S6=this.pg.U(\"html5_sabr_live_timing\");this.lr=this.pg.U(\"html5_count_updating_slice_for_buffer_health\");this.bk=this.pg.U(\"html5_report_max_buffer_bytes_limit_to_sabr\");this.CX=this.pg.U(\"html5_sabr_live_audio_early_return_fix\");this.ZT=g.je(this.pg.experiments,\"html5_platform_max_buffer_health_oversend_duration_secs\");\nthis.LB=this.pg.U(\"html5_cuepoint_identifier_logging\");this.Xo=this.pg.U(\"html5_new_sabr_ssdai_cuepoint_logic\");this.KB=this.pg.U(\"html5_sabr_log_server_xtag_selection_onesie_mismatch\");this.nR=this.pg.U(\"html5_skip_client_drm_license_constraint\");this.vk=this.pg.U(\"html5_ssdai_not_block_on_predict_start\");this.HP=this.pg.U(\"html5_pseudogapless_shorts_skip_abort_on_transition\");this.v_=this.pg.U(\"html5_live_metadata_resets_timeout\");this.df=this.pg.U(\"html5_sabr_log_invalid_sabr_current_time\");this.bz=\nthis.pg.U(\"html5_ssdai_new_decoration_logic\");this.Ci=this.pg.U(\"html5_enable_smooth_audio_offset\");this.Mo=this.pg.U(\"html5_ssdai_log_missing_ad_config_reason\");this.A7=this.pg.U(\"html5_ignore_sabrseek_during_adskip\");this.Jj=this.pg.U(\"html5_sabr_ignore_skipad_before_completion\")||this.A7;this.ir=this.pg.U(\"html5_sabr_log_nonslate_chunk_after_skip\")};\ndr=function(W){var Y=\"id=\"+W.id;W.video&&(Y+=\", res=\"+W.video.qualityLabel);var k,P;return Y+\", byterate=(\"+((k=W.Do)==null?void 0:k.toFixed(0))+\", \"+((P=W.c6)==null?void 0:P.toFixed(0))+\")\"};\nTX=function(W,Y){Y=W.s1({playerType:Y});if(!Y)return W.ud.W.qA();Y=IO(W,Y);return tO(W,Y.qA(),Y)};\ngl7=function(W){return W.fields.map(function(Y){return Y.fieldType})};\nOW=function(W){return(0,g.lj)()-W.X>=4E3};\njA=function(W,Y,k){Y=Y===void 0?\"\":Y;k=k===void 0?\"\":k;W=new g.uF(W,!0);W.set(\"alr\",\"yes\");k&&(k=Hd(18,decodeURIComponent(k)),W[S[50]](Y,encodeURIComponent(k)));return W};\nOp=function(W,Y){for(;Y>127;)W.W.push(Y&127|128),Y>>>=7;W.W.push(Y)};\npI=function(W,Y,k){Y instanceof KI?(W.T=Y,pid(W.T,W.G)):(k||(Y=pl(Y,SRC)),W.T=new KI(Y,W.G))};\nO0=function(W){return W.nu||W.zv||W.mutedAutoplay};\njI0=function(){var W=lP();if(W){var Y=W.isTypeSupported;return function(P,T){return Y(T,P)}}var k=XI();\nreturn k&&(k.addKey||k.webkitAddKey)?function(P,T){return!!k.canPlayType(P,T)}:function(){return!1}};\nkT=function(W){return W.split(\",\").map(function(Y){return DX(Y)})};\nl4=function(W){var Y=[];if(W){W=g.e(Object.entries(W));for(var k=W.next();!k.done;k=W.next()){var P=g.e(k.value);k=P.next().value;P=P.next().value;P!==void 0&&(P=typeof P===\"boolean\"?\"\"+ +P:(\"\"+P).replace(/[:,=]/g,\"_\"),Y.push(k+\".\"+P))}}return Y.join(\";\")};\naaF=function(W,Y,k,P){P=P===void 0?1:P;k>=0&&(Y in W.W||(W.W[Y]=new LcC),W.W[Y].NB(k,P))};\nVX5=function(){var W,Y;return{oH:new uD(function(k,P){W=k;Y=P}),\nresolve:W,reject:Y}};\nhc1=function(W,Y,k){var P=kW(Y.clientMetadata,\"metadata_type_sodar_extension_data\");if(P)try{fu5(k,P)}catch(T){EF(\"Unexpected error when loading Sodar\",W,Y,{error:T})}};\nXW=function(W,Y,k){for(var P in W.W){var T=QS(W.W[P].info.mimeType)||W.W[P].info.qa();if(k===T&&(T=W.W[P].index)!=null){var I=IM(T,Y);I>=0&&T.segments.splice(I,1)}}};\nB15=function(W,Y){var k=wL(),P=W.V();k={S:\"div\",j:\"ytp-share-panel\",D:{id:wL(),role:\"dialog\",\"aria-labelledby\":k},B:[{S:\"div\",j:\"ytp-share-panel-inner-content\",B:[{S:\"div\",j:\"ytp-share-panel-title\",D:{id:k},v6:\"Share\"},{S:\"a\",Ya:[\"ytp-share-panel-link\",\"ytp-no-contextmenu\"],D:{href:\"{{link}}\",target:P.N,title:\"Share link\",\"aria-label\":\"{{shareLinkWithUrl}}\"},v6:\"{{linkText}}\"},{S:\"label\",j:\"ytp-share-panel-include-playlist\",B:[{S:\"input\",j:\"ytp-share-panel-include-playlist-checkbox\",D:{type:\"checkbox\",\nchecked:\"true\"}},\"Include playlist\"]},{S:\"div\",j:\"ytp-share-panel-loading-spinner\",B:[gR()]},{S:\"div\",j:\"ytp-share-panel-service-buttons\",v6:\"{{buttons}}\"},{S:\"div\",j:\"ytp-share-panel-error\",v6:\"An error occurred while retrieving sharing information. Please try again later.\"}]},{S:\"button\",Ya:[\"ytp-share-panel-close\",\"ytp-button\"],D:{title:\"Close\"},B:[g.xe()]}]};g.KK.call(this,W,k,250);var T=this;this.moreButton=null;this.api=W;this.tooltip=Y.r5();this.J=[];this.C=this.J5(\"ytp-share-panel-inner-content\");\nthis.closeButton=this.J5(\"ytp-share-panel-close\");this.Z(this.closeButton,\"click\",this.n1);this.addOnDisposeCallback(g.nt(this.tooltip,this.closeButton));this.T=this.J5(\"ytp-share-panel-include-playlist-checkbox\");this.Z(this.T,\"click\",this.xa);this.W=this.J5(\"ytp-share-panel-link\");this.addOnDisposeCallback(g.nt(this.tooltip,this.W));this.api.createClientVe(this.W,this,164503);this.Z(this.W,\"click\",function(I){I.preventDefault();T.api.logClick(T.W);var X=T.api.getVideoUrl(!0,!0,!1,!1);X=EuC(T,X);\ng.bH(X,T.api,I)&&T.api.Ri(\"SHARE_CLICKED\")});\nthis.listen(\"click\",this.ju);this.Z(W,\"videoplayerreset\",this.hide);this.Z(W,\"fullscreentoggled\",this.onFullscreenToggled);this.Z(W,\"onLoopRangeChange\",this.ur5);this.hide()};\nOwv=function(W){var Y;return!((Y=W.u8)==null||!Y.postId)&&W.api.getPresentingPlayerType()!==2};\nSA=function(W){return W.J9?W.J9-(W.L||W.timestampOffset):0};\nzN1=function(W){W.videoData.bz.clear();if(W.videoData.sabrContextUpdates.size>0)for(var Y=g.e(W.videoData.sabrContextUpdates.keys()),k=Y.next();!k.done;k=Y.next()){k=k.value;var P=void 0;((P=W.videoData.sabrContextUpdates.get(k))==null?0:P.sendByDefault)&&W.videoData.bz.add(k)}if(W.policy.N&&W.W.length)for(Y=g.e(W.W),k=Y.next();!k.done;k=Y.next())(k=k.value.fm())&&k.type&&k.sendByDefault&&W.videoData.bz.add(k.type)};\nFu=function(W){return W.pg.U(\"html5_disable_av1\")?!0:!1};\nhy=function(W,Y){Y=Y===void 0?2:Y;g.tR.call(this);this.api=W;this.W=null;this.handler=new EQ(this);g.m(this,this.handler);this.K=mNv;this.handler.Z(this.api,\"presentingplayerstatechange\",this.VF);this.W=this.handler.Z(this.api,\"progresssync\",this.Xi);this.WH=Y;this.WH===1&&this.Xi()};\nujF=function(W,Y,k){k=k===void 0?{}:k;return vFS(W,Y,!1,k)};\nxh1=function(){return{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"rect\",D:{fill:\"white\",height:\"20\",rx:\"5\",width:\"20\",x:\"2\",y:\"2\"}},{S:\"rect\",D:{fill:\"url(#ytp-premium-standalone-gradient)\",height:\"20\",rx:\"5\",width:\"20\",x:\"2\",y:\"2\"}},{S:\"path\",D:{d:\"M12.75 13.02H9.98V11.56H12.75C13.24 11.56 13.63 11.48 13.93 11.33C14.22 11.17 14.44 10.96 14.58 10.68C14.72 10.40 14.79 10.09 14.79 9.73C14.79 9.39 14.72 9.08 14.58 8.78C14.44 8.49 14.22 8.25 13.93 8.07C13.63 7.89 13.24 7.80 12.75 7.80H10.54V17H8.70V6.33H12.75C13.58 6.33 14.28 6.48 14.86 6.77C15.44 7.06 15.88 7.46 16.18 7.97C16.48 8.48 16.64 9.06 16.64 9.71C16.64 10.40 16.48 10.99 16.18 11.49C15.88 11.98 15.44 12.36 14.86 12.62C14.28 12.89 13.58 13.02 12.75 13.02Z\",\nfill:\"white\"}},{S:\"defs\",B:[{S:\"linearGradient\",D:{gradientUnits:\"userSpaceOnUse\",id:\"ytp-premium-standalone-gradient\",x1:\"2\",x2:\"22\",y1:\"22\",y2:\"2\"},B:[{S:\"stop\",D:{offset:\"0.3\",\"stop-color\":\"#E1002D\"}},{S:\"stop\",D:{offset:\"0.9\",\"stop-color\":\"#E01378\"}}]}]}]}};\nBm=function(W){W.readyState=4;W.T=null;W.J=null;W.G=null;dR(W)};\narF=function(W,Y,k,P){var T={timeout:3E4,onSuccess:function(I){if(!W.Xr()){aj(\"drm_net_r\",void 0,W.timer);var X=I.status===\"LICENSE_STATUS_OK\"?0:9999,h=null;if(I.license)try{h=o5(I.license)}catch(q){g.LH(q)}if(X!==0||h){h=new bqz(X,h);X!==0&&I.reason&&(h.errorMessage=I.reason);if(I.authorizedFormats){X={};for(var B=[],O={},u=g.e(I.authorizedFormats),Z=u.next();!Z.done;Z=u.next())if(Z=Z.value,Z.trackType&&Z.keyId){var M=Zw1[Z.trackType];if(M){M===\"HD\"&&I.isHd720&&(M=\"HD720\");Z.isHdr&&(M+=\"HDR\");X[M]||\n(B.push(M),X[M]=!0);var t=null;try{t=o5(Z.keyId)}catch(q){g.LH(q)}t&&(O[g.Pk(t,4)]=M)}}h.K=B;h.W=O}I.nextFairplayKeyId&&(h.nextFairplayKeyId=I.nextFairplayKeyId);I.sabrLicenseConstraint&&(h.sabrLicenseConstraint=o5(I.sabrLicenseConstraint));I=h}else I=null;if(I)W.onSuccess(I,W.requestNumber);else W.onError(W,\"drm.net\",\"t.p;p.i\")}},\nonError:function(I){if(!W.Xr())if(I&&I.error)I=I.error,W.onError(W,\"drm.net.badstatus\",\"t.r;p.i;c.\"+I.code+\";s.\"+I.status,I.code);else W.onError(W,\"drm.net.badstatus\",\"t.r;p.i;c.n\")},\nonTimeout:function(){W.onError(W,\"drm.net\",\"rt.req.\"+W.requestNumber)}};\nP&&(T.Uz=\"Bearer \"+P);g.AV(k,\"player/get_drm_license\",Y,T)};\njI=function(W){W.C=(0,g.lj)();W.started=0;W.timedOut=0;W.W=0};\niwV=function(W,Y){this.J=W;this.T=Y;this.K=0;this.W=null};\nXF=function(W,Y){Y=Y===void 0?{}:Y;g.nT(function(){Svd(W);var k=Y.sampleRate;if(!g.dS(\"web_csi_action_sampling_enabled\")||k===void 0||k<=1)k=!1;else{var P=SP(W);k=$l0(P)%k!==0}k&&(C$(W).actionDisabled=!0);$X(W||\"\").info.actionType=W;Y.cttAuthInfo&&(C$(W).cttAuthInfo=Y.cttAuthInfo);V1(W+\"TIMING_ACTION\",W);g.nT(jp)(Y.startTime,W);k={actionType:P$(W)};Y.lzJ&&(k.previousAction=P$(g.o_(\"TIMING_ACTION\")));(P=g.Zu())&&P!==\"UNDEFINED_CSN\"&&(k.clientScreenNonce=P);g.lN(k,W);B$(!0,W)})()};\nIQ=function(W,Y){return g.nT(function(){var k=Sp(Y);return W in k})()};\nMTF=function(W,Y){W.Ne=W.Ne.filter(function(k){return k!==Y})};\nUd=function(){var W=g.o3(\"_lact\",window);return W==null?-1:Math.max(Date.now()-W,0)};\nYfq=function(W){var Y=g.Ke(W,0,1937011556);if(!Y)return null;Y=QR(W,Y.dataOffset+8,1635148593)||QR(W,Y.dataOffset+8,1635135537);if(!Y)return null;var k=QR(W,Y.dataOffset+78,1936995172),P=QR(W,Y.dataOffset+78,1937126244);if(!P)return null;Y=null;if(k)switch(k.skip(4),nx(k)){default:Y=0;break;case 1:Y=2;break;case 2:Y=1;break;case 3:Y=255}var T=k=null,I=null;if(P=QR(W,P.dataOffset,1886547818)){var X=QR(W,P.dataOffset,1886546020),h=QR(W,P.dataOffset,2037673328);if(!h&&(h=QR(W,P.dataOffset,1836279920),\n!h))return null;X&&(X.skip(4),k=lg(X)/65536,I=lg(X)/65536,T=lg(X)/65536);W=JM5(h);W=new DataView(W.buffer,W.byteOffset+8,W.byteLength-8);return new Gcd(Y,k,I,T,W)}return null};\ntT2=function(){};\nqRv=function(W){var Y=kW(W.layout.clientMetadata,\"metadata_type_layout_enter_ms\"),k=kW(W.layout.clientMetadata,\"metadata_type_layout_exit_ms\");W=W.Va.get();Y=bSV(W.J,Y,k);return Math.min(k,Y!==null?Y:Infinity)};\nIy=function(W){for(var Y=g.e(W.J),k=Y.next();!k.done;k=Y.next())ny(W,k.value);W.J=[];W.K=null};\nMV=function(W){try{return(typeof W===\"string\"?W:String(JSON.stringify(W))).substr(0,500)}catch(Y){return\"unable to serialize \"+typeof W+\" (\"+Y.message+\")\"}};\nR8=function(W,Y,k){var P=VX5(),T=P.oH,I=P.resolve,X=P.reject;W.K.push(function(h){if(Y)try{var B=Y(h);I(B)}catch(O){X(O)}else I(h)});\nW.J.push(function(h){if(k)try{var B=k(h);I(B)}catch(O){X(O)}else X(h)});\ncC(W);return T};\nBn=function(W,Y,k){if(!W.playerVars)return new Fn(\"No playerVars available in InstreamVideoAdRenderer.\");var P,T;if(W.elementId==null||W.playerVars==null||W.playerOverlay==null||((P=W.playerOverlay)==null?void 0:P.instreamAdPlayerOverlayRenderer)==null&&((T=W.playerOverlay)==null?void 0:T.playerOverlayLayoutRenderer)==null||W.pings==null||W.externalVideoId==null)return new Fn(\"Received invalid VOD InstreamVideoAdRenderer\",{instreamVideoAdRenderer:W});P=DX(W.playerVars);T=Number(P.length_seconds);\nisNaN(T)&&(T=0,EF(\"Expected valid length seconds in player vars but got NaN\"));if(k.OU(Y.kind===\"AD_PLACEMENT_KIND_START\")){if(W.layoutId===void 0)return new Fn(\"Expected server generated layout ID in instreamVideoAdRenderer\");Y=W.layoutId}else Y=W.elementId;return{layoutId:Y,Sm:W,playerVars:P,Ye:W.playerVars,sK:T}};\nb95=function(W,Y){var k=Y.W.getValue();k=new g.fC(function(){czF(W,Y)},k);\ng.m(W,k);k.start();g.G0(Y.W);Nc(W,{rtyrq:1})};\nGC5=function(W,Y,k,P,T){var I=cL(W,Y);if(!I){Y.playerVars.prefer_gapless=!0;var X=new g.NC(W.zJ,Y.playerVars);X.U1=Y.U1;W.api.b2(X,Y.playerType)}X=W.app.D2();I||X.addCueRange(Y.Ag.BK);X.seekTo(k,Object.assign({},{Fi:\"application_timelinemanager\"},P));tvq(W,T)};\nRcq=function(){return XL()?Pn.platform===\"Windows\":wY(\"Windows\")};\nHw1=function(W){var Y=g.hL.CSSStyleDeclaration;return Y&&Y.prototype&&Y.prototype[W]||null};\nnC2=function(W){return{NU:RQ(W,1,XhV)}};\nzM5=function(W){EF(\"getExitReason: unexpected reason\",void 0,void 0,{reason:W})};\n$Pv=function(){return FD()?J_(\"Microsoft Edge\"):wY(\"Edg/\")};\npcv=function(W){return W.U(\"web_settings_menu_surface_custom_playback\")&&W.U(\"web_settings_use_input_slider\")};\ndk=function(W,Y){return Dw(W,Y)!=null};\nCM=function(W,Y,k,P){if(W.P6.get().OU(Y.kind===\"AD_PLACEMENT_KIND_START\"))if(k===void 0)EF(\"Expected SSAP layout ID in renderer\",void 0,void 0,{caller:P});else return k};\nGE5=function(W,Y,k){var P,T=-1,I=Y[1],X=0,h=7,B=4;I===0&&(h=138,B=3);for(P=0;P<=k;P++){var O=I;I=Y[(P+1)*2+1];if(!(++X55?\"60\":\nY>49?\"50\":Y>39?\"48\":\"\")));this.qualityLabel=W;this.W=B||\"\";this.primaries=O||\"\"};\ng.Vf=function(W,Y){gT||BlX();wH||(gT(),wH=!0);NMz.add(W,Y)};\nOx1=function(W){function Y(I,X,h){X=X.match(\"_rid\")?X.split(\"_rid\")[0]:X;typeof h===\"number\"&&(h=JSON.stringify(h));I.requestIds?I.requestIds.push({endpoint:X,id:h}):I.requestIds=[{endpoint:X,id:h}]}\nvar k={};W=g.e(Object.entries(W));for(var P=W.next();!P.done;P=W.next()){var T=g.e(P.value);P=T.next().value;T=T.next().value;switch(P){case \"GetBrowse_rid\":Y(k,P,T);break;case \"GetGuide_rid\":Y(k,P,T);break;case \"GetHome_rid\":Y(k,P,T);break;case \"GetPlayer_rid\":Y(k,P,T);break;case \"GetSearch_rid\":Y(k,P,T);break;case \"GetSettings_rid\":Y(k,P,T);break;case \"GetTrending_rid\":Y(k,P,T);break;case \"GetWatchNext_rid\":Y(k,P,T);break;case \"yt_red\":k.isRedSubscriber=!!T;break;case \"yt_ad\":k.isMonetized=!!T}}return k};\ney=function(W,Y){var k={};k[W]=Y;return[k]};\ng.Ld=function(W){g.vP.call(this,W);this.chrome=null;this.load()};\nJFd=function(W){var Y;return(((Y=lE(W))==null?void 0:Y.progressCommands)||[]).findIndex(function(k){return!!g.R(k==null?void 0:k.command,ECF)})!==-1};\nsZF=function(W){return W===-0x8000000000000?\"BEFORE_MEDIA_START\":W===0?\"MEDIA_START\":W===0x7ffffffffffff?\"MEDIA_END\":W===0x8000000000000?\"AFTER_MEDIA_END\":W.toString()};\ntC=function(W,Y){isNaN(W.Kg)||W.y5(\"aswr\",{sq:Y.info.EP[0].t5,id:Y.info.EP[0].W.info.itag,xtag:Y.info.EP[0].W.info.W,ep:Date.now()-W.Kg});W.J.push(Y);W.K=g.wE(Y.info.EP);W.gD.push(Y.TW());W.gD.length>4&&W.gD.shift()};\nox=function(W){return{itagDenylist:ya(W,1)}};\nhG=function(W,Y){Y=(Y=Y===void 0?0:Y)?Math.round(W.timestampOffset*Y)/Y:W.timestampOffset;W.C.T&&Y&&(Y+=W.C.T.W);return Y+W.getDuration()};\nNf=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-ad-grid-card-collection\"},\"ad-grid-card-collection\",Y,k,P);this.W=[]};\nGS2=function(W){var Y;return(W=W==null?void 0:(Y=W.error)==null?void 0:Y.code)&&W>=400&&W<=599?!1:!0};\nrFC=function(W){W.W.queryid||(W.W.queryid=new gs)};\nTm=function(W,Y){var k={},P;for(P in W)k[P]=Y.call(void 0,W[P],P,W);return k};\nb_d=function(W){var Y,k;if(k=(Y=W.player.getVideoData(1))==null||!Y.Rr)Y=W.player.V(),k=x6(Y)&&!g.xW(Y)&&Y.playerStyle===\"desktop-polymer\";k&&(W=W.player.getInternalApi(),W.addEventListener(\"updateKevlarOrC3Companion\",mMq),W.addEventListener(\"updateEngagementPanelAction\",ZiF),W.addEventListener(\"changeEngagementPanelVisibility\",y5C),window.addEventListener(\"yt-navigate-start\",nK6))};\nCA1=function(W,Y,k){W=oK6(W);Y=Y?g.PZ(Y):\"\";k=k||5;Fe()&&g.Jo(W,Y,k)};\nBZ=function(W){return!(!W.isLivePlayback||!W.hasProgressBarBoundaries())};\nAFd=function(W){var Y=W[0];W[0]=W[3];W[3]=Y;Y=W[1];W[1]=W[2];W[2]=Y;Y=W[4];W[4]=W[5];W[5]=Y;Y=W[6];W[6]=W[7];W[7]=Y};\ndzq=function(W){g.D.call(this);this.counter=[0,0,0,0];this.K=new Uint8Array(16);this.W=16;if(!zcS){var Y,k=new Uint8Array(256),P=new Uint8Array(256);var T=1;for(Y=0;Y<256;Y++)k[T]=Y,P[Y]=T,T^=T<<1^(T>>7&&283);Ow=new Uint8Array(256);uV=gF(256);Za=gF(256);iV=gF(256);Mp=gF(256);for(var I=0;I<256;I++){T=I?P[255^k[I]]:0;T^=T<<1^T<<2^T<<3^T<<4;T=T&255^T>>>8^99;Ow[I]=T;Y=T<<1^(T>>7&&283);var X=Y^T;uV[I]=Y<<24|T<<16|T<<8|X;Za[I]=X<<24|uV[I]>>>8;iV[I]=T<<24|Za[I]>>>8;Mp[I]=T<<24|iV[I]>>>8}zcS=!0}T=gF(44);\nfor(k=0;k<4;k++)T[k]=W[4*k]<<24|W[4*k+1]<<16|W[4*k+2]<<8|W[4*k+3];for(P=1;k<44;k++)W=T[k-1],k%4||(W=(Ow[W>>16&255]^P)<<24|Ow[W>>8&255]<<16|Ow[W&255]<<8|Ow[W>>>24],P=P<<1^(P>>7&&283)),T[k]=T[k-4]^W;this.key=T};\nfN=function(){vz.call(this);this.X=null;this.C=!1;this.T=\"ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED\"};\nxE2=function(W,Y,k,P){if(g.XG(W)&&!Array.isArray(W)){Y=\"playlist list listType index startSeconds suggestedQuality\".split(\" \");k={};for(P=0;P-1&&(Y=Y*256+P)}return Y}P=128;for(var T=0;T<6&&P>k;T++)k=k*256+uvS(W),P*=128;return Y?k:k-P};\nep=function(W,Y,k){tr.call(this,W);this.T=Y;this.clientState=k;this.W=\"S\";this.K=\"q\"};\noj=function(W){g.sq.call(this);var Y=this;this.C=this.K=0;this.EX=W!=null?W:{r_:function(T,I){return setTimeout(T,I)},\nCa:function(T){clearTimeout(T)}};\nvar k,P;this.W=(P=(k=window.navigator)==null?void 0:k.onLine)!=null?P:!0;this.J=function(){return g.v(function(T){return g.L(T,zg(Y),0)})};\nwindow.addEventListener(\"offline\",this.J);window.addEventListener(\"online\",this.J);this.C||this.u7()};\nRr=function(W,Y,k){if(k&&k!==W.slotType)return!1;Y=g.e(Y);for(k=Y.next();!k.done;k=Y.next())if(!EJ(W.clientMetadata,k.value))return!1;return!0};\nLY5=function(W,Y){Y<0||(W.K.forEach(function(k){ylq(k,Y)}),W.timestampOffset=Y)};\ngUv=function(W,Y){var k=Tb(W.K.get(),W.slot.slotType),P=Object,T=P.assign;W=W.slot;if(Y.slotEntryTrigger){var I=Y.slotId;var X=Y.slotEntryTrigger;I=X.triggeringSlotId!=null&&X.triggeringSlotId===I?X.clone(k):X}else I=void 0;return T.call(P,{},W,{slotId:k,slotEntryTrigger:I,slotFulfillmentTriggers:X0C(Y.slotId,k,Y.slotFulfillmentTriggers),slotExpirationTriggers:X0C(Y.slotId,k,Y.slotExpirationTriggers)})};\nt6d=function(W,Y){switch(W){case \"TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL\":return 0;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED\":return 1;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED\":return 2;case \"TRIGGER_CATEGORY_SLOT_EXPIRATION\":return 3;case \"TRIGGER_CATEGORY_SLOT_FULFILLMENT\":return 4;case \"TRIGGER_CATEGORY_SLOT_ENTRY\":return 5;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED\":return 6;case \"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED\":return 7;default:return Y(W),8}};\nmz1=function(W,Y){var k=W.started+W.W*4;Y&&(k+=W.J);k=Math.max(0,k-3);return Math.pow(1.6,k)};\njN0=function(){var W=W===void 0?window.location.href:W;if(g.dS(\"kevlar_disable_theme_param\"))return null;var Y=e6(W);if(g.dS(\"enable_dark_theme_only_on_shorts\")&&Y!=null&&Y.startsWith(\"/shorts/\"))return\"USER_INTERFACE_THEME_DARK\";try{var k=g.R2(W).theme;return DzX.get(k)||null}catch(P){}return null};\nY1z=function(W,Y,k,P){W.W&&W.W.dispose();W.W=new g.fC(W.n1,Y,W);g.m(W,W.W);P=jt6(P);Y=P==null?void 0:P.navigationEndpoint;var T;P=P==null?void 0:(T=P.icon)==null?void 0:T.iconType;var I;T=(I=g.R(Y,g.$i))==null?void 0:I.url;W.Y.setTrackingParams(W.element,(Y==null?void 0:Y.clickTrackingParams)||null);Y&&!T?(W.innertubeCommand=Y,T=\"#!\"):W.innertubeCommand=null;var X;W.K.update({href:(X=T)!=null?X:\"#\",text:k,icon:P===\"MONEY_HAND\"?{S:\"svg\",D:{fill:\"none\",height:\"100%\",viewBox:\"0 0 24 24\",width:\"100%\"},\nB:[{S:\"path\",D:{d:\"M6 9H5V5V4H6H19V5H6V9ZM21.72 16.04C21.56 16.8 21.15 17.5 20.55 18.05C20.47 18.13 18.42 20.01 14.03 20.01C13.85 20.01 13.67 20.01 13.48 20C11.3 19.92 8.51 19.23 5.4 18H2V10H5H6H7V6H21V13H16.72C16.37 13.59 15.74 14 15 14H12.7C13.01 14.46 13.56 15 14.5 15H15.02C16.07 15 17.1 14.64 17.92 13.98C18.82 13.26 20.03 13.22 20.91 13.84C21.58 14.32 21.9 15.19 21.72 16.04ZM15 10C15 9.45 14.55 9 14 9C13.45 9 13 9.45 13 10H15ZM20 11C19.45 11 19 11.45 19 12H20V11ZM19 7C19 7.55 19.45 8 20 8V7H19ZM8 8C8.55 8 9 7.55 9 7H8V8ZM8 10H12C12 8.9 12.9 8 14 8C15.1 8 16 8.9 16 10V10.28C16.59 10.63 17 11.26 17 12H18C18 10.9 18.9 10 20 10V9C18.9 9 18 8.1 18 7H10C10 8.1 9.1 9 8 9V10ZM5 13.5V11H3V17H5V13.5ZM20.33 14.66C19.81 14.29 19.1 14.31 18.6 14.71C17.55 15.56 16.29 16 15.02 16H14.5C12.62 16 11.67 14.46 11.43 13.64L11.24 13H15C15.55 13 16 12.55 16 12C16 11.45 15.55 11 15 11H6V13.5V17.16C8.9 18.29 11.5 18.93 13.52 19C17.85 19.15 19.85 17.34 19.87 17.32C20.33 16.9 20.62 16.4 20.74 15.84C20.84 15.37 20.68 14.91 20.33 14.66Z\",\nfill:\"white\"}}]}:null,chevron:T||W.innertubeCommand?g.Gt():null})};\ng.Bk=function(W){return W.flavor===\"fairplay\"};\ne0=function(W,Y,k,P,T){var I=W.W||W.isDragging||W.K||W.jA;W.W=Y;W.isDragging=k;W.K=P;W.jA=T;Y=W.W||W.isDragging||W.K||W.jA;I!==Y&&(Y?W.C=W.Z(W.element,\"wheel\",W.fW):(W.nH(W.C),W.C=null),g.ML(W.X,\"ytp-volume-slider-active\",Y))};\nDMv=function(){return{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z\",fill:\"white\"}}]}};\nFIX=function(W,Y,k){Y.Z(k,\"keyboardserviceglobalkeydown\",function(P,T){W.J&&P.keyCode===86&&!P.repeat&&W.K!==0&&(T&&(T.SE=!0),ufS(W,\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\"))});\nY.Z(W.api.getRootNode(),\"wheel\",function(P){if(!W.L){var T;if(W.J&&(T=W.C)!=null&&T.element&&W.K!==0&&sn(W))if(g.N6(W.api.getRootNode(),\"ytp-grid-scrolling\"),W.T===0&&(W.T=window.innerHeight),W.K===1)W.T!==0&&(W.W+=P.deltaY/W.T,W.W=Math.min(Math.max(W.W,0),.85),JD(W),cVv(W,Math.abs(W.W)>=.85));else if(W.K===2){T=P.deltaY<0;var I,X=((I=W.C)==null?void 0:I.element.scrollTop)===0;T&&X?W.T!==0&&(W.W+=P.deltaY/W.T,JD(W),cVv(W,Math.abs(W.W)>=.85)):W.W!==0&&(W.W=0,JD(W))}}},W,!0);\nY.Z(k,\"standardControlsInitialized\",function(){if(!W.C){W.C=new to(W.api,W.OP.bind(W));g.m(W,W.C);var P=W.api.getRootNode().querySelector(\".ytp-chrome-bottom\");P&&P.parentNode&&P.parentNode.insertBefore(W.C.element,P.nextSibling);gCq(W)}});\nY.Z(k,\"presentingplayerstatechange\",function(){cB(W)});\nY.Z(k,\"autonavvisibility\",function(){cB(W)});\nW.api.qz().subscribe(\"visibilitystatechange\",function(){cB(W)});\nVFV(W,W.K)};\nsDq=function(){return g.fF(\"iemobile\")||g.fF(\"windows phone\")&&g.fF(\"edge\")};\nToq=function(W,Y){if(W.videoData.Kg)return!1;W.pg.K1+=1;if(W.pg.K1<=10)return!1;Y.exiled=\"\"+W.pg.K1;W.Pz(\"qoe.start15s\",Y);W.W6.publish(\"playbackstalledatstart\");return!0};\npQ0=function(W,Y){var k=W.Hy;W.Hy=function(){k();Y()}};\nX6S=function(W){sE.call(this,W);D4(this.api,\"queueOfflineAction\",this.queueOfflineAction.bind(this));D4(this.api,\"updateDownloadState\",this.updateDownloadState.bind(this));D4(this.api,\"pauseVideoDownload\",this.pauseVideoDownload.bind(this));D4(this.api,\"resumeVideoDownload\",this.resumeVideoDownload.bind(this));D4(this.api,\"isOrchestrationLeader\",this.isOrchestrationLeader.bind(this));D4(this.api,\"refreshAllStaleEntities\",this.refreshAllStaleEntities.bind(this));D4(this.api,\"setUpPositionSyncInterval\",\nthis.setUpPositionSyncInterval.bind(this))};\nWid=function(W){sE.call(this,W);var Y=this;this.freePreviewWatchedDuration=null;this.freePreviewUsageDetails=[];this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"heartbeatRequest\",function(k){if(Y.freePreviewUsageDetails.length||Y.freePreviewWatchedDuration!==null)k.heartbeatRequestParams||(k.heartbeatRequestParams={}),k.heartbeatRequestParams.unpluggedParams||(k.heartbeatRequestParams.unpluggedParams={}),Y.freePreviewUsageDetails.length>0?k.heartbeatRequestParams.unpluggedParams.freePreviewUsageDetails=\nY.freePreviewUsageDetails:k.heartbeatRequestParams.unpluggedParams.freePreviewWatchedDuration={seconds:\"\"+Y.freePreviewWatchedDuration}});\nD4(W,\"setFreePreviewWatchedDuration\",function(k){Y.freePreviewWatchedDuration=k});\nD4(W,\"setFreePreviewUsageDetails\",function(k){Y.freePreviewUsageDetails=k})};\nwcd=function(W){g.c.call(this,{S:\"div\",j:\"ytp-title-channel\",B:[{S:\"div\",j:\"ytp-title-beacon\"},{S:\"a\",j:\"ytp-title-channel-logo\",D:{href:\"{{channelLink}}\",target:W.V().N,role:\"link\",\"aria-label\":\"{{channelLogoLabel}}\",tabIndex:\"0\"}},{S:\"div\",j:\"ytp-title-expanded-overlay\",D:{\"aria-hidden\":\"{{flyoutUnfocusable}}\"},B:[{S:\"div\",j:\"ytp-title-expanded-heading\",B:[{S:\"div\",j:\"ytp-title-expanded-title\",B:[{S:\"a\",v6:\"{{expandedTitle}}\",D:{href:\"{{channelTitleLink}}\",target:W.V().N,\"aria-hidden\":\"{{shouldHideExpandedTitleForA11y}}\",\ntabIndex:\"{{channelTitleFocusable}}\"}}]},{S:\"div\",j:\"ytp-title-expanded-subtitle\",v6:\"{{expandedSubtitle}}\",D:{\"aria-hidden\":\"{{shouldHideExpandedSubtitleForA11y}}\"}}]}]}]});var Y=this;this.api=W;this.channel=this.J5(\"ytp-title-channel\");this.K=this.J5(\"ytp-title-channel-logo\");this.channelName=this.J5(\"ytp-title-expanded-title\");this.C=this.J5(\"ytp-title-expanded-overlay\");this.J=this.W=this.subscribeButton=null;this.T=!1;W.createClientVe(this.K,this,36925);W.createClientVe(this.channelName,this,\n37220);g.hN(this.api.V())&&N_7(this);this.Z(W,\"videodatachange\",this.xa);this.Z(W,\"videoplayerreset\",this.xa);this.Z(this.channelName,\"click\",function(k){Y.api.logClick(Y.channelName);g.qu(window,zs(Y));k.preventDefault()});\nthis.Z(this.K,\"click\",this.w7D);this.xa()};\ng.Cd=function(W,Y){lb.get(W);lb.set(W,Y)};\ns1=function(W,Y){W.xq=Y;W.BJ(new pc(g.Ab(W.xq,function(k){return k.getInfo()})))};\nFr=function(W,Y,k){typeof k===\"string\"?W.Y.getVideoData(1).lf(Y,k):W.Y.getVideoData(1).y5(Y,k)};\nul=function(W){g.D.call(this);this.Y=W;this.listeners=[];this.W=new EQ(this);g.m(this,this.W);this.W.Z(this.Y,\"aduxclicked\",this.onAdUxClicked);this.W.Z(this.Y,\"aduxmouseover\",this.Ge);this.W.Z(this.Y,\"aduxmouseout\",this.q$);this.W.Z(this.Y,\"muteadaccepted\",this.bgq)};\nynv=function(W){this.W=W.playback_progress_0s_url;this.J=W.playback_progress_2s_url;this.K=W.playback_progress_10s_url};\ng.ws=function(W,Y){Y=Y===void 0?\"\":Y;if(W.CL){var k=new $e,P,T=W.CL();T.signedOut?P=\"\":T.token?P=T.token:T.pendingResult.then(function(I){T.signedOut?k.resolve(\"\"):k.resolve(I.token)},function(I){g.Jx(new g.M6(\"b189348328_oauth_callback_failed\",{error:I}));\nk.resolve(Y)});\nreturn P!==void 0?Ww(P):new lf(k)}return Ww(Y)};\nQZ7=function(W){return W.backButton?(W.backButton.focus(),!0):!1};\nIi1=function(W){if(W.dU&&typeof W.dU==\"function\")return W.dU();if(!W.F7||typeof W.F7!=\"function\"){if(typeof Map!==\"undefined\"&&W instanceof Map)return Array.from(W.keys());if(!(typeof Set!==\"undefined\"&&W instanceof Set)){if(g.yY(W)||typeof W===\"string\"){var Y=[];W=W.length;for(var k=0;k0?Math.min(T,M):M;return h(u).then(function(){I&&I(Z,O-1);return X(h4(W,Y),O-1,t)})})}\nfunction h(B){return new g.JL(function(O){setTimeout(O,B)})}\nT=T===void 0?-1:T;return X(h4(W,Y),k-1,P)};\nbwd=function(W,Y,k){if(Y.endpoint===\"log_event\"){JH(void 0,Y);var P=sy(Y,!0),T=tPz(W),I=200;if(T){if(T.enabled===!1&&!g.dS(\"web_payload_policy_disabled_killswitch\"))return;I=c2z(T.tier);if(I===400){q6F(W,Y,k);return}}Ne[P]=!0;P={cttAuthInfo:P,isJspb:!0,tier:I};Y1().storePayload(P,fl(Y.payload));NG2(k,!0,P,rf(W))}};\npg=function(W){this.name=W};\nxzv=function(W,Y,k){Y=QP(Y);k=QP(k);for(var P=W.data,T=W.output,I=W.J,X=W.register,h=W.W,B=W.K;;){if(h<15){if(B>P.length){W.error=!0;break}X|=(P[B+1]<<8)+P[B]<>=7;O<0;)O=Y[(X&1)-O],X>>=1;else X>>=O&15;h-=O&15;O>>=4;if(O<256)T[I++]=O;else if(W.register=X,W.W=h,W.K=B,O>256){X=BQ[O];X+=d_(W,S7[O]);B=TQS(W,k);h=uh[B];h+=d_(W,Od[B]);if(cFd&&XW.T.length;)P=\nvoid 0,(P=W.thumbnails.pop())==null||P.dispose();for(;W.thumbnails.lengthk.length;)P=void 0,(P=W.K.pop())==null||P.dispose();\nfor(;W.K.length=400?(W.lastError=\"net.badstatus\",!0):(T===void 0?0:T)?(W.lastError=\"ump.spsrejectfailure\",!0):k||P!==void 0&&P?!1:(W.lastError=Y===204?\"net.nocontent\":\"net.connect\",!0)};\nK8=function(W,Y,k){try{if(W){if(!Y.top)return new jn(-12245933,-12245933,-12245933,-12245933);Y=Y.top}var P=BD0(W,Y,k),T=P.height,I=P.width;if(I===-12245933)return new jn(I,I,I,I);var X=mu(Y.document);var h=Icq(X.W);var B=h.x,O=h.y;return new jn(O,B+I,O+T,B)}catch(u){return new jn(-12245933,-12245933,-12245933,-12245933)}};\nCm=function(W,Y){S5.call(this,W,Y);this.G=[]};\ng.krd=function(W,Y){return Y.state===W.state&&Y.dc===W.dc};\ng.m=function(W,Y){W.addOnDisposeCallback(g.p8(g.o8,Y))};\ng.Hu1=function(){var W=g.GK(\"yt-player-caption-language-preferences\");return W?W:[]};\nOF=function(W,Y,k){return Owv(W)?new fA(Math.max(Y,W.u8.startTimeMs/1E3),Math.min(k,W.u8.endTimeMs/1E3)):new fA(Y,k)};\ng.Ew=function(W){for(var Y=g.e(W.items),k=Y.next();!k.done;k=Y.next())k.value.unsubscribe(\"size-change\",W.vW,W);W.items=[];try{g.ee(W.menuItems.element)}catch(I){var P,T;g.Jx(new g.M6(\"Failed to remove menu items from panel menu.\",{error:I.message,originalStack:I.stack,childToBeRemoved:(T=(P=W.menuItems.element.firstChild)==null?void 0:P.textContent)!=null?T:\"child element not found\"}))}W.menuItems.publish(\"size-change\")};\nzI6=function(W,Y){var k=o2(W);if(W.policy.nu){var P=W.wD;var T=W.gD}else P=L_(W,W.audioTrack),T=L_(W,W.videoTrack);var I=[].concat(g.cp(P.va),g.cp(T.va));b9(W)&&I.push.apply(I,g.cp(W.X));var X=[].concat(g.cp(P.dw),g.cp(T.dw)),h=W.loader.jC();if(W.policy.df&&!W.videoData.isLivePlayback){var B=W.videoData.lengthSeconds*1E3;k>=B&&W.loader.y5(\"invalidSabrCmt\",{cmt:k,vd:B})}var O,u;B=W.W6;var Z=W.H6,M=W.K,t=W.videoData.bz,q=W.policy,G=W.loader.LJ,E=chq(W.loader)*1E3,z=(O=W.TJ)==null?void 0:O.Vw;O=(u=W.TJ)==\nnull?void 0:u.Co;var A;u=Number((A=W.J.T)==null?void 0:A.info.itag)||0;var F;A=Number((F=W.J.C)==null?void 0:F.info.itag)||0;Y={W6:B,H6:Z,va:I,dw:X,fF:k,nextRequestPolicy:M,gy:t,l7:q,Gs:G,nX:E,Vw:z,Co:O,qo:W.qo,isPrefetch:Y||W.loader.isSuspended,A5z:u,MD:A,wY:h,AQ:W.W6.Sp()};k=W.loader.Dj();I=Df(k);k&&(Y.qX=I);if(k=W.W6.sG())Y.Ko=k*1E3;var y;k=W.J;I=k.A5;if(((y=k.l7)==null?0:LN(y))&&!I)for(y=g.e(k.J),X=y.next();!X.done;X=y.next())if(X.value.Ib){I=!0;break}y=LN(k.l7)&&!I?[]:gzS(k,k.J);Y.vB=y;y=W.J;\nLN(y.l7)&&!y.Kg?y=[]:(k=uqC(y),k.length===0&&(k=y.X),y=gzS(y,k));Y.PB=y;Y.iR=b9(W)?[W.G]:void 0;W.policy.bk&&(Y.DI=avd(W.loader,W.audioTrack),Y.Qq=avd(W.loader,W.videoTrack));if(W.policy.K){y=W.loader.getCurrentTime();P=C_(W,P.va,y);T=C_(W,T.va,y);T=Math.min(P,T);b9(W)&&(P=C_(W,W.X,y),W.W6.OR()&&P0&&W.W[0].Ra()&&(Y.Wc=W.W[0].fm());return Y};\nQUd=function(W,Y,k,P){var T=new g.Lj(Y,void 0,\"Video Override\");g.d2.call(this,P.text||\"\",W,Y,k,\"Video Override\",function(){g.bj(k,T)});\nvar I=this;g.N6(this.element,\"ytp-subtitles-options-menu-item\");this.setting=P.option.toString();W=P.options;this.settings=g.qk(W,this.KD,this);this.T=T;g.m(this,this.T);Y=new g.Ia({S:\"div\",j:\"ytp-menuitemtitle\",v6:\"Allow for a different caption style if specified by the video.\"},0);g.m(this,Y);this.T.c7(Y,!0);this.K=new g.Ia({S:\"div\",j:\"ytp-menuitem\",D:{role:\"menuitemradio\",tabindex:\"0\"},B:[{S:\"div\",j:\"ytp-menuitem-label\",v6:\"On\"}]},-1);g.m(this,this.K);this.T.c7(this.K,!0);this.Z(this.K.element,\n\"click\",function(){i27(I,!0)});\nthis.W=new g.Ia({S:\"div\",j:\"ytp-menuitem\",D:{role:\"menuitemradio\",tabindex:\"0\"},B:[{S:\"div\",j:\"ytp-menuitem-label\",v6:\"Off\"}]},-2);g.m(this,this.W);this.T.c7(this.W,!0);this.Z(this.W.element,\"click\",function(){i27(I,!1)});\nthis.oS(g.Ab(W,this.KD))};\ni0=function(){for(var W=[],Y=g.o_(\"EXPERIMENTS_FORCED_FLAGS\",{}),k=g.e(Object.keys(Y)),P=k.next();!P.done;P=k.next())P=P.value,W.push({key:P,value:String(Y[P])});k=g.o_(\"EXPERIMENT_FLAGS\",{});P=g.e(Object.keys(k));for(var T=P.next();!T.done;T=P.next())T=T.value,T.startsWith(\"force_\")&&Y[T]===void 0&&W.push({key:T,value:String(k[T])});return W};\ng.zx=function(W){return Hr(W)&&!W.allowLiveDvr};\nkUq=function(W,Y,k,P,T){var I;if((I=W.playerOverlay)==null||!I.instreamSurveyAdRenderer)return function(){return[]};\nif(!$Y0(W))return function(){return new l(\"Received invalid InstreamVideoAdRenderer for DAI survey.\",{instreamVideoAdRenderer:W})};\nvar X=W.playerOverlay.instreamSurveyAdRenderer,h=fB(X);return h<=0?function(){return new l(\"InstreamSurveyAdRenderer should have valid duration.\",{instreamSurveyAdRenderer:X})}:function(B,O){var u=Q4v(B,k,P,function(Z){var M=Z.slotId;\nZ=O(Z);var t=VL(X);M=yN(T.K.get(),\"LAYOUT_TYPE_SURVEY\",M);var q={layoutId:M,layoutType:\"LAYOUT_TYPE_SURVEY\",fg:\"core\"},G=new L6(T.W,P),E=new Yb(T.W,M),z=new CA(T.W,M),A=new amv(T.W);return{layoutId:M,layoutType:\"LAYOUT_TYPE_SURVEY\",W7:new Map,layoutExitNormalTriggers:[G,A],layoutExitSkipTriggers:[E],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[z],II:[],fg:\"core\",clientMetadata:new i_([new z_C(X),new yI(Y),new fr(h/1E3),new x7(t)]),XA:Z(q),adLayoutLoggingData:X.adLayoutLoggingData}});\nB=sk2(W,k,u.slotId,P,T,B,O);return B instanceof l?B:[u].concat(g.cp(B))}};\nPId=function(W,Y){var k=[];W=W.W.W.get(Y);if(!W)return[];W=g.e(W);for(Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y.cpn&&k.push(Y.cpn);return k};\nT45=function(W,Y){W.W.has(Y.aJ())?EF(\"Trying to register an existing AdErrorInfoSupplier.\"):W.W.set(Y.aJ(),Y)};\niEd=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q){for(var G=[],E=g.e(W),z=E.next();!z.done;z=E.next())if(z=z.value,!jUz(z)&&!epd(z)){var A=nO(z)&&!!z.slotEntryTrigger.beforeContentVideoIdStartedTrigger,F=B.OU(A),y=MMv(z,O,P,k.eS,F);if(y instanceof l)return y;var U=void 0,V={slotId:z.adSlotMetadata.slotId,slotType:z.adSlotMetadata.slotType,slotPhysicalPosition:(U=z.adSlotMetadata.slotPhysicalPosition)!=null?U:1,fg:\"core\",slotEntryTrigger:y.slotEntryTrigger,slotFulfillmentTriggers:y.slotFulfillmentTriggers,\nslotExpirationTriggers:y.slotExpirationTriggers},b=g.R(z.fulfillmentContent.fulfilledLayout,j6F);if(b){if(!a2(b))return new l(\"Invalid PlayerBytesAdLayoutRenderer\");U=Z&&!(nO(z)&&z.slotEntryTrigger.beforeContentVideoIdStartedTrigger);y=y.slotFulfillmentTriggers.some(function(Sz){return Sz instanceof Rc});\nF=U?ZM0(V,z.adSlotMetadata.triggerEvent,b,k,P,I,O,W,F,M,y,t):Q3X(V,z.adSlotMetadata.triggerEvent,b,Y,k,P,T,I,X,h,B,O,W,u,F,z.adSlotMetadata.triggeringSourceLayoutId);if(F instanceof l)return F;y=[];q?y.push(new Tl({current:q})):y.push(new Tl({current:null}));nO(z)&&y.push(new nP({kt:nO(z)&&!!z.slotEntryTrigger.beforeContentVideoIdStartedTrigger}));U&&y.push(new QI({}));k.t9&&y.push(new pP({}));y.push(new RI(A));z=Object.assign({},V,{clientMetadata:new i_(y),fulfilledLayout:F.layout,adSlotLoggingData:z.adSlotMetadata.adSlotLoggingData});\nG.push.apply(G,g.cp(F.I6));G.push(z)}else if(A=g.R(z.fulfillmentContent.fulfilledLayout,kH)){if(!N62(A))return new l(\"Invalid PlayerUnderlayAdLayoutRenderer\");A=KM2(A,P,k.eS,I,V,z.adSlotMetadata.triggerEvent,z.adSlotMetadata.triggeringSourceLayoutId);if(A instanceof l)return A;z=Object.assign({},V,{clientMetadata:new i_([]),fulfilledLayout:A,adSlotLoggingData:z.adSlotMetadata.adSlotLoggingData});G.push(z)}else if(A=g.R(z.fulfillmentContent.fulfilledLayout,IHq)){if(!iRd(A))return new l(\"Invalid AboveFeedAdLayoutRenderer\");\nA=W4z(A,P,k.eS,I,V,z.adSlotMetadata.triggerEvent,z.adSlotMetadata.triggeringSourceLayoutId);if(A instanceof l)return A;z=Object.assign({},V,{clientMetadata:new i_([]),fulfilledLayout:A,adSlotLoggingData:z.adSlotMetadata.adSlotLoggingData});G.push(z)}else if(A=g.R(z.fulfillmentContent.fulfilledLayout,Xtz)){if(!fj(A.adLayoutMetadata)||!g.R(A.renderingContent,Rm))return new l(\"Invalid BelowPlayerAdLayoutRenderer\");A=W4z(A,P,k.eS,I,V,z.adSlotMetadata.triggerEvent,z.adSlotMetadata.triggeringSourceLayoutId);\nif(A instanceof l)return A;z=Object.assign({},V,{clientMetadata:new i_([]),fulfilledLayout:A,adSlotLoggingData:z.adSlotMetadata.adSlotLoggingData});G.push(z)}else if(A=g.R(z.fulfillmentContent.fulfilledLayout,S86)){if(!ifd(A))return new l(\"Invalid PlayerBytesSequenceItemAdLayoutRenderer\");A=UA7(A,P,k.eS,I,V,z.adSlotMetadata.triggerEvent);if(A instanceof l)return A;z=Object.assign({},V,{clientMetadata:new i_([]),fulfilledLayout:A,adSlotLoggingData:z.adSlotMetadata.adSlotLoggingData});G.push(z)}else return new l(\"Unable to retrieve a client slot [\"+\nV.slotType+\"] from a given AdSlotRenderer\")}return G};\nJy=function(W,Y,k,P){W.W=3;W.X=\"The stream is broken @\"+W.N+\"/\"+k+\". Error: \"+P+\". With input:\\n\"+Y;throw Error(W.X);};\ng.FF=function(W){return W.U(\"enable_wn_infocards\")};\nE6=function(W,Y){this.ob=W;this.W=Y===void 0?!1:Y;this.K=!1};\nIi=function(W,Y,k){this.zJ=W;this.dY=Y;this.W6=k;this.L=this.X=this.W=this.T=this.G=this.K=0;this.C=!1;this.N=g.je(this.zJ.experiments,\"html5_displayed_frame_rate_downgrade_threshold\")||45;this.J=new Map};\nIM=function(W,Y){return Kb(W.segments,function(k){return Y-k.t5})};\nk62=function(W){return yKd(function(Y,k){return g.ng(Y,k,4,1E3)},W,{format:\"RAW\",\nmethod:\"GET\",withCredentials:!0})};\nh6F=function(W,Y){var k=\"\";Y=Y.Ny();Y.totalLength<=W.policy.wu&&(k=ozS(W,YE(Y)));return k};\nx0d=function(W,Y,k,P){Y={S:\"span\",Ya:P,B:[Y]};var T;P=\"ytp-swatch-color\";if(W.T||W.W)P=\"ytp-swatch-color-white\";k===\"highres\"?T=\"8K\":k===\"hd2880\"?T=\"5K\":k===\"hd2160\"?T=\"4K\":k.indexOf(\"hd\")===0&&k!==\"hd720\"&&(T=\"HD\");T&&(Y.B.push(\" \"),Y.B.push({S:\"sup\",j:P,v6:T}));return Y};\nge=function(W){return{toString:function(){return W()}}};\nNkV=function(W,Y,k,P,T,I){var X=Tb(W.K.get(),\"SLOT_TYPE_PLAYER_BYTES\"),h=Tb(W.K.get(),\"SLOT_TYPE_IN_PLAYER\"),B=yN(W.K.get(),\"LAYOUT_TYPE_SURVEY\",h);P=Tv(W,Y,k,P);var O=[new jm(W.W,X)];k=[new Jp(W.W,X),new Zp(W.W,k),new DN(W.W,B)];if(P instanceof l)return P;h=I({slotId:X,slotType:\"SLOT_TYPE_PLAYER_BYTES\",slotPhysicalPosition:1,fg:\"core\",slotEntryTrigger:P,slotFulfillmentTriggers:O,slotExpirationTriggers:k},{slotId:h,layoutId:B});I=h.Hg6;h=h.GN;return[{slotId:X,slotType:\"SLOT_TYPE_PLAYER_BYTES\",slotPhysicalPosition:1,\nslotEntryTrigger:GG(W,Y,X,P),slotFulfillmentTriggers:kd(W,Y,X,O),slotExpirationTriggers:k,fg:\"core\",clientMetadata:new i_([new H$(I),new RI(Yd(Y)),new nP({kt:W.kt(Y)})]),adSlotLoggingData:T},h]};\nKh=function(W,Y,k){var P=W.RR[Y];if(P!=null)return P;P=Pmz(W,Y);var T=Us(lC,function(I){return I==Y});\nW=Zv7(W,P,P,k,B4z[lC[T]]);Y==\"fully_viewable_audible_half_duration_impression\"&&(W.std=\"csm\");return W};\nZWV=function(W,Y){var k;return W.W.equals(Y)&&(!W.C.W||!W.W.isLocked()||((k=W.nextVideo)==null?void 0:k.info.id)===W.C.W)};\nOsq=function(W){var Y=W.T;W.T=[];return Y};\nPWX=function(W,Y){var k=0;W.T.has(Y)&&(k=W.T.get(Y).bX);W.T.set(Y,{bX:k+1,Ll:Math.pow(2,k+1)});W.K=!0};\ng.p8=function(W,Y){var k=Array.prototype.slice.call(arguments,1);return function(){var P=k.slice();P.push.apply(P,arguments);return W.apply(this,P)}};\naJ=function(W,Y,k,P,T){var I=W.U(\"html5_enable_new_audio_settings_menu\");gm.call(this,\"Stable Volume\",I?uaz.gC:g.po.gC);this.Y=W;this.J=Y;this.K=k;this.hasDrcAudioTrack=P;this.getDrcState=T;this.enableNewAudioSettingsMenu=this.W=!1;g.N6(this.element,\"ytp-drc-menu-item\");this.Mq=(this.enableNewAudioSettingsMenu=I)?W.ML().Pm:W.ML();W.addEventListener(\"videodatachange\",this.X5.bind(this));W.U(\"mta_drc_mutual_exclusion_removal\")&&this.Z(W,\"onPlaybackAudioChange\",this.X5);this.enableNewAudioSettingsMenu&&\nthis.Z(W,\"audiopreferencechange\",this.X5);Y=this.K()===1&&this.hasDrcAudioTrack();this.enableNewAudioSettingsMenu||(W=W.U(\"delhi_modern_web_player_icons\")?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M12 .99C5.92 .99 1 5.92 1 11.99C1 18.07 5.92 22.99 12 22.99C18.07 22.99 23 18.07 23 11.99C23 5.92 18.07 .99 12 .99ZM12 2.99C14.38 2.99 16.67 3.94 18.36 5.63C20.05 7.32 21 9.61 21 11.99C21 14.38 20.05 16.67 18.36 18.36C16.67 20.05 14.38 20.99 12 20.99C9.61 20.99 7.32 20.05 5.63 18.36C3.94 16.67 3 14.38 3 11.99C3 9.61 3.94 7.32 5.63 5.63C7.32 3.94 9.61 2.99 12 2.99ZM14 6.00C13.73 6.00 13.48 6.10 13.29 6.29C13.10 6.48 13 6.73 13 7.00V17.00C13 17.26 13.10 17.52 13.29 17.70C13.48 17.89 13.73 18.00 14 18.00C14.26 18.00 14.51 17.89 14.70 17.70C14.89 17.52 15 17.26 15 17.00V7.00C15 6.73 14.89 6.48 14.70 6.29C14.51 6.10 14.26 6.00 14 6.00ZM10 8.00C9.73 8.00 9.48 8.10 9.29 8.29C9.10 8.48 9 8.73 9 9.00V15.00C9 15.26 9.10 15.52 9.29 15.70C9.48 15.89 9.73 16.00 10 16.00C10.26 16.00 10.51 15.89 10.70 15.70C10.89 15.52 11 15.26 11 15.00V9.00C11 8.73 10.89 8.48 10.70 8.29C10.51 8.10 10.26 8.00 10 8.00ZM18 9.00C17.73 9.00 17.48 9.10 17.29 9.29C17.10 9.48 17 9.73 17 10.00V14.00C17 14.26 17.10 14.52 17.29 14.70C17.48 14.89 17.73 15.00 18 15.00C18.26 15.00 18.51 14.89 18.70 14.70C18.89 14.52 19 14.26 19 14.00V10.00C19 9.73 18.89 9.48 18.70 9.29C18.51 9.10 18.26 9.00 18 9.00ZM6 10.00C5.73 10.00 5.48 10.10 5.29 10.29C5.10 10.48 5 10.73 5 11.00V13.00C5 13.26 5.10 13.52 5.29 13.70C5.48 13.89 5.73 14.00 6 14.00C6.26 14.00 6.51 13.89 6.70 13.70C6.89 13.52 7 13.26 7 13.00V11.00C7 10.73 6.89 10.48 6.70 10.29C6.51 10.10 6.26 10.00 6 10.00Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M7 13H5v-2h2v2zm3-4H8v6h2V9zm3-3h-2v12h2V6zm3 2h-2v8h2V8zm3 2h-2v4h2v-4zm-7-7c-4.96 0-9 4.04-9 9s4.04 9 9 9 9-4.04 9-9-4.04-9-9-9m0-1c5.52 0 10 4.48 10 10s-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2z\",fill:\"white\"}}]},this.setIcon(W));this.subscribe(\"select\",this.T,this);this.enableNewAudioSettingsMenu?this.X5():(this.setEnabled(this.hasDrcAudioTrack()),B5(this,Y),this.Mq.c7(this))};\nEr=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)||window.ManagedMediaSource};\ngO=function(W){this.W=W};\ng.xW=function(W){return g.gp(W)||Fp(W)===\"TV_UNPLUGGED_CAST\"||YV(W)};\ng.Yt=function(W){var Y=new Al;return Y.isAvailable()?W?new KO(Y,W):Y:null};\nwN5=function(){var W=document;return g.ik([\"fullscreenerror\",\"webkitfullscreenerror\",\"mozfullscreenerror\",\"MSFullscreenError\"],function(Y){return\"on\"+Y.toLowerCase()in W})};\nG3d=function(W,Y,k){k=k===void 0?1:k;var P=Y.itag;if(P===\"0\")return!0;var T=Y.mimeType;if(Y.lz===\"1e\"&&!W.C)return\"dav1enc\";if(jQ(Y)&&W.A5)return\"dav1\";if(Y.video&&(Y.video.isHdr()||Y.video.primaries===\"bt2020\")&&!(LZ(W,Up.EOTF)||window.matchMedia&&(window.matchMedia(\"(dynamic-range: high), (video-dynamic-range: high)\").matches||window.screen.pixelDepth>24&&window.matchMedia(\"(color-gamut: p3)\").matches)))return\"dhdr\";if(P===\"338\"&&!(g.sr?UX(53):g.r9&&UX(64)))return\"dopus\";var I=k;I=I===void 0?1:\nI;k={};Y.video&&(Y.video.width&&(k[Up.WIDTH.name]=Y.video.width),Y.video.height&&(k[Up.HEIGHT.name]=Y.video.height),Y.video.fps&&(k[Up.FRAMERATE.name]=Y.video.fps*I),Y.video.W&&(k[Up.EOTF.name]=Y.video.W),Y.c6&&(k[Up.BITRATE.name]=Y.c6*8*I),Y.lz===\"(\"&&(k[Up.CRYPTOBLOCKFORMAT.name]=\"subsample\"),Y.video.projectionType===\"EQUIRECTANGULAR\"||Y.video.projectionType===\"EQUIRECTANGULAR_THREED_TOP_BOTTOM\"||Y.video.projectionType===\"MESH\")&&(k[Up.DECODETOTEXTURE.name]=\"true\");var X;((X=Y.audio)==null?0:X.numChannels)&&\n(Y.lz!==\"i\"&&Y.lz!==\"I\"||!JuF)&&(k[Up.CHANNELS.name]=Y.audio.numChannels);W.J&&b_(Y)&&(k[Up.EXPERIMENTAL.name]=\"allowed\");X=g.e(Object.keys(Up));for(I=X.next();!I.done;I=X.next()){I=Up[I.value];var h;if(h=k[I.name])if(h=!(I===Up.EOTF&&Y.mimeType.indexOf(\"vp09.02\")>0)){h=I;var B=Y;h=!(W.experiments.Nq(\"html5_ignore_h264_framerate_cap\")&&h===Up.FRAMERATE&&rwd(B))}if(h)if(LZ(W,I))if(W.X){if(W.X[I.name]1080&&Y.tY&&(T+=\"; hdcp=2.2\");return P===\"227\"?\"hqcenc\":P!==\"585\"&&P!==\"588\"&&P!==\"583\"&&P!==\"586\"&&P!==\"584\"&&P!==\"587\"&&P!==\"591\"&&P!==\"592\"||W.experiments.Nq(\"html5_enable_new_hvc_enc\")?iH()&&NQ()>=21&&g.fF(\"appletv5\")&&(P===\"410\"||P===\"845\")?!0:W.isTypeSupported(T)?!0:\"tpus\":\"newhvc\"};\nvj2=function(W){for(var Y=new XS(W),k=-1,P=0,T=0;!P||!T;){var I=Nzv(Y),X=I.id;I=I.size;if(X<0)return;if(X===176){if(I!==2)return;P=Y.X7()}else if(X===186){if(I!==2)return;T=Y.X7()}X===374648427?k=Y.X7()+I:X!==408125543&&X!==174&&X!==224&&Y.skip(I)}Y=VA(W,0,k);k=new DataView(Y.buffer);k.setUint16(P,3840);k.setUint16(T,2160);P=new $A([Y]);Ub(P,W);return P};\nKc7=function(W){var Y={};W=g.e(W);for(var k=W.next();!k.done;k=W.next()){k=k.value;var P=k.split(\"=\");P.length===2?Y[P[0]]=P[1]:Y[k]=!0}return Y};\nUJ6=function(W,Y){Nc(W,{sdpvrq:1});W.X=Date.now();if(W.K.flavor!==\"widevine\")W.error(\"drm.provision\",1,\"e.flavor;f.\"+W.K.flavor+\";l.\"+Y.byteLength);else{var k={cpn:W.videoData.clientPlaybackNonce};Object.assign(k,W.zJ.W);k=g.YW(\"https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE\",k);Y={format:\"RAW\",headers:{\"content-type\":\"application/json\"},method:\"POST\",postBody:JSON.stringify({signedRequest:String.fromCharCode.apply(null,\nY)}),responseType:\"arraybuffer\"};g.ng(k,Y,3,500).then(If(function(P){P=P.xhr;if(!W.Xr()){P=new Uint8Array(P.response);var T=String.fromCharCode.apply(null,P);try{var I=JSON.parse(T)}catch(X){}I&&I.signedResponse?(W.publish(\"ctmp\",\"drminfo\",{provisioning:1}),I=(Date.now()-W.X)/1E3,W.X=NaN,W.publish(\"ctmp\",\"provs\",{et:I.toFixed(3)}),W.J&&W.J.update(P)):(I=I&&I.error&&I.error.message,P=\"e.parse\",I&&(P+=\";m.\"+I),W.error(\"drm.provision\",1,P))}}),If(function(P){W.Xr()||W.error(\"drm.provision\",1,\"e.\"+P.errorCode+\n\";c.\"+(P.xhr&&P.xhr.status))}))}};\nrb=function(W,Y,k,P){var T=[\"ytp-ad-survey-submit-button\"];T.push(\"ytp-ad-survey-submit-button-rounded\");Yp.call(this,W,Y,k,P,T,\"survey-submit\")};\nzZ0=function(){return{S:\"svg\",D:{viewBox:\"0 0 24 24\"},B:[{S:\"path\",D:{d:\"M0 0h24v24H0z\",fill:\"none\"}},{S:\"path\",D:{d:\"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z\",fill:\"#fff\"}}]}};\nL2S=function(W){var Y=u2d();Y&&document.addEventListener(Y,W,!1)};\nvp0=function(W){if(!W.length)return[];W=(0,g.HE)(W,function(k){return k!=null&&k.ZE()});\nfor(var Y=1;Y=0;){var P=W.levels[k];if(P.isLoaded(QW(P,Y))&&(P=g.vN(P,Y)))return P;k--}return g.vN(W.levels[0],Y)};\ntp=function(){var W=/WebKit\\/([0-9]+)/.exec(g.Ed());return!!(W&&parseInt(W[1],10)>=600)};\nAy=function(W){var Y=sn(W);g.ML(W.api.getRootNode(),\"ytp-full-bleed-player\",Y);W.N&&g.iJ(W.N,Y);W.playerOverlayVideoDetailsRenderer&&g.iJ(W.playerOverlayVideoDetailsRenderer,Y);W.J&&cB(W)};\nMHd=function(W){W.pn()&&(W.W6&&W.W6.k0(\"rs_s\"),o4&&W.getCurrentTime()>0&&W.seekTo(0),W.uP(),W.load(),wFd(W,null));delete W.J};\nOP=function(W,Y,k){if(dk(W.W,Y)){a:switch(Dw(W.W,Y).W){case \"exit_requested\":var P=!0;break a;default:P=!1}if(!P)a:switch(Dw(W.W,Y).W){case \"rendering_stop_requested\":P=!0;break a;default:P=!1}if(P&&(Dw(W.W,Y).C=!0,!k))return;if(mF(Dw(W.W,Y)))Dw(W.W,Y).C=!0,Ze2(W,Y,k);else{a:switch(Dw(W.W,Y).T){case \"fill_requested\":k=!0;break a;default:k=!1}if(k)Dw(W.W,Y).C=!0,dk(W.W,Y)&&(W.H7.P4(\"ADS_CLIENT_EVENT_TYPE_CANCEL_SLOT_FULFILLMENT_REQUESTED\",Y),Y=Dw(W.W,Y),Y.T=\"fill_cancel_requested\",Y.G.NG());else{k=\ngk(W.W,Y);(P=W.P6.get().Y.V().experiments.Nq(\"h5_enable_layout_unscheduling_events\"))&&(k?W.Cu(Y,k):EF(Error(\"Layout is null for LayoutUnscheduled event.\"),Y,k,void 0,!1));W.H7.P4(\"ADS_CLIENT_EVENT_TYPE_UNSCHEDULE_SLOT_REQUESTED\",Y);var T=Dw(W.W,Y),I=Y.slotEntryTrigger,X=T.wD.get(I.triggerId);X&&(X.Mz(I),T.wD.delete(I.triggerId));I=g.e(Y.slotFulfillmentTriggers);for(X=I.next();!X.done;X=I.next()){X=X.value;var h=T.A5.get(X.triggerId);h&&(h.Mz(X),T.A5.delete(X.triggerId))}I=g.e(Y.slotExpirationTriggers);\nfor(X=I.next();!X.done;X=I.next())if(X=X.value,h=T.N.get(X.triggerId))h.Mz(X),T.N.delete(X.triggerId);T.layout!=null&&(I=T.layout,uA(T,I.layoutExitNormalTriggers),uA(T,I.layoutExitSkipTriggers),uA(T,I.layoutExitMuteTriggers),uA(T,I.layoutExitUserInputSubmittedTriggers),uA(T,I.II));T.G=void 0;T.K!=null&&(T.K.release(),T.K=void 0);T.J!=null&&(T.J.release(),T.J=void 0);T=W.W;Dw(T,Y)&&(T=GO(T,Y.slotType+\"_\"+Y.slotPhysicalPosition))&&T.delete(Y.slotId);W.H7.P4(\"ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED\",\nY);W=g.e(W.K);for(T=W.next();!T.done;T=W.next())T=T.value,T.Gv(Y),k&&!P&&T.Cu(Y,k)}}}};\ny_=function(W,Y,k,P,T,I){Qy.call(this,k,W,Y,P);this.Cg=T;this.P6=I};\npO=function(W){for(var Y=g.e(W.J.entries()),k=Y.next();!k.done;k=Y.next()){var P=g.e(k.value);k=P.next().value;P=P.next().value;P<(0,g.lj)()&&W.J.delete(k)}return W.J};\nKqv=function(W){Mn=W};\nQS=function(W){return W.includes(\"vtt\")||W.includes(\"text/mp4\")};\nd$=function(W){var Y=W===void 0?{}:W;W=Y.Lh===void 0?0:Y.Lh;var k=Y.Cr===void 0?!1:Y.Cr;var P=Y.ol===void 0?0:Y.ol;var T=Y.UU===void 0?0:Y.UU;var I=Y.UA===void 0?Infinity:Y.UA;var X=Y.d2===void 0?0:Y.d2;var h=Y.Fj===void 0?!1:Y.Fj;Y=Y.lR===void 0?!1:Y.lR;g.gM.call(this);this.GC=this.L8=-1;this.Fu=W;this.ol=P;this.Cr=k;this.UU=T;this.UA=I;this.d2=X;((this.Fj=h)||isFinite(I)&&this.UA>0)&&k&&u2&&(this.K=!1,this.J=\"postLive\");this.lR=Y};\nKXd=function(W){var Y=W.K[W.T];if(Y){var k=W.G[Y];Y=k.playerVars;k=k.playerType;W.W=!0;W.T++;var P=W.api.getVideoData(1);Y=Object.assign({oauth_token:P.oauthToken},Y);W.api.loadVideoByPlayerVars(Y,!0,k,!0);W.W=!1}};\nIK=function(W,Y){var k={type:W.triggerType};Y!=null&&(k.category=Y);W.triggeringSlotId!=null&&(k.triggerSourceData||(k.triggerSourceData={}),k.triggerSourceData.associatedSlotId=W.triggeringSlotId);W.triggeringLayoutId!=null&&(k.triggerSourceData||(k.triggerSourceData={}),k.triggerSourceData.associatedLayoutId=W.triggeringLayoutId);return k};\nzI=function(W){return TC(W.volume)&&W.volume>0};\nHv=function(W){if(W.j1)return W.j1.readyState;switch(W.I7.webkitSourceState){case W.I7.SOURCE_OPEN:return\"open\";case W.I7.SOURCE_ENDED:return\"ended\";default:return\"closed\"}};\nDa=function(W,Y){if(Y)a:{var k=g.db;W=W.split(\".\");for(var P=0;P=0?1:W.indexOf(\"/webm\")>=0?2:W.indexOf(\"/x-flv\")>=0?3:W.indexOf(\"/vtt\")>=0?4:0};\nlmz=function(W,Y){W.K.style.setProperty(\"--yt-slider-shape-gradient-percent\",(Y-W.T)/(W.C-W.T)*100+\"%\")};\njo=function(W,Y){R31(W,Y).then(function(k){g.gD(Y,void 0,void 0,k)})};\nn22=function(W,Y){Y=Y?\"Subtitles/closed captions on\":\"Subtitles/closed captions off\";tQ(W,EpS(W.Y),Y)};\nVL=function(W){var Y,k,P,T,I=((k=g.R((Y=W.questions)==null?void 0:Y[0],Z_))==null?void 0:k.surveyAdQuestionCommon)||((T=g.R((P=W.questions)==null?void 0:P[0],u6))==null?void 0:T.surveyAdQuestionCommon),X;Y=[].concat(g.cp(((X=W.playbackCommands)==null?void 0:X.instreamAdCompleteCommands)||[]),g.cp((I==null?void 0:I.timeoutCommands)||[]));var h,B,O,u,Z,M,t,q,G,E,z,A,F,y,U,V,b,Sz,jz,X7;return{impressionCommands:(h=W.playbackCommands)==null?void 0:h.impressionCommands,errorCommands:(B=W.playbackCommands)==\nnull?void 0:B.errorCommands,muteCommands:(O=W.playbackCommands)==null?void 0:O.muteCommands,unmuteCommands:(u=W.playbackCommands)==null?void 0:u.unmuteCommands,pauseCommands:(Z=W.playbackCommands)==null?void 0:Z.pauseCommands,rewindCommands:(M=W.playbackCommands)==null?void 0:M.rewindCommands,resumeCommands:(t=W.playbackCommands)==null?void 0:t.resumeCommands,skipCommands:(q=W.playbackCommands)==null?void 0:q.skipCommands,progressCommands:(G=W.playbackCommands)==null?void 0:G.progressCommands,xoh:(E=\nW.playbackCommands)==null?void 0:E.clickthroughCommands,fullscreenCommands:(z=W.playbackCommands)==null?void 0:z.fullscreenCommands,activeViewViewableCommands:(A=W.playbackCommands)==null?void 0:A.activeViewViewableCommands,activeViewMeasurableCommands:(F=W.playbackCommands)==null?void 0:F.activeViewMeasurableCommands,activeViewFullyViewableAudibleHalfDurationCommands:(y=W.playbackCommands)==null?void 0:y.activeViewFullyViewableAudibleHalfDurationCommands,activeViewAudioAudibleCommands:(U=W.playbackCommands)==\nnull?void 0:(V=U.activeViewTracking)==null?void 0:V.activeViewAudioAudibleCommands,activeViewAudioMeasurableCommands:(b=W.playbackCommands)==null?void 0:(Sz=b.activeViewTracking)==null?void 0:Sz.activeViewAudioMeasurableCommands,endFullscreenCommands:(jz=W.playbackCommands)==null?void 0:jz.endFullscreenCommands,abandonCommands:(X7=W.playbackCommands)==null?void 0:X7.abandonCommands,completeCommands:Y}};\nnkv=function(W,Y){this.url=W;this.W=!!Y;this.depth=null};\nGrX=function(W,Y){return Y.map(function(k){var P,T;if((k=(P=g.R(k,pt5))==null?void 0:(T=P.thumbnail)==null?void 0:T.thumbnails)&&k.length!==0)return k[0].url}).filter(function(k){return k!==void 0}).map(function(k){k=new g.c({S:\"img\",\nj:\"ytp-suggested-action-product-thumbnail\",D:{alt:\"\",src:k}});g.m(W,k);return k})};\nEb5=function(W){this.W=W};\nON=function(W,Y,k,P,T,I,X){var h={format:\"RAW\"},B={};if(Ih(W)&&NU()){if(X){var O;((O=KtF.uaChPolyfill)==null?void 0:O.state.type)!==2?X=null:(X=KtF.uaChPolyfill.state.data.values,X={\"Synth-Sec-CH-UA-Arch\":X.architecture,\"Synth-Sec-CH-UA-Model\":X.model,\"Synth-Sec-CH-UA-Platform\":X.platform,\"Synth-Sec-CH-UA-Platform-Version\":X.platformVersion,\"Synth-Sec-CH-UA-Full-Version\":X.uaFullVersion});B=Object.assign(B,X);h.withCredentials=!0}(X=g.o_(\"EOM_VISITOR_DATA\"))?B[\"X-Goog-EOM-Visitor-Id\"]=X:P?B[\"X-Goog-Visitor-Id\"]=\nP:g.o_(\"VISITOR_DATA\")&&(B[\"X-Goog-Visitor-Id\"]=g.o_(\"VISITOR_DATA\"));k&&(B[\"X-Goog-PageId\"]=k);(P=Y.wD)&&!YV(Y)&&(B[\"X-Goog-AuthUser\"]=P);T&&(B.Authorization=\"Bearer \"+T);Y.U(\"enable_datasync_id_header_in_web_vss_pings\")&&Y.Aj&&Y.datasyncId&&(B[\"X-YouTube-DataSync-Id\"]=Y.datasyncId);X||B[\"X-Goog-Visitor-Id\"]||T||k||P?h.withCredentials=!0:Y.U(\"html5_send_cpn_with_options\")&&hz0.test(W)&&(h.withCredentials=!0)}Object.keys(B).length>0&&(h.headers=B);I&&(h.onFinish=I);return Object.keys(h).length>1?\nh:null};\nWE6=function(W){try{return(new Blob(W.split(\"\"))).size}catch(Y){return PL(Y),null}};\ng.Si=function(W){var Y;return W.zR||((Y=W.suggestions)==null?void 0:Y[0])||null};\nFW=function(W,Y,k){if(W.Y.V().U(\"html5_dispose_modules_in_order\"))for(var P=g.e(E2z),T=P.next();!T.done;T=P.next()){T=T.value;var I=W.zd.get(T);I&&(k||I.bE(Y))&&(g.o8(I),W.zd.delete(T))}else for(P=g.e(W.zd),T=P.next();!T.done;T=P.next())I=g.e(T.value),T=I.next().value,(I=I.next().value)&&(k||I.bE(Y))&&(g.o8(I),W.zd.delete(T));W.Y.publish(\"modulesDestroyed\",Y)};\nzO2=function(W,Y){return W.K.some(function(k){return k.info.t5===Y})};\nVFV=function(W,Y){var k=W.api.getRootNode();g.ML(k,\"ytp-fullscreen-grid-peeking\",Y===1);g.ML(k,\"ytp-fullscreen-grid-active\",Y===2);Y===1&&gCq(W)};\nlMz=function(W,Y,k){T37()||(W.requestTimeMs=String(Y));g.dS(\"unsplit_gel_payloads_in_logs\")&&(W.unsplitGelPayloadsInLogs=!0);!k&&(Y=g.o_(\"EVENT_ID\"))&&(k=lbV(),W.serializedClientEventId={serializedEventId:Y,clientCounter:String(k)})};\nJNF=function(W){var Y,k,P,T,I,X;return g.v(function(h){switch(h.W){case 1:if(W.K)return h.return(gf());if(!W.C)return Y=g.ks(\"getHotConfig IDB not initialized\"),PL(Y),h.return(Promise.reject(Y));k=$s();P=g.o_(\"TIME_CREATED_MS\");if(!k){T=g.ks(\"getHotConfig token error\");PL(T);h.oi(2);break}return g.L(h,AAV(k),3);case 3:if((I=h.K)&&I.timestamp>P)return F2(W,I.config),W.SD(I.hashData),h.return(gf());case 2:CG1(W);if(!(k&&W.K&&W.hotHashData)){h.oi(4);break}return g.L(h,zlv(W.K,W.hotHashData,k,P),4);case 4:return W.K?\nh.return(gf()):(X=new g.M6(\"Config not available in ytConfig\"),PL(X),h.return(Promise.reject(X)))}})};\nJc1=function(W){Ov.call(this,W,!1,!0);this.gD=[];this.Gn=[];this.element.setAttribute(\"data-overlay-order\",\"9\");this.G=!0;this.badge.element.classList.add(\"ytp-featured-product\");this.TJ=new g.c({S:\"div\",j:\"ytp-featured-product-open-in-new\"});g.m(this,this.TJ);this.countdownTimer=new g.c({S:\"text\",j:\"ytp-featured-product-countdown\",v6:\"{{content}}\"});this.countdownTimer.hide();g.m(this,this.countdownTimer);this.K=new g.c({S:\"div\",j:\"ytp-featured-product-trending\",B:[{S:\"div\",j:\"ytp-featured-product-trending-icon\"},\n{S:\"text\",j:\"ytp-featured-product-trending-text\",v6:\"{{trendingOffer}}\"}]});this.K.hide();g.m(this,this.K);this.overflowButton=new g.c({S:\"button\",Ya:[\"ytp-featured-product-overflow-icon\",\"ytp-button\"],D:{\"aria-haspopup\":\"true\"}});this.overflowButton.hide();g.m(this,this.overflowButton);this.X=new g.c({S:\"text\",j:\"ytp-featured-product-exclusive-countdown\",v6:\"{{content}}\",D:{id:\"exclusiveCountdown\",\"aria-hidden\":\"true\"}});this.X.hide();g.m(this,this.X);this.C=new g.c({S:\"div\",j:\"ytp-featured-product-exclusive-container\",\nD:{\"aria-labelledby\":\"exclusiveBadge exclusiveCountdown\"},B:[{S:\"div\",j:\"ytp-featured-product-exclusive-badge-container\",B:[{S:\"div\",j:\"ytp-featured-product-exclusive-badge\",B:[{S:\"text\",j:\"ytp-featured-product-exclusive-badge-text\",v6:\"{{exclusive}}\",D:{id:\"exclusiveBadge\",\"aria-hidden\":\"true\"}}]}]},this.X]});this.C.hide();g.m(this,this.C);this.banner=new g.c({S:\"a\",j:\"ytp-featured-product-container\",B:[{S:\"div\",j:\"ytp-featured-product-thumbnail\",B:[{S:\"img\",D:{src:\"{{thumbnail}}\"}},this.TJ]},{S:\"div\",\nj:\"ytp-featured-product-details\",B:[{S:\"text\",j:\"ytp-featured-product-title\",v6:\"{{title}}\"},this.Y.U(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")?{S:\"div\",j:\"ytp-featured-product-price-container\",D:{\"aria-label\":\"{{priceA11yText}}\"},B:[{S:\"text\",j:\"ytp-featured-product-price-when-promotion-text-enabled\",v6:\"{{price}}\",D:{\"aria-hidden\":\"true\"}},{S:\"text\",j:\"ytp-featured-product-promotion-text\",v6:\"{{promotionText}}\",D:{\"aria-hidden\":\"true\"}}]}:{S:\"div\",D:{\"aria-label\":\"{{priceA11yText}}\"},\nB:[{S:\"text\",j:\"ytp-featured-product-price\",v6:\"{{price}}\",D:{\"aria-hidden\":\"true\"}},{S:\"text\",j:\"ytp-featured-product-sales-original-price\",v6:\"{{salesOriginalPrice}}\",D:{\"aria-hidden\":\"true\"}},{S:\"text\",j:\"ytp-featured-product-price-drop-reference-price\",v6:\"{{priceDropReferencePrice}}\",D:{\"aria-hidden\":\"true\"}}]},this.Y.U(\"web_player_enable_featured_product_banner_promotion_text_on_desktop\")?{S:\"div\",j:\"ytp-featured-product-when-promotion-text-enabled\",B:[{S:\"text\",j:\"ytp-featured-product-affiliate-disclaimer-when-promotion-text-enabled\",\nv6:\"{{affiliateDisclaimer}}\"},this.K,{S:\"text\",j:\"ytp-featured-product-vendor-when-promotion-text-enabled\",v6:\"{{vendor}}\"}]}:{S:\"div\",B:[{S:\"text\",j:\"ytp-featured-product-affiliate-disclaimer\",v6:\"{{affiliateDisclaimer}}\"},this.Y.U(\"web_player_enable_featured_product_banner_exclusives_on_desktop\")?this.C:null,this.K,{S:\"text\",j:\"ytp-featured-product-vendor\",v6:\"{{vendor}}\"},this.countdownTimer]}]},this.overflowButton]});g.m(this,this.banner);this.banner.S1(this.J.element);this.Z(this.Y,g.OQ(\"featured_product\"),\nthis.pkr);this.Z(this.Y,g.ut(\"featured_product\"),this.Vm);this.Z(this.Y,\"videodatachange\",this.onVideoDataChange);this.Z(this.overflowButton.element,\"click\",this.OW);this.Z(W,\"featuredproductdismissed\",this.yQ)};\nQp=function(W,Y,k,P,T){g.Yc.call(this);this.K=W;this.C=Y;this.X=k;this.T=P;this.G=Array.isArray(T)?T:[T]};\nNI=function(W,Y,k){var P=W.W.get(Y);P?P.push(k):W.W.set(Y,[k])};\ndYS=function(W,Y){var k={};if(W.app.V().Kg){W=g.e(s65);for(var P=W.next();!P.done;P=W.next())P=P.value,Y.hasOwnProperty(P)&&(k[P]=Y[P]);if(Y=k.qoe_cat)W=\"\",typeof Y===\"string\"&&Y.length>0&&(W=Y.split(\",\").filter(function(T){return rc5.includes(T)}).join(\",\")),k.qoe_cat=W;\nAcd(k)}else for(W=g.e(z62),P=W.next();!P.done;P=W.next())P=P.value,Y.hasOwnProperty(P)&&(k[P]=Y[P]);return k};\n$s=function(){return g.o3(\"ytglobal.idbToken_\")||void 0};\nD7=function(W){mY2.call(this,Error(W),{message:W})};\nJY1=function(W){if(W!==void 0&&W.trim()!==\"\"&&(W=Math.trunc(Number(W.trim())),!(isNaN(W)||W<0)))return W};\nQ6V=function(W,Y,k){g.c.call(this,{S:\"div\",Ya:[\"ytp-info-panel-action-item\"],B:[{S:\"div\",j:\"ytp-info-panel-action-item-disclaimer\",v6:\"{{disclaimer}}\"},{S:\"a\",Ya:[\"ytp-info-panel-action-item-button\",\"ytp-button\"],D:{role:\"button\",href:\"{{url}}\",target:\"_blank\",rel:\"noopener\"},B:[{S:\"div\",j:\"ytp-info-panel-action-item-icon\",v6:\"{{icon}}\"},{S:\"div\",j:\"ytp-info-panel-action-item-label\",v6:\"{{label}}\"}]}]});this.Y=W;this.W=k;this.disclaimer=this.J5(\"ytp-info-panel-action-item-disclaimer\");this.button=\nthis.J5(\"ytp-info-panel-action-item-button\");this.Nt=!1;this.Y.createServerVe(this.element,this,!0);this.listen(\"click\",this.onClick);W=\"\";k=g.R(Y==null?void 0:Y.onTap,CV);var P=g.R(k,g.$i);this.Nt=!1;P?(W=P.url||\"\",W.startsWith(\"//\")&&(W=\"https:\"+W),this.Nt=!0,g.Uf(this.button,g.PO(W))):(P=g.R(k,DYv))&&!this.W?((W=P.phoneNumbers)&&W.length>0?(W=\"sms:\"+W[0],P.messageText&&(W+=\"?&body=\"+encodeURI(P.messageText))):W=\"\",this.Nt=!0,g.Uf(this.button,g.PO(W,[g20]))):(k=g.R(k,Ft7))&&!this.W&&(W=k.phoneNumber?\n\"tel:\"+k.phoneNumber:\"\",this.Nt=!0,g.Uf(this.button,g.PO(W,[wt1])));var T;if(k=(T=Y.disclaimerText)==null?void 0:T.content){this.button.style.borderBottom=\"1px solid white\";this.button.style.paddingBottom=\"16px\";var I;this.update({label:(I=Y.bodyText)==null?void 0:I.content,icon:Sj(),disclaimer:k})}else{this.disclaimer.style.display=\"none\";var X;this.update({label:(X=Y.bodyText)==null?void 0:X.content,icon:Sj()})}this.Y.setTrackingParams(this.element,Y.trackingParams||null);this.Nt&&(this.K={externalLinkData:{url:W}})};\ng.N6=function(W,Y){if(W.classList)W.classList.add(Y);else if(!g.$Z(W,Y)){var k=YPS(W);g.h8(W,k+(k.length>0?\" \"+Y:Y))}};\nZ1=function(W,Y,k,P){W.policy.K&&W.JU(!1,\"rollback\");if(W.H6.isManifestless){var T=FBz(W.audioTrack,P,k,Y),I=FBz(W.videoTrack,P,k,Y);W.policy.CN||(I&&XW(W.H6,P,!0),T&&XW(W.H6,P,!1));I&&(W.videoTrack.A5=[]);T&&(W.audioTrack.A5=[]);W.y5(\"sdai\",{rollbk2_seg:P,rbt:k.toFixed(3),lt:Y.toFixed(3),a:T,v:I});(T||I)&&W.policy.K&&$m(W)}};\nb0F=function(W,Y){Y=g.e(Y);for(var k=Y.next();!k.done;k=Y.next()){k=k.value;var P=k[1];k[0]===1?W.G(g.OQ(P.namespace),P):W.G(g.ut(P.namespace),P)}};\ny5=function(W){this.C=new Uint8Array(64);this.J=new Uint8Array(64);this.T=0;this.X=new Uint8Array(64);this.K=0;this.C.set(W);this.J.set(W);for(W=0;W<64;W++)this.C[W]^=92,this.J[W]^=54;this.reset()};\nM3F=function(W,Y,k,P,T,I,X,h,B,O,u){function Z(z){return kN(W.v5.get(),z)}\nvar M=k.renderer,t=k.config.adPlacementConfig,q=t.kind,G=k.adSlotLoggingData,E=h.SR&&q===\"AD_PLACEMENT_KIND_START\";E=I&&!E;if(M.adsEngagementPanelRenderer!=null)return qX(Y,k.elementId,q,M.adsEngagementPanelRenderer.isContentVideoEngagementPanel,M.adsEngagementPanelRenderer.adVideoId,M.adsEngagementPanelRenderer.associatedCompositePlayerBytesLayoutId,t,G,function(z,A,F,y){var U=W.W.get(),V=z.slotId,b=M.adsEngagementPanelRenderer;z=kN(W.v5.get(),z);return OD(U,V,\"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON\",\nnew OqF(b),A,F,b.impressionPings,z,M.adsEngagementPanelRenderer.adLayoutLoggingData,y)}),[];\nif(M.adsEngagementPanelLayoutViewModel)return qX(Y,k.elementId,q,M.adsEngagementPanelLayoutViewModel.isContentVideoEngagementPanel,M.adsEngagementPanelLayoutViewModel.adVideoId,M.adsEngagementPanelLayoutViewModel.associatedCompositePlayerBytesLayoutId,t,G,function(z,A,F,y){var U=W.W.get(),V=z.slotId,b=M.adsEngagementPanelLayoutViewModel;z=kN(W.v5.get(),z);return x1(U,V,\"LAYOUT_TYPE_PANEL\",new li(b),A,F,z,M.adsEngagementPanelLayoutViewModel.adLayoutLoggingData,y)}),[];\nif(M.actionCompanionAdRenderer!=null){if(M.actionCompanionAdRenderer.showWithoutLinkedMediaLayout)return gfd(W.K.get(),W.J,W.W.get(),M.actionCompanionAdRenderer,t,G,P,Z);qX(Y,k.elementId,q,M.actionCompanionAdRenderer.isContentVideoCompanion,M.actionCompanionAdRenderer.adVideoId,M.actionCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,t,G,function(z,A,F,y){var U=W.W.get(),V=z.slotId,b=M.actionCompanionAdRenderer;z=kN(W.v5.get(),z);return OD(U,V,\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",\nnew Ua(b),A,F,b.impressionPings,z,M.actionCompanionAdRenderer.adLayoutLoggingData,y)})}else if(M.topBannerImageTextIconButtonedLayoutViewModel!==void 0){if(M.topBannerImageTextIconButtonedLayoutViewModel.showWithoutLinkedMediaLayout)return SqS(W.K.get(),W.J,W.W.get(),M.topBannerImageTextIconButtonedLayoutViewModel,t,G,P,Z);\nqX(Y,k.elementId,q,M.topBannerImageTextIconButtonedLayoutViewModel.isContentVideoCompanion,M.topBannerImageTextIconButtonedLayoutViewModel.adVideoId,M.topBannerImageTextIconButtonedLayoutViewModel.associatedCompositePlayerBytesLayoutId,t,G,function(z,A,F,y){var U=W.W.get(),V=z.slotId,b=M.topBannerImageTextIconButtonedLayoutViewModel;z=kN(W.v5.get(),z);return x1(U,V,\"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON\",new W_(b),A,F,z,M.topBannerImageTextIconButtonedLayoutViewModel.adLayoutLoggingData,y)})}else if(M.imageCompanionAdRenderer)qX(Y,\nk.elementId,q,M.imageCompanionAdRenderer.isContentVideoCompanion,M.imageCompanionAdRenderer.adVideoId,M.imageCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,t,G,function(z,A,F,y){var U=W.W.get(),V=z.slotId,b=M.imageCompanionAdRenderer;\nz=kN(W.v5.get(),z);return OD(U,V,\"LAYOUT_TYPE_COMPANION_WITH_IMAGE\",new cS(b),A,F,b.impressionPings,z,M.imageCompanionAdRenderer.adLayoutLoggingData,y)});\nelse if(M.bannerImageLayoutViewModel)qX(Y,k.elementId,q,M.bannerImageLayoutViewModel.isContentVideoCompanion,M.bannerImageLayoutViewModel.adVideoId,M.bannerImageLayoutViewModel.associatedCompositePlayerBytesLayoutId,t,G,function(z,A,F,y){var U=W.W.get(),V=z.slotId,b=M.bannerImageLayoutViewModel;z=kN(W.v5.get(),z);return x1(U,V,\"LAYOUT_TYPE_COMPANION_WITH_IMAGE\",new Vm(b),A,F,z,M.bannerImageLayoutViewModel.adLayoutLoggingData,y)});\nelse if(M.shoppingCompanionCarouselRenderer)qX(Y,k.elementId,q,M.shoppingCompanionCarouselRenderer.isContentVideoCompanion,M.shoppingCompanionCarouselRenderer.adVideoId,M.shoppingCompanionCarouselRenderer.associatedCompositePlayerBytesLayoutId,t,G,function(z,A,F,y){var U=W.W.get(),V=z.slotId,b=M.shoppingCompanionCarouselRenderer;z=kN(W.v5.get(),z);return OD(U,V,\"LAYOUT_TYPE_COMPANION_WITH_SHOPPING\",new FA(b),A,F,b.impressionPings,z,M.shoppingCompanionCarouselRenderer.adLayoutLoggingData,y)});\nelse if(M.adBreakServiceRenderer){if(!T0z(k))return[];if(q===\"AD_PLACEMENT_KIND_PAUSE\")return oj2(W.K.get(),t,G,k.renderer.adBreakServiceRenderer,P);if(q!==\"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED\"&&q!==\"AD_PLACEMENT_KIND_PREFETCH_TRIGGERED\")return yc5(W.K.get(),t,G,k.renderer.adBreakServiceRenderer,P,T,I);h.t9||EF(\"Received non-live cue point triggered AdBreakServiceRenderer\",void 0,void 0,{kind:q,adPlacementConfig:t,daiEnabledForContentVideo:String(I),isServedFromLiveInfra:String(h.t9),clientPlaybackNonce:h.clientPlaybackNonce});\nif(q===\"AD_PLACEMENT_KIND_PREFETCH_TRIGGERED\"){if(!W.Cg)return new l(\"Received AD_PLACEMENT_KIND_PREFETCH_TRIGGERED with no playerControlsApiProvider set for interface\");if(!W.Na)return new l(\"Received AD_PLACEMENT_KIND_PREFETCH_TRIGGERED with no PrefetchTriggerAdapter set for interface\");W.Na.VJ({adPlacementRenderer:k,contentCpn:P,eS:T});T=W.Cg.get().getCurrentTimeSec(1,!1);return NxF(W.K.get(),k.renderer.adBreakServiceRenderer,t,T,P,G,I)}if(!W.QC)return new l(\"Received AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED with no CuePointOpportunityAdapter set for interface\");\nW.QC.VJ({adPlacementRenderer:k,contentCpn:P,eS:T})}else{if(M.clientForecastingAdRenderer)return NCC(W.K.get(),W.W.get(),t,G,M.clientForecastingAdRenderer,P,T,Z);if(M.invideoOverlayAdRenderer)return MJ6(W.K.get(),W.W.get(),t,G,M.invideoOverlayAdRenderer,P,T,Z);if(M.instreamAdPlayerOverlayRenderer)return LZ1(W.K.get(),W.W.get(),t,G,M.instreamAdPlayerOverlayRenderer,P,Z);if((M.linearAdSequenceRenderer||M.instreamVideoAdRenderer)&&E)return umC(W.K.get(),W.W.get(),k,P,Z,O,!W.P6.get().Y.V().U(\"html5_override_ad_video_length_killswitch\"));\nif(M.linearAdSequenceRenderer&&!E){if(X)return[];wm(Y,M,q);if(M.linearAdSequenceRenderer.adLayoutMetadata){if(!f7F(M.linearAdSequenceRenderer))return new l(\"Received invalid LinearAdSequenceRenderer.\")}else if(M.linearAdSequenceRenderer.linearAds==null)return new l(\"Received invalid LinearAdSequenceRenderer.\");if(g.R(M.linearAdSequenceRenderer.adStart,cO)){EF(\"Found AdNotify in LinearAdSequenceRenderer\");k=g.R(M.linearAdSequenceRenderer.adStart,cO);if(!pBF(k))return new l(\"Invalid AdMessageRenderer.\");\nI=M.linearAdSequenceRenderer.linearAds;return sUV(W.T.get(),W.K.get(),W.W.get(),W.v5.get(),t,G,k,fj(M.linearAdSequenceRenderer.adLayoutMetadata)?M.linearAdSequenceRenderer.adLayoutMetadata:void 0,I,P,T,h,Z,B,W.loadPolicy,W.P6.get())}return r77(W.K.get(),W.W.get(),t,G,M.linearAdSequenceRenderer.linearAds,fj(M.linearAdSequenceRenderer.adLayoutMetadata)?M.linearAdSequenceRenderer.adLayoutMetadata:void 0,P,T,h,Z,B,W.loadPolicy,W.P6.get(),u)}if(!M.remoteSlotsRenderer||I){if(M.instreamVideoAdRenderer&&\n!E){if(X)return[];wm(Y,M,q);return X85(W.K.get(),W.W.get(),t,G,M.instreamVideoAdRenderer,P,T,h,Z,B,W.loadPolicy,W.P6.get(),W.v5.get(),u)}if(M.instreamSurveyAdRenderer)return awV(W.K.get(),W.W.get(),M.instreamSurveyAdRenderer,t,G,P,Z,v7(W.P6.get(),\"supports_multi_step_on_desktop\"));if(M.sandwichedLinearAdRenderer!=null)return d47(M.sandwichedLinearAdRenderer)?g.R(M.sandwichedLinearAdRenderer.adVideoStart,cO)?(EF(\"Found AdNotify in SandwichedLinearAdRenderer\"),k=g.R(M.sandwichedLinearAdRenderer.adVideoStart,\ncO),pBF(k)?(I=g.R(M.sandwichedLinearAdRenderer.linearAd,c4))?Qi5(k,I,t,W.T.get(),W.K.get(),W.W.get(),W.v5.get(),G,P,T,h,Z,B,W.loadPolicy,W.P6.get()):new l(\"Missing IVAR from Sandwich\"):new l(\"Invalid AdMessageRenderer.\")):r77(W.K.get(),W.W.get(),t,G,[M.sandwichedLinearAdRenderer.adVideoStart,M.sandwichedLinearAdRenderer.linearAd],void 0,P,T,h,Z,B,W.loadPolicy,W.P6.get()):new l(\"Received invalid SandwichedLinearAdRenderer.\");if(M.videoAdTrackingRenderer!=null)return hed(W.K.get(),W.W.get(),M.videoAdTrackingRenderer,\nt,G,P,T,h.xZ,Z)}}return[]};\ng.tmS=function(W){if(W.CB)return null;var Y=W.zK;Y||(Y=W.playerResponse&&W.playerResponse.endscreen&&W.playerResponse.endscreen.endscreenUrlRenderer&&W.playerResponse.endscreen.endscreenUrlRenderer.url);return Y||null};\nvwS=function(W,Y,k){if(W.logger){for(var P=[],T=0;TY)break;if(I>Y)return{qS:P,cS:Y-T};k=I-P.vz/1E3}return{qS:null,cS:Y-k}};\ng.ai=function(W){return W.TJ===\"profilepage\"};\ng.Cu=function(W,Y){return QS(W.info.mimeType)?Y?W.info.itag===Y:!0:!1};\nsVd=function(W){W=g.e(W);for(var Y=W.next();!Y.done;Y=W.next())if(g.R(Y.value,n3))return!0;return!1};\nCId=function(W){var Y,k,P,T;return(Y=W.api.getVideoData().getWatchNextResponse())==null?void 0:(k=Y.playerOverlays)==null?void 0:(P=k.playerOverlayRenderer)==null?void 0:(T=P.browserMediaSession)==null?void 0:T.browserMediaSessionRenderer};\nufS=function(W,Y){W.J&&(Y===\"INTERACTION_LOGGING_GESTURE_TYPE_SCROLL_BEGAN_DRAGGING\"&&(W.L&&clearTimeout(W.L),W.L=window.setTimeout(function(){W.L=null},1E3)),W.K===1?bA(W,2,Y):bA(W,1,Y))};\nLt2=function(W){return W.Y.V().U(\"web_player_autonav_use_server_provided_state\")&&VP(W.Kq())};\nSG=function(W,Y){W.Lg=NaN;W.e1=null;W.bz.stop();W.gD&&Y&&W.gD.xl();W.Q5=null;W.gD=null};\nt7=function(W,Y,k,P,T,I,X){var h=new At;Y in g.cu||(Y=\"small\");Y===\"light\"&&(Y=\"tiny\");P&&T?(T=Number(T),P=Number(P)):(T=g.cu[Y],P=Math.round(T*16/9));I=new iX(P,T,0,null,void 0,Y,I,X);W=unescape(W.replace(/"/g,'\"'));return new OZ(k,W,{audio:h,video:I})};\nBy=function(W,Y,k){this.videoData=W;this.zJ=Y;this.W6=k;this.W=void 0};\nIj=function(W,Y,k){W.zJ.OP&&(W.VH=Y,Y.muted||Sw(W,!1),k&&W.zJ.storeUserVolume&&!W.zJ.xq&&(k={volume:Math.floor(Y.volume),muted:Y.muted},k.unstorable||(g.Zm(\"yt-player-volume\",k),g.Zm(\"yt-player-volume\",k,2592E3))),O5(W),k=g.sr&&W.mediaElement&&!W.mediaElement.pn(),W.zJ.xq&&!k||W.Ii.x8(\"onVolumeChange\",{muted:Y.muted,volume:Y.volume,unstorable:!W.zJ.storeUserVolume}))};\nQr7=function(){var W=window.H5vccPlatformService,Y=\"\";if(W&&W.has(\"dev.cobalt.coat.clientloginfo\")&&(W=W.open(\"dev.cobalt.coat.clientloginfo\",function(){}))){var k=W.send(new ArrayBuffer(0));\nk&&(Y=String.fromCharCode.apply(String,g.cp(new Uint8Array(k))));W.close()}return Y};\nUY7=function(W,Y,k,P,T,I,X,h,B,O){this.Wa=W;this.Cg=Y;this.sP=k;this.T=P;this.i8=T;this.K=I;this.J=X;this.UR=h;this.P6=B;this.W=O};\nuQ7=function(W){if(W.W.length===0){var Y=new bb;W.W.push(Y);g.m(W,Y);Y.S1(W.bz,0)}for(;W.W.length>1;)W.W.pop().dispose();iP(W.W[0],\"100%\");W.W[0].startTime=0;W.W[0].title=\"\"};\nlH7=function(W){g.nT(o4V)(\"action_finished\",W,void 0)};\ng.fH=function(W,Y,k,P,T,I){g.D.call(this);this.element=W;this.state=null;k||W.hide();this.K=Y;this.J=P===void 0?Y:P;this.W=I;this.onHidden=T;this.delay=new g.fC(this.t2,0,this);g.m(this,this.delay)};\nyyF=function(W,Y,k,P,T,I){if(!Y)throw Error(\"Invalid event type\");var X=g.XG(T)?!!T.capture:!!T,h=YI(W);h||(W[w01]=h=new My(W));k=h.add(Y,k,P,X,I);if(k.proxy)return k;P=qXV();k.proxy=P;P.src=W;P.listener=k;if(W.addEventListener)bsC||(T=X),T===void 0&&(T=!1),W.addEventListener(Y.toString(),P,T);else if(W.attachEvent)W.attachEvent(rQz(Y.toString()),P);else if(W.addListener&&W.removeListener)W.addListener(P);else throw Error(\"addEventListener and attachEvent are unavailable.\");ccd++;return k};\nxY1=function(W){this.h5=rT(W)};\nG4V=function(W,Y){g.D.call(this);var k=this;this.callback=W;this.K=Y;this.W=-Y;this.addOnDisposeCallback(function(){return void clearTimeout(k.timer)})};\nxRV=function(W,Y,k,P,T,I,X){if(W.W)return W.W;var h={},B=new Set,O={};if(QK(P)){for(var u in P.W)P.W.hasOwnProperty(u)&&(W=P.W[u],O[W.info.lz]=[W.info]);return O}u=QWS(Y,P,h);I&&T({aftsrt:fX(u)});for(var Z={},M=g.e(Object.keys(u)),t=M.next();!t.done;t=M.next()){t=t.value;for(var q=g.e(u[t]),G=q.next();!G.done;G=q.next()){G=G.value;var E=G.itag,z=void 0,A=t+\"_\"+(((z=G.video)==null?void 0:z.fps)||0);Z.hasOwnProperty(A)?Z[A]===!0?O[t].push(G):h[E]=Z[A]:(z=TR(Y,G,k,P.isLive,B),z!==!0?(X.add(t),h[E]=z,\nz===\"disablevp9hfr\"&&(Z[A]=\"disablevp9hfr\")):(O[t]=O[t]||[],O[t].push(G),Z[A]=!0))}}I&&T({bfflt:fX(O)});for(var F in O)O.hasOwnProperty(F)&&(P=F,O[P]&&O[P][0].qa()&&(O[P]=O[P],O[P]=j1q(Y,O[P],h),O[P]=Tmv(O[P],h)));I&&Object.keys(h).length>0&&T({rjr:l4(h)});Y=g.e(B.values());for(P=Y.next();!P.done;P=Y.next())(P=k.T.get(P.value))&&--P.Ll;I&&T({aftflt:fX(O)});W.W=g.xa(O,function(y){return!!y.length});\nreturn W.W};\ng.Og=function(W){return g.v(function(Y){return Y.return(g.LQ(fH1(),W))})};\ng.CN=function(W){var Y=W.G;W.U(\"html5_gapless_unlimit_format_selection\")&&Dq(W)&&(Y=!1);var k=!!W.W&&W.W.t9,P=W.pg,T=W.G_(),I=a7(W),X=W.V5,h=Y,B=W.isOtf();Y=W.z7();var O=W.e1,u=W.getUserAudio51Preference(),Z=Fu(W),M=EP(W),t=new VHF(P);if(P.OR()||P.U(\"html5_logging_format_selection\"))t.K=!0;t.GJ=I;t.V5=X&&P.L;t.TJ=u;g.fF(\"windows nt 5.1\")&&!g.r9&&(t.W3=!0);if(I=T)I=g.kO(P)?n92(P):!1;I&&(t.A5=!0);h&&(t.W3=!0,t.xq=!0);B&&!P.U(\"html5_otf_prefer_vp9\")&&(t.W3=!0);P.playerStyle===\"picasaweb\"&&(B&&(t.W3=\n!1),t.Kg=!1);O&&(t.W3=!0);LZ(P.C,Up.CHANNELS)&&(P.U(\"html5_enable_ac3\")&&(t.T=!0),P.U(\"html5_enable_eac3\")&&(t.C=!0),P.U(\"html5_enable_ac3_gapless\")&&(t.OP=!0));P.U(\"html5_block_8k_hfr\")&&(t.Q5=!0);t.X=g.je(P.experiments,\"html5_max_selectable_quality_ordinal\");t.G=g.je(P.experiments,\"html5_min_selectable_quality_ordinal\");D$&&(t.KH=480);if(k||T)t.Kg=!1;t.bz=!1;t.disableAv1=Z;k=g9(P,t.W,void 0,t.disableAv1);k>0&&k<2160&&(Bl()||P.U(\"html5_format_hybridization\"))&&(t.W.supportsChangeType=+Bl(),t.nh=\nk);k>=2160&&(t.gD=!0);OP5()&&!P.U(\"disable_av1_setting\")&&(t.W.serveVp9OverAv1IfHigherRes=0,t.DY=!1);t.z7=Y;t.Fr=g.PC||d9()&&!Y?!1:!0;t.L=P.U(\"html5_format_hybridization\");t.K1=P.U(\"html5_disable_encrypted_vp9_live_non_2k_4k\");t.J9=M;w9(W)&&(t.tT=W.U(\"html5_prefer_language_over_codec\"));iH()&&W.playerResponse&&W.playerResponse.playerConfig&&W.playerResponse.playerConfig.webPlayerConfig&&W.playerResponse.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(t.T=!0,t.C=!0);W.G&&W.isAd()&&(W.Ey&&\n(t.N=W.Ey),W.I5&&(t.J=W.I5));t.UP=W.isLivePlayback&&W.t$()&&W.pg.U(\"html5_drm_live_audio_51\");t.A9=W.WQ;t.xm=!w9(W);return W.AC=t};\nQh2=function(){return Object.values(g.o_(\"client-screen-nonce-store\",{})).filter(function(W){return W!==void 0})};\nLn=function(W){sE.call(this,W);var Y=this;this.G=this.W=this.K=0;this.X=null;this.A5=this.T=0;this.isEnded=!1;this.L=null;var k=new g.x5(W);g.m(this,k);this.Kg=this.api.U(\"web_player_grid_natural_scroll\");this.wD=g.je(this.api.V().experiments,\"web_player_default_peeking_px\");this.gD=this.api.U(\"delhi_modern_player_enable_pause_peeking\");this.TJ=g.je(this.api.V().experiments,\"delhi_modern_player_pause_thumbnail_percentage\");this.UP=this.api.U(\"web_player_imax_theater_mode\");this.J=this.api.U(\"web_player_enable_fullscreen_grid_components\");\nthis.Kg&&g.N6(this.api.getRootNode(),\"ytp-grid-default-scroll\");k.Z(W,\"fullscreentoggled\",function(){Ay(Y)});\nk.Z(W,\"autohideupdate\",function(P){P&&Y.K===2&&bA(Y,1,\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\")});\nk.Z(W,\"videodatachange\",function(){if(Y.J){var P=Y.api.getVideoData(1);Y.videoData!==P&&Y.K===2&&bA(Y,1,\"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED\");Y.videoData=P}},this);\nk.Z(W,\"sizestylechange\",function(){Y.J&&Ay(Y)});\nD4(this.api,\"setFullscreenQuickActions\",function(P){Y.setFullscreenQuickActions(P)});\nD4(this.api,\"setPlayerOverlayVideoDetailsRenderer\",function(P){Y.setPlayerOverlayVideoDetailsRenderer(P)});\nthis.J&&FIX(this,k,W)};\nG92=function(W){var Y={},k=W.Y.getVideoData(1);Y.ASR=ge(function(){var P;return(P=k==null?void 0:k.LI)!=null?P:null});\nY.EI=ge(function(){var P;return(P=k==null?void 0:k.eventId)!=null?P:null});\nreturn Y};\nRK=function(){};\njj=function(){N47||(N47=new vZS);return N47};\naHz=function(W,Y){return Y.getUserAudio51Preference()?g.HE(W,YcX):W};\nh2=function(W){g.D.call(this);this.W=W};\ng.QB=function(W){if(W instanceof gO)return W.W;throw Error(\"\");};\nUfd=function(W,Y){g.tR.call(this);this.pg=W;this.startSeconds=0;this.shuffle=!1;this.index=0;this.title=\"\";this.length=0;this.items=[];this.loaded=!1;this.sessionData=this.W=null;this.dislikes=this.likes=this.views=0;this.order=[];this.author=\"\";this.L={};this.K=0;if(W=Y.session_data)this.sessionData=LL(W,\"&\");this.index=Math.max(0,Number(Y.index)||0);this.loop=!!Y.loop;this.startSeconds=Number(Y.startSeconds)||0;this.title=Y.playlist_title||\"\";this.description=Y.playlist_description||\"\";this.author=\nY.author||Y.playlist_author||\"\";Y.video_id&&(this.items[this.index]=Y);if(W=Y.api)typeof W===\"string\"&&W.length===16?Y.list=\"PL\"+W:Y.playlist=W;if(W=Y.list)switch(Y.listType){case \"user_uploads\":this.listId=new lW(\"UU\",\"PLAYER_\"+W);break;default:var k=Y.playlist_length;k&&(this.length=Number(k)||0);this.listId=UM(W);if(W=Y.video)this.items=W.slice(0),this.loaded=!0}else if(Y.playlist){W=Y.playlist.toString().split(\",\");this.index>0&&(this.items=[]);W=g.e(W);for(k=W.next();!k.done;k=W.next())(k=k.value)&&\nthis.items.push({video_id:k});this.length=this.items.length;if(W=Y.video)this.items=W.slice(0),this.loaded=!0}this.setShuffle(!!Y.shuffle);if(W=Y.suggestedQuality)this.quality=W;this.L=N3(Y,\"playlist_\");this.J=(Y=Y.thumbnail_ids)?Y.split(\",\"):[]};\nWVB=function(W){var Y=Zi(W),k=Zi(W);W=(k>>31)*2+1;var P=k>>>20&2047;Y=4294967296*(k&1048575)+Y;return P==2047?Y?NaN:W*Infinity:P==0?W*4.9E-324*Y:W*Math.pow(2,P-1075)*(Y+4503599627370496)};\nqT=function(W){return W.pg.T&&W.isPrivate};\nY21=function(W,Y,k){this.callback=W;this.slot=Y;this.Cg=k};\n$6z=function(W,Y){W=W.itag.toString();Y!==null&&(W+=Y.itag.toString());return W};\ng.AT=function(W,Y,k){k===void 0?delete W[Y.name]:W[Y.name]=k};\nom=function(W){return W.TJ===\"detailpage\"};\nAa5=function(W){var Y={},k=[],P=[];if(!W.data)return Y;for(var T=0;T1)W.T=!0;if((T===void 0?0:T)||isNaN(W.K))W.K=Y;if(W.W)Y!==W.mediaTime&&(W.W=!1);else if(Y>0&&W.mediaTime===Y){T=1500;if(W.zJ.U(\"html5_buffer_underrun_transition_fix\")){T=g.je(W.zJ.experiments,\"html5_min_playback_advance_for_steady_state_secs\");var I=g.je(W.zJ.experiments,\"html5_min_underrun_buffered_pre_steady_state_ms\");T=T>0&&I>0&&Math.abs(Y-W.K)(P||!W.T?T:400)}W.mediaTime=Y;W.J=k;return!1};\nJGF=function(W,Y){sa(Y,\"cms\",function(k){W.policy.J&&W.y5(\"pathprobe\",k)},function(k){W.W6.handleError(k)})};\nYE0=function(W){var Y;return!!(W.U(\"html5_native_audio_track_switching\")&&g.nV&&((Y=W.videoData.K)==null?0:Q8(Y)))};\nTvQ=function(W,Y){W.W||(W.K=Y,W.J=(0,g.lj)(),W.W=new g.uC(function(){WPd(W)},null),WPd(W))};\nKu0=function(W,Y){if(Y.length===0||Rf(W))return null;W.pg.C.J&&(YOF=!0);var k=W.tY;var P=W.lengthSeconds,T=W.isLivePlayback,I=W.Fj,X=W.pg,h=pm7(Y);if(T||I){X=X.experiments;P=new HB(\"\",X,!0);P.K=!I;P.t9=!0;P.isManifestless=!0;P.isLive=!I;P.Fj=I;Y=g.e(Y);for(T=Y.next();!T.done;T=Y.next()){var B=T.value;T=kL(B,k);h=Aq(31,B);h=jA(h.kY||B.url||\"\",h.O9,h.s);var O=h.get(\"id\");O&&O.includes(\"%7E\")&&(P.A5=!0);var u=void 0;O=(u=X)==null?void 0:u.Nq(\"html5_max_known_end_time_rebase\");u=Number(B.targetDurationSec||\n5);B=Number(B.maxDvrDurationSec||14400);var Z=Number(h.get(\"mindsq\")||h.get(\"min_sq\")||\"0\"),M=Number(h.get(\"maxdsq\")||h.get(\"max_sq\")||\"0\")||Infinity;P.UU=P.UU||Z;P.UA=P.UA||M;var t=!QS(T.mimeType);h&&kE(P,new m3(h,T,{Lh:u,Cr:t,ol:B,UU:Z,UA:M,d2:300,Fj:I,lR:O}))}k=P}else if(h===\"FORMAT_STREAM_TYPE_OTF\"){P=P===void 0?0:P;I=new HB(\"\",X.experiments,!1);I.duration=P||0;X=g.e(Y);for(P=X.next();!P.done;P=X.next())P=P.value,Y=kL(P,k,I.duration),T=Aq(47,P),(T=jA(T.kY||P.url||\"\",T.O9,T.s))&&(Y.streamType===\n\"FORMAT_STREAM_TYPE_OTF\"?kE(I,new Fd(T,Y,\"sq/0\")):kE(I,new aW(T,Y,FS(P.initRange),FS(P.indexRange))));I.isOtf=!0;k=I}else{P=P===void 0?0:P;I=new HB(\"\",X.experiments,!1);I.duration=P||0;X=g.e(Y);for(P=X.next();!P.done;P=X.next())h=P.value,P=kL(h,k,I.duration),Y=FS(h.initRange),T=FS(h.indexRange),O=Aq(61,h),(h=jA(O.kY||h.url||\"\",O.O9,O.s))&&kE(I,new aW(h,P,Y,T));k=I}I=W.isLivePlayback&&!W.Fj&&!W.wD&&!W.isPremiere;W.U(\"html5_live_head_playable\")&&(!Hr(W)&&I&&W.y5(\"missingLiveHeadPlayable\",{}),W.pg.A5===\n\"yt\"&&(k.GJ=!0));return k};\njdQ=function(){};\ng.Ar=function(W,Y,k){return W.state.W[Y].apply(W.state.W,g.cp(k))};\nUa=function(W){this.value=W};\nZgS=function(W){return W.startsWith(\"//\")?\"https:\"+W:W};\nlF0=function(W){return W.array.slice(nov(W,0x7ffffffffffff),W.array.length)};\nKc=function(W,Y){W.Y.sendVideoStatsEngageEvent(Y,void 0,2)};\nXdh=function(W){var Y=Y===void 0?5:Y;return W?IXc[W]||Y:Y};\nXT5=function(W,Y){if(Y!==null&&Y!==void 0){if(typeof Y!==\"object\"&&typeof Y!==\"function\")throw new TypeError(\"Object expected.\");if(k===void 0){if(!Symbol.dispose)throw new TypeError(\"Symbol.dispose is not defined.\");var k=Y[Symbol.dispose]}if(typeof k!==\"function\")throw new TypeError(\"Object not disposable.\");W.stack.push({value:Y,dispose:k,async:!1})}return Y};\nS2K=function(W){if(W.playlist&&g.vL(W.zJ)&&W.t3()){var Y=W.zJ.U(\"html5_player_autonav_logging\");W.nextVideo(!1,Y);return!0}return!1};\nZrV=function(W,Y){var k;if(Y=Y==null?void 0:(k=Y.watchEndpointSupportedOnesieConfig)==null?void 0:k.html5PlaybackOnesieConfig)W.ZN=new hSc(Y)};\nVTd=function(W,Y){W.actionButtons.includes(Y)||(W.actionButtons.push(Y),W.updateValue(\"buttons\",W.actionButtons))};\ng.XE=function(W,Y,k,P){W=W===void 0?{}:W;Y=Y===void 0?[]:Y;k=k===void 0?!1:k;P=P===void 0?!1:P;Y.push(\"ytp-menuitem\");var T=W;\"role\"in T||(T.role=\"menuitem\");k||(T=W,\"tabindex\"in T||(T.tabindex=\"0\"));W={S:k?\"a\":\"div\",Ya:Y,D:W,B:[{S:\"div\",j:\"ytp-menuitem-icon\",v6:\"{{icon}}\"},{S:\"div\",j:\"ytp-menuitem-label\",v6:\"{{label}}\"},{S:\"div\",j:\"ytp-menuitem-content\",v6:\"{{content}}\"}]};P&&W.B.push({S:\"div\",j:\"ytp-menuitem-secondary-icon\",v6:\"{{secondaryIcon}}\"});return W};\nJJX=function(){var W=/Chrome\\/(\\d+)/.exec(g.Ed());return W?parseFloat(W[1]):NaN};\nQZ=function(W,Y,k,P){W.RB&&(W.playbackStartPolicy=Y,W.DT=k,W.f6=P)};\nVe=function(W){if(window.crypto&&window.crypto.getRandomValues)try{var Y=Array(W),k=new Uint8Array(W);window.crypto.getRandomValues(k);for(var P=0;P=602)};\nKd=function(W,Y,k){W.Y.U(\"delhi_modern_web_player\")?Y.S1(W.J.J5(Gd[k])):Y.S1(W.J.element)};\nfT=function(W){var Y=W.Lg.x;Y=g.DR(Y,0,W.C);W.k7.update(Y,W.C);return W.k7};\nQU=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-visit-advertiser-link\"},\"visit-advertiser-link\",Y,k,P);this.hide()};\nBv$=function(W,Y){MB(W,2,Y.a5,Dl,3);MB(W,3,Y.innertubeRequest,GId,3);HL(W,4,Y.onesieUstreamerConfig);HL(W,9,Y.C8);MB(W,10,Y.HB,Fl,3);MB(W,15,Y.reloadPlaybackParams,rBv,3)};\ng.Vyz=function(W){for(;!W.T&&!W.error;){var Y=W;Y.T=!!d_(Y,1);switch(d_(Y,2)){case 2:var k=[],P=[];P.length=19;P.fill(0);var T=d_(Y,5)+257;var I=d_(Y,5)+1;for(var X=d_(Y,4)+4,h=0;h0;B--)k.push(h)}k.length!==X?Y.error=!0:(I=k.slice(-I),k.length=T,xzv(Y,k,I));break;case 1:xzv(Y,j7,I8);break;case 0:k86(Y,\nY.W&7);k=d_(Y,16);T=d_(Y,16);(k^T)!==65535&&(Y.error=!0);Y.output.set(Y.data.subarray(Y.K,Y.K+k),Y.J);Y.K+=k;Y.J+=k;break;default:Y.error=!0}W.J>W.output.length&&(W.output=new Uint8Array(W.J*2),W.J=0,W.K=0,W.T=!1,W.W=0,W.register=0)}W.output.length!==W.J&&(W.output=W.output.subarray(0,W.J));return W.error?new Uint8Array(0):W.output};\nyV=function(W){return{AD:W.qq.get(),k$:!1,Nh:W.OU()}};\ng.Y6=function(W){return g.DC()[W]||0};\nu7$=function(W,Y){W=W.api.getRootNode();g.ML(W,\"ytp-ad-overlay-open\",Y);g.ML(W,\"ytp-ad-overlay-closed\",!Y)};\nMW2=function(W){g.bF.call(this,W,\"ytp-settings-menu\");var Y=this;this.iD=new g.Lj(this.Y);this.Pm=this.NO=this.settingsButton=null;this.isInitialized=this.By=!1;g.m(this,this.iD);this.hide();g.bj(this,this.iD);W.createClientVe(this.element,this,108341,!0);this.subscribe(\"show\",function(k){Y.R6(k)});\nthis.Z(W,\"highlightSettingsMenu\",function(){Y.By=!0;Y.fH()});\nthis.Z(W,\"openSettingsMenuItem\",function(k){if(k&&(Y.By=!0,Y.fH(),k===\"menu_item_video_quality_advanced\")){var P;(P=Y.NO)==null||P.open()}})};\nZCK=function(W,Y){var k=0,P=YE(Y.K);if(W.T=P.length)return;if(k<0)throw Error(\"Missing data\");W.T=W.J;W.K=0}for(T={};k500));P++);P=T}else if(typeof W===\"object\")for(T in W){if(W[T]){var I=T;var X=W[T],h=Y,B=k;I=typeof X!==\"string\"||I!==\"clickTrackingParams\"&&I!==\"trackingParams\"?0:(X=nbF(atob(X.replace(/-/g,\"+\").replace(/_/g,\"/\"))))?nu(I+\".ve\",X,h,B):0;P+=I;P+=nu(T,W[T],Y,k);if(P>500)break}}else k[Y]=MV(W),P+=k[Y].length;else k[Y]=MV(W),P+=k[Y].length;return P};\nGqS=function(W,Y){W.K[Y]||(W.K[Y]=new eE);return W.K[Y]};\ng.rx=function(W){var Y=g.Zw();Y&&(typeof W===\"number\"?W=[W]:typeof W===\"string\"&&(W=[parseInt(W,10)]),g.hv(W,function(k){Y.unsubscribeByKey(k);delete iU[k]}))};\nqm0=function(W,Y,k){this.layoutId=Y;this.offsetMs=k;this.triggerType=\"TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER\";this.triggerId=W(this.triggerType)};\nwf5=function(W){W.api.onAdUxClicked(\"ad-info-icon-button\",W.layoutId)};\nued=function(){var W=C$();W.info||(W.info={});return W.info};\nhIF=function(W,Y,k){this.W=W;this.K=Y;this.J=k};\nPv=function(W,Y,k){var P=this;this.network=W;this.options=Y;this.K=k;this.W=null;if(Y.Al6){var T=new g.sU;this.W=T.promise;g.hL.ytAtRC&&U$(function(){var I,X;return g.v(function(h){if(h.W==1){if(!g.hL.ytAtRC)return h.return();I=wf(null);return g.L(h,Q2(P,I),2)}X=h.K;g.hL.ytAtRC&&g.hL.ytAtRC(JSON.stringify(X));g.I_(h)})},2);\nNe5().then(function(I){var X,h,B,O;return g.v(function(u){if(u.W==1)return I.bindInnertubeChallengeFetcher(function(Z){return Q2(P,wf(Z))}),g.L(u,DM(),2);\nX=u.K;h=I.getLatestChallengeResponse();B=h.challenge;if(!B)throw Error(\"BGE_MACIL\");O={challenge:B,uE:tH(B),W5:X,bgChallenge:new DP};T.resolve(O);I.registerChallengeFetchedCallback(function(Z){Z=Z.challenge;if(!Z)throw Error(\"BGE_MACR\");Z={challenge:Z,uE:tH(Z),W5:X,bgChallenge:new DP};P.W=Promise.resolve(Z)});\ng.I_(u)})})}else Y.preload&&Nb1(this,new Promise(function(I){g.iQ(0,function(){I(e$(P))},0)}))};\niCB=function(W){var Y=W.zn();if(!(g.p(Y.getPlayerState(),64)&&W.Kq().isLivePlayback&&W.u8.startTimeMs<5E3)){if(W.u8.type===\"repeatChapter\"){var k,P=(k=$x7(W.gx()))==null?void 0:k.FK(),T;k=(T=W.getVideoData())==null?void 0:T.i_;P instanceof g.wn&&k&&(T=k[OJ(k,W.u8.startTimeMs)],P.renderChapterSeekingAnimation(0,T.title));isNaN(Number(W.u8.loopCount))?W.u8.loopCount=0:W.u8.loopCount++;W.u8.loopCount===1&&W.Ii.Ri(\"innertubeCommand\",W.getVideoData().ZsD)}P={Fi:\"application_loopRangeStart\"};if(W.u8.type===\n\"clips\"||W.u8.type===\"shortsLoop\")P.seekSource=58;Y.seekTo(W.u8.startTimeMs*.001,P)}};\nUC=function(W,Y,k){var P=new qK(k);if(!Ri(P,W))return!1;P=U4(P);if(!NR(P,Y))return!1;for(W=0;Y;)Y>>>=8,W++;Y=P.start+P.pos;var T=ce(P,!0);P=W+(P.start+P.pos-Y)+T;P=P>9?O0q(P-9,8):O0q(P-2,1);W=Y-W;k.setUint8(W++,236);for(Y=0;Y1E5||++Y.K})};\nIt6=function(W,Y){return ho1(W.P6.get())?new Zq(W.W,Y,[\"normal\",\"error\",\"skipped\"]):new Zq(W.W,Y,[\"normal\"])};\nWm=function(W){var Y=W.videoTrack.X!==-1,k=W.audioTrack.X!==-1;if(!Y||!k)if(Y=!Y&&ib(W.videoTrack),k=!k&&ib(W.audioTrack),Y||k){k=Y?W.videoTrack:W.audioTrack;Y=Y?W.audioTrack:W.videoTrack;k.X=ib(k).info.t5;if(W.policy.C){var P;Y.X=((P=ib(Y))==null?void 0:P.info.t5)||Y.X}if(Y.X!==-1){var T=Math.max(Y.W.index.getStartTime(Y.X),k.W.index.getStartTime(k.X));kV(W.H6)&&Math.abs(T-kV(W.H6))>432E3&&NTC(W.H6);W.K&&(T=W.K,W.K=0);g.Vf(function(){W.policy.C||uU(W,T,102)});\nW.loader.y5(\"initManifestlessSync\",{st:T,ost:T+W.loader.m2(),a:W.audioTrack.X,v:W.videoTrack.X});W.J&&(W.J.resolve(T+.1),W.J=null);W.policy.C&&uU(W,T,102)}}};\nAcd=function(W){var Y=W.raw_player_response;if(!Y){var k=W.player_response;k&&(Y=JSON.parse(k))}delete W.player_response;delete W.raw_player_response;if(Y){W.raw_player_response={streamingData:Y.streamingData,playerConfig:Y.playerConfig};var P;if((P=Y.playbackTracking)==null?0:P.qoeUrl)W.raw_player_response=Object.assign({},W.raw_player_response,{playbackTracking:{qoeUrl:Y.playbackTracking.qoeUrl}});Y.videoDetails&&(Y.videoDetails.videoId||Y.videoDetails.lengthSeconds)&&(k={},Y.videoDetails.videoId&&\n(k.videoId=Y.videoDetails.videoId),Y.videoDetails.lengthSeconds&&(k.lengthSeconds=Y.videoDetails.lengthSeconds),W.raw_player_response=Object.assign({},W.raw_player_response,{videoDetails:k}))}};\ng.US=function(){return g.GK(\"yt-remote-session-screen-id\")};\nn6=function(W,Y){return W.qT?YX(W.qT.Mt(),Y):!0};\ntz$=function(W,Y,k,P,T){this.t5=W;this.startSecs=Y;this.sV=k;this.W=P||NaN;this.K=T||NaN};\ng.ig=function(){return{S:\"svg\",D:{fill:\"#fff\",height:\"24px\",viewBox:\"0 0 24 24\",width:\"24px\"},B:[{S:\"path\",D:{d:\"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z\"}}]}};\nHh=function(W,Y,k){k=k===void 0?!1:k;if(W.qT){var P=W.qT.Mt(),T=wr(P,Y),I=NaN,X=Qg(W);X&&(I=wr(P,X.W.index.getStartTime(X.t5)));if(T===I&&W.K&&W.K.J&&Ba6(m7d(W),0))return Y}W=n1(W,Y,k);return W>=0?W:NaN};\nV8=function(W,Y,k){W.Xr();var P=gn(W);k?(W.K|=Y,Y&1&&W.N.start(),Y&2&&W.A5.start(),Y&2048&&W.Kg.start()):(W.K&=~Y,Y&1&&W.N.stop(),Y&2&&W.A5.stop(),Y&2048&&W.Kg.stop(),Y&512&&W.wD.stop());W.K&512&&!(W.K&128)&&g.Iv(W.wD,W.TJ);Y=gn(W);P!==Y&&W.publish(\"autohideupdate\",Y)};\nmcv=function(W,Y,k){yFd(W.W,function(P){return P.pH>=Y&&P.vz<=k})};\nnR=function(W,Y,k,P){!W&&(k===void 0?0:k)&&g.Jx(Error(\"Player URL validator detects invalid url. \"+(P===void 0?\"\":P)+\": \"+Y));return W};\nVHF=function(W){this.pg=W;this.xq=this.W3=this.OP=this.C=this.T=this.V5=this.GJ=this.A5=!1;this.G=this.X=0;this.bz=!1;this.Kg=!0;this.Q5=!1;this.nh=0;this.z7=this.gD=!1;this.DY=!0;this.Fr=this.UP=!1;this.W={};this.J9=this.xm=this.tT=this.disableAv1=this.A9=this.Qa=this.Lg=this.K1=this.K=this.L=!1;this.wD=0;this.e1=!1;this.AC=this.pg.U(\"html5_disable_aac_preference\");this.KH=Infinity;this.TJ=0;this.D_=this.pg.OR();this.Gn=this.pg.experiments.Nq(\"html5_enable_vp9_fairplay\");this.CN=this.pg.U(\"html5_force_av1_for_testing\");\nthis.rD=g.je(this.pg.experiments,\"html5_av1_ordinal_cap\");this.KN=this.pg.U(\"html5_disable_hfr_when_vp9_encrypted_2k4k_unsupported\");this.LH=this.pg.U(\"html5_account_onesie_format_selection_during_format_filter\");this.c6=g.je(this.pg.experiments,\"html5_max_byterate\");this.f1=this.pg.U(\"html5_enable_iamf_audio\");this.UV=this.pg.experiments.Nq(\"html5_allow_capability_merge\");this.rZ=this.pg.U(\"html5_enable_encrypted_av1\");this.wD=g.je(this.pg.experiments,\"html5_hard_cap_max_vertical_resolution\");this.e1=\nthis.pg.U(\"html5_enable_audio_feature_manager\")};\ndA=function(W){var Y,k=(Y=kW(W.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))==null?void 0:Y.current;if(!k)return null;Y=kW(W.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\");var P=W.layoutId,T=kW(W.clientMetadata,\"metadata_type_content_cpn\"),I=kW(W.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),X=kW(W.clientMetadata,\"metadata_type_player_overlay_layout_renderer\"),h=kW(W.clientMetadata,\"metadata_type_player_underlay_renderer\"),B=kW(W.clientMetadata,\n\"metadata_type_ad_placement_config\"),O=kW(W.clientMetadata,\"metadata_type_video_length_seconds\");var u=EJ(W.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\")?kW(W.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"):EJ(W.clientMetadata,\"metadata_type_layout_enter_ms\")&&EJ(W.clientMetadata,\"metadata_type_layout_exit_ms\")?(kW(W.clientMetadata,\"metadata_type_layout_exit_ms\")-kW(W.clientMetadata,\"metadata_type_layout_enter_ms\"))/1E3:void 0;return{BF:P,contentCpn:T,ZD:k,Xd:Y,instreamAdPlayerOverlayRenderer:I,\nplayerOverlayLayoutRenderer:X,instreamAdPlayerUnderlayRenderer:h,adPlacementConfig:B,videoLengthSeconds:O,aN:u,inPlayerLayoutId:kW(W.clientMetadata,\"metadata_type_linked_in_player_layout_id\"),inPlayerSlotId:kW(W.clientMetadata,\"metadata_type_linked_in_player_slot_id\")}};\nq2j=function(W){var Y,k;g.v(function(P){if(P.W==1){var T;if(T=g.xQ()){var I;T=!((I=W.T.K)==null||!I.getMetrics)}return T?g.L(P,W.T.getMetrics(),2):P.return()}Y=P.K;if(!Y)return P.return();Di(Y)||(Y=g.z2(Y));k=/^[A-Za-z0-9_-]+={0,3}$/;k.test(Y)||(Y=g.hm(Y,void 0,!0));W.publish(\"ctmp\",\"drm\",{metrics:Y});g.I_(P)})};\nnQ2=function(){return{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"m 17,23 h 2 V 17 H 17 Z M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 Z m 0,18 c -4.41,0 -8,-3.59 -8,-8 0,-4.41 3.59,-8 8,-8 4.41,0 8,3.59 8,8 0,4.41 -3.59,8 -8,8 z M 17,15 h 2 v -2 h -2 z\"}}]}};\nRSj=function(W,Y){var k=qO6(W);W.Ba||(W.Ba=new $B(W.api),g.m(W,W.Ba),g.Fw(W.api,W.Ba.element,4));W.Ba.b8(Y);var P=mM(W.api.gx());P&&P.loaded&&k!==Y&&P.pz();Y&&W.api.y5(\"sfn\",{},!0)};\nZ60=function(W,Y,k,P,T){W.C=Y;W.J=k;W.X=P;W.G=T};\nZT=function(W,Y){if(ma(W,Y)){Y=DW(W);var k=YE(W.W,W.pos,Y);W.pos+=Y;return k}};\nku=function(W){g.D.call(this);this.W=W;this.K=fO5(this)};\nge7=function(W,Y,k,P,T){this.videoId=W;this.yA=Y;this.K=k;this.bytesDownloaded=P;this.W=T};\nyU=function(W,Y,k){k=k===void 0?!1:k;return PFz(W,Y.getCurrentTime(),(0,g.lj)(),QX(Y),k)};\nVh=function(W){var Y=g.ad(W.api.V())&&(W.api.U(\"web_shorts_pip\")||W.api.U(\"web_watch_pip\")),k;return!((k=W.api.getVideoData())==null?0:k.isLivePlayback)&&!W.api.isMinimized()&&!W.api.isInline()&&(!W.api.Wl()||!Y)};\nHCh=function(W,Y,k){Y=d3(Y);Y!=null&&rt(W,k,xMz(Y))};\npwd=function(W){W.T&&(W.T.resolve(W.mediaElement.getCurrentTime()),W.A5.K=null)};\ng.uu=function(W,Y){W=dt(W);return W===void 0&&Y!==void 0?Y:Number(W||0)};\ng.Ia=function(W,Y,k,P){g.pk.call(this,W);this.priority=Y;k&&g.Gx(this,k);P&&this.N6(P)};\nb0=function(W){for(var Y=ce(W,!0),k=NA(W),P=1;P0)){EF(\"Invalid index for playLayoutAtIndexOrExit when no ad has played yet.\",W.slot,W.layout,{indexToPlay:Y,layoutId:W.layout.layoutId});break a}W.tS=Y;Y=W.LN();if(W.X8()>0&&!W.OU()){var k=W.CH.get();k.K=!1;var P={};k.W&&k.videoId&&(P.cttAuthInfo={token:k.W,videoId:k.videoId});XF(\"ad_to_ad\",P)}k=g.R(Y.Z2().renderingContent,lo);if(k==null?0:\nk.isEligibleToBeSkippedWhenNoEngagementOnLayoutId){var T;k=!((T=W.gV.get().PDq.get(k.isEligibleToBeSkippedWhenNoEngagementOnLayoutId))!=null&&T)}else k=!1;k?$H(W,W.X8()+1):W.W2(Y)}};\nsdN=function(W,Y){W.lZ.W===2&&Y!==W.s3()&&EF(\"onClipEntered: unknown cpn\",W.slot,W.layout,{cpn:Y})};\n$T1=function(){this.T=this.J=this.W=this.timedOut=this.started=this.C=this.K=0};\nLY=function(W){return u4(W.T,Pd(70,W.SL.b5))};\ndn=function(W){g.c.call(this,{S:\"div\",Ya:[\"ytp-overlays-container\"],B:[{S:\"div\",j:\"ytp-overlay-top-left\"},{S:\"div\",j:\"ytp-overlay-top-right\"},{S:\"div\",j:\"ytp-overlay-bottom-left\"},{S:\"div\",j:\"ytp-overlay-bottom-right\"}]});this.J=this.J5(\"ytp-overlay-top-left\");this.T=this.J5(\"ytp-overlay-top-right\");this.W=this.J5(\"ytp-overlay-bottom-left\");this.K=this.J5(\"ytp-overlay-bottom-right\");g.Fw(W,this.element,4)};\nrqp=function(W,Y,k){var P=g.je(Y.experiments,\"bg_vm_reinit_threshold\");(!s5||(0,g.lj)()-s5>P)&&IB6(W,k).then(function(T){T&&(T=T.botguardData)&&g.X$(T,Y)},function(T){W.Xr()||(T=BH(T),W.y5(\"attf\",T.details))})};\nAqc=function(W){W.isInitialized&&(W.enabled=W.isVisible,W.Kg=W.isVisible,yR(W),W.zw(),W.thumbnailImage.b8(W.isVisible),W.shouldHideDismissButton||W.dismissButton.b8(W.isVisible),W.shouldShowOverflowButton&&W.overflowButton.b8(W.isVisible))};\ng.im=function(W){return{fieldType:3,fieldName:W}};\nIJ=function(W,Y){if(!Y.vk||!W.Y.IS()){var k=Y.JS||1E4,P=UZd(Y);W.W?Y.videoId&&Y.videoId!==W.videoId&&(g.i7(W.W),W.videoId=Y.videoId,P?($5v(W,k,Y),W.fH()):(W.n1(),W.W.dispose(),W.W=null)):P&&(Y.videoId&&(W.videoId=Y.videoId),$5v(W,k,Y),W.fH())}};\n$M1=function(W){W=g.e(W.jj.values());for(var Y=W.next();!Y.done;Y=W.next())if(!Y.value.Lu)return!1;return!0};\nzV6=function(W,Y){Y&&(W.T=Y)};\nzSh=function(W,Y,k,P){Y={K2:Y,zO:k,Wp:W.playback.getCurrentTime(),FW6:P};l2(W,Y)};\nN11=function(W){var Y=W.api.V(),k=W.api.getVideoData(),P=g.hN(Y)&&g.k4(W.api)&&g.p(W.api.getPlayerStateObject(),128);Y=Y.J||Y.disableSharing&&W.api.getPresentingPlayerType()!==2||!k.showShareButton||k.l4||P||k.zr||!1;P=W.api.ai().getPlayerSize().width;return!!k.videoId&&P>=W.J&&!Y};\nUw=function(W,Y){g.sq.call(this);this.wD=W;this.X=Y;this.C=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText=\"\";this.onreadystatechange=this.responseXML=null;this.N=new Headers;this.K=null;this.Kg=\"GET\";this.A5=\"\";this.W=!1;this.G=this.J=this.T=null;this.L=new AbortController};\nd6B=function(){Cc&&typeof Cc.google_measure_js_timing!=\"undefined\"&&(Cc.google_measure_js_timing||XM.disable())};\ntFF=function(W){var Y;if(Y=W.provider.videoData.isLoaded()&&W.provider.videoData.A9&&W.J&&!W.wD)Y=W.W,Y=Y.C+Y.tD()-Y.J>=W.provider.videoData.A9;return!!Y};\nCO=function(W,Y){return Y===void 0||Y===null?W:Y.toString()};\nm6K=function(W){W.length===1||g.z3(W,function(k){return!!k.range});\nfor(var Y=1;Y2&&W.Y.U(\"enable_web_premium_varispeed\");W.Kg.classList.toggle(\"ytp-speedslider-premium-badge\",Y);W.Kg.setAttribute(\"aria-label\",Y?\"Premium\":\"\")};\nyc5=function(W,Y,k,P,T,I,X){Y=Ir1(Y,I,Number(P.prefetchMilliseconds)||0,X);W=Y instanceof l?Y:Qo(W,P,T,Y,k);return W instanceof l?W:[W]};\nSi7=function(){if(!TM.instance){var W=g.o3(\"yt.networkStatusManager.instance\")||new TM;g.qa(\"yt.networkStatusManager.instance\",W);TM.instance=W}return TM.instance};\nEUV=function(W,Y,k,P,T,I,X){Hm(W,k*1E3,X);T<=0||k<=0||(Y==null?0:g.p(Y,16))||(Y==null?0:g.p(Y,32))||(pA(k,T*.25,P)&&(I&&!BI(W,\"first_quartile\")&&I(\"first\"),W.Z_(\"first_quartile\")),pA(k,T*.5,P)&&(I&&!BI(W,\"midpoint\")&&I(\"second\"),W.Z_(\"midpoint\")),pA(k,T*.75,P)&&(I&&!BI(W,\"third_quartile\")&&I(\"third\"),W.Z_(\"third_quartile\")))};\ng.lV=function(W){return(new GB1).WK(W)};\ng.Xo=function(W,Y){Y=UCC(W,Y);var k;(k=Y>=0)&&g.QC(W,Y);return k};\nae7=function(W,Y){for(var k=new Map,P=g.e(W.W.keys()),T=P.next();!T.done;T=P.next()){T=T.value;var I=T.split(\"_\")[0];Y.has(I)||k.set(T,W.W.get(T))}W.W=k};\ng5z=function(W){if(!S2K(W)){var Y=W.zn().bd();Y&&(Y=Y.TG(),Y instanceof Promise&&Y.catch(function(){}));\nuQ(W,I4(W.getPlayerStateObject()))}};\noY=function(W,Y){var k;(k=W.loader)==null||jw0(k,Y)};\nFVw=function(W,Y){function k(){var P=g.xh.apply(0,arguments);W.removeEventListener(\"playing\",k);Y.apply(null,g.cp(P))}\nW.addEventListener(\"playing\",k)};\nwdc=function(W,Y){return(W=nW5(W,Y*1E3))?Y-W.start/1E3:Y};\nuy6=function(W){return!!W.K&&!!W.J};\nQd1=function(W,Y,k){var P=W.index.f2(Y),T=W.index.getStartTime(Y),I=W.index.getDuration(Y);k?I=k=0:k=W.info.c6*I;return new $V([new i2(3,W,void 0,\"otfCreateRequestInfoForSegment\",Y,T,I,0,k)],P)};\nrf=function(W){return W===\"gelDebuggingEvent\"};\nFNF=function(W){if(!W)return!1;W=g.R(W.instreamAdPlayerOverlay,cXd);var Y=g.R(W==null?void 0:W.skipOrPreviewRenderer,P5),k=g.R(W==null?void 0:W.adInfoRenderer,i1);return(g.R(W==null?void 0:W.skipOrPreviewRenderer,bV)||Y)&&k?!0:!1};\nRWv=function(W){var Y=h$(\"aft\",W);if(Y)return Y;Y=g.o_((W||\"\")+\"TIMING_AFT_KEYS\",[\"ol\"]);for(var k=Y.length,P=0;P0&&(this.W[Y]=0);this.J=0};\nQ9=function(W,Y,k,P,T){P=P===void 0?!1:P;g.D.call(this);this.pg=Y;this.useCobaltWidevine=P;this.y5=T;this.K=[];this.J={};this.W={};this.callback=null;this.C=!1;this.T=[];this.initialize(W,!k)};\n$I=function(W){if(typeof W!==\"number\"&&W&&!W.removed){var Y=W.src;if(W7(Y))g.py(Y.n7,W);else{var k=W.type,P=W.proxy;Y.removeEventListener?Y.removeEventListener(k,P,W.capture):Y.detachEvent?Y.detachEvent(rQz(k),P):Y.addListener&&Y.removeListener&&Y.removeListener(P);ccd--;(k=YI(Y))?(g.py(k,W),k.W==0&&(k.src=null,Y[w01]=null)):dX(W)}}};\neSi=function(W){var Y=Array.from(W.W.keys()).sort(function(P,T){return rR(W,W.W[T])-rR(W,W.W[P])});\nY=g.e(Y);for(var k=Y.next();!k.done;k=Y.next())k=W.W[k.value],k.jobId===void 0||k.WJ||(W.scheduler.Ca(k.jobId),U$(k.R$,10))};\ntT=function(W){W.setAttribute(\"role\",\"link\")};\no5K=function(W,Y,k,P,T,I){var X=g.Pi(W,TB),h;if(!W.po)if(h=msd(Y,X)){var B=h.N7;h=h.signature}else h=B=Y.encrypt(X),(0,g.lj)(),h=RB1(new nfF(Y.W.J),h,Y.iv);return MZ(B&&h?{rb:B,z2:h}:{pKD:X},Y,k,P,!!W.po,T,I)};\nAS=function(W){W=mM(W.eL);return!!W&&W.loaded};\nL8=function(W,Y){W.A5=NaN;W.N=null;W.L.stop();W.T&&Y&&W.T.xl();W.X=null;W.T=null};\nv5c=function(W){this.h5=rT(W)};\nCFp=function(W){return(oJ(W.videoData)||!!W.videoData.liveUtcStartSeconds)&&(!!W.videoData.liveUtcStartSeconds||rk(W))&&!!W.videoData.W};\ng.Uf=function(W,Y){Y=te(Y);Y!==void 0&&(W.href=Y)};\nR6F=function(W,Y){var k;return g.v(function(P){(0,g.lj)();var T=W.W;T.C||(T.C=new wdX(T.J));k=T.C;return P.return(tDS(k,Y,W.iv))})};\nBT=function(W){var Y=g.xh.apply(1,arguments).filter(Boolean).join(\"&\");if(!Y)return W;var k=W.match(/[?&]adurl=/);return k?W.slice(0,k.index+1)+Y+\"&\"+W.slice(k.index+1):W+(W.indexOf(\"?\")<0?\"?\":\"&\")+Y};\nzPz=function(W,Y,k,P,T,I){var X=k-P/2;k+=P/2;Y+=T;return\"M 0 \"+T+\" L 0 \"+(Y+\" L \")+(X+\" \"+Y+\" C \")+(X+I+\" \"+Y+\" \"+(X+I)+\" \"+T+\" \"+X+\" \"+T+\" L 0 \")+(T+\" M \")+(k+\" \"+T+\" L \")+(W.C+\" \"+T+\" L \")+(W.C+\" \"+Y+\" L \")+(k+\" \"+Y+\" C \")+(k-I+\" \"+Y+\" \"+(k-I)+\" \"+T+\" \"+k+\" \"+T)};\nqQ0=function(W,Y){var k=[];k.push(new yI(e8(W)));k.push(new cT(Y.layoutId));(W=kW(Y.clientMetadata,\"metadata_type_player_bytes_callback_ref\"))&&k.push(new ao(W));(W=kW(Y.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))&&k.push(new r3(W));(W=kW(Y.clientMetadata,\"metadata_type_remote_slots_data\"))&&k.push(new Af(W));(W=kW(Y.clientMetadata,\"metadata_type_ad_next_params\"))&&k.push(new M0(W));(W=kW(Y.clientMetadata,\"metadata_type_ad_video_clickthrough_endpoint\"))&&k.push(new iY(W));(W=\nkW(Y.clientMetadata,\"metadata_type_ad_pod_info\"))&&k.push(new hJ(W));(Y=kW(Y.clientMetadata,\"metadata_type_ad_video_id\"))&&k.push(new zA(Y));return k};\nKWz=function(W){var Y=W===void 0?{}:W;W=Y.YJ;var k=Y.Ch;var P=Y.Fu;var T=Y.QU;Y=Y.uh;this.YJ=W;this.Ch=k;this.Fu=P;this.QU=T;this.uh=Y};\nU6d=function(W,Y){try{Y={detail:\"pr.\"+Y},g.wj(W.pg)&&W.pg.U(\"html5_reload_by_kabuki_app\")?W.W6.SW(\"qoe.restart\",1,void 0,l4(Y),\"7\"):(W.Pz(\"qoe.restart\",Y),window.location.reload())}catch(k){}};\nDQ=function(W,Y,k,P,T){T=T===void 0?!1:T;this.data=W;this.offset=Y;this.size=k;this.type=P;this.W=(this.K=T)?0:8;this.dataOffset=this.offset+this.W};\nGUX=function(W){if(W.W.keySystemAccess)return W.W.keySystemAccess.createMediaKeys().then(function(k){if(!W.Xr()){W.K=k;var P;(P=W.element)==null||P.setMediaKeys(k)}});\nif(f6(W.W))W.J=new (lP())(W.W.keySystem);else if(ipv(W.W)){W.J=new (lP())(W.W.keySystem);var Y;(Y=W.element)==null||Y.webkitSetMediaKeys(W.J)}else $AC(W);return null};\nirz=function(W,Y){Y.subscribeCommand&&(W.subscribeCommand=Y.subscribeCommand);Y.unsubscribeCommand&&(W.unsubscribeCommand=Y.unsubscribeCommand);Y.addToWatchLaterCommand&&(W.addToWatchLaterCommand=Y.addToWatchLaterCommand);Y.removeFromWatchLaterCommand&&(W.removeFromWatchLaterCommand=Y.removeFromWatchLaterCommand);Y.getSharePanelCommand&&(W.getSharePanelCommand=Y.getSharePanelCommand)};\nLVz=function(W,Y,k,P){k=k===void 0?!1:k;P=P===void 0?!1:P;if(W.j1&&(!Y||W.j1===Y)){W.logger.debug(\"media source opened\");var T=W.getDuration();!T&&c3(W.videoData)&&(T=25200);if(W.j1.isView){var I=T;W.logger.debug(function(){return\"Set media source duration to \"+I+\", video duration \"+T});\nI>W.j1.getDuration()&&Lb2(W,I)}else Lb2(W,T);UKF(W.loader,W.j1,k,P);W.publish(\"mediasourceattached\")}};\njP=function(W,Y,k){var P=U6j[W]||[];k.U(\"html5_shorts_onesie_mismatched_fix\")&&(P=lXB[W]||[]);Y.push.apply(Y,g.cp(P));k.U(\"html5_early_media_for_drm\")&&Y.push.apply(Y,g.cp(bCc[W]||[]))};\ng.Ei=function(W,Y,k,P){P?W.N[P]=W.J:W.N=[W.J];W.X=Y||0;W.C=k||0};\ncqQ=function(W){for(var Y=W.key,k=W.counter[0]^Y[0],P=W.counter[1]^Y[1],T=W.counter[2]^Y[2],I=W.counter[3]^Y[3],X=3;X>=0&&!(W.counter[X]=-~W.counter[X]);X--);for(var h,B,O=4;O<40;)X=uV[k>>>24]^Za[P>>16&255]^iV[T>>8&255]^Mp[I&255]^Y[O++],h=uV[P>>>24]^Za[T>>16&255]^iV[I>>8&255]^Mp[k&255]^Y[O++],B=uV[T>>>24]^Za[I>>16&255]^iV[k>>8&255]^Mp[P&255]^Y[O++],I=uV[I>>>24]^Za[k>>16&255]^iV[P>>8&255]^Mp[T&255]^Y[O++],k=X,P=h,T=B;W=W.K;X=Y[40];W[0]=Ow[k>>>24]^X>>>24;W[1]=Ow[P>>16&255]^X>>16&255;W[2]=Ow[T>>8&255]^\nX>>8&255;W[3]=Ow[I&255]^X&255;X=Y[41];W[4]=Ow[P>>>24]^X>>>24;W[5]=Ow[T>>16&255]^X>>16&255;W[6]=Ow[I>>8&255]^X>>8&255;W[7]=Ow[k&255]^X&255;X=Y[42];W[8]=Ow[T>>>24]^X>>>24;W[9]=Ow[I>>16&255]^X>>16&255;W[10]=Ow[k>>8&255]^X>>8&255;W[11]=Ow[P&255]^X&255;X=Y[43];W[12]=Ow[I>>>24]^X>>>24;W[13]=Ow[k>>16&255]^X>>16&255;W[14]=Ow[P>>8&255]^X>>8&255;W[15]=Ow[T&255]^X&255};\nx6K=function(W,Y){var k=uY(Y);W.W&&(W.T||Y===W.C)?(W.yH(W.W),W.N6(Y.toString())):W.yH(k)};\nfXh=function(W){g.D.call(this);var Y=this;this.componentId=\"\";this.W=[];this.Fr=\"\";this.pageId=null;this.GJ=this.gD=-1;this.G=this.experimentIds=null;this.X=this.T=0;this.N=null;this.Kg=this.wD=0;this.V5=1;this.timeoutMillis=0;this.TJ=!1;this.logSource=W.logSource;this.Z$=W.Z$||function(){};\nthis.J=new j$(W.logSource,W.fC);this.network=W.network||null;this.V3=W.V3||null;this.L=W.n7h||null;this.sessionIndex=W.sessionIndex||null;this.Li=W.Li||!1;this.logger=null;this.withCredentials=!W.fd;this.fC=W.fC||!1;this.A5=!this.fC&&!!op()&&!!op().navigator&&op().navigator.sendBeacon!==void 0;this.UP=typeof URLSearchParams!==\"undefined\"&&!!(new URL(g8())).searchParams&&!!(new URL(g8())).searchParams.set;var k=Jvd(new tl);tA(this.J,k);this.C=new g.V7(1E4,3E5,.1);W=q01(this,W.q7);this.K=new tj(this.C.getValue(),\nW);this.OP=new tj(6E5,W);this.Li||this.OP.start();this.fC||(document.addEventListener(\"visibilitychange\",function(){if(document.visibilityState===\"hidden\"){oh(Y);var P;(P=Y.N)==null||P.flush()}}),document.addEventListener(\"pagehide\",function(){oh(Y);\nvar P;(P=Y.N)==null||P.flush()}))};\nLO=function(W,Y,k){for(var P in k)if(k[P]==Y)return k[P];return W};\nffz=function(){if(cm===void 0){try{window.localStorage.removeItem(\"yt-player-lv\")}catch(Y){}a:{try{var W=!!self.localStorage}catch(Y){W=!1}if(W&&(W=g.Yt(g.yp()+\"::yt-player\"))){cm=new gq(W);break a}cm=void 0}}return cm};\nHR=function(){this.eJ=!0};\nNA=function(W){return W.W.getUint8(W.pos++)};\nI_2=function(W){sE.call(this,W);this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"videoready\",function(Y){if(W.getPresentingPlayerType()===1){var k,P,T={playerDebugData:{pmlSignal:!!((k=Y.getPlayerResponse())==null?0:(P=k.adPlacements)==null?0:P.some(function(I){var X;return I==null?void 0:(X=I.adPlacementRenderer)==null?void 0:X.renderer})),\ncontentCpn:Y.clientPlaybackNonce}};g.qc(\"adsClientStateChange\",T)}})};\nJi=function(W,Y,k,P){(P===void 0?0:P)&&!Y.GJ&&(Bl()||(P=Y.qT)&&!P.Lc(k.info)&&W.W6.Je(),Y.GJ=!0);Y.W!==k&&(W.logger.debug(function(){return\"Setting target itag: \"+k.info.id+\" (was \"+Y.W.info.id+\")\"}),Y.W=k)};\nm2=function(W,Y){return W+\"_\"+Y.videoId+\"_\"+Y.U1+\"_\"+ +Y.isAutonav+ +Y.mT};\nx_=function(){tV.apply(this,arguments)};\ng.H0=function(W,Y,k){W=W.W.openCursor(Y.query===void 0?null:Y.query,Y.direction===void 0?\"next\":Y.direction);return Qt(W).then(function(P){return Tw(P,k)})};\noU0=function(W){OA(W);return W.data.map(function(Y){return Y.value})};\nVz1=function(W,Y,k,P,T,I,X){Qy.call(this,k,W,Y,P);this.T=T;this.Cg=I;this.P6=X};\ngCq=function(W){var Y=W.api.getRootNode();if(W.gD&&W.api.getPlayerStateObject().isPaused()){var k;var P=(((k=W.C)==null?void 0:k.element.clientWidth)||0)*.5625/3*W.TJ||W.wD}else P=W.wD;W.A5=P;Y.style.setProperty(\"--ytp-grid-peek-height\",W.A5+\"px\");g.ML(Y,\"ytp-disable-bottom-gradient\",W.A5<=12)};\neOv=function(W,Y){var k=0;k=0;for(var P={};k0?HV(P,k).includes(Y):HV(W.J,k).includes(Y)};\nZB0=function(W,Y){for(var k=0;k+1P};\nYKi=function(W,Y,k){if(W.policy.rD&&W1N(Y))return!1;if(k.H8())return!0;if(!k.UJ())return!1;var P=ib(Y);if(!P||P.info.type===6)return!1;var T;if(W.policy.Hr||((T=W.J)==null?0:uL5(T,Y,P.info.t5)))W.GJ=0;else return W.qx.isSeeking()&&$m(W),W.GJ=W.GJ||(0,g.lj)(),!1;if(!dK(W,Y,k,P.info))return!1;if(W.H6.K&&P.info.K===0){if(T=POC(Y,k,P)){var I=Qg(Y);W.y5(\"initchg\",{it:P.info.W.info.id,sr:!!I&&I.W===P.info.W,ty:P.info.type,seg:P.info.t5})}I=g.MK(P.info.W.info);W.policy.KN&&I&&!T&&jOq(P)}I=W.G&&!!W.G.T&&\nY.W.info.audio;T=W.H6.isManifestless||P.C;if(!(W.H6.K&&P.info.K!==0||T&&!I)&&$E(W,Y,k,P))return!0;if(I)return!1;I=UU(W,Y);I=W.getCurrentTime()+I;if(P.info.C>I)return W.policy.W&&cg7(W,Y),W.policy.GT&&s7v(Y.T,I,!1),!1;wXS(W,Y);var X;W.policy.jW&&k===((X=W.j1)==null?void 0:X.W)&&W.e1&&(k.rN()===0?(W.e1=!1,W.policy.jW=!1):W.Lg=k.rN());if(!uKq(W,k,P,Y))return!1;W.policy.rD&&P.info.IB()?(W.W6.V().OR()&&W.y5(\"eosl\",{ls:P.info.TW()}),P.isLocked=!0):(Y.YB(P),jHq(W.W,P.info),W.logger.debug(function(){return\"Appended \"+\nP.info.TW()+\", buffered: \"+pH(k.Mt())}));\nT&&ZUv(W,P.info.W.zG);return!0};\nBI0=function(W){var Y;return((Y=document.featurePolicy)==null?0:Y.allowedFeatures().includes(\"attribution-reporting\"))?W+\"&nis=6\":W+\"&nis=5\"};\ng.v1=function(W,Y){var k;return W.V().U(\"safari_live_drm_captions_fix\")&&((k=W.getVideoData())==null?0:k.t$())?!1:g.xW(W.V())&&!Y.isManifestless};\ng.Lt=function(W){return W.zd.get(\"captions\")};\nDHC=function(W){this.h5=rT(W)};\ng.AR=function(W,Y,k){IQ(W,k)||Xc(W,Y,k);IQ(W,\"video_to_ad\")||Xc(W,Y,\"video_to_ad\");IQ(W,\"ad_to_video\")||Xc(W,Y,\"ad_to_video\");IQ(W,\"ad_to_ad\")||Xc(W,Y,\"ad_to_ad\")};\ng.an=function(W,Y){return W.start-Y.start||W.priority-Y.priority||W.K-Y.K};\npsv=function(W){return!!W.tY&&!!W.tY.fairplay&&(W.lz===\"(\"||W.lz===\"(h\"||W.lz===\"A\"||W.lz===\"MEAC3\")||Zh&&!!W.tY&&W.lz===\"1e\"};\nAJ=function(W){sW.call(this,W.JE,W.slot,W.Xu,W.sP,W.i8,W.qq,W.Cg,W.CH,W.RI,W.UR,W.rX,W.MS,W.lE,W.VV,W.P6,W.Bw,W.E6,W.context)};\nmQV=function(W,Y){if(Y>=W.W.length)return W.C;for(var k=0,P=0;PY?1:0};\ng.vP=function(W){g.tR.call(this);this.loaded=!1;this.player=W};\nz3C=function(W,Y){W=W.player.V();if(g.wj(W)||YV(W)){W=g.o_(\"INNERTUBE_CONTEXT\");var k,P;(W==null?0:(k=W.adSignalsInfo)==null?0:k.advertisingId)&&typeof(W==null?void 0:(P=W.adSignalsInfo)==null?void 0:P.limitAdTracking)!==\"undefined\"&&(Y.advertisingId=W.adSignalsInfo.advertisingId,Y.advertisingIdSignalType=\"DEVICE_ID_TYPE_CONNECTED_TV_IFA\",Y.limitAdTracking=W.adSignalsInfo.limitAdTracking)}};\noG2=function(){return kKQ.loaded||(kKQ.loaded=\"loaded\".replace(/\\-([a-z])/g,function(W,Y){return Y.toUpperCase()}))};\ny2=function(W,Y){function k(){var T;return g.v(function(I){T=P-Date.now();return T<1E3?g.L(I,PnX(W),0):(U$(k,0,Math.min(T,6E4)),I.oi(0))})}\nvar P=Date.now()+Y;k()};\nAL=function(W,Y){if(!W.OP[Y.id]){var k=W.H6.W[Y.id].index.iJ(W.gD,15);k=Y.Do&&W.J&&W.J.index.isLoaded()?k||Y.Do:k||Y.c6;W.OP[Y.id]=k}k=W.OP[Y.id];W.GJ.has(Y.itag)&&(k*=1.5);return k*=Math.max(1,W.Q5.le()||0)};\nPQB=function(){g.nT(function(){var W=SP();requestAnimationFrame(function(){setTimeout(function(){W===SP()&&aj(\"ftl\",void 0,void 0)},0)})})()};\nTBQ=function(W,Y){Y=Y?{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z\"}}]}:EX7();var k=W.Y.getPlaybackRate(),P=g.Vq(\"Speed is $RATE\",{RATE:String(k)});tQ(W,Y,P,k+\"x\")};\nb5C=function(W,Y){return Y==null?null:W.J.find(function(k){return k.Z2().layoutId===Y})||null};\nc8=function(W,Y){W.W6.OO(Y)};\nJ3q=function(W,Y){this.J=W;this.y5=Y;this.W=\"\";this.K=new Map};\njjQ=function(W,Y,k){this.J=k===void 0?0:k;this.K=W;this.W=Y==null?\"\":Y};\ng.tR=function(W){W=W===void 0?!1:W;g.D.call(this);this.u5=new g.Td(W);g.m(this,this.u5)};\nc$C=function(W,Y,k){if(!W.A5){k||(k=re(W,\"atr\"));k.attestationResponse=Y;try{k.send()}catch(P){if(P.message!==\"Unknown Error\")throw P;}W.A5=!0}};\niiF=function(W,Y){if(W.playback.getVideoData().Xj()){var k=W.W.W.get(Y);if(k){k=g.e(k);for(var P=k.next();!P.done;P=k.next()){var T=W;P=P.value;var I=T.K.get(P.cpn);T.K.delete(P.cpn);I&&T.playback.removeCueRange(I);URd(T.W,P)}W.C.clear();W=W.W;var X;k=(X=W.W.get(Y))!=null?X:[];X=g.e(k);for(k=X.next();!k.done;k=X.next())URd(W,k.value);W.W.delete(Y)}}};\nW5X=function(W){var Y=jt6(W);return Y&&Y.durationMs?M2(Y.durationMs):W.paidContentOverlayDurationMs};\nfy=function(W){this.h5=rT(W)};\ncN=function(W,Y){return Y>W.mediaTime+W.C&&Y0||ys(W.T.W,P.W,!1):!P.W.info.video||pO(W.W.C).size>0||eI(W.W,P.W)):k===2&&(W.K1<15?(W.K1++,T=\"html5.invalidstate\",I=0):T=\"fmt.unplayable\");P=uT(P);var X;P.mrs=(X=W.j1)==null?void 0:Hv(X);P.origin=Y;P.reason=k;P.trg=\"appenderr\";W.handleError(T,P,I)};\nxiS=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t,q,G,E,z,A,F,y,U){this.er=W;this.Yh=Y;this.QH=k;this.qq=P;this.Pa=T;this.Cg=I;this.gV=X;this.sP=h;this.Dh=B;this.Va=O;this.i8=u;this.a6=Z;this.JT=M;this.wZ=t;this.CH=q;this.RI=G;this.UR=E;this.fu=z;this.P6=A;this.W=F;this.context=y;this.E6=U};\nc6=function(W){g.LH(W)};\nRsF=function(W){if(W<0){pZ(W);var Y=Ev(JC,sp);W=Number(Y);return KM(W)?W:Y}Y=String(W);if(qL2(Y))return Y;pZ(W);return ix(JC,sp)};\nibz=function(W){mp.call(this);var Y=this;this.logger=W;this.zW={jlg:function(){return Y.logger},\nVs:function(){return Y.logger.zW.Vs()}};\nthis.addOnDisposeCallback(function(){return void Y.logger.dispose()})};\nDO=function(W){this.W=W};\nkdz=function(W){return W.NA&&!W.RB};\nIO2=function(W){if(!(\"FLAG_AUTO_CAPTIONS_DEFAULT_ON\"in h9h))return!1;W=W.split(RegExp(\"[:&]\"));var Y=h9h.FLAG_AUTO_CAPTIONS_DEFAULT_ON,k=\"f\"+(1+Math.floor(Y/31)).toString();Y=1<=0;k--)if(P=W.levels[k],T=QW(P,Y),!P.isLoaded(T)){P=W;var I=k,X=I+\"-\"+T;P.X.has(X)||(P.X.add(X),P.J.enqueue(I,{ZR:I,SV:T}))}lhv(W)};\nXQF=function(W,Y,k){if(!(Y.Xv&&W.isComplete()&&W.canRetry()&&W.info.ob.W4(Y,k))||W.info.ob.L)return 0;W=u4(k,Yeq(W.info.ob,!1,Y));return W.K+Y.Xv*mz1(W,!0)>(0,g.lj)()?0:1};\nMw=function(W){return/(opus|mp4a|dtse|ac-3|ec-3|iamf)/.test(W)};\nO6F=function(W,Y,k,P){this.UR=W;this.layoutId=k;this.C=P;this.K=[];this.W=[];this.J=this.T=0;W=g.e(Y);for(Y=W.next();!Y.done;Y=W.next())switch(Y=Y.value,k=void 0,(k=Y.adVideoOffset)==null?void 0:k.kind){case \"AD_VIDEO_PROGRESS_KIND_PERCENT\":BB$(Y)?this.K.push(Y):EF(\"Invalid AdVideoProgressPercentCommand\");break;case \"AD_VIDEO_PROGRESS_KIND_MILLISECONDS\":pVS(Y)?this.W.push(Y):EF(\"Invalid AdVideoProgressMillisecondsCommand\");break;default:EF(\"Unknown or invalid AdVideoProgressOffSet kind\")}this.K.sort(function(T,\nI){return T.adVideoOffset.percent-I.adVideoOffset.percent});\nthis.W.sort(function(T,I){return Number(T.adVideoOffset.milliseconds)-Number(I.adVideoOffset.milliseconds)})};\nvH1=function(W,Y,k,P,T,I,X){if(!(o4||tp()||iH()))return JZ();var h={},B=Zsv(k),O=UPd(k,W.U(\"html5_filter_fmp4_in_hls\"),W.C.G,h);if(!O)return X({noplst:1}),JZ();NP5(O);k={};var u=(k.fairplay=\"https://youtube.com/api/drm/fps?ek=uninitialized\",k),Z;k=[];var M=[],t=[],q=null,G=\"\";P=P&&P.match(/hls_timedtext_playlist/)?new Lg2({itag:\"0\",url:P,codecs:\"vtt\",width:0,height:0,fps:0,bitrate:0,Ib:new g.tf(\"English\",\"en\",!1)}):null;for(var E=g.e(Object.keys(O)),z=E.next();!z.done;z=E.next())if(z=z.value,!W.U(\"html5_disable_drm_hfr_1080\")||\nz!==\"383\"&&z!==\"373\"){z=g.e(O[z]);for(var A=z.next();!A.done;A=z.next())if(A=A.value,A.width){for(var F=g.e(A.K),y=F.next();!y.done;y=F.next())if(y=y.value,O[y]){A.W=y;break}A.W||(A.W=fLS(O,A));if(F=O[A.W])if(k.push(A),A.tY===\"fairplay\"&&(Z=u),y=\"\",A.zF===\"PQ\"?y=\"smpte2084\":A.zF===\"HLG\"&&(y=\"arib-std-b67\"),y&&(G=y),t.push(O$c(F,[A],P,I,A.itag,A.width,A.height,A.fps,B,void 0,void 0,Z,y)),!q||A.width*A.height*A.fps>q.width*q.height*q.fps)q=A}else M.push(A)}else h[z]=\"disdrmhfr\";t.reduce(function(U,\nV){return V.getInfo().isEncrypted()&&U},!0)&&(Z=u);\nT=Math.max(T,0);u=q||{};O=u.fps===void 0?0:u.fps;q=u.width===void 0?0:u.width;u=u.height===void 0?0:u.height;E=W.U(\"html5_native_audio_track_switching\");t.push(O$c(M,k,P,I,\"93\",q,u,O,B,\"auto\",T,Z,G,E));Object.entries(h).length&&X(h);return RV(W.C,t,qw(W,Y),!1)};\nqi=function(W){return{itag:Qx(W,1),lmt:Qx(W,2),xtags:yx(W,3)}};\nzi=function(){};\ng.LU=function(W){g.D.call(this);var Y=this;this.W6=W;this.zW={Rv:function(){return Y.W6}}};\nkq=function(W,Y,k,P,T,I,X,h,B){this.t5=W;this.startTime=Y;this.duration=k;this.ingestionTime=P;this.sourceURL=T;this.w5=B;this.endTime=Y+k;this.W=X||0;this.range=I||null;this.pending=h||!1;this.w5=B||null};\nEuC=function(W,Y){var k={};g.hN(W.api.V())&&(g.Ar(W.api,\"addEmbedsConversionTrackingParams\",[k]),Y=g.YW(Y,k));return Y};\nuzQ=function(W,Y,k){var P=[];return g.TN(W,{query:Y},function(T){if(!(k!==void 0&&P.length>=k))return P.push(T.getValue()),g.jK(T)}).then(function(){return P})};\nBu0=function(W){yF.call(this,\"onesie\");this.q6=W;this.W={};this.T=!0;this.J=null;this.queue=new Lh(this);this.C={}};\nZ$N=function(W,Y){return Y.reduce(function(k,P){return function(T){return P.intercept(T,k)}},W)};\ni$1=function(W,Y,k,P,T){try{if(W.state.status!==\"REJECTED\")throw Error(\"calling handleReject before the promise is rejected.\");var I=k(W.state.reason);I instanceof g.UE?lk(W,Y,I,P,T):P(I)}catch(X){T(X)}};\nMwz=function(W,Y,k){var P,T=Y==null?void 0:(P=Y.text)==null?void 0:P.simpleText;T&&Gud(W,k,T,Y==null?void 0:Y.icon).listen(\"click\",function(){var I;(Y==null?void 0:(I=Y.icon)==null?void 0:I.iconType)===\"HIDE\"?W.Y.publish(\"featuredproductdismissed\"):Y.serviceEndpoint&&W.Y.Ri(\"innertubeCommand\",Y.serviceEndpoint);W.hide()},W)};\nf_F=function(W,Y){Y>0&&(W.K=Y,W.G.style.height=W.K+\"px\")};\ncaC=function(W,Y,k,P){if(BR.instance!==void 0){if(P=BR.instance,W=[W!==P.Rj,Y!==P.O6,k!==P.W,!1,!1,!1,void 0!==P.J],W.some(function(T){return T}))throw new g.M6(\"InnerTubeTransportService is already initialized\",W);\n}else BR.instance=new BR(W,Y,k,P)};\ng.MW=function(W,Y){this.state=W;this.oldState=Y};\nYw6=function(W,Y){var k=W.u8!==Y;W.u8=Y;k&&dW(W)};\ntw9=function(W){var Y=eJ(!0);return Y&&(Y===W.template.element||W.mediaElement&&Y===W.mediaElement.Tn())?Y:null};\nI2=function(W,Y){var k;for(k=0;k2147483647?\"0\":String(W)};\nebv=function(W,Y,k){k=k===void 0?{}:k;var P=new Image,T=\"\"+R9$++;H$z[T]=P;P.onload=P.onerror=function(){Y&&H$z[T]&&Y();delete H$z[T]};\nk.scrubReferrer&&(P.referrerPolicy=\"no-referrer\");P.src=W};\nnhw=function(W,Y){if(!Y.videoData.K||W.U(\"html5_disable_performance_downgrade\"))return!1;Date.now()-W.G>6E4&&(W.K=0);W.K++;W.G=Date.now();if(W.K!==4)return!1;AYF(W,Y.videoData.K);return!0};\nRm0=function(W,Y,k,P){CC.call(this,W,{S:\"div\",j:\"ytp-ad-feedback-dialog-background\",B:[{S:\"div\",j:\"ytp-ad-feedback-dialog-container\",B:[{S:\"div\",j:\"ytp-ad-feedback-dialog-form\",D:{role:\"dialog\",tabindex:\"-1\"},B:[{S:\"div\",j:\"ytp-ad-feedback-dialog-title\",B:[{S:\"span\",v6:\"{{title}}\"}]},{S:\"span\",j:\"ytp-ad-info-dialog-feedback-options-title\",v6:\"{{reasonsTitle}}\"},{S:\"div\",j:\"ytp-ad-info-dialog-feedback-options\"},{S:\"div\",j:\"ytp-ad-feedback-dialog-confirm-container\",B:[{S:\"button\",j:\"ytp-ad-feedback-dialog-cancel-button\",\nv6:\"{{cancelLabel}}\"},{S:\"button\",j:\"ytp-ad-feedback-dialog-confirm-button\",v6:\"{{confirmLabel}}\"}]}]}]}]},\"ad-info-dialog\",Y,k,P);this.T=[];this.W=null;this.C=this.J5(\"ytp-ad-feedback-dialog-cancel-button\");this.N=this.J5(\"ytp-ad-feedback-dialog-confirm-button\");this.Kg=this.J5(\"ytp-ad-info-dialog-feedback-options\");this.TJ=this.J5(\"ytp-ad-feedback-dialog-title\");this.J=this.K=null;this.hide()};\npp1=function(W,Y){var k;return(k=Y.onEnter)==null?void 0:k.some(W.K)};\nGK$=function(W,Y,k,P,T){var I=xt(W.K.get(),k);I?(k=FH(W,fe(I),I,void 0,void 0,P),Y.hasOwnProperty(\"baseUrl\")?W.T.send(Y,k):W.J.send(Y,k,{},T)):EF(\"Trying to ping from an unknown layout\",void 0,void 0,{layoutId:k})};\ntb=function(W){try{return HQ(W())}catch(Y){return nk(Y)}};\nFg1=function(W){return g.v(function(Y){if(Y.W==1)return g.Ta(Y,2),g.L(Y,W,4);if(Y.W!=2)return g.Vi(Y,0);g.jh(Y);g.I_(Y)})};\nnL=function(W,Y){W.L=Y;var k,P;(P=(k=W.options).wwh)==null||P.call(k,Y)};\ncO2=function(W,Y,k,P,T){g.D.call(this);var I=this,X=jB(function(){return new IC(I.P6)});\ng.m(this,X);var h=jB(function(){return new XY(X,I.P6)});\ng.m(this,h);var B=jB(function(){return new SB});\ng.m(this,B);P=jB(function(){return new h2(W)});\ng.m(this,P);var O=jB(function(){return new Bg(X,h,I.P6)});\ng.m(this,O);var u=jB(function(){return new Oc});\ng.m(this,u);this.UR=jB(function(){return new Z0(T)});\ng.m(this,this.UR);this.CH=jB(function(){return new il(Y)});\ng.m(this,this.CH);this.wZ=jB(function(){return new Mx(Y)});\ng.m(this,this.wZ);this.JT=jB(function(){return new t2(Y)});\ng.m(this,this.JT);this.RI=jB(function(){return new qx(Y)});\ng.m(this,this.RI);this.P6=jB(function(){return new RC(Y)});\ng.m(this,this.P6);var Z=jB(function(){return new n7(I.P6)});\ng.m(this,Z);var M=jB(function(){return new p7(X,O,h,I.P6,Z,null,null,null,null)});\ng.m(this,M);this.qq=jB(function(){return new K7(Y,u,I.P6)});\ng.m(this,this.qq);var t=Ec({qq:this.qq,P6:this.P6,v5:Z}),q=t.context,G=t.E6;this.H7=t.H7;this.Cg=jB(function(){return new J2(Y,I.qq,I.P6)});\ng.m(this,this.Cg);this.i8=jB(function(){return new rA(I.Cg,Y,I.P6)});\ng.m(this,this.i8);this.sP=jB(function(){return new av(Y,B,I.i8,I.qq,I.H7,I.P6,G)});\ng.m(this,this.sP);this.Tr=new D0(P,M,k,this.P6,W,this.qq,this.Cg,this.CH);g.m(this,this.Tr);var E=new gA(Y,this.Tr,this.Cg,this.qq);this.Gj=jB(function(){return E});\nthis.mV=E;this.dV=new bl(P,O,this.wZ,this.Gj,q);g.m(this,this.dV);this.Cq=new cg(this.P6,P,O,M,this.qq,this.dV,k,this.JT);g.m(this,this.Cq);this.x7={vX:new Map,Pw:new Map,hL:new Map,Iu:new Map,RE:new Map};this.listeners=[];this.Za={Cq:this.Cq,tj:this.P6.get(),B6:this.UR.get(),J6:this.Cg.get(),Tr:this.Tr,x5:X.get(),HE:null,Lr:{z_:function(){}},\nZd:B.get(),AD:this.qq.get()}};\nLF6=function(){var W;return(W=g.GK(\"yt-player-audio-quality-setting\"))!=null?W:2};\nW3=function(W,Y,k){k=k===void 0?!1:k;W.eI=void 0;W.W=Y;g.m(W,Y);Y.UU=W.UU;Y.UA=W.UA;Y.gD=W.gD;Y.J9=W.J9;Y.Gn=W.Gn;W.RB&&(Y.N=new rV(W.RB));(W.G_()||g.Pq(W))&&W.N.push(\"webgl\");W.W.isLive||(W.isLivePlayback=!1);var P=Y.sourceUrl.split(\"/\");if(W.f1?P.indexOf(\"manifest_duration\")!==-1:P.indexOf(\"manifest_duration\")!=-1)W.Xv=Number(P[P.indexOf(\"manifest_duration\")+1]);if(Y.K||Y.isManifestless)Y.subscribe(\"clienttemp\",W.y5,W),k?Y.subscribe(\"refresh\",W.IG,W):Y.subscribe(\"cuepointsadded\",W.Vz,W);A4(Y)?W.y7=\n!0:j4=void 0;W.wD&&(Y.T=W.wD,Y.isLive=!0,W.isLivePlayback=!0);Y.isPremiere=W.isPremiere;Y.isLiveHeadPlayable=W.isLiveHeadPlayable};\nr1v=function(W,Y,k,P,T){var I,X,h;return g.v(function(B){if(B.W==1)return g.L(B,g.BP(),2);if(B.W!=3){I=B.K;if(!I)throw g.ks(\"rc\");return g.L(B,g.Og(I),3)}X=B.K;h=g.KQ(X,[\"media\"],{mode:\"readonly\",tag:\"IDB_TRANSACTION_TAG_LMRM\"},function(O){var u=\"\"+W+\"|\"+Y+\"|\"+k+\"|\"+String(P).padStart(10,\"0\");return O.objectStore(\"media\").get(u)});\nreturn T?B.return(h.then(function(O){if(O===void 0)throw Error(\"No data from indexDb\");return K1w(T,O)}).catch(function(O){throw new g.M6(\"Error while reading chunk: \"+O.name+\", \"+O.message);\n})):B.return(h)})};\nEh9=function(W,Y,k){Y=g.Ab(Y,function(P){return new QPV(P,k,P.id)});\nW.Y.Ri(\"onAdUxUpdate\",Y)};\nG87=function(W,Y){if(!W.isSeeking&&W.N!==Y&&!isNaN(W.L)){W.N=Y;var k=W.X?W.G:W.J.o7(Y);(k!==W.G||W.X)&&og5(W,k,Y)}};\npu=function(W,Y,k,P){this.flavor=W;this.keySystem=Y;this.K=k;this.experiments=P;this.W={};this.GJ=this.keySystemAccess=null;this.U2=this.n4=-1;this.S6=null;this.J=!!P&&P.Nq(\"edge_nonprefixed_eme\");P&&P.Nq(\"html5_enable_vp9_fairplay\")};\nyx=function(W,Y){if(W=ZT(W,Y))return g.z2(W)};\ng.Es=function(W){var Y=W.data.getUint8(W.dataOffset)?20:12;return W.data.getUint32(W.dataOffset+Y)};\nJNQ=function(W){switch(W){case \"abandon\":case \"unmuted_abandon\":return\"abandon\";case \"active_view_fully_viewable_audible_half_duration\":return\"fully_viewable_audible_half_duration_impression\";case \"active_view_measurable\":return\"measurable_impression\";case \"active_view_viewable\":return\"viewable_impression\";case \"audio_audible\":return\"audio_audible\";case \"audio_measurable\":return\"audio_measurable\";case \"complete\":case \"unmuted_complete\":return\"complete\";case \"end_fullscreen\":case \"unmuted_end_fullscreen\":return\"exitfullscreen\";\ncase \"first_quartile\":case \"unmuted_first_quartile\":return\"firstquartile\";case \"fullscreen\":case \"unmuted_fullscreen\":return\"fullscreen\";case \"impression\":case \"unmuted_impression\":return\"impression\";case \"midpoint\":case \"unmuted_midpoint\":return\"midpoint\";case \"mute\":case \"unmuted_mute\":return\"mute\";case \"pause\":case \"unmuted_pause\":return\"pause\";case \"progress\":case \"unmuted_progress\":return\"progress\";case \"resume\":case \"unmuted_resume\":return\"resume\";case \"swipe\":case \"skip\":case \"unmuted_skip\":return\"skip\";\ncase \"start\":case \"unmuted_start\":return\"start\";case \"third_quartile\":case \"unmuted_third_quartile\":return\"thirdquartile\";case \"unmute\":case \"unmuted_unmute\":return\"unmute\";default:return null}};\nwVd=function(W){function Y(P){return R8(sj1(W.eL),function(T){return T.xu(P)})}\nW.C1.tick(\"wasm_s\");var k=LHv(W.webPlayerContextConfig.wasmModuleUrl,ms(W.eL)?Y:void 0,W.TP.bind(W));k==null||R8(k,function(P){W.C1.tick(P.W?\"wasm_fa\":\"wasm_fw\")},function(){W.C1.tick(\"wasm_ferr\")});\nL_6(W.zJ,k)};\nXI=function(){var W=g.o3(\"yt.player.utils.videoElement_\");W||(W=g.sF(\"VIDEO\"),g.qa(\"yt.player.utils.videoElement_\",W));return W};\nfg=function(W){var Y=g.N_(W.C);g.hv(Y,function(k){k.WS(W.W)});\nW.W!=W||LmS(W)};\nJaq=function(){var W=g.o3(\"ytcsi.reference\");if(W)return W;Et();return g.o3(\"ytcsi.reference\")};\nuE=function(W){if(/opus/.test(W)&&g.sr&&!UX(\"38\")&&!g.xQ())return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(W);if(window.ManagedMediaSource&&window.ManagedMediaSource.isTypeSupported)return window.ManagedMediaSource.isTypeSupported(W);if(/webm/.test(W)&&!WLv())return!1;W==='audio/mp4; codecs=\"mp4a.40.2\"'&&(W='video/mp4; codecs=\"avc1.4d401f\"');return!!Bi(W)};\nTsC=function(W,Y){gH(W,1,Y.videoId);Uh(W,2,Y.lmt)};\nQG=function(W){sE.call(this,W);var Y=this;this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"standardControlsInitialized\",function(){Y.createButton()});\ng.ad(this.api.V())&&(this.U(\"web_watch_pip\")||this.U(\"web_shorts_pip\"))&&D4(this.api,\"setDocumentPictureInPicture\",function(k){Y.setDocumentPictureInPicture(k)})};\neo=function(){g.D.call(this);this.W=new Iw(5,null);g.m(this,this.W);this.K=new Iw(15,null);g.m(this,this.K)};\nrNQ=function(W,Y){W.zJ.U(\"html5_log_rebuffer_reason\")&&(Y={r:Y,lact:Ud()},W.mediaElement&&(Y.bh=QX(W.mediaElement)),W.y5(\"bufreason\",Y))};\nKIX=function(W,Y){var k=Math.max(W,Y);W=Math.min(W,Y);Y=wb[0];for(var P=0;P=Math.floor(I*16/9)*1.3||W>=I*1.3)return Y;Y=T}return\"tiny\"};\nu6V=function(W,Y){var k,P=(k=W.T)==null?void 0:k.info.video.qualityOrdinal;return W.wD?!0:W.T?Y!==P?!0:!W.W.K||W.l7.zg&&W.W.W===W.T.info.itag?!1:!0:!1};\nW5=function(W){this.value=W};\nqF=function(W,Y,k){W[Y]=k.xx};\nTV7=function(W){sE.call(this,W);D4(W,\"isEmbedsShortsMode\",function(){return W.isEmbedsShortsMode()})};\nj6=function(W){W.T=void 0;W.K=0;W.J=0};\nDm=function(W,Y,k){if(W.zJ.experiments.Nq(\"html5_disable_client_autonav_cap_for_onesie\")&&Y.fetchType===\"onesie\"||g.l_(W.zJ)&&(oi(-1)>=1080||Y.osid))return Tx;var P=g.je(W.zJ.experiments,\"html5_autonav_quality_cap\"),T=g.je(W.zJ.experiments,\"html5_autonav_cap_idle_secs\");return P&&Y.isAutonav&&Ud()/1E3>T?(k&&(P=hOC(W,k,P)),new xn(0,P,!1,\"e\")):Tx};\nVU=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M){Qy.call(this,I,W,Y,T);this.sP=k;this.T=X;this.L=h;this.Cg=B;this.UR=O;this.P6=u;this.X=Z;this.C=M;this.dD=vxF(Y,k)};\nANj=function(W,Y){if(!W||!W.state||Y>5||Y<0)return W?Is(W,-2):-2;var k=W.state;if(!W.output||!W.input&&W.tf!==0||k.status===666&&Y!==4)return Is(W,W.Lq===0?-5:-2);k.kh=W;var P=k.IP;k.IP=Y;if(k.status===42)if(k.wrap===2)W.g5=0,mi(k,31),mi(k,139),mi(k,8),k.JY?(mi(k,(k.JY.text?1:0)+(k.JY.Gc?2:0)+(k.JY.extra?4:0)+(k.JY.name?8:0)+(k.JY.comment?16:0)),mi(k,k.JY.time&255),mi(k,k.JY.time>>8&255),mi(k,k.JY.time>>16&255),mi(k,k.JY.time>>24&255),mi(k,k.level===9?2:k.strategy>=2||k.level<2?4:0),mi(k,k.JY.os&\n255),k.JY.extra&&k.JY.extra.length&&(mi(k,k.JY.extra.length&255),mi(k,k.JY.extra.length>>8&255)),k.JY.Gc&&(W.g5=LD(W.g5,k.OE,k.pending,0)),k.BV=0,k.status=69):(mi(k,0),mi(k,0),mi(k,0),mi(k,0),mi(k,0),mi(k,k.level===9?2:k.strategy>=2||k.level<2?4:0),mi(k,3),k.status=113);else{var T=8+(k.Qe-8<<4)<<8;T|=(k.strategy>=2||k.level<2?0:k.level<6?1:k.level===6?2:3)<<6;k.Sr!==0&&(T|=32);k.status=113;JT(k,T+(31-T%31));k.Sr!==0&&(JT(k,W.g5>>>16),JT(k,W.g5&65535));W.g5=1}if(k.status===69)if(k.JY.extra){for(T=\nk.pending;k.BV<(k.JY.extra.length&65535)&&(k.pending!==k.BH||(k.JY.Gc&&k.pending>T&&(W.g5=LD(W.g5,k.OE,k.pending-T,T)),wR(W),T=k.pending,k.pending!==k.BH));)mi(k,k.JY.extra[k.BV]&255),k.BV++;k.JY.Gc&&k.pending>T&&(W.g5=LD(W.g5,k.OE,k.pending-T,T));k.BV===k.JY.extra.length&&(k.BV=0,k.status=73)}else k.status=73;if(k.status===73)if(k.JY.name){T=k.pending;do{if(k.pending===k.BH&&(k.JY.Gc&&k.pending>T&&(W.g5=LD(W.g5,k.OE,k.pending-T,T)),wR(W),T=k.pending,k.pending===k.BH)){var I=1;break}I=k.BVT&&(W.g5=LD(W.g5,k.OE,k.pending-T,T));I===0&&(k.BV=0,k.status=91)}else k.status=91;if(k.status===91)if(k.JY.comment){T=k.pending;do{if(k.pending===k.BH&&(k.JY.Gc&&k.pending>T&&(W.g5=LD(W.g5,k.OE,k.pending-T,T)),wR(W),T=k.pending,k.pending===k.BH)){I=1;break}I=k.BVT&&(W.g5=LD(W.g5,k.OE,k.pending-T,T));I===0&&(k.status=103)}else k.status=\n103;k.status===103&&(k.JY.Gc?(k.pending+2>k.BH&&wR(W),k.pending+2<=k.BH&&(mi(k,W.g5&255),mi(k,W.g5>>8&255),W.g5=0,k.status=113)):k.status=113);if(k.pending!==0){if(wR(W),W.Lq===0)return k.IP=-1,0}else if(W.tf===0&&(Y<<1)-(Y>4?9:0)<=(P<<1)-(P>4?9:0)&&Y!==4)return Is(W,-5);if(k.status===666&&W.tf!==0)return Is(W,-5);if(W.tf!==0||k.B7!==0||Y!==0&&k.status!==666){P=k.strategy===2?sM5(k,Y):k.strategy===3?Dj5(k,Y):g5[k.level].func(k,Y);if(P===3||P===4)k.status=666;if(P===1||P===3)return W.Lq===0&&(k.IP=\n-1),0;if(P===2&&(Y===1?(LR(k,2,3),CR(k,256,d5),k.jS===16?(is(k,k.Or),k.Or=0,k.jS=0):k.jS>=8&&(k.OE[k.pending++]=k.Or&255,k.Or>>=8,k.jS-=8)):Y!==5&&(LR(k,0,3),Bb7(k,0,0),Y===3&&(Vk(k.head),k.B7===0&&(k.Sr=0,k.U3=0,k.b_=0))),wR(W),W.Lq===0))return k.IP=-1,0}if(Y!==4)return 0;if(k.wrap<=0)return 1;k.wrap===2?(mi(k,W.g5&255),mi(k,W.g5>>8&255),mi(k,W.g5>>16&255),mi(k,W.g5>>24&255),mi(k,W.YP&255),mi(k,W.YP>>8&255),mi(k,W.YP>>16&255),mi(k,W.YP>>24&255)):(JT(k,W.g5>>>16),JT(k,W.g5&65535));wR(W);k.wrap>0&&\n(k.wrap=-k.wrap);return k.pending!==0?0:1};\nVt=function(W){W.K=NaN;W.X=NaN;W.GJ=NaN;W.T=null;W.wD=null;W.C=null;W.TJ=!1;W.Kg=!1;W.V5=0;W.UP.stop();W.rD.stop()};\nz9z=function(W){var Y=0,k=0,P=0,T=W.K,I=W.W;do{var X=T[I++];Y|=(X&127)<32)for(k|=(X&127)>>4,P=3;P<32&&X&128;P+=7)X=T[I++],k|=(X&127)<>>0,k>>>0);throw Error();};\nMi=function(W,Y){Y={current:Y/1E3,duration:W.bC()/1E3};W.RI.get().ou(\"onAdPlaybackProgress\",Y)};\ndc$=function(W,Y,k,P){var T=Xrd(Kj,k);T!==null&&T.Pl!==Y&&(W.Bm(T),T=null);T||(Y=W.dJ(k,S9(),!1,Y),Kj.K.length==0&&(fZ().J=79463069),Xyz([Y]),T=Y,T.T=Vp(W),P&&(T.rD=P));return T};\ng.M_=function(W){this.tag=W};\nqx=function(W){this.Y=W};\nqU=function(){var W=Zt()&&!UX(29),Y=g.fF(\"google tv\")&&g.fF(\"chrome\")&&!UX(30);return W||Y?!1:SPS()};\ng.mcB=function(W,Y){return W.xf+\"timedtext_video?ref=player&v=\"+Y.videoId};\ng.T_=function(W,Y,k){return W.app.V().AC?Y:g.Vq(\"$DESCRIPTION ($SHORTCUT)\",{DESCRIPTION:Y,SHORTCUT:k})};\nyDC=function(W,Y,k,P){g.D.call(this);var T=this;this.api=W;this.zJ=Y;this.W=k;this.app=P;this.C=new Map;this.K=[];this.J=this.G=null;this.A5=NaN;this.X=this.T=this.N=null;this.L=new g.fC(function(){Kxz(T,T.A5,T.N||void 0)});\nthis.Kg=[];this.wD=new g.fC(function(){var I=T.Kg.pop();if(I){var X=I.U1,h=I.playerVars;I=I.playerType;h&&(h.prefer_gapless=!0,T.api.preloadVideoByPlayerVars(h,I,NaN,\"\",X),T.Kg.length&&g.Iv(T.wD,4500))}});\nthis.events=new g.x5(this);this.zW={Ffi:function(){return T.K}};\nthis.W.getPlayerType();g.m(this,this.L);g.m(this,this.wD);g.m(this,this.events);this.events.Z(this.api,g.OQ(\"childplayback\"),this.onCueRangeEnter);this.events.Z(this.api,\"onQueuedVideoLoaded\",this.onQueuedVideoLoaded);this.events.Z(this.api,\"presentingplayerstatechange\",this.OA)};\n$V=function(W,Y){var k=this;this.EP=W;this.T=this.W=null;this.C=this.Cs=NaN;this.W4=this.requestId=null;this.zW={PZr:function(){return k.range}};\nthis.ob=W[0].W.ob;this.K=Y||\"\";this.EP[0].range&&this.EP[0].J>0&&(QKF(W)?(this.range=m6K(W),this.J=this.range.length):(this.range=this.EP[this.EP.length-1].range,this.J=Id5(W)))};\nDb=function(W,Y,k){g.tR.call(this);this.videoData=W;this.experiments=Y;this.C=k;this.K=[];this.v$=0;this.J=!0;this.T=!1;this.X=0;k=new BN1;W.latencyClass===\"ULTRALOW\"&&(k.X=!1);W.e1?k.J=3:g.zx(W)&&(k.J=2);W.latencyClass===\"NORMAL\"&&(k.C=!0);k.A5=w9(W)&&Y.Nq(\"html5_refactor_decouple_liveness\");g.je(Y,\"html5_low_latency_adaptive_liveness_adjustment_segments\")===0&&g.je(Y,\"html5_low_latency_max_allowable_liveness_drift_chunks\")===0||W.latencyClass!==\"LOW\"&&W.latencyClass!==\"ULTRALOW\"||(k.C=!0);var P=\ng.je(Y,\"html5_liveness_drift_proxima_override\");if(RD(W)!==0&&P){k.W=P;var T;((T=W.W)==null?0:yXS(T))&&k.W--}w9(W)&&Y.Nq(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&(k.Kg=!0);if(g.fF(\"trident/\")||g.fF(\"edge/\"))T=g.je(Y,\"html5_platform_minimum_readahead_seconds\")||3,k.T=Math.max(k.T,T);g.je(Y,\"html5_minimum_readahead_seconds\")&&(k.T=g.je(Y,\"html5_minimum_readahead_seconds\"));g.je(Y,\"html5_maximum_readahead_seconds\")&&(k.N=g.je(Y,\"html5_maximum_readahead_seconds\"));Y.Nq(\"html5_force_adaptive_readahead\")&&\n(k.X=!0);if(T=g.je(Y,\"html5_liveness_drift_chunk_override\"))k.W=T;mH(W)&&(k.W=(k.W+1)/5,W.latencyClass===\"LOW\"&&(k.W*=2));!w9(W)||W.latencyClass!==\"ULTRALOW\"&&W.latencyClass!==\"LOW\"||(k.L=g.je(Y,\"html5_low_latency_adaptive_liveness_adjustment_segments\")||1,k.G=g.je(Y,\"html5_low_latency_max_allowable_liveness_drift_chunks\")||10);this.policy=k;this.G=this.policy.J!==1;this.W=xZ(this,j2d(this,isNaN(W.liveChunkReadahead)?3:W.liveChunkReadahead,W))};\nNod=function(W){var Y=new MoS(W.W.RI);g.m(W,Y);W=[new wX(W.W.sP),new bW(W.W.Y),new G_(W.W.sP),new yr(W.W.Zd,W.W.Lr),new jdQ,new F$(W.W.AD,W.W.tj,W.W.sP),new II1,new TNd];W=g.e(W);for(var k=W.next();!k.done;k=W.next())MN6(Y,k.value);W=g.e([\"adInfoDialogEndpoint\",\"adFeedbackEndpoint\"]);for(k=W.next();!k.done;k=W.next())tS(Y,k.value,function(){});\nreturn Y};\nrA=function(W,Y,k){this.Cg=W;this.Y=Y;this.P6=k;this.K=new Set;this.W=new Map;NK().subscribe(\"adactiveviewmeasurable\",this.qm,this);NK().subscribe(\"adfullyviewableaudiblehalfdurationimpression\",this.Hb,this);NK().subscribe(\"adviewableimpression\",this.GZ,this);NK().subscribe(\"adaudioaudible\",this.XY,this);NK().subscribe(\"adaudiomeasurable\",this.FY,this)};\ndT=function(W,Y,k){g.D.call(this);this.loader=W;this.policy=Y;this.Sj=k;this.K=0;this.W=!1;this.delay=new g.fC(this.J,this.policy.Cn,this);g.m(this,this.delay)};\nDcc=function(W,Y){var k;if(((k=W.u8)==null?void 0:k.type)===\"repeatChapter\"||(Y==null?void 0:Y.type)===\"repeatChapter\")Y&&(Y=W.W[OJ(W.W,Y.startTimeMs)],g.ML(Y.W,\"ytp-repeating-chapter\",!1)),W.u8&&(Y=W.W[OJ(W.W,W.u8.startTimeMs)],g.ML(Y.W,\"ytp-repeating-chapter\",!0)),W.W.forEach(function(P){g.ML(P.W,\"ytp-exp-chapter-hover-container\",!W.u8)})};\nQqS=function(W,Y){if(W instanceof B9)return W.h5;if(Array.isArray(W))return Cv(W,Y,!1)};\ns7=function(W,Y,k){var P=P===void 0?fu:P;var T=kLd(W,Y);return T?new g.JL(function(I,X){var h,B,O,u,Z;return g.v(function(M){switch(M.W){case 1:return g.L(M,T,2);case 2:h=M.K;B=h.C(Y,k,P);if(!B){X(new g.M6(\"Error: Failed to build request for command.\",Y));M.oi(0);break}Oq(B.input);u=((O=B.sM)==null?void 0:O.mode)===\"cors\"?\"cors\":void 0;if(W.W.eJ){Z=y$0(W,B.config,u);M.oi(4);break}return g.L(M,iA2(W,B.config,u),5);case 5:Z=M.K;case 4:I(ZYd(W,B,Z)),g.I_(M)}})}):m5(new g.M6(\"Error: No request builder found for command.\",\nY))};\nMcd=function(W,Y,k,P,T){var I=W[Y];if(I==null||!I[k])return W;P=g.Y7(I[k],P,T===\"REPEATED_FIELDS_MERGE_OPTION_APPEND\");T={};I={};return Object.assign({},W,(I[Y]=Object.assign({},W[Y],(T[k]=P,T)),I))};\nNp=function(W,Y,k){if(Y&2)throw Error();var P=uq(Y),T=PP(W,k,P),I=T===Pl?7:T[a_]|0,X=T4(I,Y);if(2&X||Te(X)||16&X)T=j9(T),I=0,X=I3(X,Y),$a(W,Y,k,T,P);X&=-13;X!==I&&XX(T,X);return T};\nN2V=function(W,Y){W.L=Y;W.J&&(W.J.J=Y);W.L.fv(W.videoTrack.W.info.pN());W.C.K=W.L;W.policy.K&&(W.K.L=W.L)};\nJx1=function(W){var Y=Y===void 0?!1:Y;return nR(pR(W,ghp),W,Y,\"Drm Licensor URL\")};\nUX=function(W){return g.Ic(F1K,W)>=0};\nWe=function(W){var Y=g.R(W.renderingContent,c4);if(Y==null?0:Y.pings)return t4(Y.pings);W=g.R(W.renderingContent,lo);return(W==null?0:W.skipPings)?new Map([[\"skip\",W.skipPings]]):new Map};\nC$=function(W){return g.o3(\"ytcsi.\"+(W||\"\")+\"data_\")||a32(W)};\ndQd=function(W,Y){for(var k=W.W.length,P=0,T=g.e(W.W),I=T.next();!I.done;I=T.next())if(I=I.value,I.width!==0)if(Y>I.width)Y-=I.width,Y-=Vc(W),P++;else break;return P===k?k-1:P};\nwpc=function(W){var Y=g.Ke(W,0,1937011556);if(!Y)return null;var k=W.getUint32(Y.dataOffset+12);if(k!==1701733217&&k!==1701733238)return null;Y=QR(W,Y.offset+24+(k===1701733217?28:78),1936289382);if(!Y)return null;k=QR(W,Y.offset+8,1935894637);if(!k||W.getUint32(k.offset+12)!==1667392371)return null;Y=QR(W,Y.offset+8,1935894633);if(!Y)return null;Y=QR(W,Y.offset+8,1952804451);if(!Y)return null;k=new Uint8Array(16);for(var P=0;P<16;P++)k[P]=W.getInt8(Y.offset+16+P);return k};\ng.Ke=function(W,Y,k){for(;FP(W,Y);){var P=ww(W,Y);if(P.type===k)return P;Y=Ct(P.type)?Y+8:Y+P.size}return null};\naM=function(W,Y,k,P,T,I){T=T===void 0?!1:T;I=I===void 0?!1:I;sJ.call(this,\"ad-action-interstitial\",W,Y,k,P);this.interactionLoggingClientData=P;this.rh=T;this.aF=I};\nEl=function(W,Y,k){for(var P=W.length,T=typeof W===\"string\"?W.split(\"\"):W,I=0;I0)if(k.info.t5===W.T.t5&&k.info.K=0&&W.T.t5>=0&&!Rl(W.T,k.info))throw new g.M6(\"improper_continuation\",W.T.TW(),k.info.TW());BoC(W.T,k.info)||V_(W,\"d\")}else if(k.info.K>0)throw new g.M6(\"continuation_of_null\",k.info.TW());W.T=k.info;W.C=k.info.W;if(k.info.K===0){if(W.W)if(!W.loader.isOffline()||W.policy.v4)W.loader.y5(\"slice_not_fully_processed\",\n{buffered:W.W.info.TW(),push:k.info.TW()});else throw new g.M6(\"slice_not_fully_processed\",W.W.info.TW(),k.info.TW());UT(W);W.UP=P}else{if(W.UP&&P&&W.UP!==P)throw W=new g.M6(\"lmt_mismatch\",k.info.t5,W.UP,P),W.level=\"WARNING\",W;!k.info.W.xk()&&W.X&&(P=k.info,T=W.X.bv,P.G=\"updateWithEmsg\",P.t5=T)}if(W.W){P=g.lB(W.W,k);if(!P)throw new g.M6(\"failed_to_merge\",W.W.info.TW(),k.info.TW());W.W=P}else W.W=k;a:{k=g.MK(W.W.info.W.info);if(W.W.info.type!==3){if(!W.W.info.T)break a;W.W.info.type===6?YNd(W,Y,W.W):\nx40(W,W.W);W.W=null}for(;W.W;){P=W.W.K.totalLength;if(W.wD<=0&&W.N===0){var I=W.W.K,X=-1;T=-1;if(k){for(var h=0;h+80))break;if(Z!==408125543)if(Z===524531317)h=!0,u>=0&&(T=I.X7()+u,B=!0);else{if(h&&(Z===160||Z===163)&&(X<0&&(X=O),B))break;Z===163&&(X=Math.max(0,X),T=I.X7()+u);if(Z===160){X<0&&(T=X=I.X7()+\nu);break}I.skip(u)}}X<0&&(T=-1)}if(X<0)break;W.wD=X;W.N=T-X}if(W.wD>P)break;W.wD?(P=XfV(W,W.wD),P.C&&kO6(W,P),YNd(W,Y,P),bB(W,P),W.wD=0):W.N&&(P=XfV(W,W.N<0?Infinity:W.N),W.N-=P.K.totalLength,bB(W,P))}}W.W&&W.W.info.T&&(bB(W,W.W),W.W=null)};\nc01=function(){};\ntf6=function(W){XJ.call(this,W.message||W.description||W.name);this.isMissing=W instanceof N5;this.isTimeout=W instanceof dl&&W.errorCode==\"net.timeout\";this.isCanceled=W instanceof FT};\nxqq=function(){var W={values:{},XO:{}};try{var Y=JSON.parse(JSON.parse(window.localStorage[\"yt-player-memory\"]).data);W.values=Y.values;W.halfLives=Y.halfLives}catch(k){}return W};\ng.u9=function(W){var Y=g.Fx(),k=Y.client||{};if(W.forcedExperiments){var P=W.forcedExperiments.split(\",\"),T=[];P=g.e(P);for(var I=P.next();!I.done;I=P.next())T.push(Number(I.value));k.experimentIds=T}if(T=W.homeGroupInfo)k.homeGroupInfo=JSON.parse(T);if(T=W.getPlayerType())k.playerType=T;if(T=W.W.ctheme)k.theme=T;if(T=W.livingRoomAppMode)k.tvAppInfo=Object.assign({},k.tvAppInfo,{livingRoomAppMode:T});T=W.deviceYear;W.U(\"html5_propagate_device_year\")&&T&&(k.tvAppInfo=Object.assign({},k.tvAppInfo,{deviceYear:T}));\nif(T=W.livingRoomPoTokenId)k.tvAppInfo=Object.assign({},k.tvAppInfo,{livingRoomPoTokenId:T});Y.client=k;k=Y.user||{};W.enableSafetyMode&&(k=Object.assign({},k,{enableSafetyMode:!0}));W.pageId&&(k=Object.assign({},k,{onBehalfOfUser:W.pageId}));Y.user=k;k=W.D_;W.U(\"embeds_web_enable_iframe_api_send_full_embed_url\")||W.U(\"embeds_web_enable_rcat_validation_in_havs\")||W.U(\"embeds_enable_autoplay_and_visibility_signals\")||!k||(Y.thirdParty={embedUrl:k});return Y};\nV$=function(W){W=(W.sequentialLayouts||[]).map(function(Y){return g.R(Y,j6F)});\nreturn W.length>0&&W.every(a2)};\ng.c=function(W){g.ml.call(this,W);this.v7=!0;this.L=!1;this.listeners=[]};\nls=function(W,Y,k,P,T,I,X){CC.call(this,W,Y,k,P,T,I);this.W=X;g.m(this,this.W);this.Fr=this.N=-1};\n$cQ=function(W){W.J.read().then(W.L,W.onError).then(void 0,c6)};\nWo=function(W,Y){Y===W.QR&&(W.QR=void 0)};\nUh=function(W,Y,k){k!==void 0&&(oL(W,Y*8),oL(W,k))};\nT6X=function(W){W=Vw(W);var Y=[];g.E2(W,function(k,P){P in Object.prototype||typeof k!=\"undefined\"&&Y.push([P,\":\",k].join(\"\"))});\nreturn Y};\nyNw=function(W){return{targetAudioReadaheadMs:Qx(W,1),targetVideoReadaheadMs:Qx(W,2),backoffTimeMs:Qx(W,4),playbackCookie:ZT(W,7),videoId:yx(W,8)}};\nK1w=function(W,Y){var k;return g.v(function(P){if(P.W==1){if(!Y)return P.return(Y);k=new g.iA(W.K);return g.L(P,k.decrypt(Y,W.W),2)}return P.return(P.K)})};\ncK=function(){g.tR.call(this);this.items={}};\nX2=function(W){W=C$(W);if(W.gel){var Y=W.gel;Y.gelInfos||(Y.gelInfos={});Y.gelTicks||(Y.gelTicks={})}else W.gel={gelTicks:{},gelInfos:{}};return W.gel};\nvy=function(W,Y,k){Y=Y===void 0?!1:Y;k=k===void 0?1048576:k;var P=io(W);P=1/((W.G.le()||0)*W.policy.A5+1/P);var T=W.OP.le();T=T>0?T:1;var I=Math.max(P,T);W.policy.C>0&&T=0?W.U3:-1,P=W.Sr-W.U3,T=0;if(W.level>0){W.kh.GA===2&&(W.kh.GA=ty5(W));JP(W,W.Fz);JP(W,W.Dq);ted(W,W.Uq,W.Fz.VK);ted(W,W.PA,W.Dq.VK);JP(W,W.IX);for(T=18;T>=3&&W.EA[CQj[T]*2+1]===0;T--);W.zU+=3*(T+1)+5+5+4;var I=W.zU+3+7>>>3;var X=W.Nf+3+7>>>3;X<=I&&(I=X)}else I=X=P+5;if(P+4<=I&&k!==-1)LR(W,Y?1:0,3),Bb7(W,k,P);else if(W.strategy===4||X===I)LR(W,2+(Y?1:0),3),uRv(W,d5,mN);else{LR(W,4+(Y?1:0),3);k=W.Fz.VK+1;P=W.Dq.VK+1;T+=1;LR(W,k-257,5);LR(W,P-1,5);LR(W,T-4,4);for(I=0;I=Y&&M4(k,!0)>=Y}else k.J.length||P.J.length?(T=k.W.info.c6+P.W.info.c6,T=10*(1-rr(Y)/T),Y=\nMath.max(T,Y.policy.Ka),k=M4(P,!0)>=Y&&M4(k,!0)>=Y):k=!0;if(!k)return\"abr\";k=W.videoTrack;if(k.J.length>0&&k.T.K.length===1&&lE1(k.T).info.L360);P=AK(W.policy)&&W.policy.xF;if(!W.y0||!P&&k)return\"\";k=W.policy.yL;AK(W.policy)&&(k=zB(W.N,W.y0,rr(W.N)));k=MXV(W.videoTrack,W.getCurrentTime(),k)||MXV(W.audioTrack,W.getCurrentTime(),\nk);return AK(W.policy)?k?\"mbnm\":\"\":(W.videoTrack.J.length>0||W.audioTrack.J.length>0||Z$(W.C,W.videoTrack,W.audioTrack)||Z$(W.C,W.audioTrack,W.videoTrack))&&k?\"nord\":\"\"};\nk9=function(W,Y,k){Y.Iy().currentState>=2||(Y.ej(Y.Z2(),k),Sk(Y.Iy())&&(ot(W.wU,W.slot,Y.Z2(),k),W.F5=void 0))};\nXk1=function(W,Y){var k=[];Y=g.e(Y);for(var P=Y.next();!P.done;P=Y.next()){P=P.value;var T=b$j[P]||0;W.W&&T>W.W||k.push(P)}return k};\nYm=function(W){this.W=W||g.hL.document||document};\nhEV=function(W,Y){W.rateLimit?W.W?(g.yi.Ca(W.T),W.T=g.yi.r_(function(){W.J!==Y&&(W.dispatchEvent(Y),W.J=Y,W.W=(0,g.lj)())},W.rateLimit-((0,g.lj)()-W.W))):(W.dispatchEvent(Y),W.J=Y,W.W=(0,g.lj)()):W.dispatchEvent(Y)};\npH=function(W,Y,k){Y=Y===void 0?\",\":Y;k=k===void 0?W?W.length:0:k;var P=[];if(W)for(k=Math.max(W.length-k,0);k0});\nfor(var T=0,I=0,X=0,h=/^(\\d+)/,B=/r=(\\d+)/,O=0;O/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\");return tU(W)};\nE$=function(W,Y){W.url=Y;window.performance&&!performance.onresourcetimingbufferfull&&(performance.onresourcetimingbufferfull=function(){performance.clearResourceTimings()})};\nz85=function(W){switch(W){case \"LAYOUT_TYPE_ENDCAP\":return\"adVideoEnd\";case \"LAYOUT_TYPE_SURVEY\":return\"surveyAd\";case \"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT\":return\"surveyInterstitialAd\";default:return\"unknown\"}};\n$P=function(W){g.bF.call(this,W,\"ytp-shopping-product-menu\");this.iD=new g.Lj(this.Y);g.m(this,this.iD);this.hide();g.bj(this,this.iD);g.Fw(this.Y,this.element,4)};\nVw9=function(W,Y,k,P,T,I){CC.call(this,W,{S:\"div\",j:\"ytp-ad-action-interstitial\",D:{tabindex:\"0\"},B:[{S:\"div\",j:\"ytp-ad-action-interstitial-background-container\"},{S:\"div\",j:\"ytp-ad-action-interstitial-slot\",B:[{S:\"div\",j:\"ytp-ad-action-interstitial-instream-info\"},{S:\"div\",j:\"ytp-ad-action-interstitial-card\",B:[{S:\"div\",j:\"ytp-ad-action-interstitial-image-container\"},{S:\"div\",j:\"ytp-ad-action-interstitial-headline-container\"},{S:\"div\",j:\"ytp-ad-action-interstitial-description-container\"},{S:\"div\",\nj:\"ytp-ad-action-interstitial-action-button-container\"}]}]}]},\"ad-action-interstitial\",Y,k,P);this.rh=T;this.aF=I;this.navigationEndpoint=this.W=this.skipButton=this.K=this.actionButton=null;this.Fr=this.J5(\"ytp-ad-action-interstitial-instream-info\");this.UP=this.J5(\"ytp-ad-action-interstitial-image-container\");this.N=new e5(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\"ytp-ad-action-interstitial-image\");g.m(this,this.N);this.N.S1(this.UP);this.TJ=this.J5(\"ytp-ad-action-interstitial-headline-container\");\nthis.C=new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\"ytp-ad-action-interstitial-headline\");g.m(this,this.C);this.C.S1(this.TJ);this.Kg=this.J5(\"ytp-ad-action-interstitial-description-container\");this.J=new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\"ytp-ad-action-interstitial-description\");g.m(this,this.J);this.J.S1(this.Kg);this.bz=this.J5(\"ytp-ad-action-interstitial-background-container\");this.GJ=new e5(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.B6,\"ytp-ad-action-interstitial-background\",!0);g.m(this,this.GJ);this.GJ.S1(this.bz);this.Q5=this.J5(\"ytp-ad-action-interstitial-action-button-container\");this.slot=this.J5(\"ytp-ad-action-interstitial-slot\");this.Qt=this.J5(\"ytp-ad-action-interstitial-card\");this.T=new EQ;g.m(this,this.T);this.hide()};\nXo1=function(W){return W.localStorage===void 0?new Yk(\"yt-client-location\"):W.localStorage};\nNBz=function(W,Y){if(Y=Y.find(function(k){return!(!k||!k.tooltipRenderer)}))W.tooltipRenderer=Y.tooltipRenderer};\nHO=function(W,Y,k){this.J=W;this.Fr=k===void 0?\"na\":k;this.C=[];this.isInitialized=!1;this.T=new g3(-1,!0,this);this.W=this;this.L=Y;this.A5=this.N=!1;this.TJ=\"uk\";this.gD=!1;this.X=!0};\noW=function(W){g.D.call(this);var Y=this;this.app=W;this.X=this.K=this.W=null;this.L=!1;this.J=this.T=null;this.C=mD7(this.app.V());this.G=function(){g.Vf(function(){SS7(Y)})}};\nacj=function(W){var Y,k;return!!((Y=W.playerResponse)==null?0:(k=Y.playerConfig)==null?0:k.granularVariableSpeedConfig)};\nrG5=function(W){if(W.N){var Y;if((Y=W.videoData.YF)==null?0:Y.d4)W.N=!1;else if(g.zx(W.videoData))W.N=!1;else{Y=\"ss\";var k=0,P;((P=W.videoData.W)==null?0:P.isManifestless)&&W.videoData.K1&&!rk(W)&&(Y=\"mss\",k=W.videoData.K1);(W.videoData.wD?W.U(\"html5_prioritize_windowed_st_start_seconds\"):W.U(\"html5_prioritize_st_start_seconds\"))&&!k&&W.videoData.rZ&&(Y=\"stss\",k=W.videoData.rZ);!k&&CFp(W)&&(k=W.videoData.liveUtcStartSeconds||W.videoData.K1,Y=\"utc\",k=W.M6()-W.hT(W.M6())+k);!k&&W.videoData.t9()&&W.videoData.rZ&&\n(Y=\"stss\",k=W.videoData.rZ);P={};if(k){if(k>W.M6()||k0))){var k=Ja(W);k=wK0(W.policy.T,W.W.info,gb(W),k,W.policy.e1);F31(W,k)}if(Y.info.type===1){if(W.Ma){nq(W,Error(\"Woffle: Expect INIT slices to always start us off\"));return}W.initRange=Y0(0,Y.K.totalLength)}else if(Y.info.type===2)W.Ma&&W.Ma.type===1||nq(W,Error(\"Woffle: Index before init\")),W.indexRange=Y0(W.initRange.end+1,Y.K.totalLength);else if(Y.info.type===3){if(!W.Ma){nq(W,Error(\"Woffle: Expect MEDIA slices to always have lastSlice\"));\nreturn}if(W.Ma.type===3&&!Rl(W.Ma,Y.info)&&(W.N=[],Y.info.t5!==j$F(W.Ma)||Y.info.K!==0))return;if(Y.info.T){k=g.e(W.N);for(var P=k.next();!P.done;P=k.next())ZCK(W,P.value);W.N=[]}else{W.N.push(Y);W.Ma=Y.info;return}}else{nq(W,Error(\"Woffle: Unexpected slice type\"));return}W.Ma=Y.info;ZCK(W,Y);YxB(W)}};\nb3S=function(W,Y,k,P,T){g.D.call(this);var I=this,X=jB(function(){return new IC(I.P6)});\ng.m(this,X);var h=jB(function(){return new XY(X,I.P6)});\ng.m(this,h);var B=jB(function(){return new SB});\ng.m(this,B);var O=jB(function(){return new h2(W)});\ng.m(this,O);var u=jB(function(){return new Bg(X,h,I.P6)});\ng.m(this,u);var Z=jB(function(){return new Oc});\ng.m(this,Z);this.Wa=jB(function(){return new ul(Y)});\ng.m(this,this.Wa);this.UR=jB(function(){return new Z0(T)});\ng.m(this,this.UR);this.CH=jB(function(){return new il(Y)});\ng.m(this,this.CH);this.wZ=jB(function(){return new Mx(Y)});\ng.m(this,this.wZ);this.JT=jB(function(){return new t2(Y)});\ng.m(this,this.JT);this.RI=jB(function(){return new qx(Y)});\ng.m(this,this.RI);this.P6=jB(function(){return new RC(Y)});\ng.m(this,this.P6);var M=jB(function(){return new Hg(P)});\ng.m(this,M);var t=jB(function(){return new n7(I.P6)});\ng.m(this,t);var q=jB(function(){return new p7(X,u,h,I.P6,t,null,null,I.QC,I.Na)});\ng.m(this,q);this.fu=jB(function(){return new GJ(Y)});\ng.m(this,this.fu);this.eN=jB(function(){return new Eg});\ng.m(this,this.eN);this.qq=jB(function(){return new K7(Y,Z,I.P6)});\ng.m(this,this.qq);var G=Ec({qq:this.qq,P6:this.P6,v5:t}),E=G.context,z=G.E6;this.H7=G.H7;this.Va=jB(function(){return new B3(Y,I.P6,I.sP)});\nthis.Cg=jB(function(){return new J2(Y,I.qq,I.P6)});\ng.m(this,this.Cg);this.gV=jB(function(){return new sc});\ng.m(this,this.gV);this.i8=jB(function(){return new rA(I.Cg,Y,I.P6)});\ng.m(this,this.i8);this.sP=jB(function(){return new av(Y,B,I.i8,I.qq,I.H7,I.P6,z)});\ng.m(this,this.sP);this.a6=jB(function(){return new A2(I.P6)});\ng.m(this,this.a6);this.RZ=new zJ(dA,mL,function(F,y,U,V){return fM(h.get(),F,y,U,V)},O,u,h,t,this.P6,this.qq);\ng.m(this,this.RZ);this.Tr=new D0(O,q,k,this.P6,W,this.qq,this.Cg,this.CH);g.m(this,this.Tr);var A=new gA(Y,this.Tr,this.Cg,this.qq,this.Va);this.Gj=jB(function(){return A});\nthis.mV=A;this.QC=new K3(O,u,this.Gj,this.Va,this.Cg,this.P6,this.sP);g.m(this,this.QC);this.dV=new bl(O,u,this.wZ,this.Gj,E);g.m(this,this.dV);this.Cq=new cg(this.P6,O,u,q,this.qq,this.dV,k,this.JT);g.m(this,this.Cq);this.oZ=jB(function(){return new xS(M,h,t,I.P6,I.sP,I.Cg)});\ng.m(this,this.oZ);this.ge=jB(function(){return new f7});\ng.m(this,this.ge);this.PK=new VJ(W,this.Wa,this.P6);g.m(this,this.PK);this.Qi=new Nx(W);g.m(this,this.Qi);this.hh=new Jg(W);g.m(this,this.hh);this.D9=new aC(W,this.Gj,E);g.m(this,this.D9);this.lD=new Wh(W,this.wZ,this.Cg,this.qq,E);g.m(this,this.lD);this.nN=new Yo(W);g.m(this,this.nN);this.VL=new $o(W);g.m(this,this.VL);this.gp=new nl(W);g.m(this,this.gp);this.Pa=jB(function(){return new ko(Y)});\ng.m(this,this.Pa);this.Yh=new Ph(W);g.m(this,this.Yh);this.Na=new hO(W,this.Va,this.Cg,this.sP,this.Gj,this.QC);g.m(this,this.Na);this.JC=jB(function(){return new Tf});\ng.m(this,this.JC);this.Nz=jB(function(){return new Sa(I.Cg)});\ng.m(this,this.Nz);this.Tw=jB(function(){return new j8(I.Cq,O,X)});\ng.m(this,this.Tw);this.t7=jB(function(){return new IV(I.P6,I.sP,I.nN,I.i8)});\ng.m(this,this.t7);this.IE=jB(function(){return new UY7(I.Wa,I.Cg,I.sP,B,I.i8,I.hh,I.gp,I.UR,I.P6,k)});\ng.m(this,this.IE);this.rM=jB(function(){return new X6(W,I.Yh,I.nN,I.sP,I.i8,I.a6,I.JT,I.qq,I.Cg,I.gV,I.wZ,I.CH,I.RI,I.UR,I.fu,I.P6,I.Pa,E,z)});\ng.m(this,this.rM);this.t0=new Cz(W,this.eN,X);g.m(this,this.t0);this.x7={vX:new Map([[\"OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED\",this.Cq],[\"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL\",this.QC],[\"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED\",this.RZ],[\"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED\",this.Tr],[\"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY\",this.dV]]),Pw:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.oZ],[\"SLOT_TYPE_FORECASTING\",this.ge],[\"SLOT_TYPE_IN_PLAYER\",this.ge],\n[\"SLOT_TYPE_PLAYER_BYTES\",this.ge]]),hL:new Map([[\"TRIGGER_TYPE_SKIP_REQUESTED\",this.PK],[\"TRIGGER_TYPE_LAYOUT_ID_ENTERED\",this.Qi],[\"TRIGGER_TYPE_LAYOUT_ID_EXITED\",this.Qi],[\"TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON\",this.Qi],[\"TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_ENTERED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_EXITED\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY\",this.Qi],[\"TRIGGER_TYPE_SLOT_ID_SCHEDULED\",this.Qi],\n[\"TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED\",this.Qi],[\"TRIGGER_TYPE_CLOSE_REQUESTED\",this.hh],[\"TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED\",this.D9],[\"TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED\",this.lD],[\"TRIGGER_TYPE_MEDIA_TIME_RANGE\",this.lD],[\"TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE\",this.lD],[\"TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED\",this.nN],[\"TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID\",this.D9],[\"TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED\",this.VL],[\"TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER\",\nthis.gp],[\"TRIGGER_TYPE_AD_BREAK_STARTED\",this.Yh],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\",this.Na],[\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\",this.Na],[\"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION\",this.Na],[\"TRIGGER_TYPE_PREFETCH_CACHE_EXPIRED\",this.Na],[\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\",this.Na]]),Iu:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.JC],[\"SLOT_TYPE_FORECASTING\",this.JC],[\"SLOT_TYPE_IN_PLAYER\",this.JC],[\"SLOT_TYPE_PLAYER_BYTES\",this.Nz]]),\nRE:new Map([[\"SLOT_TYPE_AD_BREAK_REQUEST\",this.Tw],[\"SLOT_TYPE_FORECASTING\",this.t7],[\"SLOT_TYPE_IN_PLAYER\",this.IE],[\"SLOT_TYPE_PLAYER_BYTES\",this.rM]])};this.listeners=[B.get()];this.Za={Cq:this.Cq,tj:this.P6.get(),B6:this.UR.get(),J6:this.Cg.get(),Tr:this.Tr,x5:X.get(),HE:this.eN.get(),Lr:this.PK,Zd:B.get(),AD:this.qq.get()}};\nPS=function(W,Y){g.D.call(this);this.app=W;this.state=Y};\nQRS=function(W){var Y=new g.NC(W.zJ,W.wv);W.Ii.publish(\"initialvideodatacreated\",Y);return UZ(W,1,Y,!1)};\n$Sj=function(W,Y,k){isNaN(k)||(W.wD+=k);isNaN(Y)||(W.GJ+=Y)};\nLp0=function(W){return XO(W.slot,W.P6.get())?new z7(W):new qG(W)};\nkmi=function(W,Y){W=g.e(W.itemData);for(var k=W.next();!k.done;k=W.next())k=k.value,k.Y.logVisibility(k.element,Y)};\ntS=function(W,Y,k){W.Xr();W.W.get(Y)&&g.LH(Error(\"Extension name \"+Y+\" already registered\"));W.W.set(Y,k)};\nzT0=function(W,Y,k){h$V(W,W[a_]|0,function(P,T){if(T!=null){var I=y6d(k,P);I?I(Y,T,P):P<500||Uz(Pjw,3)}});\n(W=et(W))&&LS(W,function(P,T,I){ni(Y,Y.W.end());for(P=0;P0&&T&&(k=Math.max(k,W.policy.Wu));return MgS(W,k,Y)};\nTYN=function(W){return W.width*W.height};\ng.jl=function(W){var Y={},k;for(k in W)Y[k]=W[k];return Y};\njqp=function(W,Y){if(Y!==W.icon){switch(Y){case 3:var k=gR();break;case 1:k=pr();break;case 2:k={S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z\"}}]};break;case 4:k={S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",\nyU:!0,D:{d:\"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z\",fill:\"#fff\"}}]}}W.updateValue(\"icon\",k);W.icon=Y}};\nIRc=function(W,Y){var k=[];if(Y=W.W.get(Y.layoutId)){Y=g.e(Y);for(var P=Y.next();!P.done;P=Y.next())(P=W.K.get(P.value.triggerId))&&k.push(P)}return k};\nXkK=function(W,Y,k){var P=!1;if(k=W.W.W.get(k)){k=g.e(k);for(var T=k.next();!T.done;T=k.next())T=T.value,T.durationMs!==0&&T.vz!==T.pH&&(T=T.cpn,Y===T&&(P=!0),P&&!W.D_.has(T)&&(W.P7({decoratedAd:T}),W.D_.add(T)))}};\ndCd=function(W,Y,k){W.W[Y]=k};\nw90=function(W,Y){if(!W||!Y)return!1;for(var k=0;W!==null&&k++<100;){if(W===Y)return!0;try{if(W=W.parentElement||W){var P=AQ(W),T=P&&op(P),I=T&&T.frameElement;I&&(W=I)}}catch(X){break}}return!1};\nSxc=function(W,Y,k){var P=W.H6,T=W.W6.getVideoData(),I=W.iR,X=Ojq({pg:T.V(),W6:W.W6,fF:W.fF,l7:W.l7,Gs:W.Gs,nX:W.nX,Vw:W.Vw,Co:W.Co,qo:W.qo,isPrefetch:W.isPrefetch,aX:W.aX,sabrLicenseConstraint:T.sabrLicenseConstraint,Ko:W.Ko,bu:W.bu,DI:W.DI,Qq:W.Qq,dK:!!I,authorizedFormats:T.authorizedFormats}),h=iE(T,W.wY,W.nextRequestPolicy,W.gy,W.qX,W.Wc,W.AQ);k&&Y&&(k=h.y$?h.y$.map(function(Z){return Z.type}):[],Y(\"sabr\",{stmctxt:k.join(\"_\"),\nunsntctxt:h.cX?h.cX.join(\"_\"):\"\"}));Y=W.vB;k=W.PB;if(k===void 0&&Y===void 0){var B;k=GQ1(P.t9,(B=W.Z1)==null?void 0:B.video);var O;Y=GQ1(P.t9,(O=W.Z1)==null?void 0:O.audio)}if(T.I3)var u=T.I3;T={a5:X,dw:W.dw,vB:Y,PB:k,iR:I,videoPlaybackUstreamerConfig:u,HB:h};W.h7&&(T.h7=W.h7);T.va=W.va;T.uT=P.rD;return T};\ng.h5i=function(W){if(W.info.W.xk())return W.info.duration;W.T===-1&&(W.T=ui(W));return W.T||W.info.duration};\nBYc=function(W,Y){return g.v(function(k){if(k.W==1)return g.Ta(k,2),g.L(k,navigator.clipboard.writeText(Y),4);if(k.W!=2)return k.return(!0);g.jh(k);var P=k.return,T=!1,I=g.sF(\"TEXTAREA\");I.value=Y;I.setAttribute(\"readonly\",\"\");var X=W.api.getRootNode();X.appendChild(I);if(o4){var h=window.getSelection();h.removeAllRanges();var B=document.createRange();B.selectNodeContents(I);h.addRange(B);I.setSelectionRange(0,Y.length)}else I.select();try{T=document.execCommand(\"copy\")}catch(O){}X.removeChild(I);\nreturn P.call(k,T)})};\nnh=function(W,Y,k){if(!W.C){if(Y){W.tooltipRenderer=Y;Y=W.tooltipRenderer.text;var P=!1,T;(Y==null?0:(T=Y.runs)==null?0:T.length)&&Y.runs[0].text&&(W.update({title:Y.runs[0].text.toString()}),P=!0);g.iJ(W.title,P);Y=W.tooltipRenderer.detailsText;T=!1;var I;if((Y==null?0:(I=Y.runs)==null?0:I.length)&&Y.runs[0].text){P=Y.runs[0].text.toString();I=P.indexOf(\"$TARGET_ICON\");if(I>-1)if(W.tooltipRenderer.targetId){Y=[];P=P.split(\"$TARGET_ICON\");var X=new g.ml({S:\"span\",j:\"ytp-promotooltip-details-icon\",\nB:[OTK[W.tooltipRenderer.targetId]]});g.m(W,X);for(var h=[],B=g.e(P),O=B.next();!O.done;O=B.next())O=new g.ml({S:\"span\",j:\"ytp-promotooltip-details-component\",v6:O.value}),g.m(W,O),h.push(O);P.length===2?(Y.push(h[0].element),Y.push(X.element),Y.push(h[1].element)):P.length===1&&(I===0?(Y.push(X.element),Y.push(h[0].element)):(Y.push(h[0].element),Y.push(X.element)));I=Y.length?Y:null}else I=null;else I=P;if(I){if(typeof I!==\"string\")for(g.ee(W.details),T=g.e(I),I=T.next();!I.done;I=T.next())W.details.appendChild(I.value);\nelse W.update({details:I});T=!0}}g.iJ(W.details,T);T=W.tooltipRenderer.acceptButton;I=!1;var u,Z,M;((u=g.R(T,g.FM))==null?0:(Z=u.text)==null?0:(M=Z.runs)==null?0:M.length)&&g.R(T,g.FM).text.runs[0].text&&(W.update({acceptButtonText:g.R(T,g.FM).text.runs[0].text.toString()}),I=!0);g.iJ(W.acceptButton,I);u=W.tooltipRenderer.dismissButton;Z=!1;var t,q,G;((t=g.R(u,g.FM))==null?0:(q=t.text)==null?0:(G=q.runs)==null?0:G.length)&&g.R(u,g.FM).text.runs[0].text&&(W.update({dismissButtonText:g.R(u,g.FM).text.runs[0].text.toString()}),\nZ=!0);g.iJ(W.dismissButton,Z)}k&&(W.J=k);W.W=QDV(W);W.X=!1;W.Y.V().U(\"web_player_hide_nitrate_promo_tooltip\")||W.b8(!0);BS(W);W.v7&&!W.A5&&(W.A5=!0,W.zW.JN(0));W.K&&W.Y.logVisibility(W.element,W.v7)}};\nO$c=function(W,Y,k,P,T,I,X,h,B,O,u,Z,M,t){for(var q=0,G=\"\",E=g.e(W),z=E.next();!z.done;z=E.next())z=z.value,G||(G=z.itag),z.audioChannels&&z.audioChannels>q&&(q=z.audioChannels,G=z.itag);T=new OZ(T,\"application/x-mpegURL\",{audio:new At(0,q),video:new iX(I,X,h,null,void 0,O,void 0,void 0,M),tY:Z,K_:G});W=new Ezq(W,Y,k?[k]:[],P,!!t);W.T=u?u:1369843;return new iO(T,W,B)};\nuDQ=function(W,Y,k,P,T){ls.call(this,W,{S:\"div\",Ya:[\"ytp-ad-avatar-lockup-card--inactive\",\"ytp-ad-avatar-lockup-card\"],B:[{S:\"div\",j:\"ytp-ad-avatar-lockup-card__avatar_and_text_container\",B:[{S:\"div\",j:\"ytp-ad-avatar-lockup-card__text_container\"}]}]},\"ad-avatar-lockup-card\",Y,k,P,T);this.startMilliseconds=0;this.adAvatar=new T7(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.adAvatar);FG(this.element,this.adAvatar.element,0);this.headline=new jJ(this.api,this.layoutId,\nthis.interactionLoggingClientData,this.B6);g.m(this,this.headline);this.headline.S1(this.J5(\"ytp-ad-avatar-lockup-card__text_container\"));this.headline.element.classList.add(\"ytp-ad-avatar-lockup-card__headline\");this.description=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.description);this.description.S1(this.J5(\"ytp-ad-avatar-lockup-card__text_container\"));this.description.element.classList.add(\"ytp-ad-avatar-lockup-card__description\");this.adButton=new MI(this.api,\nthis.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.adButton);this.adButton.S1(this.element);this.hide()};\nZEX=function(W){var Y;(Y=!W)||(Y=W.adSlotMetadata,Y=!((Y==null?void 0:Y.slotId)!==void 0&&(Y==null?void 0:Y.slotType)!==void 0));if(Y||!(jUz(W)||W.slotEntryTrigger&&W.slotFulfillmentTriggers&&W.slotExpirationTriggers))return!1;var k;W=(k=W.fulfillmentContent)==null?void 0:k.fulfilledLayout;return(k=g.R(W,j6F))?a2(k):(k=g.R(W,kH))?N62(k):(k=g.R(W,tM7))?WHV(k):(k=g.R(W,IHq))?iRd(k):(k=g.R(W,Xtz))?fj(k.adLayoutMetadata)?g.R(k.renderingContent,Rm)?!0:!1:!1:(W=g.R(W,S86))?ifd(W):!1};\nWkC=function(W,Y){if(W.isDrm()){if(Y.info.W.info.pN()){var k=new qK(g.tB(Y));if(Ri(k,[408125543,374648427,174,28032,25152,20533,18402])){var P=ce(k,!0);k=P!==16?null:xN(k,P)}else k=null;P=\"webm\"}else Y.info.N=qCv(g.tB(Y)),k=Z02(Y.info.N),P=\"cenc\";k&&k.length&&(k=new uX(k,P),W.policy.mA&&g.MK(Y.info.W.info)&&(P=wpc(g.tB(Y)))&&(k.K=P),k.pN=Y.info.W.info.pN(),Y.W&&Y.W.cryptoPeriodIndex&&(k.cryptoPeriodIndex=Y.W.cryptoPeriodIndex),Y.W&&Y.W.K&&(k.W=Y.W.K),W.loader.j7(k))}};\nZTw=function(W){var Y=/codecs=\"([^\"]*)\"/.exec(W.mimeType);return Y&&Y[1]?Y[1]+\" (\"+W.itag+\")\":W.itag};\nkP=function(W,Y,k,P,T,I){ls.call(this,W,{S:\"div\",j:\"ytp-ad-preview-slot\"},\"ad-preview\",Y,k,P,T);var X=this;this.Q5=-1;this.T=this.api.V().experiments.Nq(\"enable_modern_skip_button_on_web\");this.K=new g.pk({S:\"span\",j:\"ytp-ad-preview-container\"});this.T&&this.K.element.classList.add(\"ytp-ad-preview-container-detached\");g.m(this,this.K);this.J=this.T?new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\"ytp-ad-preview-text-modern\"):new oy(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.B6,\"ytp-ad-preview-text\");g.m(this,this.J);this.J.S1(this.K.element);this.TJ=this.T?new g.pk({S:\"span\",j:\"ytp-ad-preview-image-modern\"}):new g.pk({S:\"span\",j:\"ytp-ad-preview-image\"});g.m(this,this.TJ);this.C=new e5(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.C);this.C.S1(this.TJ.element);this.TJ.S1(this.K.element);this.K.S1(this.element);this.Kg=new g.fH(this.K,400,!1,100,function(){return X.hide()});\ng.m(this,this.Kg);this.UP=0;this.GJ=!1;this.bz=I;this.hide()};\nBH7=function(W,Y,k,P,T){try{var I,X=Y===((I=W.j1)==null?void 0:I.W)?W.audioTrack:W.videoTrack;if(W.policy.rD&&(P==null?0:P.IB())){if((P==null?void 0:P.A5)>1)return 6;X.OP=new g.fC(function(){var h=ib(X);W.Xr()||h==null||!h.isLocked?W.W6.V().OR()&&W.y5(\"eosl\",{delayA:h==null?void 0:h.info.TW()}):TDX(X)?(W.W6.V().OR()&&W.y5(\"eosl\",{dunlock:h==null?void 0:h.info.TW()}),E4(W,X===W.audioTrack)):(W.y5(\"nue\",{ls:h.info.TW()}),h.info.A5+=1,W.j1&&W.pS())},1E4,W);\nW.W6.V().OR()&&W.y5(\"eosl\",{delayS:P.TW()});X.OP.start()}W.policy.kP&&(P==null?void 0:P.W)instanceof zd&&P.IB()&&W.y5(\"poseos\",{itag:P.W.info.itag,seg:P.t5,lseg:P.W.index.QU(),es:P.W.index.J});Y.appendBuffer(k,P,T)}catch(h){if(h instanceof DOMException){if(h.code===11)return 2;if(h.code===12)return 5;if(h.code===22||h.message.indexOf(\"Not enough storage\")===0)return Y=Object.assign({name:\"QuotaExceededError\",buffered:pH(Y.Mt()).replace(/,/g,\"_\"),vheap:tW(W.videoTrack),aheap:tW(W.audioTrack),message:g.hm(h.message,\n3),track:W.j1?Y===W.j1.K?\"v\":\"a\":\"u\"},UtS()),W.handleError(\"player.exception\",Y),1;g.LH(h)}return 4}return W.j1.Lu()?3:0};\niTQ=function(W){var Y,k;W=(Y=W.W)==null?void 0:(k=Y.bannerData)==null?void 0:k.itemData;var P,T,I;return(W==null||!W.affiliateDisclaimer)&&(W==null?0:(P=W.exclusivesData)==null?0:P.exclusiveOfferLabelText)&&(W==null?0:(T=W.exclusivesData)==null?0:T.expirationTimestampMs)&&(W==null?0:(I=W.exclusivesData)==null?0:I.exclusiveOfferCountdownText)?!0:!1};\nsj1=function(W){return tb(function(){var Y;return(Y=W.zd.get(\"asmjs\"))!=null?Y:fPS(W)})};\nMVz=function(W,Y,k,P,T){P=P===void 0?Infinity:P;T=T===void 0?0:T;W.logger.debug(function(){return\"Enqueuing playerType=\"+k+\" at time=\"+P+\"\\n videoId=\"+Y.videoId});\nvar I=W.D2();k=k||I.getPlayerType();(I=Bp(W,k,Y,!0))||(I=UZ(W,k,Y,!0));var X=W.zn();if(k===2&&X){var h=I.getVideoData();X.iZ(h.clientPlaybackNonce,h.jW||\"\",h.breakType||0,h.Zm,h.videoId||\"\")}W.hq(I,P,0,T)};\nFC6=function(W,Y,k,P){if(!Y&&!k)return Promise.resolve();if(!P)return h1F(Y,k);var T;(T=W.K)[P]||(T[P]=new Promise(function(I,X){h1F(Y,k).then(function(){W.W=P;I()},function(h){delete W.K[P];\nX(h)})}));\nreturn W.K[P]};\nlQ7=function(W){var Y=h40();if(Y)return tV9[Y]||tV9.other;if(g.l_(W.zJ)){W=navigator.userAgent;if(/[Ww]ireless[)]/.test(W))return 3;if(/[Ww]ired[)]/.test(W))return 30}return 0};\nYxB=function(W){if(qy(W))if(W.Ma&&W.indexRange)if(W.K){var Y=new Uint8Array(W.C.buffer,0,W.K),k=fj7(W),P=W.policy.T;Promise.all(W.A5).then(function(){var T=wK0(P,W.Ma.W.info,gb(W,!0),k,W.policy.e1,W.T,Y,W.crypto);F31(W,T,!0)})}else nq(W,new fJ(\"Woffle: Expect always re-mark currentChunkOffset at EOS\"));\nelse nq(W,new fJ(\"Woffle: Expect at EOS to always have lastSlice or indexRange\"))};\nW1N=function(W){var Y;return!((Y=ib(W))==null||!Y.isLocked)};\nDT=function(W,Y){W.W=Y;var k=W.X.videoInfos;if(!W.W.isLocked()){var P=(0,g.lj)();k=g.HE(k,function(h){if(h.c6>this.policy.c6)return!1;var B=this.H6.W[h.id];return pO(this.C).get(h.id)>P?!1:B.ob.J>4||B.X>4?(this.logger.debug(function(){return\"Remove \"+dr(h)+\"; 4 load failures\"}),!1):this.TJ.has(+h.itag)?!1:!0},W);\nOfC(W.C)&&(k=g.HE(k,function(h){return h.video.width<=854&&h.video.height<=480}))}k.length||(k=W.X.videoInfos);\nvar T=k;W.policy.l3&&(T=usV(W,T,Y));T=g.HE(T,Y.T,Y);if(W.W.isLocked()&&W.C.W){var I=g.ik(k,function(h){return h.id===W.C.W});\nI?T=[I]:Hi(W.C,\"\")}W.policy.l3||(T=usV(W,T,Y));T.length||(T=[k[0]]);T.sort(function(h,B){return AL(W,h)-AL(W,B)});\nY={};for(k=1;kY.Dy.video.width?(g.QC(T,k),k--):AL(W,Y.uq)*W.policy.L>AL(W,Y.Dy)&&(g.QC(T,k-1),k--);var X=T[T.length-1];W.rD=!!W.J&&!!W.J.info&&W.J.info.lz!==X.lz;W.logger.debug(function(){return\"Constraint: \"+B6(W.W)+\", \"+T.length+\" fmts selectable, max selectable fmt: \"+dr(X)});\nW.T=T;W.GJ.clear();Y=!1;for(k=0;k=1080&&(Y=!0);Oc1(W.policy,X,W.H6.t9)};\nfR=function(W,Y){W=W===void 0?null:W;Y=Y===void 0?null:Y;if(W==null)return g.Jx(Error(\"Got null or undefined adText object\")),\"\";var k=g.AM(W.text);if(!W.isTemplated)return k;if(Y==null)return g.Jx(Error(\"Missing required parameters for a templated message\")),k;W=g.e(Object.entries(Y));for(Y=W.next();!Y.done;Y=W.next()){var P=g.e(Y.value);Y=P.next().value;P=P.next().value;k=k.replace(\"{\"+Y+\"}\",P)}return k};\nlf=function(W){this.W=W===void 0?null:W;this.J=0;this.K=null};\npX=function(W,Y){var k=W.api.ai().o3(),P=W.api.Hu(!0,!1);return(Y=H3(k,k.height-(P.height+P.top),Y))?(W.Fr&&Y&&(k=g.jl(W.macros),k.ERRORCODE=Y.hN.toString(),k.ERROR_MSG=Y.errorMessage,W.layoutId?Pj(W.B6,W.Fr,W.layoutId,k):g.LH(Error(\"Missing layoutId for invideo_overlay_ad.\"))),!0):!1};\nUb=function(W,Y){Y=g.e(Y.W);for(var k=Y.next();!k.done;k=Y.next())W.append(k.value)};\nNr7=function(W,Y){if(!(Y instanceof Uo))if(Y instanceof si){var k=Error(Y.toString());k.stack=Y.stack;Y=new Uo(11,\"EBH:Error\",k)}else Y=new Uo(12,\"BSO:Unknown\",Y);return W.reportError(Y)};\nci=function(W){W=new g.hq(W);g.nI(W,document.location.protocol);return W.toString()};\naoz=function(W){var Y=g.TA(\"LOGGED_IN\",function(k){W.apply(void 0,arguments);g.rx(Y)})};\nRUq=function(W){var Y=new g.pk({S:\"div\",Ya:[\"ytp-ad-text-overlay\",\"ytp-ad-enhanced-overlay\"],B:[{S:\"div\",j:\"ytp-ad-overlay-ad-info-button-container\"},{S:\"div\",j:\"ytp-ad-overlay-close-container\",B:[{S:\"button\",j:\"ytp-ad-overlay-close-button\",B:[vD(CI)]}]},{S:\"div\",j:\"ytp-ad-overlay-text-image\",B:[{S:\"img\",D:{src:\"{{imageUrl}}\"}}]},{S:\"div\",j:\"ytp-ad-overlay-title\",v6:\"{{title}}\"},{S:\"div\",j:\"ytp-ad-overlay-desc\",v6:\"{{description}}\"},{S:\"div\",Ya:[\"ytp-ad-overlay-link-inline-block\",\"ytp-ad-overlay-link\"],\nv6:\"{{displayUrl}}\"}]});W.Z(Y.J5(\"ytp-ad-overlay-title\"),\"click\",function(k){LI(W,Y.element,k)});\nW.Z(Y.J5(\"ytp-ad-overlay-link\"),\"click\",function(k){LI(W,Y.element,k)});\nW.Z(Y.J5(\"ytp-ad-overlay-close-container\"),\"click\",W.jQ);W.Z(Y.J5(\"ytp-ad-overlay-text-image\"),\"click\",W.ISa);Y.hide();return Y};\nN3d=function(W){sE.call(this,W);var Y=this;D4(W,\"getStatsForNerds\",function(){return qxz(Y.api)});\nNE(W,\"showVideoInfo\",function(){RSj(Y,!0)});\nNE(W,\"hideVideoInfo\",function(){RSj(Y,!1)});\nNE(W,\"isVideoInfoVisible\",function(){return qO6(Y)})};\nqxz=function(W){var Y=W.getVideoData(),k=W.bd(),P=k.Tn(),T=W.V(),I=W.h4(),X=I.Hv*8/1024,h=I.I2/1024,B=I.q9,O=I.zG,u=I.playerState.state.toString(16),Z=k.getCurrentTime().toFixed(2),M=pH(k.EE(),\",\",3),t=\"\";if(Y.isDaiEnabled()){Y.enableServerStitchedDai&&(t+=Y.S8?\"DS\":\"SS\");t=Y.Xj()?t+\"LIFA, \":t+\"DAI, \";var q=I.Kx;q&&(t+=q)}IR(Y)&&!Y.Xj()&&(t+=\"LIFAE, \");w9(Y)&&(t+=\"SABR, \");if(Y.fetchType){switch(Y.fetchType){case \"onesie\":q=\"o\";break;case \"gp\":q=\"gp\";break;default:q=\"gvi\"}t+=\"vd:\"+q+\", \"}(T=T.PU)&&\n(t=T.W?t+\"wa, \":t+\"w, \");t+=\"s:\"+u+\" t:\"+Z+\" b:\"+M+\" \";k.isSeeking()&&(t+=\"S\");k.isPaused()&&(t+=\"P\");k.isEnded()&&(t+=\"E\");W.isOrchestrationLeader()&&(t+=\" L\");(k=I.mE)&&(t+=\" l:\"+k.toFixed());k=I.currentTime;u=Y.Sw;k&&k>u.start&&k>=5;G+=z}T=G.substr(0,4)+\" \"+G.substr(4,4)+\" \"+G.substr(8,4)+\" \"+(G.substr(12,4)+\" \"+G.substr(16,4))}else T=\"\";X={video_id_and_cpn:String(Y.videoId)+\" / \"+T,codecs:\"\",dims_and_frames:\"\",bandwidth_kbps:X.toFixed(0)+\" Kbps\",buffer_health_seconds:B.toFixed(2)+\n\" s\",date:\"\"+(new Date).toString(),drm_style:O?\"\":\"display:none\",drm:O,debug_info:k,extra_debug_info:\"\",bandwidth_style:M,network_activity_style:M,network_activity_bytes:h.toFixed(0)+\" KB\",shader_info:Z,shader_info_style:Z?\"\":\"display:none\",playback_categories:\"\"};h=P.clientWidth+\"x\"+P.clientHeight+(u>1?\"*\"+u.toFixed(2):\"\");B=\"-\";I.totalVideoFrames&&(B=(I.droppedVideoFrames||0)+\" dropped of \"+I.totalVideoFrames);X.dims_and_frames=h+\" / \"+B;W=W.getVolume();h=l40(Y);var F;if((F=Y.T)==null?0:F.audio.K)F=\n\"VB\";else{var y;F=((y=Y.T)==null?0:y.audio.W)?\"DRC\":Math.round(W*h)+\"%\"}y=Math.round(W)+\"% / \"+F;F=Y.Zm.toFixed(1);isFinite(Number(F))&&(y+=\" (content loudness \"+F+\"dB)\");X.volume=y;X.resolution=P.videoWidth+\"x\"+P.videoHeight;if(P=Y.K){if(y=P.video)F=y.fps,F>1&&(X.resolution+=\"@\"+F),(F=I.wB)&&F.video&&(X.resolution+=\" / \"+F.video.width+\"x\"+F.video.height,F.video.fps>1&&(X.resolution+=\"@\"+F.video.fps)),X.codecs=ZTw(P),!Y.T||P.audio&&P.video?P.K_&&(X.codecs+=\" / \"+P.K_+\"A\"):X.codecs+=\" / \"+ZTw(Y.T),\ny.W||y.primaries?(F=y.W||\"unknown\",F===\"smpte2084\"?F+=\" (PQ)\":F===\"arib-std-b67\"&&(F+=\" (HLG)\"),X.color=F+\" / \"+(y.primaries||\"unknown\"),X.color_style=\"\"):X.color_style=\"display:none\";if(P.debugInfo)for(X.fmt_debug_info=\"\",P=g.e(P.debugInfo),y=P.next();!y.done;y=P.next())y=y.value,X.fmt_debug_info+=y.label+\":\"+y.text+\" \";X.fmt_debug_info_style=X.fmt_debug_info&&X.fmt_debug_info.length>0?\"\":\"display:none\"}P=Y.isLivePlayback;y=Y.Fj;X.live_mode_style=P||y?\"\":\"display:none\";X.live_latency_style=P?\"\":\n\"display:none\";if(y)X.live_mode=\"Post-Live\"+(c3(Y)?\" Manifestless\":\"\");else if(P){y=I.mM;X.live_latency_secs=y.toFixed(2)+\"s\";P=c3(Y)?\"Manifestless, \":\"\";Y.wD&&(P+=\"Windowed, \");F=\"Uncertain\";if(y>=0&&y<120)if(Y.latencyClass&&Y.latencyClass!==\"UNKNOWN\")switch(Y.latencyClass){case \"NORMAL\":F=\"Optimized for Normal Latency\";break;case \"LOW\":F=\"Optimized for Low Latency\";break;case \"ULTRALOW\":F=\"Optimized for Ultra Low Latency\";break;default:F=\"Unknown Latency Setting\"}else F=Y.isLowLatencyLiveStream?\n\"Optimized for Low Latency\":\"Optimized for Smooth Streaming\";P+=F;(y=I.tJ)&&(P+=\", seq \"+y.sequence);X.live_mode=P}!I.isGapless||Dq(Y)&&I.g_||(X.playback_categories+=\"Gapless \");X.playback_categories_style=X.playback_categories?\"\":\"display:none\";X.bandwidth_samples=I.mU;X.network_activity_samples=I.CT;X.live_latency_samples=I.DR;X.buffer_health_samples=I.v$;I=g.Lo(Y);if(Y.cotn||I)X.cotn_and_local_media=(Y.cotn?Y.cotn:\"null\")+\" / \"+I;X.cotn_and_local_media_style=X.cotn_and_local_media?\"\":\"display:none\";\nyX(Y,\"web_player_release_debug\")?(X.release_name=S[16],X.release_style=\"\"):X.release_style=\"display:none\";X.debug_info&&t.length>0&&X.debug_info.length+t.length<=60?X.debug_info+=\" \"+t:X.extra_debug_info=t;X.extra_debug_info_style=X.extra_debug_info&&X.extra_debug_info.length>0?\"\":\"display:none\";return X};\nDB=function(W){sE.call(this,W);var Y=this;this.useLivingRoomPoToken=!1;this.C=new g.sU;this.W=!1;this.C1=null;this.L=!1;this.T=null;this.X=!1;var k=W.V().getWebPlayerContextConfig();this.events=new g.x5(W);g.m(this,this.events);this.events.Z(W,\"spsumpreject\",function(P,T,I){Y.X=T;P&&Y.L&&!Y.T&&(Y.U(\"html5_generate_content_po_token\")&&I?Y.O4(I):Y.U(\"html5_generate_session_po_token\")&&FWd(Y));Y.T||Y.api.y5(\"stp\",{s:+Y.L,b:+Y.X})});\nthis.events.Z(W,\"poTokenVideoBindingChange\",function(P){Y.O4(P)});\nthis.useLivingRoomPoToken=!(k==null||!k.useLivingRoomPoToken);W.addEventListener(\"csiinitialized\",function(){Y.C1=W.w_();var P=(Y.U(\"html5_generate_session_po_token\")||Y.U(\"html5_generate_content_po_token\"))&&!Y.useLivingRoomPoToken;try{if(Y.U(\"html5_use_shared_owl_instance\"))aNd(Y);else if(P){Y.C1.yC(\"pot_isc\");var T=g.je(Y.api.V().experiments,\"html5_webpo_kaios_defer_timeout_ms\");T?(Y.J=oI(),g.LB(function(){hD(Y)},T)):Y.U(\"html5_webpo_idle_priority_job\")?(Y.J=oI(),g.iQ(g.tN(),function(){hD(Y)})):\nhD(Y)}}catch(I){I instanceof Error&&g.Jx(I)}});\nW.addEventListener(\"trackListLoaded\",this.BU.bind(this));W.mF(this)};\nOQd=[];me=typeof Object.defineProperties==\"function\"?Object.defineProperty:function(W,Y,k){if(W==Array.prototype||W==Object.prototype)return W;W[Y]=k.value;return W};\ng.db=xx0(this);Da(\"Symbol\",function(W){function Y(I){if(this instanceof Y)throw new TypeError(\"Symbol is not a constructor\");return new k(P+(I||\"\")+\"_\"+T++,I)}\nfunction k(I,X){this.W=I;me(this,\"description\",{configurable:!0,writable:!0,value:X})}\nif(W)return W;k.prototype.toString=function(){return this.W};\nvar P=\"jscomp_symbol_\"+(Math.random()*1E9>>>0)+\"_\",T=0;return Y});\nDa(\"Symbol.iterator\",function(W){if(W)return W;W=Symbol(\"Symbol.iterator\");for(var Y=\"Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array\".split(\" \"),k=0;k0&&k>0;)if(P[--k]!=Y[--T])return!1;return T<=0}});\nDa(\"Array.prototype.find\",function(W){return W?W:function(Y,k){return iMF(this,Y,k).Ou}});\nDa(\"Array.prototype.entries\",function(W){return W?W:function(){return jt(this,function(Y,k){return[Y,k]})}});\nDa(\"Array.prototype.keys\",function(W){return W?W:function(){return jt(this,function(Y){return Y})}});\nDa(\"String.prototype.startsWith\",function(W){return W?W:function(Y,k){var P=GA(this,Y,\"startsWith\");Y+=\"\";var T=P.length,I=Y.length;k=Math.max(0,Math.min(k|0,P.length));for(var X=0;X=I}});\nDa(\"Number.isFinite\",function(W){return W?W:function(Y){return typeof Y!==\"number\"?!1:!isNaN(Y)&&Y!==Infinity&&Y!==-Infinity}});\nDa(\"String.prototype.repeat\",function(W){return W?W:function(Y){var k=GA(this,null,\"repeat\");if(Y<0||Y>1342177279)throw new RangeError(\"Invalid count value\");Y|=0;for(var P=\"\";Y;)if(Y&1&&(P+=k),Y>>>=1)k+=k;return P}});\nDa(\"Object.entries\",function(W){return W?W:function(Y){var k=[],P;for(P in Y)zm(Y,P)&&k.push([P,Y[P]]);return k}});\nDa(\"Number.MAX_SAFE_INTEGER\",function(){return 9007199254740991});\nDa(\"Number.MIN_SAFE_INTEGER\",function(){return-9007199254740991});\nDa(\"Array.from\",function(W){return W?W:function(Y,k,P){k=k!=null?k:function(h){return h};\nvar T=[],I=typeof Symbol!=\"undefined\"&&Symbol.iterator&&Y[Symbol.iterator];if(typeof I==\"function\"){Y=I.call(Y);for(var X=0;!(I=Y.next()).done;)T.push(k.call(P,I.value,X++))}else for(I=Y.length,X=0;X>>0;if(Y===0)return 32;var k=0;(Y&4294901760)===0&&(Y<<=16,k+=16);(Y&4278190080)===0&&(Y<<=8,k+=8);(Y&4026531840)===0&&(Y<<=4,k+=4);(Y&3221225472)===0&&(Y<<=2,k+=2);(Y&2147483648)===0&&k++;return k}});\nDa(\"Number.isNaN\",function(W){return W?W:function(Y){return typeof Y===\"number\"&&isNaN(Y)}});\nDa(\"Array.prototype.values\",function(W){return W?W:function(){return jt(this,function(Y,k){return k})}});\nDa(\"Array.prototype.fill\",function(W){return W?W:function(Y,k,P){var T=this.length||0;k<0&&(k=Math.max(0,T+k));if(P==null||P>T)P=T;P=Number(P);P<0&&(P=Math.max(0,T+P));for(k=Number(k||0);k0&&k?k.repeat(Math.ceil(Y/k.length)).substring(0,Y):\"\")+P}});\nDa(\"Array.prototype.findIndex\",function(W){return W?W:function(Y,k){return iMF(this,Y,k).iT}});\nDa(\"Promise.prototype.finally\",function(W){return W?W:function(Y){return this.then(function(k){return Promise.resolve(Y()).then(function(){return k})},function(k){return Promise.resolve(Y()).then(function(){throw k;\n})})}});\nDa(\"Math.imul\",function(W){return W?W:function(Y,k){Y=Number(Y);k=Number(k);var P=Y&65535,T=k&65535;return P*T+((Y>>>16&65535)*T+P*(k>>>16&65535)<<16>>>0)|0}});\nDa(\"Math.sign\",function(W){return W?W:function(Y){Y=Number(Y);return Y===0||isNaN(Y)?Y:Y>0?1:-1}});\nDa(\"WeakSet\",function(W){function Y(k){this.W=new WeakMap;if(k){k=g.e(k);for(var P;!(P=k.next()).done;)this.add(P.value)}}\nif(function(){if(!W||!Object.seal)return!1;try{var k=Object.seal({}),P=Object.seal({}),T=new W([k]);if(!T.has(k)||T.has(P))return!1;T.delete(k);T.add(P);return!T.has(k)&&T.has(P)}catch(I){return!1}}())return W;\nY.prototype.add=function(k){this.W.set(k,!0);return this};\nY.prototype.has=function(k){return this.W.has(k)};\nY.prototype.delete=function(k){return this.W.delete(k)};\nreturn Y});\nDa(\"AggregateError\",function(W){function Y(k,P){P=Error(P);\"stack\"in P&&(this.stack=P.stack);this.errors=k;this.message=P.message}\nif(W)return W;g.f(Y,Error);Y.prototype.name=\"AggregateError\";return Y});\nDa(\"Array.prototype.copyWithin\",function(W){function Y(k){k=Number(k);return k===Infinity||k===-Infinity?k:k|0}\nreturn W?W:function(k,P,T){var I=this.length;k=Y(k);P=Y(P);T=T===void 0?I:Y(T);k=k<0?Math.max(I+k,0):Math.min(k,I);P=P<0?Math.max(I+P,0):Math.min(P,I);T=T<0?Math.max(I+T,0):Math.min(T,I);if(kP;)--T in this?this[--k]=this[T]:delete this[--k];return this}});\nDa(\"Int8Array.prototype.copyWithin\",vp);Da(\"Uint8Array.prototype.copyWithin\",vp);Da(\"Uint8ClampedArray.prototype.copyWithin\",vp);Da(\"Int16Array.prototype.copyWithin\",vp);Da(\"Uint16Array.prototype.copyWithin\",vp);Da(\"Int32Array.prototype.copyWithin\",vp);Da(\"Uint32Array.prototype.copyWithin\",vp);Da(\"Float32Array.prototype.copyWithin\",vp);Da(\"Float64Array.prototype.copyWithin\",vp);Da(\"Array.prototype.at\",function(W){return W?W:Rq});\nDa(\"Int8Array.prototype.at\",Hk);Da(\"Uint8Array.prototype.at\",Hk);Da(\"Uint8ClampedArray.prototype.at\",Hk);Da(\"Int16Array.prototype.at\",Hk);Da(\"Uint16Array.prototype.at\",Hk);Da(\"Int32Array.prototype.at\",Hk);Da(\"Uint32Array.prototype.at\",Hk);Da(\"Float32Array.prototype.at\",Hk);Da(\"Float64Array.prototype.at\",Hk);Da(\"String.prototype.at\",function(W){return W?W:Rq});\nDa(\"Array.prototype.findLastIndex\",function(W){return W?W:function(Y,k){return ciz(this,Y,k).iT}});\nDa(\"Int8Array.prototype.findLastIndex\",Lq);Da(\"Uint8Array.prototype.findLastIndex\",Lq);Da(\"Uint8ClampedArray.prototype.findLastIndex\",Lq);Da(\"Int16Array.prototype.findLastIndex\",Lq);Da(\"Uint16Array.prototype.findLastIndex\",Lq);Da(\"Int32Array.prototype.findLastIndex\",Lq);Da(\"Uint32Array.prototype.findLastIndex\",Lq);Da(\"Float32Array.prototype.findLastIndex\",Lq);Da(\"Float64Array.prototype.findLastIndex\",Lq);Da(\"Number.parseInt\",function(W){return W||parseInt});var t3d,oN,RHq;t3d=t3d||{};g.hL=this||self;oN=\"closure_uid_\"+(Math.random()*1E9>>>0);RHq=0;g.oM(XJ,Error);XJ.prototype.name=\"CustomError\";var u0C;var UCC,Nq,Wk;UCC=Array.prototype.indexOf?function(W,Y){return Array.prototype.indexOf.call(W,Y,void 0)}:function(W,Y){if(typeof W===\"string\")return typeof Y!==\"string\"||Y.length!=1?-1:W.indexOf(Y,0);\nfor(var k=0;k=0;k--)if(k in W&&W[k]===Y)return k;return-1};\ng.hv=Array.prototype.forEach?function(W,Y,k){Array.prototype.forEach.call(W,Y,k)}:function(W,Y,k){for(var P=W.length,T=typeof W===\"string\"?W.split(\"\"):W,I=0;I=.3:this.Gr>=.5};var ac={t5q:0,Pwz:1},TW5={NONE:0,lPi:1,Cw1:2};var XNq=\"constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf\".split(\" \");D5.prototype.getValue=function(){return this.K};\ng.f(Hp,D5);Hp.prototype.J=function(W){this.K===null&&g.Ni(this.T,W)&&(this.K=W)};\ng.f(sG,D5);sG.prototype.J=function(W){this.K===null&&typeof W===\"number\"&&(this.K=W)};\ng.f(gs,D5);gs.prototype.J=function(W){this.K===null&&typeof W===\"string\"&&(this.K=W)};yz.prototype.disable=function(){this.K=!1};\nyz.prototype.enable=function(){this.K=!0};\nyz.prototype.isEnabled=function(){return this.K};\nyz.prototype.reset=function(){this.W={};this.K=!0;this.J={}};var hx=document,Cc=window;var JmQ=k_(1,!0),$0=k_(610401301,!1);k_(899588437,!1);var sqw=k_(772657768,!1),rm9=k_(513659523,!1),Am$=k_(568333945,!0),GXz=k_(1331761403,!1);k_(651175828,!1);k_(722764542,!1);k_(748402145,!1);k_(748402146,!1);var f9q=k_(748402147,JmQ);k_(333098724,!1);k_(2147483644,!1);k_(2147483645,!1);k_(2147483646,JmQ);k_(2147483647,!0);var k0=!!g.o3(\"yt.config_.EXPERIMENTS_FLAGS.html5_enable_client_hints_override\");var W2=String.prototype.trim?function(W){return W.trim()}:function(W){return/^[\\s\\xa0]*([\\s\\S]*?)[\\s\\xa0]*$/.exec(W)[1]},MQ2=/&/g,tQq=//g,RZ7=/\"/g,HoV=/'/g,nN5=/\\x00/g,ioS=/[\\x00&<>\"']/;var Pn,z5h=g.hL.navigator;Pn=z5h?z5h.userAgentData||null:null;var bXC=globalThis.trustedTypes,zn;sW1.prototype.toString=function(){return this.W+\"\"};gO.prototype.toString=function(){return this.W};\nvar J0d=new gO(\"about:invalid#zClosurez\");var wt1=fh(\"tel\"),g20=fh(\"sms\"),EYX=[fh(\"data\"),fh(\"http\"),fh(\"https\"),fh(\"mailto\"),fh(\"ftp\"),new JM(function(W){return/^[^:]*([/?#]|$)/.test(W)})],nqS=/^\\s*(?!javascript:)(?:[\\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;mE.prototype.toString=function(){return this.W+\"\"};WZ.prototype.toString=function(){return this.W+\"\"};L7q.prototype.toString=function(){return this.W};var tk={};g.dS$=String.prototype.repeat?function(W,Y){return W.repeat(Y)}:function(W,Y){return Array(Y+1).join(W)};Uv[\" \"]=function(){};var Ze,iz,zaq,mSc,DSc,g8w,Fy,D$,FUi;g.sT=dj();g.Hz=yqX();g.PC=wY(\"Edge\");g.jx=g.PC||g.Hz;Ze=wY(\"Gecko\")&&!(Jb(g.Ed(),\"WebKit\")&&!wY(\"Edge\"))&&!(wY(\"Trident\")||wY(\"MSIE\"))&&!wY(\"Edge\");g.M8=Jb(g.Ed(),\"WebKit\")&&!wY(\"Edge\");iz=dE5();zaq=Rcq();g.pK=qKK();mSc=ii();DSc=wY(\"iPad\");g8w=wY(\"iPod\");Fy=LK();D$=Jb(g.Ed(),\"KaiOS\");\na:{var wk$=\"\",Qq9=function(){var W=g.Ed();if(Ze)return/rv:([^\\);]+)(\\)|;)/.exec(W);if(g.PC)return/Edge\\/([\\d\\.]+)/.exec(W);if(g.Hz)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(W);if(g.M8)return/WebKit\\/(\\S+)/.exec(W);if(g.sT)return/(?:Version)[ \\/]?(\\S+)/.exec(W)}();\nQq9&&(wk$=Qq9?Qq9[1]:\"\");if(g.Hz){var Po,ymc=g.hL.document;Po=ymc?ymc.documentMode:void 0;if(Po!=null&&Po>parseFloat(wk$)){FUi=String(Po);break a}}FUi=wk$}var cwd=FUi,TUz={};var B8,Y4;g.r9=iG();B8=ii()||wY(\"iPod\");Y4=wY(\"iPad\");g.jD5=k_q();g.sr=sl();g.nV=rw()&&!LK();var PpX=!g.Hz&&!rw();g.H=g.z6.prototype;g.H.clone=function(){return new g.z6(this.x,this.y)};\ng.H.equals=function(W){return W instanceof g.z6&&yj(this,W)};\ng.H.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};\ng.H.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};\ng.H.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};\ng.H.scale=function(W,Y){this.x*=W;this.y*=typeof Y===\"number\"?Y:W;return this};g.H=g.Sn.prototype;g.H.clone=function(){return new g.Sn(this.width,this.height)};\ng.H.aspectRatio=function(){return this.width/this.height};\ng.H.isEmpty=function(){return!TYN(this)};\ng.H.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};\ng.H.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};\ng.H.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};\ng.H.scale=function(W,Y){this.width*=W;this.height*=typeof Y===\"number\"?Y:W;return this};qV.prototype.toString=function(){return this.W};\nvar RA={};new qV(RA,\"\");var exF=/^[a-z][a-z\\d-]*$/i,UGd=\"APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE\".split(\" \"),lz1=\"AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR\".split(\" \"),odd=[\"action\",\"formaction\",\"href\"];var ijd={cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",colspan:\"colSpan\",frameborder:\"frameBorder\",height:\"height\",maxlength:\"maxLength\",nonce:\"nonce\",role:\"role\",rowspan:\"rowSpan\",type:\"type\",usemap:\"useMap\",valign:\"vAlign\",width:\"width\"};g.H=Ym.prototype;g.H.Tn=function(W){return GX(this.W,W)};\ng.H.getElementsByTagName=function(W,Y){return(Y||this.W).getElementsByTagName(String(W))};\ng.H.J5=function(W){return g.hr(W,this.W)};\ng.H.setProperties=kF;g.H.createElement=function(W){return HA(this.W,W)};\ng.H.appendChild=g.fO;g.H.append=function(W,Y){JUS(AQ(W),W,arguments,1)};\ng.H.canHaveChildren=function(W){if(W.nodeType!=1)return!1;switch(W.tagName){case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\":return!1}return!0};\ng.H.removeNode=g.q8;g.H.getChildren=function(W){return W.children!=void 0?W.children:Array.prototype.filter.call(W.childNodes,function(Y){return Y.nodeType==1})};\ng.H.contains=g.MG;Eo.prototype.now=function(){return 0};\nEo.prototype.K=function(){return 0};\nEo.prototype.J=function(){return 0};\nEo.prototype.W=function(){return 0};g.f(ug,Eo);ug.prototype.now=function(){return OC()&&Cc.performance.now?Cc.performance.now():Eo.prototype.now.call(this)};\nug.prototype.K=function(){return OC()&&Cc.performance.memory?Cc.performance.memory.totalJSHeapSize||0:Eo.prototype.K.call(this)};\nug.prototype.J=function(){return OC()&&Cc.performance.memory?Cc.performance.memory.usedJSHeapSize||0:Eo.prototype.J.call(this)};\nug.prototype.W=function(){return OC()&&Cc.performance.memory?Cc.performance.memory.jsHeapSizeLimit||0:Eo.prototype.W.call(this)};var bsC=function(){if(!g.hL.addEventListener||!Object.defineProperty)return!1;var W=!1,Y=Object.defineProperty({},\"passive\",{get:function(){W=!0}});\ntry{var k=function(){};\ng.hL.addEventListener(\"test\",k,Y);g.hL.removeEventListener(\"test\",k,Y)}catch(P){}return W}();var f1V=rRq(\"AnimationEnd\"),sH=rRq(\"TransitionEnd\");g.H=jn.prototype;g.H.getHeight=function(){return this.bottom-this.top};\ng.H.clone=function(){return new jn(this.top,this.right,this.bottom,this.left)};\ng.H.contains=function(W){return this&&W?W instanceof jn?W.left>=this.left&&W.right<=this.right&&W.top>=this.top&&W.bottom<=this.bottom:W.x>=this.left&&W.x<=this.right&&W.y>=this.top&&W.y<=this.bottom:!1};\ng.H.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};\ng.H.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};\ng.H.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};\ng.H.scale=function(W,Y){Y=typeof Y===\"number\"?Y:W;this.left*=W;this.right*=W;this.top*=Y;this.bottom*=Y;return this};g.H=g.$F.prototype;g.H.clone=function(){return new g.$F(this.left,this.top,this.width,this.height)};\ng.H.contains=function(W){return W instanceof g.z6?W.x>=this.left&&W.x<=this.left+this.width&&W.y>=this.top&&W.y<=this.top+this.height:this.left<=W.left&&this.left+this.width>=W.left+W.width&&this.top<=W.top&&this.top+this.height>=W.top+W.height};\ng.H.getSize=function(){return new g.Sn(this.width,this.height)};\ng.H.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};\ng.H.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};\ng.H.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};\ng.H.scale=function(W,Y){Y=typeof Y===\"number\"?Y:W;this.left*=W;this.width*=W;this.top*=Y;this.height*=Y;return this};var bv0={};var GjX=qP(function(){var W=!1;try{var Y=Object.defineProperty({},\"passive\",{get:function(){W=!0}});\ng.hL.addEventListener(\"test\",null,Y)}catch(k){}return W});zeF.prototype.isVisible=function(){return Qk(hx)===1};var S3X=RegExp(\"^https?://(\\\\w|-)+\\\\.cdn\\\\.ampproject\\\\.(net|org)(\\\\?|/|$)\");var SFX=pa(function(W){return typeof W===\"number\"}),Di=pa(function(W){return typeof W===\"string\"}),h0d=pa(function(W){return typeof W===\"boolean\"}),ne=pa(function(W){return W!=null&&typeof W===\"object\"&&typeof W.then===\"function\"}),NdV=pa(function(W){return typeof W===\"function\"}),e5j=pa(function(W){return!!W&&(typeof W===\"object\"||typeof W===\"function\")});var fd1={Wi6:\"allow-forms\",Aeg:\"allow-modals\",ye5:\"allow-orientation-lock\",Ki5:\"allow-pointer-lock\",vfg:\"allow-popups\",inP:\"allow-popups-to-escape-sandbox\",P5z:\"allow-presentation\",wUS:\"allow-same-origin\",Je2:\"allow-scripts\",pU5:\"allow-top-navigation\",T_i:\"allow-top-navigation-by-user-activation\"},KUd=qP(function(){return V46()});Q1.prototype.OV=function(W,Y,k){W=W+\"//\"+Y+k;var P=vh1(this)-k.length;if(P<0)return\"\";this.W.sort(function(O,u){return O-u});\nk=null;Y=\"\";for(var T=0;T=B.length){P-=B.length;W+=B;Y=this.J;break}k=k==null?I:k}}P=\"\";k!=null&&(P=\"\"+Y+\"trn=\"+k);return W+P};up.prototype.setInterval=function(W,Y){return Cc.setInterval(W,Y)};\nup.prototype.clearInterval=function(W){Cc.clearInterval(W)};\nup.prototype.setTimeout=function(W,Y){return Cc.setTimeout(W,Y)};\nup.prototype.clearTimeout=function(W){Cc.clearTimeout(W)};var pf=void 0,Evd,K82=typeof TextDecoder!==\"undefined\",csv,bpS=typeof String.prototype.isWellFormed===\"function\",lI1=typeof TextEncoder!==\"undefined\";var Bqv={},Fv=null,dUv=Ze||g.M8||typeof g.hL.btoa==\"function\";var dO0=typeof Uint8Array!==\"undefined\",orv=!g.Hz&&typeof btoa===\"function\",vrV=/[-_.]/g,AQq={\"-\":\"+\",_:\"/\",\".\":\"=\"},cl={};bq.prototype.isEmpty=function(){return this.W==null};\nbq.prototype.sizeBytes=function(){var W=Nn(this);return W?W.length:0};\nvar Bh7;var vE7=void 0;var cI=typeof Symbol===\"function\"&&typeof Symbol()===\"symbol\",o8Q=zf(\"jas\",void 0,!0),ye=zf(void 0,\"1oa\"),yu=zf(void 0,Symbol()),v8p=zf(void 0,\"0ub\"),Tzv=zf(void 0,\"0ubs\"),Pjw=zf(void 0,\"0ubsb\"),mTd=zf(void 0,\"0actk\"),Xe=zf(\"m_m\",\"LtP\",!0),gkS=zf(void 0,\"vps\"),Cjh=zf();Math.max.apply(Math,g.cp(Object.values({g45:1,Cvz:2,S32:4,wHi:8,nFh:16,zuz:32,YrD:64,qq6:128,TMi:256,ljr:512,SqS:1024,Gw1:2048,WzJ:4096})));var HFd={jU:{value:0,configurable:!0,writable:!0,enumerable:!1}},R7z=Object.defineProperties,a_=cI?o8Q:\"jU\",Pl,LUB=[];XX(LUB,7);Pl=Object.freeze(LUB);var SY={},zZ={},Uy1=Object.freeze({}),O$={};var gl=typeof g.hL.BigInt===\"function\"&&typeof g.hL.BigInt(0)===\"bigint\";var Nfq=pa(function(W){return gl?W>=USz&&W<=lRj:W[0]===\"-\"?a7C(W,bTK):a7C(W,cmK)}),bTK=Number.MIN_SAFE_INTEGER.toString(),USz=gl?BigInt(Number.MIN_SAFE_INTEGER):void 0,cmK=Number.MAX_SAFE_INTEGER.toString(),lRj=gl?BigInt(Number.MAX_SAFE_INTEGER):void 0;var BY6=typeof Uint8Array.prototype.slice===\"function\",JC=0,sp=0,ARS;var $n=typeof BigInt===\"function\"?BigInt.asIntN:void 0,tjz=typeof BigInt===\"function\"?BigInt.asUintN:void 0,KM=Number.isSafeInteger,YD=Number.isFinite,Gu=Math.trunc,gqd=/^-?([1-9][0-9]*|0)(\\.[0-9]+)?$/;var FGF={};var xSw={bN1:!0};var Lb;var p20,Gbq;var pL0=Fg(0),Mg={};Ra.prototype.init=function(W,Y,k,P){var T=P===void 0?{}:P;P=T.MM===void 0?!1:T.MM;T=T.wE===void 0?!1:T.wE;this.MM=P;this.wE=T;W&&(W=a9(W,this.wE),this.K=W.buffer,this.C=W.W,this.T=Y||0,this.J=k!==void 0?this.T+k:this.K.length,this.W=this.T)};\nRa.prototype.free=function(){this.clear();qO.length<100&&qO.push(this)};\nRa.prototype.clear=function(){this.K=null;this.C=!1;this.W=this.J=this.T=0;this.MM=!1};\nRa.prototype.reset=function(){this.W=this.T};\nvar qO=[];HM.prototype.free=function(){this.W.clear();this.K=this.J=-1;OS.length<100&&OS.push(this)};\nHM.prototype.reset=function(){this.W.reset();this.T=this.W.W;this.K=this.J=-1};\nvar OS=[];var lg1,SmS;Kh5.prototype.length=function(){return this.W.length};\nKh5.prototype.end=function(){var W=this.W;this.W=[];return W};var wW0=uz(),fRh=uz(),VVz=uz(),NYh=uz(),aR1=uz(),Wup=uz(),YFw=uz(),$Lj=uz(),k6K=uz(),P7K=uz(),TEh=uz();B9.prototype.toJSON=function(){return fl(this)};\nB9.prototype.WK=function(W){return JSON.stringify(fl(this,W))};\nB9.prototype.clone=function(){var W=this.h5,Y=W[a_]|0;return di(this,W,Y)?y$(this,W,!0):new this.constructor(PQ(W,Y,!1))};\nB9.prototype[Xe]=SY;B9.prototype.toString=function(){return this.h5.toString()};var ha2=RoV(function(W,Y,k,P,T){if(W.K!==2)return!1;Dp(W,Dz(Y,P,k),T);return!0},Wz1),s5z=RoV(function(W,Y,k,P,T){if(W.K!==2)return!1;\nDp(W,Dz(Y,P,k),T);return!0},Wz1),tL=Symbol(),Fi=Symbol(),Dt=Symbol(),MxV=Symbol(),$Rq=Symbol(),PD,Ts;var jpN=JS(function(W,Y,k){if(W.K!==1)return!1;Vv(Y,k,WVB(W.W));return!0},MO,k6K),IYN=JS(function(W,Y,k){if(W.K!==1)return!1;\nW=WVB(W.W);Vv(Y,k,W===0?void 0:W);return!0},MO,k6K),XZQ=JS(function(W,Y,k,P){if(W.K!==1)return!1;\ni6(Y,k,P,WVB(W.W));return!0},MO,k6K),SFc=JS(function(W,Y,k){if(W.K!==0)return!1;\nVv(Y,k,z9z(W.W));return!0},sKq,YFw),h0p=JS(function(W,Y,k){if(W.K!==0)return!1;\nW=z9z(W.W);Vv(Y,k,W===0?void 0:W);return!0},sKq,YFw),BEK=JS(function(W,Y,k,P){if(W.K!==0)return!1;\ni6(Y,k,P,z9z(W.W));return!0},sKq,YFw),OcK=JS(function(W,Y,k){if(W.K!==0)return!1;\nVv(Y,k,mK(W.W));return!0},Jf,NYh),uZK=JS(function(W,Y,k){if(W.K!==0)return!1;\nW=mK(W.W);Vv(Y,k,W===0?void 0:W);return!0},Jf,NYh),ZcB=JS(function(W,Y,k,P){if(W.K!==0)return!1;\ni6(Y,k,P,mK(W.W));return!0},Jf,NYh),icB=JS(function(W,Y,k){if(W.K!==1)return!1;\nVv(Y,k,Md(W.W));return!0},function(W,Y,k){X3V(W,k,Htz(Y))},$Lj),Mew=aT(function(W,Y,k){if(W.K!==1&&W.K!==2)return!1;\nY=Np(Y,Y[a_]|0,k);if(W.K==2)for(k=mK(W.W)>>>0,k=W.W.W+k;W.W.W>>0);return!0},function(W,Y,k){Y=S4(Y);\nY!=null&&Y!=null&&($w(W,k,0),Op(W.W,Y))},aR1),h5=JS(function(W,Y,k){if(W.K!==0)return!1;\nVv(Y,k,mK(W.W));return!0},function(W,Y,k){Y=EM(Y);\nY!=null&&(Y=parseInt(Y,10),$w(W,k,0),sqz(W.W,Y))},TEh);grd.prototype.register=function(){Uv(this)};g.f(Xg,B9);Xg.prototype.J=daC([0,IYN,h0p,-2,uZK]);wrV.prototype.Ik=function(W){var Y=this.W[W.key];if(W.valueType===\"proto\"){try{var k=JSON.parse(Y);if(Array.isArray(k))return k}catch(P){}return W.defaultValue}return typeof Y===typeof W.defaultValue?Y:W.defaultValue};var jRd={mv5:1,PY:2,E4J:3,1:\"POSITION\",2:\"VISIBILITY\",3:\"MONITOR_VISIBILITY\"};$VS.prototype.d1=function(W){if(typeof W===\"string\"&&W.length!=0){var Y=this.gZ;if(Y.K){W=W.split(\"&\");for(var k=W.length-1;k>=0;k--){var P=W[k].split(\"=\"),T=decodeURIComponent(P[0]);P.length>1?(P=decodeURIComponent(P[1]),P=/^[0-9]+$/g.exec(P)?parseInt(P,10):P):P=1;(T=Y.W[T])&&T.J(P)}}}};var Bo=null;var R0=g.hL.performance,Kui=!!(R0&&R0.mark&&R0.measure&&R0.clearMarks),Hw=qP(function(){var W;if(W=Kui){var Y=Y===void 0?window:Y;if(Bo===null){Bo=\"\";try{W=\"\";try{W=Y.top.location.hash}catch(P){W=Y.location.hash}if(W){var k=W.match(/\\bdeid=([\\d,]+)/);Bo=k?k[1]:\"\"}}catch(P){}}Y=Bo;W=!!Y.indexOf&&Y.indexOf(\"1337\")>=0}return W});\nr_.prototype.disable=function(){this.W=!1;this.events!==this.K.google_js_reporting_queue&&(Hw()&&g.hv(this.events,YJ1),this.events.length=0)};\nr_.prototype.start=function(W,Y){if(!this.W)return null;var k=zA5()||BFC();W=new xoV(W,Y,k);Y=\"goog_\"+W.label+\"_\"+W.uniqueId+\"_start\";R0&&Hw()&&R0.mark(Y);return W};\nr_.prototype.end=function(W){if(this.W&&typeof W.value===\"number\"){var Y=zA5()||BFC();W.duration=Y-W.value;Y=\"goog_\"+W.label+\"_\"+W.uniqueId+\"_end\";R0&&Hw()&&R0.mark(Y);!this.W||this.events.length>2048||this.events.push(W)}};var jL0=RegExp(\"^(?:([^:/?#.]+):)?(?://(?:([^\\\\\\\\/?#]*)@)?([^\\\\\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\\\\\/?#]|$))?([^?#]+)?(?:\\\\?([^#]*))?(?:#([\\\\s\\\\S]*))?$\"),Ka=/#|$/,oP0=/[?&]($|#)/;C42.prototype.JZ=function(W,Y,k,P,T){T=T||this.I4;try{var I=new Q1;I.W.push(1);I.K[1]=ey(\"context\",W);Y.error&&Y.meta&&Y.id||(Y=new D7(gG(Y)));if(Y.msg){var X=Y.msg.substring(0,512);I.W.push(2);I.K[2]=ey(\"msg\",X)}var h=Y.meta||{};if(this.qG)try{this.qG(h)}catch(t){}if(P)try{P(h)}catch(t){}P=[h];I.W.push(3);I.K[3]=P;var B=QAz();if(B.K){var O=B.K.url||\"\";I.W.push(4);I.K[4]=ey(\"top\",O)}var u={url:B.W.url||\"\"};if(B.W.url){var Z=g.rM(B.W.url);var M=MC(Z[1],null,Z[3],Z[4])}else M=\"\";O=[u,{url:M}];I.W.push(5);\nI.K[5]=O;YU0(this.W,T,I,k)}catch(t){try{YU0(this.W,T,{context:\"ecmserr\",rctx:W,msg:gG(t),url:B&&B.W.url},k)}catch(q){}}return this.b9};\ng.f(D7,mY2);var xI,c7,XM=new r_;xI=new function(){var W=\"https:\";Cc&&Cc.location&&Cc.location.protocol===\"http:\"&&(W=\"http:\");this.K=W;this.W=.01};\nc7=new C42;Cc&&Cc.document&&(Cc.document.readyState==\"complete\"?d6B():XM.W&&f2(Cc,\"load\",function(){d6B()}));var Yxv=Date.now(),yO=-1,Nv=-1,PYz,yk=-1,QO=!1;g3.prototype.equals=function(W,Y){return!!W&&(!(Y===void 0?0:Y)||this.volume==W.volume)&&this.J==W.J&&zC(this.W,W.W)&&!0};H7.prototype.Tn=function(){return this.G};\nH7.prototype.equals=function(W,Y){return this.T.equals(W.T,Y===void 0?!1:Y)&&this.G==W.G&&zC(this.J,W.J)&&zC(this.X,W.X)&&this.W==W.W&&this.C==W.C&&this.K==W.K&&this.L==W.L};var E$9={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},lC={WY:\"start\",Hx:\"firstquartile\",rz:\"midpoint\",AO:\"thirdquartile\",COMPLETE:\"complete\",ERROR:\"error\",VO:\"metric\",PAUSE:\"pause\",h_:\"resume\",Mp:\"skip\",iH:\"viewable_impression\",Np:\"mute\",K9:\"unmute\",q_:\"fullscreen\",FP:\"exitfullscreen\",Sk:\"bufferstart\",oU:\"bufferfinish\",GK:\"fully_viewable_audible_half_duration_impression\",BI:\"measurable_impression\",Wx:\"abandon\",XP:\"engagedview\",mP:\"impression\",Uw:\"creativeview\",LOADED:\"loaded\",\nZ71:\"progress\",CLOSE:\"close\",gZD:\"collapse\",CES:\"overlay_resize\",gkS:\"overlay_unmeasurable_impression\",u7g:\"overlay_unviewable_impression\",Uva:\"overlay_viewable_immediate_impression\",Y01:\"overlay_viewable_end_of_session_impression\",nW:\"custom_metric_viewable\",vx:\"audio_audible\",Px:\"audio_measurable\",iL:\"audio_impression\"},Ov0=\"start firstquartile midpoint thirdquartile resume loaded\".split(\" \"),uAC=[\"start\",\"firstquartile\",\"midpoint\",\"thirdquartile\"],kaq=[\"abandon\"],iS={UNKNOWN:-1,WY:0,Hx:1,rz:2,\nAO:3,COMPLETE:4,VO:5,PAUSE:6,h_:7,Mp:8,iH:9,Np:10,K9:11,q_:12,FP:13,GK:14,BI:15,Wx:16,XP:17,mP:18,Uw:19,LOADED:20,nW:21,Sk:22,oU:23,iL:27,Px:28,vx:29};var m26={a9D:\"addEventListener\",u8J:\"getMaxSize\",Yq5:\"getScreenSize\",Uzz:\"getState\",nJ5:\"getVersion\",wV6:\"removeEventListener\",uZJ:\"isViewable\"};pk7.prototype.update=function(W){W&&W.document&&(this.G=K8(!1,W,this.isMobileDevice),this.W=K8(!0,W,this.isMobileDevice),Gp1(this,W),mx0(this,W))};zR.prototype.cancel=function(){vZ().clearTimeout(this.W);this.W=null};\nzR.prototype.schedule=function(){var W=this,Y=vZ(),k=fZ().W.W;this.W=Y.setTimeout(Fb(k,T2(143,function(){W.K++;W.J.sample()})),brS())};g.H=HO.prototype;g.H.ZE=function(){return!1};\ng.H.initialize=function(){return this.isInitialized=!0};\ng.H.RJ=function(){return this.W.TJ};\ng.H.Le=function(){return this.W.A5};\ng.H.fail=function(W,Y){if(!this.A5||(Y===void 0?0:Y))this.A5=!0,this.TJ=W,this.L=0,this.W!=this||fg(this)};\ng.H.getName=function(){return this.W.Fr};\ng.H.py=function(){return this.W.KQ()};\ng.H.KQ=function(){return{}};\ng.H.OI=function(){return this.W.L};\ng.H.cg=function(){var W=aX();W.W=K8(!0,this.J,W.isMobileDevice)};\ng.H.LD=function(){mx0(aX(),this.J)};\ng.H.tH=function(){return this.T.W};\ng.H.sample=function(){};\ng.H.isActive=function(){return this.W.X};\ng.H.WS=function(W){var Y=this.W;this.W=W.OI()>=this.L?W:this;Y!==this.W?(this.X=this.W.X,fg(this)):this.X!==this.W.X&&(this.X=this.W.X,fg(this))};\ng.H.FL=function(W){if(W.K===this.W){var Y=!this.T.equals(W,this.N);this.T=W;Y&&LmS(this)}};\ng.H.GX=function(){return this.N};\ng.H.dispose=function(){this.gD=!0};\ng.H.Xr=function(){return this.gD};g.H=yS.prototype;g.H.observe=function(){return!0};\ng.H.unobserve=function(){};\ng.H.Ns=function(W){this.C=W};\ng.H.dispose=function(){if(!this.Xr()){var W=this.K;g.Xo(W.C,this);W.N&&this.GX()&&uTq(W);this.unobserve();this.wD=!0}};\ng.H.Xr=function(){return this.wD};\ng.H.py=function(){return this.K.py()};\ng.H.OI=function(){return this.K.OI()};\ng.H.RJ=function(){return this.K.RJ()};\ng.H.Le=function(){return this.K.Le()};\ng.H.WS=function(){};\ng.H.FL=function(){this.bZ()};\ng.H.GX=function(){return this.gD};g.H=Rk.prototype;g.H.OI=function(){return this.W.OI()};\ng.H.RJ=function(){return this.W.RJ()};\ng.H.Le=function(){return this.W.Le()};\ng.H.create=function(W,Y,k){var P=null;this.W&&(P=this.UN(W,Y,k),Wa(this.W,P));return P};\ng.H.h8=function(){return this.fB()};\ng.H.fB=function(){return!1};\ng.H.init=function(W){return this.W.initialize()?(Wa(this.W,this),this.T=W,!0):!1};\ng.H.WS=function(W){W.OI()==0&&this.T(W.RJ(),this)};\ng.H.FL=function(){};\ng.H.GX=function(){return!1};\ng.H.dispose=function(){this.C=!0};\ng.H.Xr=function(){return this.C};\ng.H.py=function(){return{}};jc.prototype.add=function(W,Y,k){++this.J;W=new jjQ(W,Y,k);this.W.push(new jjQ(W.K,W.W,W.J+this.J/4096));this.K=!0;return this};qj7.prototype.toString=function(){var W=\"//pagead2.googlesyndication.com//pagead/gen_204\",Y=JK(this.W);Y.length>0&&(W+=\"?\"+Y);return W};g.D.prototype.kp=!1;g.D.prototype.Xr=function(){return this.kp};\ng.D.prototype.dispose=function(){this.kp||(this.kp=!0,this.iz())};\ng.D.prototype[Symbol.dispose]=function(){this.dispose()};\ng.D.prototype.addOnDisposeCallback=function(W,Y){this.kp?Y!==void 0?W.call(Y):W():(this.FC||(this.FC=[]),Y&&(W=W.bind(Y)),this.FC.push(W))};\ng.D.prototype.iz=function(){if(this.FC)for(;this.FC.length;)this.FC.shift()()};var JQc=[0,SFc,tep,-1];b4.prototype.update=function(W,Y,k){W&&(this.W+=Y,this.K+=Y,this.T+=Y,this.J=Math.max(this.J,this.T));if(k===void 0?!W:k)this.T=0};var Elq=[1,.75,.5,.3,0];vC.prototype.update=function(W,Y,k,P,T,I){I=I===void 0?!0:I;Y=T?Math.min(W,Y):Y;for(T=0;T0&&Y>=X;X=!(W>0&&W>=X)||k;this.W[T].update(I&&h,P,!I||X)}};oH.prototype.update=function(W,Y,k,P){this.G=this.G!=-1?Math.min(this.G,Y.Gr):Y.Gr;this.Kg=Math.max(this.Kg,Y.Gr);this.wD=this.wD!=-1?Math.min(this.wD,Y.La):Y.La;this.TJ=Math.max(this.TJ,Y.La);this.e1.update(Y.La,k.La,Y.W,W,P);this.UP+=W;Y.Gr===0&&(this.Fr+=W);this.K.update(Y.Gr,k.Gr,Y.W,W,P);k=P||k.VY!=Y.VY?k.isVisible()&&Y.isVisible():k.isVisible();Y=!Y.isVisible()||Y.W;this.V5.update(k,W,Y)};\noH.prototype.Dw=function(){return this.V5.J>=this.bz};if(hx&&hx.URL){var spw=!($Sd().length>0);c7.b9=spw};var rQw=new jn(0,0,0,0);var Ifz=new jn(0,0,0,0);g.f(e_,g.D);g.H=e_.prototype;\ng.H.iz=function(){if(this.uw.W){if(this.zB.tZ){var W=this.uw.W;typeof W.removeEventListener===\"function\"&&W.removeEventListener(\"mouseover\",this.zB.tZ,n8());this.zB.tZ=null}this.zB.n$&&(W=this.uw.W,typeof W.removeEventListener===\"function\"&&W.removeEventListener(\"mouseout\",this.zB.n$,n8()),this.zB.n$=null)}this.F6&&this.F6.dispose();this.jL&&this.jL.dispose();delete this.NF;delete this.p$;delete this.Gl;delete this.uw.aE;delete this.uw.W;delete this.zB;delete this.F6;delete this.jL;delete this.gZ;\ng.D.prototype.iz.call(this)};\ng.H.oE=function(){return this.jL?this.jL.W:this.position};\ng.H.d1=function(W){fZ().d1(W)};\ng.H.GX=function(){return!1};\ng.H.IH=function(){return new oH};\ng.H.G9=function(){return this.NF};\ng.H.wA=function(W){return pXv(this,W,1E4)};\ng.H.xa=function(W,Y,k,P,T,I,X){this.xt||(this.A3&&(W=this.Bo(W,k,T,X),P=P&&this.Yf.Gr>=(this.VY()?.3:.5),this.H2(I,W,P),this.PF=Y,W.Gr>0&&-1===this.WC&&(this.WC=Y),this.PC==-1&&this.Dw()&&(this.PC=Y),this.AZ==-2&&(this.AZ=vj(this.oE())?W.Gr:-1),this.Yf=W),this.p$(this))};\ng.H.H2=function(W,Y,k){this.G9().update(W,Y,this.Yf,k)};\ng.H.G5=function(){return new Ex};\ng.H.Bo=function(W,Y,k,P){k=this.G5();k.W=Y;Y=vZ().K;Y=Qk(hx)===0?-1:Y.isVisible()?0:1;k.K=Y;k.Gr=this.wb(W);k.VY=this.VY();k.La=P;return k};\ng.H.wb=function(W){return this.opacity===0&&I7(this.gZ,\"opac\")===1?0:W};\ng.H.VY=function(){return!1};\ng.H.lP=function(){return this.rK||this.by};\ng.H.YX=function(){S9()};\ng.H.aP=function(){S9()};\ng.H.NS=function(){return 0};\ng.H.Dw=function(){return this.NF.Dw()};\ng.H.FE=function(){var W=this.A3;W=(this.hasCompleted||this.Xr())&&!W;var Y=fZ().K!==2||this.Wrr;return this.xt||Y&&W?2:this.Dw()?4:3};\ng.H.C2=function(){return 0};g.Ly.prototype.next=function(){return g.OO};\ng.OO={done:!0,value:void 0};g.Ly.prototype.JL=function(){return this};g.f(d$V,Ex);var ur=$ZS([void 0,1,2,3,4,8,16]),Zj=$ZS([void 0,4,8,16]),AQN={sv:\"sv\",v:\"v\",cb:\"cb\",e:\"e\",nas:\"nas\",msg:\"msg\",\"if\":\"if\",sdk:\"sdk\",p:\"p\",p0:Aw(\"p0\",Zj),p1:Aw(\"p1\",Zj),p2:Aw(\"p2\",Zj),p3:Aw(\"p3\",Zj),cp:\"cp\",tos:\"tos\",mtos:\"mtos\",amtos:\"amtos\",mtos1:zu(\"mtos1\",[0,2,4],!1,Zj),mtos2:zu(\"mtos2\",[0,2,4],!1,Zj),mtos3:zu(\"mtos3\",[0,2,4],!1,Zj),mcvt:\"mcvt\",ps:\"ps\",scs:\"scs\",bs:\"bs\",vht:\"vht\",mut:\"mut\",a:\"a\",a0:Aw(\"a0\",Zj),a1:Aw(\"a1\",Zj),a2:Aw(\"a2\",Zj),a3:Aw(\"a3\",Zj),ft:\"ft\",dft:\"dft\",at:\"at\",dat:\"dat\",as:\"as\",\nvpt:\"vpt\",gmm:\"gmm\",std:\"std\",efpf:\"efpf\",swf:\"swf\",nio:\"nio\",px:\"px\",nnut:\"nnut\",vmer:\"vmer\",vmmk:\"vmmk\",vmiec:\"vmiec\",nmt:\"nmt\",tcm:\"tcm\",bt:\"bt\",pst:\"pst\",vpaid:\"vpaid\",dur:\"dur\",vmtime:\"vmtime\",dtos:\"dtos\",dtoss:\"dtoss\",dvs:\"dvs\",dfvs:\"dfvs\",dvpt:\"dvpt\",fmf:\"fmf\",vds:\"vds\",is:\"is\",i0:\"i0\",i1:\"i1\",i2:\"i2\",i3:\"i3\",ic:\"ic\",cs:\"cs\",c:\"c\",c0:Aw(\"c0\",Zj),c1:Aw(\"c1\",Zj),c2:Aw(\"c2\",Zj),c3:Aw(\"c3\",Zj),mc:\"mc\",nc:\"nc\",mv:\"mv\",nv:\"nv\",qmt:Aw(\"qmtos\",ur),qnc:Aw(\"qnc\",ur),qmv:Aw(\"qmv\",ur),qnv:Aw(\"qnv\",ur),\nraf:\"raf\",rafc:\"rafc\",lte:\"lte\",ces:\"ces\",tth:\"tth\",femt:\"femt\",femvt:\"femvt\",emc:\"emc\",emuc:\"emuc\",emb:\"emb\",avms:\"avms\",nvat:\"nvat\",qi:\"qi\",psm:\"psm\",psv:\"psv\",psfv:\"psfv\",psa:\"psa\",pnk:\"pnk\",pnc:\"pnc\",pnmm:\"pnmm\",pns:\"pns\",ptlt:\"ptlt\",pngs:\"pings\",veid:\"veid\",ssb:\"ssb\",ss0:Aw(\"ss0\",Zj),ss1:Aw(\"ss1\",Zj),ss2:Aw(\"ss2\",Zj),ss3:Aw(\"ss3\",Zj),dc_rfl:\"urlsigs\",obd:\"obd\",omidp:\"omidp\",omidr:\"omidr\",omidv:\"omidv\",omida:\"omida\",omids:\"omids\",omidpv:\"omidpv\",omidam:\"omidam\",omidct:\"omidct\",omidia:\"omidia\",\nomiddc:\"omiddc\",omidlat:\"omidlat\",omiddit:\"omiddit\",nopd:\"nopd\",co:\"co\",tm:\"tm\",tu:\"tu\"},z0c=Object.assign({},AQN,{avid:e9(\"audio\"),avas:\"avas\",vs:\"vs\"}),dLN={atos:\"atos\",avt:zu(\"atos\",[2]),davs:\"davs\",dafvs:\"dafvs\",dav:\"dav\",ss:function(W,Y){return function(k){return k[W]===void 0&&Y!==void 0?Y:k[W]}}(\"ss\",0),\nt:\"t\"};vQ.prototype.getValue=function(){return this.K};\nvQ.prototype.update=function(W,Y){W>=32||(this.W&1<=.5;TC(Y.volume)&&(this.T=this.T!=-1?Math.min(this.T,Y.volume):Y.volume,this.X=Math.max(this.X,Y.volume));I&&(this.gD+=W,this.N+=T?W:0);this.W.update(Y.Gr,k.Gr,Y.W,W,P,T);this.J.update(!0,W);this.C.update(T,W);this.A5.update(k.fullscreen,W);this.Lg.update(T&&!I,W);W=Math.floor(Y.mediaTime/1E3);this.OP.update(W,Y.isVisible());this.Q5.update(W,Y.Gr>=1);this.rD.update(W,\nzI(Y))}};A00.prototype.K=function(W){this.J||(this.W(W)?(W=$Bq(this.N,this.T,W),this.C|=W,W=W==0):W=!1,this.J=W)};g.f(S5,A00);S5.prototype.W=function(){return!0};\nS5.prototype.X=function(){return!1};\nS5.prototype.getId=function(){var W=this,Y=Us(lC,function(k){return k==W.T});\nreturn iS[Y].toString()};\nS5.prototype.toString=function(){var W=\"\";this.X()&&(W+=\"c\");this.J&&(W+=\"s\");this.C>0&&(W+=\":\"+this.C);return this.getId()+W};g.f(Cm,S5);Cm.prototype.K=function(W,Y){Y=Y===void 0?null:Y;Y!=null&&this.G.push(Y);S5.prototype.K.call(this,W)};g.f(N9,HGC);N9.prototype.K=function(){return null};\nN9.prototype.J=function(){return[]};g.f(YF,yS);g.H=YF.prototype;g.H.rC=function(){if(this.element){var W=this.element,Y=this.K.W.J;try{try{var k=WpF(W.getBoundingClientRect())}catch(O){k=new jn(0,0,0,0)}var P=k.right-k.left,T=k.bottom-k.top,I=Mw7(W,Y),X=I.x,h=I.y;var B=new jn(Math.round(h),Math.round(X+P),Math.round(h+T),Math.round(X))}catch(O){B=rQw.clone()}this.J=B;this.W=nXd(this,this.J)}};\ng.H.jX=function(){this.X=this.K.T.W};\ng.H.Sa=function(W){var Y=I7(this.gZ,\"od\")==1;return ATd(W,this.X,this.element,Y)};\ng.H.ZQ=function(){this.timestamp=S9()};\ng.H.bZ=function(){this.ZQ();this.rC();if(this.element&&typeof this.element.videoWidth===\"number\"&&typeof this.element.videoHeight===\"number\"){var W=this.element;var Y=new g.Sn(W.videoWidth,W.videoHeight);W=this.W;var k=T3(W),P=W.getHeight(),T=Y.width;Y=Y.height;T<=0||Y<=0||k<=0||P<=0||(T/=Y,Y=k/P,W=W.clone(),T>Y?(k/=T,P=(P-k)/2,P>0&&(P=W.top+P,W.top=Math.round(P),W.bottom=Math.round(P+k))):(P*=T,k=Math.round((k-P)/2),k>0&&(k=W.left+k,W.left=Math.round(k),W.right=Math.round(k+P))));this.W=W}this.jX();\nW=this.W;k=this.X;W=W.left<=k.right&&k.left<=W.right&&W.top<=k.bottom&&k.top<=W.bottom?new jn(Math.max(W.top,k.top),Math.min(W.right,k.right),Math.min(W.bottom,k.bottom),Math.max(W.left,k.left)):new jn(0,0,0,0);k=W.top>=W.bottom||W.left>=W.right?new jn(0,0,0,0):W;W=this.K.T;Y=T=P=0;if((this.W.bottom-this.W.top)*(this.W.right-this.W.left)>0)if(this.Sa(k))k=new jn(0,0,0,0);else{P=aX().T;Y=new jn(0,P.height,P.width,0);var I;P=HC(k,(I=this.C)!=null?I:this.W);T=HC(k,aX().W);Y=HC(k,Y)}I=k.top>=k.bottom||\nk.left>=k.right?new jn(0,0,0,0):Nl(k,-this.W.left,-this.W.top);er()||(T=P=0);this.N=new H7(W,this.element,this.W,I,P,T,this.timestamp,Y)};\ng.H.getName=function(){return this.K.getName()};var mLh=new jn(0,0,0,0);g.f(F9,YF);g.H=F9.prototype;g.H.observe=function(){this.T();return!0};\ng.H.FL=function(){YF.prototype.bZ.call(this)};\ng.H.ZQ=function(){};\ng.H.rC=function(){};\ng.H.bZ=function(){this.T();YF.prototype.bZ.call(this)};\ng.H.WS=function(W){W=W.isActive();W!==this.L&&(W?this.T():(aX().W=new jn(0,0,0,0),this.W=new jn(0,0,0,0),this.X=new jn(0,0,0,0),this.timestamp=-1));this.L=W};var ir={},B4z=(ir.firstquartile=0,ir.midpoint=1,ir.thirdquartile=2,ir.complete=3,ir);g.f(i4z,e_);g.H=i4z.prototype;g.H.GX=function(){return!0};\ng.H.bl=function(){return this.DP==2};\ng.H.wA=function(W){return pXv(this,W,Math.max(1E4,this.J/3))};\ng.H.xa=function(W,Y,k,P,T,I,X){var h=this,B=this.G(this)||{};g.ux(B,T);this.J=B.duration||this.J;this.N=B.isVpaid||this.N;this.Fr=B.isYouTube||this.Fr;vZ();this.e1=!1;T=NN2(this,Y);$tS(this)===1&&(I=T);e_.prototype.xa.call(this,W,Y,k,P,B,I,X);this.dO&&this.dO.J&&g.hv(this.X,function(O){O.K(h)})};\ng.H.H2=function(W,Y,k){e_.prototype.H2.call(this,W,Y,k);Kz(this).update(W,Y,this.Yf,k);this.bz=zI(this.Yf)&&zI(Y);this.TJ==-1&&this.Q5&&(this.TJ=this.G9().J.W);this.Rs.J=0;W=this.Dw();Y.isVisible()&&vw(this.Rs,\"vs\");W&&vw(this.Rs,\"vw\");TC(Y.volume)&&vw(this.Rs,\"am\");zI(Y)?vw(this.Rs,\"a\"):vw(this.Rs,\"mut\");this.SY&&vw(this.Rs,\"f\");Y.K!=-1&&(vw(this.Rs,\"bm\"),Y.K==1&&(vw(this.Rs,\"b\"),zI(Y)&&vw(this.Rs,\"umutb\")));zI(Y)&&Y.isVisible()&&vw(this.Rs,\"avs\");this.bz&&W&&vw(this.Rs,\"avw\");Y.Gr>0&&vw(this.Rs,\n\"pv\");ra(this,this.G9().J.W,!0)&&vw(this.Rs,\"gdr\");dH(this.G9().K,1)>=2E3&&vw(this.Rs,\"pmx\");this.e1&&vw(this.Rs,\"tvoff\")};\ng.H.IH=function(){return new CY};\ng.H.G9=function(){return this.NF};\ng.H.G5=function(){return new d$V};\ng.H.Bo=function(W,Y,k,P){W=e_.prototype.Bo.call(this,W,Y,k,P===void 0?-1:P);W.fullscreen=this.SY;W.paused=this.bl();W.volume=k.volume;TC(W.volume)||(this.A9++,Y=this.Yf,TC(Y.volume)&&(W.volume=Y.volume));k=k.currentTime;W.mediaTime=k!==void 0&&k>=0?k:-1;return W};\ng.H.wb=function(W){return aX(),this.SY?1:e_.prototype.wb.call(this,W)};\ng.H.NS=function(){return 1};\ng.H.getDuration=function(){return this.J};\ng.H.FE=function(){return this.xt?2:VKv(this)?5:this.Dw()?4:3};\ng.H.C2=function(){return this.Lg?this.G9().C.J>=2E3?4:3:2};\ng.H.Ns=function(W){this.jL&&this.jL.Ns(W)};var DLK=g.hQ();fR5.prototype.reset=function(){this.W=[];this.K=[]};\nvar Kj=dU(fR5);g.f(nr,Rk);g.H=nr.prototype;g.H.getName=function(){return(this.K?this.K:this.W).getName()};\ng.H.py=function(){return(this.K?this.K:this.W).py()};\ng.H.OI=function(){return(this.K?this.K:this.W).OI()};\ng.H.init=function(W){var Y=!1;(0,g.hv)(this.J,function(k){k.initialize()&&(Y=!0)});\nY&&(this.T=W,Wa(this.W,this));return Y};\ng.H.dispose=function(){(0,g.hv)(this.J,function(W){W.dispose()});\nRk.prototype.dispose.call(this)};\ng.H.h8=function(){return Wk(this.J,function(W){return W.ZE()})};\ng.H.fB=function(){return Wk(this.J,function(W){return W.ZE()})};\ng.H.UN=function(W,Y,k){return new YF(W,this.W,Y,k)};\ng.H.FL=function(W){this.K=W.K};var sg2={threshold:[0,.3,.5,.75,1]};g.f(I1,YF);g.H=I1.prototype;g.H.observe=function(){var W=this;this.Kg||(this.Kg=S9());if(rT0(298,function(){return rL2(W)}))return!0;\nthis.K.fail(\"msf\");return!1};\ng.H.unobserve=function(){if(this.T&&this.element)try{this.T.unobserve(this.element),this.L?(this.L.unobserve(this.element),this.L=null):this.G&&(this.G.disconnect(),this.G=null)}catch(W){}};\ng.H.bZ=function(){var W=Qm(this);W.length>0&&wF(this,W);YF.prototype.bZ.call(this)};\ng.H.rC=function(){};\ng.H.Sa=function(){return!1};\ng.H.jX=function(){};\ng.H.py=function(){var W={};return Object.assign(this.K.py(),(W.niot_obs=this.Kg,W.niot_cbk=this.A5,W))};\ng.H.getName=function(){return\"nio\"};g.f(JE,Rk);JE.prototype.getName=function(){return\"nio\"};\nJE.prototype.fB=function(){return!aX().K&&this.W.W.J.IntersectionObserver!=null};\nJE.prototype.UN=function(W,Y,k){return new I1(W,this.W,Y,k)};g.f(jb,HO);jb.prototype.tH=function(){return aX().W};\njb.prototype.ZE=function(){var W=nnX();this.L!==W&&(this.W!=this&&W>this.W.L&&(this.W=this,fg(this)),this.L=W);return W==2};dg.prototype.sample=function(){o0(this,Ws(),!1)};\ndg.prototype.T=function(){var W=er(),Y=S9();W?(QO||(yO=Y,g.hv(Kj.W,function(k){var P=k.G9();P.GJ=nz(P,Y,k.DP!=1)})),QO=!0):(this.G=cm1(this,Y),QO=!1,PYz=Y,g.hv(Kj.W,function(k){k.A3&&(k.G9().L=Y)}));\no0(this,Ws(),!W)};\nvar bQ=dU(dg);var $mX=null,FJ=\"\",Yw=!1;var Ui2=Qvq().GM,E9=Qvq().IA;var ML1={w4D:\"visible\",fJ1:\"audible\",LgP:\"time\",hra:\"timetype\"},tLF={visible:function(W){return/^(100|[0-9]{1,2})$/.test(W)},\naudible:function(W){return W==\"0\"||W==\"1\"},\ntimetype:function(W){return W==\"mtos\"||W==\"tos\"},\ntime:function(W){return/^(100|[0-9]{1,2})%$/.test(W)||/^([0-9])+ms$/.test(W)}};\nShz.prototype.setTime=function(W,Y,k){Y==\"ms\"?(this.J=W,this.T=-1):(this.J=-1,this.T=W);this.C=k===void 0?\"tos\":k;return this};g.f(zt,S5);zt.prototype.getId=function(){return this.G};\nzt.prototype.X=function(){return!0};\nzt.prototype.W=function(W){var Y=W.G9(),k=W.getDuration();return Wk(this.L,function(P){if(P.W!=void 0)var T=BJC(P,Y);else b:{switch(P.C){case \"mtos\":T=P.K?Y.C.J:Y.J.W;break b;case \"tos\":T=P.K?Y.C.W:Y.J.W;break b}T=0}T==0?P=!1:(P=P.J!=-1?P.J:k!==void 0&&k>0?P.T*k:-1,P=P!=-1&&T>=P);return P})};g.f(Qj,l$z);Qj.prototype.W=function(W){var Y=new PvS;Y.W=PN(W,AQN);Y.K=PN(W,dLN);return Y};g.f(px,S5);px.prototype.W=function(W){return VKv(W)};g.f(tV,HGC);g.f(Yg,S5);Yg.prototype.W=function(W){return W.G9().Dw()};g.f(rMX,Cm);rMX.prototype.W=function(W){var Y=g.oq(this.G,I7(fZ().gZ,\"ovms\"));return!W.xt&&(W.DP!=0||Y)};g.f(x_,tV);x_.prototype.K=function(){return new rMX(this.W)};\nx_.prototype.J=function(){return[new Yg(\"viewable_impression\",this.W),new px(this.W)]};g.f(hT,F9);hT.prototype.T=function(){var W=g.o3(\"ima.admob.getViewability\"),Y=I7(this.gZ,\"queryid\");typeof W===\"function\"&&Y&&W(Y)};\nhT.prototype.getName=function(){return\"gsv\"};g.f(vi,Rk);vi.prototype.getName=function(){return\"gsv\"};\nvi.prototype.fB=function(){var W=aX();fZ();return W.K&&!1};\nvi.prototype.UN=function(W,Y,k){return new hT(this.W,Y,k)};g.f(wU,F9);wU.prototype.T=function(){var W=this,Y=g.o3(\"ima.bridge.getNativeViewability\"),k=I7(this.gZ,\"queryid\");typeof Y===\"function\"&&k&&Y(k,function(P){g.x3(P)&&W.G++;var T=P.opt_nativeViewVisibleBounds||{},I=P.opt_nativeViewHidden;W.W=gQ2(P.opt_nativeViewBounds||{});var X=W.K.T;X.W=I?mLh.clone():gQ2(T);W.timestamp=P.opt_nativeTime||-1;aX().W=X.W;P=P.opt_nativeVolume;P!==void 0&&(X.volume=P)})};\nwU.prototype.getName=function(){return\"nis\"};g.f(Cy,Rk);Cy.prototype.getName=function(){return\"nis\"};\nCy.prototype.fB=function(){var W=aX();fZ();return W.K&&!1};\nCy.prototype.UN=function(W,Y,k){return new wU(this.W,Y,k)};g.f(FB,HO);g.H=FB.prototype;g.H.ZE=function(){return this.K.cV!=null};\ng.H.KQ=function(){var W={};this.OP&&(W.mraid=this.OP);this.wD&&(W.mlc=1);W.mtop=this.K.XkJ;this.G&&(W.mse=this.G);this.UP&&(W.msc=1);W.mcp=this.K.compatibility;return W};\ng.H.OM=function(W){var Y=g.xh.apply(1,arguments);try{return this.K.cV[W].apply(this.K.cV,Y)}catch(k){zH(538,k,.01,function(P){P.method=W})}};\ng.H.initialize=function(){var W=this;if(this.isInitialized)return!this.Le();this.isInitialized=!0;if(this.K.compatibility===2)return this.G=\"ng\",this.fail(\"w\"),!1;if(this.K.compatibility===1)return this.G=\"mm\",this.fail(\"w\"),!1;aX().L=!0;this.J.document.readyState&&this.J.document.readyState==\"complete\"?aF1(this):Va(this.J,\"load\",function(){vZ().setTimeout(T2(292,function(){return aF1(W)}),100)},292);\nreturn!0};\ng.H.cg=function(){var W=aX(),Y=yvV(this,\"getMaxSize\");W.W=new jn(0,Y.width,Y.height,0)};\ng.H.LD=function(){aX().T=yvV(this,\"getScreenSize\")};\ng.H.dispose=function(){A_v(this);HO.prototype.dispose.call(this)};var g$1=new function(W,Y){this.key=W;this.defaultValue=Y===void 0?!1:Y;this.valueType=\"boolean\"}(\"45378663\");g.H=vz.prototype;g.H.Bm=function(W){wS(W,!1);na0(W)};\ng.H.dN=function(){};\ng.H.dJ=function(W,Y,k,P){var T=this;W=new i4z(Cc,W,k?Y:-1,7,this.tM(),this.iF());W.Pl=P;rFC(W.gZ);VI(W.gZ,\"queryid\",W.Pl);W.d1(\"\");kXd(W,function(){return T.jd.apply(T,g.cp(g.xh.apply(0,arguments)))},function(){return T.TN.apply(T,g.cp(g.xh.apply(0,arguments)))});\n(P=dU(mj).W)&&LQ5(W,P);this.J&&(W.Ns(this.J),this.J=null);W.uw.aE&&dU(hP0);return W};\ng.H.WS=function(W){switch(W.OI()){case 0:if(W=dU(mj).W)W=W.W,g.Xo(W.C,this),W.N&&this.GX()&&uTq(W);gU();break;case 2:f$()}};\ng.H.FL=function(){};\ng.H.GX=function(){return!1};\ng.H.TN=function(W,Y){W.xt=!0;switch(W.NS()){case 1:Bgv(W,Y);break;case 2:this.Lw(W)}};\ng.H.tF=function(W){var Y=W.G(W);Y&&(Y=Y.volume,W.Lg=TC(Y)&&Y>0);DdV(W,0);return Kh(W,\"start\",er())};\ng.H.LS=function(W,Y,k){o0(bQ,[W],!er());return this.b4(W,Y,k)};\ng.H.b4=function(W,Y,k){return Kh(W,k,er())};\ng.H.gK=function(W){return Im(W,\"firstquartile\",1)};\ng.H.Yu=function(W){W.Q5=!0;return Im(W,\"midpoint\",2)};\ng.H.sZ=function(W){return Im(W,\"thirdquartile\",3)};\ng.H.oh=function(W){var Y=Im(W,\"complete\",4);Zb(W);return Y};\ng.H.SU=function(W){W.DP=3;return Kh(W,\"error\",er())};\ng.H.cR=function(W,Y,k){Y=er();if(W.bl()&&!Y){var P=W.G9(),T=S9();P.L=T}o0(bQ,[W],!Y);W.bl()&&(W.DP=1);return Kh(W,k,Y)};\ng.H.nj=function(W,Y){Y=this.LS(W,Y||{},\"skip\");Zb(W);return Y};\ng.H.uy=function(W,Y){wS(W,!0);return this.LS(W,Y||{},\"fullscreen\")};\ng.H.Cj=function(W,Y){wS(W,!1);return this.LS(W,Y||{},\"exitfullscreen\")};\ng.H.GD=function(W,Y,k){Y=W.G9();var P=S9();Y.GJ=nz(Y,P,W.DP!=1);o0(bQ,[W],!er());W.DP==1&&(W.DP=2);return Kh(W,k,er())};\ng.H.UZ=function(W){o0(bQ,[W],!er());return W.K()};\ng.H.KJ=function(W){o0(bQ,[W],!er());this.dB(W);Zb(W);return W.K()};\ng.H.jd=function(){};\ng.H.Lw=function(){};\ng.H.dB=function(){};\ng.H.M3=function(){};\ng.H.sf=function(){};\ng.H.iF=function(){this.W||(this.W=this.sf());return this.W==null?new N9:new x_(this.W)};\ng.H.tM=function(){return new Qj};g.f(W0,S5);W0.prototype.W=function(W){return W.C2()==4};g.f(Lm,Cm);Lm.prototype.W=function(W){W=W.C2();return W==3||W==4};g.f(Pm,tV);Pm.prototype.K=function(){return new Lm(this.W)};\nPm.prototype.J=function(){return[new W0(this.W)]};g.f(SR,l$z);SR.prototype.W=function(W){W&&(W.e===28&&(W=Object.assign({},W,{avas:3})),W.vs===4||W.vs===5)&&(W=Object.assign({},W,{vs:3}));var Y=new PvS;Y.W=PN(W,z0c);Y.K=PN(W,dLN);return Y};MRC.prototype.K=function(){return g.o3(this.W)};g.f(fN,vz);g.H=fN.prototype;g.H.dN=function(W,Y){var k=this,P=dU(mj);if(P.W!=null)switch(P.W.getName()){case \"nis\":var T=HSd(this,W,Y);break;case \"gsv\":T=ec0(this,W,Y);break;case \"exc\":T=MFF(this,W)}T||(Y.opt_overlayAdElement?T=void 0:Y.opt_adElement&&(T=dc$(this,W,Y.opt_adElement,Y.opt_osdId)));T&&T.NS()==1&&(T.G==g.O7&&(T.G=function(I){return k.M3(I)}),PM0(this,T,Y));\nreturn T};\ng.H.M3=function(W){W.K=0;W.gD=0;if(W.T==\"h\"||W.T==\"n\"){fZ();W.rD&&(fZ(),Vp(this)!=\"h\"&&Vp(this));var Y=g.o3(\"ima.common.getVideoMetadata\");if(typeof Y===\"function\")try{var k=Y(W.Pl)}catch(T){W.K|=4}else W.K|=2}else if(W.T==\"b\")if(Y=g.o3(\"ytads.bulleit.getVideoMetadata\"),typeof Y===\"function\")try{k=Y(W.Pl)}catch(T){W.K|=4}else W.K|=2;else if(W.T==\"ml\")if(Y=g.o3(\"ima.common.getVideoMetadata\"),typeof Y===\"function\")try{k=Y(W.Pl)}catch(T){W.K|=4}else W.K|=2;else W.K|=1;W.K||(k===void 0?W.K|=8:k===null?\nW.K|=16:g.x3(k)?W.K|=32:k.errorCode!=null&&(W.gD=k.errorCode,W.K|=64));k==null&&(k={});Y=k;W.L=0;for(var P in E$9)Y[P]==null&&(W.L|=E$9[P]);d52(Y,\"currentTime\");d52(Y,\"duration\");TC(k.volume)&&TC()&&(k.volume*=NaN);return k};\ng.H.sf=function(){fZ();Vp(this)!=\"h\"&&Vp(this);var W=KBS(this);return W!=null?new MRC(W):null};\ng.H.Lw=function(W){!W.W&&W.xt&&sd(this,W,\"overlay_unmeasurable_impression\")&&(W.W=!0)};\ng.H.dB=function(W){W.Ht&&(W.Dw()?sd(this,W,\"overlay_viewable_end_of_session_impression\"):sd(this,W,\"overlay_unviewable_impression\"),W.Ht=!1)};\ng.H.jd=function(){};\ng.H.dJ=function(W,Y,k,P){if(fZ().flags.Ik(g$1)){var T=I7(fZ().gZ,\"mm\"),I={};(T=(I[IA7.KW]=\"ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO\",I[IA7.VIDEO]=\"ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO\",I)[T])&&zV6(this,T);this.T===\"ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED\"&&zH(1044,Error())}W=vz.prototype.dJ.call(this,W,Y,k,P);this.C&&(Y=this.X,W.C==null&&(W.C=new bbd),Y.W[W.Pl]=W.C,W.C.C=DLK);return W};\ng.H.Bm=function(W){W&&W.NS()==1&&this.C&&delete this.X.W[W.Pl];return vz.prototype.Bm.call(this,W)};\ng.H.iF=function(){this.W||(this.W=this.sf());return this.W==null?new N9:this.T===\"ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO\"?new Pm(this.W):new x_(this.W)};\ng.H.tM=function(){return this.T===\"ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO\"?new SR:new Qj};\ng.H.Ns=function(W,Y,k,P,T){Y=new jn(k,Y+P,k+T,Y);(W=EE(Kj,W))?W.Ns(Y):this.J=Y};\nvar Fu9=cM(193,B91,void 0,xU0);g.qa(\"Goog_AdSense_Lidar_sendVastEvent\",Fu9);var wZj=T2(194,function(W,Y){Y=Y===void 0?{}:Y;W=ivX(dU(fN),W,Y);return hZv(W)});\ng.qa(\"Goog_AdSense_Lidar_getViewability\",wZj);var Qpw=cM(195,function(){return yb2()});\ng.qa(\"Goog_AdSense_Lidar_getUrlSignalsArray\",Qpw);var yQc=T2(196,function(){return JSON.stringify(yb2())});\ng.qa(\"Goog_AdSense_Lidar_getUrlSignalsList\",yQc);var wA6=g.gY([\"//ep2.adtrafficquality.google/sodar/\",\"\"]),QBv=g.gY([\"//tpc.googlesyndication.com/sodar/\",\"\"]);g.f(Uo,Error);g.f($K,g.D);$K.prototype.MC=function(){return this.wpc.f()};\n$K.prototype.Yg=function(W){this.wpc.c(W)};\n$K.prototype.Ly=function(W){return this.wpc.m(wzv(W))};\n$K.prototype.R_=function(W){return this.wpc.mws(wzv(W))};\ng.f(D6,g.D);D6.prototype.snapshot=function(W){return this.W5.s(Object.assign({},W.mO&&{c:W.mO},W.N1&&{s:W.N1},W.l9!==void 0&&{p:W.l9}))};\nD6.prototype.Vv=function(W){this.W5.e(W)};\nD6.prototype.bP=function(){return this.W5.l()};g.f(GS,g.D);GS.prototype.share=function(){if(this.Xr())throw Error(\"E:AD\");this.K++;return this};\nGS.prototype.dispose=function(){--this.K||g.D.prototype.dispose.call(this)};Hi2.prototype.NB=function(W,Y){this.W.NB(\"/client_streamz/bg/frs\",W,Y)};\nIud.prototype.NB=function(W,Y,k,P,T,I){this.W.NB(\"/client_streamz/bg/wrl\",W,Y,k,P,T,I)};\nnm7.prototype.Vt=function(W,Y){this.W.vH(\"/client_streamz/bg/ec\",W,Y)};\npP0.prototype.NB=function(W,Y,k){this.W.NB(\"/client_streamz/bg/el\",W,Y,k)};\nghd.prototype.Vt=function(W,Y){this.W.vH(\"/client_streamz/bg/cec\",W,Y)};\nU$z.prototype.Vt=function(W,Y){this.W.vH(\"/client_streamz/bg/po/csc\",W,Y)};\nkov.prototype.Vt=function(W,Y){this.W.vH(\"/client_streamz/bg/po/ctav\",W,Y)};\nNyX.prototype.Vt=function(W,Y){this.W.vH(\"/client_streamz/bg/po/cwsc\",W,Y)};g.f(yRX,B9);g.f(tu,B9);var xq=[1,2,3];var e0j=[0,xq,n$9,ZcB,R0c];var o$w=[0,jF,[0,jpN,SFc]];g.f(kIC,B9);var DhF=[1,2,3];var v$z=[0,DhF,BEK,XZQ,X1,o$w];g.f(kg,B9);var C79=[0,jF,e0j,v$z];var Luc=[0,Tk];g.f(Ez,B9);var ULh=[0,Tk,-1,qFc];var lYz=[0,Tk,-1,OcK,qFc];g.f(bK,B9);var Mmd=[1,2,3];var bc1=[0,Mmd,X1,ULh,X1,lYz,X1,Luc];g.f(u3,B9);u3.prototype.Y$=function(){var W=Ib(this,3,d3,3,!0);ZP(W);return W[void 0]};u3.prototype.J=daC([0,Tk,bc1,Hc$,jF,C79,icB,Mew]);g.f(SeX,B9);g.H=cw.prototype;g.H.isEnabled=function(){if(!g.hL.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set(\"TESTCOOKIESENABLED\",\"1\",{k_:60});if(this.get(\"TESTCOOKIESENABLED\")!==\"1\")return!1;this.remove(\"TESTCOOKIESENABLED\");return!0};\ng.H.set=function(W,Y,k){var P=!1;if(typeof k===\"object\"){var T=k.LB1;P=k.secure||!1;var I=k.domain||void 0;var X=k.path||void 0;var h=k.k_}if(/[;=\\s]/.test(W))throw Error('Invalid cookie name \"'+W+'\"');if(/[;\\r\\n]/.test(Y))throw Error('Invalid cookie value \"'+Y+'\"');h===void 0&&(h=-1);k=I?\";domain=\"+I:\"\";X=X?\";path=\"+X:\"\";P=P?\";secure\":\"\";h=h<0?\"\":h==0?\";expires=\"+(new Date(1970,1,1)).toUTCString():\";expires=\"+(new Date(Date.now()+h*1E3)).toUTCString();this.W.cookie=W+\"=\"+Y+k+X+h+P+(T!=null?\";samesite=\"+\nT:\"\")};\ng.H.get=function(W,Y){for(var k=W+\"=\",P=(this.W.cookie||\"\").split(\";\"),T=0,I;T=0;Y--)this.remove(W[Y])};\nvar UJ=new cw(typeof document==\"undefined\"?null:document);bg6.prototype.compress=function(W){var Y,k,P,T;return g.v(function(I){switch(I.W){case 1:return Y=new CompressionStream(\"gzip\"),k=(new Response(Y.readable)).arrayBuffer(),P=Y.writable.getWriter(),g.L(I,P.write((new TextEncoder).encode(W)),2);case 2:return g.L(I,P.close(),3);case 3:return T=Uint8Array,g.L(I,k,4);case 4:return I.return(new T(I.K))}})};\nbg6.prototype.isSupported=function(W){return W<1024?!1:typeof CompressionStream!==\"undefined\"};g.f(j0,B9);tj.prototype.setInterval=function(W){this.intervalMs=W;this.timer&&this.enabled?(this.stop(),this.start()):this.timer&&this.stop()};\ntj.prototype.start=function(){var W=this;this.enabled=!0;this.timer||(this.timer=setTimeout(function(){W.tick()},this.intervalMs),this.K=this.W())};\ntj.prototype.stop=function(){this.enabled=!1;this.timer&&(clearTimeout(this.timer),this.timer=void 0)};\ntj.prototype.tick=function(){var W=this;if(this.enabled){var Y=Math.max(this.W()-this.K,0);Y0?k:void 0));k=XA(k,4,Bs(T>0?T:void 0));k=XA(k,5,Bs(I>0?I:void 0));T=k.h5;I=T[a_]|0;k=yb(k,I)?k:di(k,T,I)?y$(k,T):new k.constructor(PQ(T,I,!0));S2(X,xL,10,k)}X=this.W.clone();k=Date.now().toString();X=XA(X,4,O1(k));W=ej(X,sX,3,W.slice());P&&(X=new M9,P=XA(X,13,Bs(P)),X=new Kr,\nP=S2(X,M9,2,P),X=new iy6,P=S2(X,Kr,1,P),P=Pu(P,2,9),S2(W,iy6,18,P));Y&&hS(W,14,Y);return W};g.V7.prototype.K=0;g.V7.prototype.reset=function(){this.W=this.J=this.T;this.K=0};\ng.V7.prototype.getValue=function(){return this.J};g.f(xA,B9);var cQz=x4(xA);g.f(DHC,B9);var Mo;Mo=new grd;g.f(fXh,g.D);g.H=fXh.prototype;g.H.iz=function(){oh(this);this.K.stop();this.OP.stop();g.D.prototype.iz.call(this)};\ng.H.dispatch=function(W){if(W instanceof sX)this.log(W);else try{var Y=new sX,k=W.WK();var P=P0(Y,8,k);this.log(P)}catch(T){Ut(this,4,1)}};\ng.H.log=function(W){Ut(this,2,1);if(this.UP){W=W.clone();var Y=this.V5++;W=hS(W,21,Y);this.componentId&&P0(W,26,this.componentId);Y=W;var k=Yn(Y,1);var P=P===void 0?!1:P;var T=typeof k;P=k==null?k:T===\"bigint\"?String($n(64,k)):kn(k)?T===\"string\"?Gy(k):P?RT(k):KU(k):void 0;P==null&&(P=Date.now(),P=Number.isFinite(P)?P.toString():\"0\",XA(Y,1,O1(P)));P=Yn(Y,15);P!=null&&(typeof P===\"bigint\"?Nfq(P)?P=Number(P):(P=$n(64,P),P=Nfq(P)?Number(P):String(P)):P=kn(P)?typeof P===\"number\"?KU(P):Gy(P):void 0);P!=\nnull||hS(Y,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(P=this.experimentIds.clone(),S2(Y,j0,16,P));Ut(this,1,1);Y=this.W.length-1E3+1;Y>0&&(this.W.splice(0,Y),this.T+=Y,Ut(this,3,Y));this.W.push(W);this.Li||this.K.enabled||this.K.start()}};\ng.H.flush=function(W,Y){var k=this;if(this.W.length===0)W&&W();else if(this.TJ&&this.A5)this.J.K=3,gFX(this);else{var P=Date.now();if(this.GJ>P&&this.gD0&&(k.gD=Date.now(),k.GJ=k.gD+M);M=Eh(yu);var G;cI&&M&&((G=t.h5[M])==null?void 0:G[175237375])!=null&&Uz(v8p,3);a:{var E=E===void 0?!1:E;if(Eh(Cjh)&&Eh(yu)&&void 0===Cjh){G=t.h5;M=G[yu];if(!M)break a;if(M=M.JG)try{M(G,175237375,xSw);break a}catch(z){FE(z)}}E&&(E=t.h5,(G=Eh(yu))&&G in E&&(E=E[G])&&delete E[175237375])}E=Mo.W?Mo.K(t,Mo.W,\n175237375,Mo.J):Mo.K(t,175237375,null,Mo.J);if(E=E===null?void 0:E)E=wt(E,1,-1),E!==-1&&(k.C=new g.V7(E<1?1:E,3E5,.1),k.K.setInterval(k.C.getValue()))}}W&&W();k.X=0};\nh?h.then(function(M){Ut(k,5,T);B.requestHeaders[\"Content-Encoding\"]=\"gzip\";B.requestHeaders[\"Content-Type\"]=\"application/binary\";B.body=M;B.jf=2;u()},function(){Ut(k,6,T);\nu()}):u()}}}};\ng.H.isRetryable=function(W){return 500<=W&&W<600||W===401||W===0};QF.prototype.send=function(W,Y,k){var P=this,T,I,X,h,B,O,u,Z,M,t;return g.v(function(q){switch(q.W){case 1:return I=(T=P.wR?new AbortController:void 0)?setTimeout(function(){T.abort()},W.timeoutMillis):void 0,g.Ta(q,2,3),X=Object.assign({},{method:W.requestType,\nheaders:Object.assign({},W.requestHeaders)},W.body&&{body:W.body},W.withCredentials&&{credentials:\"include\"},{signal:W.timeoutMillis&&T?T.signal:null}),g.L(q,fetch(W.url,X),5);case 5:h=q.K;if(h.status!==200){(B=k)==null||B(h.status);q.oi(3);break}if((O=Y)==null){q.oi(7);break}return g.L(q,h.text(),8);case 8:O(q.K);case 7:case 3:g.Ei(q);clearTimeout(I);g.JB(q,0);break;case 2:u=g.jh(q);switch((Z=u)==null?void 0:Z.name){case \"AbortError\":(M=k)==null||M(408);break;default:(t=k)==null||t(400)}q.oi(3)}})};\nQF.prototype.Bp=function(){return 4};g.f(kK,g.D);kK.prototype.fd=function(){this.C=!0;return this};\nkK.prototype.build=function(){this.network||(this.network=new QF);var W=new fXh({logSource:this.logSource,Z$:this.Z$?this.Z$:ndS,sessionIndex:this.sessionIndex,n7h:this.hU,fC:this.T,Li:!1,fd:this.C,q7:this.q7,network:this.network});g.m(this,W);if(this.K){var Y=this.K,k=qZ(W.J);P0(k,7,Y)}W.G=new bg6;this.componentId&&(W.componentId=this.componentId);this.V3&&(W.V3=this.V3);this.pageId&&(W.pageId=this.pageId);this.W&&((k=this.W)?(W.experimentIds||(W.experimentIds=new j0),Y=W.experimentIds,k=k.WK(),\nP0(Y,4,k)):W.experimentIds&&XA(W.experimentIds,4));this.J&&(W.TJ=W.A5);wn5(W.J);this.network.TV&&this.network.TV(this.logSource);this.network.YE5&&this.network.YE5(W);return W};g.f(yYX,g.D);yYX.prototype.flush=function(W){W=W||[];if(W.length){for(var Y=new SeX,k=[],P=0;P-1?(Y=W[X],k||(Y.ut=!1)):(Y=new r5F(Y,this.src,I,!!P,T),Y.ut=k,W.push(Y));return Y};\ng.H.remove=function(W,Y,k,P){W=W.toString();if(!(W in this.listeners))return!1;var T=this.listeners[W];Y=td(T,Y,k,P);return Y>-1?(dX(T[Y]),g.QC(T,Y),T.length==0&&(delete this.listeners[W],this.W--),!0):!1};\ng.H.removeAll=function(W){W=W&&W.toString();var Y=0,k;for(k in this.listeners)if(!W||k==W){for(var P=this.listeners[k],T=0;T-1?W[T]:null};\ng.H.hasListener=function(W,Y){var k=W!==void 0,P=k?W.toString():\"\",T=Y!==void 0;return g.KC(this.listeners,function(I){for(var X=0;X>>0);g.oM(g.sq,g.D);g.sq.prototype[LR5]=!0;g.H=g.sq.prototype;g.H.addEventListener=function(W,Y,k,P){g.pS(this,W,Y,k,P)};\ng.H.removeEventListener=function(W,Y,k,P){tVS(this,W,Y,k,P)};\ng.H.dispatchEvent=function(W){var Y=this.F0;if(Y){var k=[];for(var P=1;Y;Y=Y.F0)k.push(Y),++P}Y=this.Tz;P=W.type||W;if(typeof W===\"string\")W=new g.MP(W,Y);else if(W instanceof g.MP)W.target=W.target||Y;else{var T=W;W=new g.MP(P,Y);g.ux(W,T)}T=!0;var I;if(k)for(I=k.length-1;!W.K&&I>=0;I--){var X=W.currentTarget=k[I];T=qf(X,P,!0,W)&&T}W.K||(X=W.currentTarget=Y,T=qf(X,P,!0,W)&&T,W.K||(T=qf(X,P,!1,W)&&T));if(k)for(I=0;!W.K&&I0){this.K--;var W=this.W;this.W=W.next;W.next=null}else W=this.J();return W};var WV;jO.prototype.add=function(W,Y){var k=auz.get();k.set(W,Y);this.K?this.K.next=k:this.W=k;this.K=k};\njO.prototype.remove=function(){var W=null;this.W&&(W=this.W,this.W=this.W.next,this.W||(this.K=null),W.next=null);return W};\nvar auz=new iwV(function(){return new pJ},function(W){return W.reset()});\npJ.prototype.set=function(W,Y){this.W=W;this.scope=Y;this.next=null};\npJ.prototype.reset=function(){this.next=this.scope=this.W=null};var gT,wH=!1,NMz=new jO;LdF.prototype.reset=function(){this.context=this.K=this.J=this.W=null;this.T=!1};\nvar N0V=new iwV(function(){return new LdF},function(W){W.reset()});\ng.JL.prototype.then=function(W,Y,k){return AU5(this,a4(typeof W===\"function\"?W:null),a4(typeof Y===\"function\"?Y:null),k)};\ng.JL.prototype.$goog_Thenable=!0;g.H=g.JL.prototype;g.H.finally=function(W){var Y=this;W=a4(W);return new g.JL(function(k,P){fVS(Y,function(T){W();k(T)},function(T){W();\nP(T)})})};\ng.H.MA=function(W,Y){return AU5(this,null,a4(W),Y)};\ng.H.catch=g.JL.prototype.MA;g.H.cancel=function(W){if(this.W==0){var Y=new FT(W);g.Vf(function(){c8V(this,Y)},this)}};\ng.H.P_5=function(W){this.W=0;qt(this,2,W)};\ng.H.wK5=function(W){this.W=0;qt(this,3,W)};\ng.H.V_=function(){for(var W;W=xP5(this);)fK6(this,W,this.W,this.G);this.X=!1};\nvar uZ1=FE;g.oM(FT,XJ);FT.prototype.name=\"cancel\";g.oM(g.df,g.sq);g.H=g.df.prototype;g.H.enabled=!1;g.H.kq=null;g.H.setInterval=function(W){this.z9=W;this.kq&&this.enabled?(this.stop(),this.start()):this.kq&&this.stop()};\ng.H.EHr=function(){if(this.enabled){var W=g.hQ()-this.FH;W>0&&W0&&(this.getStatus(),this.X=setTimeout(this.LV.bind(this),\nthis.A5)),this.getStatus(),this.N=!0,this.W.send(W),this.N=!1}catch(X){this.getStatus(),fTC(this,X)}};\ng.H.LV=function(){typeof t3d!=\"undefined\"&&this.W&&(this.T=\"Timed out after \"+this.A5+\"ms, aborting\",this.K=8,this.getStatus(),this.dispatchEvent(\"timeout\"),this.abort(8))};\ng.H.abort=function(W){this.W&&this.J&&(this.getStatus(),this.J=!1,this.C=!0,this.W.abort(),this.C=!1,this.K=W||7,this.dispatchEvent(\"complete\"),this.dispatchEvent(\"abort\"),sY(this))};\ng.H.iz=function(){this.W&&(this.J&&(this.J=!1,this.C=!0,this.W.abort(),this.C=!1),sY(this,!0));g.hf.Ku.iz.call(this)};\ng.H.aG=function(){this.Xr()||(this.wD||this.N||this.C?q_5(this):this.Eqr())};\ng.H.Eqr=function(){q_5(this)};\ng.H.isActive=function(){return!!this.W};\ng.H.isComplete=function(){return g.ei(this)==4};\ng.H.getStatus=function(){try{return g.ei(this)>2?this.W.status:-1}catch(W){return-1}};\ng.H.getResponseHeader=function(W){if(this.W&&this.isComplete())return W=this.W.getResponseHeader(W),W===null?void 0:W};\ng.H.getLastError=function(){return typeof this.T===\"string\"?this.T:String(this.T)};Ob.prototype.send=function(W,Y,k){Y=Y===void 0?function(){}:Y;\nk=k===void 0?function(){}:k;\nHVF(W.url,function(P){P=P.target;Gw(P)?Y(g.KS(P)):k(P.getStatus())},W.requestType,W.body,W.requestHeaders,W.timeoutMillis,W.withCredentials)};\nOb.prototype.Bp=function(){return 1};AP.prototype.done=function(){this.logger.Ji(this.event,hW()-this.startTime)};\ng.f(mp,GS);g.f(Nt,mp);g.H=Nt.prototype;g.H.I_=function(){};\ng.H.pI=function(){};\ng.H.Ji=function(){};\ng.H.kJ=function(){};\ng.H.PD=function(){};\ng.H.x_=function(W,Y,k,P){return P};\ng.H.fR=function(){};\ng.H.xo=function(){};\ng.H.ZB=function(){};\ng.f(ibz,mp);g.H=ibz.prototype;g.H.update=function(W){this.logger.dispose();this.logger=W};\ng.H.pI=function(W){this.logger.pI(W)};\ng.H.Ji=function(W,Y){this.logger.Ji(W,Y)};\ng.H.kJ=function(W){this.logger.kJ(W)};\ng.H.PD=function(){this.logger.PD()};\ng.H.x_=function(W,Y,k,P){return this.logger.x_(W,Y,k,P)};\ng.H.fR=function(W){this.logger.fR(W)};\ng.H.xo=function(W){this.logger.xo(W)};\ng.H.ZB=function(W){this.logger.ZB(W)};\ng.H.I_=function(W){this.logger.I_(W)};\ng.f(G4V,g.D);g.f(Dg,mp);g.H=Dg.prototype;g.H.I_=function(W){this.metrics.HuJ.NB(W,this.Af)};\ng.H.pI=function(W){this.metrics.eventCount.Vt(W,this.Af)};\ng.H.Ji=function(W,Y){this.metrics.dg.NB(Y,W,this.Af)};\ng.H.kJ=function(W){this.metrics.errorCount.Vt(W,this.Af)};\ng.H.x_=function(W,Y,k,P){function T(h){if(!I.Xr()){var B=hW()-X;I.metrics.I9a.NB(B,W,k,h,Y,I.Af)}}\nvar I=this,X=hW();P.then(function(){return void T(0)},function(h){return void T(h instanceof si?h.code:-1)});\nreturn P};\ng.H.fR=function(W){this.metrics.j75.Vt(W,this.Af)};\ng.H.xo=function(W){this.metrics.f9.Vt(W,this.Af)};\ng.H.ZB=function(W){this.metrics.xI6.Vt(W,this.Af)};\ng.f(aH,Dg);aH.prototype.PD=function(){Uv5(this.W)};g.f(ZE,B9);g.f(UH,B9);g.f(DP,B9);var SkC=x4(DP),N5d=function(W){return pa(function(Y){return Y instanceof W&&!yb(Y)})}(DP);\nDP.messageId=\"bfkj\";g.f(ym,B9);g.f(wV,B9);var adX=x4(wV);g.f(KL,g.D);KL.prototype.snapshot=function(W){if(this.Xr())throw Error(\"Already disposed\");this.logger.pI(\"n\");var Y=this.logger.share();return this.J.then(function(k){var P=k.F9;return new Promise(function(T){var I=new AP(Y,\"n\");P(function(X){I.done();Y.I_(X.length);Y.PD();Y.dispose();T(X)},[W.mO,\nW.N1,W.aR,W.l9])})})};\nKL.prototype.Iq=function(W){var Y=this;if(this.Xr())throw Error(\"Already disposed\");this.logger.pI(\"n\");var k=KN(this.logger,function(){return Y.T([W.mO,W.N1,W.aR,W.l9])},\"n\");\nthis.logger.I_(k.length);this.logger.PD();return k};\nKL.prototype.Vv=function(W){this.J.then(function(Y){var k;(k=Y.hJg)==null||k(W)})};\nKL.prototype.bP=function(){return this.logger.share()};g.f(mG,B9);g.f(gw,B9);$T.prototype.Ld=function(W){return Sjz(this,W,new Nt,0)};g.f(G5,g.D);G5.prototype.snapshot=function(W){var Y=this;return g.v(function(k){switch(k.W){case 1:if(Y.Xr())throw Error(\"Already disposed\");if(Y.K||Y.G){k.oi(2);break}return g.L(k,Y.C.promise,2);case 2:if(!Y.K){k.oi(4);break}return g.L(k,Y.K.snapshot(W),5);case 5:return k.return(k.K);case 4:throw Y.G;}})};\nG5.prototype.Vv=function(W){var Y,k;(Y=this.K)==null||(k=Y.Vv)==null||k.call(Y,W)};\nG5.prototype.handleError=function(W){if(!this.Xr()){this.G=W;this.C.resolve();var Y,k;(k=(Y=this.options).qRD)==null||k.call(Y,W)}};\nG5.prototype.bP=function(){return this.logger.share()};\nvar M$d={Gd6:432E5,zl:3E5,i$:10,hO:1E4,lX:3E4,Pzh:3E4,tya:6E4,DL:1E3,k6:6E4,Q_:6E5,B0:.25,fU:2,maxAttempts:10};var VeK,nAF=(VeK=Math.imul)!=null?VeK:function(W,Y){return W*Y|0},vI=[196,\n200,224,18];uj.prototype.WK=function(){return String(this.W)+\",\"+this.K.join()};\nuj.prototype.b_=function(W,Y){var k=void 0;if(this.K[this.W]!==W){var P=this.K.indexOf(W);P!==-1?(this.K.splice(P,1),P0;)Y[k++]=\"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\".charAt(W%62),W=Math.floor(W/62);return Y.join(\"\")}};g.f(tr,g.D);tr.prototype.R_=function(W,Y){var k=this.Ly(W);Y==null||Y(k);return KN(this.logger,function(){return g.Pk(k,2)},this.K)};\ng.f(WP,tr);WP.prototype.Ly=function(W,Y){var k=this;this.logger.pI(this.W);++this.C>=this.X&&this.J.resolve();var P=W();W=KN(this.logger,function(){return k.T(P)},\"C\");\nif(W===void 0)throw new Uo(17,\"YNJ:Undefined\");if(!(W instanceof Uint8Array))throw new Uo(18,\"ODM:Invalid\");Y==null||Y(W);return W};\ng.f(eM,tr);eM.prototype.Ly=function(){return this.T};\ng.f(Rh,tr);Rh.prototype.Ly=function(){var W=this;return KN(this.logger,function(){return o5(W.T)},\"d\")};\nRh.prototype.R_=function(){return this.T};\ng.f(Qr,tr);Qr.prototype.Ly=function(){if(this.T)return this.T;this.T=KFv(this,function(W){return\"_\"+eIC(W)});\nreturn KFv(this,function(W){return W})};\ng.f(ep,tr);ep.prototype.Ly=function(){var W=Math.floor(Date.now()/1E3),Y=[Math.random()*255,Math.random()*255],k=Y.concat([this.T&255,this.clientState],[W>>24&255,W>>16&255,W>>8&255,W&255]);W=new Uint8Array(2+k.length);W[0]=34;W[1]=k.length;W.set(k,2);k=W.subarray(2);for(var P=Y=Y.length;P150))try{this.cache=new ALd(W,this.logger)}catch(Y){this.reportError(new Uo(22,\"GBJ:init\",Y))}};\ng.H.reportError=function(W){this.logger.kJ(W.code);this.onError(W);return W};\nvar Hkd=function(W){return pa(function(Y){if(!e5j(Y))return!1;for(var k=g.e(Object.entries(W)),P=k.next();!P.done;P=k.next()){var T=g.e(P.value);P=T.next().value;T=T.next().value;if(!(P in Y)){if(T.Q5D===!0)continue;return!1}if(!T(Y[P]))return!1}return!0})}({W5:function(W){return pa(function(Y){return Y instanceof W})}(G5)},\"\");var rfF=(new Date).getTime();g.f(Zn,B9);var NEB=x4(Zn);rpC.prototype.getMetadata=function(){return this.metadata};yq.prototype.getMetadata=function(){return this.metadata};\nyq.prototype.getStatus=function(){return this.status};PT.prototype.G=function(W,Y){Y=Y===void 0?{}:Y;return new rpC(W,this,Y)};\nPT.prototype.getName=function(){return this.name};var aYQ=new PT(\"/google.internal.waa.v1.Waa/Create\",mG,Zn,function(W){return W.WK()},NEB);g.f(xY1,B9);var Xwz=new PT(\"/google.internal.waa.v1.Waa/GenerateIT\",gw,xY1,function(W){return W.WK()},x4(xY1));var XY7=new Set([\"SAPISIDHASH\",\"APISIDHASH\"]);g.f(Br,B9);Br.prototype.getValue=function(){var W=Yn(this,2);if(Array.isArray(W)||W instanceof B9)throw Error(\"Cannot access the Any.value field on Any protos encoded using the jspb format, call unpackJspb instead\");return EI(this,2)};g.f(J6v,B9);J6v.prototype.getMessage=function(){return G4(this,2)};\nvar iPV=x4(J6v);kh.prototype.al=function(W,Y){W==\"data\"?this.J.push(Y):W==\"metadata\"?this.C.push(Y):W==\"status\"?this.X.push(Y):W==\"end\"?this.T.push(Y):W==\"error\"&&this.K.push(Y);return this};\nkh.prototype.removeListener=function(W,Y){W==\"data\"?OI(this.J,Y):W==\"metadata\"?OI(this.C,Y):W==\"status\"?OI(this.X,Y):W==\"end\"?OI(this.T,Y):W==\"error\"&&OI(this.K,Y);return this};\nkh.prototype.cancel=function(){this.W.abort()};\nkh.prototype.cancel=kh.prototype.cancel;kh.prototype.removeListener=kh.prototype.removeListener;kh.prototype.on=kh.prototype.al;g.f(hgV,Error);g.oM(g.BC,Wcv);g.BC.prototype.W=function(){var W=new Uw(this.T,this.J);this.K&&W.setCredentialsMode(this.K);return W};\ng.BC.prototype.setCredentialsMode=function(W){this.K=W};\ng.oM(Uw,g.sq);g.H=Uw.prototype;g.H.open=function(W,Y){if(this.readyState!=0)throw this.abort(),Error(\"Error reopening a connection\");this.Kg=W;this.A5=Y;this.readyState=1;dR(this)};\ng.H.send=function(W){if(this.readyState!=1)throw this.abort(),Error(\"need to call open() first. \");if(this.L.signal.aborted)throw this.abort(),Error(\"Request was aborted.\");this.W=!0;var Y={headers:this.N,method:this.Kg,credentials:this.C,cache:void 0,signal:this.L.signal};W&&(Y.body=W);(this.wD||g.hL).fetch(new Request(this.A5,Y)).then(this.JF.bind(this),this.L2.bind(this))};\ng.H.abort=function(){this.response=this.responseText=\"\";this.N=new Headers;this.status=0;this.L.abort();this.J&&this.J.cancel(\"Request was aborted.\").catch(function(){});\nthis.readyState>=1&&this.W&&this.readyState!=4&&(this.W=!1,Bm(this));this.readyState=0};\ng.H.JF=function(W){if(this.W&&(this.T=W,this.K||(this.status=this.T.status,this.statusText=this.T.statusText,this.K=W.headers,this.readyState=2,dR(this)),this.W&&(this.readyState=3,dR(this),this.W)))if(this.responseType===\"arraybuffer\")W.arrayBuffer().then(this.Pi.bind(this),this.L2.bind(this));else if(typeof g.hL.ReadableStream!==\"undefined\"&&\"body\"in W){this.J=W.body.getReader();if(this.X){if(this.responseType)throw Error('responseType must be empty for \"streamBinaryChunks\" mode responses.');this.response=\n[]}else this.response=this.responseText=\"\",this.G=new TextDecoder;mr0(this)}else W.text().then(this.wK.bind(this),this.L2.bind(this))};\ng.H.LO=function(W){if(this.W){if(this.X&&W.value)this.response.push(W.value);else if(!this.X){var Y=W.value?W.value:new Uint8Array(0);if(Y=this.G.decode(Y,{stream:!W.done}))this.response=this.responseText+=Y}W.done?Bm(this):dR(this);this.readyState==3&&mr0(this)}};\ng.H.wK=function(W){this.W&&(this.response=this.responseText=W,Bm(this))};\ng.H.Pi=function(W){this.W&&(this.response=W,Bm(this))};\ng.H.L2=function(){this.W&&Bm(this)};\ng.H.setRequestHeader=function(W,Y){this.N.append(W,Y)};\ng.H.getResponseHeader=function(W){return this.K?this.K.get(W.toLowerCase())||\"\":\"\"};\ng.H.getAllResponseHeaders=function(){if(!this.K)return\"\";for(var W=[],Y=this.K.entries(),k=Y.next();!k.done;)k=k.value,W.push(k[0]+\": \"+k[1]),k=Y.next();return W.join(\"\\r\\n\")};\ng.H.setCredentialsMode=function(W){this.C=W};\nObject.defineProperty(Uw.prototype,\"withCredentials\",{get:function(){return this.C===\"include\"},\nset:function(W){this.setCredentialsMode(W?\"include\":\"same-origin\")}});g.hq.prototype.toString=function(){var W=[],Y=this.C;Y&&W.push(pl(Y,WTz,!0),\":\");var k=this.W;if(k||Y==\"file\")W.push(\"//\"),(Y=this.L)&&W.push(pl(Y,WTz,!0),\"@\"),W.push(g.tw(k).replace(/%25([0-9a-fA-F]{2})/g,\"%$1\")),k=this.J,k!=null&&W.push(\":\",String(k));if(k=this.K)this.W&&k.charAt(0)!=\"/\"&&W.push(\"/\"),W.push(pl(k,k.charAt(0)==\"/\"?Yhc:$BN,!0));(k=this.T.toString())&&W.push(\"?\",k);(k=this.X)&&W.push(\"#\",pl(k,kaN));return W.join(\"\")};\ng.hq.prototype.resolve=function(W){var Y=this.clone(),k=!!W.C;k?g.nI(Y,W.C):k=!!W.L;k?Y.L=W.L:k=!!W.W;k?g.Bd(Y,W.W):k=W.J!=null;var P=W.K;if(k)g.VN(Y,W.J);else if(k=!!W.K){if(P.charAt(0)!=\"/\")if(this.W&&!this.K)P=\"/\"+P;else{var T=Y.K.lastIndexOf(\"/\");T!=-1&&(P=Y.K.slice(0,T+1)+P)}T=P;if(T==\"..\"||T==\".\")P=\"\";else if(g.eR(T,\"./\")||g.eR(T,\"/.\")){P=hC(T,\"/\");T=T.split(\"/\");for(var I=[],X=0;X1||I.length==1&&I[0]!=\"\")&&I.pop(),\nP&&X==T.length&&I.push(\"\")):(I.push(h),P=!0)}P=I.join(\"/\")}else P=T}k?Y.K=P:k=W.T.toString()!==\"\";k?pI(Y,W.T.clone()):k=!!W.X;k&&(Y.X=W.X);return Y};\ng.hq.prototype.clone=function(){return new g.hq(this)};\nvar WTz=/[#\\/\\?@]/g,$BN=/[#\\?:]/g,Yhc=/[#\\?]/g,SRC=/[#\\?@]/g,kaN=/#/g;g.H=KI.prototype;g.H.add=function(W,Y){xD(this);this.J=null;W=Ik(this,W);var k=this.W.get(W);k||this.W.set(W,k=[]);k.push(Y);this.K=this.K+1;return this};\ng.H.remove=function(W){xD(this);W=Ik(this,W);return this.W.has(W)?(this.J=null,this.K=this.K-this.W.get(W).length,this.W.delete(W)):!1};\ng.H.clear=function(){this.W=this.J=null;this.K=0};\ng.H.isEmpty=function(){xD(this);return this.K==0};\ng.H.forEach=function(W,Y){xD(this);this.W.forEach(function(k,P){k.forEach(function(T){W.call(Y,T,P,this)},this)},this)};\ng.H.dU=function(){xD(this);for(var W=Array.from(this.W.values()),Y=Array.from(this.W.keys()),k=[],P=0;P0?String(W[0]):Y};\ng.H.toString=function(){if(this.J)return this.J;if(!this.W)return\"\";for(var W=[],Y=Array.from(this.W.keys()),k=0;k>>3;I.J!=1&&I.J!=2&&I.J!=15&&Jy(I,X,h,\"unexpected tag\");I.W=1;I.K=0;I.T=0}\nfunction k(){if(I.J<15){var B={};B[I.J]=I.C;I.G.push(B)}I.W=0}\nfunction P(B){I.C[I.L++]=B;I.L==I.K&&k()}\nfunction T(B){I.T++;I.T==5&&B&240&&Jy(I,X,h,\"message length too long\");I.K|=(B&127)<<(I.T-1)*7;B&128||(I.W=2,I.L=0,typeof Uint8Array!==\"undefined\"?I.C=new Uint8Array(I.K):I.C=Array(I.K),I.K==0&&k())}\nfor(var I=this,X=W instanceof Array?W:new Uint8Array(W),h=0;h0?W:null};PJ.prototype.isInputValid=function(){return this.W===null};\nPJ.prototype.JD=function(){return this.W};\nPJ.prototype.EN=function(){return!1};\nPJ.prototype.parse=function(W){this.W!==null&&PLv(this,W,\"stream already broken\");var Y=null;try{var k=this.J;k.J||Nqd(k,W,\"stream already broken\");k.W+=W;var P=Math.floor(k.W.length/4);if(P==0)var T=null;else{try{var I=M91(k.W.slice(0,P*4))}catch(X){Nqd(k,k.W,X.message)}k.K+=P*4;k.W=k.W.slice(P*4);T=I}Y=T===null?null:this.T.parse(T)}catch(X){PLv(this,W,X.message)}this.K+=W.length;return Y};var Ts$={INIT:0,wS:1,CA:2,Lo:3,yE:4,Av:5,STRING:6,oa:7,mR:8,Nr:9,ag:10,ET:11,aO:12,Et:13,lQ:14,eE:15,Z7:16,fG:17,kT:18,EW:19,Se:20};g.H=kx.prototype;g.H.isInputValid=function(){return this.C!=3};\ng.H.JD=function(){return this.N};\ng.H.done=function(){return this.C===2};\ng.H.EN=function(){return!1};\ng.H.parse=function(W){function Y(q){I.K>1||(q||(q=Z===-1?I.T+W.substring(u,M):W.substring(Z,M)),I.A5?I.X.push(q):I.X.push(JSON.parse(q)),Z=M)}\nfunction k(){for(;M0;)if(q=W[M++],\nI.L===4?I.L=0:I.L++,!q)break a;if(q==='\"'&&!I.G){I.W=P();break}if(q===\"\\\\\"&&!I.G&&(I.G=!0,q=W[M++],!q))break;if(I.G)if(I.G=!1,q===\"u\"&&(I.L=1),q=W[M++])continue;else break;h.lastIndex=M;q=h.exec(W);if(!q){M=W.length+1;break}M=q.index+1;q=W[q.index];if(!q)break}I.J+=M-G;continue;case B.Nr:if(!q)continue;q===\"r\"?I.W=B.ag:pQ(I,W,M);continue;case B.ag:if(!q)continue;q===\"u\"?I.W=B.ET:pQ(I,W,M);continue;case B.ET:if(!q)continue;q===\"e\"?I.W=P():pQ(I,W,M);continue;case B.aO:if(!q)continue;q===\"a\"?I.W=B.Et:\npQ(I,W,M);continue;case B.Et:if(!q)continue;q===\"l\"?I.W=B.lQ:pQ(I,W,M);continue;case B.lQ:if(!q)continue;q===\"s\"?I.W=B.eE:pQ(I,W,M);continue;case B.eE:if(!q)continue;q===\"e\"?I.W=P():pQ(I,W,M);continue;case B.Z7:if(!q)continue;q===\"u\"?I.W=B.fG:pQ(I,W,M);continue;case B.fG:if(!q)continue;q===\"l\"?I.W=B.kT:pQ(I,W,M);continue;case B.kT:if(!q)continue;q===\"l\"?I.W=P():pQ(I,W,M);continue;case B.EW:q===\".\"?I.W=B.Se:pQ(I,W,M);continue;case B.Se:if(\"0123456789.eE+-\".indexOf(q)!==-1)continue;else M--,I.J--,I.W=\nP();continue;default:pQ(I,W,M)}}}\nfor(var I=this,X=I.Kg,h=I.wD,B=Ts$,O=W.length,u=0,Z=-1,M=0;M0?(t=I.X,I.X=[],t):null}return null};W9.prototype.isInputValid=function(){return this.C===null};\nW9.prototype.JD=function(){return this.C};\nW9.prototype.EN=function(){return!1};\nW9.prototype.parse=function(W){function Y(){I.J=new kx({OI5:!0,SP:!0})}\nfunction k(B){I.K=6;I.C=\"The stream is broken @\"+I.W+\"/\"+X+\". Error: \"+B+\". With input:\\n\";throw Error(I.C);}\nfunction P(B){if(B)for(var O=0;O1)&&k(\"extra status: \"+B);I.X=!0;var O={};O[2]=B[0];I.T.push(O)}}\nfor(var I=this,X=0;X0?(W=I.T,I.T=[],W):null};$h.prototype.Nj=function(){return this.W};\n$h.prototype.getStatus=function(){return this.C};\n$h.prototype.A5=function(W){W=W.target;try{if(W==this.W)a:{var Y=g.ei(this.W),k=this.W.K,P=this.W.getStatus(),T=g.KS(this.W);W=[];if(g.fv(this.W)instanceof Array){var I=g.fv(this.W);I.length>0&&I[0]instanceof Uint8Array&&(this.N=!0,W=I)}if(!(Y<3||Y==3&&!T&&W.length==0))if(P=P==200||P==206,Y==4&&(k==8?rz(this,7):k==7?rz(this,8):P||rz(this,3)),this.K||(this.K=C3v(this.W),this.K==null&&rz(this,5)),this.C>2)Sv(this);else{if(W.length>this.J){var X=W.length;k=[];try{if(this.K.EN())for(var h=0;hthis.J){h=T.slice(this.J);this.J=T.length;try{var O=this.K.parse(h);O!=null&&this.T&&this.T(O)}catch(u){rz(this,5);Sv(this);break a}}Y==4?(T.length!=\n0||this.N?rz(this,2):rz(this,4),Sv(this)):rz(this,1)}}}catch(u){rz(this,6),Sv(this)}};g.H=KV0.prototype;g.H.al=function(W,Y){var k=this.K[W];k||(k=[],this.K[W]=k);k.push(Y);return this};\ng.H.addListener=function(W,Y){this.al(W,Y);return this};\ng.H.removeListener=function(W,Y){var k=this.K[W];k&&g.Xo(k,Y);(W=this.W[W])&&g.Xo(W,Y);return this};\ng.H.once=function(W,Y){var k=this.W[W];k||(k=[],this.W[W]=k);k.push(Y);return this};\ng.H.gma=function(W){var Y=this.K.data;Y&&lKv(W,Y);(Y=this.W.data)&&lKv(W,Y);this.W.data=[]};\ng.H.qV6=function(){switch(this.J.getStatus()){case 1:NW(this,\"readable\");break;case 5:case 6:case 4:case 7:case 3:NW(this,\"error\");break;case 8:NW(this,\"close\");break;case 2:NW(this,\"end\")}};AjS.prototype.serverStreaming=function(W,Y,k,P){var T=this,I=W.substring(0,W.length-P.name.length);return Z$N(function(X){var h=X.Pj,B=X.getMetadata(),O=VUV(T,!1);B=Nnq(T,B,O,I+h.getName());var u=E5z(O,h.K,!0);X=h.W(X.NW);O.send(B,\"POST\",X);return u},this.NJ).call(this,P.G(Y,k))};zbv.prototype.create=function(W,Y,k){var P=this.W,T=this.K+\"/$rpc/google.internal.waa.v1.Waa/Create\";Y=Y||{};k=k===void 0?{}:k;return CkF(P,T,W,Y,aYQ,k)};var rDd=new AV1(45713224),ADd=new f0S(45713225);var zid=new AV1(45713226),dqC=new f0S(45713227);var WwX=\"://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav\".split(\" \"),YVV=/\\bocr\\b/;var tBv=/(?:\\[|%5B)([a-zA-Z0-9_]+)(?:\\]|%5D)/g;Object.assign({},{attributes:{},handleError:function(W){throw W;}},{VFh:!0,\nRQ1:!0,Nf5:!1,bI1:rm9,aha:Am$,EpS:!1,lhD:!1,XFg:!1,rr6:!0,crr:sqw,doJ:!1,JdJ:!1,Nkh:!1});var fd=null,bE=!1,hX2=1,PC5=Symbol(\"SIGNAL\"),t5={version:0,rUz:0,TR:!1,producers:void 0,uG:void 0,rS:void 0,Iw:void 0,bf:!1,zH:!1,Wn:!1,kind:\"unknown\",mZ:function(){return!1},\nIL:function(){},\nAy:function(){},\nfh6:function(){}};var qo=Symbol(\"UNSET\"),Ru=Symbol(\"COMPUTING\"),Ho=Symbol(\"ERRORED\");Object.assign({},t5,{value:qo,TR:!0,error:null,J3:PR,kind:\"computed\",mZ:function(W){return W.value===qo||W.value===Ru},\nIL:function(W){if(W.value===Ru)throw Error(\"\");var Y=W.value;W.value=Ru;var k=Ty2(W),P=!1;try{var T=W.lH();XP(null);P=Y!==qo&&Y!==Ho&&T!==Ho&&W.J3(Y,T)}catch(I){T=Ho,W.error=I}finally{gud(W,k)}P?W.value=Y:(W.value=T,W.version++)}});var LPd=Object.assign({},t5,{J3:PR,value:void 0,kind:\"signal\"});Object.assign({},t5,{value:qo,TR:!0,error:null,J3:PR,kind:\"linkedSignal\",mZ:function(W){return W.value===qo||W.value===Ru},\nIL:function(W){if(W.value===Ru)throw Error(\"\");var Y=W.value;W.value=Ru;var k=Ty2(W);try{var P=W.source();var T=W.lH(P,Y===qo||Y===Ho?void 0:{source:W.Gj2,value:Y});W.Gj2=P}catch(I){T=Ho,W.error=I}finally{gud(W,k)}Y!==qo&&T!==Ho&&W.J3(Y,T)?W.value=Y:(W.value=T,W.version++)}});Object.assign({},t5,{Wn:!0,zH:!1,Ay:function(W){W.schedule!==null&&W.schedule(W.tTP)},\nH5z:!1,moi:function(){}});g.f(oj,g.sq);oj.prototype.dispose=function(){window.removeEventListener(\"offline\",this.J);window.removeEventListener(\"online\",this.J);this.EX.Ca(this.C);delete oj.instance};\noj.prototype.s6=function(){return this.W};\noj.prototype.u7=function(){var W=this;this.C=this.EX.r_(function(){var Y;return g.v(function(k){if(k.W==1)return W.W?((Y=window.navigator)==null?0:Y.onLine)?k.oi(3):g.L(k,zg(W),3):g.L(k,zg(W),3);W.u7();g.I_(k)})},3E4)};g.f(v5c,B9);var j_w=Wa2(v5c,[0,h5,JQc,OcK,h5,-2,OcK,SFc]);RR.prototype.set=function(W,Y){Y=Y===void 0?!0:Y;0<=W&&W<52&&Number.isInteger(W)&&this.data[W]!==Y&&(this.data[W]=Y,this.W=-1)};\nRR.prototype.get=function(W){return!!this.data[W]};var G2;g.oM(g.uC,g.D);g.H=g.uC.prototype;g.H.start=function(){this.stop();this.T=!1;var W=ekC(this),Y=jvS(this);W&&!Y&&this.K.mozRequestAnimationFrame?(this.W=g.pS(this.K,\"MozBeforePaint\",this.J),this.K.mozRequestAnimationFrame(null),this.T=!0):this.W=W&&Y?W.call(this.K,this.J):this.K.setTimeout(G7z(this.J),20)};\ng.H.stop=function(){if(this.isActive()){var W=ekC(this),Y=jvS(this);W&&!Y&&this.K.mozRequestAnimationFrame?$I(this.W):W&&Y?Y.call(this.K,this.W):this.K.clearTimeout(this.W)}this.W=null};\ng.H.isActive=function(){return this.W!=null};\ng.H.MN=function(){this.T&&this.W&&$I(this.W);this.W=null;this.X.call(this.C,g.hQ())};\ng.H.iz=function(){this.stop();g.uC.Ku.iz.call(this)};g.oM(g.fC,g.D);g.H=g.fC.prototype;g.H.DE=0;g.H.iz=function(){g.fC.Ku.iz.call(this);this.stop();delete this.W;delete this.K};\ng.H.start=function(W){this.stop();this.DE=g.lu(this.J,W!==void 0?W:this.z9)};\ng.H.stop=function(){this.isActive()&&g.hL.clearTimeout(this.DE);this.DE=0};\ng.H.isActive=function(){return this.DE!=0};\ng.H.WZ=function(){this.DE=0;this.W&&this.W.call(this.K)};g.f(g.Oi,g.D);g.H=g.Oi.prototype;g.H.n6=function(W){this.J=arguments;this.kq||this.K?this.W=!0:bu(this)};\ng.H.stop=function(){this.kq&&(g.hL.clearTimeout(this.kq),this.kq=null,this.W=!1,this.J=null)};\ng.H.pause=function(){this.K++};\ng.H.resume=function(){this.K--;this.K||!this.W||this.kq||(this.W=!1,bu(this))};\ng.H.iz=function(){g.D.prototype.iz.call(this);this.stop()};g.C1d.prototype[Symbol.iterator]=function(){return this};\ng.C1d.prototype.next=function(){var W=this.W.next();return{value:W.done?void 0:this.K.call(void 0,W.value),done:W.done}};g.oM(g.Yc,g.sq);g.H=g.Yc.prototype;g.H.isPlaying=function(){return this.W==1};\ng.H.isPaused=function(){return this.W==-1};\ng.H.SH=function(){this.sX(\"begin\")};\ng.H.e9=function(){this.sX(\"end\")};\ng.H.onFinish=function(){this.sX(\"finish\")};\ng.H.onStop=function(){this.sX(\"stop\")};\ng.H.sX=function(W){this.dispatchEvent(W)};var I5h=qP(function(){var W=g.sF(\"DIV\"),Y=g.M8?\"-webkit\":Ze?\"-moz\":null,k=\"transition:opacity 1s linear;\";Y&&(k+=Y+\"-transition:opacity 1s linear;\");Y=bAd({style:k});if(W.nodeType===1&&/^(script|style)$/i.test(W.tagName))throw Error(\"\");W.innerHTML=lH(Y);return g.ZU(W.firstChild,\"transition\")!=\"\"});g.oM(Qp,g.Yc);g.H=Qp.prototype;g.H.play=function(){if(this.isPlaying())return!1;this.SH();this.sX(\"play\");this.startTime=g.hQ();this.W=1;if(I5h())return g.KX(this.K,this.X),this.J=g.lu(this.iNz,void 0,this),!0;this.MZ(!1);return!1};\ng.H.iNz=function(){g.$p(this.K);gbz(this.K,this.G);g.KX(this.K,this.T);this.J=g.lu((0,g.xp)(this.MZ,this,!1),this.C*1E3)};\ng.H.stop=function(){this.isPlaying()&&this.MZ(!0)};\ng.H.MZ=function(W){g.KX(this.K,\"transition\",\"\");g.hL.clearTimeout(this.J);g.KX(this.K,this.T);this.endTime=g.hQ();this.W=0;if(W)this.onStop();else this.onFinish();this.e9()};\ng.H.iz=function(){this.stop();Qp.Ku.iz.call(this)};\ng.H.pause=function(){};var dK1={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,\"linear-gradient\":!0,\"radial-gradient\":!0,\"repeating-linear-gradient\":!0,\"repeating-radial-gradient\":!0,\"cubic-bezier\":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0,\"var\":!0};iW(\"Element\",\"attributes\")||iW(\"Node\",\"attributes\");iW(\"Element\",\"innerHTML\")||iW(\"HTMLElement\",\"innerHTML\");iW(\"Node\",\"nodeName\");iW(\"Node\",\"nodeType\");iW(\"Node\",\"parentNode\");iW(\"Node\",\"childNodes\");iW(\"HTMLElement\",\"style\")||iW(\"Element\",\"style\");iW(\"HTMLStyleElement\",\"sheet\");var AeC=Hw1(\"getPropertyValue\"),duF=Hw1(\"setProperty\");iW(\"Element\",\"namespaceURI\")||iW(\"Node\",\"namespaceURI\");var szV={\"-webkit-border-horizontal-spacing\":!0,\"-webkit-border-vertical-spacing\":!0};var VS7,TFv,fx7,xaq,NO5;VS7=RegExp(\"[A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0900-\\u1fff\\u200e\\u2c00-\\ud801\\ud804-\\ud839\\ud83c-\\udbff\\uf900-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff]\");TFv=RegExp(\"^[\\u0591-\\u06ef\\u06fa-\\u08ff\\u200f\\ud802-\\ud803\\ud83a-\\ud83b\\ufb1d-\\ufdff\\ufe70-\\ufefc]\");g.XL1=RegExp(\"^[^\\u0591-\\u06ef\\u06fa-\\u08ff\\u200f\\ud802-\\ud803\\ud83a-\\ud83b\\ufb1d-\\ufdff\\ufe70-\\ufefc]*[A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0900-\\u1fff\\u200e\\u2c00-\\ud801\\ud804-\\ud839\\ud83c-\\udbff\\uf900-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff]\");\ng.Li=RegExp(\"^[^A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0900-\\u1fff\\u200e\\u2c00-\\ud801\\ud804-\\ud839\\ud83c-\\udbff\\uf900-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff]*[\\u0591-\\u06ef\\u06fa-\\u08ff\\u200f\\ud802-\\ud803\\ud83a-\\ud83b\\ufb1d-\\ufdff\\ufe70-\\ufefc]\");fx7=/^http:\\/\\/.*/;g.Shw=RegExp(\"^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)\",\"i\");xaq=/\\s+/;NO5=/[\\d\\u06f0-\\u06f9]/;NP.prototype.JL=function(){return new lK(this.K())};\nNP.prototype[Symbol.iterator]=function(){return new a0(this.K())};\nNP.prototype.W=function(){return new a0(this.K())};\ng.f(lK,g.Ly);lK.prototype.next=function(){return this.K.next()};\nlK.prototype[Symbol.iterator]=function(){return new a0(this.K)};\nlK.prototype.W=function(){return new a0(this.K)};\ng.f(a0,NP);a0.prototype.next=function(){return this.J.next()};Os.prototype.clone=function(){return new Os(this.W,this.G,this.J,this.C,this.T,this.X,this.K,this.L)};\nOs.prototype.equals=function(W){return this.W==W.W&&this.G==W.G&&this.J==W.J&&this.C==W.C&&this.T==W.T&&this.X==W.X&&this.K==W.K&&this.L==W.L};VX.prototype.clone=function(){return new VX(this.start,this.end)};(function(){if(zaq){var W=/Windows NT ([0-9.]+)/;return(W=W.exec(g.Ed()))?W[1]:\"0\"}return iz?(W=/1[0|1][_.][0-9_.]+/,(W=W.exec(g.Ed()))?W[0].replace(/_/g,\".\"):\"10\"):g.pK?(W=/Android\\s+([^\\);]+)(\\)|;)/,(W=W.exec(g.Ed()))?W[1]:\"\"):mSc||DSc||g8w?(W=/(?:iPhone|CPU)\\s+OS\\s+(\\S+)/,(W=W.exec(g.Ed()))?W[1].replace(/_/g,\".\"):\"\"):\"\"})();var F1K=function(){if(g.r9)return GN(/Firefox\\/([0-9.]+)/);if(g.Hz||g.PC||g.sT)return cwd;if(g.sr){if(LK()||dE5()){var W=GN(/CriOS\\/([0-9.]+)/);if(W)return W}return GN(/Chrome\\/([0-9.]+)/)}if(g.nV&&!LK())return GN(/Version\\/([0-9.]+)/);if(B8||Y4){if(W=/Version\\/(\\S+).*Mobile\\/(\\S+)/.exec(g.Ed()))return W[1]+\".\"+W[2]}else if(g.jD5)return(W=GN(/Android\\s+([0-9.]+)/))?W:GN(/Version\\/([0-9.]+)/);return\"\"}();g.oM(g.Td,g.D);g.H=g.Td.prototype;g.H.subscribe=function(W,Y,k){var P=this.K[W];P||(P=this.K[W]=[]);var T=this.X;this.W[T]=W;this.W[T+1]=Y;this.W[T+2]=k;this.X=T+3;P.push(T);return T};\ng.H.unsubscribe=function(W,Y,k){if(W=this.K[W]){var P=this.W;if(W=W.find(function(T){return P[T+1]==Y&&P[T+2]==k}))return this.MI(W)}return!1};\ng.H.MI=function(W){var Y=this.W[W];if(Y){var k=this.K[Y];this.T!=0?(this.J.push(W),this.W[W+1]=function(){}):(k&&g.Xo(k,W),delete this.W[W],delete this.W[W+1],delete this.W[W+2])}return!!Y};\ng.H.publish=function(W,Y){var k=this.K[W];if(k){var P=Array(arguments.length-1),T=arguments.length,I;for(I=1;I0&&this.T==0)for(;k=this.J.pop();)this.MI(k)}}return I!=0}return!1};\ng.H.clear=function(W){if(W){var Y=this.K[W];Y&&(Y.forEach(this.MI,this),delete this.K[W])}else this.W.length=0,this.K={}};\ng.H.iz=function(){g.Td.Ku.iz.call(this);this.clear();this.J.length=0};g.wB.prototype.set=function(W,Y){Y===void 0?this.W.remove(W):this.W.set(W,g.lV(Y))};\ng.wB.prototype.get=function(W){try{var Y=this.W.get(W)}catch(k){return}if(Y!==null)try{return JSON.parse(Y)}catch(k){throw\"Storage: Invalid value was encountered\";}};\ng.wB.prototype.remove=function(W){this.W.remove(W)};g.oM(ty,g.wB);ty.prototype.set=function(W,Y){ty.Ku.set.call(this,W,cD2(Y))};\nty.prototype.K=function(W){W=ty.Ku.get.call(this,W);if(W===void 0||W instanceof Object)return W;throw\"Storage: Invalid value was encountered\";};\nty.prototype.get=function(W){if(W=this.K(W)){if(W=W.data,W===void 0)throw\"Storage: Invalid value was encountered\";}else W=void 0;return W};g.oM(DO,ty);DO.prototype.set=function(W,Y,k){if(Y=cD2(Y)){if(k){if(k=k.length)return g.OO;var T=k.key(Y++);if(W)return g.ry(T);T=k.getItem(T);if(typeof T!==\"string\")throw\"Storage mechanism: Invalid value was encountered\";return g.ry(T)};\nreturn P};\ng.H.clear=function(){jX(this);this.W.clear()};\ng.H.key=function(W){jX(this);return this.W.key(W)};g.oM(Al,rD);g.oM(sT1,rD);g.oM(KO,x0);KO.prototype.set=function(W,Y){this.K.set(this.W+W,Y)};\nKO.prototype.get=function(W){return this.K.get(this.W+W)};\nKO.prototype.remove=function(W){this.K.remove(this.W+W)};\nKO.prototype.JL=function(W){var Y=this.K[Symbol.iterator](),k=this,P=new g.Ly;P.next=function(){var T=Y.next();if(T.done)return T;for(T=T.value;T.slice(0,k.W.length)!=k.W;){T=Y.next();if(T.done)return T;T=T.value}return g.ry(W?T.slice(k.W.length):k.K.get(T))};\nreturn P};Pb.prototype.getValue=function(){return this.K};\nPb.prototype.clone=function(){return new Pb(this.W,this.K)};g.H=fa.prototype;g.H.b_=function(W,Y){var k=this.W;k.push(new Pb(W,Y));W=k.length-1;Y=this.W;for(k=Y[W];W>0;){var P=W-1>>1;if(Y[P].W>k.W)Y[W]=Y[P],W=P;else break}Y[W]=k};\ng.H.remove=function(){var W=this.W,Y=W.length,k=W[0];if(!(Y<=0)){if(Y==1)W.length=0;else{W[0]=W.pop();W=0;Y=this.W;for(var P=Y.length,T=Y[W];W

>1;){var I=W*2+1,X=W*2+2;I=XT.W)break;Y[W]=Y[I];W=I}Y[W]=T}return k.getValue()}};\ng.H.F7=function(){for(var W=this.W,Y=[],k=W.length,P=0;P>>16&65535|0;for(var I;k!==0;){I=k>2E3?2E3:k;k-=I;do T=T+Y[P++]|0,W=W+T|0;while(--I);T%=65521;W%=65521}return T|W<<16|0};for(var LD={},nG,ZXz=[],pG=0;pG<256;pG++){nG=pG;for(var iX1=0;iX1<8;iX1++)nG=nG&1?3988292384^nG>>>1:nG>>>1;ZXz[pG]=nG}LD=function(W,Y,k,P){k=P+k;for(W^=-1;P>>8^ZXz[(W^Y[P])&255];return W^-1};var jY={};jY={2:\"need dictionary\",1:\"stream end\",0:\"\",\"-1\":\"file error\",\"-2\":\"stream error\",\"-3\":\"data error\",\"-4\":\"insufficient memory\",\"-5\":\"buffer error\",\"-6\":\"incompatible version\"};var r5=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],zO=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],M56=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],CQj=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d5=Array(576);Xv(d5);var mN=Array(60);Xv(mN);var de=Array(512);Xv(de);var zX=Array(256);Xv(zX);var sf=Array(29);Xv(sf);var Ap=Array(30);Xv(Ap);var uHS,ZJ6,iJd,OJ5=!1;var g5;g5=[new FZ(0,0,0,0,function(W,Y){var k=65535;for(k>W.BH-5&&(k=W.BH-5);;){if(W.B7<=1){w5(W);if(W.B7===0&&Y===0)return 1;if(W.B7===0)break}W.Sr+=W.B7;W.B7=0;var P=W.U3+k;if(W.Sr===0||W.Sr>=P)if(W.B7=W.Sr-P,W.Sr=P,be(W,!1),W.kh.Lq===0)return 1;if(W.Sr-W.U3>=W.uY-262&&(be(W,!1),W.kh.Lq===0))return 1}W.b_=0;if(Y===4)return be(W,!0),W.kh.Lq===0?3:4;W.Sr>W.U3&&be(W,!1);return 1}),\nnew FZ(4,4,8,4,tbd),new FZ(4,5,16,8,tbd),new FZ(4,6,32,32,tbd),new FZ(4,4,16,16,c$),new FZ(8,16,32,32,c$),new FZ(8,16,128,128,c$),new FZ(8,32,128,256,c$),new FZ(32,128,258,1024,c$),new FZ(32,258,258,4096,c$)];var hb0={};hb0=function(){this.input=null;this.YP=this.tf=this.O7=0;this.output=null;this.Cz=this.Lq=this.lT=0;this.msg=\"\";this.state=null;this.GA=2;this.g5=0};var qP6=Object.prototype.toString;\nCU.prototype.push=function(W,Y){var k=this.kh,P=this.options.chunkSize;if(this.ended)return!1;var T=Y===~~Y?Y:Y===!0?4:0;typeof W===\"string\"?k.input=jk7(W):qP6.call(W)===\"[object ArrayBuffer]\"?k.input=new Uint8Array(W):k.input=W;k.O7=0;k.tf=k.input.length;do{k.Lq===0&&(k.output=new K6.jB(P),k.lT=0,k.Lq=P);W=ANj(k,T);if(W!==1&&W!==0)return this.e9(W),this.ended=!0,!1;if(k.Lq===0||k.tf===0&&(T===4||T===2))if(this.options.to===\"string\"){var I=K6.Rx(k.output,k.lT);Y=I;I=I.length;if(I<65537&&(Y.subarray&&\nuGK||!Y.subarray))Y=String.fromCharCode.apply(null,K6.Rx(Y,I));else{for(var X=\"\",h=0;h0||k.Lq===0)&&W!==1);if(T===4)return(k=this.kh)&&k.state?(P=k.state.status,P!==42&&P!==69&&P!==73&&P!==91&&P!==103&&P!==113&&P!==666?W=Is(k,-2):(k.state=null,W=P===113?Is(k,-3):0)):W=-2,this.e9(W),this.ended=!0,W===0;T===2&&(this.e9(0),k.Lq=0);return!0};\nCU.prototype.e9=function(W){W===0&&(this.result=this.options.to===\"string\"?this.chunks.join(\"\"):K6.Bn(this.chunks));this.chunks=[];this.err=W;this.msg=this.kh.msg};var qe6=\"@@redux/INIT\"+zmv(),Rt7=\"@@redux/REPLACE\"+zmv();var H9d=typeof Symbol===\"function\"&&Symbol.observable||\"@@observable\";var Mhj=[0,pZK,-3,SF];g.f(gcC,B9);var Coq=Wa2(gcC,[0,h5,G6h,Tk,pZK,Tk,-1,SF,pZK,SF,-1,h5,SF,G6h,jF,Mhj,Tk,-1,SF]);var pd2=1713604564;var F0S=new g.O6(\"adInfoDialogEndpoint\");var d30=new g.O6(\"adPingingEndpoint\");var ECF=new g.O6(\"crossDeviceProgressCommand\");var Rm=new g.O6(\"actionCompanionAdRenderer\");var lo=new g.O6(\"adActionInterstitialRenderer\");var th9=new g.O6(\"adDurationRemainingRenderer\");var i1=new g.O6(\"adHoverTextButtonRenderer\");var Jw6=new g.O6(\"adInfoDialogRenderer\");var cO=new g.O6(\"adMessageRenderer\");var bV=new g.O6(\"adPreviewRenderer\");var nD=new g.O6(\"adsEngagementPanelRenderer\");var fQ7=new g.O6(\"dismissablePanelTextPortraitImageRenderer\");var cfd=new g.O6(\"adsEngagementPanelSectionListViewModel\");var qh1=new g.O6(\"flyoutCtaRenderer\");var HS=new g.O6(\"imageCompanionAdRenderer\");var cP=new g.O6(\"instreamAdPlayerOverlayRenderer\");var b4C=new g.O6(\"instreamSurveyAdBackgroundImageRenderer\");var cXd=new g.O6(\"instreamSurveyAdPlayerOverlayRenderer\");var n3=new g.O6(\"instreamSurveyAdRenderer\"),u6=new g.O6(\"instreamSurveyAdSingleSelectQuestionRenderer\"),Z_=new g.O6(\"instreamSurveyAdMultiSelectQuestionRenderer\"),Gk=new g.O6(\"instreamSurveyAdAnswerRenderer\"),RrN=new g.O6(\"instreamSurveyAdAnswerNoneOfTheAboveRenderer\");var c4=new g.O6(\"instreamVideoAdRenderer\");var HXh=new g.O6(\"textOverlayAdContentRenderer\"),nsK=new g.O6(\"enhancedTextOverlayAdContentRenderer\"),pLi=new g.O6(\"imageOverlayAdContentRenderer\");var xm=new g.O6(\"playerOverlayLayoutRenderer\");var bo=new g.O6(\"videoInterstitialButtonedCenteredLayoutRenderer\");var IHq=new g.O6(\"aboveFeedAdLayoutRenderer\");var Xtz=new g.O6(\"belowPlayerAdLayoutRenderer\");var tM7=new g.O6(\"inPlayerAdLayoutRenderer\");var j6F=new g.O6(\"playerBytesAdLayoutRenderer\");var S86=new g.O6(\"playerBytesSequenceItemAdLayoutRenderer\");var kH=new g.O6(\"playerUnderlayAdLayoutRenderer\");var Nw=new g.O6(\"adIntroRenderer\");var xi=new g.O6(\"playerBytesSequentialLayoutRenderer\");var J$z=new g.O6(\"slidingTextPlayerOverlayRenderer\");var p3=new g.O6(\"surveyTextInterstitialRenderer\");var gJ=new g.O6(\"videoAdTrackingRenderer\");var ax0=new g.O6(\"videoInterstitialCenteredLayoutViewModel\");var Gaw=new g.O6(\"simpleAdBadgeRenderer\");var P5=new g.O6(\"skipAdRenderer\"),KTc=new g.O6(\"skipButtonRenderer\");var Ci=new g.O6(\"adSlotRenderer\");var tD=new g.O6(\"squeezebackPlayerSidePanelRenderer\");var Esp=new g.O6(\"timedPieCountdownRenderer\");var vm=new g.O6(\"adAvatarViewModel\");var Cg=new g.O6(\"adBadgeViewModel\");var Lg=new g.O6(\"adButtonViewModel\");var Jvp=new g.O6(\"adDetailsLineViewModel\");var s_h=new g.O6(\"adDisclosureBannerViewModel\");var rvz=new g.O6(\"adPodIndexViewModel\");var Avi=new g.O6(\"imageBackgroundViewModel\");var zrz=new g.O6(\"adGridCardCollectionViewModel\");var dBz=new g.O6(\"adGridCardTextViewModel\");var mBK=new g.O6(\"adPreviewViewModel\");var DBc=new g.O6(\"playerAdAvatarLockupCardButtonedViewModel\");var gs1=new g.O6(\"skipAdButtonViewModel\");var FT$=new g.O6(\"skipAdViewModel\");var wLw=new g.O6(\"timedPieCountdownViewModel\");var Q_c=new g.O6(\"visitAdvertiserLinkViewModel\");var pD=new g.O6(\"bannerImageLayoutViewModel\");var Gg=new g.O6(\"topBannerImageTextIconButtonedLayoutViewModel\");var KD=new g.O6(\"adsEngagementPanelLayoutViewModel\");var qq=new g.O6(\"displayUnderlayTextGridCardsLayoutViewModel\");g.ae=new g.O6(\"browseEndpoint\");var yv1=new g.O6(\"confirmDialogEndpoint\");var LXv=new g.O6(\"commandContext\");var mL5=new g.O6(\"rawColdConfigGroup\");var dLq=new g.O6(\"rawHotConfigGroup\");g.S$=new g.O6(\"commandExecutorCommand\");g.f(FqS,B9);var hF0={tmS:0,fua:1,au1:32,hVi:61,vp5:67,WTr:103,zQh:86,b8J:42,EFJ:60,DSq:62,LO1:73,eV1:76,ArJ:88,yrr:90,iIg:99,RVh:98,KTq:100,cED:102,P32:41,wF6:69,JrP:70,pF5:71,ALi:2,yL2:27,ANDROID:3,C5D:54,gf6:14,HnD:91,ub5:55,YA2:24,ULa:20,nfz:18,s3g:21,Ong:104,G8r:30,xLg:29,j3D:28,mSq:101,Znq:34,qAg:36,tSa:38,IOS:5,c7D:15,iLz:92,Lla:40,MAS:25,zOP:17,Wmh:19,AjS:64,yj5:66,Km2:26,wuz:22,Jja:33,pu5:68,Twq:35,v4z:53,PvS:37,hR5:39,i81:7,P4S:57,w3q:43,p3S:59,JEJ:93,IJ1:74,TU1:75,oF6:85,SKi:65,gF2:80,ugS:8,KO6:10,\nUSr:58,YK5:63,C4P:72,mLa:23,SyD:11,C3D:13,oZr:12,vFS:16,NU1:56,Mmi:31,hOg:77,tAi:84,lu2:87,Oag:89,sZz:94,Bwi:95};g.f(kt,B9);kt.prototype.w$=function(){return G4(this,3)};\nkt.prototype.YQ=function(){return G4(this,5)};\nkt.prototype.SD=function(W){return P0(this,5,W)};g.f(On,B9);g.f(uu1,B9);g.f(Wj,B9);g.H=Wj.prototype;g.H.getDeviceId=function(){return G4(this,6)};\ng.H.Vs=function(W){var Y=Ib(this,9,EM,3,!0);ZP(Y,W);return Y[W]};\ng.H.getPlayerType=function(){return FL(this,36)};\ng.H.setHomeGroupInfo=function(W){return S2(this,uu1,81,W)};\ng.H.clearLocationPlayabilityToken=function(){return XA(this,89)};g.f(vV,B9);vV.prototype.getValue=function(){return G4(this,lG(this,df5,2))};\nvar df5=[2,3,4,5,6];g.f(jN,B9);jN.prototype.setTrackingParams=function(W){return XA(this,1,HWC(W,!1))};g.f(L3F,B9);g.f(G7,B9);G7.prototype.Vs=function(W){var Y=Ib(this,5,S4,3,!0);ZP(Y,W);return Y[W]};g.f(yK,B9);yK.prototype.getToken=function(){return IL(this,2)};\nyK.prototype.setToken=function(W){return P0(this,2,W)};g.f(xo,B9);xo.prototype.setSafetyMode=function(W){return Pu(this,5,W)};g.f(fy,B9);fy.prototype.pP=function(W){return S2(this,Wj,1,W)};var xw=new g.O6(\"thumbnailLandscapePortraitRenderer\");g.erc=new g.O6(\"changeEngagementPanelVisibilityAction\");var kw2=new g.O6(\"continuationCommand\");g.osN=new g.O6(\"openPopupAction\");g.KG=new g.O6(\"webCommandMetadata\");var hM6=new g.O6(\"metadataBadgeRenderer\");var $k1=new g.O6(\"signalServiceEndpoint\");var CV=new g.O6(\"innertubeCommand\");var mZ1=new g.O6(\"loggingDirectives\");var Nud={ehq:\"EMBEDDED_PLAYER_MODE_UNKNOWN\",a6P:\"EMBEDDED_PLAYER_MODE_DEFAULT\",l6i:\"EMBEDDED_PLAYER_MODE_PFP\",EZ5:\"EMBEDDED_PLAYER_MODE_PFL\"};var TRC=new g.O6(\"channelThumbnailEndpoint\");var tqC=new g.O6(\"embeddedPlayerErrorMessageRenderer\");var OrF=new g.O6(\"embeddedPlayerOverlayVideoDetailsRenderer\"),j4d=new g.O6(\"embeddedPlayerOverlayVideoDetailsCollapsedRenderer\"),IG2=new g.O6(\"embeddedPlayerOverlayVideoDetailsExpandedRenderer\");var j3v=new g.O6(\"embedsInfoPanelRenderer\");var vsi=new g.O6(\"feedbackEndpoint\");var Cmc=new g.O6(\"callToActionButtonViewModel\");var LTK=new g.O6(\"interactionLoggingCommandMetadata\");var e9$={rEh:\"WEB_DISPLAY_MODE_UNKNOWN\",QA1:\"WEB_DISPLAY_MODE_BROWSER\",dSg:\"WEB_DISPLAY_MODE_MINIMAL_UI\",Vmg:\"WEB_DISPLAY_MODE_STANDALONE\",BUD:\"WEB_DISPLAY_MODE_FULLSCREEN\"};g.f(F5,B9);F5.prototype.getPlayerType=function(){return FL(this,7)};\nF5.prototype.B5=function(){return G4(this,19)};\nF5.prototype.setVideoId=function(W){return P0(this,19,W)};g.f(hU,B9);g.f(q5,B9);g.f(JO,B9);\nvar UBK=[2,3,5,6,7,11,13,20,21,22,23,24,28,32,37,45,59,72,73,74,76,78,79,80,85,91,97,100,102,105,111,117,119,126,127,136,146,148,151,156,157,158,159,163,164,168,176,177,178,179,184,188,189,190,191,193,194,195,196,197,198,199,200,201,202,203,204,205,206,208,209,215,219,222,225,226,227,229,232,233,234,240,241,244,247,248,249,251,254,255,256,257,258,259,260,261,266,270,272,278,288,291,293,300,304,308,309,310,311,313,314,319,320,321,323,324,327,328,330,331,332,334,337,338,340,344,348,350,351,352,353,\n354,355,356,357,358,361,363,364,368,369,370,373,374,375,378,380,381,383,388,389,399,402,403,410,411,412,413,414,415,416,417,418,423,424,425,426,427,429,430,431,439,441,444,448,458,469,471,473,474,480,481,482,484,485,486,491,495,496,506,507,509,511,512,513,514,515,516,517,518,519,520,522,523,524,525,527];var l5w=new g.O6(\"loggingContext\");g.f(hI,B9);g.f(aI,B9);aI.prototype.B5=function(){return IL(this,lG(this,Y3,1))};\naI.prototype.setVideoId=function(W){return S8(this,1,Y3,CH(W))};\naI.prototype.getPlaylistId=function(){return IL(this,lG(this,Y3,2))};\nvar Y3=[1,2];g.f(zv5,B9);var he=new g.O6(\"changeKeyedMarkersVisibilityCommand\");var bX$=new g.O6(\"changeMarkersVisibilityCommand\");var OBS=new g.O6(\"loadMarkersCommand\");var cvz=new g.O6(\"suggestedActionDataViewModel\");var Yg0=new g.O6(\"timelyActionViewModel\");var W7z=new g.O6(\"timelyActionsOverlayViewModel\");var pt5=new g.O6(\"productListItemRenderer\");var xBz=new g.O6(\"shoppingOverlayRenderer\");var u$v=new g.O6(\"musicEmbeddedPlayerOverlayVideoDetailsRenderer\");var f5Q=new g.O6(\"adFeedbackEndpoint\");var Vhw=new g.O6(\"menuEndpoint\");var Ft7=new g.O6(\"phoneDialerEndpoint\");var DYv=new g.O6(\"sendSmsEndpoint\");var VPz=new g.O6(\"copyTextEndpoint\");var NsK=new g.O6(\"shareEndpoint\"),a5B=new g.O6(\"shareEntityEndpoint\"),WaK=new g.O6(\"shareEntityServiceEndpoint\"),Y$j=new g.O6(\"webPlayerShareEntityServiceEndpoint\");g.$i=new g.O6(\"urlEndpoint\");g.Yi=new g.O6(\"watchEndpoint\");var $_9=new g.O6(\"watchPlaylistEndpoint\");g.keQ=new g.O6(\"offlineOrchestrationActionCommand\");var t_7=new g.O6(\"compositeVideoOverlayRenderer\");var Pqz=new g.O6(\"miniplayerRenderer\");var V30=new g.O6(\"paidContentOverlayRenderer\");var TZi=new g.O6(\"playerMutedAutoplayOverlayRenderer\"),j3B=new g.O6(\"playerMutedAutoplayEndScreenRenderer\");var n0F=new g.O6(\"unserializedPlayerResponse\"),IWc=new g.O6(\"unserializedPlayerResponse\");var XlK=new g.O6(\"playlistEditEndpoint\");var EO;g.FM=new g.O6(\"buttonRenderer\");EO=new g.O6(\"toggleButtonRenderer\");var bYv=new g.O6(\"counterfactualRenderer\");var S$z=new g.O6(\"resolveUrlCommandMetadata\");var hMc=new g.O6(\"modifyChannelNotificationPreferenceEndpoint\");var zX7=new g.O6(\"pingingEndpoint\");var BZz=new g.O6(\"unsubscribeEndpoint\");g.Xy=new g.O6(\"subscribeButtonRenderer\");var OB9=new g.O6(\"subscribeEndpoint\");var Nvc=new g.O6(\"buttonViewModel\");var xtS=new g.O6(\"qrCodeRenderer\");var uSC={mBJ:\"LIVING_ROOM_APP_MODE_UNSPECIFIED\",HLP:\"LIVING_ROOM_APP_MODE_MAIN\",Fmh:\"LIVING_ROOM_APP_MODE_KIDS\",q36:\"LIVING_ROOM_APP_MODE_MUSIC\",GgS:\"LIVING_ROOM_APP_MODE_UNPLUGGED\",Xu5:\"LIVING_ROOM_APP_MODE_GAMING\"};var keF=new g.O6(\"autoplaySwitchButtonRenderer\");var dY,Yb5,FVz,EGd;dY=new g.O6(\"decoratedPlayerBarRenderer\");Yb5=new g.O6(\"chapteredPlayerBarRenderer\");FVz=new g.O6(\"multiMarkersPlayerBarRenderer\");EGd=new g.O6(\"chapterRenderer\");g.l_d=new g.O6(\"markerRenderer\");var biz=new g.O6(\"decoratedPlayheadRenderer\");var IWX=new g.O6(\"desktopOverlayConfigRenderer\");var VcX=new g.O6(\"engagementPanelSectionListRenderer\");var TZ0=new g.O6(\"gatedActionsOverlayViewModel\");var xDd=new g.O6(\"heatMarkerRenderer\");var cKS=new g.O6(\"heatmapRenderer\");var BZ7=new g.O6(\"watchToWatchTransitionRenderer\");var MqS=new g.O6(\"playlistPanelRenderer\");var uXK=new g.O6(\"productUpsellSuggestedActionViewModel\");var ZBi=new g.O6(\"suggestedActionTimeRangeTrigger\"),iB1=new g.O6(\"suggestedActionsRenderer\"),M9K=new g.O6(\"suggestedActionRenderer\");var NVX=new g.O6(\"timedMarkerDecorationRenderer\");var Xd5=new g.O6(\"cipher\");var pnF=new g.O6(\"playerVars\");var t9z=new g.O6(\"playerVars\");var J5=g.hL.window,q$h,RMK,$g=(J5==null?void 0:(q$h=J5.yt)==null?void 0:q$h.config_)||(J5==null?void 0:(RMK=J5.ytcfg)==null?void 0:RMK.data_)||{};g.qa(\"yt.config_\",$g);var rP=[];var PR1=/^[\\w.]*$/,QQq={q:!0,search_query:!0},wRS=String(LL);var bh=new function(){var W=window.document;this.W=window;this.K=W};\ng.qa(\"yt.ads_.signals_.getAdSignalsString\",function(W){return w0(Qe(W))});g.hQ();var LId=\"XMLHttpRequest\"in g.hL?function(){return new XMLHttpRequest}:null;var HBK=\"client_dev_domain client_dev_expflag client_dev_regex_map client_dev_root_url client_rollout_override expflag forcedCapability jsfeat jsmode mods\".split(\" \");g.cp(HBK);var jJd={Authorization:\"AUTHORIZATION\",\"X-Goog-EOM-Visitor-Id\":\"EOM_VISITOR_DATA\",\"X-Goog-Visitor-Id\":\"SANDBOXED_VISITOR_ID\",\"X-Youtube-Domain-Admin-State\":\"DOMAIN_ADMIN_STATE\",\"X-Youtube-Chrome-Connected\":\"CHROME_CONNECTED_HEADER\",\"X-YouTube-Client-Name\":\"INNERTUBE_CONTEXT_CLIENT_NAME\",\"X-YouTube-Client-Version\":\"INNERTUBE_CONTEXT_CLIENT_VERSION\",\"X-YouTube-Delegation-Context\":\"INNERTUBE_CONTEXT_SERIALIZED_DELEGATION_CONTEXT\",\"X-YouTube-Device\":\"DEVICE\",\"X-Youtube-Identity-Token\":\"ID_TOKEN\",\"X-YouTube-Page-CL\":\"PAGE_CL\",\n\"X-YouTube-Page-Label\":\"PAGE_BUILD_LABEL\",\"X-Goog-AuthUser\":\"SESSION_INDEX\",\"X-Goog-PageId\":\"DELEGATED_SESSION_ID\"},w6C=\"app debugcss debugjs expflag force_ad_params force_ad_encrypted force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address\".split(\" \").concat(g.cp(HBK)),Z5d=!1,Hzq=h_;g.f(dl,XJ);lf.prototype.then=function(W,Y,k){return this.W?this.W.then(W,Y,k):this.J===1&&W?(W=W.call(k,this.K))&&typeof W.then===\"function\"?W:Ww(W):this.J===2&&Y?(W=Y.call(k,this.K))&&typeof W.then===\"function\"?W:JZ(W):this};\nlf.prototype.getValue=function(){return this.K};\nlf.prototype.$goog_Thenable=!0;var Lv=!1;var o4=B8||Y4;var tS5=/^([0-9\\.]+):([0-9\\.]+)$/;g.f(tf6,XJ);tf6.prototype.name=\"BiscottiError\";g.f(N5,XJ);N5.prototype.name=\"BiscottiMissingError\";var o77={format:\"RAW\",method:\"GET\",timeout:5E3,withCredentials:!0},ay=null;var Cn6=g.gY([\"data-\"]),kKQ={};var nai=0,Kl=g.M8?\"webkit\":Ze?\"moz\":g.Hz?\"ms\":g.sT?\"o\":\"\",plc=g.o3(\"ytDomDomGetNextId\")||function(){return++nai};\ng.qa(\"ytDomDomGetNextId\",plc);var Eq7={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};Ss.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};\nSs.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};\nSs.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var u$=g.hL.ytEventsEventsListeners||{};g.qa(\"ytEventsEventsListeners\",u$);var D1C=g.hL.ytEventsEventsCounter||{count:0};g.qa(\"ytEventsEventsCounter\",D1C);var ENF=qP(function(){var W=!1;try{var Y=Object.defineProperty({},\"passive\",{get:function(){W=!0}});\nwindow.addEventListener(\"test\",null,Y)}catch(k){}return W}),gv2=qP(function(){var W=!1;\ntry{var Y=Object.defineProperty({},\"capture\",{get:function(){W=!0}});\nwindow.addEventListener(\"test\",null,Y)}catch(k){}return W});var sO;sO=window;g.lj=sO.ytcsi&&sO.ytcsi.now?sO.ytcsi.now:sO.performance&&sO.performance.timing&&sO.performance.now&&sO.performance.timing.navigationStart?function(){return sO.performance.timing.navigationStart+sO.performance.now()}:function(){return(new Date).getTime()};g.oM(PF,g.D);PF.prototype.N=function(W){W.W===void 0&&t87(W);var Y=W.W;W.K===void 0&&t87(W);this.W=new g.z6(Y,W.K)};\nPF.prototype.oE=function(){return this.W||new g.z6};\nPF.prototype.A5=function(){if(this.W){var W=(0,g.lj)();if(this.T!=0){var Y=this.X,k=this.W,P=Y.x-k.x;Y=Y.y-k.y;P=Math.sqrt(P*P+Y*Y)/(W-this.T);this.K[this.J]=Math.abs((P-this.C)/this.C)>.5?1:0;for(k=Y=0;k<4;k++)Y+=this.K[k]||0;Y>=3&&this.G();this.C=P}this.T=W;this.X=this.W;this.J=(this.J+1)%4}};\nPF.prototype.iz=function(){g.hl(this.L);g.Zg(this.Kg)};g.f(EQ,g.D);EQ.prototype.Z=function(W,Y,k,P,T){k=g.nT((0,g.xp)(k,P||this.J9));k={target:W,name:Y,callback:k};var I;T&&ENF()&&(I={passive:!0});W.addEventListener(Y,k.callback,I);this.G.push(k);return k};\nEQ.prototype.nH=function(W){for(var Y=0;Y=U.SN)||E.W.version>=V||E.W.objectStoreNames.contains(y)||A.push(y)}B=A;if(B.length===0){G.oi(5);break}O=Object.keys(k.options.bW);\nu=h.objectStoreNames();if(k.Ck.options.version+1)throw M.close(),k.J=!1,I75(k,t);return G.return(M);case 8:throw Y(),\nZ instanceof Error&&!g.dS(\"ytidb_async_stack_killswitch\")&&(Z.stack=Z.stack+\"\\n\"+X.substring(X.indexOf(\"\\n\")+1)),dF(Z,k.name,\"\",(q=k.options.version)!=null?q:-1);}})}\nfunction Y(){k.W===P&&(k.W=void 0)}\nvar k=this;if(!this.J)throw I75(this);if(this.W)return this.W;var P,T={blocking:function(I){I.close()},\nclosed:Y,NV2:Y,upgrade:this.options.upgrade};return this.W=P=W()};var F6=new YH(\"YtIdbMeta\",{bW:{databases:{SN:1}},upgrade:function(W,Y){Y(1)&&g.l7(W,\"databases\",{keyPath:\"actualName\"})}});var nW,Mk=new function(){}(new function(){});new g.sU;g.f(Wz,YH);Wz.prototype.K=function(W,Y,k){k=k===void 0?{}:k;return(this.options.shared?CCS:ujF)(W,Y,Object.assign({},k))};\nWz.prototype.delete=function(W){W=W===void 0?{}:W;return(this.options.shared?hx2:T1d)(this.name,W)};var d_9={},qJ5=g.UF(\"ytGcfConfig\",{bW:(d_9.coldConfigStore={SN:1},d_9.hotConfigStore={SN:1},d_9),shared:!1,upgrade:function(W,Y){Y(1)&&(g.b7(g.l7(W,\"hotConfigStore\",{keyPath:\"key\",autoIncrement:!0}),\"hotTimestampIndex\",\"timestamp\"),g.b7(g.l7(W,\"coldConfigStore\",{keyPath:\"key\",autoIncrement:!0}),\"coldTimestampIndex\",\"timestamp\"))},\nversion:1});g.f(C6,g.D);C6.prototype.iz=function(){for(var W=g.e(this.K),Y=W.next();!Y.done;Y=W.next()){var k=this.W;Y=k.indexOf(Y.value);Y>=0&&k.splice(Y,1)}this.K.length=0;g.D.prototype.iz.call(this)};X9.prototype.SD=function(W){this.hotHashData=W;g.qa(\"yt.gcf.config.hotHashData\",this.hotHashData||null)};var m_N=typeof TextEncoder!==\"undefined\"?new TextEncoder:null,kAv=m_N?function(W){return m_N.encode(W)}:function(W){W=g.oa(W);\nfor(var Y=new Uint8Array(W.length),k=0;k=Y?!1:!0};\ng.H.HJ=function(){var W=this;if(!o1(this))throw Error(\"IndexedDB is not supported: retryQueuedRequests\");this.a7.JH(\"QUEUED\",this.c5).then(function(Y){Y&&!W.nf(Y,W.Z0)?W.EX.r_(function(){return g.v(function(k){if(k.W==1)return Y.id===void 0?k.oi(2):g.L(k,W.a7.vc(Y.id,W.c5),2);W.HJ();g.I_(k)})}):W.O6.s6()&&W.EY()})};var Lc;var MP2={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135,\nmangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28,\nnextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42,\nassetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225,\nliveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationStreamWebrtcStats:288,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71,visualElementShown:72,visualElementHidden:73,\nvisualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87,spacecastSummaryRequested:88,\nspacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137,vrCopresencePartyStats:153,\nvrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrCowatchUserStartOrJoinEvent:504,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129,buyFlowStarted:136,\nmbsConnectionInitiated:138,mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165,buyFlowEvent:167,\nkidsParentalGateTracking:168,kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177,transactionFlowPaymentCallBackReceived:387,\ntransactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186,outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189,\nypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205,ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258,\nypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218,watchTimeSegment:219,appWidthLayoutError:221,\naccountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243,deviceContextEvent:244,templateResolutionException:245,\nmusicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267,ytbFileOpened:268,tfliteModelError:269,apiTest:270,\nyongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293,watchRestoreAttempt:294,liteAccountSignIn:296,\nnotaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317,tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478,\ntvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337,tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340,\niosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359,activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361,\nmdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378,browseThumbnailPreloadEvent:379,finalPayload:380,\nmdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396,gelDebuggingEvent:399,webLinkTtsPlayEnd:400,\nclipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419,sfvEffectGlThreadBlockedEvent:420,\nmdeQosEvent:510,mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,mdeExporterEvent:497,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,externalVideoShareToYoutubeAttempt:501,parentCodeEvent:502,offlineTransferStarted:4,musicOfflineMixtapePreferencesChanged:16,\nmangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77,dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440,embedsVideoDataDidChange:441,shortsFirst:443,\ncruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447,tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,producerAppStateChange:509,producerProjectDiskInsufficientExportFailure:516,producerMediaServicesResetDetails:522,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463,getCtvTokenEvent:464,\nstartupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476,tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488,unpluggedAmbientInterludesCounterfactualEvent:489,\nkeyPlaysPlayback:490,shortsCreationFallbackEvent:493,vssData:491,castMatch:494,miniAppPerformanceMetrics:495,userFeedbackEvent:496,kidsGuestSessionMismatch:498,musicSideloadedPlaylistMigrationEvent:499,sleepTimerSessionFinishEvent:500,watchEpPromoConflict:503,innertubeResponseCacheMetrics:505,miniAppAdEvent:506,dataPlanUpsellEvent:507,producerProjectRenamed:508,producerMediaSelectionEvent:511,embedsAutoplayStatusChanged:512,remoteConnectEvent:513,connectedSessionMisattributionEvent:514,producerProjectElementModified:515,\nadsSeenClientLogging:517,producerEvent:518,tvhtml5CleanStart:519,deviceAccountMetricsEvent:520,derpLogEvent:521,playablesPortalEvent:523,ipValidationStarted:524,ipValidationReceived:525,reelsSequenceMutationEvent:527};var gah={},BQ2=g.UF(\"ServiceWorkerLogsDatabase\",{bW:(gah.SWHealthLog={SN:1},gah),shared:!0,upgrade:function(W,Y){Y(1)&&g.b7(g.l7(W,\"SWHealthLog\",{keyPath:\"id\",autoIncrement:!0}),\"swHealthNewRequest\",[\"interface\",\"timestamp\"])},\nversion:1});var H$z={},R9$=0;var WW;oV.prototype.requestComplete=function(W,Y){Y&&(this.K=!0);W=this.removeParams(W);this.W.get(W)||this.W.set(W,Y)};\noV.prototype.isEndpointCFR=function(W){W=this.removeParams(W);return(W=this.W.get(W))?!1:W===!1&&this.K?!0:null};\noV.prototype.removeParams=function(W){return W.split(\"?\")[0]};\noV.prototype.removeParams=oV.prototype.removeParams;oV.prototype.isEndpointCFR=oV.prototype.isEndpointCFR;oV.prototype.requestComplete=oV.prototype.requestComplete;oV.getInstance=Ah;g.f(TM,g.sq);g.H=TM.prototype;g.H.s6=function(){return this.W.s6()};\ng.H.U7=function(W){this.W.W=W};\ng.H.d$=function(){var W=window.navigator.onLine;return W===void 0?!0:W};\ng.H.Fl=function(){this.K=!0};\ng.H.listen=function(W,Y){return this.W.listen(W,Y)};\ng.H.ZX=function(W){W=zg(this.W,W);W.then(function(Y){g.dS(\"use_cfr_monitor\")&&Ah().requestComplete(\"generate_204\",Y)});\nreturn W};\nTM.prototype.sendNetworkCheckRequest=TM.prototype.ZX;TM.prototype.listen=TM.prototype.listen;TM.prototype.enableErrorFlushing=TM.prototype.Fl;TM.prototype.getWindowStatus=TM.prototype.d$;TM.prototype.networkStatusHint=TM.prototype.U7;TM.prototype.isNetworkAvailable=TM.prototype.s6;TM.getInstance=Si7;g.f(g.z_,g.sq);g.z_.prototype.s6=function(){var W=g.o3(\"yt.networkStatusManager.instance.isNetworkAvailable\");return W?W.bind(this.K)():!0};\ng.z_.prototype.U7=function(W){var Y=g.o3(\"yt.networkStatusManager.instance.networkStatusHint\").bind(this.K);Y&&Y(W)};\ng.z_.prototype.ZX=function(W){var Y=this,k;return g.v(function(P){k=g.o3(\"yt.networkStatusManager.instance.sendNetworkCheckRequest\").bind(Y.K);return g.dS(\"skip_network_check_if_cfr\")&&Ah().isEndpointCFR(\"generate_204\")?P.return(new Promise(function(T){var I;Y.U7(((I=window.navigator)==null?void 0:I.onLine)||!0);T(Y.s6())})):k?P.return(k(W)):P.return(!0)})};var A8;g.f(mg,rS);mg.prototype.writeThenSend=function(W,Y){Y||(Y={});Y=Z9V(W,Y);g.eU()||(this.W=!1);rS.prototype.writeThenSend.call(this,W,Y)};\nmg.prototype.sendThenWrite=function(W,Y,k){Y||(Y={});Y=Z9V(W,Y);g.eU()||(this.W=!1);rS.prototype.sendThenWrite.call(this,W,Y,k)};\nmg.prototype.sendAndWrite=function(W,Y){Y||(Y={});Y=Z9V(W,Y);g.eU()||(this.W=!1);rS.prototype.sendAndWrite.call(this,W,Y)};\nmg.prototype.awaitInitialization=function(){return this.J.promise};var QLq=g.hL.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};g.qa(\"ytNetworklessLoggingInitializationOptions\",QLq);g.p2.prototype.isReady=function(){!this.config_&&C2X()&&(this.config_=g.sV());return!!this.config_};var Fa9,iU,ZN;Fa9=g.hL.ytPubsubPubsubInstance||new g.Td;iU=g.hL.ytPubsubPubsubSubscribedKeys||{};ZN=g.hL.ytPubsubPubsubTopicToKeys||{};g.Kf=g.hL.ytPubsubPubsubIsSynchronous||{};g.Td.prototype.subscribe=g.Td.prototype.subscribe;g.Td.prototype.unsubscribeByKey=g.Td.prototype.MI;g.Td.prototype.publish=g.Td.prototype.publish;g.Td.prototype.clear=g.Td.prototype.clear;g.qa(\"ytPubsubPubsubInstance\",Fa9);g.qa(\"ytPubsubPubsubTopicToKeys\",ZN);g.qa(\"ytPubsubPubsubIsSynchronous\",g.Kf);\ng.qa(\"ytPubsubPubsubSubscribedKeys\",iU);var QOF={};g.f(U6,g.D);U6.prototype.append=function(W){if(!this.K)throw Error(\"This does not support the append operation\");W=W.Tn();this.Tn().appendChild(W)};\ng.f(gi,U6);gi.prototype.Tn=function(){return this.W};g.f(xO,g.D);xO.prototype.onTouchStart=function(W){this.G=!0;this.K=W.touches.length;this.W.isActive()&&(this.W.stop(),this.C=!0);W=W.touches;this.X=ONz(this,W)||W.length!=1;var Y=W.item(0);this.X||!Y?this.N=this.L=Infinity:(this.L=Y.clientX,this.N=Y.clientY);for(Y=this.J.length=0;Y=0)}if(Y||W&&Math.pow(W.clientX-this.L,2)+Math.pow(W.clientY-this.N,2)>25)this.T=!0};\nxO.prototype.onTouchEnd=function(W){var Y=W.changedTouches;Y&&this.G&&this.K==1&&!this.T&&!this.C&&!this.X&&ONz(this,Y)&&(this.A5=W,this.W.start());this.K=W.touches.length;this.K===0&&(this.T=this.G=!1,this.J.length=0);this.C=!1};var EA=Date.now().toString();var bf={};var Bz=Symbol(\"injectionDeps\");pg.prototype.toString=function(){return\"InjectionToken(\"+this.name+\")\"};\nvZS.prototype.resolve=function(W){return W instanceof v9?AA(this,W.key,[],!0):AA(this,W,[])};var N47;var wZ=window;var es=g.dS(\"web_enable_lifecycle_monitoring\")&&FX()!==0,PV2=g.dS(\"web_enable_lifecycle_monitoring\");NW7.prototype.cancel=function(){for(var W=g.e(this.W),Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y.jobId===void 0||Y.WJ||this.scheduler.Ca(Y.jobId),Y.WJ=!0;this.K.resolve()};g.H=oK.prototype;g.H.install=function(W){this.plugins.push(W);return this};\ng.H.uninstall=function(){var W=this;g.xh.apply(0,arguments).forEach(function(Y){Y=W.plugins.indexOf(Y);Y>-1&&W.plugins.splice(Y,1)})};\ng.H.transition=function(W,Y){var k=this;es&&$gd(this.state);var P=this.transitions.find(function(I){return Array.isArray(I.from)?I.from.find(function(X){return X===k.state&&I.to===W}):I.from===k.state&&I.to===W});\nif(P){this.K&&(eSi(this.K),this.K=void 0);Tb6(this,W,Y);this.state=W;es&&yL(this.state);P=P.action.bind(this);var T=this.plugins.filter(function(I){return I[W]}).map(function(I){return I[W]});\nP(CbC(this,T),Y)}else throw Error(\"no transition specified from \"+this.state+\" to \"+W);};\ng.H.lm1=function(W){var Y=g.xh.apply(1,arguments);g.tN();for(var k=g.e(W),P=k.next(),T={};!P.done;T={qk:void 0},P=k.next())T.qk=P.value,gHC(function(I){return function(){QE2(I.qk.name);dIF(function(){return I.qk.callback.apply(I.qk,g.cp(Y))});\ns0(I.qk.name)}}(T))};\ng.H.E8J=function(W){var Y=g.xh.apply(1,arguments),k,P,T,I;return g.v(function(X){X.W==1&&(g.tN(),k=g.e(W),P=k.next(),T={});if(X.W!=3){if(P.done)return X.oi(0);T.NH=P.value;T.Aq=void 0;I=function(h){return function(){QE2(h.NH.name);var B=dIF(function(){return h.NH.callback.apply(h.NH,g.cp(Y))});\nne(B)?h.Aq=g.dS(\"web_lifecycle_error_handling_killswitch\")?B.then(function(){s0(h.NH.name)}):B.then(function(){s0(h.NH.name)},function(O){ET0(O);\ns0(h.NH.name)}):s0(h.NH.name)}}(T);\ngHC(I);return T.Aq?g.L(X,T.Aq,3):X.oi(3)}T={NH:void 0,Aq:void 0};P=k.next();return X.oi(2)})};\ng.H.YA=function(W){var Y=g.xh.apply(1,arguments),k=this,P=W.map(function(T){return{R$:function(){QE2(T.name);dIF(function(){return T.callback.apply(T,g.cp(Y))});\ns0(T.name)},\npriority:G8(k,T)}});\nP.length&&(this.K=new NW7(P))};\ng.db.Object.defineProperties(oK.prototype,{currentState:{configurable:!0,enumerable:!0,get:function(){return this.state}}});var AG;g.f(zT,oK);zT.prototype.C=function(W,Y){var k=this;this.W=g.iQ(0,function(){k.currentState===\"application_navigating\"&&k.transition(\"none\")},5E3);\nW(Y==null?void 0:Y.event)};\nzT.prototype.X=function(W,Y){this.W&&(g.yi.Ca(this.W),this.W=null);W(Y==null?void 0:Y.event)};var OA0=[];g.qa(\"yt.logging.transport.getScrapedGelPayloads\",function(){return OA0});WT.prototype.storePayload=function(W,Y){W=rKv(W);this.store[W]?this.store[W].push(Y):(this.K={},this.store[W]=[Y]);this.W++;g.dS(\"more_accurate_gel_parser\")&&(Y=new CustomEvent(\"TRANSPORTING_NEW_EVENT\"),window.dispatchEvent(Y));return W};\nWT.prototype.smartExtractMatchingEntries=function(W){if(!W.keys.length)return[];for(var Y=Prq(this,W.keys.splice(0,1)[0]),k=[],P=0;P=0){P=!1;break a}}P=!0}P&&(Y=Rp(Y))&&this.yV(Y)}};\ng.H.xI=function(W){return W};\ng.H.onTouchStart=function(W){this.wD.onTouchStart(W)};\ng.H.onTouchMove=function(W){this.wD.onTouchMove(W)};\ng.H.onTouchEnd=function(W){if(this.wD)this.wD.onTouchEnd(W)};\ng.H.yV=function(W){this.layoutId?this.B6.executeCommand(W,this.layoutId):(W=new g.M6(\"There is undefined layoutId when calling the runCommand method.\",{componentType:this.componentType}),g.LH(W))};\ng.H.createServerVe=function(W,Y){this.api.createServerVe(W,this);this.api.setTrackingParams(W,Y)};\ng.H.logVisibility=function(W,Y){this.api.hasVe(W)&&this.api.logVisibility(W,Y,this.interactionLoggingClientData)};\ng.H.iz=function(){this.clear(null);this.nH(this.e1);for(var W=g.e(this.gD),Y=W.next();!Y.done;Y=W.next())this.nH(Y.value);g.pk.prototype.iz.call(this)};g.f(Yp,CC);\nYp.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);this.W=Y;if(Y.text==null&&Y.icon==null)g.Jx(Error(\"ButtonRenderer did not have text or an icon set.\"));else{switch(Y.style||null){case \"STYLE_UNKNOWN\":W=\"ytp-ad-button-link\";break;default:W=null}W!=null&&g.N6(this.element,W);Y.text!=null&&(W=g.NF(Y.text),g.Xi(W)||(this.element.setAttribute(\"aria-label\",W),this.J=new g.pk({S:\"span\",j:\"ytp-ad-button-text\",v6:W}),g.m(this,this.J),this.J.S1(this.element)));Y.accessibilityData&&Y.accessibilityData.accessibilityData&&\nY.accessibilityData.accessibilityData.label&&!g.Xi(Y.accessibilityData.accessibilityData.label)&&this.element.setAttribute(\"aria-label\",Y.accessibilityData.accessibilityData.label);Y.icon!=null&&(Y=vD(Y.icon,this.T),Y!=null&&(this.K=new g.pk({S:\"span\",j:\"ytp-ad-button-icon\",B:[Y]}),g.m(this,this.K)),this.C?FG(this.element,this.K.element,0):this.K.S1(this.element))}};\nYp.prototype.clear=function(){this.hide()};\nYp.prototype.onClick=function(W){CC.prototype.onClick.call(this,W);W=g.e(fb2(this));for(var Y=W.next();!Y.done;Y=W.next())Y=Y.value,this.layoutId?this.B6.executeCommand(Y,this.layoutId):g.LH(Error(\"Missing layoutId for button.\"));this.api.onAdUxClicked(this.componentType,this.layoutId)};g.f(d6,g.D);d6.prototype.iz=function(){this.K&&g.Zg(this.K);this.W.clear();zc=null;g.D.prototype.iz.call(this)};\nd6.prototype.register=function(W,Y){Y&&this.W.set(W,Y)};\nvar zc=null;g.f(bt,CC);\nbt.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);W=Y.hoverText||null;Y=Y.button&&g.R(Y.button,g.FM)||null;Y==null?g.LH(Error(\"AdHoverTextButtonRenderer.button was not set in response.\")):(this.button=new Yp(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,void 0,void 0,void 0,void 0,this.J),g.m(this,this.button),this.button.init(R1(\"button\"),Y,this.macros),W&&this.button.element.setAttribute(\"aria-label\",g.NF(W)),this.button.S1(this.element),this.N&&!g.$Z(this.button.element,\n\"ytp-ad-clickable\")&&g.N6(this.button.element,\"ytp-ad-clickable\"),this.J&&g.N6(this.button.element,\"ytp-ad-hover-text-button--clean-player\"),W&&(this.K=new g.pk({S:\"div\",j:\"ytp-ad-hover-text-container\"}),this.C&&(Y=new g.pk({S:\"div\",j:\"ytp-ad-hover-text-callout\"}),Y.S1(this.K.element),g.m(this,Y)),g.m(this,this.K),this.K.S1(this.element),Y=Qh(W),FG(this.K.element,Y,0)),this.show())};\nbt.prototype.hide=function(){this.button&&this.button.hide();this.K&&this.K.hide();CC.prototype.hide.call(this)};\nbt.prototype.show=function(){this.button&&this.button.show();CC.prototype.show.call(this)};g.f(e5,CC);\ne5.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);k=(W=Y.thumbnail)&&Ao(W)||\"\";g.Xi(k)?Math.random()<.01&&g.Jx(Error(\"Found AdImage without valid image URL\")):(this.W?g.KX(this.element,\"backgroundImage\",\"url(\"+k+\")\"):kF(this.element,{src:k}),kF(this.element,{alt:W&&W.accessibility&&W.accessibility.label||\"\"}),Y&&Y.adRendererCommands&&Y.adRendererCommands.clickCommand?this.element.classList.add(\"ytp-ad-clickable-element\"):this.element.classList.remove(\"ytp-ad-clickable-element\"),this.show())};\ne5.prototype.clear=function(){this.hide()};g.f(wc,CC);g.H=wc.prototype;g.H.hide=function(){CC.prototype.hide.call(this);this.J&&this.J.focus()};\ng.H.show=function(){this.J=document.activeElement;CC.prototype.show.call(this);this.T.focus()};\ng.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);this.K=Y;Y.dialogMessages||Y.title!=null?Y.confirmLabel==null?g.LH(Error(\"ConfirmDialogRenderer.confirmLabel was not set.\")):Y.cancelLabel==null?g.LH(Error(\"ConfirmDialogRenderer.cancelLabel was not set.\")):IP5(this,Y):g.LH(Error(\"Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set.\"))};\ng.H.clear=function(){g.eY(this.W);this.hide()};\ng.H.xn=function(){this.hide()};\ng.H.z$=function(){var W=this.K.cancelEndpoint;W&&(this.layoutId?this.B6.executeCommand(W,this.layoutId):g.LH(Error(\"Missing layoutId for confirm dialog.\")));this.hide()};\ng.H.jM=function(){var W=this.K.confirmNavigationEndpoint||this.K.confirmEndpoint;W&&(this.layoutId?this.B6.executeCommand(W,this.layoutId):g.LH(Error(\"Missing layoutId for confirm dialog.\")));this.hide()};g.f(ZB,CC);g.H=ZB.prototype;\ng.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);this.J=Y;if(Y.defaultText==null&&Y.defaultIcon==null)g.LH(Error(\"ToggleButtonRenderer must have either text or icon set.\"));else if(Y.defaultIcon==null&&Y.toggledIcon!=null)g.LH(Error(\"ToggleButtonRenderer cannot have toggled icon set without a default icon.\"));else{if(Y.style){switch(Y.style.styleType){case \"STYLE_UNKNOWN\":case \"STYLE_DEFAULT\":W=\"ytp-ad-toggle-button-default-style\";break;default:W=null}W!=null&&g.N6(this.T,W)}W={};Y.defaultText?\n(k=g.NF(Y.defaultText),g.Xi(k)||(W.buttonText=k,this.api.V().experiments.Nq(\"a11y_h5_associate_survey_question\")||this.W.setAttribute(\"aria-label\",k),this.api.V().experiments.Nq(\"fix_h5_toggle_button_a11y\")&&this.K.setAttribute(\"aria-label\",k))):g.iJ(this.TJ,!1);Y.defaultTooltip&&(W.tooltipText=Y.defaultTooltip,this.W.hasAttribute(\"aria-label\")||this.K.setAttribute(\"aria-label\",Y.defaultTooltip));Y.defaultIcon?(k=vD(Y.defaultIcon),this.updateValue(\"untoggledIconTemplateSpec\",k),Y.toggledIcon?(this.Kg=\n!0,k=vD(Y.toggledIcon),this.updateValue(\"toggledIconTemplateSpec\",k)):(g.iJ(this.N,!0),g.iJ(this.C,!1)),g.iJ(this.W,!1)):g.iJ(this.K,!1);g.x3(W)||this.update(W);Y.isToggled&&(g.N6(this.T,\"ytp-ad-toggle-button-toggled\"),this.toggleButton(Y.isToggled));JHv(this);this.Z(this.element,\"change\",this.Aw);this.show()}};\ng.H.onClick=function(W){this.gD.length>0&&(this.toggleButton(!this.isToggled()),this.Aw());CC.prototype.onClick.call(this,W)};\ng.H.Aw=function(){g.ML(this.T,\"ytp-ad-toggle-button-toggled\",this.isToggled());for(var W=g.e(nT2(this,this.isToggled())),Y=W.next();!Y.done;Y=W.next())Y=Y.value,this.layoutId?this.B6.executeCommand(Y,this.layoutId):g.LH(Error(\"Missing layoutId for toggle button.\"));if(this.isToggled())this.api.onAdUxClicked(\"toggle-button\",this.layoutId);JHv(this)};\ng.H.clear=function(){this.hide()};\ng.H.toggleButton=function(W){g.ML(this.T,\"ytp-ad-toggle-button-toggled\",W);this.W.checked=W;JHv(this)};\ng.H.isToggled=function(){return this.W.checked};g.f(mA,EQ);mA.prototype.C=function(W){if(Array.isArray(W)){W=g.e(W);for(var Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y instanceof QPV&&this.J(Y)}};g.f(Rm0,CC);g.H=Rm0.prototype;g.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);Y.reasons?Y.confirmLabel==null?g.LH(Error(\"AdFeedbackRenderer.confirmLabel was not set.\")):(Y.cancelLabel==null&&g.Jx(Error(\"AdFeedbackRenderer.cancelLabel was not set.\")),Y.title==null&&g.Jx(Error(\"AdFeedbackRenderer.title was not set.\")),RuC(this,Y)):g.LH(Error(\"AdFeedbackRenderer.reasons were not set.\"))};\ng.H.clear=function(){i$(this.C);i$(this.N);this.T.length=0;this.hide()};\ng.H.hide=function(){this.W&&this.W.hide();this.K&&this.K.hide();CC.prototype.hide.call(this);this.J&&this.J.focus()};\ng.H.show=function(){this.W&&this.W.show();this.K&&this.K.show();this.J=document.activeElement;CC.prototype.show.call(this);this.C.focus()};\ng.H.qQ=function(){this.api.onAdUxClicked(\"ad-feedback-dialog-close-button\",this.layoutId);this.publish(\"a\");this.hide()};\ng.H.QkJ=function(){this.hide()};\nGM.prototype.Tn=function(){return this.W.element};\nGM.prototype.getCommand=function(){return this.K};\nGM.prototype.isChecked=function(){return this.J.checked};g.f(Qs,wc);Qs.prototype.xn=function(W){wc.prototype.xn.call(this,W);this.api.onAdUxClicked(\"ad-mute-confirm-dialog-close-button\")};\nQs.prototype.z$=function(W){wc.prototype.z$.call(this,W);this.api.onAdUxClicked(\"ad-mute-confirm-dialog-close-button\")};\nQs.prototype.jM=function(W){wc.prototype.jM.call(this,W);this.api.onAdUxClicked(\"ad-mute-confirm-dialog-confirm-button\");this.publish(\"b\")};g.f(C1,CC);g.H=C1.prototype;\ng.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);this.C=Y;if(Y.dialogMessage==null&&Y.title==null)g.LH(Error(\"Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set.\"));else{Y.confirmLabel==null&&g.Jx(Error(\"AdInfoDialogRenderer.confirmLabel was not set.\"));if(W=Y.closeOverlayRenderer&&g.R(Y.closeOverlayRenderer,g.FM)||null)this.W=new Yp(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,[\"ytp-ad-info-dialog-close-button\"],\"ad-info-dialog-close-button\"),\ng.m(this,this.W),this.W.init(R1(\"button\"),W,this.macros),this.W.S1(this.element);Y.title&&(W=g.NF(Y.title),this.updateValue(\"title\",W));if(Y.adReasons)for(W=Y.adReasons,k=0;k=this.UP?(this.Kg.hide(),this.GJ=!0,this.publish(\"i\")):this.J&&this.J.isTemplated()&&(W=Math.max(0,Math.ceil((this.UP-W)/1E3)),W!=this.Q5&&(YB6(this.J,{TIME_REMAINING:String(W)}),this.Q5=W)))}};g.f(SB5,ls);g.H=SB5.prototype;\ng.H.init=function(W,Y,k){ls.prototype.init.call(this,W,Y,k);if(Y.image&&Y.image.thumbnail)if(Y.headline)if(Y.description)if((W=Y.actionButton&&g.R(Y.actionButton,g.FM))&&W.navigationEndpoint){var P=this.api.getVideoData(2);if(P!=null)if(Y.image&&Y.image.thumbnail){var T=Y.image.thumbnail.thumbnails;T!=null&&T.length>0&&g.Xi(g.AM(T[0].url))&&(T[0].url=P.profilePicture)}else g.Jx(Error(\"FlyoutCtaRenderer does not have image.thumbnail.\"));this.J.init(R1(\"ad-image\"),Y.image,k);this.C.init(R1(\"ad-text\"),\nY.headline,k);this.T.init(R1(\"ad-text\"),Y.description,k);this.K.init(R1(\"button\"),W,k);k=UcN(this.K.element);K5(this.K.element,k+\" This link opens in new tab\");this.Kg=W.navigationEndpoint;this.api.FJ()||this.show();this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.KG.bind(this));this.TJ=Y.startMs||0;jG(this)}else g.LH(Error(\"FlyoutCtaRenderer has no valid action button.\"));else g.LH(Error(\"FlyoutCtaRenderer has no description AdText.\"));else g.LH(Error(\"FlyoutCtaRenderer has no headline AdText.\"));\nelse g.Jx(Error(\"FlyoutCtaRenderer has no image.\"))};\ng.H.onClick=function(W){ls.prototype.onClick.call(this,W);this.api.pauseVideo();!g.MG(this.K.element,W.target)&&this.Kg&&(this.layoutId?this.B6.executeCommand(this.Kg,this.layoutId):g.LH(Error(\"Missing layoutId for flyout cta.\")))};\ng.H.RS=function(){if(this.W){var W=this.W.getProgressState();(W&&W.current||this.UP)&&1E3*W.current>=this.TJ&&(Cf(this),g.Sr(this.element,\"ytp-flyout-cta-inactive\"),this.K.element.removeAttribute(\"tabIndex\"))}};\ng.H.Vy=function(){this.clear()};\ng.H.clear=function(){this.hide();this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.KG.bind(this))};\ng.H.show=function(){this.K&&this.K.show();ls.prototype.show.call(this)};\ng.H.hide=function(){this.K&&this.K.hide();ls.prototype.hide.call(this)};\ng.H.KG=function(W){W==\"hidden\"?this.show():this.hide()};g.f(wBF,CC);g.H=wBF.prototype;\ng.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);this.W=Y;if(this.W.rectangle)for(W=this.W.likeButton&&g.R(this.W.likeButton,EO),Y=this.W.dislikeButton&&g.R(this.W.dislikeButton,EO),this.J.init(R1(\"toggle-button\"),W,k),this.K.init(R1(\"toggle-button\"),Y,k),this.Z(this.element,\"change\",this.vZ),this.T.show(100),this.show(),k=g.e(this.W&&this.W.impressionCommands||[]),W=k.next();!W.done;W=k.next())W=W.value,this.layoutId?this.B6.executeCommand(W,this.layoutId):g.LH(Error(\"Missing layoutId for instream user sentiment.\"))};\ng.H.clear=function(){this.hide()};\ng.H.hide=function(){this.J.hide();this.K.hide();CC.prototype.hide.call(this)};\ng.H.show=function(){this.J.show();this.K.show();CC.prototype.show.call(this)};\ng.H.vZ=function(){paS(this.element,\"ytp-ad-instream-user-sentiment-selected\");this.W.postMessageAction&&this.api.Ri(\"onYtShowToast\",this.W.postMessageAction);this.T.hide()};\ng.H.onClick=function(W){this.gD.length>0&&this.vZ();CC.prototype.onClick.call(this,W)};g.f(j_,g.D);g.H=j_.prototype;g.H.iz=function(){this.reset();g.D.prototype.iz.call(this)};\ng.H.reset=function(){g.eY(this.T);this.X=!1;this.W&&this.W.stop();this.C.stop();this.J&&(this.J=!1,this.G.play())};\ng.H.start=function(){this.reset();this.T.Z(this.K,\"mouseover\",this.wd,this);this.T.Z(this.K,\"mouseout\",this.PZ,this);this.A5&&(this.T.Z(this.K,\"focusin\",this.wd,this),this.T.Z(this.K,\"focusout\",this.PZ,this));this.W?this.W.start():(this.X=this.J=!0,g.KX(this.K,{opacity:this.N}))};\ng.H.wd=function(){this.J&&(this.J=!1,this.G.play());this.C.stop();this.W&&this.W.stop()};\ng.H.PZ=function(){this.X?this.C.start():this.W&&this.W.start()};\ng.H.sz=function(){this.J||(this.J=!0,this.L.play(),this.X=!0)};var jnv=[new Gp(\"b.f_\",!1,0),new Gp(\"j.s_\",!1,2),new Gp(\"r.s_\",!1,4),new Gp(\"e.h_\",!1,6),new Gp(\"i.s_\",!0,8),new Gp(\"s.t_\",!1,10),new Gp(\"p.h_\",!1,12),new Gp(\"s.i_\",!1,14),new Gp(\"f.i_\",!1,16),new Gp(\"a.b_\",!1,18),new Gp(\"a.o_\",!1),new Gp(\"g.o_\",!1,22),new Gp(\"p.i_\",!1,24),new Gp(\"p.m_\",!1),new Gp(\"n.k_\",!0,20),new Gp(\"i.f_\",!1),new Gp(\"a.s_\",!0),new Gp(\"m.c_\",!1),new Gp(\"n.h_\",!1,26),new Gp(\"o.p_\",!1),new Gp(\"m.p_\",!0,28),new Gp(\"o.a_\",!1),new Gp(\"d.p_\",!1),new Gp(\"e.i_\",!1)].reduce(function(W,Y){W[Y.K]=\nY;return W},{});g.f(rd,ls);g.H=rd.prototype;\ng.H.init=function(W,Y,k){ls.prototype.init.call(this,W,Y,k);this.Kg=Y;(this.TJ=WZS(this))&&g.Jx(Error(\"hasAdControlInClickCommands_ is true.\"));if(!Y||g.x3(Y))g.LH(Error(\"SkipButtonRenderer was not specified or empty.\"));else if(!Y.message||g.x3(Y.message))g.LH(Error(\"SkipButtonRenderer.message was not specified or empty.\"));else if(W=this.C?{iconType:\"SKIP_NEXT_NEW\"}:{iconType:\"SKIP_NEXT\"},Y=vD(W),Y==null?g.LH(Error(\"Icon for SkipButton was unable to be retrieved. Icon.IconType: \"+W.iconType+\".\")):\n(this.api.V().U(\"disable_touch_events_on_skip_button\")&&(Y.D=Object.assign({},Y.D,{\"aria-hidden\":\"true\",psD:\"false\"})),this.J=new g.pk({S:\"button\",Ya:[this.C?\"ytp-ad-skip-button-modern\":\"ytp-ad-skip-button\",\"ytp-button\"],B:[{S:\"span\",j:this.C?\"ytp-ad-skip-button-icon-modern\":\"ytp-ad-skip-button-icon\",B:[Y]}]}),g.m(this,this.J),this.J.S1(this.T.element),this.K=new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\"ytp-ad-skip-button-text\"),this.C&&this.K.element.classList.add(\"ytp-ad-skip-button-text-centered\"),\nthis.K.init(R1(\"ad-text\"),this.Kg.message,k),g.m(this,this.K),FG(this.J.element,this.K.element,0)),!this.api.V().U(\"disable_touch_events_on_skip_button\")){var P=P===void 0?null:P;k=this.api.V();!(this.gD.length>0)&&k.K&&(D$?0:\"ontouchstart\"in document.documentElement&&(HTd()||kI()))&&(this.nH(this.e1),P&&this.nH(P),this.gD=[this.Z(this.element,\"touchstart\",this.onTouchStart,this),this.Z(this.element,\"touchmove\",this.onTouchMove,this),this.Z(this.element,\"touchend\",this.onTouchEnd,this)])}};\ng.H.clear=function(){this.UP.reset();this.hide()};\ng.H.hide=function(){this.T.hide();this.K&&this.K.hide();Cf(this);ls.prototype.hide.call(this)};\ng.H.onClick=function(W){if(this.J!=null){if(W){var Y=W||window.event;Y.returnValue=!1;Y.preventDefault&&Y.preventDefault()}var k;if(m50(W,{contentCpn:((k=this.api.getVideoData(1))==null?void 0:k.clientPlaybackNonce)||\"\"})===0)this.api.Ri(\"onAbnormalityDetected\");else if(ls.prototype.onClick.call(this,W),this.publish(\"j\"),this.api.Ri(\"onAdSkip\"),this.GJ||!this.TJ)this.api.onAdUxClicked(this.componentType,this.layoutId)}};\ng.H.xI=function(W){if(!this.GJ)return this.TJ&&EF(\"SkipButton click commands not pruned while ALC exist\"),W;var Y,k=(Y=g.R(W,g.S$))==null?void 0:Y.commands;if(!k)return W;W=[];for(Y=0;Y=this.C&&zE1(this,!0)};g.f(Hyz,Yp);Hyz.prototype.init=function(W,Y,k){Yp.prototype.init.call(this,W,Y,k);W=!1;Y.text!=null&&(W=g.NF(Y.text),W=!g.Xi(W));W?Y.navigationEndpoint==null?g.Jx(Error(\"No visit advertiser clickthrough provided in renderer,\")):Y.style!==\"STYLE_UNKNOWN\"?g.Jx(Error(\"Button style was not a link-style type in renderer,\")):this.show():g.Jx(Error(\"No visit advertiser text was present in the renderer.\"))};g.f(Ky,CC);\nKy.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);W=Y.text;g.Xi(fR(W))?g.Jx(Error(\"SimpleAdBadgeRenderer has invalid or empty text\")):(W&&W.text&&(Y=W.text,this.J&&!this.K&&(Y=this.api.V(),Y=W.text+\" \"+(Y&&Y.K?\"\\u2022\":\"\\u00b7\")),Y={text:Y,isTemplated:W.isTemplated},W.style&&(Y.style=W.style),W.targetId&&(Y.targetId=W.targetId),W=new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),W.init(R1(\"simple-ad-badge\"),Y,k),W.S1(this.element),g.m(this,W)),this.show())};\nKy.prototype.clear=function(){this.hide()};g.f(rg,sJ);g.f(PB,g.tR);g.H=PB.prototype;g.H.YG=function(){return this.durationMs};\ng.H.stop=function(){this.W&&this.handler.nH(this.W)};\ng.H.Xi=function(W){this.K={seekableStart:0,seekableEnd:this.durationMs/1E3,current:W.current};this.publish(\"h\")};\ng.H.getProgressState=function(){return this.K};\ng.H.zQ=function(W){g.F7(W,2)&&this.publish(\"g\")};g.f(bO,g.tR);g.H=bO.prototype;g.H.YG=function(){return this.durationMs};\ng.H.start=function(){this.W||(this.W=!0,this.timer.start())};\ng.H.stop=function(){this.W&&(this.W=!1,this.timer.stop())};\ng.H.Xi=function(){this.oB+=100;var W=!1;this.oB>this.durationMs&&(this.oB=this.durationMs,this.timer.stop(),W=!0);this.K={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.oB/1E3};this.publish(\"h\");W&&this.publish(\"g\")};\ng.H.getProgressState=function(){return this.K};g.f(GF,ls);g.H=GF.prototype;g.H.init=function(W,Y,k){ls.prototype.init.call(this,W,Y,k);var P;if(Y==null?0:(P=Y.templatedCountdown)==null?0:P.templatedAdText){W=Y.templatedCountdown.templatedAdText;if(!W.isTemplated){g.Jx(Error(\"AdDurationRemainingRenderer has no templated ad text.\"));return}this.K=new oy(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);this.K.init(R1(\"ad-text\"),W,{});this.K.S1(this.element);g.m(this,this.K)}this.show()};\ng.H.clear=function(){this.hide()};\ng.H.hide=function(){Cf(this);ls.prototype.hide.call(this)};\ng.H.Vy=function(){this.hide()};\ng.H.RS=function(){if(this.W!=null){var W=this.W.getProgressState();if(W!=null&&W.current!=null&&this.K){var Y=this.W instanceof PB?this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:W.seekableEnd:this.videoAdDurationSeconds!==void 0?this.videoAdDurationSeconds:this.W instanceof bO?W.seekableEnd:this.api.getDuration(2,!1);W=W.current;var k,P,T=((k=this.api.getVideoData())==null?0:(P=k.Xj)==null?0:P.call(k))?Math.max(Y-W,0):Y-W;YB6(this.K,{FORMATTED_AD_DURATION_REMAINING:String(g.N8(T)),\nTIME_REMAINING:String(Math.ceil(T))})}}};\ng.H.show=function(){jG(this);ls.prototype.show.call(this)};g.f(xNC,oy);xNC.prototype.onClick=function(W){oy.prototype.onClick.call(this,W);this.api.onAdUxClicked(this.componentType)};g.f(jJ,CC);jJ.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(W=Y.content){g.lS(this.element,W);var k,P;Y=((k=Y.interaction)==null?void 0:(P=k.accessibility)==null?void 0:P.label)||W;this.element.setAttribute(\"aria-label\",Y)}else g.LH(Error(\"AdSimpleAttributedString does not have text content\"))};\njJ.prototype.clear=function(){this.hide()};\njJ.prototype.onClick=function(W){CC.prototype.onClick.call(this,W)};g.f(ID,CC);\nID.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});(W=Y.label)&&W.content&&!g.Xi(W.content)?(this.adBadgeText.init(R1(\"ad-simple-attributed-string\"),new TT(W)),(Y=Y.adPodIndex)&&Y.content&&!g.Xi(Y.content)&&(this.W=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),this.W.S1(this.element),g.m(this,this.W),this.W.element.classList.add(\"ytp-ad-badge__pod-index\"),this.W.init(R1(\"ad-simple-attributed-string\"),new TT(Y))),this.element.classList.add(this.K?\"ytp-ad-badge--stark-clean-player\":\n\"ytp-ad-badge--stark\"),this.show()):g.LH(Error(\"No label is returned in AdBadgeViewModel.\"))};\nID.prototype.show=function(){this.adBadgeText.show();var W;(W=this.W)==null||W.show();CC.prototype.show.call(this)};\nID.prototype.hide=function(){this.adBadgeText.hide();var W;(W=this.W)==null||W.hide();CC.prototype.hide.call(this)};g.f(vn,CC);vn.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});(W=Y.adPodIndex)&&W.content&&!g.Xi(W.content)&&(this.W=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),this.W.S1(this.element),g.m(this,this.W),this.W.init(R1(\"ad-simple-attributed-string\"),new TT(W)),Y.visibilityCondition===\"AD_POD_INDEX_VISIBILITY_CONDITION_AUTOHIDE\"&&this.element.classList.add(\"ytp-ad-pod-index--autohide\"));this.element.classList.add(\"ytp-ad-pod-index--stark\");this.show()};\nvn.prototype.show=function(){var W;(W=this.W)==null||W.show();CC.prototype.show.call(this)};\nvn.prototype.hide=function(){var W;(W=this.W)==null||W.hide();CC.prototype.hide.call(this)};g.f(l$,CC);\nl$.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(Y!=null&&Y.text){var k;if(((k=Y.text)==null?0:k.content)&&!g.Xi(Y.text.content)){this.W=new g.pk({S:\"div\",j:\"ytp-ad-disclosure-banner__text\",v6:Y.text.content});g.m(this,this.W);this.W.S1(this.element);var P,T;W=((P=Y.interaction)==null?void 0:(T=P.accessibility)==null?void 0:T.label)||Y.text.content;this.element.setAttribute(\"aria-label\",W);var I;if((I=Y.interaction)==null?0:I.onTap)this.K=new g.pk({S:\"div\",j:\"ytp-ad-disclosure-banner__chevron\",B:[g.Gt()]}),\ng.m(this,this.K),this.K.S1(this.element),this.api.V().U(\"enable_ad_disclosure_banner_a11y_fix\")&&(tT(this.element),this.element.setAttribute(\"tabindex\",\"0\"));this.show()}}else g.LH(Error(\"No banner text found in AdDisclosureBanner.\"))};\nl$.prototype.clear=function(){this.hide()};g.f(UN,g.pk);UN.prototype.Xi=function(){var W=this.K.getProgressState(),Y=W.seekableEnd;this.api.getPresentingPlayerType()===2&&(Y=this.J?this.J/1E3:W.seekableEnd);this.progressBar.style.width=VC(new fA(W.seekableStart,Y),W.current,0)*100+\"%\"};\nUN.prototype.onStateChange=function(){g.gp(this.api.V())||(this.api.getPresentingPlayerType()===2?this.W===-1&&(this.show(),this.W=this.K.subscribe(\"h\",this.Xi,this),this.Xi()):this.W!==-1&&(this.hide(),this.K.MI(this.W),this.W=-1))};g.f(Ir,CC);\nIr.prototype.init=function(W,Y,k,P){CC.prototype.init.call(this,W,Y,k);if(Y.skipOrPreviewRenderer){if(W=g.R(Y.skipOrPreviewRenderer,P5))k=new NV(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.K,this.N),k.S1(this.Fr),k.init(R1(\"skip-button\"),W,this.macros),g.m(this,k);if(W=g.R(Y.skipOrPreviewRenderer,P5))var T=W.skipOffsetMilliseconds}Y.brandInteractionRenderer&&(W=Y.brandInteractionRenderer.brandInteractionRenderer,k=new wBF(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),\nk.S1(this.TJ),k.init(R1(\"instream-user-sentiment\"),W,this.macros),g.m(this,k));if(W=g.R(Y,qh1))if(W=g.R(W,qh1))k=new SB5(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.K,!!Y.showWithoutLinkedMediaLayout),g.m(this,k),k.S1(this.C),k.init(R1(\"flyout-cta\"),W,this.macros);P=P&&P.videoAdDurationSeconds;Y.adBadgeRenderer&&(k=Y.adBadgeRenderer,W=g.R(k,Cg),W!=null?(k=new ID(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!1),g.m(this,k),k.S1(this.W),k.init(R1(\"ad-badge\"),\nW,this.macros),this.J=k.element):(W=k.simpleAdBadgeRenderer,W==null&&(W={text:{text:\"Ad\",isTemplated:!1}}),k=new Ky(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!0),g.m(this,k),k.S1(this.W),k.init(R1(\"simple-ad-badge\"),W,this.macros)));Y.adPodIndex&&(W=g.R(Y.adPodIndex,rvz),W!=null&&(k=new vn(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,k),k.S1(this.W),k.init(R1(\"ad-pod-index\"),W)));Y.adDurationRemaining&&!Y.showWithoutLinkedMediaLayout&&(W=Y.adDurationRemaining.adDurationRemainingRenderer,\nW==null&&(W={templatedCountdown:{templatedAdText:{text:\"{FORMATTED_AD_DURATION_REMAINING}\",isTemplated:!0}}}),P=new GF(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.K,P,!1),g.m(this,P),P.S1(this.W),P.init(R1(\"ad-duration-remaining\"),W,this.macros));Y.adInfoRenderer&&(P=g.R(Y.adInfoRenderer,i1))&&(W=new cE(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.element,void 0,!1),g.m(this,W),this.J!==null?this.W.insertBefore(W.element,this.J.nextSibling):W.S1(this.W),\nW.init(R1(\"ad-info-hover-text-button\"),P,this.macros));Y.visitAdvertiserRenderer&&(W=g.R(Y.visitAdvertiserRenderer,g.FM))&&(k=ctd(this)&&this.T?this.T:this.W)&&(P=new Hyz(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,P),P.S1(k),P.init(R1(\"visit-advertiser\"),W,this.macros),tT(P.element),W=UcN(P.element),K5(P.element,W+\" This link opens in new tab\"));!(P=this.api.V())||g.S1(P)||g.hN(P)||P.controlsType!=\"3\"&&!P.disableOrganicUi||(T=new UN(this.api,this.K,T,!1),T.S1(this.UP),\ng.m(this,T));Y.adDisclosureBannerRenderer&&(Y=g.R(Y.adDisclosureBannerRenderer,s_h))&&(T=new l$(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),T.S1(this.Kg),T.init(R1(\"ad-disclosure-banner\"),Y),g.m(this,T));this.api.V().U(\"enable_updated_html5_player_focus_style\")&&g.N6(this.element,\"ytp-ad-player-overlay-updated-focus-style\");this.show()};\nIr.prototype.clear=function(){this.hide()};g.fW.prototype.flush=function(W,Y){W=W===void 0?[]:W;Y=Y===void 0?!1:Y;if(g.dS(\"enable_client_streamz_web\")){W=g.e(W);for(var k=W.next();!k.done;k=W.next())k=F_z(k.value),this.W&&S2(k,bK,2,this.W),k={serializedIncrementBatch:g.Pk(k.J())},g.qc(\"streamzIncremented\",k,{sendIsolatedPayload:Y})}};\ng.f(g40,g.fW);var DPX=new Map;gq.prototype.set=function(W,Y,k){k=k!==void 0?Date.now()+k:void 0;this.W.set(W,Y,k)};\ngq.prototype.get=function(W){return this.W.get(W)};\ngq.prototype.remove=function(W){this.W.remove(W)};var Bn5=null;var LW=null,CW=null,vh=null,HIV=null;g.qa(\"yt.www.ads.eventcache.getLastCompanionData\",function(){return LW});\ng.qa(\"yt.www.ads.eventcache.getLastPlaShelfData\",function(){return null});\ng.qa(\"yt.www.ads.eventcache.getLastUpdateEngagementPanelAction\",function(){return CW});\ng.qa(\"yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction\",function(){return vh});\ng.qa(\"yt.www.ads.eventcache.getLastScrollToEngagementPanelCommand\",function(){return HIV});var DzX=new Map([[\"dark\",\"USER_INTERFACE_THEME_DARK\"],[\"light\",\"USER_INTERFACE_THEME_LIGHT\"]]);w3.prototype.handleResponse=function(W,Y){if(!Y)throw Error(\"request needs to be passed into ConsistencyService\");var k,P;Y=((k=Y.zX.context)==null?void 0:(P=k.request)==null?void 0:P.consistencyTokenJars)||[];var T;(W=(T=W.responseContext)==null?void 0:T.consistencyTokenJar)&&this.replace(Y,W)};\nw3.prototype.replace=function(W,Y){W=g.e(W);for(var k=W.next();!k.done;k=W.next())delete this.W[k.value.encryptedTokenJarContents];fw0(this,Y)};var vah=window.location.hostname.split(\".\").slice(-2).join(\".\"),Dj;Ot.getInstance=function(){Dj=g.o3(\"yt.clientLocationService.instance\");Dj||(Dj=new Ot,g.qa(\"yt.clientLocationService.instance\",Dj));return Dj};\ng.H=Ot.prototype;\ng.H.setLocationOnInnerTubeContext=function(W){W.client||(W.client={});if(this.W)W.client.locationInfo||(W.client.locationInfo={}),W.client.locationInfo.latitudeE7=Math.floor(this.W.coords.latitude*1E7),W.client.locationInfo.longitudeE7=Math.floor(this.W.coords.longitude*1E7),W.client.locationInfo.horizontalAccuracyMeters=Math.round(this.W.coords.accuracy),W.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0;else if(this.J||this.locationPlayabilityToken)W.client.locationPlayabilityToken=this.J||\nthis.locationPlayabilityToken};\ng.H.handleResponse=function(W){var Y;W=(Y=W.responseContext)==null?void 0:Y.locationPlayabilityToken;W!==void 0&&(this.locationPlayabilityToken=W,this.W=void 0,g.o_(\"INNERTUBE_CLIENT_NAME\")===\"TVHTML5\"?(this.localStorage=Xo1(this))&&this.localStorage.set(\"yt-location-playability-token\",W,15552E3):g.Jo(\"YT_CL\",JSON.stringify({loctok:W}),15552E3,vah,!0))};\ng.H.clearLocationPlayabilityToken=function(W){W===\"TVHTML5\"?(this.localStorage=Xo1(this))&&this.localStorage.remove(\"yt-location-playability-token\"):g.l3(\"YT_CL\");this.J=void 0;this.K!==-1&&(clearTimeout(this.K),this.K=-1)};\ng.H.getCurrentPositionFromGeolocation=function(){var W=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error(\"Geolocation unsupported\"));var Y=!1,k=1E4;g.o_(\"INNERTUBE_CLIENT_NAME\")===\"MWEB\"&&(Y=!0,k=15E3);return new Promise(function(P,T){navigator.geolocation.getCurrentPosition(function(I){W.W=I;P(I)},function(I){T(I)},{enableHighAccuracy:Y,\nmaximumAge:0,timeout:k})})};\ng.H.createUnpluggedLocationInfo=function(W){var Y={};W=W.coords;if(W==null?0:W.latitude)Y.latitudeE7=Math.floor(W.latitude*1E7);if(W==null?0:W.longitude)Y.longitudeE7=Math.floor(W.longitude*1E7);if(W==null?0:W.accuracy)Y.locationRadiusMeters=Math.round(W.accuracy);return Y};\ng.H.createLocationInfo=function(W){var Y={};W=W.coords;if(W==null?0:W.latitude)Y.latitudeE7=Math.floor(W.latitude*1E7);if(W==null?0:W.longitude)Y.longitudeE7=Math.floor(W.longitude*1E7);return Y};g.H=sIS.prototype;g.H.contains=function(W){return Object.prototype.hasOwnProperty.call(this.W,W)};\ng.H.get=function(W){if(this.contains(W))return this.W[W]};\ng.H.set=function(W,Y){this.W[W]=Y};\ng.H.dU=function(){return Object.keys(this.W)};\ng.H.remove=function(W){delete this.W[W]};Ie.prototype.getModuleId=function(W){return W.serviceId.getModuleId()};\nIe.prototype.get=function(W){a:{var Y=this.mappings.get(W.toString());switch(Y.type){case \"mapping\":W=Y.value;break a;case \"factory\":Y=Y.value();this.mappings.set(W.toString(),{type:\"mapping\",value:Y});W=Y;break a;default:W=QL(Y)}}return W};\nIe.prototype.registerService=function(W,Y){this.mappings.set(W.toString(),{type:\"mapping\",value:Y});return W};\nnew Ie;var gN={},Ttq=(gN.WEB_UNPLUGGED=\"^unplugged/\",gN.WEB_UNPLUGGED_ONBOARDING=\"^unplugged/\",gN.WEB_UNPLUGGED_OPS=\"^unplugged/\",gN.WEB_UNPLUGGED_PUBLIC=\"^unplugged/\",gN.WEB_CREATOR=\"^creator/\",gN.WEB_KIDS=\"^kids/\",gN.WEB_EXPERIMENTS=\"^experiments/\",gN.WEB_MUSIC=\"^music/\",gN.WEB_REMIX=\"^music/\",gN.WEB_MUSIC_EMBEDDED_PLAYER=\"^music/\",gN.WEB_MUSIC_EMBEDDED_PLAYER=\"^main_app/|^sfv/\",gN);ajS.prototype.C=function(W,Y,k){Y=Y===void 0?{}:Y;k=k===void 0?fu:k;var P={context:g.Fx(W.clickTrackingParams,!1,this.T)};var T=this.K(W);if(T){this.W(P,T,Y);var I;Y=g.y7(this.J());(T=(I=g.R(W.commandMetadata,g.KG))==null?void 0:I.apiUrl)&&(Y=T);I=sc0(mR(Y));W=Object.assign({},{command:W},void 0);P={input:I,sM:Xb(I),zX:P,config:W};P.config.Zo?P.config.Zo.identity=k:P.config.Zo={identity:k};return P}k=new g.M6(\"Error: Failed to create Request from Command.\",W);g.LH(k)};\ng.db.Object.defineProperties(ajS.prototype,{T:{configurable:!0,enumerable:!0,get:function(){return!1}}});\ng.f(A3,ajS);g.f(WK,A3);WK.prototype.C=function(){return{input:\"/getDatasyncIdsEndpoint\",sM:Xb(\"/getDatasyncIdsEndpoint\",\"GET\"),zX:{}}};\nWK.prototype.J=function(){return[]};\nWK.prototype.K=function(){};\nWK.prototype.W=function(){};var Cqz={},$2q=(Cqz.GET_DATASYNC_IDS=rc(WK),Cqz);var F1={},LaQ=(F1[\"analytics.explore\"]=\"LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE\",F1[\"artist.analytics\"]=\"LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS\",F1[\"artist.events\"]=\"LATENCY_ACTION_CREATOR_ARTIST_CONCERTS\",F1[\"artist.presskit\"]=\"LATENCY_ACTION_CREATOR_ARTIST_PROFILE\",F1[\"asset.claimed_videos\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS\",F1[\"asset.composition\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION\",F1[\"asset.composition_ownership\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP\",\nF1[\"asset.composition_policy\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY\",F1[\"asset.embeds\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS\",F1[\"asset.history\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_HISTORY\",F1[\"asset.issues\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES\",F1[\"asset.licenses\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES\",F1[\"asset.metadata\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA\",F1[\"asset.ownership\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP\",F1[\"asset.policy\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY\",\nF1[\"asset.references\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES\",F1[\"asset.shares\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES\",F1[\"asset.sound_recordings\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS\",F1[\"asset_group.assets\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS\",F1[\"asset_group.campaigns\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS\",F1[\"asset_group.claimed_videos\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS\",F1[\"asset_group.metadata\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA\",\nF1[\"song.analytics\"]=\"LATENCY_ACTION_CREATOR_SONG_ANALYTICS\",F1.creator_channel_dashboard=\"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD\",F1[\"channel.analytics\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS\",F1[\"channel.comments\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS\",F1[\"channel.content\"]=\"LATENCY_ACTION_CREATOR_POST_LIST\",F1[\"channel.content.promotions\"]=\"LATENCY_ACTION_CREATOR_PROMOTION_LIST\",F1[\"channel.copyright\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT\",F1[\"channel.editing\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_EDITING\",\nF1[\"channel.monetization\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION\",F1[\"channel.music\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_MUSIC\",F1[\"channel.music_storefront\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT\",F1[\"channel.playlists\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS\",F1[\"channel.translations\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS\",F1[\"channel.videos\"]=\"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS\",F1[\"channel.live_streaming\"]=\"LATENCY_ACTION_CREATOR_LIVE_STREAMING\",F1[\"dialog.copyright_strikes\"]=\n\"LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES\",F1[\"dialog.video_copyright\"]=\"LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT\",F1[\"dialog.uploads\"]=\"LATENCY_ACTION_CREATOR_DIALOG_UPLOADS\",F1.owner=\"LATENCY_ACTION_CREATOR_CMS_DASHBOARD\",F1[\"owner.allowlist\"]=\"LATENCY_ACTION_CREATOR_CMS_ALLOWLIST\",F1[\"owner.analytics\"]=\"LATENCY_ACTION_CREATOR_CMS_ANALYTICS\",F1[\"owner.art_tracks\"]=\"LATENCY_ACTION_CREATOR_CMS_ART_TRACKS\",F1[\"owner.assets\"]=\"LATENCY_ACTION_CREATOR_CMS_ASSETS\",F1[\"owner.asset_groups\"]=\n\"LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS\",F1[\"owner.bulk\"]=\"LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY\",F1[\"owner.campaigns\"]=\"LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS\",F1[\"owner.channel_invites\"]=\"LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES\",F1[\"owner.channels\"]=\"LATENCY_ACTION_CREATOR_CMS_CHANNELS\",F1[\"owner.claimed_videos\"]=\"LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS\",F1[\"owner.claims\"]=\"LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING\",F1[\"owner.claims.manual\"]=\"LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING\",F1[\"owner.delivery\"]=\n\"LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY\",F1[\"owner.delivery_templates\"]=\"LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES\",F1[\"owner.issues\"]=\"LATENCY_ACTION_CREATOR_CMS_ISSUES\",F1[\"owner.licenses\"]=\"LATENCY_ACTION_CREATOR_CMS_LICENSES\",F1[\"owner.pitch_music\"]=\"LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC\",F1[\"owner.policies\"]=\"LATENCY_ACTION_CREATOR_CMS_POLICIES\",F1[\"owner.releases\"]=\"LATENCY_ACTION_CREATOR_CMS_RELEASES\",F1[\"owner.reports\"]=\"LATENCY_ACTION_CREATOR_CMS_REPORTS\",F1[\"owner.videos\"]=\"LATENCY_ACTION_CREATOR_CMS_VIDEOS\",\nF1[\"playlist.videos\"]=\"LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST\",F1[\"post.comments\"]=\"LATENCY_ACTION_CREATOR_POST_COMMENTS\",F1[\"post.edit\"]=\"LATENCY_ACTION_CREATOR_POST_EDIT\",F1[\"promotion.edit\"]=\"LATENCY_ACTION_CREATOR_PROMOTION_EDIT\",F1[\"video.analytics\"]=\"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS\",F1[\"video.claims\"]=\"LATENCY_ACTION_CREATOR_VIDEO_CLAIMS\",F1[\"video.comments\"]=\"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS\",F1[\"video.copyright\"]=\"LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT\",F1[\"video.edit\"]=\"LATENCY_ACTION_CREATOR_VIDEO_EDIT\",\nF1[\"video.editor\"]=\"LATENCY_ACTION_CREATOR_VIDEO_EDITOR\",F1[\"video.editor_async\"]=\"LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC\",F1[\"video.live_settings\"]=\"LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS\",F1[\"video.live_streaming\"]=\"LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING\",F1[\"video.monetization\"]=\"LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION\",F1[\"video.policy\"]=\"LATENCY_ACTION_CREATOR_VIDEO_POLICY\",F1[\"video.rights_management\"]=\"LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT\",F1[\"video.translations\"]=\"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS\",\nF1),wN={},t4S=(wN.auto_search=\"LATENCY_ACTION_AUTO_SEARCH\",wN.ad_to_ad=\"LATENCY_ACTION_AD_TO_AD\",wN.ad_to_video=\"LATENCY_ACTION_AD_TO_VIDEO\",wN.app_startup=\"LATENCY_ACTION_APP_STARTUP\",wN.browse=\"LATENCY_ACTION_BROWSE\",wN.cast_splash=\"LATENCY_ACTION_CAST_SPLASH\",wN.channel_activity=\"LATENCY_ACTION_KIDS_CHANNEL_ACTIVITY\",wN.channels=\"LATENCY_ACTION_CHANNELS\",wN.chips=\"LATENCY_ACTION_CHIPS\",wN.commerce_transaction=\"LATENCY_ACTION_COMMERCE_TRANSACTION\",wN.direct_playback=\"LATENCY_ACTION_DIRECT_PLAYBACK\",\nwN.editor=\"LATENCY_ACTION_EDITOR\",wN.embed=\"LATENCY_ACTION_EMBED\",wN.embed_no_video=\"LATENCY_ACTION_EMBED_NO_VIDEO\",wN.entity_key_serialization_perf=\"LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF\",wN.entity_key_deserialization_perf=\"LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF\",wN.explore=\"LATENCY_ACTION_EXPLORE\",wN.favorites=\"LATENCY_ACTION_FAVORITES\",wN.home=\"LATENCY_ACTION_HOME\",wN.inboarding=\"LATENCY_ACTION_INBOARDING\",wN.landing=\"LATENCY_ACTION_LANDING\",wN.learning=\"LATENCY_ACTION_LEARNING\",\nwN.learning_journey_browse=\"LATENCY_ACTION_LEARNING_JOURNEY_BROWSE\",wN.learning_journey_watch=\"LATENCY_ACTION_LEARNING_JOURNEY_WATCH\",wN.library=\"LATENCY_ACTION_LIBRARY\",wN.live=\"LATENCY_ACTION_LIVE\",wN.live_pagination=\"LATENCY_ACTION_LIVE_PAGINATION\",wN.management=\"LATENCY_ACTION_MANAGEMENT\",wN.mini_app=\"LATENCY_ACTION_MINI_APP_PLAY\",wN.notification_settings=\"LATENCY_ACTION_KIDS_NOTIFICATION_SETTINGS\",wN.onboarding=\"LATENCY_ACTION_ONBOARDING\",wN.parent_profile_settings=\"LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS\",\nwN.parent_tools_collection=\"LATENCY_ACTION_PARENT_TOOLS_COLLECTION\",wN.parent_tools_dashboard=\"LATENCY_ACTION_PARENT_TOOLS_DASHBOARD\",wN.player_att=\"LATENCY_ACTION_PLAYER_ATTESTATION\",wN.prebuffer=\"LATENCY_ACTION_PREBUFFER\",wN.prefetch=\"LATENCY_ACTION_PREFETCH\",wN.profile_settings=\"LATENCY_ACTION_KIDS_PROFILE_SETTINGS\",wN.profile_switcher=\"LATENCY_ACTION_LOGIN\",wN.projects=\"LATENCY_ACTION_PROJECTS\",wN.reel_watch=\"LATENCY_ACTION_REEL_WATCH\",wN.results=\"LATENCY_ACTION_RESULTS\",wN.red=\"LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE\",\nwN.premium=\"LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE\",wN.privacy_policy=\"LATENCY_ACTION_KIDS_PRIVACY_POLICY\",wN.review=\"LATENCY_ACTION_REVIEW\",wN.search_overview_answer=\"LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER\",wN.search_ui=\"LATENCY_ACTION_SEARCH_UI\",wN.search_suggest=\"LATENCY_ACTION_SUGGEST\",wN.search_zero_state=\"LATENCY_ACTION_SEARCH_ZERO_STATE\",wN.secret_code=\"LATENCY_ACTION_KIDS_SECRET_CODE\",wN.seek=\"LATENCY_ACTION_PLAYER_SEEK\",wN.settings=\"LATENCY_ACTION_SETTINGS\",wN.store=\"LATENCY_ACTION_STORE\",\nwN.supervision_dashboard=\"LATENCY_ACTION_KIDS_SUPERVISION_DASHBOARD\",wN.tenx=\"LATENCY_ACTION_TENX\",wN.video_preview=\"LATENCY_ACTION_VIDEO_PREVIEW\",wN.video_to_ad=\"LATENCY_ACTION_VIDEO_TO_AD\",wN.watch=\"LATENCY_ACTION_WATCH\",wN.watch_it_again=\"LATENCY_ACTION_KIDS_WATCH_IT_AGAIN\",wN[\"watch,watch7\"]=\"LATENCY_ACTION_WATCH\",wN[\"watch,watch7_html5\"]=\"LATENCY_ACTION_WATCH\",wN[\"watch,watch7ad\"]=\"LATENCY_ACTION_WATCH\",wN[\"watch,watch7ad_html5\"]=\"LATENCY_ACTION_WATCH\",wN.wn_comments=\"LATENCY_ACTION_LOAD_COMMENTS\",\nwN.ww_rqs=\"LATENCY_ACTION_WHO_IS_WATCHING\",wN.voice_assistant=\"LATENCY_ACTION_VOICE_ASSISTANT\",wN.cast_load_by_entity_to_watch=\"LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH\",wN.networkless_performance=\"LATENCY_ACTION_NETWORKLESS_PERFORMANCE\",wN.gel_compression=\"LATENCY_ACTION_GEL_COMPRESSION\",wN.gel_jspb_serialize=\"LATENCY_ACTION_GEL_JSPB_SERIALIZE\",wN.attestation_challenge_fetch=\"LATENCY_ACTION_ATTESTATION_CHALLENGE_FETCH\",wN);Object.assign(t4S,LaQ);g.f(ok5,A9);var eNC=new WQ(\"aft-recorded\",ok5);var U_Q=g.hL.ytLoggingGelSequenceIdObj_||{};g.qa(\"ytLoggingGelSequenceIdObj_\",U_Q);var SX=g.hL.ytLoggingLatencyUsageStats_||{};g.qa(\"ytLoggingLatencyUsageStats_\",SX);$6.prototype.tick=function(W,Y,k,P){BW(this,\"tick_\"+W+\"_\"+Y)||g.qc(\"latencyActionTicked\",{tickName:W,clientActionNonce:Y},{timestamp:k,cttAuthInfo:P})};\n$6.prototype.info=function(W,Y,k){var P=Object.keys(W).join(\"\");BW(this,\"info_\"+P+\"_\"+Y)||(W=Object.assign({},W),W.clientActionNonce=Y,g.qc(\"latencyActionInfo\",W,{cttAuthInfo:k}))};\n$6.prototype.jspbInfo=function(W,Y,k){for(var P=\"\",T=0;T=T.length?(Y.append(T),W-=T.length):W?(Y.append(new Uint8Array(T.buffer,T.byteOffset,W)),k.append(new Uint8Array(T.buffer,T.byteOffset+W,T.length-W)),W=0):k.append(T);return{Mu:Y,LL:k}};\n$A.prototype.isFocused=function(W){return W>=this.J&&W=64&&(this.X.set(W.subarray(0,64-this.K),this.K),Y=64-this.K,this.K=0,S4d(this,this.X,0));for(;Y+64<=k;Y+=64)S4d(this,W,Y);Y=this.start&&(W=2&&k.ssdaiAdsConfig&&EF(\"Unexpected ad placement renderers length\",W.slot,null,{length:P.length});var T;((T=k.adSlots)==null?0:T.some(function(I){var X,h;return((X=g.R(I,Ci))==null?void 0:(h=X.adSlotMetadata)==null?void 0:h.slotType)===\"SLOT_TYPE_PLAYER_BYTES\"}))||P.some(function(I){var X,h,B,O;\nreturn!!((X=I.renderer)==null?0:(h=X.linearAdSequenceRenderer)==null?0:(B=h.linearAds)==null?0:B.length)||!((O=I.renderer)==null||!O.instreamVideoAdRenderer)})||djv(W)})};\nXpz.prototype.NG=function(){Zb7(this.W)};cW.prototype.oY=function(){var W=this;$QF(this.K,function(){var Y=kW(W.slot.clientMetadata,\"metadata_type_ad_break_request_data\");return Y.cueProcessedMs?W.W.get().fetch({xD:Y.getAdBreakUrl,F2:new g.Mm(Y.vD,Y.K5),cueProcessedMs:Y.cueProcessedMs}):W.W.get().fetch({xD:Y.getAdBreakUrl,F2:new g.Mm(Y.vD,Y.K5)})})};\ncW.prototype.NG=function(){Zb7(this.K)};nM2.prototype.oY=function(){var W=this.slot.clientMetadata,Y,k=(Y=this.slot.fulfilledLayout)!=null?Y:kW(W,\"metadata_type_fulfilled_layout\");YG5(this.callback,this.slot,k)};\nnM2.prototype.NG=function(){uN(this.callback,this.slot,new l(\"Got CancelSlotFulfilling request for \"+this.slot.slotType+\" in DirectFulfillmentAdapter.\",void 0,\"ADS_CLIENT_ERROR_MESSAGE_INVALID_FULFILLMENT_CANCELLATION_REQUEST\"),\"ADS_CLIENT_ERROR_TYPE_FULFILL_SLOT_FAILED\")};P1.prototype.build=function(W,Y){return Y.fulfilledLayout||nOS(Y,{ya:[\"metadata_type_fulfilled_layout\"]})?new nM2(W,Y):this.J(W,Y)};g.f(xS,P1);\nxS.prototype.J=function(W,Y){if(nOS(Y,{ya:[\"metadata_type_ad_break_request_data\",\"metadata_type_cue_point\"],slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\"}))return new Xpz(W,Y,this.W,this.K,this.v5,this.P6,this.sP,this.Cg,this.Pa);if(nOS(Y,{ya:[\"metadata_type_ad_break_request_data\"],slotType:\"SLOT_TYPE_AD_BREAK_REQUEST\"}))return new cW(W,Y,this.W,this.K,this.v5,this.P6);throw new l(\"Unsupported slot with type: \"+Y.slotType+\" and client metadata: \"+ZC(Y.clientMetadata)+\" in AdBreakRequestSlotFulfillmentAdapterFactory.\");};g.f(f7,P1);f7.prototype.J=function(W,Y){throw new l(\"Unsupported slot with type: \"+Y.slotType+\" and client metadata: \"+ZC(Y.clientMetadata)+\" in DefaultFulfillmentAdapterFactory.\");};g.H=CRq.prototype;g.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.init=function(){};\ng.H.release=function(){};\ng.H.startRendering=function(W){if(W.layoutId!==this.layout.layoutId)this.callback.Wk(this.slot,W,new Fn(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\");else{var Y=kW(W.clientMetadata,\"metadata_type_ad_break_response_data\");this.slot.slotType===\"SLOT_TYPE_AD_BREAK_REQUEST\"?(this.callback.Vi(this.slot,W),Ln6(this.J,\nthis.slot,Y)):EF(\"Unexpected slot type in AdBreakResponseLayoutRenderingAdapter - this should never happen\",this.slot,W)}};\ng.H.ej=function(W,Y){W.layoutId!==this.layout.layoutId?this.callback.Wk(this.slot,W,new Fn(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):(this.callback.oI(this.slot,W,Y),KVi(this),FD1(this))};g.f(Qy,g.tR);g.H=Qy.prototype;g.H.jr=function(){return this.K.slot};\ng.H.Z2=function(){return this.K.layout};\ng.H.init=function(){this.J.get().addListener(this)};\ng.H.release=function(){this.J.get().removeListener(this);this.dispose()};\ng.H.z_=function(){};\ng.H.hx=function(){};\ng.H.Lm=function(){};\ng.H.aH=function(){};\ng.H.startRendering=function(W){var Y=this;iqC(this.K,W,function(){return void Y.eZ()})};\ng.H.eZ=function(){this.J.get().eZ(this.W)};\ng.H.ej=function(W,Y){var k=this;iqC(this.K,W,function(){var P=k.J.get();Eh9(P,k.W,3);k.W=[];k.callback.oI(k.slot,W,Y)})};\ng.H.iz=function(){this.J.Xr()||this.J.get().removeListener(this);g.tR.prototype.iz.call(this)};\ng.db.Object.defineProperties(Qy.prototype,{slot:{configurable:!0,enumerable:!0,get:function(){return this.K.slot}},\nlayout:{configurable:!0,enumerable:!0,get:function(){return this.K.layout}}});Rn.prototype.h$=function(W,Y){Y=Y===void 0?!1:Y;var k=(this.J.get(W)||[]).concat();if(Y=Y&&M4V(W)){var P=this.J.get(Y);P&&k.push.apply(k,g.cp(P))}em(this,W,k);this.W.add(W);Y&&this.W.add(Y)};\nRn.prototype.Z_=function(W,Y){Y=Y===void 0?!1:Y;if(!this.W.has(W)){var k=Y&&M4V(W);k&&(Y=!this.W.has(k));this.h$(W,Y)}};g.f(Pyd,sJ);g.f(Mf6,Qy);g.H=Mf6.prototype;g.H.pu=function(W,Y){JQ(\"ads-engagement-panel-layout\",W,this.X.get().ph,this.sP.get(),this.T,this.C,this.jr(),this.Z2(),Y)};\ng.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),g.R(this.Z2().renderingContent,KD),this.callback,\"metadata_type_ads_engagement_panel_layout_view_model\",function(Y,k,P,T,I){return new Pyd(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(W,Y){this.C===Y.layoutId&&(this.T===null?this.T=this.sP.get().Tv():EF(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};g.f(v2d,sJ);g.f(QT7,Qy);g.H=QT7.prototype;g.H.pu=function(W,Y){JQ(\"banner-image\",W,this.X.get().ph,this.sP.get(),this.T,this.C,this.jr(),this.Z2(),Y)};\ng.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),g.R(this.Z2().renderingContent,pD),this.callback,\"metadata_type_banner_image_layout_view_model\",function(Y,k,P,T,I){return new v2d(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(W,Y){this.C===Y.layoutId&&(this.T===null?this.T=this.sP.get().Tv():EF(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};g.f(K0v,sJ);g.f(g7,Qy);g.H=g7.prototype;g.H.pu=function(W,Y){JQ(\"action-companion\",W,this.X.get().ph,this.sP.get(),this.T,this.C,this.jr(),this.Z2(),Y)};\ng.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),g.R(this.Z2().renderingContent,Rm),this.callback,\"metadata_type_action_companion_ad_renderer\",function(Y,k,P,T,I){return new K0v(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(W,Y){Y.layoutId===this.layout.layoutId?this.dD.Z_(\"impression\"):this.C===Y.layoutId&&(this.T===null?this.T=this.sP.get().Tv():EF(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};g.f(U26,sJ);g.f(SN,Qy);g.H=SN.prototype;g.H.pu=function(W,Y){JQ(\"image-companion\",W,this.X.get().ph,this.sP.get(),this.T,this.C,this.jr(),this.Z2(),Y)};\ng.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),g.R(this.Z2().renderingContent,HS),this.callback,\"metadata_type_image_companion_ad_renderer\",function(Y,k,P,T,I){return new U26(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(W,Y){Y.layoutId===this.layout.layoutId?this.dD.Z_(\"impression\"):this.C===Y.layoutId&&(this.T===null?this.T=this.sP.get().Tv():EF(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};g.f(Do5,sJ);g.f(wmv,Qy);g.H=wmv.prototype;g.H.pu=function(W,Y){JQ(\"shopping-companion\",W,this.X.get().ph,this.sP.get(),this.T,this.C,this.jr(),this.Z2(),Y)};\ng.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),void 0,this.callback,\"metadata_type_shopping_companion_carousel_renderer\",function(Y,k,P,T,I){return new Do5(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(W,Y){Y.layoutId===this.layout.layoutId?this.dD.Z_(\"impression\"):this.C===Y.layoutId&&(this.T===null?this.T=this.sP.get().Tv():EF(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};g.f(gX,Qy);g.H=gX.prototype;g.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),void 0,this.callback,\"metadata_type_action_companion_ad_renderer\",function(Y,k,P,T,I){return new K0v(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(){};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};\ng.H.pu=function(){};g.H=u41.prototype;g.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.init=function(){this.Cg.get().addListener(this);this.Cg.get().Ne.push(this);var W=kW(this.layout.clientMetadata,\"metadata_type_video_length_seconds\"),Y=kW(this.layout.clientMetadata,\"metadata_type_active_view_traffic_type\");HN(this.layout.W7)&&aV(this.i8.get(),this.layout.layoutId,{BD:Y,zx:W,listener:this})};\ng.H.release=function(){this.Cg.get().removeListener(this);MTF(this.Cg.get(),this);HN(this.layout.W7)&&R4(this.i8.get(),this.layout.layoutId)};\ng.H.startRendering=function(W){this.callback.Vi(this.slot,W)};\ng.H.ej=function(W,Y){o20(this.P6.get())&&!this.W&&(this.dD.Z_(\"abandon\"),this.W=!0);this.callback.oI(this.slot,W,Y)};\ng.H.Z6=function(W){switch(W.id){case \"part2viewed\":this.dD.Z_(\"start\");this.dD.Z_(\"impression\");break;case \"videoplaytime25\":this.dD.Z_(\"first_quartile\");break;case \"videoplaytime50\":this.dD.Z_(\"midpoint\");break;case \"videoplaytime75\":this.dD.Z_(\"third_quartile\");break;case \"videoplaytime100\":o20(this.P6.get())?this.W||(this.dD.Z_(\"complete\"),this.W=!0):this.dD.Z_(\"complete\");bU(this.dD)&&Hm(this.dD,Infinity,!0);XUV(this.P6.get())&&aw(this.K,Infinity,!0);break;case \"engagedview\":bU(this.dD)||this.dD.Z_(\"progress\");\nbreak;case \"conversionview\":case \"videoplaybackstart\":case \"videoplayback2s\":case \"videoplayback10s\":break;default:EF(\"Cue Range ID unknown in DiscoveryLayoutRenderingAdapter\",this.slot,this.layout)}};\ng.H.onVolumeChange=function(){};\ng.H.yb=function(){};\ng.H.XI=function(){};\ng.H.D6=function(){};\ng.H.onFullscreenToggled=function(){};\ng.H.Dg=function(){};\ng.H.DJ=function(){};\ng.H.Zk=function(W){XUV(this.P6.get())&&aw(this.K,W*1E3,!1);bU(this.dD)&&Hm(this.dD,W*1E3,!1)};\ng.H.Bl=function(){};\ng.H.qm=function(){this.dD.Z_(\"active_view_measurable\")};\ng.H.GZ=function(){this.dD.Z_(\"active_view_viewable\")};\ng.H.Hb=function(){this.dD.Z_(\"active_view_fully_viewable_audible_half_duration\")};\ng.H.FY=function(){this.dD.Z_(\"audio_measurable\")};\ng.H.XY=function(){this.dD.Z_(\"audio_audible\")};g.f(eq,Qy);g.H=eq.prototype;g.H.init=function(){Qy.prototype.init.call(this);var W=kW(this.layout.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),Y={adsClientData:this.layout.XA};this.W.push(new rg(W,this.layout.layoutId,kW(this.layout.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"),Y,!0))};\ng.H.oC=function(){this.T||this.Cg.get().resumeVideo(1)};\ng.H.startRendering=function(W){Qy.prototype.startRendering.call(this,W);fi(this.Cg.get(),\"ad-showing\");this.callback.Vi(this.slot,W);this.C.QR=this};\ng.H.ej=function(W,Y){Qy.prototype.ej.call(this,W,Y);Mj(this.Cg.get(),\"ad-showing\");Wo(this.C,this)};\ng.H.pu=function(W){switch(W){case \"ad-info-icon-button\":(this.T=this.Cg.get().bl(1))||this.Cg.get().pauseVideo();break;case \"visit-advertiser\":this.Cg.get().pauseVideo()}};\ng.H.iz=function(){Qy.prototype.iz.call(this)};g.f(TxC,sJ);g.f(qN,Qy);g.H=qN.prototype;g.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),void 0,this.callback,\"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model\",function(Y,k,P,T,I){return new TxC(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(){};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};\ng.H.pu=function(){};g.f(ZA,sJ);g.f(DU,Qy);DU.prototype.init=function(){Qy.prototype.init.call(this);this.W.push(new ZA(g.R(this.layout.renderingContent,qq),this.layout.layoutId,{adsClientData:this.layout.XA}))};\nDU.prototype.pu=function(){ky(this.T.get(),this.C)&&Kc(this.sP.get(),3)};\nDU.prototype.startRendering=function(W){Qy.prototype.startRendering.call(this,W);this.callback.Vi(this.slot,W)};\nDU.prototype.iz=function(){Qy.prototype.iz.call(this)};g.f(aM,sJ);g.f(Q_,Qy);Q_.prototype.init=function(){Qy.prototype.init.call(this);var W=g.R(this.layout.renderingContent,lo)||kW(this.layout.clientMetadata,\"metadata_type_ad_action_interstitial_renderer\"),Y=Nu(this.dD);this.W.push(new aM(W,Y,this.layout.layoutId,{adsClientData:this.layout.XA},!0,!0))};\nQ_.prototype.startRendering=function(W){Qy.prototype.startRendering.call(this,W);this.callback.Vi(this.slot,W)};\nQ_.prototype.pu=function(W,Y){if(Y===this.layout.layoutId)switch(W){case \"skip-button\":var k;(W=(k=kW(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:k.current)&&W.Sl(this.jr(),this.layout)}};\nQ_.prototype.iz=function(){Qy.prototype.iz.call(this)};j8.prototype.build=function(W,Y,k,P){if(Kv(P,{ya:[\"metadata_type_ad_break_response_data\"],EV:[\"LAYOUT_TYPE_AD_BREAK_RESPONSE\",\"LAYOUT_TYPE_THROTTLED_AD_BREAK_RESPONSE\"]}))return new CRq(W,k,P,this.K,this.J,this.W);throw new Fn(\"Unsupported layout with type: \"+P.layoutType+\" and client metadata: \"+ZC(P.clientMetadata)+\" in AdBreakRequestLayoutRenderingAdapterFactory.\");};g.f(rl5,sJ);g.f(uf,Qy);g.H=uf.prototype;g.H.pu=function(W,Y){JQ(\"ads-engagement-panel\",W,this.X.get().ph,this.sP.get(),this.T,this.C,this.jr(),this.Z2(),Y)};\ng.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),g.R(this.Z2().renderingContent,nD),this.callback,\"metadata_type_ads_engagement_panel_renderer\",function(Y,k,P,T,I){return new rl5(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(W,Y){Y.layoutId===this.layout.layoutId?this.dD.Z_(\"impression\"):this.C===Y.layoutId&&(this.T===null?this.T=this.sP.get().Tv():EF(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};g.f(Hb,Qy);g.H=Hb.prototype;g.H.pu=function(W,Y){JQ(\"top-banner-image-text-icon-buttoned\",W,this.X.get().ph,this.sP.get(),this.T,this.C,this.jr(),this.Z2(),Y)};\ng.H.startRendering=function(W){WI(this.dD,this.jr(),this.Z2(),g.R(this.Z2().renderingContent,Gg),this.callback,\"metadata_type_top_banner_image_text_icon_buttoned_layout_view_model\",function(Y,k,P,T,I){return new TxC(Y,k,P,T,I)},this.W);\nQy.prototype.startRendering.call(this,W)};\ng.H.Vi=function(W,Y){this.C===Y.layoutId&&(this.T===null?this.T=this.sP.get().Tv():EF(\"OnLayoutEntered should set engagePingCallback, but it was not null\",this.slot,this.layout))};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.iz=function(){YL(this.er(),this);Qy.prototype.iz.call(this)};c6d.prototype.build=function(W,Y,k,P){if(Kv(P,ovC())||g.R(P.renderingContent,nD)!==void 0)return new uf(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);if(Kv(P,U5d())||g.R(P.renderingContent,Rm)!==void 0)return new g7(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);if(Kv(P,Qc1())||g.R(P.renderingContent,HS)!==void 0)return new SN(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);if(Kv(P,Cr1()))return new wmv(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);if(Kv(P,s22()))return new gX(W,k,P,this.Wa,this.sP,\nthis.er,this.i8,this.W);if(Kv(P,Ssd())||g.R(P.renderingContent,pD)!==void 0)return new QT7(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);if(Kv(P,UsV())||g.R(P.renderingContent,Gg)!==void 0)return new Hb(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);if(Kv(P,HcC()))return new qN(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);if(Kv(P,ZNz())||g.R(P.renderingContent,KD)!==void 0)return new Mf6(W,k,P,this.Wa,this.sP,this.er,this.i8,this.W);throw new Fn(\"Unsupported layout with type: \"+P.layoutType+\" and client metadata: \"+\nZC(P.clientMetadata)+\" in DesktopAboveFeedLayoutRenderingAdapterFactory.\");};pHv.prototype.build=function(W,Y,k,P){if(Kv(P,{ya:[\"metadata_type_linked_player_bytes_layout_id\"],EV:[\"LAYOUT_TYPE_DISPLAY_UNDERLAY_TEXT_GRID_CARDS\"]}))return new DU(W,k,P,this.Wa,this.sP,this.W);throw new Fn(\"Unsupported layout with type: \"+P.layoutType+\" and client metadata: \"+ZC(P.clientMetadata)+\" in DesktopPlayerUnderlayLayoutRenderingAdapterFactory.\");};g.H=RLC.prototype;g.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.init=function(){};\ng.H.release=function(){};\ng.H.startRendering=function(W){W.layoutId!==this.layout.layoutId?this.callback.Wk(this.slot,W,new Fn(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\"):(this.callback.Vi(this.slot,W),this.dD.Z_(\"impression\"),q3(this.QH,W,\"normal\"))};\ng.H.ej=function(W,Y){W.layoutId!==this.layout.layoutId?this.callback.Wk(this.slot,W,new Fn(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):this.callback.oI(this.slot,W,Y)};g.H=vvq.prototype;g.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.init=function(){};\ng.H.release=function(){};\ng.H.startRendering=function(W){W.layoutId!==this.layout.layoutId?this.callback.Wk(this.slot,W,new Fn(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\"):(this.callback.Vi(this.slot,W),this.dD.Z_(\"impression\"),q3(this.QH,W,\"normal\"))};\ng.H.ej=function(W,Y){W.layoutId!==this.layout.layoutId?this.callback.Wk(this.slot,W,new Fn(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):this.callback.oI(this.slot,W,Y)};IV.prototype.build=function(W,Y,k,P){if(!this.P6.get().Y.V().U(\"h5_optimize_forcasting_slot_layout_creation_with_trimmed_metadata\")){if(Kv(P,Ct0()))return new RLC(W,k,P,this.sP,this.QH)}else if(Kv(P,{ya:[],EV:[\"LAYOUT_TYPE_FORECASTING\"]}))return new vvq(W,k,P,this.sP,this.QH);throw new Fn(\"Unsupported layout with type: \"+P.layoutType+\" and client metadata: \"+ZC(P.clientMetadata)+\" in ForecastingLayoutRenderingAdapterFactory.\");};g.f(Zdv,sJ);g.f(wz,Qy);g.H=wz.prototype;g.H.init=function(){Qy.prototype.init.call(this);var W=g.R(this.layout.renderingContent,xm)||kW(this.layout.clientMetadata,\"metadata_type_player_overlay_layout_renderer\"),Y={adsClientData:this.layout.XA};this.W.push(new Zdv(W,kW(this.layout.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"),this.layout.layoutId,Y))};\ng.H.oC=function(){this.T||this.Cg.get().resumeVideo(2)};\ng.H.startRendering=function(W){Qy.prototype.startRendering.call(this,W);this.callback.Vi(this.slot,W);this.C.QR=this};\ng.H.ej=function(W,Y){Qy.prototype.ej.call(this,W,Y);Wo(this.C,this)};\ng.H.pu=function(W,Y){if(!v7(this.P6.get(),\"stop_handling_click_for_non_rendering_overlay_layout\")||Y===this.layout.layoutId){if(ky(this.X.get(),this.G))switch(W){case \"visit-advertiser-link\":Kc(this.sP.get(),3)}switch(W){case \"ad-mute-confirm-dialog-close-button\":case \"ad-feedback-undo-mute-button\":case \"ad-info-dialog-close-button\":this.T||this.Cg.get().resumeVideo(2);break;case \"ad-info-icon-button\":case \"ad-player-overflow-button\":(this.T=this.Cg.get().bl(2))||this.Cg.get().pauseVideo();break;\ncase \"visit-advertiser-link\":this.Cg.get().pauseVideo();iu1(this).YU();break;case \"skip-button\":if(W=iu1(this),this.layout.renderingContent&&!EJ(this.layout.clientMetadata,\"metadata_type_dai\")||!W||!W.uo){var k;(W=(k=kW(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:k.current)&&W.Sl(this.jr(),this.layout)}else EF(\"Requesting to skip by LegacyPlayerBytes when components enabled\"),W.fX(this.jr(),this.layout)}}};\ng.H.iz=function(){Qy.prototype.iz.call(this)};g.f(y8,Qy);g.H=y8.prototype;g.H.init=function(){Qy.prototype.init.call(this);var W=g.R(this.layout.renderingContent,cP)||kW(this.layout.clientMetadata,\"metadata_type_instream_ad_player_overlay_renderer\"),Y={adsClientData:this.layout.XA},k;(k=!!this.layout.renderingContent)||(k=yW(this),k=!(k&&k.uo));this.W.push(new rg(W,this.layout.layoutId,kW(this.layout.clientMetadata,\"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds\"),Y,k))};\ng.H.oC=function(){this.T||this.Cg.get().resumeVideo(2)};\ng.H.startRendering=function(W){Qy.prototype.startRendering.call(this,W);this.callback.Vi(this.slot,W);this.C.QR=this};\ng.H.ej=function(W,Y){Qy.prototype.ej.call(this,W,Y);Wo(this.C,this)};\ng.H.pu=function(W,Y){if(!this.P6||!v7(this.P6.get(),\"stop_handling_click_for_non_rendering_overlay_layout\")||Y===this.layout.layoutId){if(ky(this.X.get(),this.G))switch(W){case \"visit-advertiser\":Kc(this.sP.get(),3)}switch(W){case \"ad-mute-confirm-dialog-close-button\":case \"ad-feedback-undo-mute-button\":case \"ad-info-dialog-close-button\":this.T||this.Cg.get().resumeVideo(2);break;case \"ad-info-icon-button\":case \"ad-player-overflow-button\":(this.T=this.Cg.get().bl(2))||this.Cg.get().pauseVideo();break;\ncase \"visit-advertiser\":this.Cg.get().pauseVideo();yW(this).YU();break;case \"skip-button\":if(W=yW(this),this.layout.renderingContent&&!EJ(this.layout.clientMetadata,\"metadata_type_dai\")||!W||!W.uo){var k;(W=(k=kW(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:k.current)&&W.Sl(this.jr(),this.layout)}else EF(\"Requesting to skip by LegacyPlayerBytes\"),W.fX(this.jr(),this.layout)}}};\ng.H.iz=function(){Qy.prototype.iz.call(this)};g.f(CYq,sJ);g.f(y_,Qy);g.H=y_.prototype;g.H.startRendering=function(W){var Y=this;iqC(this.K,W,function(){Y.W.push(new CYq(kW(Y.layout.clientMetadata,\"metadata_type_valid_ad_message_renderer\"),W.layoutId,W.XA));Y.eZ();Y.callback.Vi(Y.slot,W);g.p(N2(Y.Cg.get(),1),512)&&Y.callback.Wk(Y.jr(),Y.Z2(),new Fn(\"player is stuck during adNotify\",void 0,\"ADS_CLIENT_ERROR_MESSAGE_PLAYER_STUCK_DURING_ADNOTIFY\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")})};\ng.H.DJ=function(){};\ng.H.Dg=function(W){if(W.state.isError()){var Y;this.callback.Wk(this.jr(),this.Z2(),new Fn(\"A player error happened during adNotify\",{playerErrorCode:(Y=W.state.dc)==null?void 0:Y.errorCode},\"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR_DURING_ADNOTIFY\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")}};\ng.H.onFullscreenToggled=function(){};\ng.H.XI=function(){};\ng.H.D6=function(){};\ng.H.yb=function(){};\ng.H.onVolumeChange=function(){};\ng.H.Z6=function(){};\ng.H.Bl=function(){};\ng.H.pu=function(){};g.f(ml6,sJ);g.f(oO,Qy);oO.prototype.init=function(){Qy.prototype.init.call(this);var W=g.R(this.layout.renderingContent,bo),Y=Nu(this.dD);this.W.push(new ml6(W,Y,this.layout.layoutId,{adsClientData:this.layout.XA}))};\noO.prototype.startRendering=function(W){Qy.prototype.startRendering.call(this,W);this.callback.Vi(this.slot,W)};\noO.prototype.pu=function(W,Y){if(Y===this.layout.layoutId)switch(W){case \"skip-button\":var k;(W=(k=kW(this.layout.clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))==null?void 0:k.current)&&W.Sl(this.jr(),this.layout)}};\noO.prototype.iz=function(){Qy.prototype.iz.call(this)};U9V.prototype.build=function(W,Y,k,P){if(W=v_(W,k,P,this.Wa,this.Cg,this.sP,this.K,this.W,this.P6))return W;throw new Fn(\"Unsupported layout with type: \"+P.layoutType+\" and client metadata: \"+ZC(P.clientMetadata)+\" in OtherWebInPlayerLayoutRenderingAdapterFactory.\");};g.H=vb.prototype;g.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.init=function(){this.Cg.get().addListener(this);this.Cg.get().Ne.push(this);if(this.layout.renderingContent){var W=this.qq.get();W=DS(W,1).S_/1E3}else W=kW(this.layout.clientMetadata,\"metadata_type_video_length_seconds\");var Y=g.R(this.layout.renderingContent,gJ),k=Y?ba(Y.pings):kW(this.layout.clientMetadata,\"metadata_type_active_view_traffic_type\");Y=Y?SGX(Y.pings):kW(this.layout.clientMetadata,\"metadata_type_active_view_identifier\");HN(this.layout.W7)&&aV(this.i8.get(),this.layout.layoutId,\n{BD:k,zx:W,listener:this,p9:Y})};\ng.H.release=function(){this.Cg.get().removeListener(this);MTF(this.Cg.get(),this);HN(this.layout.W7)&&R4(this.i8.get(),this.layout.layoutId)};\ng.H.startRendering=function(W){this.callback.Vi(this.slot,W)};\ng.H.ej=function(W,Y){VO(this,\"abandon\");this.callback.oI(this.slot,W,Y)};\ng.H.Z6=function(W){switch(W.id){case \"part2viewed\":this.dD.Z_(\"start\");this.dD.Z_(\"impression\");break;case \"videoplaytime25\":this.dD.Z_(\"first_quartile\");break;case \"videoplaytime50\":this.dD.Z_(\"midpoint\");break;case \"videoplaytime75\":this.dD.Z_(\"third_quartile\");break;case \"videoplaytime100\":VO(this,\"complete\");bU(this.dD)&&Hm(this.dD,Infinity,!0);break;case \"engagedview\":bU(this.dD)||this.dD.Z_(\"progress\");break;case \"conversionview\":case \"videoplaybackstart\":case \"videoplayback2s\":case \"videoplayback10s\":break;\ndefault:EF(\"Cue Range ID unknown in ShortsPlaybackTrackingLayoutRenderingAdapter\",this.slot,this.layout)}};\ng.H.onVolumeChange=function(){};\ng.H.yb=function(){};\ng.H.XI=function(){};\ng.H.D6=function(){};\ng.H.onFullscreenToggled=function(){};\ng.H.Dg=function(W){this.W||(g.F7(W,4)&&!g.F7(W,2)?on(this.dD,\"pause\"):ez(W,4)<0&&!(ez(W,2)<0)&&on(this.dD,\"resume\"))};\ng.H.DJ=function(){};\ng.H.Zk=function(W){bU(this.dD)&&Hm(this.dD,W*1E3,!1)};\ng.H.Bl=function(){VO(this,\"swipe\")};\ng.H.qm=function(){this.dD.Z_(\"active_view_measurable\")};\ng.H.GZ=function(){this.dD.Z_(\"active_view_viewable\")};\ng.H.Hb=function(){this.dD.Z_(\"active_view_fully_viewable_audible_half_duration\")};\ng.H.FY=function(){this.dD.Z_(\"audio_measurable\")};\ng.H.XY=function(){this.dD.Z_(\"audio_audible\")};hA6.prototype.build=function(W,Y,k,P){if(k.slotType===\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\"&&g.R(P.renderingContent,gJ)!==void 0)return new vb(W,k,P,this.Cg,this.sP,this.P6,this.i8,this.qq);Y=[\"metadata_type_ad_placement_config\"];for(var T=g.e(Nd()),I=T.next();!I.done;I=T.next())Y.push(I.value);if(Kv(P,{ya:Y,EV:[\"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER\"]}))return k.slotType===\"SLOT_TYPE_PLAYER_BYTES_SEQUENCE_ITEM\"?new vb(W,k,P,this.Cg,this.sP,this.P6,this.i8,this.qq):new u41(W,k,P,this.Cg,this.sP,\nthis.UR,this.P6,this.i8);throw new Fn(\"Unsupported layout with type: \"+P.layoutType+\" and client metadata: \"+ZC(P.clientMetadata)+\" in PlaybackTrackingLayoutRenderingAdapterFactory.\");};var tG={contentCpn:\"\",QS:new Map};$iF.prototype.P7=function(W,Y){var k={};Y=Object.assign({},Y,(k.cc=this.AD.s3(),k));this.AD.Y.y5(W,Y)};var BiB,vo;\nBiB={ofh:\"ALREADY_PINNED_ON_A_DEVICE\",AUTHENTICATION_EXPIRED:\"AUTHENTICATION_EXPIRED\",dL5:\"AUTHENTICATION_MALFORMED\",VSr:\"AUTHENTICATION_MISSING\",N_r:\"BAD_REQUEST\",hHh:\"CAST_SESSION_DEVICE_MISMATCHED\",MSS:\"CAST_SESSION_VIDEO_MISMATCHED\",zh5:\"CAST_TOKEN_EXPIRED\",Wd5:\"CAST_TOKEN_FAILED\",Afh:\"CAST_TOKEN_MALFORMED\",yfg:\"CGI_PARAMS_MALFORMED\",Kda:\"CGI_PARAMS_MISSING\",I66:\"DEVICE_FALLBACK\",zRa:\"GENERIC_WITH_LINK_AND_CPN\",Wlg:\"ERROR_HDCP\",A7z:\"LICENSE\",Kl5:\"VIDEO_UNAVAILABLE\",p45:\"FORMAT_UNAVAILABLE\",gJ2:\"GEO_FAILURE\",\nZaD:\"HTML5_AUDIO_RENDERER_ERROR\",fPS:\"GENERIC_WITHOUT_LINK\",kwP:\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",Dz2:\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK\",QZr:\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT\",BM6:\"HTML5_SPS_UMP_STATUS_REJECTED\",eR6:\"INVALID_DRM_MESSAGE\",Dv5:\"PURCHASE_NOT_FOUND\",QM1:\"PURCHASE_REFUNDED\",Jo2:\"RENTAL_EXPIRED\",uCh:\"RETRYABLE_ERROR\",FgJ:\"SERVER_ERROR\",kqS:\"SIGNATURE_EXPIRED\",Rr5:\"STOPPED_BY_ANOTHER_PLAYBACK\",Nih:\"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED\",brS:\"STREAMING_NOT_ALLOWED\",\najS:\"STREAM_LICENSE_NOT_FOUND\",zVq:\"TOO_MANY_REQUESTS\",WOS:\"TOO_MANY_REQUESTS_WITH_LINK\",AEq:\"TOO_MANY_STREAMS_PER_ENTITLEMENT\",yEa:\"TOO_MANY_STREAMS_PER_USER\",UNSUPPORTED_DEVICE:\"UNSUPPORTED_DEVICE\",H8D:\"VIDEO_FORBIDDEN\",qKP:\"VIDEO_NOT_FOUND\",eHr:\"BROWSER_OR_EXTENSION_ERROR\"};vo={};\ng.AO=(vo.ALREADY_PINNED_ON_A_DEVICE=\"This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.\",vo.DEVICE_FALLBACK=\"Sorry, this video is not available on this device.\",vo.GENERIC_WITH_LINK_AND_CPN=\"An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK\",vo.LICENSE=\"Sorry, there was an error licensing this video.\",vo.VIDEO_UNAVAILABLE=\n\"Video unavailable\",vo.FORMAT_UNAVAILABLE=\"This video isn't available at the selected quality. Please try again later.\",vo.GEO_FAILURE=\"This video isn't available in your country.\",vo.HTML5_AUDIO_RENDERER_ERROR=\"Audio renderer error. Please restart your computer.\",vo.GENERIC_WITHOUT_LINK=\"An error occurred. Please try again later.\",vo.HTML5_NO_AVAILABLE_FORMATS_FALLBACK=\"This video format is not supported.\",vo.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK=\"Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK\",\nvo.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT=\"Your browser can't play this video. $BEGIN_LINKLearn more$END_LINK\",vo.HTML5_SPS_UMP_STATUS_REJECTED=\"Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK\",vo.INVALID_DRM_MESSAGE=\"The DRM system specific message is invalid.\",vo.PURCHASE_NOT_FOUND=\"This video requires payment.\",vo.PURCHASE_REFUNDED=\"This video's purchase has been refunded.\",vo.RENTAL_EXPIRED=\"This video's rental has expired.\",vo.CAST_SESSION_DEVICE_MISMATCHED=\n\"The device in the cast session doesn't match the requested one.\",vo.CAST_SESSION_VIDEO_MISMATCHED=\"The video in the cast session doesn't match the requested one.\",vo.CAST_TOKEN_FAILED=\"Cast session not available. Please refresh or try again later.\",vo.CAST_TOKEN_EXPIRED=\"Cast session was expired. Please refresh.\",vo.CAST_TOKEN_MALFORMED=\"Invalid cast session. Please refresh or try again later.\",vo.SERVER_ERROR=\"There was an internal server error. Please try again later.\",vo.STOPPED_BY_ANOTHER_PLAYBACK=\n\"Your account is playing this video in another location. Please reload this page to resume watching.\",vo.STREAM_LICENSE_NOT_FOUND=\"Video playback interrupted. Please try again.\",vo.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED=\"Too many devices/IP addresses have been used over the 24 hour period.\",vo.STREAMING_NOT_ALLOWED=\"Playback not allowed because this video is pinned on another device.\",vo.RETRYABLE_ERROR=\"There was a temporary server error. Please try again later.\",vo.TOO_MANY_REQUESTS=\"Please log in to watch this video.\",\nvo.TOO_MANY_REQUESTS_WITH_LINK=\"Please $BEGIN_LINKclick here$END_LINK to watch this video on YouTube.\",vo.TOO_MANY_STREAMS_PER_USER=\"Playback stopped because too many videos belonging to the same account are playing.\",vo.TOO_MANY_STREAMS_PER_ENTITLEMENT=\"Playback stopped because this video has been played on too many devices.\",vo.UNSUPPORTED_DEVICE=\"Playback isn't supported on this device.\",vo.VIDEO_FORBIDDEN=\"Access to this video is forbidden.\",vo.VIDEO_NOT_FOUND=\"This video can not be found.\",vo.BROWSER_OR_EXTENSION_ERROR=\n\"Something went wrong. Refresh or try again later. $BEGIN_LINKLearn more$END_LINK\",vo);var OZi;var uw9=g.Ed(),ZZB=uw9.match(/\\((iPad|iPhone|iPod)( Simulator)?;/);if(!ZZB||ZZB.length<2)OZi=void 0;else{var iZQ=uw9.match(/\\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\\d+_\\d)[_ ]/);OZi=iZQ&&iZQ.length===6?Number(iZQ[5].replace(\"_\",\".\")):0}var M5=OZi,iN=M5>=0;g.f(g.x5,EQ);g.x5.prototype.Z=function(W,Y,k,P,T){return EQ.prototype.Z.call(this,W,Y,k,P,T)};var CG={},dN7=(CG.FAIRPLAY=\"fairplay\",CG.PLAYREADY=\"playready\",CG.WIDEVINE=\"widevine\",CG.CLEARKEY=null,CG.FLASHACCESS=null,CG.UNKNOWN=null,CG.WIDEVINE_CLASSIC=null,CG);At.prototype.isMultiChannelAudio=function(){return this.numChannels>2};var LG={},Up=(LG.WIDTH={name:\"width\",video:!0,valid:640,mz:99999},LG.HEIGHT={name:\"height\",video:!0,valid:360,mz:99999},LG.FRAMERATE={name:\"framerate\",video:!0,valid:30,mz:9999},LG.BITRATE={name:\"bitrate\",video:!0,valid:3E5,mz:2E9},LG.EOTF={name:\"eotf\",video:!0,valid:\"bt709\",mz:\"catavision\"},LG.CHANNELS={name:\"channels\",video:!1,valid:2,mz:99},LG.CRYPTOBLOCKFORMAT={name:\"cryptoblockformat\",video:!0,valid:\"subsample\",mz:\"invalidformat\"},LG.DECODETOTEXTURE={name:\"decode-to-texture\",video:!0,valid:\"false\",\nmz:\"nope\"},LG.AV1_CODECS={name:\"codecs\",video:!0,valid:\"av01.0.05M.08\",mz:\"av99.0.05M.08\"},LG.EXPERIMENTAL={name:\"experimental\",video:!0,valid:\"allowed\",mz:\"invalid\"},LG.TUNNELMODE={name:\"tunnelmode\",video:!0,valid:\"true\",mz:\"false\"},LG);var Mnz=[\"h\",\"H\"],tnB=[\"9\",\"(\"],qpj=[\"9h\",\"(h\"],RDi=[\"8\",\"*\"],HZz=[\"a\",\"A\"],nIw=[\"o\",\"O\"],p7h=[\"m\",\"M\"],GZQ=[\"mac3\",\"MAC3\"],KAc=[\"meac3\",\"MEAC3\"],UO={},rn2=(UO.h=Mnz,UO.H=Mnz,UO[\"9\"]=tnB,UO[\"(\"]=tnB,UO[\"9h\"]=qpj,UO[\"(h\"]=qpj,UO[\"8\"]=RDi,UO[\"*\"]=RDi,UO.a=HZz,UO.A=HZz,UO.o=nIw,UO.O=nIw,UO.m=p7h,UO.M=p7h,UO.mac3=GZQ,UO.MAC3=GZQ,UO.meac3=KAc,UO.MEAC3=KAc,UO),EIK=new Set(\"o O a ah A m M mac3 MAC3 meac3 MEAC3 so sa\".split(\" \")),WqF=new Set(\"m M mac3 MAC3 meac3 MEAC3\".split(\" \"));var N={},BM=(N[\"0\"]=\"f\",N[\"160\"]=\"h\",N[\"133\"]=\"h\",N[\"134\"]=\"h\",N[\"135\"]=\"h\",N[\"136\"]=\"h\",N[\"137\"]=\"h\",N[\"264\"]=\"h\",N[\"266\"]=\"h\",N[\"138\"]=\"h\",N[\"298\"]=\"h\",N[\"299\"]=\"h\",N[\"304\"]=\"h\",N[\"305\"]=\"h\",N[\"214\"]=\"h\",N[\"216\"]=\"h\",N[\"374\"]=\"h\",N[\"375\"]=\"h\",N[\"140\"]=\"a\",N[\"141\"]=\"a\",N[\"327\"]=\"sa\",N[\"258\"]=\"m\",N[\"380\"]=\"mac3\",N[\"328\"]=\"meac3\",N[\"161\"]=\"H\",N[\"142\"]=\"H\",N[\"143\"]=\"H\",N[\"144\"]=\"H\",N[\"222\"]=\"H\",N[\"223\"]=\"H\",N[\"145\"]=\"H\",N[\"224\"]=\"H\",N[\"225\"]=\"H\",N[\"146\"]=\"H\",N[\"226\"]=\"H\",N[\"227\"]=\"H\",N[\"147\"]=\"H\",N[\"384\"]=\n\"H\",N[\"376\"]=\"H\",N[\"385\"]=\"H\",N[\"377\"]=\"H\",N[\"149\"]=\"A\",N[\"261\"]=\"M\",N[\"381\"]=\"MAC3\",N[\"329\"]=\"MEAC3\",N[\"598\"]=\"9\",N[\"278\"]=\"9\",N[\"242\"]=\"9\",N[\"243\"]=\"9\",N[\"244\"]=\"9\",N[\"775\"]=\"9\",N[\"776\"]=\"9\",N[\"777\"]=\"9\",N[\"778\"]=\"9\",N[\"779\"]=\"9\",N[\"780\"]=\"9\",N[\"781\"]=\"9\",N[\"782\"]=\"9\",N[\"783\"]=\"9\",N[\"247\"]=\"9\",N[\"248\"]=\"9\",N[\"353\"]=\"9\",N[\"355\"]=\"9\",N[\"356\"]=\"9\",N[\"271\"]=\"9\",N[\"577\"]=\"9\",N[\"313\"]=\"9\",N[\"579\"]=\"9\",N[\"272\"]=\"9\",N[\"302\"]=\"9\",N[\"303\"]=\"9\",N[\"407\"]=\"9\",N[\"408\"]=\"9\",N[\"308\"]=\"9\",N[\"315\"]=\"9\",N[\"330\"]=\n\"9h\",N[\"331\"]=\"9h\",N[\"332\"]=\"9h\",N[\"333\"]=\"9h\",N[\"334\"]=\"9h\",N[\"335\"]=\"9h\",N[\"336\"]=\"9h\",N[\"337\"]=\"9h\",N[\"338\"]=\"so\",N[\"600\"]=\"o\",N[\"250\"]=\"o\",N[\"251\"]=\"o\",N[\"774\"]=\"o\",N[\"194\"]=\"*\",N[\"195\"]=\"*\",N[\"220\"]=\"*\",N[\"221\"]=\"*\",N[\"196\"]=\"*\",N[\"197\"]=\"*\",N[\"279\"]=\"(\",N[\"280\"]=\"(\",N[\"317\"]=\"(\",N[\"318\"]=\"(\",N[\"273\"]=\"(\",N[\"274\"]=\"(\",N[\"357\"]=\"(\",N[\"358\"]=\"(\",N[\"275\"]=\"(\",N[\"359\"]=\"(\",N[\"360\"]=\"(\",N[\"276\"]=\"(\",N[\"583\"]=\"(\",N[\"584\"]=\"(\",N[\"314\"]=\"(\",N[\"585\"]=\"(\",N[\"561\"]=\"(\",N[\"277\"]=\"(\",N[\"361\"]=\"(h\",N[\"362\"]=\n\"(h\",N[\"363\"]=\"(h\",N[\"364\"]=\"(h\",N[\"365\"]=\"(h\",N[\"366\"]=\"(h\",N[\"591\"]=\"(h\",N[\"592\"]=\"(h\",N[\"367\"]=\"(h\",N[\"586\"]=\"(h\",N[\"587\"]=\"(h\",N[\"368\"]=\"(h\",N[\"588\"]=\"(h\",N[\"562\"]=\"(h\",N[\"409\"]=\"(\",N[\"410\"]=\"(\",N[\"411\"]=\"(\",N[\"412\"]=\"(\",N[\"557\"]=\"(\",N[\"558\"]=\"(\",N[\"394\"]=\"1\",N[\"395\"]=\"1\",N[\"396\"]=\"1\",N[\"397\"]=\"1\",N[\"398\"]=\"1\",N[\"399\"]=\"1\",N[\"720\"]=\"1\",N[\"721\"]=\"1\",N[\"400\"]=\"1\",N[\"401\"]=\"1\",N[\"571\"]=\"1\",N[\"402\"]=\"1\",N[\"694\"]=\"1h\",N[\"695\"]=\"1h\",N[\"696\"]=\"1h\",N[\"697\"]=\"1h\",N[\"698\"]=\"1h\",N[\"699\"]=\"1h\",N[\"700\"]=\"1h\",\nN[\"701\"]=\"1h\",N[\"702\"]=\"1h\",N[\"703\"]=\"1h\",N[\"386\"]=\"3\",N[\"387\"]=\"w\",N[\"406\"]=\"6\",N[\"787\"]=\"1\",N[\"788\"]=\"1\",N[\"548\"]=\"1e\",N[\"549\"]=\"1e\",N[\"550\"]=\"1e\",N[\"551\"]=\"1e\",N[\"809\"]=\"1e\",N[\"810\"]=\"1e\",N[\"552\"]=\"1e\",N[\"811\"]=\"1e\",N[\"812\"]=\"1e\",N[\"553\"]=\"1e\",N[\"813\"]=\"1e\",N[\"814\"]=\"1e\",N[\"554\"]=\"1e\",N[\"815\"]=\"1e\",N[\"816\"]=\"1e\",N[\"555\"]=\"1e\",N[\"817\"]=\"1e\",N[\"818\"]=\"1e\",N[\"572\"]=\"1e\",N[\"556\"]=\"1e\",N[\"645\"]=\"(\",N[\"646\"]=\"(\",N[\"647\"]=\"(\",N[\"648\"]=\"(\",N[\"649\"]=\"(\",N[\"650\"]=\"(\",N[\"651\"]=\"(\",N[\"652\"]=\"(\",N[\"653\"]=\"(\",\nN[\"654\"]=\"(\",N[\"655\"]=\"(\",N[\"656\"]=\"(\",N[\"657\"]=\"(\",N[\"658\"]=\"(\",N[\"659\"]=\"(\",N[\"660\"]=\"(\",N[\"661\"]=\"(\",N[\"662\"]=\"(\",N[\"663\"]=\"(\",N[\"664\"]=\"(\",N[\"665\"]=\"(\",N[\"666\"]=\"(\",N[\"667\"]=\"(\",N[\"668\"]=\"(\",N[\"669\"]=\"(\",N[\"670\"]=\"(\",N[\"671\"]=\"(\",N[\"672\"]=\"(\",N[\"673\"]=\"(\",N[\"674\"]=\"(h\",N[\"675\"]=\"(h\",N[\"676\"]=\"(h\",N[\"677\"]=\"(h\",N[\"678\"]=\"(h\",N[\"679\"]=\"(h\",N[\"680\"]=\"(h\",N[\"681\"]=\"(h\",N[\"682\"]=\"(h\",N[\"683\"]=\"(h\",N[\"684\"]=\"(h\",N[\"685\"]=\"(h\",N[\"686\"]=\"(h\",N[\"687\"]=\"(h\",N[\"688\"]=\"A\",N[\"689\"]=\"A\",N[\"690\"]=\"A\",N[\"691\"]=\n\"MEAC3\",N[\"773\"]=\"i\",N[\"806\"]=\"I\",N[\"805\"]=\"I\",N[\"829\"]=\"9\",N[\"830\"]=\"9\",N[\"831\"]=\"9\",N[\"832\"]=\"9\",N[\"833\"]=\"9\",N[\"834\"]=\"9\",N[\"835\"]=\"9\",N[\"836\"]=\"9\",N[\"892\"]=\"9\",N[\"893\"]=\"9\",N[\"837\"]=\"9\",N[\"838\"]=\"9\",N[\"839\"]=\"9\",N[\"840\"]=\"9\",N[\"841\"]=\"(\",N[\"842\"]=\"(\",N[\"843\"]=\"(\",N[\"844\"]=\"(\",N[\"845\"]=\"(\",N[\"846\"]=\"(\",N[\"847\"]=\"(\",N[\"848\"]=\"(\",N[\"894\"]=\"(\",N[\"895\"]=\"(\",N[\"849\"]=\"(\",N[\"850\"]=\"(\",N[\"851\"]=\"(\",N[\"852\"]=\"(\",N[\"865\"]=\"9\",N[\"866\"]=\"9\",N[\"867\"]=\"9\",N[\"868\"]=\"9\",N[\"869\"]=\"9\",N[\"870\"]=\"9\",N[\"871\"]=\"9\",\nN[\"872\"]=\"9\",N[\"896\"]=\"9\",N[\"897\"]=\"9\",N[\"873\"]=\"9\",N[\"874\"]=\"9\",N[\"875\"]=\"9\",N[\"876\"]=\"9\",N[\"877\"]=\"(\",N[\"878\"]=\"(\",N[\"879\"]=\"(\",N[\"880\"]=\"(\",N[\"881\"]=\"(\",N[\"882\"]=\"(\",N[\"883\"]=\"(\",N[\"884\"]=\"(\",N[\"898\"]=\"(\",N[\"899\"]=\"(\",N[\"885\"]=\"(\",N[\"886\"]=\"(\",N[\"887\"]=\"(\",N[\"888\"]=\"(\",N);var lr={},E7d=(lr.STEREO_LAYOUT_UNKNOWN=0,lr.STEREO_LAYOUT_LEFT_RIGHT=1,lr.STEREO_LAYOUT_TOP_BOTTOM=2,lr);var XK5={Q32:0,k8q:1,DLJ:2,0:\"AUDIO_QUALITY_SETTING_UNKNOWN\",1:\"AUDIO_QUALITY_SETTING_HIGHER_QUALITY\",2:\"AUDIO_QUALITY_SETTING_NORMAL_QUALITY\"},po6={yog:0,NXr:124,Rug:144,lra:220,Ekg:240,cLq:340,eua:360,Lzq:480,M3z:588,huP:608,zrr:720,Wga:740,dvq:1080,V35:1100,rLP:1440,b7q:2160,Aog:9999,0:\"QUALITY_ORDINAL_UNKNOWN\",124:\"QUALITY_ORDINAL_144P_SAVER\",144:\"QUALITY_ORDINAL_144P\",220:\"QUALITY_ORDINAL_240P_SAVER\",240:\"QUALITY_ORDINAL_240P\",340:\"QUALITY_ORDINAL_360P_SAVER\",360:\"QUALITY_ORDINAL_360P\",480:\"QUALITY_ORDINAL_480P\",\n588:\"QUALITY_ORDINAL_608P_SAVER\",608:\"QUALITY_ORDINAL_608P\",720:\"QUALITY_ORDINAL_720P\",740:\"QUALITY_ORDINAL_720P_ENHANCED\",1080:\"QUALITY_ORDINAL_1080P\",1100:\"QUALITY_ORDINAL_1080P_ENHANCED\",1440:\"QUALITY_ORDINAL_1440P\",2160:\"QUALITY_ORDINAL_2160P\",9999:\"QUALITY_ORDINAL_HIGHRES\"};var br,Qn,co,sOS;br={};g.cu=(br.auto=0,br.tiny=144,br.light=144,br.small=240,br.medium=360,br.large=480,br.hd720=720,br.hd1080=1080,br.hd1440=1440,br.hd2160=2160,br.hd2880=2880,br.highres=4320,br);Qn={0:\"auto\",144:\"tiny\",240:\"small\",360:\"medium\",480:\"large\",720:\"hd720\",1080:\"hd1080\",1440:\"hd1440\",2160:\"hd2160\",2880:\"hd2880\",4320:\"highres\"};co={};\nsOS=(co.QUALITY_ORDINAL_UNKNOWN=0,co.QUALITY_ORDINAL_144P_SAVER=124,co.QUALITY_ORDINAL_144P=144,co.QUALITY_ORDINAL_240P_SAVER=220,co.QUALITY_ORDINAL_240P=240,co.QUALITY_ORDINAL_360P_SAVER=340,co.QUALITY_ORDINAL_360P=360,co.QUALITY_ORDINAL_480P=480,co.QUALITY_ORDINAL_608P_SAVER=588,co.QUALITY_ORDINAL_608P=608,co.QUALITY_ORDINAL_720P=720,co.QUALITY_ORDINAL_720P_ENHANCED=740,co.QUALITY_ORDINAL_1080P=1080,co.QUALITY_ORDINAL_1080P_ENHANCED=1100,co.QUALITY_ORDINAL_1440P=1440,co.QUALITY_ORDINAL_2160P=2160,\nco.QUALITY_ORDINAL_HIGHRES=9999,co);var wb=\"highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny\".split(\" \");iX.prototype.isHdr=function(){return this.W===\"smpte2084\"||this.W===\"arib-std-b67\"};OZ.prototype.pN=function(){return this.containerType===2};\nOZ.prototype.isEncrypted=function(){return!!this.tY};\nOZ.prototype.xH=function(){return!!this.audio};\nOZ.prototype.qa=function(){return!!this.video};\nvar Zh=!1,JuF=!1;g.f(S_,g.tR);g.H=S_.prototype;g.H.appendBuffer=function(W,Y,k){if(this.AY.Yj()!==this.appendWindowStart+this.start||this.AY.SC()!==this.appendWindowEnd+this.start||this.AY.m2()!==this.timestampOffset+this.start)this.AY.supports(1),this.AY.sD(this.appendWindowStart+this.start,this.appendWindowEnd+this.start),this.AY.v3(this.timestampOffset+this.start);this.AY.appendBuffer(W,Y,k)};\ng.H.abort=function(){this.AY.abort()};\ng.H.remove=function(W,Y){this.AY.remove(W+this.start,Y+this.start)};\ng.H.removeAll=function(){this.remove(this.appendWindowStart,this.appendWindowEnd)};\ng.H.clear=function(){this.AY.clear()};\ng.H.sD=function(W,Y){this.appendWindowStart=W;this.appendWindowEnd=Y};\ng.H.d9=function(){return this.timestampOffset+this.start};\ng.H.Yj=function(){return this.appendWindowStart};\ng.H.SC=function(){return this.appendWindowEnd};\ng.H.v3=function(W){this.timestampOffset=W};\ng.H.m2=function(){return this.timestampOffset};\ng.H.Mt=function(W){W=this.AY.Mt(W===void 0?!1:W);return eP(W,this.start,this.end)};\ng.H.j6=function(){return this.AY.j6()};\ng.H.rN=function(){return this.AY.rN()};\ng.H.IM=function(){return this.AY.IM()};\ng.H.H8=function(){return this.AY.H8()};\ng.H.pK=function(){this.AY.pK()};\ng.H.Lc=function(W){return this.AY.Lc(W)};\ng.H.gq=function(){return this.AY.gq()};\ng.H.OL=function(){return this.AY.OL()};\ng.H.Ot=function(W,Y,k){this.AY.Ot(W,Y,k)};\ng.H.Xw=function(W,Y,k){this.AY.Xw(W,Y,k)};\ng.H.hX=function(W,Y){return this.AY.hX(W,Y)};\ng.H.supports=function(W){return this.AY.supports(W)};\ng.H.F3=function(){return this.AY.F3()};\ng.H.isView=function(){return!0};\ng.H.UJ=function(){return this.AY.UJ()?this.isActive:!1};\ng.H.isLocked=function(){return this.yf&&!this.isActive};\ng.H.ER=function(W){W=this.AY.ER(W);W.vw=this.start+\"-\"+this.end;return W};\ng.H.X3=function(){return this.AY.X3()};\ng.H.m$=function(){return this.AY.m$()};\ng.H.ZF=function(){return this.AY.ZF()};\ng.H.iz=function(){this.AY.VQ(this.DH);g.tR.prototype.iz.call(this)};var ea=!1;g.f(B2,g.tR);g.H=B2.prototype;g.H.appendBuffer=function(W,Y,k){this.j8=!1;k&&(this.US=k);if(W.length){var P;((P=this.qT)==null?0:P.appendBuffer)?this.qT.appendBuffer(W):this.qT?this.qT.append(W):this.I7&&this.I7.webkitSourceAppend(this.id,W)}Y&&(Y.isEncrypted()&&(this.Ep=this.US),Y.type===3&&(this.Ma=Y),this.Y_.push(Y.TW()),this.Y_.length>4&&this.Y_.shift());this.OY&&(this.OY.length>=2||W.length>1048576?delete this.OY:this.OY.push(W))};\ng.H.abort=function(){try{this.qT?this.qT.abort():this.I7&&this.I7.webkitSourceAbort(this.id)}catch(Y){if(HUq){var W=new g.M6(\"Error while abort the source buffer: \"+Y.name+\", \"+Y.message);g.LH(W)}}this.US=this.Ma=null};\ng.H.remove=function(W,Y,k){this.j8=!1;var P;if((P=this.qT)==null?0:P.remove)k&&k({b:pH(this.Mt()),s:W,e:Y}),this.qT.remove(W,Y)};\ng.H.removeAll=function(){this.remove(this.Yj(),this.SC())};\ng.H.clear=function(){this.IM()||(this.abort(),this.removeAll(),this.Ep=this.US=this.Ma=null,this.appendWindowStart=this.timestampOffset=0,this.V8=iw([],[]),this.j8=!1,this.OY=Bb?[]:void 0,this.F_=!0)};\ng.H.Yj=function(){if(ea&&this.qa)return this.appendWindowStart;var W;return((W=this.qT)==null?void 0:W.appendWindowStart)||0};\ng.H.SC=function(){var W;return((W=this.qT)==null?void 0:W.appendWindowEnd)||0};\ng.H.sD=function(W,Y){this.qT&&(ea&&this.qa?(this.appendWindowStart=W,this.qT.appendWindowEnd=Y):W>this.Yj()?(this.qT.appendWindowEnd=Y,this.qT.appendWindowStart=W):(this.qT.appendWindowStart=W,this.qT.appendWindowEnd=Y))};\ng.H.d9=function(){return this.timestampOffset};\ng.H.v3=function(W){ea?this.timestampOffset=W:this.supports(1)&&(this.qT.timestampOffset=W)};\ng.H.m2=function(){return ea?this.timestampOffset:this.supports(1)?this.qT.timestampOffset:0};\ng.H.Mt=function(W){if(W===void 0?0:W)return this.j8||this.j6()||(this.V8=this.Mt(!1),this.j8=!0),this.V8;try{return this.qT?this.qT.buffered:this.I7?this.I7.webkitSourceBuffered(this.id):iw([0],[Infinity])}catch(Y){return iw([],[])}};\ng.H.j6=function(){var W;return((W=this.qT)==null?void 0:W.updating)||!1};\ng.H.IM=function(){return this.F_};\ng.H.H8=function(){return!this.F_&&this.j6()};\ng.H.pK=function(){this.F_=!1};\ng.H.Lc=function(W){var Y=W==null?void 0:W.lz;W=W==null?void 0:W.containerType;return!Y&&!W||Y===this.lz&&W===this.containerType};\ng.H.gq=function(){return this.US};\ng.H.OL=function(){return this.Ep};\ng.H.hX=function(W,Y){return this.containerType!==W||this.lz!==Y};\ng.H.Ot=function(W,Y,k){if(this.containerType!==W||k&&this.hX(W,k))this.supports(4),Bl()&&this.qT.changeType(Y),k&&(this.lz=k);this.containerType=W};\ng.H.Xw=function(W,Y,k){this.containerType&&this.hX(W,Y)&&Bl()&&this.qT.changeType(k);this.containerType=W;this.lz=Y};\ng.H.F3=function(){return this.Ma};\ng.H.isView=function(){return!1};\ng.H.supports=function(W){switch(W){case 1:var Y;return((Y=this.qT)==null?void 0:Y.timestampOffset)!==void 0;case 0:var k;return!((k=this.qT)==null||!k.appendBuffer);case 2:var P;return!((P=this.qT)==null||!P.remove);case 3:var T,I;return!!(((T=this.qT)==null?0:T.addEventListener)&&((I=this.qT)==null?0:I.removeEventListener));case 4:return!(!this.qT||!this.qT.changeType);default:return!1}};\ng.H.UJ=function(){return!this.j6()};\ng.H.isLocked=function(){return!1};\ng.H.ER=function(W){W.to=this.m2();W.up=this.j6();var Y,k=((Y=this.qT)==null?void 0:Y.appendWindowStart)||0,P;Y=((P=this.qT)==null?void 0:P.appendWindowEnd)||Infinity;W.aw=k.toFixed(3)+\"-\"+Y.toFixed(3);return W};\ng.H.rN=function(){var W;return((W=this.qT)==null?void 0:W.writeHead)||0};\ng.H.X3=function(){for(var W={},Y=0;Y=7&&(!Y||((P=this.W6)==null?0:P.U(\"mweb_ios_allow_playback_workaround_when_ready\")))&&FVw(this,function(){g.LB(function(){hq7(W,W.getCurrentTime(),0)},500)})}return Y};\ng.H.seekTo=function(W){this.Tg()>0&&(iN&&M5<4&&(W=Math.max(.1,W)),this.setCurrentTime(W))};\ng.H.lw=function(){if(!this.K&&this.j1)if(this.j1.C)try{var W;Sx(this,{l:\"mer\",sr:(W=this.W6)==null?void 0:W.Jf(),rs:Hv(this.j1)});this.j1.clear();this.K=this.j1;this.j1=void 0}catch(Y){W=new g.M6(\"Error while clearing Media Source in MediaElement: \"+Y.name+\", \"+Y.message),g.LH(W),this.stopVideo()}else this.stopVideo()};\ng.H.stopVideo=function(){var W=this;if(!this.K){var Y;(Y=this.j1)==null||fzd(Y);if(Xx){if(!this.J){var k=new $e;k.then(void 0,function(){});\nthis.J=k;qZC&&this.pause();g.LB(function(){W.J===k&&(MHd(W),k.resolve())},200)}}else MHd(this)}};\ng.H.F8=function(){var W=this.EE();return uO(W)&&this.getDuration()?wr(W,this.getCurrentTime()):0};\ng.H.UG=function(){var W=this.getDuration();return W===Infinity?1:W?this.F8()/W:0};\ng.H.ER=function(){try{var W=this.getSize();return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:pH(this.OG(),\",\",3),vbu:pH(this.EE()),vbs:pH(this.c$()),vpa:\"\"+ +this.isPaused(),vsk:\"\"+ +this.isSeeking(),ven:\"\"+ +this.isEnded(),vpr:\"\"+this.getPlaybackRate(),vrs:\"\"+this.Tg(),vns:\"\"+this.m7(),vec:\"\"+this.NI(),vemsg:this.JD(),vvol:\"\"+this.getVolume(),vdom:\"\"+ +this.qw(),vsrc:\"\"+ +!!this.pn(),vw:\"\"+W.width,vh:\"\"+W.height}}catch(Y){return{}}};\ng.H.hasError=function(){return this.NI()>0};\ng.H.addEventListener=function(W,Y){this.T.listen(W,Y,!1,this);this.NC(W)};\ng.H.removeEventListener=function(W,Y){this.T.nH(W,Y,!1,this)};\ng.H.dispatchEvent=function(W){if(this.J&&W.type===\"pause\")return!1;if(Sm){var Y,k=((Y=W.W)==null?void 0:Y.timeStamp)||Infinity;Y=k>performance.now()?k-Date.now()+performance.now():k;k=this.K||this.j1;if((k==null?0:k.IM())||Y<=((k==null?void 0:k.X)||0)){var P;Sx(this,{l:\"mede\",sr:(P=this.W6)==null?void 0:P.Jf(),et:W.type});return!1}if(this.yG)return Sx(this,{l:\"medes\",et:W.type}),k&&W.type===\"seeking\"&&(k.X=performance.now(),this.yG=!1),!1}return this.T.dispatchEvent(W)};\ng.H.BL=function(){this.X=!1};\ng.H.jc=function(){this.X=!0;this.Ic(!0)};\ng.H.RX=function(){this.X&&!this.GO()&&this.Ic(!0)};\ng.H.equals=function(W){return!!W&&W.Tn()===this.Tn()};\ng.H.iz=function(){this.G&&this.removeEventListener(\"volumechange\",this.RX);Xx&&MHd(this);g.D.prototype.iz.call(this)};\nvar Xx=!1,qZC=!1,Sm=!1,RGz=!1;g.H=g.ZR.prototype;g.H.isPaused=function(){return g.p(this,4)};\ng.H.isPlaying=function(){return g.p(this,8)&&!g.p(this,512)&&!g.p(this,64)&&!g.p(this,2)};\ng.H.isOrWillBePlaying=function(){return g.p(this,8)&&!g.p(this,2)&&!g.p(this,1024)};\ng.H.isCued=function(){return g.p(this,64)&&!g.p(this,8)&&!g.p(this,4)};\ng.H.isBuffering=function(){return g.p(this,1)&&!g.p(this,2)};\ng.H.isError=function(){return g.p(this,128)};\ng.H.isSuspended=function(){return g.p(this,512)};\ng.H.jT=function(){return g.p(this,64)&&g.p(this,4)};\ng.H.toString=function(){return\"PSt.\"+this.state.toString(16)};\nvar xP={},fG=(xP.BUFFERING=\"buffering-mode\",xP.CUED=\"cued-mode\",xP.ENDED=\"ended-mode\",xP.PAUSED=\"paused-mode\",xP.PLAYING=\"playing-mode\",xP.SEEKING=\"seeking-mode\",xP.UNSTARTED=\"unstarted-mode\",xP);g.f(EW,g.D);g.H=EW.prototype;g.H.Iy=function(){return this.J};\ng.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.init=function(){var W=kW(this.layout.clientMetadata,\"metadata_type_video_length_seconds\"),Y=kW(this.layout.clientMetadata,\"metadata_type_active_view_traffic_type\");HN(this.layout.W7)&&aV(this.i8.get(),this.layout.layoutId,{BD:Y,zx:W,listener:this,Nh:this.OU()});T45(this.sP.get(),this);W=this.E6;Y=this.layout.layoutId;var k={Nh:this.OU()};W.W.set(Y,k);this.KR()};\ng.H.g2=function(){};\ng.H.release=function(){HN(this.layout.W7)&&R4(this.i8.get(),this.layout.layoutId);L85(this.sP.get(),this);this.E6.W.delete(this.layout.layoutId);this.LX()};\ng.H.WD=function(){};\ng.H.p5=function(){};\ng.H.startRendering=function(W){O4d(Jt(this));if(Io1(this,W)){var Y=this.W;as(Y.params.cU.P6.get(),!0)&&HMC(Y,\"p_sr\",{});K76(this);this.Tb(W);this.OU()||this.Jq(!1)}};\ng.H.Vi=function(W,Y){if(Y.layoutId===this.layout.layoutId){this.NT=\"rendering\";this.K=this.Cg.get().isMuted()||this.Cg.get().getVolume()===0;this.Z_(\"impression\");this.Z_(\"start\");if(this.Cg.get().isMuted()){uW(this,\"mute\");var k;W=((k=lE(this))==null?void 0:k.muteCommands)||[];l1(this.UR.get(),W,this.layout.layoutId)}if(this.Cg.get().isFullscreen()){this.h$(\"fullscreen\");var P;k=((P=lE(this))==null?void 0:P.fullscreenCommands)||[];l1(this.UR.get(),k,this.layout.layoutId)}this.OU()||(P=this.CH.get(),\nP.J&&!P.K&&(P.C=!1,P.K=!0,P.actionType!==\"ad_to_video\"&&(Xc(\"pbs\",void 0,P.actionType),g.dS(\"finalize_all_timelines\")&&Svd(P.actionType))));this.rX(1);this.M$(Y);var T;Y=((T=lE(this))==null?void 0:T.impressionCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}};\ng.H.JP=function(W,Y,k){this.G={mD:3,hN:W===\"load_timeout\"?402:400,errorMessage:Y.message};this.Z_(\"error\");var P;W=((P=lE(this))==null?void 0:P.errorCommands)||[];l1(this.UR.get(),W,this.layout.layoutId);this.OU()||this.JE.Wk(this.slot,this.layout,Y,k)};\ng.H.u$=function(){if(this.NT===\"rendering\"){uW(this,\"pause\");var W,Y=((W=lE(this))==null?void 0:W.pauseCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId);this.rX(2)}};\ng.H.YS=function(){if(this.NT===\"rendering\"){uW(this,\"resume\");var W,Y=((W=lE(this))==null?void 0:W.resumeCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}};\ng.H.U4=function(W,Y){Y=Y===void 0?!1:Y;if(this.NT===\"rendering\"){var k={currentTimeSec:W,flush:Y};WM(this.W,\"p_ip\",k);Hm(this.dD,W*1E3,Y);this.K||Hm(this.dD,W*1E3,Y===void 0?!1:Y);var P=this.bC();if(P){P/=1E3;if(W>=P*.25||Y)this.Z_(\"first_quartile\"),WM(this.W,\"p_fq\",k);if(W>=P*.5||Y)this.Z_(\"midpoint\"),WM(this.W,\"p_sq\",k);if(W>=P*.75||Y)this.Z_(\"third_quartile\"),WM(this.W,\"p_tq\",k);this.P6.get().Y.V().experiments.Nq(\"enable_progress_command_flush_on_kabuki\")?aw(this.T,W*1E3,Y):aw(this.T,W*1E3,JFd(this)?\nY:!1)}}};\ng.H.s3=function(){var W;return((W=DS(this.qq.get(),1))==null?void 0:W.clientPlaybackNonce)||\"\"};\ng.H.Xx=function(W,Y){W.layoutId!==this.layout.layoutId?this.JE.Wk(this.slot,W,new Fn(\"Tried to stop rendering an unknown layout, this adapter requires LayoutId: \"+this.layout.layoutId+(\"and LayoutType: \"+this.layout.layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED\"):Y()};\ng.H.oI=function(W,Y,k){if(Y.layoutId===this.layout.layoutId)switch(this.NT=\"not_rendering\",this.layoutExitReason=void 0,this.OU()||(W=k!==\"normal\"||this.position+1===this.X)&&this.Jq(W),this.g4(k),this.rX(0),k){case \"abandoned\":if(BI(this.dD,\"impression\")){var P,T=((P=lE(this))==null?void 0:P.abandonCommands)||[];l1(this.UR.get(),T,this.layout.layoutId)}break;case \"normal\":P=((T=lE(this))==null?void 0:T.completeCommands)||[];l1(this.UR.get(),P,this.layout.layoutId);break;case \"skipped\":var I;P=((I=\nlE(this))==null?void 0:I.skipCommands)||[];l1(this.UR.get(),P,this.layout.layoutId)}};\ng.H.aJ=function(){return this.layout.layoutId};\ng.H.PT=function(){return this.G};\ng.H.qm=function(){if(this.NT===\"rendering\"){this.dD.Z_(\"active_view_measurable\");var W,Y=((W=lE(this))==null?void 0:W.activeViewMeasurableCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}};\ng.H.Hb=function(){if(this.NT===\"rendering\"){this.dD.Z_(\"active_view_fully_viewable_audible_half_duration\");var W,Y=((W=lE(this))==null?void 0:W.activeViewFullyViewableAudibleHalfDurationCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}};\ng.H.GZ=function(){if(this.NT===\"rendering\"){this.dD.Z_(\"active_view_viewable\");var W,Y=((W=lE(this))==null?void 0:W.activeViewViewableCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}};\ng.H.XY=function(){if(this.NT===\"rendering\"){this.dD.Z_(\"audio_audible\");var W,Y=((W=lE(this))==null?void 0:W.activeViewAudioAudibleCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}};\ng.H.FY=function(){if(this.NT===\"rendering\"){this.dD.Z_(\"audio_measurable\");var W,Y=((W=lE(this))==null?void 0:W.activeViewAudioMeasurableCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}};\ng.H.Jq=function(W){this.CH.get().Jq(kW(this.layout.clientMetadata,\"metadata_type_ad_placement_config\").kind,W,this.position,this.X,!1)};\ng.H.onFullscreenToggled=function(W){if(this.NT===\"rendering\")if(W){this.h$(\"fullscreen\");var Y,k=((Y=lE(this))==null?void 0:Y.fullscreenCommands)||[];l1(this.UR.get(),k,this.layout.layoutId)}else this.h$(\"end_fullscreen\"),Y=((k=lE(this))==null?void 0:k.endFullscreenCommands)||[],l1(this.UR.get(),Y,this.layout.layoutId)};\ng.H.onVolumeChange=function(){if(this.NT===\"rendering\")if(this.Cg.get().isMuted()){uW(this,\"mute\");var W,Y=((W=lE(this))==null?void 0:W.muteCommands)||[];l1(this.UR.get(),Y,this.layout.layoutId)}else uW(this,\"unmute\"),W=((Y=lE(this))==null?void 0:Y.unmuteCommands)||[],l1(this.UR.get(),W,this.layout.layoutId)};\ng.H.XI=function(){};\ng.H.D6=function(){};\ng.H.yb=function(){};\ng.H.Z6=function(){};\ng.H.Bl=function(){};\ng.H.h$=function(W){this.dD.h$(W,!this.K)};\ng.H.Z_=function(W){this.dD.Z_(W,!this.K)};\ng.H.OU=function(){var W=kW(this.slot.clientMetadata,\"metadata_type_eligible_for_ssap\");return W===void 0?(EF(\"Expected SSAP eligibility for PlayerBytes sub layout\",this.slot,this.layout),!1):this.P6.get().OU(W)};g.f(sW,EW);g.H=sW.prototype;g.H.KR=function(){};\ng.H.LX=function(){var W=this.sP.get();W.jn===this&&(W.jn=null);this.timer.stop()};\ng.H.WD=function(){this.timer.stop();EW.prototype.u$.call(this)};\ng.H.p5=function(){nU2(this);EW.prototype.YS.call(this)};\ng.H.bC=function(){return kW(this.Z2().clientMetadata,\"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS\")};\ng.H.ej=function(W,Y){var k=this;this.Xx(W,function(){k.NT!==\"rendering_stop_requested\"&&(k.NT=\"rendering_stop_requested\",k.layoutExitReason=Y,tJ(k,Y),k.timer.stop())})};\ng.H.Xi=function(){var W=Date.now(),Y=W-this.Mw;this.Mw=W;this.oB+=Y;this.oB>=this.bC()?this.ql():(this.U4(this.oB/1E3),Mi(this,this.oB))};\ng.H.g4=function(){};\ng.H.DJ=function(){};\ng.f(qG,sW);g.H=qG.prototype;g.H.Dg=function(W){if(this.NT!==\"not_rendering\"){W=ar(this,W);var Y=this.Cg.get().getPresentingPlayerType()===2;this.NT===\"rendering_start_requested\"?Y&&nA(W)&&this.m8():Y?g.F7(W,2)?EF(\"Receive player ended event during MediaBreak\",this.jr(),this.Z2()):ff(this,W):this.ME()}};\ng.H.Tb=function(){zg5(this);AJq(this.Cg.get());this.sP.get().jn=this;IQ(\"pbp\")||IQ(\"pbs\")||Xc(\"pbp\");IQ(\"pbp\",\"watch\")||IQ(\"pbs\",\"watch\")||Xc(\"pbp\",void 0,\"watch\");this.m8()};\ng.H.M$=function(W){this.CH.get();var Y=kW(W.clientMetadata,\"metadata_type_ad_placement_config\").kind,k=this.position===0;W=kW(W.clientMetadata,\"metadata_type_linked_in_player_layout_type\");W={adBreakType:UP(Y),adType:z85(W)};var P=void 0;k?Y!==\"AD_PLACEMENT_KIND_START\"&&(P=\"video_to_ad\"):P=\"ad_to_ad\";aj(\"ad_mbs\",void 0,P);g.lN(W,P);nU2(this)};\ng.H.ME=function(){this.VS()};\ng.H.ql=function(){jVX(this);this.VS()};\ng.f(AJ,sW);g.H=AJ.prototype;g.H.Dg=function(W){this.NT!==\"not_rendering\"&&(W=ar(this,W),ff(this,W))};\ng.H.Tb=function(){EF(\"Not used in SSAP\")};\ng.H.M$=function(){nU2(this)};\ng.H.ME=function(){EF(\"Not used in SSAP\")};\ng.H.ql=function(){jVX(this);this.JE.t6(this.jr(),this.Z2(),\"normal\")};\ng.f(z7,AJ);z7.prototype.ej=function(W,Y){var k=this;this.Xx(W,function(){hu2(k.J,Y)&&(k.NT=\"rendering_stop_requested\",k.layoutExitReason=Y,tJ(k,Y),k.timer.stop())})};\nz7.prototype.startRendering=function(W){O4d(Jt(this));Io1(this,W)&&(K76(this),this.sP.get().jn=this)};g.f(SD,EW);g.H=SD.prototype;g.H.ME=function(){this.VS()};\ng.H.Dg=function(W){if(this.NT!==\"not_rendering\"){W=ar(this,W);var Y=this.Cg.get().getPresentingPlayerType()===2;this.NT===\"rendering_start_requested\"?Y&&nA(W)&&this.m8():!Y||g.F7(W,2)?this.VS():ff(this,W)}};\ng.H.KR=function(){kW(this.Z2().clientMetadata,\"metadata_type_player_bytes_callback_ref\").current=this;this.shrunkenPlayerBytesConfig=kW(this.Z2().clientMetadata,\"metadata_type_shrunken_player_bytes_config\")};\ng.H.LX=function(){kW(this.Z2().clientMetadata,\"metadata_type_player_bytes_callback_ref\").current=null;if(this.J$){var W=this.context.cU,Y=this.J$,k=this.Z2().layoutId;if(as(W.P6.get(),!0)){var P={};W.P7(\"mccru\",(P.cid=Y,P.p_ac=k,P))}this.wZ.get().removeCueRange(this.J$)}this.J$=void 0;var T;(T=this.Ev)==null||T.dispose();this.RP&&this.RP.dispose()};\ng.H.Tb=function(W){var Y=ld(this.P6.get()),k=ho(this.P6.get());if(Y&&k&&!this.OU()){k=kW(W.clientMetadata,\"metadata_type_preload_player_vars\");var P=this.P6.get();P=g.je(P.Y.V().experiments,\"html5_preload_wait_time_secs\");k&&this.RP&&this.RP.start(P*1E3)}nSv(this,W);zg5(this);Y?(k=this.JT.get(),W=kW(W.clientMetadata,\"metadata_type_player_vars\"),k.Y.loadVideoByPlayerVars(W,!1,2)):Hq7(this.JT.get(),kW(W.clientMetadata,\"metadata_type_player_vars\"));var T;(T=this.Ev)==null||T.start();Y||this.JT.get().Y.playVideo(2)};\ng.H.M$=function(){var W;(W=this.Ev)==null||W.stop();this.We();(this.adCpn=Zz6(this))||EF(\"Media layout confirmed started, but ad CPN not set.\");this.RI.get().ou(\"onAdStart\",this.adCpn);this.wQ=Date.now()};\ng.H.bC=function(){var W;return(W=DS(this.qq.get(),2))==null?void 0:W.S_};\ng.H.YU=function(){this.dD.h$(\"clickthrough\")};\ng.H.ej=function(W,Y){var k=this;this.Xx(W,function(){if(k.NT!==\"rendering_stop_requested\"){k.NT=\"rendering_stop_requested\";k.layoutExitReason=Y;tJ(k,Y);var P;(P=k.Ev)==null||P.stop();k.RP&&k.RP.stop();kG7(k)}})};\ng.H.onCueRangeEnter=function(W){if(W!==this.J$)EF(\"Received CueRangeEnter signal for unknown layout.\",this.jr(),this.Z2(),{cueRangeId:W});else{var Y=this.context.cU,k=this.Z2().layoutId;if(as(Y.P6.get(),!0)){var P={};Y.P7(\"mccre\",(P.cid=W,P.p_ac=k,P))}this.wZ.get().removeCueRange(this.J$);this.J$=void 0;v7(this.context.P6.get(),\"html5_ssap_flush_at_stop_rendering\")&&this.OU()||(W=kW(this.Z2().clientMetadata,\"metadata_type_video_length_seconds\"),this.U4(W,!0),this.Z_(\"complete\"))}};\ng.H.g4=function(W){W!==\"abandoned\"&&this.RI.get().ou(\"onAdComplete\");this.RI.get().ou(\"onAdEnd\",this.adCpn)};\ng.H.We=function(){this.J$=\"adcompletioncuerange:\"+this.Z2().layoutId;this.wZ.get().addCueRange(this.J$,0x7ffffffffffff,0x8000000000000,!1,this,2,2);var W=this.context.cU,Y=this.J$,k=this.Z2().layoutId;if(as(W.P6.get(),!0)){var P={};W.P7(\"mccr\",(P.cid=Y,P.p_ac=k,P))}};\ng.H.onCueRangeExit=function(){};\ng.H.DJ=function(W){this.NT===\"rendering\"&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&W>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.Cg.get().xp(!0),this.U4(W))};\ng.H.U4=function(W,Y){EW.prototype.U4.call(this,W,Y===void 0?!1:Y);Y=Date.now()-this.wQ;var k=W*1E3,P={contentCpn:this.s3(),adCpn:Zz6(this)};if(W-this.tV>=5){var T=Y=2||(this.dZ.ej(this.layout,Y),W=v7(this.params.context.P6.get(),\"html5_ssap_pass_transition_reason\")&&Y===\"abandoned\",this.Ts()&&!W&&(v7(this.params.context.P6.get(),\"html5_ssap_pass_transition_reason\")&&([\"normal\",\"skipped\",\"muted\",\"user_input_submitted\"].includes(Y)||EF(\"Single stopRendering: unexpected exit reason\",this.slot,this.layout,{exitReason:Y})),this.Pa.get().finishSegmentByCpn(this.layout.layoutId,\nDS(this.qq.get(),1).clientPlaybackNonce,CZ(Y,this.params.context.P6))),this.Cg.get().removeListener(this),this.qs()&&Sk(this.dZ.Iy())&&this.O$.oI(this.slot,this.layout,this.dZ.Iy().W))};\ng.H.WO=function(W,Y,k){$3F({cpn:W,AD:this.qq.get(),k$:!0});this.Z2().layoutId!==W||v7(this.params.context.P6.get(),\"html5_ssap_pass_transition_reason\")&&k===5||(this.dZ.Iy().currentState<2&&(W=Q$(k,this.params.context.P6),W===\"error\"?this.O$.Wk(this.slot,this.layout,new Fn(\"Player transition with error during SSAP single layout.\",{playerErrorCode:\"non_video_expired\",transitionReason:k},\"ADS_CLIENT_ERROR_MESSAGE_PLAYER_TRANSITION_WITH_ERROR\"),\"ADS_CLIENT_ERROR_TYPE_ERROR_DURING_RENDERING\"):q3(this.nN,\nthis.layout,W)),v7(this.params.context.P6.get(),\"html5_ssap_exit_without_waiting_for_transition\")||this.O$.oI(this.slot,this.layout,this.dZ.Iy().W))};g.f(jD,g.D);g.H=jD.prototype;g.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.Ff=function(){};\ng.H.LN=function(){return this.Ls[this.tS]};\ng.H.X8=function(){return this.tS};\ng.H.WD=function(W,Y){var k=this.LN();Y.layoutId!==YM(k,W,Y)?EF(\"pauseLayout for a PlayerBytes layout that is not currently active\",W,Y):k.WD()};\ng.H.p5=function(W,Y){var k=this.LN();Y.layoutId!==YM(k,W,Y)?EF(\"resumeLayout for a PlayerBytes layout that is not currently active\",W,Y):k.p5()};\ng.H.fX=function(W,Y){var k=this.LN();k1N(this,W,Y);l15(k,W,Y)&&this.vp(k.jr(),k.Z2(),\"skipped\")};\ng.H.Sl=function(W,Y){var k=this.LN();DT5(this);S_d(k,W,Y)&&(W=BGS(this,k,W,Y),W!==void 0&&(this.OU()?EF(\"Should not happen. Should delete\"):Liz(this,k.jr(),k.Z2(),W)))};\ng.H.MQ=function(W,Y){var k=Object.assign({},yV(this),{layoutId:Y.layoutId}),P=k.layoutId,T=k.k$;if(k.Nh){var I={};Mb(k.AD,\"wrse\",(I.ec=P,I.is=T,I.ctp=qb(P),I))}ht(this.wU,W,Y)};\ng.H.Vi=function(W,Y){var k;(k=this.LN())==null||k.Vi(W,Y)};\ng.H.oI=function(W,Y,k){Y.layoutId===this.Z2().layoutId&&(this.ZV=!1,YL(this.er(),this));var P;(P=this.LN())==null||P.oI(W,Y,k)};\ng.H.DJ=function(W){var Y;(Y=this.LN())==null||Y.DJ(W)};\ng.H.EL=function(W,Y,k){this.X8()===-1&&(this.callback.Vi(this.slot,this.layout),this.tS++);var P=this.LN();P?(P.JP(W,Y,k),this.OU()&&this.callback.Wk(this.slot,this.layout,Y,k)):EF(\"No active adapter found onLayoutError in PlayerBytesVodCompositeLayoutRenderingAdapter\",void 0,void 0,{activeSubLayoutIndex:String(this.X8()),layoutId:this.Z2().layoutId})};\ng.H.onFullscreenToggled=function(W){var Y;(Y=this.LN())==null||Y.onFullscreenToggled(W)};\ng.H.XI=function(W){var Y;(Y=this.LN())==null||Y.XI(W)};\ng.H.yb=function(W){var Y;(Y=this.LN())==null||Y.yb(W)};\ng.H.onVolumeChange=function(){var W;(W=this.LN())==null||W.onVolumeChange()};\ng.H.JM=function(W,Y,k){ot(this.wU,W,Y,k)};\ng.H.W2=function(W){W.startRendering(W.Z2())};\ng.H.init=function(){var W=kW(this.Z2().clientMetadata,\"metadata_type_player_bytes_layout_controls_callback_ref\");W&&(W.current=this);if(this.Ls.length<1)throw new l(\"Invalid sub layout rendering adapter length when scheduling composite layout.\",{length:String(this.Ls.length)});if(W=kW(this.Z2().clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))W.current=this;W=g.e(this.Ls);for(var Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y.init(),v4F(this.wU,this.slot,Y.Z2()),jf2(this.wU,this.slot,Y.Z2());\nif(this.OU())for(this.qq.get().addListener(this),znC(UQ6(this),this.qq.get()),W=UQ6(this),W=g.e(W),Y=W.next();!Y.done;Y=W.next())this.G$(Y.value)};\ng.H.G$=function(W){var Y=kW(W.clientMetadata,\"metadata_type_player_vars\");Y?(W.layoutType!==\"LAYOUT_TYPE_MEDIA\"&&EF(\"Non-video ad contains playerVars\",this.slot,W),this.JT.get().addPlayerResponseForAssociation({playerVars:Y})):(W=dTF(W),this.JT.get().addPlayerResponseForAssociation({w8:W}))};\ng.H.release=function(){var W=kW(this.Z2().clientMetadata,\"metadata_type_player_bytes_layout_controls_callback_ref\");W&&(W.current=null);if(W=kW(this.Z2().clientMetadata,\"metadata_type_ad_pod_skip_target_callback_ref\"))W.current=null;W=g.e(this.Ls);for(var Y=W.next();!Y.done;Y=W.next())Y=Y.value,QNd(this.wU,this.slot,Y.Z2()),Y.release();this.OU()&&(this.qq.get().removeListener(this),wbV())};\ng.H.Xx=function(W){return W.layoutId!==this.Z2().layoutId?(this.callback.Wk(this.jr(),W,new Fn(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.Z2().layoutId+(\"and LayoutType: \"+this.Z2().layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\"),!1):!0};\ng.H.h2=function(){this.Cg.get().addListener(this);qj(this.er(),this)};\ng.H.Dg=function(W){if(W.state.isError()){var Y,k;this.EL((Y=W.state.dc)==null?void 0:Y.errorCode,new Fn(\"There was a player error during this media layout.\",{playerErrorCode:(k=W.state.dc)==null?void 0:k.errorCode},\"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")}else(Y=this.LN())&&Y.Dg(W)};\ng.H.OU=function(){var W=kW(this.jr().clientMetadata,\"metadata_type_eligible_for_ssap\");return W===void 0?(EF(\"Expected SSAP eligibility in PlayerBytes slots\",this.jr(),this.Z2()),!1):this.P6.get().OU(W)};\ng.H.D6=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.Z6=function(){};\ng.H.Bl=function(){};\ng.f(Vx,jD);g.H=Vx.prototype;g.H.WR=function(W,Y,k){this.vp(W,Y,k)};\ng.H.z3=function(W,Y){this.vp(W,Y,\"error\")};\ng.H.vp=function(W,Y,k){var P=this;C6z(this,W,Y,k,function(){$H(P,P.X8()+1)})};\ng.H.startRendering=function(W){this.Xx(W)&&(this.h2(),ny2(this.CH.get()),Hr0(this.P6.get())||AJq(this.Cg.get()),this.X8()===-1&&$H(this,this.X8()+1))};\ng.H.ej=function(W,Y){var k=this;this.ZV=!0;this.X8()===this.Ls.length?this.callback.oI(this.slot,this.layout,Y):(W=this.LN(),W.ej(W.Z2(),Y),this.Ml=function(){k.callback.oI(k.slot,k.layout,Y)});\nthis.Cg.get().Y.nY();Hq7(this.JT.get(),{});W=N2(this.Cg.get(),1);W.isPaused()&&!g.p(W,2)&&this.Cg.get().playVideo();this.Cg.get().removeListener(this);this.ZV&&XE1(this)};\ng.H.WO=function(){};\ng.H.z4=function(){};\ng.H.t6=function(){};\ng.f(Ig,jD);g.H=Ig.prototype;g.H.WR=function(W,Y,k){W=Object.assign({},yV(this),{layoutId:Y.layoutId,layoutExitReason:k});Y=W.layoutId;k=W.layoutExitReason;var P={};Mb(W.AD,\"prse\",(P.xc=Y,P.ler=k,P.ctp=qb(Y),P))};\ng.H.z3=function(){EF(\"onSubLayoutError in SSAP\")};\ng.H.vp=function(){EF(\"exitSubLayoutAndPlayNext in SSAP\")};\ng.H.LN=function(){return this.F5};\ng.H.X8=function(){var W=this;return this.Ls.findIndex(function(Y){var k;return Y.Z2().layoutId===((k=W.F5)==null?void 0:k.Z2().layoutId)})};\ng.H.W2=function(W){U9(this.F5===void 0,\"replacing another adapter\");this.F5=W;W.startRendering(W.Z2())};\ng.H.JM=function(W,Y,k){ot(this.wU,W,Y,k);var P;U9(Y.layoutId===((P=this.F5)==null?void 0:P.Z2().layoutId),\"currentAdapter does not match exiting layout\",{slot:W?\"slot: \"+W.slotType:\"\",subLayout:ie(Y)})&&(this.F5=void 0)};\ng.H.release=function(){jD.prototype.release.call(this);U9(this.F5===void 0,\"currentAdapter is still active during release\");this.F5=void 0};\ng.H.Ts=function(){return this.Cg.get().getPresentingPlayerType()===2};\ng.H.ej=function(W,Y){function k(){PV(this)&&([\"normal\",\"error\",\"skipped\",\"muted\",\"user_input_submitted\"].includes(Y)||EF(\"Composite stopRendering: Unexpected layout exit reason\",this.slot,W,{layoutExitReason:Y}))}\nfunction P(){if(this.F5){var I=this.F5;I.Iy().currentState<2&&I.ej(I.Z2(),Y);I=PV(this)&&Y===\"abandoned\";this.Ts()&&!I&&(k.call(this),this.Pa.get().finishSegmentByCpn(this.F5.Z2().layoutId,DS(this.qq.get(),1).clientPlaybackNonce,CZ(Y,this.P6)))}}\nfunction T(){this.F5&&k9(this,this.F5,Y);if(this.Ts()&&(!PV(this)||Y!==\"abandoned\")){k.call(this);var I;var X=((I=this.qq.get().Y.getVideoData())==null?void 0:I.clientPlaybackNonce)||\"\";I=DS(this.qq.get(),1).clientPlaybackNonce;this.Pa.get().finishSegmentByCpn(X,I,CZ(Y,this.P6))}lt1(this,Y)}\nU9(W.layoutId===this.Z2().layoutId,\"StopRendering for wrong layout\")&&hu2(this.lZ.K,Y)&&(this.qs()?T.call(this):P.call(this))};\ng.H.oI=function(W,Y,k){jD.prototype.oI.call(this,W,Y,k);Y.layoutId===this.Z2().layoutId&&this.Cg.get().removeListener(this)};\ng.H.s3=function(){return DS(this.qq.get(),1).clientPlaybackNonce};\ng.H.WO=function(W,Y,k){$3F(Object.assign({},yV(this),{cpn:W}));if(!PV(this)||k!==5)if(this.qs()){if(this.F5&&this.F5.Z2().layoutId!==Y){var P=this.F5.Z2().layoutId;P!==W&&EF(\"onClipExited: mismatched exiting cpn\",this.slot,void 0,{layoutId:P,exitingCpn:W,enteringCpn:Y});W=Q$(k,this.P6);k9(this,this.F5,W)}else this.F5&&EF(\"onClipExited: active layout is entering again\");Y===this.s3()&&KSX(this,k)}else{if(this.F5&&this.F5.Z2().layoutId===W)YkV(this,this.F5,k);else{var T;EF(\"Exiting cpn does not match active cpn\",\nthis.slot,(P=this.F5)==null?void 0:P.Z2(),{exitingCpn:W,transitionReason:k,activeCpn:(T=this.F5)==null?void 0:T.Z2().layoutId})}Y===this.s3()&&(this.F5!==void 0&&(EF(\"active adapter is not properly exited\",this.slot,this.layout,{activeLayout:ie(this.F5.Z2())}),YkV(this,this.F5,k)),KSX(this,k),lt1(this,this.lZ.K.W))}};\ng.H.qs=function(){return v7(this.P6.get(),\"html5_ssap_exit_without_waiting_for_transition\")};\ng.H.startRendering=function(W){this.Xx(W)&&(W=this.lZ,U9(W.W===1,\"tickStartRendering: state is not initial\"),W.W=2,this.h2())};\ng.H.z4=function(W){lNF(Object.assign({},yV(this),{cpn:W}));var Y=this.Ls.find(function(k){return k.Z2().layoutId===W});\nY?(this.lZ.W!==2&&(NmC(this.Yh,this.slot.slotId),U9(this.lZ.W===2,\"Expect started\"),this.callback.Vi(this.slot,this.layout)),this.W2(Y),ht(this.wU,this.slot,Y.Z2())):sdN(this,W)};\ng.H.fX=function(W,Y){k1N(this,W,Y);var k=this.LN();k?l15(k,W,Y)&&dtX(this,\"skipped\"):qNd(this,\"onSkipRequested\")};\ng.H.Sl=function(W,Y){var k;a:{if(k=this.LN()){if(DT5(this),S_d(k,W,Y)&&(W=BGS(this,k,W,Y),W!==void 0)){k={JO:k,rD6:this.Ls[W]};break a}}else qNd(this,\"SkipWithAdPodSkip\");k=void 0}if(W=k)k=W.JO,Y=W.rD6,W=k.Z2().layoutId,this.qs()?k9(this,k,\"skipped\"):k.ej(k.Z2(),\"skipped\"),k=Y.Z2().layoutId,this.Pa.get().finishSegmentByCpn(W,k,CZ(\"skipped\",this.P6))};\ng.H.MQ=function(){EF(\"Not used in html5_ssap_fix_layout_exit\")};\ng.H.Dg=function(W){var Y;(Y=this.LN())==null||Y.Dg(W)};\ng.H.EL=function(){EF(\"Not used in html5_ssap_fix_layout_exit\")};\ng.H.t6=function(W,Y,k){var P;if(((P=this.LN())==null?void 0:P.Z2().layoutId)!==Y.layoutId)return void EF(\"requestToExitSubLayout: wrong layout\");dtX(this,k)};g.f(hYd,g.D);g.H=hYd.prototype;g.H.jr=function(){return this.dZ.jr()};\ng.H.Z2=function(){return this.dZ.Z2()};\ng.H.init=function(){var W=kW(this.Z2().clientMetadata,\"metadata_type_player_bytes_layout_controls_callback_ref\");W&&(W.current=this);this.KR()};\ng.H.KR=function(){this.dZ.init()};\ng.H.release=function(){var W=kW(this.Z2().clientMetadata,\"metadata_type_player_bytes_layout_controls_callback_ref\");W&&(W.current=null);this.LX()};\ng.H.LX=function(){this.dZ.release()};\ng.H.WD=function(){this.dZ.WD()};\ng.H.p5=function(){this.dZ.p5()};\ng.H.fX=function(W,Y){EF(\"Unexpected onSkipRequested from PlayerBytesVodSingleLayoutRenderingAdapter. Skip should be handled by Triggers\",this.jr(),this.Z2(),{requestingSlot:W,requestingLayout:Y})};\ng.H.startRendering=function(W){W.layoutId!==this.Z2().layoutId?this.callback.Wk(this.jr(),W,new Fn(\"Tried to start rendering an unknown layout, this adapter requires LayoutId: \"+this.Z2().layoutId+(\"and LayoutType: \"+this.Z2().layoutType),void 0,\"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\"):(this.Cg.get().addListener(this),qj(this.er(),this),ny2(this.CH.get()),Hr0(this.P6.get())||AJq(this.Cg.get()),this.dZ.startRendering(W))};\ng.H.ej=function(W,Y){this.ZV=!0;this.dZ.ej(W,Y);this.Cg.get().Y.nY();Hq7(this.JT.get(),{});W=N2(this.Cg.get(),1);W.isPaused()&&!g.p(W,2)&&this.Cg.get().playVideo();this.Cg.get().removeListener(this);this.ZV&&this.dZ.ME()};\ng.H.Vi=function(W,Y){this.dZ.Vi(W,Y)};\ng.H.oI=function(W,Y,k){Y.layoutId===this.Z2().layoutId&&(this.ZV=!1,YL(this.er(),this));this.dZ.oI(W,Y,k);Y.layoutId===this.Z2().layoutId&&v_X(this.CH.get())};\ng.H.DJ=function(W){this.dZ.DJ(W)};\ng.H.Dg=function(W){if(W.state.isError()){var Y,k;this.EL((Y=W.state.dc)==null?void 0:Y.errorCode,new Fn(\"There was a player error during this media layout.\",{playerErrorCode:(k=W.state.dc)==null?void 0:k.errorCode},\"ADS_CLIENT_ERROR_MESSAGE_PLAYER_ERROR\"),\"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED\")}else this.dZ.Dg(W)};\ng.H.EL=function(W,Y,k){this.dZ.JP(W,Y,k)};\ng.H.onFullscreenToggled=function(W){this.dZ.onFullscreenToggled(W)};\ng.H.XI=function(W){this.dZ.XI(W)};\ng.H.yb=function(W){this.dZ.yb(W)};\ng.H.onVolumeChange=function(){this.dZ.onVolumeChange()};\ng.H.D6=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.Z6=function(){};\ng.H.Bl=function(){};g.H=TW.prototype;g.H.jr=function(){return this.slot};\ng.H.Z2=function(){return this.layout};\ng.H.init=function(){this.Va.get().addListener(this);this.Cg.get().addListener(this);var W=kW(this.layout.clientMetadata,\"metadata_type_layout_enter_ms\");var Y=kW(this.layout.clientMetadata,\"metadata_type_layout_exit_ms\");if(this.T){var k=this.Va.get().lG.slice(-1)[0];k!==void 0&&(W=k.startSecs*1E3,Y=(k.startSecs+k.sV)*1E3)}this.g2(W,Y);var P;k=(P=this.qq.get().Kc)==null?void 0:P.clientPlaybackNonce;P=this.layout.XA.adClientDataEntry;Sy(this.sP.get(),{daiStateTrigger:{filledAdsDurationMs:Y-W,contentCpn:k,\nadClientData:P}});var T=this.Va.get();T=bSV(T.J,W,Y);T!==null&&(Sy(this.sP.get(),{daiStateTrigger:{filledAdsDurationMs:T-W,contentCpn:k,cueDurationChange:\"DAI_CUE_DURATION_CHANGE_SHORTER\",adClientData:P}}),this.Pa.get().J4(T,Y))};\ng.H.release=function(){this.LX();this.Va.get().removeListener(this);this.Cg.get().removeListener(this)};\ng.H.startRendering=function(){this.Tb();this.callback.Vi(this.slot,this.layout)};\ng.H.ej=function(W,Y){this.V4(Y);this.driftRecoveryMs!==null&&(Y85(this,{driftRecoveryMs:this.driftRecoveryMs.toString(),breakDurationMs:Math.round(qRv(this)-kW(this.layout.clientMetadata,\"metadata_type_layout_enter_ms\")).toString(),driftFromHeadMs:Math.round(this.Cg.get().Y.O3()*1E3).toString()}),this.driftRecoveryMs=null);this.callback.oI(this.slot,this.layout,Y)};\ng.H.JA=function(){return!1};\ng.H.f$=function(W){var Y=kW(this.layout.clientMetadata,\"metadata_type_layout_enter_ms\"),k=kW(this.layout.clientMetadata,\"metadata_type_layout_exit_ms\");W*=1E3;if(Y<=W&&W0&&P_(this.W(),Y)};\ng.H.Gv=function(W){this.C.delete(W.slotId);for(var Y=[],k=g.e(this.Ym.values()),P=k.next();!P.done;P=k.next()){P=P.value;var T=P.trigger;T instanceof zb&&T.triggeringSlotId===W.slotId&&Y.push(P)}Y.length>0&&P_(this.W(),Y)};\ng.H.FI=function(W){for(var Y=[],k=g.e(this.Ym.values()),P=k.next();!P.done;P=k.next()){P=P.value;var T=P.trigger;T instanceof GLC&&T.slotType===W.slotType&&T.W!==W.slotId&&Y.push(P)}Y.length>0&&P_(this.W(),Y)};\ng.H.Gd=function(W){this.J.add(W.slotId);for(var Y=[],k=g.e(this.Ym.values()),P=k.next();!P.done;P=k.next())P=P.value,P.trigger instanceof jm&&W.slotId===P.trigger.triggeringSlotId&&Y.push(P);Y.length>0&&P_(this.W(),Y)};\ng.H.mB=function(W){this.J.delete(W.slotId);this.T.add(W.slotId);for(var Y=[],k=g.e(this.Ym.values()),P=k.next();!P.done;P=k.next())if(P=P.value,P.trigger instanceof Jp)W.slotId===P.trigger.triggeringSlotId&&Y.push(P);else if(P.trigger instanceof kM){var T=P.trigger;W.slotId===T.slotId&&this.K.has(T.triggeringLayoutId)&&Y.push(P)}Y.length>0&&P_(this.W(),Y)};\ng.H.HK=function(W){for(var Y=[],k=g.e(this.Ym.values()),P=k.next();!P.done;P=k.next())P=P.value,P.trigger instanceof Vn&&W.slotId===P.trigger.triggeringSlotId&&Y.push(P);Y.length>0&&P_(this.W(),Y)};\ng.H.qI=function(W){for(var Y=[],k=g.e(this.Ym.values()),P=k.next();!P.done;P=k.next())P=P.value,P.trigger instanceof Ag&&W.slotId===P.trigger.triggeringSlotId&&Y.push(P);Y.length>0&&P_(this.W(),Y)};\ng.H.Mx=function(W,Y){this.X.add(Y.layoutId)};\ng.H.Cu=function(W,Y){this.X.delete(Y.layoutId)};\ng.H.Vi=function(W,Y){this.K.add(Y.layoutId);for(var k=[],P=g.e(this.Ym.values()),T=P.next();!T.done;T=P.next())if(T=T.value,T.trigger instanceof A7)Y.layoutId===T.trigger.triggeringLayoutId&&k.push(T);else if(T.trigger instanceof bZ){var I=T.trigger;W.slotType===I.slotType&&Y.layoutType===I.layoutType&&Y.layoutId!==I.W&&k.push(T)}else T.trigger instanceof kM&&(I=T.trigger,Y.layoutId===I.triggeringLayoutId&&this.T.has(I.slotId)&&k.push(T));k.length>0&&P_(this.W(),k)};\ng.H.oI=function(W,Y,k){this.K.delete(Y.layoutId);W=[];for(var P=g.e(this.Ym.values()),T=P.next();!T.done;T=P.next())if(T=T.value,T.trigger instanceof L6&&Y.layoutId===T.trigger.triggeringLayoutId&&W.push(T),T.trigger instanceof Zq){var I=T.trigger;Y.layoutId===I.triggeringLayoutId&&I.W.includes(k)&&W.push(T)}W.length>0&&P_(this.W(),W)};\ng.H.kH=function(){};\ng.H.fh=function(){this.T.clear()};\ng.H.f7=function(){};g.f(Jg,g.D);Jg.prototype.Eq=function(W,Y,k,P){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");if(!(Y instanceof DN))throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in CloseRequestedTriggerAdapter\");this.Ym.set(Y.triggerId,new e4(W,Y,k,P))};\nJg.prototype.Mz=function(W){this.Ym.delete(W.triggerId)};g.f(aC,g.D);aC.prototype.Eq=function(W,Y,k,P){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");if(!(Y instanceof Ju||Y instanceof Zp))throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in ContentPlaybackLifecycleTriggerAdapter\");this.Ym.set(Y.triggerId,new e4(W,Y,k,P))};\naC.prototype.Mz=function(W){this.Ym.delete(W.triggerId)};\naC.prototype.fh=function(W){for(var Y=[],k=Y.push,P=k.apply,T=[],I=g.e(this.Ym.values()),X=I.next();!X.done;X=I.next())X=X.value,X.trigger instanceof Ju&&X.trigger.dP===W&&T.push(X);P.call(k,Y,g.cp(T));k=Y.push;P=k.apply;T=[];I=g.e(this.Ym.values());for(X=I.next();!X.done;X=I.next())X=X.value,X.trigger instanceof Zp&&X.trigger.W!==W&&T.push(X);P.call(k,Y,g.cp(T));Y.length&&P_(this.W(),Y)};\naC.prototype.f7=function(W){for(var Y=[],k=Y.push,P=k.apply,T=[],I=g.e(this.Ym.values()),X=I.next();!X.done;X=I.next()){X=X.value;var h=X.trigger;h instanceof Zp&&h.W===W&&T.push(X)}P.call(k,Y,g.cp(T));Y.length&&P_(this.W(),Y)};g.f(Wh,g.D);g.H=Wh.prototype;g.H.Eq=function(W,Y,k,P){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");var T=\"adtriggercuerange:\"+Y.triggerId;if(Y instanceof z9)$Jq(this,W,Y,k,P,T,Y.W.start,Y.W.end,Y.dP,Y.visible);else if(Y instanceof eK)$Jq(this,W,Y,k,P,T,0x7ffffffffffff,0x8000000000000,Y.dP,Y.visible);else throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in CueRangeTriggerAdapter\");};\ng.H.Mz=function(W){var Y=this.Ym.get(W.triggerId);Y&&this.wZ.get().removeCueRange(Y.cueRangeId);this.Ym.delete(W.triggerId)};\ng.H.onCueRangeEnter=function(W){var Y=Kw2(this,W);if(Y&&(Y=this.Ym.get(Y)))if(g.p(N2(this.Cg.get()),32))this.W.add(Y.cueRangeId);else{var k=Y==null?void 0:Y.Id.trigger;if(k instanceof z9||k instanceof eK){if(as(this.context.P6.get())){var P=Y.Id.slot,T=Y.Id.layout,I={};this.context.cU.P7(\"cre\",(I.ca=Y.Id.category,I.tt=k.triggerType,I.st=P.slotType,I.lt=T==null?void 0:T.layoutType,I.cid=W,I))}P_(this.K(),[Y.Id])}}};\ng.H.onCueRangeExit=function(W){(W=Kw2(this,W))&&(W=this.Ym.get(W))&&this.W.delete(W.cueRangeId)};\ng.H.Dg=function(W){if(ez(W,16)<0){W=g.e(this.W);for(var Y=W.next();!Y.done;Y=W.next())this.onCueRangeEnter(Y.value,!0);this.W.clear()}};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.Vi=function(){};\ng.H.oI=function(){};\ng.H.kH=function(){};\ng.H.DJ=function(){};\ng.H.onFullscreenToggled=function(){};\ng.H.XI=function(){};\ng.H.D6=function(){};\ng.H.yb=function(){};\ng.H.onVolumeChange=function(){};\ng.H.Z6=function(){};\ng.H.Bl=function(){};g.f(Hq,g.D);g.H=Hq.prototype;\ng.H.Eq=function(W,Y,k,P){if(this.K.has(Y.triggerId)||this.J.has(Y.triggerId))throw new l(\"Tried to re-register the trigger.\");W=new e4(W,Y,k,P);if(W.trigger instanceof zC2)this.K.set(W.trigger.triggerId,W);else if(W.trigger instanceof Dh)this.J.set(W.trigger.triggerId,W);else throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+W.trigger.triggerType+\" in LiveStreamBreakTransitionTriggerAdapter\");this.K.has(W.trigger.triggerId)&&W.slot.slotId===this.W&&P_(this.T(),[W])};\ng.H.Mz=function(W){this.K.delete(W.triggerId);this.J.delete(W.triggerId)};\ng.H.Ff=function(W){W=W.slotId;if(this.W!==W){var Y=[];this.W!=null&&Y.push.apply(Y,g.cp(gMF(this.J,this.W)));W!=null&&Y.push.apply(Y,g.cp(gMF(this.K,W)));this.W=W;Y.length&&P_(this.T(),Y)}};\ng.H.WO=function(){};\ng.H.z4=function(){};g.f(Yo,g.D);g.H=Yo.prototype;g.H.Eq=function(W,Y,k,P){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");if(!(Y instanceof vq))throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in OnLayoutSelfRequestedTriggerAdapter\");this.Ym.set(Y.triggerId,new e4(W,Y,k,P))};\ng.H.Mz=function(W){this.Ym.delete(W.triggerId)};\ng.H.Vi=function(){};\ng.H.oI=function(){};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};g.f($o,g.D);g.H=$o.prototype;g.H.kH=function(W,Y){for(var k=[],P=g.e(this.Ym.values()),T=P.next();!T.done;T=P.next()){T=T.value;var I=T.trigger;I.opportunityType===W&&(I.associatedSlotId&&I.associatedSlotId!==Y||k.push(T))}k.length&&P_(this.W(),k)};\ng.H.Eq=function(W,Y,k,P){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");if(!(Y instanceof WFV))throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in OpportunityEventTriggerAdapter\");this.Ym.set(Y.triggerId,new e4(W,Y,k,P))};\ng.H.Mz=function(W){this.Ym.delete(W.triggerId)};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.Vi=function(){};\ng.H.oI=function(){};g.f(hO,g.D);g.H=hO.prototype;g.H.Eq=function(W,Y,k,P){W=new e4(W,Y,k,P);if(Y instanceof Rc||Y instanceof Eb||Y instanceof hk||Y instanceof AW||Y instanceof tR1){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");this.Ym.set(Y.triggerId,W)}else throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in PrefetchTriggerAdapter\");};\ng.H.Mz=function(W){this.Ym.delete(W.triggerId)};\ng.H.Q2=function(W){var Y=W.slotFulfillmentTriggers.find(function(k){return k instanceof Rc});\nY&&(sNd(this,\"TRIGGER_TYPE_NEW_SLOT_SCHEDULED_WITH_BREAK_DURATION\",Y.breakDurationMs,new Set([W.slotId]),!0),Fr(this.sP.get(),\"ads_css\",\"sid.\"+W.slotId+\";bd.\"+Y.breakDurationMs))};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.Vi=function(){};\ng.H.oI=function(){};\ng.H.kH=function(){};\ng.H.JA=function(W){var Y=this;if(!this.W)return EF(\"Unexpected cue break before fetch instructions are available\"),!1;this.K&&this.K.stop();this.C&&g.Iv(this.C);var k=JK0(this,W);if(!k){var P=TAX(this),T=this.G!==void 0&&Date.now()<=this.G+1E4;Fr(this.sP.get(),\"ads_ncfs\",\"cid.\"+W.identifier+\";cd.\"+W.sV.toFixed(3)+\";ccs.\"+T+\";cfa.\"+this.T+\";bdc.\"+P.length+\";\"+P.slice(0,6).map(function(I){return\";bd.\"+I}).join(\"\"));\nreturn T?(yo(this.QC,this.W,W),!0):!1}(P=kW(k.slot.clientMetadata,\"metadata_type_triggering_cue_point\"))?P.current=W:EF(\"Expected triggering cue point ref to be available\",k.slot);(new g.fC(function(){var I=k.trigger,X=k.slot;sNd(Y,\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_MATCHED\",I.breakDurationMs,new Set,!0);sNd(Y,\"TRIGGER_TYPE_LIVE_STREAM_BREAK_SCHEDULED_DURATION_NOT_MATCHED\",I.breakDurationMs,new Set,!1);for(var h=0,B=g.e(Y.Ym.values()),O=B.next();!O.done;O=B.next()){O=O.value;var u=\nO.trigger;O.slot.slotId===X.slotId&&(Y.Ym.delete(u.triggerId),h++)}Fr(Y.sP.get(),\"ads_csf\",\"sid.\"+X.slotId+\";bd.\"+I.breakDurationMs+\";dt.\"+h)},10)).start();\nreturn!0};\ng.H.f$=function(){};\ng.H.fh=function(W){var Y=this;this.T=!1;this.G=Date.now();if(this.W&&this.W.contentCpn!==W)EF(\"Fetch instructions carried over from previous content video\",void 0,void 0,{contentCpn:W,fetchInstructionsCpn:this.W.contentCpn}),nv5(this);else{this.J=new g.fC(function(){if(Y.T)delete Y.J;else{var P=Y.Cg.get().getGetAdBreakContext(),T;if(Number(P==null?void 0:(T=P.livePlaybackPosition)==null?void 0:T.utcTimeMillis)>0)delete Y.J,UM2(Y);else{var I;(I=Y.J)==null||I.start()}}},200);\nvar k;(k=this.J)==null||k.start()}};\ng.H.f7=function(W){this.W&&this.W.contentCpn!==W&&EF(\"Expected content video of the current fetch instructions to end\",void 0,void 0,{contentCpn:W,fetchInstructionsCpn:this.W.contentCpn},!0);nv5(this)};\ng.H.VJ=function(W){var Y=this;if(this.W)EF(\"Unexpected multiple fetch instructions for the current content\");else{this.W=W;W=nYd(W);this.K=new g.fC(function(){UM2(Y)},W?W:6E5);\nthis.K.start();this.C=new g.fC(function(){Y.W&&(Y.K&&(Y.K.stop(),Y.K.start()),GTV(Y,\"TRIGGER_TYPE_CUE_BREAK_IDENTIFIED\"))},uBq(this.W));\nW=this.Cg.get().getCurrentTimeSec(1,!1);for(var k=g.e(this.Va.get().lG),P=k.next();!P.done;P=k.next())P=P.value,Fr(this.sP.get(),\"nocache\",\"ct.\"+Date.now()+\";cmt.\"+W+\";d.\"+P.sV.toFixed(3)+\";tw.\"+(P.startSecs-W)+\";cid.\"+P.identifier+\";\")}};\ng.H.iz=function(){g.D.prototype.iz.call(this);nv5(this)};g.f(nl,g.D);g.H=nl.prototype;g.H.Eq=function(W,Y,k,P){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");if(!(Y instanceof xR))throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in TimeRelativeToLayoutEnterTriggerAdapter\");this.Ym.set(Y.triggerId,new e4(W,Y,k,P));W=this.W.has(Y.triggeringLayoutId)?this.W.get(Y.triggeringLayoutId):new Set;W.add(Y);this.W.set(Y.triggeringLayoutId,W)};\ng.H.Mz=function(W){this.Ym.delete(W.triggerId);if(!(W instanceof xR))throw new l(\"Incorrect TriggerType: Tried to unregister trigger of type \"+W.triggerType+\" in TimeRelativeToLayoutEnterTriggerAdapter\");var Y=this.K.get(W.triggerId);Y&&(Y.dispose(),this.K.delete(W.triggerId));if(Y=this.W.get(W.triggeringLayoutId))Y.delete(W),Y.size===0&&this.W.delete(W.triggeringLayoutId)};\ng.H.Q2=function(){};\ng.H.Gv=function(){};\ng.H.FI=function(){};\ng.H.Gd=function(){};\ng.H.mB=function(){};\ng.H.HK=function(){};\ng.H.qI=function(){};\ng.H.Mx=function(){};\ng.H.Cu=function(){};\ng.H.kH=function(){};\ng.H.Vi=function(W,Y){var k=this;if(this.W.has(Y.layoutId)){W=this.W.get(Y.layoutId);W=g.e(W);var P=W.next();for(Y={};!P.done;Y={Jn:void 0},P=W.next())Y.Jn=P.value,P=new g.fC(function(T){return function(){var I=k.Ym.get(T.Jn.triggerId);P_(k.J(),[I])}}(Y),Y.Jn.durationMs),P.start(),this.K.set(Y.Jn.triggerId,P)}};\ng.H.oI=function(){};g.f(Ph,g.D);Ph.prototype.Eq=function(W,Y,k,P){if(this.Ym.has(Y.triggerId))throw new l(\"Tried to register duplicate trigger for slot.\");if(!(Y instanceof In))throw new l(\"Incorrect TriggerType: Tried to register trigger of type \"+Y.triggerType+\" in VideoTransitionTriggerAdapter.\");this.Ym.set(Y.triggerId,new e4(W,Y,k,P))};\nPh.prototype.Mz=function(W){this.Ym.delete(W.triggerId)};Bg.prototype.kt=function(W){return W.kind===\"AD_PLACEMENT_KIND_START\"};g.f(W6,g.D);g.H=W6.prototype;g.H.logEvent=function(W){this.Bs(W)};\ng.H.P4=function(W,Y,k){this.Bs(W,void 0,void 0,void 0,Y,void 0,void 0,void 0,Y.adSlotLoggingData,void 0,void 0,k)};\ng.H.Ae=function(W,Y,k,P){this.Bs(W,void 0,void 0,void 0,Y,k?k:void 0,void 0,void 0,Y.adSlotLoggingData,k?k.adLayoutLoggingData:void 0,void 0,P);Y=jj().resolve(IF(X9))==null?void 0:uP();W=Y==null?void 0:Y.adsSeenHotConfig;Y=Y==null?void 0:Y.adsHotConfig;(W==null?0:W.logOnAdsSeen)&&(Y==null?0:Y.webEnablePremiumAdsSeenLogging)&&Jqd(this,k?k:void 0,P)};\ng.H.A0=function(W,Y,k,P){v7(this.P6.get(),\"h5_enable_pacf_debug_logs\")&&console.log(\"[PACF]: \"+W,\"trigger:\",k,\"slot:\",Y,\"layout:\",P);xG0(this.W.get())&&this.Bs(W,void 0,void 0,void 0,Y,P?P:void 0,void 0,k,Y.adSlotLoggingData,P?P.adLayoutLoggingData:void 0)};\ng.H.Fe=function(W,Y,k,P,T){this.Bs(W,Y,k,P,void 0,void 0,void 0,void 0,void 0,void 0,void 0,T)};\ng.H.iE=function(W,Y,k,P){this.Bs(\"ADS_CLIENT_EVENT_TYPE_ERROR\",void 0,void 0,void 0,k,P,void 0,void 0,k.adSlotLoggingData,P?P.adLayoutLoggingData:void 0,{errorType:W,errorMessage:Y})};\ng.H.Bs=function(W,Y,k,P,T,I,X,h,B,O,u,Z){var M=this;Z=Z===void 0?0:Z;v7(this.P6.get(),\"h5_enable_pacf_debug_logs\")&&console.log(\"[PACF]: \"+W,\"slot:\",T,\"layout:\",I,\"ping:\",X,\"Opportunity:\",{opportunityType:Y,associatedSlotId:k,cgr:P,h9a:h,adSlotLoggingData:B,adLayoutLoggingData:O});try{var t=function(){if(!M.P6.get().Y.V().U(\"html5_disable_client_tmp_logs\")&&W!==\"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED\"){W||EF(\"Empty PACF event type\",T,I);var q=xG0(M.W.get()),G={eventType:W,eventOrder:++M.eventCount},E=\n{};T&&(E.slotData=vS(q,T));I&&(E.layoutData=QIV(q,I));X&&(E.pingData={pingDispatchStatus:\"ADS_CLIENT_PING_DISPATCH_STATUS_SUCCESS\",serializedAdPingMetadata:X.W.serializedAdPingMetadata,pingIndex:X.index});h&&(E.triggerData=IK(h.trigger,h.category));Y&&(E.opportunityData=dMC(q,Y,k,P));q={organicPlaybackContext:{contentCpn:DS(M.qq.get(),1).clientPlaybackNonce}};q.organicPlaybackContext.isLivePlayback=DS(M.qq.get(),1).t9;var z;q.organicPlaybackContext.isMdxPlayback=(z=DS(M.qq.get(),1))==null?void 0:\nz.isMdxPlayback;var A;if((A=DS(M.qq.get(),1))==null?0:A.daiEnabled)q.organicPlaybackContext.isDaiContent=!0;var F;if(z=(F=DS(M.qq.get(),2))==null?void 0:F.clientPlaybackNonce)q.adVideoPlaybackContext={adVideoCpn:z};q&&(E.externalContext=q);G.adClientData=E;B&&(G.serializedSlotAdServingData=B.serializedSlotAdServingDataEntry);O&&(G.serializedAdServingData=O.serializedAdServingDataEntry);u&&(G.errorInfo=u);g.qc(\"adsClientStateChange\",{adsClientEvent:G})}};\nZ&&Z>0?g.iQ(g.tN(),function(){return t()},Z):t()}catch(q){v7(this.P6.get(),\"html5_log_pacf_logging_errors\")&&g.iQ(g.tN(),function(){EF(q instanceof Error?q:String(q),T,I,{pacf_message:\"exception during pacf logging\"})})}};var sXK=new Set(\"ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_NORMALLY ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_SKIP ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABANDON ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_MUTE ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_USER_INPUT_SUBMITTED ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABORTED\".split(\" \"));g.f(b6,W6);g.H=b6.prototype;\ng.H.P4=function(W,Y,k){W6.prototype.P4.call(this,W,Y,k);as(this.P6.get())&&(k={},this.context.cU.P7(\"pacf\",(k.et=W,k.st=Y.slotType,k.si=Y.slotId,k)))};\ng.H.Ae=function(W,Y,k,P){var T=sXK.has(W);W6.prototype.Ae.call(this,W,Y,k,P);as(this.P6.get(),T)&&(P={},this.context.cU.P7(\"pacf\",(P.et=W,P.st=Y.slotType,P.si=Y.slotId,P.lt=k==null?void 0:k.layoutType,P.li=k==null?void 0:k.layoutId,P.p_ac=k==null?void 0:k.layoutId,P)))};\ng.H.Fe=function(W,Y,k,P,T){W6.prototype.Fe.call(this,W,Y,k,P,T);as(this.P6.get())&&(k={},this.context.cU.P7(\"pacf\",(k.et=W,k.ot=Y,k.ss=P==null?void 0:P.length,k)))};\ng.H.A0=function(W,Y,k,P){W6.prototype.A0.call(this,W,Y,k,P);if(as(this.P6.get())){var T={};this.context.cU.P7(\"pacf\",(T.et=W,T.tt=k.trigger.triggerType,T.tc=k.category,T.st=Y.slotType,T.si=Y.slotId,T.lt=P==null?void 0:P.layoutType,T.li=P==null?void 0:P.layoutId,T.p_ac=P==null?void 0:P.layoutId,T))}};\ng.H.iE=function(W,Y,k,P){W6.prototype.iE.call(this,W,Y,k,P);if(as(this.P6.get(),!0)){var T={};this.context.cU.P7(\"perror\",(T.ert=W,T.erm=Y,T.st=k.slotType,T.si=k.slotId,T.lt=P==null?void 0:P.layoutType,T.li=P==null?void 0:P.layoutId,T.p_ac=P==null?void 0:P.layoutId,T))}};\ng.H.Bs=function(W,Y,k,P,T,I,X,h,B,O,u){var Z=this.P6.get();g.l_(Z.Y.V())?(Z=this.P6.get(),Z=g.je(Z.Y.V().experiments,\"H5_async_logging_delay_ms\")):Z=void 0;W6.prototype.Bs.call(this,W,Y,k,P,T,I,X,h,B,O,u,Z)};Oc.prototype.clear=function(){this.W.clear()};uD.prototype.state=function(){return this.W===\"fulfilled\"?{state:\"fulfilled\",value:this.result}:this.W===\"rejected\"?{state:\"rejected\",reason:this.error}:{state:\"pending\"}};\nuD.prototype.T=function(W){ne(W)||pe(W)?R8(HQ(W),this.T.bind(this),this.reject.bind(this)):(this.W=\"fulfilled\",this.result=W,cC(this))};\nuD.prototype.reject=function(W){this.W=\"rejected\";this.error=W;cC(this)};\nvar pe=pa(function(W){return e5j(W)?W instanceof uD:!1});Object.freeze({v02:function(W){var Y=wd(W);return R8(ti(Y,function(k){return Y[k].W===\"rejected\"}),function(k){return Number.isNaN(k)?Y.map(function(P){return P.state().value}):Y[k]})},\niY6:function(W){var Y=wd(W);return R8(ti(Y),function(){return Y.map(function(k){return k.state()})})},\nPM5:function(W){var Y=wd(W);return R8(ti(Y,function(k){return Y[k].W===\"fulfilled\"}),function(k){return Number.isNaN(k)?nk(new AggregateError(Y.map(function(P){return P.state().reason}))):Y[k].state().value})},\nw95:function(W){var Y=wd(W);return R8(ti(Y,function(){return!0}),function(k){return Y[k]})}});var UW=window.uo6||\"en\";T9.prototype.pP=function(W){this.client=W};\nT9.prototype.W=function(){this.clear();this.csn=g.Zu()};\nT9.prototype.clear=function(){this.J.clear();this.K.clear();this.T.clear();this.csn=null};RK.prototype.pP=function(W){g.nT(jR().pP).bind(jR())(W)};\nRK.prototype.clear=function(){g.nT(jR().clear).bind(jR())()};g.H=Lx.prototype;g.H.pP=function(W){this.client=W};\ng.H.Pn=function(W,Y){var k=this;Y=Y===void 0?{}:Y;g.nT(function(){var P,T,I,X=((P=g.R(W==null?void 0:W.commandMetadata,g.KG))==null?void 0:P.rootVe)||((T=g.R(W==null?void 0:W.commandMetadata,LTK))==null?void 0:(I=T.screenVisualElement)==null?void 0:I.uiType);if(X){P=g.R(W==null?void 0:W.commandMetadata,S$z);if(P==null?0:P.parentTrackingParams){var h=g.Ax(P.parentTrackingParams);if(P.parentCsn)var B=P.parentCsn}else Y.clickedVisualElement?h=Y.clickedVisualElement:W.clickTrackingParams&&(h=g.Ax(W.clickTrackingParams));\na:{P=g.R(W,g.Yi);T=g.R(W,$_9);if(P){if(T=zFq(P,\"VIDEO\")){P={token:T,videoId:P.videoId};break a}}else if(T&&(P=zFq(T,\"PLAYLIST\"))){P={token:P,playlistId:T.playlistId};break a}P=void 0}Y=Object.assign({},{cttAuthInfo:P,parentCsn:B},Y);if(g.dS(\"expectation_logging\")){var O;Y.loggingExpectations=((O=g.R(W==null?void 0:W.commandMetadata,LTK))==null?void 0:O.loggingExpectations)||void 0}Uk(k,X,h,Y)}else g.Jx(new g.M6(\"Error: Trying to create a new screen without a rootVeType\",W))})()};\ng.H.clickCommand=function(W,Y,k){W=W.clickTrackingParams;k=k===void 0?0:k;W?(k=g.Zu(k===void 0?0:k))?(pT(this.client,k,g.Ax(W),Y),Y=!0):Y=!1:Y=!1;return Y};\ng.H.stateChanged=function(W,Y,k){this.visualElementStateChanged(g.Ax(W),Y,k===void 0?0:k)};\ng.H.visualElementStateChanged=function(W,Y,k){k=k===void 0?0:k;k===0&&this.K.has(k)?this.L.push([W,Y]):td0(this,W,Y,k)};cF.prototype.fetch=function(W,Y,k){var P=this,T=B$F(W,Y,k);return new Promise(function(I,X){function h(){if(k==null?0:k.gO)try{var O=P.handleResponse(W,T.status,T.response,k);I(O)}catch(u){X(u)}else I(P.handleResponse(W,T.status,T.response,k))}\nT.onerror=h;T.onload=h;var B;T.send((B=Y.body)!=null?B:null)})};\ncF.prototype.handleResponse=function(W,Y,k,P){k=k.replace(\")]}'\",\"\");try{var T=JSON.parse(k)}catch(I){g.Jx(new g.M6(\"JSON parsing failed after XHR fetch\",W,Y,k));if((P==null?0:P.gO)&&k)throw new g.I9(1,\"JSON parsing failed after XHR fetch\");T={}}Y!==200&&(g.Jx(new g.M6(\"XHR API fetch failed\",W,Y,k)),T=Object.assign({},T,{errorMetadata:{status:Y}}));return T};ME.getInstance=function(){var W=g.o3(\"ytglobal.storage_\");W||(W=new ME,g.qa(\"ytglobal.storage_\",W));return W};\nME.prototype.estimate=function(){var W,Y,k;return g.v(function(P){W=navigator;return((Y=W.storage)==null?0:Y.estimate)?P.return(W.storage.estimate()):((k=W.webkitTemporaryStorage)==null?0:k.queryUsageAndQuota)?P.return(zuF()):P.return()})};\ng.qa(\"ytglobal.storageClass_\",ME);Zlq.prototype.kJ=function(W){this.handleError(W)};\nZlq.prototype.logEvent=function(W,Y){switch(W){case \"IDB_DATA_CORRUPTED\":g.dS(\"idb_data_corrupted_killswitch\")||this.W(\"idbDataCorrupted\",Y);break;case \"IDB_UNEXPECTEDLY_CLOSED\":this.W(\"idbUnexpectedlyClosed\",Y);break;case \"IS_SUPPORTED_COMPLETED\":g.dS(\"idb_is_supported_completed_killswitch\")||this.W(\"idbIsSupportedCompleted\",Y);break;case \"QUOTA_EXCEEDED\":RRv(this,Y);break;case \"TRANSACTION_ENDED\":this.J&&Math.random()<=.1&&this.W(\"idbTransactionEnded\",Y);break;case \"TRANSACTION_UNEXPECTEDLY_ABORTED\":W=\nObject.assign({},Y,{hasWindowUnloaded:this.K}),this.W(\"idbTransactionAborted\",W)}};var VD={},fH1=g.UF(\"yt-player-local-media\",{bW:(VD.index={SN:2},VD.media={SN:2},VD.captions={SN:5},VD),shared:!1,upgrade:function(W,Y){Y(2)&&(g.l7(W,\"index\"),g.l7(W,\"media\"));Y(5)&&g.l7(W,\"captions\");Y(6)&&(cZ(W,\"metadata\"),cZ(W,\"playerdata\"))},\nversion:5});var rC1={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,\"ice cream sandwich\":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},No;a:{var au=g.Ed();au=au.toLowerCase();if(g.eR(au,\"android\")){var ACw=au.match(/android\\s*(\\d+(\\.\\d+)?)[^;|)]*[;)]/);if(ACw){var zDp=parseFloat(ACw[1]);if(zDp<100){No=zDp;break a}}var dvc=au.match(\"(\"+Object.keys(rC1).join(\"|\")+\")\");No=dvc?rC1[dvc[0]]:0}else No=void 0}var lT=No,Hld=lT>=0;var KtF=window;var AfV=qP(function(){var W,Y;return(Y=(W=window).matchMedia)==null?void 0:Y.call(W,\"(prefers-reduced-motion: reduce)\").matches});var s5;g.Jh=new RM;s5=0;var KB=K2z()?!0:typeof window.fetch===\"function\"&&window.ReadableStream&&window.AbortController&&!g.PC?!0:!1;var gv={d5:function(W){W[S[38]]()},\n\"in\":function(W,Y){W[S[8]](0,Y)},\nIp:function(W,Y){var k=W[0];W[0]=W[Y%W[S[13]]];W[Y%W[S[13]]]=k}};var $EC={Msi:\"adunit\",mAh:\"detailpage\",RhS:\"editpage\",bh2:\"embedded\",t6i:\"leanback\",IrJ:\"previewpage\",jMr:\"profilepage\",vY:\"unplugged\",q0J:\"playlistoverview\",roD:\"sponsorshipsoffer\",xhJ:\"shortspage\",Flz:\"handlesclaiming\",VAh:\"immersivelivepage\",Fd6:\"creatormusic\",r7r:\"immersivelivepreviewpage\",E7i:\"admintoolyurt\",Ij5:\"shortsaudiopivot\",UAr:\"consumption\"};var yVC=2592E3;var Wf,mvi,Gd;Wf={};g.xf=(Wf.STOP_EVENT_PROPAGATION=\"html5-stop-propagation\",Wf.IV_DRAWER_ENABLED=\"ytp-iv-drawer-enabled\",Wf.IV_DRAWER_OPEN=\"ytp-iv-drawer-open\",Wf.MAIN_VIDEO=\"html5-main-video\",Wf.VIDEO_CONTAINER=\"html5-video-container\",Wf.VIDEO_CONTAINER_TRANSITIONING=\"html5-video-container-transitioning\",Wf.HOUSE_BRAND=\"house-brand\",Wf);mvi={};Gd=(mvi.RIGHT_CONTROLS_LEFT=\"ytp-right-controls-left\",mvi.RIGHT_CONTROLS_RIGHT=\"ytp-right-controls-right\",mvi);var oN6={allowed:\"AUTOPLAY_BROWSER_POLICY_ALLOWED\",\"allowed-muted\":\"AUTOPLAY_BROWSER_POLICY_ALLOWED_MUTED\",disallowed:\"AUTOPLAY_BROWSER_POLICY_DISALLOWED\"};var Gwz={ANDROID:3,ANDROID_KIDS:18,ANDROID_MUSIC:21,ANDROID_UNPLUGGED:29,WEB:1,WEB_REMIX:67,WEB_UNPLUGGED:41,IOS:5,IOS_KIDS:19,IOS_MUSIC:26,IOS_UNPLUGGED:33},KRd={android:\"ANDROID\",\"android.k\":\"ANDROID_KIDS\",\"android.m\":\"ANDROID_MUSIC\",\"android.up\":\"ANDROID_UNPLUGGED\",youtube:\"WEB\",\"youtube.m\":\"WEB_REMIX\",\"youtube.up\":\"WEB_UNPLUGGED\",ytios:\"IOS\",\"ytios.k\":\"IOS_KIDS\",\"ytios.m\":\"IOS_MUSIC\",\"ytios.up\":\"IOS_UNPLUGGED\"},qGz={\"mdx-pair\":1,\"mdx-dial\":2,\"mdx-cast\":3,\"mdx-voice\":4,\"mdx-inappdial\":5};var G$0={DISABLED:1,ENABLED:2,PAUSED:3,1:\"DISABLED\",2:\"ENABLED\",3:\"PAUSED\"};g.nc.prototype.getLanguageInfo=function(){return this.Ib};\ng.nc.prototype.getXtags=function(){if(!this.xtags){var W=this.id.split(\";\");W.length>1&&(this.xtags=W[1])}return this.xtags};\ng.nc.prototype.toString=function(){return this.Ib.name};\ng.nc.prototype.getLanguageInfo=g.nc.prototype.getLanguageInfo;xn.prototype.equals=function(W){return this.K===W.K&&this.W===W.W&&this.J===W.J&&this.reason===W.reason&&(!OV||this.c6===W.c6)};\nxn.prototype.isLocked=function(){return this.J&&!!this.K&&this.K===this.W};\nxn.prototype.compose=function(W){if(W.J&&dL(W))return Tx;if(W.J||dL(this))return W;if(this.J||dL(W))return this;var Y=this.K&&W.K?Math.max(this.K,W.K):this.K||W.K,k=this.W&&W.W?Math.min(this.W,W.W):this.W||W.W;Y=Math.min(Y,k);var P=0;OV&&(P=this.c6!==0&&W.c6!==0?Math.min(this.c6,W.c6):this.c6===0?W.c6:this.c6);return OV&&Y===this.K&&k===this.W&&P===this.c6||!OV&&Y===this.K&&k===this.W?this:OV?new xn(Y,k,!1,k===this.W&&P===this.c6?this.reason:W.reason,P):new xn(Y,k,!1,k===this.W?this.reason:W.reason)};\nxn.prototype.T=function(W){return!W.video||OV&&this.c6!==0&&this.c6=0};\ng.H.UI=function(){var W=this.segments[this.segments.length-1];return W?W.endTime:NaN};\ng.H.aI=function(){return this.segments[0].startTime};\ng.H.Eo=function(){return this.segments.length};\ng.H.X7=function(){return 0};\ng.H.o7=function(W){return(W=this.mQ(W))?W.t5:-1};\ng.H.f2=function(W){return(W=this.XC(W))?W.sourceURL:\"\"};\ng.H.getStartTime=function(W){return(W=this.XC(W))?W.startTime:0};\ng.H.Ug=function(W){return this.getStartTime(W)+this.getDuration(W)};\ng.H.QZ=XC(1);g.H.isLoaded=function(){return this.segments.length>0};\ng.H.XC=function(W){if(this.W&&this.W.t5===W)return this.W;W=g.Sd(this.segments,new kq(W,0,0,0,\"\"),function(Y,k){return Y.t5-k.t5});\nreturn this.W=W>=0?this.segments[W]:null};\ng.H.mQ=function(W){if(this.W&&this.W.startTime<=W&&W=0?this.segments[W]:this.segments[Math.max(0,-W-2)]};\ng.H.append=function(W){if(W.length)if(W=g.N_(W),this.segments.length){var Y=this.segments.length?g.wE(this.segments).endTime:0,k=W[0].t5-this.QU();k>1&&qy0(this.segments);for(k=k>0?0:-k+1;kW.t5&&this.index.xN()<=W.t5+1};\ng.H.update=function(W,Y,k){this.index.append(W);Xnd(this.index,k);W=this.index;W.K=Y;W.J=\"update\"};\ng.H.sE=function(){return this.q4()?!0:Du.prototype.sE.call(this)};\ng.H.kB=function(W,Y){var k=this.index.f2(W),P=this.index.getStartTime(W),T=this.index.getDuration(W),I;Y?T=I=0:I=this.info.c6>0?this.info.c6*T:1E3;return new $V([new i2(3,this,void 0,\"liveCreateRequestInfoForSegment\",W,P,T,0,I,!Y)],k)};\ng.H.qj=function(){return this.q4()?0:this.initRange.length};\ng.H.Iz=function(){return!1};eE.prototype.update=function(W){var Y=void 0;this.K&&(Y=this.K);var k=new eE,P=Array.from(W.getElementsByTagName(\"S\"));if(P.length){var T=+AZ(W,\"timescale\")||1,I=(+P[0].getAttribute(\"t\")||0)/T,X=+AZ(W,\"startNumber\")||0;k.T=I;var h=Y?Y.startSecs+Y.sV:0,B=Date.parse(jpq(AZ(W,\"yt:segmentIngestTime\")))/1E3;k.C=W.parentElement.tagName===\"SegmentTemplate\";k.C&&(k.G=AZ(W,\"media\"));W=Y?X-Y.t5:1;k.X=W>0?0:-W+1;W=g.e(P);for(P=W.next();!P.done;P=W.next()){P=P.value;for(var O=+P.getAttribute(\"d\")/T,u=(+P.getAttribute(\"yt:sid\")||\n0)/T,Z=+P.getAttribute(\"r\")||0,M=0;M<=Z;M++)if(Y&&X<=Y.t5)X++;else{var t=new tz$(X,h,O,B+u,I);k.W.push(t);var q=P;var G=T,E=t.startSecs;t=q.getAttribute(\"yt:cuepointTimeOffset\");var z=q.getAttribute(\"yt:cuepointDuration\");if(t&&z){t=Number(t);E=-t/G+E;G=Number(z)/G;z=q.getAttribute(\"yt:cuepointContext\")||null;var A=q.getAttribute(\"yt:cuepointIdentifier\")||\"\";q=q.getAttribute(\"yt:cuepointEvent\")||\"\";q=new VK(E,G,z,A,gIh[q]||\"unknown\",t)}else q=null;q&&k.J.push(q);X++;h+=O;I+=O;B+=O+u}}k.W.length&&\n(k.K=g.wE(k.W))}this.X=k.X;this.K=k.K||this.K;g.Ga(this.W,k.W);g.Ga(this.J,k.J);this.C=k.C;this.G=k.G;this.T===-1&&(this.T=k.getStreamTimeOffset())};\neE.prototype.getStreamTimeOffset=function(){return this.T===-1?0:this.T};g.f(d$,g.gM);g.H=d$.prototype;g.H.N5=function(){return this.Fu};\ng.H.di=function(W,Y){W=IM(this,W);return W>=0&&(Y||!this.segments[W].pending)};\ng.H.xN=function(){return this.Cr?this.segments.length?this.mQ(this.aI()).t5:-1:g.gM.prototype.xN.call(this)};\ng.H.aI=function(){if(this.Fj)return 0;if(!this.Cr)return g.gM.prototype.aI.call(this);if(!this.segments.length)return 0;var W=Math.max(g.wE(this.segments).endTime-this.ol,0);return this.UU>0&&this.mQ(W).t50)return this.GC/1E3;if(!this.segments.length)return g.gM.prototype.UI.call(this);var W=this.QU();if(!this.Cr||W<=this.segments[this.segments.length-1].t5)W=this.segments[this.segments.length-1];else{var Y=this.segments[this.segments.length-1];W=new kq(W,Math.max(0,Y.startTime-(Y.t5-W)*this.Fu),this.Fu,0,\"sq/\"+W,void 0,void 0,!0)}return this.Fj?Math.min(this.ol,W.endTime):W.endTime};\ng.H.Eo=function(){return this.Cr?this.segments.length?this.QU()-this.xN()+1:0:g.gM.prototype.Eo.call(this)};\ng.H.QU=function(){var W=Math.min(this.UA,Math.max(g.gM.prototype.QU.call(this),this.L8)),Y=this.ol*1E3;Y=this.GC>0&&this.GC0&&this.L8>0&&!Y&&(Y=this.mQ(this.ol))&&(W=Math.min(Y.t5-1,W));return W};\ng.H.uh=function(){return this.segments.length?this.segments[this.segments.length-1]:null};\ng.H.H_=function(W){var Y=IM(this,W.t5);if(Y>=0)this.segments[Y]=W;else if(this.segments.splice(-(Y+1),0,W),this.d2&&W.t5%(300/this.Fu)===0){var k=this.segments[0].t5,P=Math.floor(this.d2/this.Fu);W=W.t5-P;Y=-(Y+1)-P;Y>0&&W>k&&(this.segments=this.segments.slice(Y))}};\ng.H.GG=function(){return this.L8};\ng.H.S0=function(W){return u2?!this.K&&W>=0&&this.QU()<=W:g.gM.prototype.S0.call(this,W)};\ng.H.mQ=function(W){if(!this.Cr)return g.gM.prototype.mQ.call(this,W);if(!this.segments.length)return null;var Y=this.segments[this.segments.length-1];if(W=Y.endTime)Y=Y.t5+Math.floor((W-Y.endTime)/this.Fu+1);else{Y=Kb(this.segments,function(P){return W=P.endTime?1:0});\nif(Y>=0)return this.segments[Y];var k=-(Y+1);Y=this.segments[k-1];k=this.segments[k];Y=Math.floor((W-Y.endTime)/((k.startTime-Y.endTime)/(k.t5-Y.t5-1))+1)+Y.t5}return this.XC(Y)};\ng.H.XC=function(W){if(!this.Cr)return g.gM.prototype.XC.call(this,W);if(!this.segments.length)return null;var Y=IM(this,W);if(Y>=0)return this.segments[Y];var k=-(Y+1);Y=this.Fu;if(k===0)var P=Math.max(0,this.segments[0].startTime-(this.segments[0].t5-W)*Y);else k===this.segments.length?(P=this.segments[this.segments.length-1],P=P.endTime+(W-P.t5-1)*Y):(P=this.segments[k-1],Y=this.segments[k],Y=(Y.startTime-P.endTime)/(Y.t5-P.t5-1),P=P.endTime+(W-P.t5-1)*Y);return new kq(W,P,Y,0,\"sq/\"+W,void 0,void 0,\n!0)};\nvar u2=!1;g.f(m3,zd);g.H=m3.prototype;g.H.n0=function(){return!0};\ng.H.sE=function(){return!0};\ng.H.f5=function(W){return this.Rp()&&W.J&&!W.T||!W.W.index.S0(W.t5)};\ng.H.tR=function(){};\ng.H.gT=function(W,Y){return typeof W!==\"number\"||isFinite(W)?zd.prototype.gT.call(this,W,Y===void 0?!1:Y):new $V([new i2(3,this,void 0,\"mlLiveGetReqInfoStubForTime\",-1,void 0,this.Lh,void 0,this.Lh*this.info.c6)],\"\")};\ng.H.kB=function(W,Y){var k=k===void 0?!1:k;if(this.index.di(W))return zd.prototype.kB.call(this,W,Y);var P=this.index.getStartTime(W),T=Math.round(this.Lh*this.info.c6),I=this.Lh;Y&&(I=T=0);return new $V([new i2(k?6:3,this,void 0,\"mlLiveCreateReqInfoForSeg\",W,P,I,void 0,T,!Y)],W>=0?\"sq/\"+W:\"\")};g.f(Fd,Du);g.H=Fd.prototype;g.H.xk=function(){return!1};\ng.H.Rp=function(){return!1};\ng.H.n0=function(){return!1};\ng.H.tR=function(){return new $V([new i2(1,this,void 0,\"otfInit\")],this.C)};\ng.H.eB=function(){return null};\ng.H.QE=function(W){this.f5(W);return Qd1(this,j$F(W),!1)};\ng.H.gT=function(W,Y){Y=Y===void 0?!1:Y;W=this.index.o7(W);Y&&(W=Math.min(this.index.QU(),W+1));return Qd1(this,W,!0)};\ng.H.Mj=function(W){W.info.type===1&&(this.W||(this.W=VA(W.K)),W.W&&W.W.uri===\"http://youtube.com/streaming/otf/durations/112015\"&&cNK(this,W.W))};\ng.H.f5=function(W){return W.J===0?!0:this.index.QU()>W.t5&&this.index.xN()<=W.t5+1};\ng.H.qj=function(){return 0};\ng.H.Iz=function(){return!1};g.M_.prototype.info=function(){};\ng.M_.prototype.debug=function(){};\ng.M_.prototype.W=function(W){WH.apply(null,[5,this.tag,W].concat(g.cp(g.xh.apply(1,arguments))))};\nvar jQ1=new Map,Syv=new Map,INV=new function(){var W=this;this.W=new Map;this.zW={sla:function(){return W.W}}};g.H=g.Wo7.prototype;g.H.di=function(W){return W<=this.QU()};\ng.H.X7=function(W){return this.offsets[W]};\ng.H.getStartTime=function(W){return this.startTicks[W]/this.W};\ng.H.Ug=function(W){return this.getStartTime(W)+this.getDuration(W)};\ng.H.QZ=XC(0);g.H.hT=function(){return NaN};\ng.H.getDuration=function(W){W=this.cn(W);return W>=0?W/this.W:-1};\ng.H.cn=function(W){return W+1=0};\ng.H.UI=function(){return this.K?this.startTicks[this.count]/this.W:NaN};\ng.H.aI=function(){return 0};\ng.H.Eo=function(){return this.count};\ng.H.f2=function(){return\"\"};\ng.H.o7=function(W){W=g.Sd(this.startTicks.subarray(0,this.count),W*this.W);return W>=0?W:Math.max(0,-W-2)};\ng.H.isLoaded=function(){return this.QU()>=0};\ng.H.iJ=function(W,Y){if(W>=this.QU())return 0;var k=0;for(Y=this.getStartTime(W)+Y;Wthis.getStartTime(W);W++)k=Math.max(k,VoV(this,W)/this.getDuration(W));return k};\ng.H.resize=function(W){W+=2;var Y=this.offsets;this.offsets=new Float64Array(W+1);var k=this.startTicks;this.startTicks=new Float64Array(W+1);for(W=0;W0&&W&&(k=k.range.end+1,W=Math.min(W,this.info.contentLength-k),W>0&&P.push(new i2(4,this,Y0(k,W),\"tbdRange\",void 0,void 0,void 0,void 0,void 0,void 0,void 0,Y)));return new $V(P)};\ng.H.Mj=function(W){if(W.info.type===1){if(this.W)return;this.W=VA(W.K)}else if(W.info.type===2){if(this.C||this.index.QU()>=0)return;if(g.MK(this.info)){var Y=this.index,k=g.tB(W);W=W.info.range.start;var P=g.Ke(k,0,1936286840);k=Zav(P);Y.W=k.timescale;var T=k.tQ;Y.offsets[0]=k.LU+W+P.size;Y.startTicks[0]=T;Y.K=!0;W=k.Kz.length;for(P=0;P0&&W===I[0].qb)for(W=0;W=Y+k)break}T.length||(W=new g.M6(\"b189619593\",\"\"+W,\"\"+Y,\"\"+k),g.LH(W));return new $V(T)};\ng.H.Jw=function(W){for(var Y=this.sY(W.info),k=W.info.range.start+W.info.K,P=[],T=0;T=this.index.X7(k+1);)k++;return this.Vn(k,Y,W.J).EP};\ng.H.f5=function(W){W.IB();return this.sE()?!0:W.range.end+1this.info.contentLength&&(Y=new Wn(Y.start,this.info.contentLength-1)),new $V([new i2(4,W.W,Y,\"getNextRequestInfoByLength\",void 0,void 0,void 0,void 0,void 0,void 0,void 0,W.clipId)]);W.type===4&&(W=this.sY(W),W=W[W.length-1]);var k=0,P=W.range.start+W.K+W.J;W.type===3&&(W.IB(),k=W.t5,P===W.range.end+1&&(k+=1));return this.Vn(k,P,Y)};\ng.H.QE=function(){return null};\ng.H.gT=function(W,Y){Y=Y===void 0?!1:Y;W=this.index.o7(W);Y&&(W=Math.min(this.index.QU(),W+1));return this.Vn(W,this.index.X7(W),0,void 0)};\ng.H.xk=function(){return!0};\ng.H.Rp=function(){return!0};\ng.H.n0=function(){return!1};\ng.H.qj=function(){return this.indexRange.length+this.initRange.length};\ng.H.Iz=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};var $Y={},Jt0=($Y.COLOR_PRIMARIES_BT709=\"bt709\",$Y.COLOR_PRIMARIES_BT2020=\"bt2020\",$Y.COLOR_PRIMARIES_UNKNOWN=null,$Y.COLOR_PRIMARIES_UNSPECIFIED=null,$Y),kY={},E10=(kY.COLOR_TRANSFER_CHARACTERISTICS_BT709=\"bt709\",kY.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10=\"bt2020\",kY.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084=\"smpte2084\",kY.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67=\"arib-std-b67\",kY.COLOR_TRANSFER_CHARACTERISTICS_UNKNOWN=null,kY.COLOR_TRANSFER_CHARACTERISTICS_UNSPECIFIED=null,kY);g.tf.prototype.getName=function(){return this.name};\ng.tf.prototype.getId=function(){return this.id};\ng.tf.prototype.getIsDefault=function(){return this.isDefault};\ng.tf.prototype.toString=function(){return this.name};\ng.tf.prototype.getName=g.tf.prototype.getName;g.tf.prototype.getId=g.tf.prototype.getId;g.tf.prototype.getIsDefault=g.tf.prototype.getIsDefault;var KP2=/action_display_post/;var Fi0,AtS,zLd;g.f(HB,g.tR);g.H=HB.prototype;g.H.isLoading=function(){return this.state===1};\ng.H.x4=function(){return this.state===3};\ng.H.lS5=function(W){var Y=W.getElementsByTagName(\"Representation\");if(W.getElementsByTagName(\"SegmentList\").length>0||W.getElementsByTagName(\"SegmentTemplate\").length>0){this.t9=this.K=!0;this.X||(this.X=new jSd);K_5(this.X,W);this.publish(\"refresh\");for(W=0;W=0?u=XB(M):Z=Z+\"?range=\"+M}B.call(h,new kq(O.t5,O.startSecs,O.sV,O.W,Z,u,O.K))}P=T}k.update(P,this.isLive,this.V5)}L1K(this.X);return!0}this.duration=TE5(AZ(W,\"mediaPresentationDuration\"));a:{for(W=\n0;W0))return this.M6()-W}}W=this.W;for(var Y in W){var k=W[Y].index;if(k.isLoaded()&&!QS(W[Y].info.mimeType))return k.aI()}return 0};\ng.H.getStreamTimeOffset=function(){return this.L};\ng.H.hT=function(W){for(var Y in this.W){var k=this.W[Y].index;if(k.isLoaded()){var P=k.o7(W),T=k.hT(P);if(T)return T+W-k.getStartTime(P)}}return NaN};\nvar Cq=null,FAK,YOF=!((FAK=navigator.mediaCapabilities)==null||!FAK.decodingInfo),O1q={commentary:1,alternate:2,dub:3,main:4};var b1=new Set,wg=new Map;pu.prototype.clone=function(W){return new pu(this.flavor,W,this.K,this.experiments)};\npu.prototype.ER=function(){return{flavor:this.flavor,keySystem:this.keySystem}};\npu.prototype.getInfo=function(){switch(this.keySystem){case \"com.youtube.playready\":return\"PRY\";case \"com.microsoft.playready\":return\"PRM\";case \"com.widevine.alpha\":return\"WVA\";case \"com.youtube.widevine.l3\":return\"WVY\";case \"com.youtube.fairplay\":return\"FPY\";case \"com.youtube.fairplay.sbdl\":return\"FPC\";case \"com.apple.fps.1_0\":return\"FPA\";default:return this.keySystem}};\nvar w7B={},izV=(w7B.playready=[\"com.youtube.playready\",\"com.microsoft.playready\"],w7B.widevine=[\"com.youtube.widevine.l3\",\"com.widevine.alpha\"],w7B),Pf={},NI0=(Pf.widevine=\"DRM_SYSTEM_WIDEVINE\",Pf.fairplay=\"DRM_SYSTEM_FAIRPLAY\",Pf.playready=\"DRM_SYSTEM_PLAYREADY\",Pf),TP={},QX1=(TP.widevine=1,TP.fairplay=2,TP.playready=3,TP);var j4;g.f(Q9,g.D);\nQ9.prototype.initialize=function(W,Y){for(var k=this,P=g.e(Object.keys(W)),T=P.next();!T.done;T=P.next()){T=g.e(W[T.value]);for(var I=T.next();!I.done;I=T.next())if(I=I.value,I.tY)for(var X=g.e(Object.keys(I.tY)),h=X.next();!h.done;h=X.next()){var B=h.value;h=B;B=izV[B];!B&&this.U(\"html5_enable_vp9_fairplay\")&&h===\"fairplay\"&&(B=[\"com.youtube.fairplay.sbdl\"]);if(B){B=g.e(B);for(var O=B.next();!O.done;O=B.next())O=O.value,this.J[O]=this.J[O]||new pu(h,O,I.tY[h],this.pg.experiments),this.W[h]=this.W[h]||\n{},this.W[h][I.mimeType]=!0}}}iH()&&(this.J[\"com.youtube.fairplay\"]=new pu(\"fairplay\",\"com.youtube.fairplay\",\"\",this.pg.experiments),this.U(\"html5_enable_vp9_fairplay\")||(this.W.fairplay=this.W.fairplay||{},this.W.fairplay['video/mp4; codecs=\"avc1.4d400b\"']=!0,this.W.fairplay['audio/mp4; codecs=\"mp4a.40.5\"']=!0));this.K=ME2(Y,this.useCobaltWidevine,this.U(\"html5_enable_safari_fairplay\")&&!0,this.U(\"html5_enable_vp9_fairplay\")).filter(function(u){return!!k.J[u]})};\nQ9.prototype.U=function(W){return this.pg.experiments.Nq(W)};var yCz={\"\":\"LIVE_STREAM_MODE_UNKNOWN\",dvr:\"LIVE_STREAM_MODE_DVR\",lp:\"LIVE_STREAM_MODE_LP\",post:\"LIVE_STREAM_MODE_POST\",window:\"LIVE_STREAM_MODE_WINDOW\",live:\"LIVE_STREAM_MODE_LIVE\"};yP0.prototype.U=function(W){return this.experiments.Nq(W)};var Iy2={RED:\"red\",Tfi:\"white\"};sM.prototype.Ik=function(W){if(W.Lb!==3)throw Error(\"WpccFlagRetriever only supports WPCC flags\");return B00(this,W)};\nsM.prototype.Nq=function(W){return this.flags.get(\"\"+W)===\"true\"};r6.prototype.Qn=function(){return this.J};\nr6.prototype.Dp=function(){return this.K};\nr6.prototype.Nq=function(W){W=this.Ik(W);JSON.stringify(W);return W===\"true\"};\nr6.prototype.Ik=function(W){return this.flags[W]};var MZX=Promise.resolve(),aPq=window.queueMicrotask?window.queueMicrotask.bind(window):tZS;BKd.prototype.canPlayType=function(W,Y){W=W.canPlayType?W.canPlayType(Y):!1;o4?W=W||eDK[Y]:lT===2.2?W=W||oIQ[Y]:Zt()&&(W=W||vIK[Y]);return!!W};\nBKd.prototype.isTypeSupported=function(W){return this.N?window.cast.receiver.platform.canDisplayType(W):uE(W)};\nvar oIQ={'video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"':\"maybe\"},vIK={\"application/x-mpegURL\":\"maybe\"},eDK={\"application/x-mpegURL\":\"maybe\"};g.f(cK,g.tR);cK.prototype.add=function(W,Y){if(!this.items[W]&&(Y.tq||Y.lq||Y.St)){var k=this.items,P=Y;Object.isFrozen&&!Object.isFrozen(Y)&&(P=Object.create(Y),Object.freeze(P));k[W]=P;this.publish(\"vast_info_card_add\",W)}};\ncK.prototype.remove=function(W){var Y=this.get(W);delete this.items[W];return Y};\ncK.prototype.get=function(W){return this.items[W]||null};\ncK.prototype.isEmpty=function(){return g.x3(this.items)};mc.prototype.encrypt=function(W){this.W.exports.AES128CTRCipher_encrypt(this.cipher,W.byteOffset,W.byteLength);return W};\nmc.prototype.Xr=function(){return this.cipher===0};\nmc.prototype.dispose=function(){this.W.exports.AES128CTRCipher_release(this.cipher);this.cipher=0};LcC.prototype.NB=function(W,Y){Y=Y===void 0?1:Y;this.N0+=Y;this.K+=W;W/=Y;for(var k=0;k0)P+=\".\"+WN[T].toFixed(0)+\"_\"+k.W[T].toFixed(0);else break;k=P}k&&(W[Y]=k)}this.W=new F5q;return W};\ng.H.toString=function(){return\"\"};g.H=QGd.prototype;g.H.isActive=function(){return!1};\ng.H.pE=function(){};\ng.H.X6=function(){};\ng.H.IJ=function(){};\ng.H.Ex=function(W,Y){Y()};\ng.H.d8=function(){return{}};\ng.H.toString=function(){return\"\"};var C4K=new QGd,LAp=!!+n2(\"html5_enable_profiler\"),Uvh=!!+n2(\"html5_onesie_enable_profiler\"),j3=LAp||Uvh?new dld:C4K,XFC=LAp?j3:C4K,al=Uvh?j3:C4K;c01.prototype.emscripten_notify_memory_growth=function(){};g.H=Pg.prototype;g.H.malloc=function(W){return this.exports.malloc(W)};\ng.H.free=function(W){this.exports.free(W)};\ng.H.realloc=function(W,Y){return this.exports.realloc(W,Y)};\ng.H.WA=function(W){if(W.buffer!==this.exports.memory.buffer){var Y=this.malloc(W.byteLength);Y=new Uint8Array(this.exports.memory.buffer,Y,W.byteLength);Y.set(W);return Y}};\ng.H.b6=function(W){if(W.buffer===this.exports.memory.buffer){var Y=W.slice();this.free(W.byteOffset);return Y}};\nvar nD0=new function(){this.W=this.K=\"WebAssembly\"in window},Wg=\"WebAssembly\"in window&&(\"instantiateStreaming\"in window.WebAssembly||\"instantiate\"in window.WebAssembly);\nal.pE(Pg,{WA:function(W){return{profile:\"copyj2w\",N0:W===void 0?0:Math.ceil(W.byteLength/16)}},\nb6:function(W){return{profile:\"copyw2j\",N0:W===void 0?0:Math.ceil(W.byteLength/16)}}});V9.prototype.encrypt=function(W,Y){try{return this.W.b6(qfV(this,W,Y))}catch(k){g.Jx(Error(\"ocwce: wasm encrypt failed: \"+k))}};\nV9.prototype.Xr=function(){return this.J};\nV9.prototype.dispose=function(){this.Xr()||(g.o8(this.K),this.W.free(this.T.byteOffset),this.J=!0)};g.f(Byq,g.D);g.f(OaC,g.D);var aD;aR.prototype.add=function(W){if(this.pos+20>this.data.length){var Y=new Uint8Array(this.data.length*2);Y.set(this.data);this.data=Y}for(;W>31;)this.data[this.pos++]=aD[(W&31)+32],W>>=5;this.data[this.pos++]=aD[W|0]};\naR.prototype.WK=function(){return g.z2(this.data.subarray(0,this.pos))};\naR.prototype.reset=function(){this.pos=0};Th.prototype.NL=function(W,Y){var k=Math.pow(this.alpha,W);this.W=Y*(1-k)+k*this.W;this.K+=W};\nTh.prototype.le=function(){return this.W/(1-Math.pow(this.alpha,this.K))};CS.prototype.NL=function(W,Y){for(var k=0;k<10;k++){var P=this.W[k],T=P+(k===0?W:0),I=1*Math.pow(2,k);if(T<=I)break;P=Math.min(1,(T-I*.5)/P);for(T=0;T<16;T++)I=this.values[k*16+T]*P,this.values[(k+1)*16+T]+=I,this.W[k+1]+=I,this.values[k*16+T]-=I,this.W[k]-=I}P=k=0;T=8192;Y>8192&&(k=Math.ceil(Math.log(Y/8192)/Math.log(2)),P=8192*Math.pow(2,k-1),T=P*2);k+2>16?this.values[15]+=W:(Y=(Y-P)/(T-P),this.values[k]+=W*(1-Y),this.values[k+1]+=W*Y);this.W[0]+=W};\nCS.prototype.le=function(){var W=W===void 0?this.K:W;var Y=Y===void 0?.02:Y;var k=k===void 0?.98:k;for(var P=this.J,T=0;T<16;T++)P[T]=this.values[T];T=this.W[0];for(var I=1;I<11;I++){var X=this.W[I];if(X===0)break;for(var h=Math.min(1,(W-T)/X),B=0;B<16;B++)P[B]+=this.values[I*16+B]*h;T+=X*h;if(h<1)break}for(I=W=X=0;I<16;I++){h=X+P[I]/T;W+=Math.max(0,Math.min(h,k)-Math.max(X,Y))*(I>0?8192*Math.pow(2,I-1):0);if(h>k)break;X=h}return W/(k-Y)};Xm.prototype.NL=function(W,Y){W=Math.min(this.W,Math.max(1,Math.round(W*this.resolution)));W+this.K>=this.W&&(this.J=!0);for(;W--;)this.values[this.K]=Y,this.K=(this.K+1)%this.W;this.TR=!0};\nXm.prototype.percentile=function(W){var Y=this;if(!this.J&&this.K===0)return 0;this.TR&&(g.Am(this.C,function(k,P){return Y.values[k]-Y.values[P]}),this.TR=!1);\nreturn this.values[this.C[Math.round(W*((this.J?this.W:this.K)-1))]]||0};\nXm.prototype.le=function(){return this.X?(this.percentile(this.T-this.X)+this.percentile(this.T)+this.percentile(this.T+this.X))/3:this.percentile(this.T)};g.f(a25,g.D);a25.prototype.V5=function(){var W;(W=this.Fr)==null||W.start();if(OW(this)&&this.policy.L){var Y;(Y=this.GW)==null||Y.Al()}};OOC.prototype.U=function(W){return this.experiments.Nq(W)};g.f(ZOX,g.D);var k7v=\"blogger ads-preview gac books docs duo flix google-live google-one play play-ads shopping chat hangouts-meet photos-edu picasaweb gmail jamboard\".split(\" \"),Og5={XUh:\"caoe\",Fi5:\"capsv\",EfP:\"cbrand\",lJa:\"cbr\",ceJ:\"cbrver\",ihi:\"cchip\",Srh:\"ccappver\",CY5:\"ccrv\",J7q:\"cfrmver\",NM1:\"c\",EJS:\"cver\",aP5:\"ctheme\",bah:\"cplayer\",ad2:\"cmodel\",b1:\"cnetwork\",S0P:\"cos\",OS_VERSION:\"cosver\",sMa:\"cplatform\",oNq:\"crqyear\"};g.f(sRz,g.D);g.H=sRz.prototype;g.H.U=function(W){return this.experiments.Nq(W)};\ng.H.Qn=function(){return this.experiments.Qn()};\ng.H.Dp=function(){return this.experiments.Dp()};\ng.H.getWebPlayerContextConfig=function(){return this.webPlayerContextConfig};\ng.H.getVideoUrl=function(W,Y,k,P,T,I,X){Y={list:Y};k&&(T?Y.time_continue=k:Y.t=k);k=X?\"music.youtube.com\":g.w8(this);T=k===\"www.youtube.com\";!I&&P&&T?I=\"https://youtu.be/\"+W:g.gp(this)?(I=\"https://\"+k+\"/fire\",Y.v=W):(I&&T?(I=this.protocol+\"://\"+k+\"/shorts/\"+W,P&&(Y.feature=\"share\")):(I=this.protocol+\"://\"+k+\"/watch\",Y.v=W),o4&&(W=pu0())&&(Y.ebc=W));return g.YW(I,Y)};\ng.H.getVideoEmbedCode=function(W,Y,k,P){Y=\"https://\"+g.w8(this)+\"/embed/\"+Y;P&&(Y=g.YW(Y,{list:P}));P=k.width;k=k.height;Y=BE(Y);W=BE(W!=null?W:\"YouTube video player\");return'')};\ng.H.supportsGaplessAudio=function(){return g.sr&&!o4&&JJX()>=74||g.r9&&g.XK(68)?!0:!1};\ng.H.supportsGaplessShorts=function(){return!this.U(\"html5_enable_short_gapless\")||this.GJ||g.nV?!1:!0};\ng.H.getPlayerType=function(){return this.W.cplayer};\ng.H.OR=function(){return this.Zm};\nvar ox7=[\"www.youtube-nocookie.com\",\"youtube.googleapis.com\",\"www.youtubeeducation.com\",\"youtubeeducation.com\"],L0q=[\"EMBEDDED_PLAYER_LITE_MODE_UNKNOWN\",\"EMBEDDED_PLAYER_LITE_MODE_NONE\",\"EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT\",\"EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT\"],CU5=[19];var IS={},xVq=(IS[\"140\"]={numChannels:2},IS[\"141\"]={numChannels:2},IS[\"251\"]={audioSampleRate:48E3,numChannels:2},IS[\"774\"]={audioSampleRate:48E3,numChannels:2},IS[\"380\"]={numChannels:6},IS[\"328\"]={numChannels:6},IS[\"773\"]={},IS),XV={},c1d=(XV[\"1\"]='video/mp4; codecs=\"av01.0.08M.08\"',XV[\"1h\"]='video/mp4; codecs=\"av01.0.12M.10.0.110.09.16.09.0\"',XV[\"1e\"]='video/mp4; codecs=\"av01.0.08M.08\"',XV[\"9\"]='video/webm; codecs=\"vp9\"',XV[\"(\"]='video/webm; codecs=\"vp9\"',XV[\"9h\"]='video/webm; codecs=\"vp09.02.51.10.01.09.16.09.00\"',\nXV.h='video/mp4; codecs=\"avc1.64001e\"',XV.H='video/mp4; codecs=\"avc1.64001e\"',XV.o='audio/webm; codecs=\"opus\"',XV.a='audio/mp4; codecs=\"mp4a.40.2\"',XV.ah='audio/mp4; codecs=\"mp4a.40.2\"',XV.mac3='audio/mp4; codecs=\"ac-3\"; channels=6',XV.meac3='audio/mp4; codecs=\"ec-3\"; channels=6',XV.i='audio/mp4; codecs=\"iamf.001.001.Opus\"',XV),S3={},f67=(S3[\"337\"]={width:3840,height:2160,bitrate:3E7,fps:30},S3[\"336\"]={width:2560,height:1440,bitrate:15E6,fps:30},S3[\"335\"]={width:1920,height:1080,bitrate:75E5,fps:30},\nS3[\"702\"]={width:7680,height:4320,bitrate:4E7,fps:60},S3[\"701\"]={width:3840,height:2160,bitrate:2E7,fps:60},S3[\"700\"]={width:2560,height:1440,bitrate:1E7,fps:60},S3[\"412\"]={width:1920,height:1080,bitrate:85E5,fps:60,cryptoblockformat:\"subsample\"},S3[\"359\"]={width:1920,height:1080,bitrate:8E6,fps:30,cryptoblockformat:\"subsample\"},S3[\"411\"]={width:1920,height:1080,bitrate:3316E3,fps:60,cryptoblockformat:\"subsample\"},S3[\"410\"]={width:1280,height:720,bitrate:4746E3,fps:60,cryptoblockformat:\"subsample\"},\nS3[\"409\"]={width:1280,height:720,bitrate:1996E3,fps:60,cryptoblockformat:\"subsample\"},S3[\"360\"]={width:1920,height:1080,bitrate:5331E3,fps:30,cryptoblockformat:\"subsample\"},S3[\"358\"]={width:1280,height:720,bitrate:3508E3,fps:30,cryptoblockformat:\"subsample\"},S3[\"357\"]={width:1280,height:720,bitrate:3206E3,fps:30,cryptoblockformat:\"subsample\"},S3[\"274\"]={width:1280,height:720,bitrate:1446E3,fps:30,cryptoblockformat:\"subsample\"},S3[\"315\"]={width:3840,height:2160,bitrate:2E7,fps:60},S3[\"308\"]={width:2560,\nheight:1440,bitrate:1E7,fps:60},S3[\"303\"]={width:1920,height:1080,bitrate:5E6,fps:60},S3[\"302\"]={width:1280,height:720,bitrate:25E5,fps:60},S3[\"299\"]={width:1920,height:1080,bitrate:75E5,fps:60},S3[\"298\"]={width:1280,height:720,bitrate:35E5,fps:60},S3[\"571\"]={width:7680,height:4320,bitrate:3E7,fps:60},S3[\"401\"]={width:3840,height:2160,bitrate:15E6,fps:60},S3[\"400\"]={width:2560,height:1440,bitrate:75E5,fps:60},S3[\"399\"]={width:1920,height:1080,bitrate:2E6,fps:60},S3[\"398\"]={width:1280,height:720,bitrate:1E6,\nfps:60},S3[\"397\"]={width:854,height:480,bitrate:4E5,fps:30},S3[\"396\"]={width:640,height:360,bitrate:25E4,fps:30},S3[\"787\"]={width:1080,height:608,bitrate:2E5,fps:30},S3[\"788\"]={width:1080,height:608,bitrate:4E5,fps:30},S3[\"572\"]={width:7680,height:4320,bitrate:3E7,fps:60},S3[\"555\"]={width:3840,height:2160,bitrate:15E6,fps:60},S3[\"554\"]={width:2560,height:1440,bitrate:75E5,fps:60},S3[\"553\"]={width:1920,height:1080,bitrate:2E6,fps:60},S3[\"552\"]={width:1280,height:720,bitrate:1E6,fps:60},S3[\"551\"]={width:854,\nheight:480,bitrate:4E5,fps:30},S3[\"550\"]={width:640,height:360,bitrate:25E4,fps:30},S3[\"313\"]={width:3840,height:2160,bitrate:8E6,fps:30},S3[\"271\"]={width:2560,height:1440,bitrate:4E6,fps:30},S3[\"248\"]={width:1920,height:1080,bitrate:2E6,fps:30},S3[\"247\"]={width:1280,height:720,bitrate:15E5,fps:30},S3[\"244\"]={width:854,height:480,bitrate:52E4,fps:30},S3[\"243\"]={width:640,height:360,bitrate:28E4,fps:30},S3[\"137\"]={width:1920,height:1080,bitrate:4E6,fps:30},S3[\"136\"]={width:1280,height:720,bitrate:3E6,\nfps:30},S3[\"135\"]={width:854,height:480,bitrate:1E6,fps:30},S3[\"385\"]={width:1920,height:1080,bitrate:6503313,fps:60},S3[\"376\"]={width:1280,height:720,bitrate:5706960,fps:60},S3[\"384\"]={width:1280,height:720,bitrate:3660979,fps:60},S3[\"225\"]={width:1280,height:720,bitrate:5805E3,fps:30},S3[\"224\"]={width:1280,height:720,bitrate:453E4,fps:30},S3[\"145\"]={width:1280,height:720,bitrate:2682052,fps:30},S3);g.H=mY.prototype;g.H.getInfo=function(){return this.W};\ng.H.B1=function(){return null};\ng.H.MU=function(){var W=this.B1();return W?(W=g.R2(W.ob),Number(W.expire)):NaN};\ng.H.UD=function(){};\ng.H.getHeight=function(){return this.W.video.height};Ezq.prototype.build=function(){$pF(this);var W=[\"#EXTM3U\",\"#EXT-X-INDEPENDENT-SEGMENTS\"],Y={};a:if(this.W)var k=this.W;else{k=\"\";for(var P=g.e(this.J),T=P.next();!T.done;T=P.next())if(T=T.value,T.Ib){if(T.Ib.getIsDefault()){k=T.Ib.getId();break a}k||(k=T.Ib.getId())}}P=g.e(this.J);for(T=P.next();!T.done;T=P.next())if(T=T.value,this.X||!T.Ib||T.Ib.getId()===k)Y[T.itag]||(Y[T.itag]=[]),Y[T.itag].push(T);k=g.e(this.K);for(P=k.next();!P.done;P=k.next())if(P=P.value,T=Y[P.W]){T=g.e(T);for(var I=T.next();!I.done;I=\nT.next()){var X=W,h=X.push;I=I.value;var B=\"#EXT-X-MEDIA:TYPE=AUDIO,\",O=\"YES\",u=\"audio\";if(I.Ib){u=I.Ib;var Z=u.getId().split(\".\")[0];Z&&(B+='LANGUAGE=\"'+Z+'\",');(this.W?this.W===u.getId():u.getIsDefault())||(O=\"NO\");u=u.getName()}Z=\"\";P!==null&&(Z=P.itag.toString());Z=QN(this,I.url,Z);B=B+('NAME=\"'+u+'\",DEFAULT='+(O+',AUTOSELECT=YES,GROUP-ID=\"'))+($6z(I,P)+'\",URI=\"'+(Z+'\"'));h.call(X,B)}}k=g.e(this.C);for(P=k.next();!P.done;P=k.next())P=P.value,T=l$w,P=(X=P.Ib)?'#EXT-X-MEDIA:URI=\"'+QN(this,P.url)+\n'\",TYPE=SUBTITLES,GROUP-ID=\"'+T+'\",LANGUAGE=\"'+X.getId()+'\",NAME=\"'+X.getName()+'\",DEFAULT=NO,AUTOSELECT=YES':void 0,P&&W.push(P);k=this.C.length>0?l$w:void 0;P=g.e(this.K);for(T=P.next();!T.done;T=P.next())T=T.value,h=Y[T.W],X=void 0,((X=h)==null?void 0:X.length)>0&&(X=T,h=h[0],h=\"#EXT-X-STREAM-INF:BANDWIDTH=\"+(X.bitrate+h.bitrate)+',CODECS=\"'+(X.codecs+\",\"+h.codecs+'\",RESOLUTION=')+(X.width+\"x\"+X.height+',AUDIO=\"')+($6z(h,X)+'\",')+(k?'SUBTITLES=\"'+k+'\",':\"\")+\"CLOSED-CAPTIONS=NONE\",X.fps>1&&(h+=\n\",FRAME-RATE=\"+X.fps),X.zF&&(h+=\",VIDEO-RANGE=\"+X.zF),W.push(h),W.push(QN(this,T.url,\"\")));return W.join(\"\\n\")};\nvar l$w=\"text\";g.f(iO,mY);iO.prototype.MU=function(){return this.expiration};\niO.prototype.B1=function(){if(!this.ob||this.ob.Xr()){var W=this.K.build();W=\"data:application/x-mpegurl;charset=utf-8,\"+encodeURIComponent(W);this.ob=new E6(W)}return this.ob};g.f(Tg,mY);Tg.prototype.B1=function(){return new E6(this.K.OV())};\nTg.prototype.UD=function(){this.K=iF(28,this.K)};g.f(q2,mY);q2.prototype.B1=function(){return new E6(this.K)};var h0={},ClX=(h0.PLAYABILITY_ERROR_CODE_VIDEO_BLOCK_BY_MRM=\"mrm.blocked\",h0.PLAYABILITY_ERROR_CODE_PERMISSION_DENIED=\"auth\",h0.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_DENIED=\"embedder.identity.denied\",h0.PLAYABILITY_ERROR_CODE_EMBEDDER_IDENTITY_MISSING_REFERRER=\"embedder.identity.missing.referrer\",h0);g.H=g.u1.prototype;g.H.getId=function(){return this.id};\ng.H.getName=function(){return this.name};\ng.H.isServable=function(){return this.W};\ng.H.OV=function(){return this.url};\ng.H.getXtags=function(){return this.xtags};\ng.H.toString=function(){return this.languageCode+\": \"+g.mx(this)+\" - \"+this.vssId+\" - \"+(this.captionId||\"\")};\ng.H.equals=function(W){return W?this.toString()===W.toString():!1};\ng.H.Nt=function(){return!(!this.languageCode||this.translationLanguage&&!this.translationLanguage.languageCode)};var PzV={\"ad-trueview-indisplay-pv\":6,\"ad-trueview-insearch\":7},T$1={\"ad-trueview-indisplay-pv\":2,\"ad-trueview-insearch\":2},jWV=/^(\\d*)_((\\d*)_?(\\d*))$/;var JV2={iurl:\"default.jpg\",iurlmq:\"mqdefault.jpg\",iurlhq:\"hqdefault.jpg\",iurlsd:\"sddefault.jpg\",iurlpop1:\"pop1.jpg\",iurlpop2:\"pop2.jpg\",iurlhq720:\"hq720.jpg\",iurlmaxres:\"maxresdefault.jpg\"},uWv={120:\"default.jpg\",320:\"mqdefault.jpg\",480:\"hqdefault.jpg\",560:\"pop1.jpg\",640:\"sddefault.jpg\",854:\"pop2.jpg\",1280:\"hq720.jpg\"};var Bf={},bZK=(Bf.ALWAYS=1,Bf.BY_REQUEST=3,Bf.UNKNOWN=void 0,Bf),O_={},cC1=(O_.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN=\"UNKNOWN\",O_.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL=\"NORMAL\",O_.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW=\"LOW\",O_.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW=\"ULTRALOW\",O_);var vMV;\nvMV=function(W){for(var Y=Object.keys(W),k={},P=0;PP-Y?-1:W};\ng.H.cP=function(){return this.K.QU()};\ng.H.y8=function(){return this.K.xN()};\ng.H.pG=function(W){this.K=W};g.f(Xh,Io);Xh.prototype.K=function(W,Y){return Io.prototype.K.call(this,\"$N|\"+W,Y)};\nXh.prototype.C=function(W,Y,k){return new AKv(W,Y,k,this.isLive)};g.f(g.NC,g.tR);g.H=g.NC.prototype;\ng.H.setData=function(W){W=W||{};var Y=W.errordetail;Y!=null&&(this.errorDetail=Y);var k=W.errorcode;k!=null?this.errorCode=k:W.status===\"fail\"&&(this.errorCode=\"auth\");var P=W.reason;P!=null&&(this.errorReason=P);var T=W.subreason;T!=null&&(this.OX=T);this.clientPlaybackNonce||(this.clientPlaybackNonce=W.cpn||(this.pg.OR()?\"r\"+g.BV(15):g.BV(16)));this.e1=ud(this.pg.e1,W.livemonitor);luX(this,W);var I=W.raw_player_response;if(I)this.Ft=I;else{var X=W.player_response;X&&(I=JSON.parse(X))}I&&(this.playerResponse=\nI);if(this.playerResponse){var h=this.playerResponse.annotations;if(h)for(var B=g.e(h),O=B.next();!O.done;O=B.next()){var u=O.value.playerAnnotationsUrlsRenderer;if(u){u.adsOnly&&(this.Mo=!0);var Z=u.loadPolicy;Z&&(this.annotationsLoadPolicy=bZK[Z]);var M=u.invideoUrl;M&&(this.Fr=ci(M));break}}var t=this.playerResponse.attestation;t&&cI0(this,t);var q=this.playerResponse.cotn;q&&(this.cotn=q);var G=this.playerResponse.heartbeatParams;if(G){this.iN=!0;var E=G.heartbeatToken;E&&(this.drmSessionId=G.drmSessionId||\n\"\",this.heartbeatToken=E,this.O2=Number(G.intervalMilliseconds),this.Kf=Number(G.maxRetries),this.q2=!!G.softFailOnError,this.An=!!G.useInnertubeHeartbeatsForDrm);this.heartbeatServerData=G.heartbeatServerData;var z;this.v4=!((z=G.heartbeatAttestationConfig)==null||!z.requiresAttestation)}var A=this.playerResponse.messages;A&&NBz(this,A);var F=this.playerResponse.overlay;if(F){var y=F.playerControlsOverlayRenderer;if(y)if(Bzq(this,y.controlBgHtml),y.mutedAutoplay){var U=g.R(y.mutedAutoplay,TZi);if(U&&\nU.endScreen){var V=g.R(U.endScreen,j3B);V&&V.text&&(this.Ng=g.NF(V.text))}}else this.mutedAutoplay=!1}var b=this.playerResponse.playabilityStatus;if(b){var Sz=b.backgroundability;Sz&&Sz.backgroundabilityRenderer.backgroundable&&(this.backgroundable=!0);var jz,X7;if((jz=b.offlineability)==null?0:(X7=jz.offlineabilityRenderer)==null?0:X7.offlineable)this.offlineable=!0;var O2=b.contextParams;O2&&(this.contextParams=O2);var $5=b.pictureInPicture;$5&&$5.pictureInPictureRenderer.playableInPip&&(this.pipable=\n!0);b.playableInEmbed&&(this.allowEmbed=!0);var z1=b.ypcClickwrap;if(z1){var cd=z1.playerLegacyDesktopYpcClickwrapRenderer,V0=z1.ypcRentalActivationRenderer;if(cd)this.CL=cd.durationMessage||\"\",this.vk=!0;else if(V0){var Mc=V0.durationMessage;this.CL=Mc?g.NF(Mc):\"\";this.vk=!0}}var TK=b.errorScreen;if(TK){if(TK.playerLegacyDesktopYpcTrailerRenderer){var mV=TK.playerLegacyDesktopYpcTrailerRenderer;this.b3=mV.trailerVideoId||\"\";var Iq=TK.playerLegacyDesktopYpcTrailerRenderer.ypcTrailer;var p$=Iq&&Iq.ypcTrailerRenderer}else if(TK.playerLegacyDesktopYpcOfferRenderer)mV=\nTK.playerLegacyDesktopYpcOfferRenderer;else if(TK.ypcTrailerRenderer){p$=TK.ypcTrailerRenderer;var L$=p$.fullVideoMessage;this.vF=L$?g.NF(L$):\"\";var $8,d;this.b3=(($8=g.R(p$,IWc))==null?void 0:(d=$8.videoDetails)==null?void 0:d.videoId)||\"\"}mV&&(this.wf=mV.itemTitle||\"\",mV.itemUrl&&(this.Gb=mV.itemUrl),mV.itemBuyUrl&&(this.HP=mV.itemBuyUrl),this.qY=mV.itemThumbnail||\"\",this.lM=mV.offerHeadline||\"\",this.Xo=mV.offerDescription||\"\",this.gw=mV.offerId||\"\",this.Io=mV.offerButtonText||\"\",this.hv=mV.offerButtonFormattedText||\nnull,this.df=mV.overlayDurationMsec||NaN,this.vF=mV.fullVideoMessage||\"\",this.Er=!0);if(p$){var Ux=g.R(p$,IWc);if(Ux)this.uv={raw_player_response:Ux};else{var m1=g.R(p$,t9z);this.uv=m1?DX(m1):null}this.Er=!0}}}var k5=this.playerResponse.playbackTracking;if(k5){var JN=W,K=Tn(k5.googleRemarketingUrl);K&&(this.googleRemarketingUrl=K);var Y5=Tn(k5.youtubeRemarketingUrl);Y5&&(this.youtubeRemarketingUrl=Y5);var KT={},k$=Tn(k5.ptrackingUrl);if(k$){var ew=gd(k$),U2=ew.oid;U2&&(this.Mg=U2);var Yh=ew.pltype;\nYh&&(this.zm=Yh);var NS=ew.ptchn;NS&&(this.Lz=NS);var eV=ew.ptk;eV&&(this.q0=encodeURIComponent(eV));var J=ew.m;J&&(this.Yi=J)}var n=Tn(k5.qoeUrl);if(n){for(var r=g.R2(n),w=g.e(Object.keys(r)),C=w.next();!C.done;C=w.next()){var nC=C.value,x=r[nC];r[nC]=Array.isArray(x)?x.join(\",\"):x}this.bk=r;var a=r.cat;a&&(this.U(\"html5_enable_qoe_cat_list\")?this.wi=this.wi.concat(a.split(\",\")):this.B4=a);var Q=r.live;Q&&(this.gm=Q);var q6=r.drm_product;q6&&(this.drmProduct=q6)}var Rj=Tn(k5.videostatsPlaybackUrl);\nif(Rj){var Id=gd(Rj),Xz=Id.adformat;if(Xz){JN.adformat=Xz;var lF=this.V(),Jq=IbC(Xz,this.SB,lF.T,lF.L);Jq&&(this.adFormat=Jq)}var NL=Id.aqi;NL&&(JN.ad_query_id=NL);var EK=Id.autoplay;EK&&(this.zv=EK==\"1\",this.mT=EK==\"1\");var Qi=Id.autonav;Qi&&(this.isAutonav=Qi==\"1\");var rv=Id.delay;rv&&(this.A9=M2(rv));var tv=Id.ei;tv&&(this.eventId=tv);var dv=Df(Id.adcontext);if(dv)try{var Dc=j_w(dv);Dc&&(this.DT=Dc)}catch(Yk1){g.Jx(Error(\"Malformed adContext\"))}if(dv||Xz)this.zv=!0;var sK=Id.feature;sK&&(this.Jo=\nsK);var XD=Id.list;XD&&(this.playlistId=XD);var rB=Id.of;rB&&(this.R9=rB);var wl=Id.osid;wl&&(this.osid=wl);var k8=Id.referrer;k8&&(this.referrer=k8);var UK=Id.sdetail;UK&&(this.qR=UK);var gB=Id.ssrt;gB&&(this.xF=gB==\"1\");var G6=Id.subscribed;G6&&(this.subscribed=G6==\"1\");var vl=Id.uga;vl&&(this.userGenderAge=vl);var IX=Id.upt;IX&&(this.CX=IX);var KZ=Id.vm;KZ&&(this.videoMetadata=KZ);KT.playback=Id}var Qf=Tn(k5.videostatsWatchtimeUrl);if(Qf){var yf=gd(Qf),Wl=yf.ald;Wl&&(this.l3=Wl);KT.watchtime=yf}var qB=\nTn(k5.atrUrl);if(qB){var Kt=gd(qB);KT.atr=Kt}var CB=Tn(k5.engageUrl);if(CB){var EL=gd(CB);KT.engage=EL}this.vV=KT;if(k5.promotedPlaybackTracking){var ap=k5.promotedPlaybackTracking;ap.startUrls&&(this.mH=ap.startUrls);ap.firstQuartileUrls&&(this.P_=ap.firstQuartileUrls);ap.secondQuartileUrls&&(this.KB=ap.secondQuartileUrls);ap.thirdQuartileUrls&&(this.v1=ap.thirdQuartileUrls);ap.completeUrls&&(this.v_=ap.completeUrls);ap.engagedViewUrls&&(ap.engagedViewUrls.length>1&&g.Jx(new g.M6(\"There are more than one engaged_view_urls.\")),\nthis.JR=ap.engagedViewUrls[0])}}var Xw=this.playerResponse.playerCueRanges;Xw&&Xw.length>0&&(this.cueRanges=Xw);var Ep=this.playerResponse.playerCueRangeSet;Ep&&g.fL(this,Ep);a:{var YQ=this.playerResponse.adPlacements;if(YQ)for(var el=g.e(YQ),$Q=el.next();!$Q.done;$Q=el.next()){var o7=void 0,vs=void 0,CF=(o7=$Q.value.adPlacementRenderer)==null?void 0:(vs=o7.renderer)==null?void 0:vs.videoAdTrackingRenderer;if(CF){var LF=CF;break a}}LF=null}var kQ=LF;k5&&k5.promotedPlaybackTracking&&kQ&&g.Jx(new g.M6(\"Player Response with both promotedPlaybackTracking and videoAdTrackingRenderer\"));\nvar Ya;if(!(Ya=kQ))a:{for(var U1=g.e(this.playerResponse.adSlots||[]),xr=U1.next();!xr.done;xr=U1.next()){var fk=g.R(xr.value,Ci);if(fk===void 0||!ZEX(fk))break;var ki=void 0,sL=(ki=fk.fulfillmentContent)==null?void 0:ki.fulfilledLayout,rU=g.R(sL,S86);if(rU&&ifd(rU)){Ya=!0;break a}}Ya=!1}Ya&&(this.e$=!0);var AE=this.playerResponse.playerAds;if(AE)for(var q4=W,P4=g.e(AE),Xl=P4.next();!Xl.done;Xl=P4.next()){var TV=Xl.value;if(TV){var R5=TV.playerLegacyDesktopWatchAdsRenderer;if(R5){var zl=R5.playerAdParams;\nif(zl){zl.autoplay==\"1\"&&(this.mT=this.zv=!0);this.LI=zl.encodedAdSafetyReason||null;zl.showContentThumbnail!==void 0&&(this.vu=!!zl.showContentThumbnail);q4.enabled_engage_types=zl.enabledEngageTypes;break}}}}var R_=this.playerResponse.playerConfig;if(R_){var Ps=R_.manifestlessWindowedLiveConfig;if(Ps){var Be=Number(Ps.minDvrSequence),HI=Number(Ps.maxDvrSequence),VY=Number(Ps.minDvrMediaTimeMs),nH=Number(Ps.maxDvrMediaTimeMs),ji=Number(Ps.startWalltimeMs);Be&&(this.UU=Be);VY&&(this.gD=VY/1E3,this.U(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&\nw9(this)&&(this.UK=VY/1E3));HI&&(this.UA=HI);nH&&(this.J9=nH/1E3,this.U(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&w9(this)&&(this.KL=nH/1E3));ji&&(this.Gn=ji/1E3);(Be||VY)&&(HI||nH)&&(this.allowLiveDvr=this.isLivePlayback=this.wD=!0,this.Fj=!1)}var NH=R_.daiConfig;if(NH){if(NH.enableDai){this.Tj=!0;var X5=NH.enableServerStitchedDai;X5&&(this.enableServerStitchedDai=X5);var J1=NH.enablePreroll;J1&&(this.uu=J1)}var GC;if(NH.daiType===\"DAI_TYPE_SS_DISABLED\"||((GC=NH.debugInfo)==null?0:GC.isDisabledUnpluggedChannel))this.S8=\n!0;NH.daiType===\"DAI_TYPE_CLIENT_STITCHED\"&&(this.TL=!0);NH.allowUstreamerRequestAdconfig&&(this.MR=!0)}var G9=R_.audioConfig;if(G9){var Or=G9.loudnessDb;Or!=null&&(this.Zm=Or);var zQV=G9.trackAbsoluteLoudnessLkfs;zQV!=null&&(this.Xz=zQV);var dbV=G9.loudnessTargetLkfs;dbV!=null&&(this.loudnessTargetLkfs=dbV);G9.audioMuted&&(this.Aj=!0);G9.muteOnStart&&(this.Vf=!0);var KP=G9.loudnessNormalizationConfig;if(KP){KP.applyStatefulNormalization&&(this.applyStatefulNormalization=!0);KP.preserveStatefulLoudnessTarget&&\n(this.preserveStatefulLoudnessTarget=!0);var mbS=KP.minimumLoudnessTargetLkfs;mbS!=null&&(this.minimumLoudnessTargetLkfs=mbS);var Db0=KP.maxStatefulTimeThresholdSec;Db0!=null&&(this.maxStatefulTimeThresholdSec=Db0)}G9.playAudioOnly&&(this.k8=!0)}var yx7=R_.playbackEndConfig;if(yx7){var gTd=yx7.endSeconds,F41=yx7.limitedPlaybackDurationInSeconds;this.mutedAutoplay&&(gTd&&(this.endSeconds=gTd),F41&&(this.limitedPlaybackDurationInSeconds=F41))}var DD=R_.fairPlayConfig;if(DD){var w1V=DD.certificate;w1V&&\n(this.GJ=Df(w1V));var QJ2=Number(DD.keyRotationPeriodMs);QJ2>0&&(this.n4=QJ2);var yGd=Number(DD.keyPrefetchMarginMs);yGd>0&&(this.U2=yGd)}var FY=R_.playbackStartConfig;if(FY){this.il=Number(FY.startSeconds);var eQ0=FY.liveUtcStartSeconds,oT0=!!this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0;eQ0&&!oT0&&(this.liveUtcStartSeconds=Number(eQ0));var eMv=FY.startPosition;if(eMv){var vTd=eMv.utcTimeMillis;vTd&&!oT0&&(this.liveUtcStartSeconds=Number(vTd)*.001);var Ci1=eMv.streamTimeMillis;Ci1&&(this.rZ=\nNumber(Ci1)*.001)}this.progressBarStartPosition=FY.progressBarStartPosition;this.progressBarEndPosition=FY.progressBarEndPosition}else{var oaC=R_.skippableSegmentsConfig;if(oaC){var L4d=oaC.introSkipDurationMs;L4d&&(this.Ao=Number(L4d)/1E3);var UbV=oaC.outroSkipDurationMs;UbV&&(this.mX=Number(UbV)/1E3)}}var va5=R_.skippableIntroConfig;if(va5){var lZq=Number(va5.startMs),bu0=Number(va5.endMs);isNaN(lZq)||isNaN(bu0)||(this.PU=lZq,this.CN=bu0)}var cGS=R_.streamSelectionConfig;cGS&&(this.KH=Number(cGS.maxBitrate));\nvar xb0=R_.vrConfig;xb0&&(this.Os=xb0.partialSpherical==\"1\");var EN=R_.webDrmConfig;if(EN){EN.skipWidevine&&(this.oX=!0);var fZ1=EN.widevineServiceCert;fZ1&&(this.S6=Df(fZ1));EN.useCobaltWidevine&&(this.useCobaltWidevine=!0);EN.startWithNoQualityConstraint&&(this.i5=!0)}var F0=R_.mediaCommonConfig;if(F0){var gP=F0.dynamicReadaheadConfig;if(gP){this.maxReadAheadMediaTimeMs=gP.maxReadAheadMediaTimeMs||NaN;this.minReadAheadMediaTimeMs=gP.minReadAheadMediaTimeMs||NaN;this.readAheadGrowthRateMs=gP.readAheadGrowthRateMs||\nNaN;var Vk2,N7V=F0==null?void 0:(Vk2=F0.mediaUstreamerRequestConfig)==null?void 0:Vk2.videoPlaybackUstreamerConfig;N7V&&(this.I3=Df(N7V));var Cq7=F0==null?void 0:F0.sabrContextUpdates;if(Cq7&&Cq7.length>0)for(var aZF=g.e(Cq7),LaF=aZF.next();!LaF.done;LaF=aZF.next()){var WA=LaF.value;if(WA.type&&WA.value){var nF1={type:WA.type,scope:WA.scope,value:Df(WA.value)||void 0,sendByDefault:WA.sendByDefault};this.sabrContextUpdates.set(WA.type,nF1)}}}var WlC=F0.serverPlaybackStartConfig;WlC&&(this.serverPlaybackStartConfig=\nWlC);F0.useServerDrivenAbr&&(this.NA=!0);var Yz6=F0.requestPipeliningConfig;Yz6&&(this.requestPipeliningConfig=Yz6)}var $XX=R_.inlinePlaybackConfig;$XX&&(this.zs=!!$XX.showAudioControls);var FC=R_.embeddedPlayerConfig;if(FC){this.embeddedPlayerConfig=FC;var U_F=FC.embeddedPlayerMode;if(U_F){var kg1=this.V();kg1.gD=U_F;kg1.J=U_F===\"EMBEDDED_PLAYER_MODE_PFL\"}var P5F=FC.permissions;P5F&&(this.allowImaMonetization=!!P5F.allowImaMonetization)}var wP=R_.webPlayerConfig;wP&&(wP.gatewayExperimentGroup&&(this.gatewayExperimentGroup=\nwP.gatewayExperimentGroup),wP.isProximaEligible&&(this.isProximaLatencyEligible=!0))}var wO=this.playerResponse.streamingData;if(wO){var lWC=wO.formats;if(lWC){for(var J$=[],TXS=g.e(lWC),bBF=TXS.next();!bBF.done;bBF=TXS.next()){var cxS=bBF.value;J$.push(cxS.itag+\"/\"+cxS.width+\"x\"+cxS.height)}this.ix=J$.join(\",\");J$=[];for(var jm7=g.e(lWC),x_d=jm7.next();!x_d.done;x_d=jm7.next()){var sN=x_d.value,r8={itag:sN.itag,type:sN.mimeType,quality:sN.quality},Ind=sN.url;Ind&&(r8.url=Ind);var Qv=Aq(45,sN),pOc=\nQv.kY,GSK=Qv.O9,KrK=Qv.s;Qv.BM&&(r8.url=pOc,r8.sp=GSK,r8.s=KrK);J$.push(g.PZ(r8))}this.fN=J$.join(\",\")}var fWS=wO.hlsFormats;if(fWS){var XS7=R_||null,yv={};if(XS7){var V9q=XS7.audioPairingConfig;if(V9q&&V9q.pairs)for(var SzS=g.e(V9q.pairs),NZq=SzS.next();!NZq.done;NZq=SzS.next()){var hw2=NZq.value,aWv=hw2.videoItag;yv[aWv]||(yv[aWv]=[]);yv[aWv].push(hw2.audioItag)}}for(var BXC={},ODF=g.e(fWS),WA1=ODF.next();!WA1.done;WA1=ODF.next()){var uI7=WA1.value;BXC[uI7.itag]=uI7.bitrate}for(var ZDS=[],iDV=g.e(fWS),\nYp2=iDV.next();!Yp2.done;Yp2=iDV.next()){var l8=Yp2.value,Rx={itag:l8.itag,type:l8.mimeType,url:l8.url,bitrate:l8.bitrate,width:l8.width,height:l8.height,fps:l8.fps},eG=l8.audioTrack;if(eG){var M11=eG.displayName;M11&&(Rx.name=M11,Rx.audio_track_id=eG.id,eG.audioIsDefault&&(Rx.is_default=\"1\"))}if(l8.drmFamilies){for(var t1z=[],qz7=g.e(l8.drmFamilies),$vX=qz7.next();!$vX.done;$vX=qz7.next())t1z.push(dN7[$vX.value]);Rx.drm_families=t1z.join(\",\")}var oe=yv[l8.itag];if(oe&&oe.length){Rx.audio_itag=oe.join(\",\");\nvar Rw6=BXC[oe[0]];Rw6&&(Rx.bitrate+=Rw6)}var HD7=J_5(l8);HD7&&(Rx.eotf=HD7);l8.audioChannels&&(Rx.audio_channels=l8.audioChannels);ZDS.push(g.PZ(Rx))}this.hlsFormats=ZDS.join(\",\")}var kZ0=wO.licenseInfos;if(kZ0&&kZ0.length>0){for(var nJq={},pSV=g.e(kZ0),P4S=pSV.next();!P4S.done;P4S=pSV.next()){var GgS=P4S.value,Klq=GgS.drmFamily,EJS=GgS.url;Klq&&EJS&&(nJq[dN7[Klq]]=EJS)}this.tY=nJq}var JoX=wO.drmParams;JoX&&(this.drmParams=JoX);var smF=wO.dashManifestUrl;smF&&(this.D_=g.YW(smF,{cpn:this.clientPlaybackNonce}));\nvar rov=wO.hlsManifestUrl;rov&&(this.hlsvp=rov);var AoC=wO.probeUrl;AoC&&(this.probeUrl=ci(g.YW(AoC,{cpn:this.clientPlaybackNonce})));var zwS=wO.serverAbrStreamingUrl;zwS&&(this.RB=new g.uF(zwS,!0))}var dXS=this.playerResponse.trackingParams;dXS&&(this.UP=dXS);var HZ=this.playerResponse.videoDetails;if(HZ){var H9=W,Ti5=HZ.videoId;Ti5&&(this.videoId=Ti5,H9.video_id||(H9.video_id=Ti5));var jXd=HZ.title;jXd&&(this.title=jXd,H9.title||(H9.title=jXd));var I$2=HZ.lengthSeconds;I$2&&(this.lengthSeconds=\nNumber(I$2),H9.length_seconds||(H9.length_seconds=I$2));var mX1=HZ.keywords;mX1&&(this.keywords=Kc7(mX1));var X7V=HZ.channelId;X7V&&(this.zC=X7V,H9.ucid||(H9.ucid=X7V));var DX5=HZ.viewCount;DX5&&(this.rawViewCount=Number(DX5));var Sp0=HZ.author;Sp0&&(this.author=Sp0,H9.author||(H9.author=Sp0));var gJX=HZ.shortDescription;gJX&&(this.shortDescription=gJX);var FlF=HZ.isCrawlable;FlF&&(this.isListed=FlF);var wSz=HZ.musicVideoType;wSz&&(this.musicVideoType=wSz);var hDX=HZ.isLive;hDX!=null&&(this.isLivePlayback=\nhDX);if(hDX||HZ.isUpcoming)this.isPremiere=!HZ.isLiveContent;var QmS=HZ.thumbnail;QmS&&(this.L=Iz(QmS));var yoC=HZ.isExternallyHostedPodcast;yoC&&(this.isExternallyHostedPodcast=yoC);var Biv=HZ.viewerLivestreamJoinPosition;if(Biv==null?0:Biv.utcTimeMillis)this.tp=M2(Biv.utcTimeMillis);var ewC=R_||null,OZ0=W;HZ.isLiveDefaultBroadcast&&(this.isLiveDefaultBroadcast=!0);HZ.isUpcoming&&(this.isUpcoming=!0);if(HZ.isPostLiveDvr){this.Fj=!0;var oJz=HZ.latencyClass;oJz&&(this.latencyClass=cC1[oJz]||\"UNKNOWN\");\nHZ.isLowLatencyLiveStream&&(this.isLowLatencyLiveStream=!0)}else{var uwS=!1;this.e1?(this.allowLiveDvr=qU()?!0:Y4&&M5<5?!1:!0,this.isLivePlayback=!0):HZ.isLive?(OZ0.livestream=\"1\",this.allowLiveDvr=HZ.isLiveDvrEnabled?qU()?!0:Y4&&M5<5?!1:!0:!1,this.partnerId=27,uwS=!0):HZ.isUpcoming&&(uwS=!0);if(HZ.isLive||this.e1){HZ.isLowLatencyLiveStream&&(this.isLowLatencyLiveStream=!0);var vJd=HZ.latencyClass;vJd&&(this.latencyClass=cC1[vJd]||\"UNKNOWN\");var C5v=HZ.liveChunkReadahead;C5v&&(this.liveChunkReadahead=\nC5v);var wA=ewC&&ewC.livePlayerConfig;if(wA){wA.hasSubfragmentedFmp4&&(this.hasSubfragmentedFmp4=!0);wA.hasSubfragmentedWebm&&(this.h3=!0);wA.defraggedFromSubfragments&&(this.defraggedFromSubfragments=!0);var Ll5=wA.liveExperimentalContentId;Ll5&&(this.liveExperimentalContentId=Number(Ll5));var UXd=wA.isLiveHeadPlayable;this.U(\"html5_live_head_playable\")&&UXd!=null&&(this.isLiveHeadPlayable=UXd)}}uwS&&(this.isLivePlayback=!0,OZ0.adformat&&OZ0.adformat.split(\"_\")[1]!==\"8\"||this.N.push(\"heartbeat\"))}var lnC=\nHZ.isPrivate;lnC!==void 0&&(this.isPrivate=ud(this.isPrivate,lnC))}if(b){var bDd=HZ||null,cod=!1,QJ=b.errorScreen;cod=QJ&&(QJ.playerLegacyDesktopYpcOfferRenderer||QJ.playerLegacyDesktopYpcTrailerRenderer||QJ.ypcTrailerRenderer)?!0:bDd&&bDd.isUpcoming?!0:[\"OK\",\"LIVE_STREAM_OFFLINE\",\"FULLSCREEN_ONLY\"].includes(b.status);if(!cod){this.errorCode=LL5(b.errorCode)||\"auth\";var v5=QJ&&QJ.playerErrorMessageRenderer;if(v5){this.playerErrorMessageRenderer=v5;var xXd=v5.reason;xXd&&(this.errorReason=g.NF(xXd));\nvar ZZv=v5.subreason;ZZv&&(this.OX=g.NF(ZZv),this.s2=ZZv)}else this.errorReason=b.reason||null;var iZF=b.status;if(iZF===\"LOGIN_REQUIRED\")this.errorDetail=\"1\";else if(iZF===\"CONTENT_CHECK_REQUIRED\")this.errorDetail=\"2\";else if(iZF===\"AGE_CHECK_REQUIRED\"){var fn0=b.errorScreen,V1z=fn0&&fn0.playerKavRenderer;this.errorDetail=V1z&&V1z.kavUrl?\"4\":\"3\"}else this.errorDetail=b.isBlockedInRestrictedMode?\"5\":\"0\"}}var NX7=this.playerResponse.interstitialPods;NX7&&GW1(this,NX7);this.Fr&&this.eventId&&(this.Fr=\na8(this.Fr,{ei:this.eventId}));var Mn7=this.playerResponse.captions;if(Mn7&&Mn7.playerCaptionsTracklistRenderer)a:{var nv=Mn7.playerCaptionsTracklistRenderer;this.captionTracks=[];if(nv.captionTracks)for(var an6=g.e(nv.captionTracks),tnv=an6.next();!tnv.done;tnv=an6.next()){var pv=tnv.value,WJV=pNC(pv.baseUrl);if(!WJV)break a;var qpd={is_translateable:!!pv.isTranslatable,languageCode:pv.languageCode,languageName:pv.name&&g.NF(pv.name),url:WJV,vss_id:pv.vssId,kind:pv.kind};qpd.name=pv.trackName;qpd.displayName=\npv.name&&g.NF(pv.name);this.captionTracks.push(new g.u1(qpd))}this.VE=nv.audioTracks||[];this.w3=nv.defaultAudioTrackIndex||0;this.LY=[];if(nv.translationLanguages)for(var Ytv=g.e(nv.translationLanguages),RD0=Ytv.next();!RD0.done;RD0=Ytv.next()){var yJ=RD0.value,Yj={};Yj.languageCode=yJ.languageCode;Yj.languageName=g.NF(yJ.languageName);if(yJ.translationSourceTrackIndices){Yj.translationSourceTrackIndices=[];for(var $w0=g.e(yJ.translationSourceTrackIndices),HZ7=$w0.next();!HZ7.done;HZ7=$w0.next())Yj.translationSourceTrackIndices.push(HZ7.value)}if(yJ.excludeAudioTrackIndices){Yj.excludeAudioTrackIndices=\n[];for(var ki2=g.e(yJ.excludeAudioTrackIndices),nIz=ki2.next();!nIz.done;nIz=ki2.next())Yj.excludeAudioTrackIndices.push(nIz.value)}this.LY.push(Yj)}this.a8=[];if(nv.defaultTranslationSourceTrackIndices)for(var PX2=g.e(nv.defaultTranslationSourceTrackIndices),p75=PX2.next();!p75.done;p75=PX2.next())this.a8.push(p75.value);this.c9=!!nv.contribute&&!!nv.contribute.captionsMetadataRenderer}(this.clipConfig=this.playerResponse.clipConfig)&&this.clipConfig.startTimeMs!=null&&(this.il=Number(this.clipConfig.startTimeMs)*\n.001);this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.webPlayerConfig&&this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting&&irz(this,this.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting);var Tcq;this.compositeLiveIngestionOffsetToken=(Tcq=this.playerResponse.playbackTracking)==null?void 0:Tcq.compositeLiveIngestionOffsetToken;var joq;this.compositeLiveStatusToken=(joq=this.playerResponse.playbackTracking)==null?void 0:\njoq.compositeLiveStatusToken;this.U(\"html5_fill_default_mosaic_audio_track_id\")&&bw(this)&&(this.pg.Q5=RaV(this));var IC7,XGz,StS=(IC7=this.playerResponse.playerConfig)==null?void 0:(XGz=IC7.granularVariableSpeedConfig)==null?void 0:XGz.minimumPlaybackRate,hyq,BcX,O8S=(hyq=this.playerResponse.playerConfig)==null?void 0:(BcX=hyq.granularVariableSpeedConfig)==null?void 0:BcX.maximumPlaybackRate;StS&&O8S&&(this.RO=StS/100,this.rI=O8S/100)}Zk(this,W);W.queue_info&&(this.queueInfo=W.queue_info);var uh7=\nW.hlsdvr;uh7!=null&&(this.allowLiveDvr=Number(uh7)===1?qU()?!0:Y4&&M5<5?!1:!0:!1);this.adQueryId=W.ad_query_id||null;this.LI||(this.LI=W.encoded_ad_safety_reason||null);this.Aj=ud(this.Aj,W.infringe||W.muted);this.WB5=W.authkey;this.VT=W.authuser;this.mutedAutoplay=ud(this.mutedAutoplay,W&&W.playmuted);this.mutedAutoplayDurationMode=ag(this.mutedAutoplayDurationMode,W&&W.muted_autoplay_duration_mode);this.o8=ud(this.o8,W&&W.mutedautoplay);var C3=W.length_seconds;C3&&(this.lengthSeconds=typeof C3===\n\"string\"?M2(C3):C3);if(this.isAd()||this.PH||!g.He(g.q9(this.pg)))this.endSeconds=ag(this.endSeconds,this.mX||W.end||W.endSeconds);else{var EFK=g.q9(this.pg),L3=this.lengthSeconds;switch(EFK){case \"EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT\":L3>30?this.limitedPlaybackDurationInSeconds=30:L3<30&&L3>10&&(this.limitedPlaybackDurationInSeconds=10);break;case \"EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT\":this.limitedPlaybackDurationInSeconds=L3*.2}}this.UP=CO(this.UP,W.itct);this.gS=ud(this.gS,\nW.is_live_destination);this.isLivePlayback=ud(this.isLivePlayback,W.live_playback);this.enableServerStitchedDai=this.enableServerStitchedDai&&this.t9();W.isUpcoming&&(this.isUpcoming=ud(this.isUpcoming,W.isUpcoming));this.Fj=ud(this.Fj,W.post_live_playback);this.wD&&(this.Fj=!1);this.isMdxPlayback=ud(this.isMdxPlayback,W.mdx);var Un=W.mdx_control_mode;Un&&(this.mdxControlMode=typeof Un===\"number\"?Un:M2(Un));this.isInlinePlaybackNoAd=ud(this.isInlinePlaybackNoAd,W.is_inline_playback_no_ad);this.xm=\nag(this.xm,W.reload_count);this.reloadReason=CO(this.reloadReason,W.reload_reason);this.vu=ud(this.vu,W.show_content_thumbnail);this.cycToken=W.cyc||null;var Z8X=N3(W);Object.keys(Z8X).length>0&&(this.L=Z8X);this.TJ=CO(this.TJ,W.vvt);this.mdxEnvironment=CO(this.mdxEnvironment,W.mdx_environment);W.source_container_playlist_id&&(this.sourceContainerPlaylistId=W.source_container_playlist_id);W.serialized_mdx_metadata&&(this.serializedMdxMetadata=W.serialized_mdx_metadata);this.amD=W.osig;this.eventId||\n(this.eventId=W.eventid);this.osid||(this.osid=W.osid);this.playlistId=CO(this.playlistId,W.list);W.index&&(this.playlistIndex=this.playlistIndex===void 0?ag(0,W.index):ag(this.playlistIndex,W.index));this.BZ=W.pyv_view_beacon_url;this.Rg=W.pyv_quartile25_beacon_url;this.lc=W.pyv_quartile50_beacon_url;this.eK=W.pyv_quartile75_beacon_url;this.rd=W.pyv_quartile100_beacon_url;var i8z=W.session_data;!this.LG&&i8z&&(this.LG=LL(i8z,\"&\").feature);this.isFling=ag(this.isFling?1:0,W.is_fling)===1;this.vnd=\nag(this.vnd,W.vnd);this.forceAdsUrl=CO(this.forceAdsUrl,W.force_ads_url);this.ws=CO(this.ws,W.ctrl);this.eA=CO(this.eA,W.ytr);this.dS=W.ytrcc;this.hw=W.ytrexp;this.ir=W.ytrext;this.jW=CO(this.jW,W.adformat);this.SB=CO(this.SB,W.attrib);this.slotPosition=ag(this.slotPosition,W.slot_pos);this.breakType=W.break_type;this.xF=ud(this.xF,W.ssrt);this.videoId=tE(W)||this.videoId;this.X=CO(this.X,W.vss_credentials_token);this.Mv=CO(this.Mv,W.vss_credentials_token_type);this.k8=ud(this.k8,W.audio_only);this.V5=\nud(this.V5,W.aac_high);this.Di=ud(this.Di,W.prefer_low_quality_audio);this.Nd=ud(this.Nd,W.uncap_inline_quality);this.U(\"html5_enable_qoe_cat_list\")?W.qoe_cat&&(this.wi=this.wi.concat(W.qoe_cat.split(\",\"))):this.B4=CO(this.B4,W.qoe_cat);this.S2=ud(this.S2,W.download_media);var MIF=W.prefer_gapless;this.G=MIF!=null?ud(this.G,MIF):this.G?this.G:this.pg.preferGapless&&this.pg.supportsGaplessShorts();TI7(this.playerResponse)&&this.N.push(\"ad\");var tIC=W.adaptive_fmts;tIC&&(this.adaptiveFormats=tIC,this.y5(\"adpfmts\",\n{},!0));var qt1=W.allow_embed;qt1&&(this.allowEmbed=Number(qt1)===1);var Ryq=W.backgroundable;Ryq&&(this.backgroundable=Number(Ryq)===1);var H8v=W.autonav;H8v&&(this.isAutonav=Number(H8v)===1);var nRC=W.autoplay;nRC&&(this.zv=this.mT=Number(nRC)===1);var pGX=W.iv_load_policy;pGX&&(this.annotationsLoadPolicy=LO(this.annotationsLoadPolicy,pGX,bT));var GiS=W.cc_lang_pref;GiS&&(this.captionsLanguagePreference=CO(GiS,this.captionsLanguagePreference));var KJF=W.cc_load_policy;KJF&&(this.xP=LO(this.xP,KJF,\nbT));var ERV;this.deviceCaptionsOn=(ERV=W.device_captions_on)!=null?ERV:void 0;var Jkd;this.d3=(Jkd=W.device_captions_lang_pref)!=null?Jkd:\"\";var so1;this.ew=(so1=W.viewer_selected_caption_langs)!=null?so1:[];var rk0=W.cached_load;rk0&&(this.Rr=ud(this.Rr,rk0));if(W.dash===\"0\"||W.dash===0||W.dash===!1)this.Md=!0;var AkS=W.dashmpd;AkS&&(this.D_=g.YW(AkS,{cpn:this.clientPlaybackNonce}));var zyX=W.delay;zyX&&(this.A9=M2(zyX));var GZF=this.mX||W.end;if(this.f1?GZF!=null:GZF!=void 0)this.clipEnd=ag(this.clipEnd,\nGZF);var dwC=W.fmt_list;dwC&&(this.ix=dwC);W.heartbeat_preroll&&this.N.push(\"heartbeat\");this.Zi=-Math.floor(Math.random()*10);this.kP=-Math.floor(Math.random()*40);var mwv=W.is_listed;mwv&&(this.isListed=ud(this.isListed,mwv));var Dwz=W.is_private;Dwz&&(this.isPrivate=ud(this.isPrivate,Dwz));var gR1=W.is_dni;gR1&&(this.zr=ud(this.zr,gR1));var FJ2=W.dni_color;FJ2&&(this.Zu=CO(this.Zu,FJ2));var wGX=W.pipable;wGX&&(this.pipable=ud(this.pipable,wGX));this.dQ=(this.Qf=this.pipable&&this.pg.Mo)&&!this.pg.showMiniplayerButton;\nvar QoS=W.paid_content_overlay_duration_ms;QoS&&(this.paidContentOverlayDurationMs=M2(QoS));var ykv=W.paid_content_overlay_text;ykv&&(this.paidContentOverlayText=ykv);var ey0=W.url_encoded_fmt_stream_map;ey0&&(this.fN=ey0);var oRC=W.hls_formats;oRC&&(this.hlsFormats=oRC);var vR2=W.hlsvp;vR2&&(this.hlsvp=vR2);var lJ=W.live_start_walltime;lJ&&(this.X5r=typeof lJ===\"number\"?lJ:M2(lJ));var bJ=W.live_manifest_duration;bJ&&(this.Xv=typeof bJ===\"number\"?bJ:M2(bJ));var CX7=W.player_params;CX7&&(this.playerParams=\nCX7);var LJS=W.partnerid;LJS&&(this.partnerId=ag(this.partnerId,LJS));var Uw1=W.probe_url;Uw1&&(this.probeUrl=ci(g.YW(Uw1,{cpn:this.clientPlaybackNonce})));var KA6=W.pyv_billable_url;KA6&&cpC(KA6)&&(this.JR=KA6);var EI2=W.pyv_conv_url;EI2&&cpC(EI2)&&(this.Vc=EI2);eJ7(this,W);this.startSeconds>0?this.U(\"html5_log_start_seconds_inconsistency\")&&this.startSeconds!==(this.il||this.Ao||W.start||W.startSeconds)&&this.y5(\"lss\",{css:this.startSeconds,pcss:this.il,iss:this.Ao,ps:W.start||void 0,pss:W.startSeconds||\nvoid 0}):this.K1=this.startSeconds=ag(this.startSeconds,this.il||this.Ao||W.start||W.startSeconds);if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var lCz=W.live_utc_start;if(lCz!=null)this.liveUtcStartSeconds=Number(lCz);else{var JC7=this.startSeconds;JC7&&isFinite(JC7)&&JC7>1E9&&(this.liveUtcStartSeconds=this.startSeconds)}}if(!(this.liveUtcStartSeconds&&this.liveUtcStartSeconds>0)){var b81=W.utc_start_millis;b81&&(this.liveUtcStartSeconds=Number(b81)*.001)}var ck0=W.stream_time_start_millis;\nck0&&(this.rZ=Number(ck0)*.001);var sX2=this.Ao||W.start;(this.f1?sX2==null||Number(W.resume)===1:sX2==void 0||W.resume==\"1\")||this.isLivePlayback||(this.clipStart=ag(this.clipStart,sX2));var xw5=W.url_encoded_third_party_media;xw5&&(this.Jj=kT(xw5));var rCV=W.ypc_offer_button_formatted_text;if(rCV){var fC2=JSON.parse(rCV);this.hv=fC2!=null?fC2:null;this.fk=rCV}var VI0=W.ypc_offer_button_text;VI0&&(this.Io=VI0);var NcS=W.ypc_offer_description;NcS&&(this.Xo=NcS);var aC0=W.ypc_offer_headline;aC0&&(this.lM=\naC0);var Wvv=W.ypc_full_video_message;Wvv&&(this.vF=Wvv);var YnS=W.ypc_offer_id;YnS&&(this.gw=YnS);var $01=W.ypc_buy_url;$01&&(this.HP=$01);var khV=W.ypc_item_thumbnail;khV&&(this.qY=khV);var PJS=W.ypc_item_title;PJS&&(this.wf=PJS);var TPz=W.ypc_item_url;TPz&&(this.Gb=TPz);var jeF=W.ypc_vid;jeF&&(this.b3=jeF);W.ypc_overlay_timeout&&(this.df=Number(W.ypc_overlay_timeout));var ID7=W.ypc_trailer_player_vars;ID7&&(this.uv=DX(ID7));var X57=W.ypc_original_itct;X57&&(this.pW=X57);this.zC=CO(this.zC,W.ucid);\nthis.zZ=W.storyboard_spec||null;this.Fv=W.live_storyboard_spec||null;this.zK=W.iv_endscreen_url||null;this.Er=ud(this.Er,W.ypc_module);this.vk=ud(this.vk,W.ypc_clickwrap_module);this.Er&&this.N.push(\"ypc\");this.vk&&this.N.push(\"ypc_clickwrap\");this.Gk={video_id:W.video_id,eventid:W.eventid,cbrand:W.cbrand,cbr:W.cbr,cbrver:W.cbrver,c:W.c,cver:W.cver,ctheme:W.ctheme,cplayer:W.cplayer,cmodel:W.cmodel,cnetwork:W.cnetwork,cos:W.cos,cosver:W.cosver,cplatform:W.cplatform,user_age:W.user_age,user_display_image:W.user_display_image,\nuser_display_name:W.user_display_name,user_gender:W.user_gender,csi_page_type:W.csi_page_type,csi_service_name:W.csi_service_name,enablecsi:W.enablecsi,enabled_engage_types:W.enabled_engage_types};bMv(this,W);var Sn0=W.cotn;Sn0&&(this.cotn=Sn0);if(Eg1(this))Rf(this)&&(this.isLivePlayback&&this.D_&&(this.k7=!0),this.GJ&&(this.y7=!0));else if(pZ2(this))this.k7=!0;else{var hjC,BPV,O3S=((hjC=this.playerResponse)==null?void 0:(BPV=hjC.streamingData)==null?void 0:BPV.adaptiveFormats)||[],eB=null;if(O3S.length>\n0)eB=Ku0(this,O3S);else if(!this.U(\"html5_deprecate_adaptive_formats_string\")){this.y5(\"pafmtstr\",{s:this.adaptiveFormats.substring(0,50)});var uCV=this.adaptiveFormats;if(uCV&&!Rf(this)){this.pg.C.J&&(YOF=!0);var oC=E1(uCV),ACz=this.tY,Z3q=this.lengthSeconds,Jlj=this.isLivePlayback,A$=this.Fj,vg=this.pg,skK=rEV(oC);if(Jlj||A$){var i3d=vg==null?void 0:vg.experiments,gr=new HB(\"\",i3d,!0);gr.t9=!0;gr.isManifestless=!0;gr.K=!A$;gr.isLive=!A$;gr.Fj=A$;for(var MGV=g.e(oC),zDd=MGV.next();!zDd.done;zDd=\nMGV.next()){var C7=zDd.value,tGC=ej2(C7,ACz),kj=jA(C7.url,C7.sp,C7.s),qnq=kj.get(\"id\");qnq&&qnq.includes(\"%7E\")&&(gr.A5=!0);var Rjz=void 0,rlh=(Rjz=i3d)==null?void 0:Rjz.Nq(\"html5_max_known_end_time_rebase\"),Alp=Number(C7.target_duration_sec)||5,zB$=Number(C7.max_dvr_duration_sec)||14400,H3d=Number(kj.get(\"mindsq\")||kj.get(\"min_sq\")||\"0\"),nVv=Number(kj.get(\"maxdsq\")||kj.get(\"max_sq\")||\"0\")||Infinity;gr.UU=gr.UU||H3d;gr.UA=gr.UA||nVv;var d8N=!QS(tGC.mimeType);kj&&kE(gr,new m3(kj,tGC,{Lh:Alp,Cr:d8N,\nol:zB$,UU:H3d,UA:nVv,d2:300,Fj:A$,lR:rlh}))}var p52=gr}else{if(skK===\"FORMAT_STREAM_TYPE_OTF\"){var c5=Z3q;c5=c5===void 0?0:c5;var L7=new HB(\"\",vg==null?void 0:vg.experiments,!1);L7.duration=c5||0;for(var Gh6=g.e(oC),dv6=Gh6.next();!dv6.done;dv6=Gh6.next()){var Uc=dv6.value,mv0=ej2(Uc,ACz,L7.duration),Dvq=jA(Uc.url,Uc.sp,Uc.s);if(Dvq)if(mv0.streamType===\"FORMAT_STREAM_TYPE_OTF\")kE(L7,new Fd(Dvq,mv0,\"sq/0\"));else{var m8$=XB(Uc.init),D8h=XB(Uc.index);kE(L7,new aW(Dvq,mv0,m8$,D8h))}}L7.isOtf=!0;var KvF=\nL7}else{var xV=Z3q;xV=xV===void 0?0:xV;var f3=new HB(\"\",vg==null?void 0:vg.experiments,!1);f3.duration=xV||0;for(var EV1=g.e(oC),gI5=EV1.next();!gI5.done;gI5=EV1.next()){var ll=gI5.value,gFc=ej2(ll,ACz,f3.duration),Fr9=XB(ll.init),wOp=XB(ll.index),JO2=jA(ll.url,ll.sp,ll.s);JO2&&kE(f3,new aW(JO2,gFc,Fr9,wOp))}KvF=f3}p52=KvF}var seX=p52;if(oC.length>0){var rO7=oC[0];if(this.V().playerStyle===\"hangouts-meet\"&&rO7.url){var QkK=g.R2(rO7.url);this.KI=this.KI||Number(QkK.expire)}}var ylN=this.isLivePlayback&&\n!this.Fj&&!this.wD&&!this.isPremiere;this.U(\"html5_live_head_playable\")&&(!Hr(this)&&ylN&&this.y5(\"missingLiveHeadPlayable\",{}),this.pg.A5===\"yt\"&&(seX.GJ=!0));eB=seX}else eB=null;this.y5(\"pafmts\",{isManifestFilled:!!eB})}if(eB){W3(this,eB);var AOS=!0}else AOS=!1;AOS?this.enableServerStitchedDai=this.enableServerStitchedDai&&c3(this):this.D_&&(this.pg.A5===\"yt\"&&this.t9()&&this.U(\"drm_manifestless_unplugged\")&&this.U(\"html5_deprecate_manifestful_fallback\")?this.y5(\"deprecateMflFallback\",{}):this.k7=\n!0)}var FA2=W.adpings;FA2&&(this.cF=FA2?DX(FA2):null);var zjX=W.feature;zjX&&(this.Jo=zjX);var d01=W.referrer;d01&&(this.referrer=d01);this.clientScreenNonce=CO(this.clientScreenNonce,W.csn);this.AN=ag(this.AN,W.root_ve_type);this.u0=ag(this.u0,W.kids_age_up_mode);this.f1||W.kids_app_info==void 0||(this.kidsAppInfo=W.kids_app_info);this.f1&&W.kids_app_info!=null&&(this.kidsAppInfo=W.kids_app_info);this.E8=ud(this.E8,W.upg_content_filter_mode);this.unpluggedFilterModeType=ag(this.unpluggedFilterModeType,\nW.unplugged_filter_mode_type);var m0S=W.unplugged_location_info;m0S&&(this.LH=m0S);var D0v=W.unplugged_partner_opt_out;D0v&&(this.TF=CO(\"\",D0v));this.yS=ud(this.yS,W.disable_watch_next);this.Tf=CO(this.Tf,W.internal_ip_override);this.Ci=!!W.is_yto_interstitial;(this.interstitials.length||this.Ci)&&this.N.push(\"yto\");var gV7=W.Zr;gV7&&(this.Zr=gV7);this.A5=CO(this.A5,W.csi_timer);W.watchUrl&&(this.watchUrl=W.watchUrl);var PA=W.watch_endpoint;this.U(\"html5_attach_watch_endpoint_ustreamer_config\")&&\nPA&&ZrV(this,PA);if(PA==null?0:PA.ustreamerConfig)this.C8=Df(PA.ustreamerConfig);var FvF,w5V,Qe6=PA==null?void 0:(FvF=PA.loggingContext)==null?void 0:(w5V=FvF.qoeLoggingContext)==null?void 0:w5V.serializedContextData;Qe6&&(this.Bc2=Qe6);g.hN(this.pg)&&this.pg.S6&&(this.embedsRct=CO(this.embedsRct,W.rct),this.embedsRctn=CO(this.embedsRctn,W.rctn));W.embed_config&&(this.C4=W.embed_config);this.Ka=this.Ka||!!W.pause_at_start;W.default_active_source_video_id&&(this.defaultActiveSourceVideoId=W.default_active_source_video_id)};\ng.H.V=function(){return this.pg};\ng.H.U=function(W){return this.pg.U(W)};\ng.H.hD=function(){return!this.isLivePlayback||this.allowLiveDvr};\ng.H.hasSupportedAudio51Tracks=function(){var W;return!((W=this.AC)==null||!W.Lg)};\ng.H.getUserAudio51Preference=function(){var W=1;YV(this.pg)&&this.U(\"html5_ytv_surround_toggle_default_off\")?W=0:g.wj(this.pg)&&this.isLivePlayback&&this.t$()&&(W=0);var Y;return(Y=g.GK(\"yt-player-audio51\"))!=null?Y:W};\ng.H.IG=function(){this.Xr()||(this.W.K||this.W.unsubscribe(\"refresh\",this.IG,this),this.Vz(-1))};\ng.H.Vz=function(W){if(!this.isLivePlayback||!this.C||this.C.flavor!==\"fairplay\"){var Y=Bjz(this.W,this.Ct);if(Y.length>0){for(var k=g.e(Y),P=k.next();!P.done;P=k.next())P=P.value,P.startSecs=Math.max(P.startSecs,this.aI()),this.U(\"html5_cuepoint_identifier_logging\")&&P.event===\"start\"&&this.y5(\"cuepoint\",{pubCue:P.identifier,segNum:W});this.publish(\"cuepointupdated\",Y,W);this.Ct+=Y.length;if(c3(this)&&this.pg.OR())for(Y=g.e(Y),k=Y.next();!k.done;k=Y.next())k=k.value,this.y5(\"cuepoint\",{segNum:W,event:k.event,\nstartSecs:k.startSecs,id:k.identifier.slice(-16)}),k.event===\"start\"&&(k=k.startSecs,this.Sw.start=this.UV,this.Sw.end=k+3)}}};\ng.H.M4=function(){this.Xr()||(this.loading=!1,this.publish(\"dataloaded\"))};\ng.H.t$=function(){return this.eI!==void 0?this.eI:this.eI=!!this.tY||!!this.W&&A4(this.W)};\ng.H.pF=function(W){var Y=this;if(this.Xr())return JZ();this.xq=this.rD=this.J=null;yX(this,\"html5_high_res_logging_always\")&&(this.pg.Zm=!0);return Y4d(this,W).then(void 0,function(){return Czd(Y,W)}).then(void 0,function(){return $Ld(Y)}).then(void 0,function(){return mW0(Y)})};\ng.H.BJ=function(W){this.J=W;rdv(this,this.J.getAvailableAudioTracks());if(this.J){W=g.e(this.J.videoInfos);for(var Y=W.next();!Y.done;Y=W.next()){Y=Y.value;var k=Y.containerType;k!==0&&(this.wu[k]=Y.id)}}W=this.getAvailableAudioTracks();W=W.concat(this.yD);for(Y=0;Y0?this.J.getAvailableAudioTracks():this.A7||[]:[]};\ng.H.getAudioTrack=function(){var W=this;if(this.T&&!Q8(this.T)){var Y=g.ik(this.getAvailableAudioTracks(),function(T){return T.id===W.T.id}),k;\nif(!Y&&((k=this.T.Ib)==null?0:k.id)){var P=this.T.Ib.id;Y=g.ik(this.getAvailableAudioTracks(),function(T){return T.Ib.id===P});\nthis.y5(\"nat\",{id:this.T.id,track:!!Y})}return Y||this.yD}if(this.A7){if(!this.n8)for(Y=g.e(this.A7),k=Y.next();!k.done;k=Y.next())if(k=k.value,k.Ib.getIsDefault()){this.n8=k;break}return this.n8||this.yD}return this.yD};\ng.H.getPlayerResponse=function(){return this.playerResponse};\ng.H.getWatchNextResponse=function(){return this.OP};\ng.H.getHeartbeatResponse=function(){return this.PQ};\ng.H.md=function(){return this.watchUrl?this.watchUrl:this.pg.getVideoUrl(this.videoId)};\ng.H.G_=function(){return!!this.W&&(mOC(this.W)||q71(this.W)||Yod(this.W))};\ng.H.getEmbeddedPlayerResponse=function(){return this.ZJ};\ng.H.xZ=function(){return(this.eventLabel||this.pg.TJ)===\"shortspage\"};\ng.H.isAd=function(){return!!this.adFormat};\ng.H.isDaiEnabled=function(){return!!(this.playerResponse&&this.playerResponse.playerConfig&&this.playerResponse.playerConfig.daiConfig&&this.playerResponse.playerConfig.daiConfig.enableDai)};\ng.H.Xj=function(){var W,Y,k;return this.isDaiEnabled()&&this.enableServerStitchedDai&&!!((W=this.playerResponse)==null?0:(Y=W.playerConfig)==null?0:(k=Y.daiConfig)==null?0:k.ssaEnabledPlayback)};\ng.H.Bc=function(){return this.iN};\ng.H.U9=function(){return this.Er||this.zg};\ng.H.z7=function(){return yX(this,\"html5_samsung_vp9_live\")};\ng.H.y5=function(W,Y,k){this.publish(\"ctmp\",W,Y,k)};\ng.H.lf=function(W,Y,k){this.publish(\"ctmpstr\",W,Y,k)};\ng.H.hasProgressBarBoundaries=function(){return!(!this.progressBarStartPosition||!this.progressBarEndPosition)};\ng.H.getGetAdBreakContext=function(W,Y){W=W===void 0?NaN:W;Y=Y===void 0?NaN:Y;var k={isSabr:w9(this)},P,T=(P=this.getHeartbeatResponse())==null?void 0:P.adBreakHeartbeatParams;T&&(k.adBreakHeartbeatParams=T);if(this.U(\"enable_ltc_param_fetch_from_innertube\")&&this.isLivePlayback&&this.W&&!isNaN(W)&&!isNaN(Y)){Y=W-Y;for(var I in this.W.W)if(P=this.W.W[I],P.info.qa()||P.info.xH())if(P=P.index,P.isLoaded()){I=P.o7(Y);P=P.hT(I)+Y-P.getStartTime(I);this.y5(\"gabc\",{t:W.toFixed(3),mt:Y.toFixed(3),sg:I,igt:P.toFixed(3)});\nk.livePlaybackPosition={utcTimeMillis:\"\"+(P*1E3).toFixed(0)};break}}return k};\ng.H.isEmbedsShortsMode=function(W,Y){if(!g.hN(this.pg)||(this.pg.gD||\"EMBEDDED_PLAYER_MODE_DEFAULT\")!==\"EMBEDDED_PLAYER_MODE_DEFAULT\"||Y)return!1;var k,P;return!!(((k=this.embeddedPlayerConfig)==null?0:(P=k.embeddedPlayerFlags)==null?0:P.isShortsExperienceEligible)&&W.width<=W.height)};\ng.H.iz=function(){g.tR.prototype.iz.call(this);this.cF=null;delete this.ly;delete this.accountLinkingConfig;delete this.W;this.J=this.PQ=this.playerResponse=this.OP=null;this.fN=this.adaptiveFormats=\"\";delete this.botguardData;this.Q5=this.suggestions=this.zR=null;this.sabrContextUpdates.clear()};var qHX={phone:\"SMALL_FORM_FACTOR\",tablet:\"LARGE_FORM_FACTOR\"},RQz={desktop:\"DESKTOP\",phone:\"MOBILE\",tablet:\"TABLET\"},MkS={preroll:\"BREAK_PREROLL\",midroll:\"BREAK_MIDROLL\",postroll:\"BREAK_POSTROLL\"},hKv={0:\"YT_KIDS_AGE_UP_MODE_UNKNOWN\",1:\"YT_KIDS_AGE_UP_MODE_OFF\",2:\"YT_KIDS_AGE_UP_MODE_TWEEN\",3:\"YT_KIDS_AGE_UP_MODE_PRESCHOOL\"},Okz={0:\"MDX_CONTROL_MODE_UNKNOWN\",1:\"MDX_CONTROL_MODE_REMOTE\",2:\"MDX_CONTROL_MODE_VOICE\"},B20={0:\"UNPLUGGED_FILTER_MODE_TYPE_UNKNOWN\",1:\"UNPLUGGED_FILTER_MODE_TYPE_NONE\",2:\"UNPLUGGED_FILTER_MODE_TYPE_PG\",\n3:\"UNPLUGGED_FILTER_MODE_TYPE_PG_THIRTEEN\"},tkX={0:\"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_UNSPECIFIED\",1:\"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_30_SECONDS\",2:\"EMBEDDED_PLAYER_MUTED_AUTOPLAY_DURATION_MODE_FULL\"};g.f(PS,g.D);g.H=PS.prototype;g.H.handleExternalCall=function(W,Y,k){var P=this.state.G[W],T=this.state.L[W],I=P;if(T)if(k&&pR(k,hDc))I=T;else if(!P)throw Error('API call from an untrusted origin: \"'+k+'\"');this.logApiCall(W,k);if(I){k=!1;P=g.e(Y);for(T=P.next();!T.done;T=P.next())if(String(T.value).includes(\"javascript:\")){k=!0;break}k&&g.Jx(Error('Dangerous call to \"'+W+'\" with ['+Y+\"].\"));return I.apply(this,Y)}throw Error('Unknown API method: \"'+W+'\".');};\ng.H.logApiCall=function(W,Y,k){var P=this.app.V();P.UK&&!this.state.N.has(W)&&(this.state.N.add(W),g.qc(\"webPlayerApiCalled\",{callerUrl:P.loaderUrl,methodName:W,origin:Y||void 0,playerStyle:P.playerStyle||void 0,embeddedPlayerMode:P.gD,errorCode:k}))};\ng.H.publish=function(W){var Y=g.xh.apply(1,arguments);this.state.J.publish.apply(this.state.J,[W].concat(g.cp(Y)));if(W===\"videodatachange\"||W===\"resize\"||W===\"cardstatechange\")this.state.K.publish.apply(this.state.K,[W].concat(g.cp(Y))),this.state.T.publish.apply(this.state.T,[W].concat(g.cp(Y)))};\ng.H.Ri=function(W){var Y=g.xh.apply(1,arguments);this.state.J.publish.apply(this.state.J,[W].concat(g.cp(Y)));this.state.K.publish.apply(this.state.K,[W].concat(g.cp(Y)))};\ng.H.i7=function(W){var Y=g.xh.apply(1,arguments);this.state.J.publish.apply(this.state.J,[W].concat(g.cp(Y)));this.state.K.publish.apply(this.state.K,[W].concat(g.cp(Y)));this.state.T.publish.apply(this.state.T,[W].concat(g.cp(Y)))};\ng.H.x8=function(W){var Y=g.xh.apply(1,arguments);this.state.J.publish.apply(this.state.J,[W].concat(g.cp(Y)));this.state.K.publish.apply(this.state.K,[W].concat(g.cp(Y)));this.state.T.publish.apply(this.state.T,[W].concat(g.cp(Y)));this.state.C.publish.apply(this.state.C,[W].concat(g.cp(Y)))};\ng.H.U=function(W){return this.app.V().U(W)};\ng.H.iz=function(){if(this.state.element){var W=this.state.element,Y;for(Y in this.state.W)this.state.W.hasOwnProperty(Y)&&(W[Y]=null);this.state.element=null}g.D.prototype.iz.call(this)};g.f(RJ,g.Td);RJ.prototype.publish=function(W){var Y=g.xh.apply(1,arguments);if(this.C.has(W))return this.C.get(W).push(Y),!0;var k=!1;try{for(Y=[Y],this.C.set(W,Y);Y.length;)k=g.Td.prototype.publish.call.apply(g.Td.prototype.publish,[this,W].concat(g.cp(Y.shift())))}finally{this.C.delete(W)}return k};g.f(H1,g.D);H1.prototype.iz=function(){this.C.dispose();this.T.dispose();this.K.dispose();this.J.dispose();this.N=this.W=this.L=this.G=this.X=void 0};var WOS=new Set(\"endSeconds startSeconds mediaContentUrl suggestedQuality videoId rct rctn playmuted muted_autoplay_duration_mode\".split(\" \"));g.f(Jm,PS);g.H=Jm.prototype;g.H.getApiInterface=function(){return Array.from(this.state.X)};\ng.H.s_=function(W,Y){this.state.C.subscribe(W,Y)};\ng.H.ZN1=function(W,Y){this.state.C.unsubscribe(W,Y)};\ng.H.getPlayerState=function(W){return R1d(this.app,W)};\ng.H.HG=function(){return R1d(this.app)};\ng.H.ADi=function(W,Y,k){no(this)&&(sh(this.app,!0,1),YP(this.app,W,Y,k,1))};\ng.H.getCurrentTime=function(W,Y,k){var P=this.getPlayerState(W);if(this.app.getAppState()===2&&P===5){var T;return((T=this.app.getVideoData())==null?void 0:T.startSeconds)||0}return this.U(\"web_player_max_seekable_on_ended\")&&P===0?TX(this.app,W):W?this.app.getCurrentTime(W,Y,k):this.app.getCurrentTime(W)};\ng.H.pO=function(){return this.app.getCurrentTime(1)};\ng.H.Uk=function(){var W=this.app.hT(1);return isNaN(W)?this.getCurrentTime(1):W};\ng.H.CO=function(){return this.app.getDuration(1)};\ng.H.RF=function(W,Y){W=g.DR(Math.floor(W),0,100);isFinite(W)&&Ij(this.app,{volume:W,muted:this.isMuted()},Y)};\ng.H.nHz=function(W){this.RF(W,!1)};\ng.H.yv=function(W){Ij(this.app,{muted:!0,volume:this.getVolume()},W)};\ng.H.Dqi=function(){this.yv(!1)};\ng.H.SQ=function(W){Ij(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},W)};\ng.H.is6=function(){RY(this.app)||this.SQ(!1)};\ng.H.getPlayerMode=function(){var W={};this.app.getVideoData().zr&&(W.pfp={enableIma:this.app.Kq().allowImaMonetization,autoplay:lt(this.app.Kq()),mutedAutoplay:this.app.Kq().mutedAutoplay});return W};\ng.H.xW=function(){var W=this.app.getPresentingPlayerType();if(W===2&&!this.app.Tj()){var Y=Ox(this.app.gx());if(!(jKX(Y)||g.hN(this.app.V())&&g.p(this.app.D2().getPlayerState(),1024))||Lez(Y))return}(Y=this.app.Ln().sA)?Y.playVideo():this.app.playVideo(W)};\ng.H.v86=function(){sh(this.app,!0,1);this.xW()};\ng.H.pauseVideo=function(W){var Y=this.app.getPresentingPlayerType();if(Y!==2||this.app.Tj()||jKX(Ox(this.app.gx()))){var k=this.app.Ln().sA;k?k.pauseVideo():this.app.pauseVideo(Y,W)}};\ng.H.fg6=function(){var W=this.app,Y=!1;W.zJ.Gn&&(W.Ii.publish(\"pageTransition\"),Y=!0);W.stopVideo(Y)};\ng.H.clearVideo=function(){};\ng.H.getAvailablePlaybackRates=function(){var W=this.app.V();if(W.enableSpeedOptions){if([\"https://admin.youtube.com\",\"https://viacon.corp.google.com\",\"https://yurt.corp.google.com\"].includes(W.T?W.ancestorOrigins[0]:window.location.origin)||W.n8)return wl9;var Y=this.app.getVideoData();if(acj(Y)){var k=Y.RO,P=Y.rI;return eMB.filter(function(T){return T>=k&&T<=P})}return W.supportsVarispeedExtendedFeatures?Q3c:W.U(\"web_remix_allow_up_to_3x_playback_rate\")&&g.m9(W)?yxz:mC}return[1]};\ng.H.getPlaybackQuality=function(W){return(W=this.app.H5(W))?W.getPlaybackQuality():\"unknown\"};\ng.H.SEP=function(){};\ng.H.getAvailableQualityLevels=function(W){return(W=this.app.H5(W))?(W=g.Ab(W.HV(),function(Y){return Y.quality}),W.length&&(W[0]===\"auto\"&&W.shift(),W=W.concat([\"auto\"])),W):[]};\ng.H.ip=function(){return this.getAvailableQualityLevels(1)};\ng.H.xQ=function(){return this.XE()};\ng.H.jq=function(){return 1};\ng.H.getVideoLoadedFraction=function(W){return this.app.getVideoLoadedFraction(W)};\ng.H.XE=function(){return this.getVideoLoadedFraction()};\ng.H.kQ=function(){return 0};\ng.H.getSize=function(){var W=this.app.ai().getPlayerSize();return{width:W.width,height:W.height}};\ng.H.setSize=function(){this.app.ai().resize()};\ng.H.loadVideoById=function(W,Y,k,P){if(!W)return!1;W=q7(W,Y,k);return this.app.loadVideoByPlayerVars(W,P)};\ng.H.w6g=function(W,Y,k){W=this.loadVideoById(W,Y,k,1);sh(this.app,W,1)};\ng.H.cueVideoById=function(W,Y,k,P){W=q7(W,Y,k);this.app.cueVideoByPlayerVars(W,P)};\ng.H.iX=function(W,Y,k){this.cueVideoById(W,Y,k,1)};\ng.H.loadVideoByUrl=function(W,Y,k,P){W=DfV(W,Y,k);return this.app.loadVideoByPlayerVars(W,P)};\ng.H.TD2=function(W,Y,k){W=this.loadVideoByUrl(W,Y,k,1);sh(this.app,W,1)};\ng.H.cueVideoByUrl=function(W,Y,k,P){W=DfV(W,Y,k);this.app.cueVideoByPlayerVars(W,P)};\ng.H.JQ=function(W,Y,k){this.cueVideoByUrl(W,Y,k,1)};\ng.H.QT=function(){var W=this.app.V();if(W.Kg)return\"\";var Y=this.app.Kq(),k=void 0;Y.isLivePlayback||(k=Math.floor(this.app.getCurrentTime(1)));return W.getVideoUrl(Y.videoId,this.getPlaylistId()||void 0,k)};\ng.H.Sq=function(){return this.app.getDebugText()};\ng.H.getVideoEmbedCode=function(){var W=this.app.V();if(W.Kg)return\"\";var Y=this.app.Kq();return W.getVideoEmbedCode(Y.isPrivate?\"\":Y.title,this.app.Kq().videoId,this.app.ai().getPlayerSize(),this.getPlaylistId()||void 0)};\ng.H.n9=function(W,Y,k){return c1(this.app,W,Y,k)};\ng.H.removeCueRange=function(W){return this.app.g0(W)};\ng.H.loadPlaylist=function(W,Y,k,P){this.app.loadPlaylist(W,Y,k,P)};\ng.H.igg=function(W,Y,k,P){this.loadPlaylist(W,Y,k,P);sh(this.app,!0,1)};\ng.H.cuePlaylist=function(W,Y,k,P){this.app.cuePlaylist(W,Y,k,P)};\ng.H.nextVideo=function(W,Y){this.app.nextVideo(W,Y)};\ng.H.Qia=function(){this.nextVideo();sh(this.app,!0,1)};\ng.H.previousVideo=function(W){this.app.previousVideo(W)};\ng.H.YU5=function(){this.previousVideo();sh(this.app,!0,1)};\ng.H.playVideoAt=function(W){this.app.playVideoAt(W)};\ng.H.KBS=function(W){this.playVideoAt(W);sh(this.app,!0,1)};\ng.H.setShuffle=function(W){var Y=this.app.getPlaylist();Y&&Y.setShuffle(W)};\ng.H.setLoop=function(W){var Y=this.app.getPlaylist();Y&&(Y.loop=W)};\ng.H.Gi=function(){var W=this.app.getPlaylist();if(!W)return null;for(var Y=[],k=0;k=400)if(W=this.Kq(),this.Y.V().U(\"client_respect_autoplay_switch_button_renderer\"))W=!!W.autoplaySwitchButtonRenderer;else{var Y,k,P,T;W=!!((Y=W.getWatchNextResponse())==null?0:(k=Y.contents)==null?0:(P=k.twoColumnWatchNextResults)==null?0:(T=P.autoplay)==null?0:T.autoplay)!==!1}if(W)this.W||(this.W=!0,this.b8(this.W),this.Y.V().U(\"web_player_autonav_toggle_always_listen\")||b2q(this),\nY=this.Kq(),this.Tk(Y.autonavState),this.Y.logVisibility(this.element,this.W));else if(this.W=!1,this.b8(this.W),!this.Y.V().U(\"web_player_autonav_toggle_always_listen\"))for(this.Y.V().U(\"web_player_autonav_toggle_always_listen\"),Y=g.e(this.K),k=Y.next();!k.done;k=Y.next())this.nH(k.value)};\ng.H.Tk=function(W){Lt2(this)?this.isChecked=W!==1:((W=W!==1)||(W=g.eb(),W=g.dS(\"web_autonav_allow_off_by_default\")&&!W.Ik(141)&&g.o_(\"AUTONAV_OFF_BY_DEFAULT\")?!1:!W.Ik(140)),this.isChecked=W);lr5(this)};\ng.H.onClick=function(){this.isChecked=!this.isChecked;this.Y.Um(this.isChecked?2:1);lr5(this);if(Lt2(this)){var W=this.Kq().autoplaySwitchButtonRenderer;this.isChecked&&(W==null?0:W.onEnabledCommand)?this.Y.Ri(\"innertubeCommand\",W.onEnabledCommand):!this.isChecked&&(W==null?0:W.onDisabledCommand)&&this.Y.Ri(\"innertubeCommand\",W.onDisabledCommand)}this.Y.logClick(this.element)};\ng.H.getValue=function(){return this.isChecked};\ng.H.Kq=function(){return this.Y.getVideoData(1)};g.f(jTV,sE);g.f(gm,g.Ia);gm.prototype.onClick=function(){this.enabled&&(B5(this,!this.checked),this.publish(\"select\",this.checked))};\ngm.prototype.getValue=function(){return this.checked};\ngm.prototype.setEnabled=function(W){(this.enabled=W)?this.element.removeAttribute(\"aria-disabled\"):this.element.setAttribute(\"aria-disabled\",\"true\")};var uaz={B_i:2,cZ:1,gC:0,2:\"AUDIO_TRACK\",1:\"VOICE_BOOST\",0:\"STABLE_VOLUME\"};var am=[\"en-CA\",\"en\",\"es-MX\",\"fr-CA\"];g.f(EX,gm);EX.prototype.xa=function(W){W?this.W||(this.Mq.c7(this),this.W=!0):this.W&&(this.Mq.tC(this),this.W=!1);this.W&&B5(this,z2S())};\nEX.prototype.T=function(){g.Sr(this.element,\"ytp-menuitem-highlight-transition-enabled\")};\nEX.prototype.J=function(W){var Y=z2S();W!==Y&&(Y=g.eb(),oc(190,W),oc(192,!0),Y.save(),this.Y.Ri(\"cinematicSettingsToggleChange\",W))};\nEX.prototype.iz=function(){this.W&&this.Mq.tC(this);gm.prototype.iz.call(this)};g.f(Y9V,sE);Y9V.prototype.updateCinematicSettings=function(W){this.W=W;var Y;(Y=this.menuItem)==null||Y.xa(W);this.api.publish(\"onCinematicSettingsVisibilityChange\",W)};g.f(BVz,sE);g.f(Cn,sE);Cn.prototype.setCreatorEndscreenVisibility=function(W){var Y;(Y=ZW(this.api.gx()))==null||Y.b8(W)};\nCn.prototype.W=function(W){function Y(P){P===\"creatorendscreen\"&&(P=ZW(k.api.gx()))&&P.TVr(k.hideButton)}\nvar k=this;this.hideButton=W;this.events.Z(this.api,\"modulecreated\",Y);Y(\"creatorendscreen\")};g.f(aJ,gm);aJ.prototype.T=function(W){this.J(W?1:0);this.Y.publish(\"audiopreferencechange\")};\naJ.prototype.X5=function(){if(this.enableNewAudioSettingsMenu){var W=this.Y.getPresentingPlayerType();W===2||W===3?(this.W=!1,this.Mq.tC(this)):(W=this.getDrcState(),W!==1?(W===0?(B5(this,this.K()===1),this.setEnabled(!0)):(B5(this,!1),this.setEnabled(!1)),this.W||(this.Mq.c7(this),this.W=!0)):this.W&&(this.Mq.tC(this),this.W=!1))}else{W=this.hasDrcAudioTrack();var Y=this.K()===1&&W;B5(this,Y);this.setEnabled(W)}};\naJ.prototype.iz=function(){this.Mq.tC(this);gm.prototype.iz.call(this)};g.f(WS,sE);g.H=WS.prototype;g.H.getDrcUserPreference=function(){return this.W};\ng.H.setDrcUserPreference=function(W){this.api.U(\"html5_log_drc_pref\")&&this.api.y5(\"drc_set\",{pref:W});g.Zm(\"yt-player-drc-pref\",W,31536E3);W!==this.W&&(this.W=W,this.updateEnvironmentData(),this.iS()&&this.api.V0())};\ng.H.updateEnvironmentData=function(){this.api.V().k8=this.W===1};\ng.H.iS=function(){var W,Y,k=(W=this.api.getVideoData())==null?void 0:(Y=W.J)==null?void 0:Y.W;if(!k)return!1;if(this.api.getAvailableAudioTracks().length>1&&this.api.U(\"mta_drc_mutual_exclusion_removal\")){var P,T,I=(P=this.api.ji())==null?void 0:(T=P.Ib)==null?void 0:T.id;return Wk(k,function(X){var h;return X.audio.W&&((h=X.Ib)==null?void 0:h.id)===I})}return Wk(k,function(X){var h;\nreturn((h=X.audio)==null?void 0:h.W)===!0})};\ng.H.getDrcState=function(){return this.api.kF(2)};g.f(Kn,sE);Kn.prototype.onVideoDataChange=function(){var W=this,Y=this.api.getVideoData();this.api.fq(\"embargo\",1);var k=Y==null?void 0:Y.P1.get(\"PLAYER_CUE_RANGE_SET_IDENTIFIER_EMBARGO\");(k==null?0:k.length)?YC2(this,k.filter(function(P){return pp1(W,P)})):(Y==null?0:Y.cueRanges)&&YC2(this,Y.cueRanges.filter(function(P){return pp1(W,P)}))};\nKn.prototype.K=function(W){return W.embargo!==void 0};\nKn.prototype.iz=function(){sE.prototype.iz.call(this);this.W={}};g.f(P6V,sE);\nP6V.prototype.addEmbedsConversionTrackingParams=function(W){var Y=this.api.V(),k=Y.widgetReferrer,P=Y.D_,T=this.W,I=\"\",X=Y.getWebPlayerContextConfig();X&&(I=X.embedsIframeOriginParam||\"\");k.length>0&&(W.embeds_widget_referrer=k);P.length>0&&(W.embeds_referring_euri=P);Y.T&&I.length>0&&(W.embeds_referring_origin=I);X&&X.embedsFeature&&(W.feature=X.embedsFeature);T.length>0&&(Y.U(\"embeds_web_enable_lite_experiment_control_arm_logging\")?T.unshift(28572):g.He(g.q9(Y))&&T.unshift(159628),Y=T.join(\",\"),\nY=g.xQ()?Y:g.hm(Y,4),W.source_ve_path=Y);this.W.length=0};g.f(TV7,sE);g.f(eZC,sE);g.f(l5,g.D);l5.prototype.iz=function(){g.D.prototype.iz.call(this);this.W=null;this.K&&this.K.disconnect()};g.f(EaC,sE);g.f(mv,g.c);mv.prototype.show=function(){g.c.prototype.show.call(this);this.api.logVisibility(this.element,!0)};\nmv.prototype.stopTimer=function(){this.W&&(this.W.dispose(),this.W=null)};\nmv.prototype.onVideoDataChange=function(W){var Y,k,P=(Y=this.api.getVideoData())==null?void 0:(k=Y.getPlayerResponse())==null?void 0:k.playabilityStatus;P&&(Y=mh2(P),g.p(this.api.getPlayerStateObject(),128)||W===\"dataloaderror\"||!Y?(this.K=0,this.stopTimer(),this.hide()):(W=(Y.remainingTimeSecs||0)*1E3,W>0&&(this.show(),this.updateValue(\"label\",q8d(Y.label)),TvQ(this,W))))};\nmv.prototype.iz=function(){this.stopTimer();g.c.prototype.iz.call(this)};g.f(kB7,sE);g.f(D_,g.c);D_.prototype.onClick=function(){this.Ii.logClick(this.element);this.Ii.Ri(\"onFullerscreenEduClicked\")};\nD_.prototype.xa=function(){this.Ii.isFullscreen()?this.W?this.fade.hide():this.fade.show():this.hide();this.Ii.logVisibility(this.element,this.Ii.isFullscreen()&&!this.W)};g.f(gV,sE);gV.prototype.updateFullerscreenEduButtonSubtleModeState=function(W){var Y;(Y=this.W)!=null&&(g.ML(Y.element,\"ytp-fullerscreen-edu-button-subtle\",W),W&&!Y.K&&(Y.Ii.U(\"player_tooltip_data_title_killswitch\")?Y.element.setAttribute(\"title\",\"Scroll for details\"):Y.element.setAttribute(\"data-tooltip-title\",\"Scroll for details\"),pt(Y.Ii,Y.element,Y),Y.K=!0))};\ngV.prototype.updateFullerscreenEduButtonVisibility=function(W){var Y;(Y=this.W)!=null&&(Y.W=W,Y.xa())};g.f(qYV,g.c);g.f($DX,sE);g.f(Fm,sE);Fm.prototype.getSphericalProperties=function(){var W=g.dJ(this.api.gx());return W?W.getSphericalProperties():{}};\nFm.prototype.setSphericalProperties=function(W){if(W){var Y=g.dJ(this.api.gx());Y&&Y.setSphericalProperties(W,!0)}};g.f(VNd,sE);g.H=VNd.prototype;g.H.createClientVe=function(W,Y,k,P){this.api.createClientVe(W,Y,k,P===void 0?!1:P)};\ng.H.createServerVe=function(W,Y,k){this.api.createServerVe(W,Y,k===void 0?!1:k)};\ng.H.setTrackingParams=function(W,Y){this.api.setTrackingParams(W,Y)};\ng.H.logClick=function(W,Y){this.api.logClick(W,Y)};\ng.H.logVisibility=function(W,Y,k){this.api.logVisibility(W,Y,k)};\ng.H.hasVe=function(W){return this.api.hasVe(W)};\ng.H.destroyVe=function(W){this.api.destroyVe(W)};G3.prototype.kF=function(W){return this.W[W]};\nG3.prototype.tL=function(){for(var W=this.J,Y={},k=g.e(YH6),P=k.next();!P.done;P=k.next())if(P=P.value,this.K[P]){W=N7[P].JI(W,this.videoData);for(var T=g.e(YH6),I=T.next();!I.done;I=T.next())I=I.value,Y[I]!==void 0||Wk(W,N7[I].LP)||(Y[I]=N7[P].pR);Y[P]===void 0&&(Y[P]=0)}else Y[P]=1;this.W=Y};\nvar YH6=[0,1,3,2],Z8={},N7=(Z8[0]={pR:2,LP:CL6,JI:kk2},Z8[1]={pR:3,LP:YcX,JI:aHz},Z8[2]={pR:4,LP:Un7,JI:lf5},Z8[3]={pR:5,LP:mC6,JI:DC7},Z8);var JI1=!1;Gdd.prototype.setPlaybackRate=function(W){this.playbackRate=Math.max(1,W)};\nGdd.prototype.getPlaybackRate=function(){return this.playbackRate};T0.prototype.jb=function(W){var Y=g.ZK(W.info.W.info,this.H6.t9),k=W.info.t5+this.T,P=W.info.startTime*1E3;if(this.policy.Q5)try{P=this.policy.Q5?g.TO(W)*1E3:W.info.startTime*1E3}catch(X){Math.random()>.99&&this.logger&&(P=VA(W.K).slice(0,1E3),this.logger&&this.logger({parserErrorSliceInfo:W.info.TW(),encodedDataView:g.Pk(P,4)})),P=W.info.startTime*1E3}var T=W.info.clipId,I=this.policy.Q5?g.h5i(W)*1E3:W.info.duration*1E3;this.policy.Q5&&(P<0||I<0)&&(this.logger&&(this.logger({missingSegInfo:W.info.TW(),\nstartTimeMs:P,durationMs:I}),this.policy.Kr||(P<0&&(P=W.info.startTime*1E3),I<0&&(I=W.info.duration*1E3))),this.policy.Kr&&(P<0&&(P=W.info.startTime*1E3),I<0&&(I=W.info.duration*1E3)));return{formatId:Y,t5:k,startTimeMs:P,clipId:T,nU:I}};\nT0.prototype.v3=function(W){this.timestampOffset=W};mh.prototype.seek=function(W,Y){W!==this.targetTime&&(this.seekCount=0);this.targetTime=W;var k=this.videoTrack.K,P=this.audioTrack.K,T=this.audioTrack.qT,I=qAC(this,this.videoTrack,W,this.videoTrack.qT,Y);Y=qAC(this,this.audioTrack,this.policy.J9?W:I,T,Y);W=Math.max(W,I,Y);this.T=!0;this.H6.isManifestless&&(a85(this,this.videoTrack,k),a85(this,this.audioTrack,P));return W};\nmh.prototype.isSeeking=function(){return this.T};\nmh.prototype.jG=function(W){this.K=W};\nvar tsS=2/24;var Gn2=0;g.H=l6.prototype;g.H.Jl=function(){this.N=this.now();$fq(this.Sj,this.N);this.wx.Jl()};\ng.H.M8=function(W,Y){var k=this.policy.K?(0,g.lj)():0;wJ(this,W,Y);W-this.X<10&&this.K>0||this.Pr(W,Y);this.wx.M8(W,Y);this.policy.K&&(W=(0,g.lj)()-k,this.J9+=W,this.e1=Math.max(W,this.e1))};\ng.H.Pr=function(W,Y){var k=(W-this.X)/1E3,P=Y-this.J;this.jm||($Sj(this.Sj,k,P),this.UM(k,P));this.X=W;this.J=Y};\ng.H.zM=function(){this.gD&&k$1(this);this.wx.zM()};\ng.H.LC=function(W){this.gD||(this.gD=this.C-this.Gn+W,this.D_=this.C,this.KH=this.G)};\ng.H.CY=function(W,Y){W=W===void 0?this.G:W;Y=Y===void 0?this.C:Y;this.K>0||(this.L=W,this.K=Y,this.A5=this.isActive=!0)};\ng.H.Hp=function(){return this.Fu||2};\ng.H.kI=function(){};\ng.H.iW=function(){var W,Y={rn:this.requestNumber,rt:(this.G-this.W).toFixed(),lb:this.C,stall:(1E3*this.T).toFixed(),ht:(this.N-this.W).toFixed(),elt:(this.L-this.W).toFixed(),elb:this.K,d:(W=this.TJ)==null?void 0:W.WK()};this.url&&sBF(Y,this.url);this.policy.K&&(Y.mph=this.e1.toFixed(),Y.tph=this.J9.toFixed());Y.ulb=this.OP;Y.ult=this.Kg;return Y};\ng.H.now=function(){return(0,g.lj)()};\ng.H.deactivate=function(){this.isActive&&(this.isActive=!1)};g.f(nB,l6);g.H=nB.prototype;g.H.iW=function(){var W=l6.prototype.iW.call(this);W.pb=this.GS;W.pt=(1E3*this.Lg).toFixed();W.se=this.f1;return W};\ng.H.Du=function(){var W=this.wx;this.rD||(this.rD=W.Du?W.Du():1);return this.rD};\ng.H.D4=function(){return this.Dd?this.Du()!==1:!1};\ng.H.FS=function(W,Y,k){if(!this.xm){this.xm=!0;if(!this.jm){wJ(this,W,Y);this.Pr(W,Y);var P=this.Du();this.f1=k;if(!this.jm)if(P===2){P=W-this.L0)||iG0(this,P,Y),this.K>0&&G$(this.Sj,Y,this.T));W=(W-this.W)/\n1E3||.01;this.policy.L&&!(this.K>0)||xM(this.Sj,W,this.J,Lz6(this),this.YN)}this.deactivate()}};\ng.H.iM=function(W,Y,k){k&&(this.rD=2);W<0&&this.Fu&&(W=this.Fu);Y?this.V5+=W:this.GJ+=W};\ng.H.Hp=function(){return this.GJ||this.V5||l6.prototype.Hp.call(this)};\ng.H.Pr=function(W,Y){var k=(W-this.X)/1E3,P=Y-this.J,T=this.Du();this.isActive?T===1&&((P>0||this.policy.C)&&(k>.2||P<1024)?(this.T+=k,P>0&&k>.2&&iG0(this,this.QD?k:.05,P),this.A9=!0):P>0&&(iG0(this,k,P),this.A9=!0)):Y&&Y>=this.policy.W&&this.CY(W,Y);l6.prototype.Pr.call(this,W,Y)};\ng.H.p_=function(W){if(!this.jm){wJ(this,W,this.C);var Y=(W-this.W)/1E3;this.Du()!==2&&this.K>0&&(this.T+=(W-this.X)/1E3,G$(this.Sj,this.J,this.T));xM(this.Sj,Y,this.J,Lz6(this),this.YN,!0);W=(W-this.X)/1E3;$Sj(this.Sj,W,0);this.UM(W,0)}};\ng.H.CY=function(W,Y){W=W===void 0?this.G:W;Y=Y===void 0?this.C:Y;if(!(this.K>0)&&(l6.prototype.CY.call(this,W,Y),this.Du()===1)){Y=(this.N-this.W)/1E3;var k=(W-this.N)/1E3;this.Dd&&A5F(this,this.now());this.K1||this.jm||(this.Fu&&(k=Math.max(0,k-this.Fu)),W=this.Sj,W.L.NL(1,Y),W.TJ.NL(1,k))}};\ng.H.gA=function(){this.Dd&&A5F(this,this.now());return this.Fr};\ng.H.NR=function(){var W;if(W=this.J>this.Ox)W=(W=this.J)?W>=this.policy.W:!1;return W};\ng.H.ZW=function(){return this.Q5};\ng.H.hA=function(W){W=W===void 0?this.now():W;if(this.Dd){A5F(this,W);if(this.rD?this.D4():this.wD!==this.UP){var Y=this.UP;if(W0?k+W:k+Math.max(W,Y)};\ng.H.UL=function(){return this.now()-this.L};\ng.H.Iv=function(){return(this.J-this.K)*1E3/this.UL()||0};\ng.H.YC=function(){return this.L};tx.prototype.feed=function(W){Ub(this.W,W);this.u7()};\ntx.prototype.u7=function(){if(this.T){if(!this.W.totalLength)return;var W=this.W.split(this.J-this.K),Y=W.Mu;W=W.LL;if(!this.wx.LC(this.T,Y,this.K,this.J))return;this.K+=Y.totalLength;this.W=W;this.K===this.J&&(this.T=this.J=this.K=void 0)}for(;;){var k=0;W=g.e(Drd(this.W,k));Y=W.next().value;k=W.next().value;k=g.e(Drd(this.W,k));W=k.next().value;k=k.next().value;if(Y<0||W<0)break;if(!(k+W<=this.W.totalLength)){if(!(this.wx.LC&&k+1<=this.W.totalLength))break;k=this.W.split(k).LL;this.wx.LC(Y,k,0,\nW)&&(this.T=Y,this.K=k.totalLength,this.J=W,this.W=new $A([]));break}W=this.W.split(k).LL.split(W);k=W.LL;this.wx.KS(Y,W.Mu);this.W=k}};\ntx.prototype.dispose=function(){this.W=new $A};g.H=$c.prototype;g.H.ov=function(){return 0};\ng.H.GG=function(){return null};\ng.H.yB=function(){return null};\ng.H.Q9=function(){return this.state>=1};\ng.H.isComplete=function(){return this.state>=3};\ng.H.x4=function(){return this.state===5};\ng.H.onStateChange=function(){};\ng.H.ZY=function(W){var Y=this.state;this.state=W;this.onStateChange(Y);this.callback&&this.callback(this,Y)};\ng.H.eY=function(W){W&&this.state=this.xhr.HEADERS_RECEIVED};\ng.H.getResponseHeader=function(W){try{return this.xhr.getResponseHeader(W)}catch(Y){return\"\"}};\ng.H.Oa=function(){return+this.getResponseHeader(\"content-length\")};\ng.H.O0=function(){return this.K};\ng.H.E7=function(){return this.status>=200&&this.status<300&&!!this.K};\ng.H.Il=function(){return this.W.totalLength>0};\ng.H.wp=function(){var W=this.W;this.W=new $A;return W};\ng.H.Ny=function(){return this.W};\ng.H.abort=function(){this.Xr=!0;this.xhr.abort()};\ng.H.ZU=function(){return!0};\ng.H.iP=function(){return this.J};\ng.H.JD=function(){return\"\"};g.H=r9V.prototype;g.H.getResponseHeader=function(W){return W===\"content-type\"?this.W.get(\"type\"):\"\"};\ng.H.abort=function(){};\ng.H.Hw=function(){return!0};\ng.H.Oa=function(){return this.range.length};\ng.H.O0=function(){return this.loaded};\ng.H.E7=function(){return!!this.loaded};\ng.H.Il=function(){return!!this.K.totalLength};\ng.H.wp=function(){var W=this.K;this.K=new $A;return W};\ng.H.Ny=function(){return this.K};\ng.H.ZU=function(){return!0};\ng.H.iP=function(){return!!this.error};\ng.H.JD=function(){return this.error};g.H=Y0z.prototype;g.H.start=function(W){var Y={credentials:\"include\",cache:\"no-store\"};Object.assign(Y,this.G);this.T&&(Y.signal=this.T.signal);W=new Request(W,Y);fetch(W).then(this.N,this.onError).then(void 0,c6)};\ng.H.onDone=function(){this.Xr()||this.wx.zM()};\ng.H.getResponseHeader=function(W){return this.responseHeaders?this.responseHeaders.get(W):null};\ng.H.Hw=function(){return!!this.responseHeaders};\ng.H.O0=function(){return this.K};\ng.H.Oa=function(){return+this.getResponseHeader(\"content-length\")};\ng.H.E7=function(){return this.status>=200&&this.status<300&&!!this.K};\ng.H.Il=function(){return!!this.W.totalLength};\ng.H.wp=function(){var W=this.W;this.W=new $A;return W};\ng.H.Ny=function(){return this.W};\ng.H.Xr=function(){return this.C};\ng.H.abort=function(){this.J&&this.J.cancel().catch(function(){});\nthis.T&&this.T.abort();this.C=!0};\ng.H.ZU=function(){return!0};\ng.H.iP=function(){return this.X};\ng.H.JD=function(){return this.errorMessage};g.H=U7V.prototype;g.H.onDone=function(){if(!this.Xr){this.status=this.xhr.status;try{this.response=this.xhr.response,this.K=this.response.byteLength}catch(W){}this.W=!0;this.wx.zM()}};\ng.H.WX=function(){this.xhr.readyState===2&&this.wx.Jl()};\ng.H.onProgress=function(W){this.Xr||(this.status=this.xhr.status,this.W||(this.K=W.loaded),this.wx.M8((0,g.lj)(),W.loaded))};\ng.H.Hw=function(){return this.xhr.readyState>=2};\ng.H.getResponseHeader=function(W){try{return this.xhr.getResponseHeader(W)}catch(Y){return g.Jx(Error(\"Could not read XHR header \"+W)),\"\"}};\ng.H.Oa=function(){return+this.getResponseHeader(\"content-length\")};\ng.H.O0=function(){return this.K};\ng.H.E7=function(){return this.status>=200&&this.status<300&&this.W&&!!this.K};\ng.H.Il=function(){return this.W&&!!this.response&&!!this.response.byteLength};\ng.H.wp=function(){var W=this.response;this.response=void 0;return new $A([new Uint8Array(W)])};\ng.H.Ny=function(){return new $A([new Uint8Array(this.response)])};\ng.H.abort=function(){this.Xr=!0;this.xhr.abort()};\ng.H.ZU=function(){return!1};\ng.H.iP=function(){return!1};\ng.H.JD=function(){return\"\"};g.f(t_,g.D);t_.prototype.E3=function(){if(!this.bD.length)return[];var W=this.bD;this.bD=[];this.J=g.wE(W).info;return W};\nt_.prototype.n3=function(){return this.bD};\nt_.prototype.iz=function(){g.D.prototype.iz.call(this);this.W=null;this.bD.length=0;this.EP.length=0;this.J=null};g.f(pB,g.D);g.H=pB.prototype;\ng.H.Beh=function(){if(!this.Xr()){var W=(0,g.lj)(),Y=!1;if(this.policy.CL){var k=this.timing.K>0?this.timing.L:this.timing.W;this.policy.v_&&this.J&&(k=this.J);W=W-k-this.timing.Hp()*1E3;k=mz1(LY(this),!1);W>=2E3*k?Y=!0:W>=this.policy.cF*k&&(this.W=this.policy.KL)}else if(this.timing.K>0){if(this.X){this.policy.xq&&(this.W=0);return}var P=this.timing.ZW();this.timing.hA();var T=this.timing.ZW();T-P>=this.policy.k8*.8?(this.W++,this.logger.debug(function(){return\"Mispredicted by \"+(T-P).toFixed(0)}),\nY=this.W>=5):this.W=0}else{var I=W-this.timing.gA();\nthis.policy.KL&&I>0&&(this.W+=1);Y=mz1(LY(this),!1)*this.policy.pB;(Y=I>Y*1E3)&&this.logger.debug(function(){return\"Elbow late by \"+I.toFixed(3)})}this.W>0&&this.wx.W8();\nY?this.B9():this.K.start()}};\ng.H.B9=function(){this.C=!0;this.wx.hp();this.lastError=\"net.timeout\";Uu(this)};\ng.H.canRetry=function(W){var Y=LY(this);W=W?this.policy.Gb:this.policy.kp;return Y.timedOut0&&(Y=TJ(Y.W,0),W.ubyte=Y,k===1&&Y===0&&(W.b248180278=!0))}this.Zg&&(W.rc=this.policy.Ao?this.Zg:this.Zg.toString());this.policy.LH&&this.vC&&(W.tr=this.vC);W.itag=this.info.EP[0].W.info.itag;W.ml=\"\"+ +this.info.EP[0].W.sE();W.sq=\"\"+this.info.EP[0].t5;this.SL&&(W.ifi=\"\"+ +Rd(24,this.info.ob.K));this.Zg!==410&&this.Zg!==500&&this.Zg!==503||(W.fmt_unav=\"true\");var P;(k=this.errorMessage||((P=this.xhr)==null?\nvoid 0:P.JD()))&&(W.msg=k);this.qP&&(W.smb=\"1\");this.info.isDecorated()&&(W.sdai=\"1\");return W};\ng.H.eR=function(){return TaF(this.timing)};\ng.H.JD=function(){return this.xhr.JD()||\"\"};\ng.H.NR=function(){return this.isComplete()||this.timing.NR()};\ng.H.M8=function(){!this.Xr()&&this.xhr&&(this.Zg=this.xhr.status,this.policy.Jh&&this.ue&&this.HH(!1),this.dX()?this.eY(2):!this.Nl&&this.NR()&&(this.eY(),this.Nl=!0))};\ng.H.Jl=function(){if(!this.Xr()&&this.xhr){if(!this.CK&&this.xhr.Hw()&&this.xhr.getResponseHeader(\"X-Walltime-Ms\")){var W=Number(this.xhr.getResponseHeader(\"X-Walltime-Ms\"));this.CK=((0,g.lj)()-W)/1E3}this.xhr.Hw()&&this.xhr.getResponseHeader(\"X-Restrict-Formats-Hint\")&&this.policy.mL&&!Sf0()&&g.Zm(\"yt-player-headers-readable\",!0,2592E3);W=Number(this.xhr.getResponseHeader(\"X-Head-Seqnum\"));var Y=Number(this.xhr.getResponseHeader(\"X-Head-Time-Millis\")),k;(k=this.MH)==null||k.stop();this.L8=W||this.L8;\nthis.GC=Y||this.GC}};\ng.H.zM=function(){var W=this.xhr;if(!this.Xr()&&W){this.Zg=W.status;W=this.v8(W);if(this.policy.LH){var Y;(Y=this.MH)==null||Y.stop()}W===5?Uu(this.Yq):this.ZY(W);this.Yq.K.stop()}};\ng.H.v8=function(W){var Y=this;wxd(this);if(Kg(this.Yq,this.xhr.status,this.Ww?this.timing.A5||this.oV:this.xhr.E7(),!1,this.cA))return 5;var k=\"\";d7(this.Yq,this.xhr)&&(k=h6F(this.Yq,this.xhr));if(k)return jI(LY(this.Yq)),this.info.Gw(this.SL,k),3;k=W.O0();if(this.MB){this.HH(!0);wxd(this);if(Kg(this.Yq,this.xhr.status,this.timing.A5||this.oV,!1,this.cA))return 5;if(!this.OQ){if(this.oV)return jI(LY(this.Yq)),3;this.Yq.lastError=\"net.closed\";return 5}}else{if(Kg(this.Yq,this.xhr.status,this.xhr.E7(),\n!1,this.cA))return 5;var P=this.info.J;if(P&&P!==k||W.iP())return this.Yq.lastError=\"net.closed\",5;this.HH(!0)}P=UId(this)?W.getResponseHeader(\"X-Bandwidth-Est\"):0;if(W=UId(this)?W.getResponseHeader(\"X-Bandwidth-Est3\"):0)this.wL=!0,this.policy.B_&&(P=W);Yaz(this.Yq,k,P?Number(P):0,this.info.EP[0].type===5);this.logger.debug(function(){var T=Y.timing;return\"Succeeded, rtpd=\"+(T.Lg*1E3+T.W-Date.now()).toFixed(0)});\nreturn 4};\ng.H.canRetry=function(){this.Xr();var W=this.info.isDecorated();return this.Yq.canRetry(W)};\ng.H.onStateChange=function(){this.isComplete()&&(this.policy.I5?this.hp():this.timing.deactivate())};\ng.H.B9=function(){this.Yq.B9()};\ng.H.W8=function(){this.callback&&this.callback(this,this.state)};\ng.H.td=function(){return this.Yq.td()};\ng.H.dispose=function(){$c.prototype.dispose.call(this);this.Yq.dispose();var W;(W=this.MH)==null||W.dispose();this.policy.I5||this.hp()};\ng.H.hp=function(){this.logger.debug(\"Abort\");this.xhr&&this.xhr.abort();this.timing.deactivate()};\ng.H.E3=function(){if(!this.n3().length)return[];this.P8=!0;return this.ue.E3()};\ng.H.dX=function(){if(this.state<1)return!1;if(this.ue&&this.ue.bD.length)return!0;var W;return((W=this.xhr)==null?0:W.Il())?!0:!1};\ng.H.n3=function(){this.HH(!1);return this.ue?this.ue.n3():[]};\ng.H.HH=function(W){try{if(W||this.xhr.Hw()&&this.xhr.Il()&&!d7(this.Yq,this.xhr)&&!this.iG)this.ue||(this.ue=new t_(this.policy,this.info.EP)),this.xhr.Il()&&(this.MB?this.MB.feed(this.xhr.wp()):wK(this.ue,this.xhr.wp(),W&&!this.xhr.Il()))}catch(Y){this.MB?tlX(this,Y):g.Jx(Y)}};\ng.H.KS=function(W,Y){switch(W){case 21:W=Y.split(1).LL;eoX(this,W);break;case 22:this.OQ=!0;wK(this.ue,new $A([]),!0);break;case 43:if(W=yx(new YA(Y),1))this.info.Gw(this.SL,W),this.oV=!0;break;case 45:Y=Mt(new YA(Y));W=Y.mu;Y=Y.Cv;W&&Y&&(this.CF=W/Y);break;case 44:this.Fa=jM7(new YA(Y));var k,P,T;!this.timing.A5&&((k=this.Fa)==null?void 0:k.action)===4&&((P=this.Fa)==null?0:(T=P.z1)==null?0:T.Ww)&&(this.Ww=this.Fa.z1.Ww);break;case 53:this.policy.LH&&(W=F8z(new YA(Y)).TX)&&(this.MH||(this.TX=W,this.MH=\nnew g.fC(this.Wj,W,this)),this.MH.start());break;case 60:this.jY=ox(new YA(Y));break;case 58:if(W=nc0(new YA(Y)))this.Zh=W,W.Zh===3&&(this.cA=!0)}};\ng.H.LC=function(W,Y,k,P){k||this.timing.LC(P);if(W!==21)return!1;if(W=this.policy.Jh)if(W*=this.info.EP[0].W.info.c6,Y.totalLength+k!==P&&Y.totalLength0)return!1;if(!this.xhr.Hw())return this.logger.debug(\"No headers, cannot tell if head segment.\"),!0;if(this.MB)var W=!this.info.J;else this.xhr.Oa()?W=!1:(W=this.xhr.getResponseHeader(\"content-type\"),W=W===\"audio/mp4\"||W===\"video/mp4\"||W===\"video/webm\");if(!W)return!1;if(isNaN(this.info.Cs)){W=this.xhr.getResponseHeader(\"x-head-seqnum\");var Y=this.timing.policy.G?1:0;if(!W)this.logger.debug(\"No x-head-seqnum, cannot tell if head segment.\");\nelse if(Number(W)>this.info.EP[0].t5+Y)return!1}return!0};\ng.H.DF=function(){return+this.xhr.getResponseHeader(\"X-Segment-Lmt\")||0};\ng.H.GG=function(){this.xhr&&(this.L8=Number(this.xhr.getResponseHeader(\"X-Head-Seqnum\")));return this.L8};\ng.H.yB=function(){this.xhr&&(this.GC=Number(this.xhr.getResponseHeader(\"X-Head-Time-Millis\")));return this.GC};\ng.H.NI=function(){return this.Yq.NI()};\ng.H.Wj=function(){if(!this.Xr()&&this.xhr){this.vC=\"heartbeat\";var W=this.Yq;W.W+=2;this.W8()}};g.f(Hl,l6);g.H=Hl.prototype;g.H.Pr=function(W,Y){var k=(W-this.X)/1E3,P=Y-this.J;this.K>0?P>0&&(this.wD&&(k>.2||P<1024?(this.T+=k,k>.2&&X16(this,.05,P)):X16(this,k,P)),this.UP&&(this.Fr+=P,this.GJ+=k)):Y>this.policy.W&&this.CY(W,Y);l6.prototype.Pr.call(this,W,Y)};\ng.H.FS=function(W,Y){wJ(this,W,Y);this.Pr(W,Y);this.wD&&(Y=this.J*this.snapshot.stall+this.J/this.snapshot.byterate,this.K>0&&G$(this.Sj,this.Fr,this.T),W=(W-this.W)/1E3||.01,this.policy.L&&!(this.K>0)||xM(this.Sj,W,this.J,Y,!1))};\ng.H.p_=function(W){wJ(this,W,this.C);var Y=(W-this.X)/1E3;$Sj(this.Sj,Y,0);this.UM(Y,0);!this.wD&&this.K>0||(Y=this.J*this.snapshot.stall+this.J/this.snapshot.byterate,this.K>0&&(this.T+=(W-this.X)/1E3,G$(this.Sj,this.Fr,this.T)),xM(this.Sj,(W-this.W)/1E3||.01,this.J,Y,!1,!0))};\ng.H.C3=function(W){W=W.Q8||2147483647;(W&2)!==2&&(this.UP=!1);(W&1)===1&&(this.wD=!0)};\ng.H.AX=function(W){W=W.Q8||2147483647;(W&2)===2&&(this.UP=!1);(W&1)===1&&(this.wD=!1)};\ng.H.YC=function(){return this.L};\ng.H.UL=function(){var W=this.UP?this.now()-this.X:0;return Math.max(this.GJ*1E3+W,1)};\ng.H.Iv=function(){return this.Fr*1E3/this.UL()};\ng.H.CY=function(W,Y){W=W===void 0?this.G:W;Y=Y===void 0?this.C:Y;this.K>0||(l6.prototype.CY.call(this,W,Y),Y=this.Sj,W=(W-this.N)/1E3,Y.L.NL(1,(this.N-this.W)/1E3),Y.TJ.NL(1,W))};\ng.H.kI=function(W){this.V5=W};\ng.H.iW=function(){var W=l6.prototype.iW.call(this);W.rbw=this.Iv();W.rbe=+this.UP;W.gbe=+this.wD;W.ackt=(this.V5-this.W).toFixed();return W};\ng.H.hA=function(){};\ng.H.ZW=function(){return NaN};\ng.H.gA=function(){return this.W+this.snapshot.delay*1E3};yF.prototype.KS=function(W,Y){switch(W){case 20:W=new YA(Y);W={hE:Qx(W,1),videoId:yx(W,2),itag:Qx(W,3),lmt:Qx(W,4),xtags:yx(W,5),HX:Qx(W,6),Ry:gZ(W,8),e5:Qx(W,9),QCq:Qx(W,10),startMs:Qx(W,11),durationMs:Qx(W,12),o5:Qx(W,14),timeRange:e2(W,15,Ey5),lY:Qx(W,16),Tt:Qx(W,17),clipId:yx(W,1E3)};this.yI(W);break;case 21:this.WW(Y,!1);break;case 22:this.gf(Y);break;case 31:W=sD(Y,kbC);this.KY(W);break;case 52:W=sD(Y,VG7);this.A6(W);break;default:this.Be(W,Y)}};\nyF.prototype.yI=function(){};\nyF.prototype.Be=function(){};g.f(q_,yF);g.H=q_.prototype;\ng.H.Be=function(W,Y){switch(W){case 35:this.u3(Y);break;case 44:this.PO(Y);break;case 43:this.Cw(Y);break;case 53:this.TD(Y);break;case 56:this.vO();break;case 57:this.Zx(Y);break;case 42:this.N$(Y);break;case 45:this.Yp(Y);break;case 59:this.iB(Y);break;case 51:this.T4(Y);break;case 49:this.C3(Y);break;case 50:this.AX(Y);break;case 47:this.wJ(Y);break;case 58:this.P9(Y);break;case 61:this.wx.Wz.kI((0,g.lj)());break;case 66:this.hd(Y);break;case 46:this.ym(Y);break;case 67:this.onSnackbarMessage(Y);break;\ncase 69:this.lW(Y)}};\ng.H.T4=function(W){W=new YA(W);W={qdi:RQ(W,1,qi),Hy1:RQ(W,2,qi)};this.wx.T4(W)};\ng.H.iB=function(W){var Y=new YA(W);W=ya(Y,1);var k=ya(Y,2);Y=ya(Y,3);this.wx.iB(W,k,Y)};\ng.H.Yp=function(W){W=Mt(new YA(W));this.wx.Yp(W)};\ng.H.wJ=function(W){W=sD(W,WbS);this.wx.wJ(W)};\ng.H.N$=function(W){W=new YA(W);W={videoId:yx(W,1),formatId:e2(W,2,qi),endTimeMs:Qx(W,3),hQz:Qx(W,4),mimeType:yx(W,5),vv:e2(W,6,Z7z),indexRange:e2(W,7,Z7z),yA:e2(W,8,vbq)};this.wx.N$(W)};\ng.H.Zx=function(W){W=new YA(W);W={type:Qx(W,1),scope:Qx(W,2),value:ZT(W,3),sendByDefault:gZ(W,4),writePolicy:Qx(W,5)};this.wx.Zx(W)};\ng.H.vO=function(){this.wx.vO()};\ng.H.u3=function(W){W=yNw(new YA(W));this.wx.u3(W)};\ng.H.TD=function(W){W=F8z(new YA(W));this.wx.TD(W)};\ng.H.PO=function(W){W=jM7(new YA(W));this.wx.PO(W)};\ng.H.Cw=function(W){W={redirectUrl:yx(new YA(W),1)};this.wx.Cw(W)};\ng.H.WW=function(W){var Y=TJ(W,0);if(W.totalLength!==1){W=W.split(1).LL;var k=this.K[Y]||null;k&&DA(this.wx.zj,Y,k,W)}};\ng.H.gf=function(W){W=TJ(W,0);var Y=this.K[W]||null;Y&&this.wx.gf(W,Y)};\ng.H.A6=function(W){this.wx.A6(W)};\ng.H.yI=function(W){var Y=W.hE,k=W.Ry,P=W.HX,T=W.Tt,I=W.lY,X=W.e5,h=W.startMs,B=W.durationMs,O=W.timeRange,u=W.o5,Z=W.clipId,M=dO(W);W=EIK.has(BM[\"\"+W.itag]);this.K[Y]=M;this.wx.iM(M,W,{hE:Y,Ry:!!k,HX:P!=null?P:-1,e5:X!=null?X:-1,startMs:h!=null?h:-1,durationMs:B!=null?B:-1,o5:u,Tt:T,lY:I,clipId:Z,timeRange:O})};\ng.H.C3=function(W){W={Q8:Qx(new YA(W),1)};this.wx.C3(W)};\ng.H.AX=function(W){W={Q8:Qx(new YA(W),1)};this.wx.AX(W)};\ng.H.KY=function(W){this.wx.KY(W)};\ng.H.P9=function(W){W=nc0(new YA(W));this.wx.P9(W)};\ng.H.hd=function(W){W={i6:e2(new YA(W),1,nC2)};this.wx.hd(W)};\ng.H.onSnackbarMessage=function(W){W=Qx(new YA(W),1);this.wx.onSnackbarMessage(W)};\ng.H.lW=function(W){W={pk:RQ(new YA(W),1,Jpz)};this.wx.lW(W)};\ng.H.ym=function(W){W=new YA(W);W={reloadPlaybackParams:e2(W,1,CVd),d4:gZ(W,2)};this.wx.ym(W)};g.f(R3,g.D);g.H=R3.prototype;g.H.Jg=function(){return Array.from(this.jj.keys())};\ng.H.YB=function(W){W=this.jj.get(W);var Y=W.bD;W.P$+=Y.totalLength;W.bD=new $A;return Y};\ng.H.Lu=function(W){return this.jj.get(W).Lu};\ng.H.k5=function(W){return this.jj.get(W).k5};\ng.H.iM=function(W,Y,k){this.jj.get(W)||Ayd(this,W,Y);Y=this.jj.get(W);this.H6?(W=p16(this,W,k),V57(this,k.hE,Y,W)):(k.Ry?Y.KE=k.o5:Y.BE.push(k),Y.u9.push(k))};\ng.H.rU=function(W){var Y;return((Y=this.jj.get(W))==null?void 0:Y.EP)||[]};\ng.H.eY=function(){for(var W=g.e(this.jj.values()),Y=W.next();!Y.done;Y=W.next())if(Y=Y.value,Y.VI){if(Y.onProgress)Y.onProgress();Y.VI=!1}};\ng.H.gf=function(W,Y){this.logger.debug(function(){return\"[onMediaEnd] formatId: \"+Y});\nvar k=this.jj.get(Y);Mn?k&&!k.Lu&&(k.j5.get(W)?k.j5.get(W).rq=!0:k.j5.set(W,{data:new $A,Sz:0,rq:!0}),k.k5=!0):k&&!k.k5&&(k.k5=!0)};\ng.H.E3=function(W){if(Mn){var Y=this.jj.get(W);if(Y)for(var k=g.e(Y.j5),P=k.next();!P.done;P=k.next()){var T=g.e(P.value);P=T.next().value;T=T.next().value;var I=Y.s9.get(P);if(PH(I[0])){if(!T.rq)continue;var X=T.data,h=0,B=[];I=g.e(I);for(var O=I.next();!O.done;O=I.next()){O=O.value;var u=O.J,Z=rX(X,h,u);h+=u;B.push(new Se(O,Z))}Y.g7.push.apply(Y.g7,g.cp(B))}else if(T.data.totalLength>0||!I[0].range&&T.rq)X=void 0,h=I[0],B=T.Sz,I=T.data,h.range||(X=T.rq),X=new Se(J91(h,h.K+B,I.totalLength,X),I),\nT.Sz+=X.info.J,Y.g7.push(X);Y.j5.get(P).data=new $A;T.rq&&Y.j5.delete(P)}W=this.jj.get(W);if(!W)return[];Y=W.g7;W.g7=[];k=g.e(Y);for(P=k.next();!P.done;P=k.next())W.P$+=P.value.info.J;return Y||[]}k=(Y=this.jj.get(W))==null?void 0:Y.ue;if(!k)return[];this.HH(W,k);return k.E3()};\ng.H.dX=function(W){if(Mn)return iT(this,W);var Y,k,P;return!!((k=(Y=this.jj.get(W))==null?void 0:Y.ue)==null?0:(P=k.n3())==null?0:P.length)||iT(this,W)};\ng.H.HH=function(W,Y){for(;iT(this,W);){var k=this.YB(W);var P=W;P=this.jj.get(P).Lu&&!xX(this,P);wK(Y,k,P&&mI1(this,W))}};\ng.H.iz=function(){g.D.prototype.iz.call(this);for(var W=g.e(this.jj.keys()),Y=W.next();!Y.done;Y=W.next())gW(this,Y.value);var k;if((k=this.l7)==null?0:k.ww)for(W=g.e(this.jj.values()),Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y.j5.clear(),Y.s9.clear(),Y.g7.length=0,Y.EP.length=0,Y.u9.length=0,Y.BE.length=0;this.jj.clear()};\nvar Mn=!1;g.f(s$,g.D);g.H=s$.prototype;g.H.M8=function(){!this.Xr()&&this.xhr&&(this.HH(!1),Jk(this.wx,this))};\ng.H.Jl=function(){};\ng.H.zM=function(){if(!this.Xr()&&this.xhr){var W=this.v8();W===5?Uu(this.Yq):this.ZY(W);this.Yq.K.stop();var Y;(Y=this.lB)==null||Y.stop()}};\ng.H.v8=function(){var W=\"\";d7(this.Yq,this.xhr)&&(W=h6F(this.Yq,this.xhr));if(W)return this.info.ob.Gw(this.SL,W),3;this.HH(!0);if(Kg(this.Yq,this.xhr.status,this.xhr.E7(),this.info.Zw(),this.cA))return 5;if(this.Wt)return 3;Yaz(this.Yq,this.xhr.O0(),0,this.Zw());this.policy.DY&&Bk2(this.wx);return 4};\ng.H.HH=function(W){var Y=this.xhr;if((W||!d7(this.Yq,this.xhr))&&Y.Il()){W=Y.wp();var k=W.totalLength;this.logger.debug(function(){return\"handleAvailableSlices: slice length \"+k});\nthis.MB.feed(W)}};\ng.H.KS=function(W,Y){this.xhr.ZU()&&W===21&&juV(this);this.y4.KS(W,Y)};\ng.H.LC=function(W,Y,k,P){k||(this.Wz.LC(P),this.policy.CX&&W===21&&juV(this));if(W!==21)return!1;this.Wz.A5=!0;W=Y.totalLength;k||(this.qC=TJ(Y,0),Y=Y.split(1).LL);var T=this.policy.U8,I=this.y4.K[this.qC],X=this.H6.J.get(I);if(T&&X&&(T*=X.info.c6,W+k!==P&&W0){this.policy.CL&&this.Yq.K.stop();W=this.Wz.UL();Y=this.Wz.Iv();var k=Vx1(this,W);if(!(Y>k.MF||k.Ul>0&&this.info.un()>k.Ul)){this.zI=(0,g.lj)();var P;(P=this.lB)==null||P.stop();this.policy.DY&&(P=this.wx,W={Vw:Math.round(Y*W/1E3),Co:W},P.policy.DY&&(P.TJ=W,P.qo++));this.B9()}}}};\ng.H.B9=function(){this.Yq.B9()};\ng.H.PO=function(W){this.wx.PO(W,this.H4())};\ng.H.Cw=function(W){this.Wt=!0;this.info.ob.Gw(this.SL,W.redirectUrl)};\ng.H.C3=function(W){this.Wz instanceof Hl&&this.Wz.C3(W)};\ng.H.AX=function(W){this.Wz instanceof Hl&&this.Wz.AX(W)};\ng.H.N$=function(W){var Y=W.formatId,k=dO({itag:Y.itag,lmt:Y.lmt,xtags:Y.xtags}),P,T,I=new Wn(((P=W.vv)==null?void 0:P.first)||0,((T=W.vv)==null?void 0:T.nE)||0),X,h;P=new Wn(((X=W.indexRange)==null?void 0:X.first)||0,((h=W.indexRange)==null?void 0:h.nE)||0);this.H6.J.get(k)||(k=W.yA||{},k.mimeType=W.mimeType,k.itag=Y.itag,k.lastModified=\"\"+(Y.lmt||0),k.xtags=Y.xtags,W=this.H6,Y=jA(\"\"),k=kL(k,null),kE(W,new aW(Y,k,I,P)))};\ng.H.Yp=function(W){this.wx.Yp(W,this.H4())};\ng.H.onSnackbarMessage=function(W){if(this.policy.S8)this.wx.onSnackbarMessage(W)};\ng.H.lW=function(W){this.policy.UP&&this.wx.lW(W,this.H4())};\ng.H.KY=function(W){this.GP=W;this.Yq.J=(0,g.lj)();this.wx.KY(W)};\ng.H.iB=function(W,Y,k){this.wx.iB(W,Y,k)};\ng.H.Zx=function(W){W.scope===2&&(this.SG=W);this.wx.Zx(W)};\ng.H.vO=function(){this.Cb=!0;this.wx.vO()};\ng.H.T4=function(W){this.policy.b3&&this.wx.T4(W)};\ng.H.wJ=function(W){this.wx.wJ(W,this.H4())};\ng.H.P9=function(W){W.Zh===3&&(this.cA=!0);this.wx.P9(W)};\ng.H.hd=function(W){this.wx.hd(W)};\ng.H.ym=function(W){this.wx.ym(W)};\ng.H.canRetry=function(){this.Xr();return this.Yq.canRetry(!1)};\ng.H.dispose=function(){if(!this.Xr()){g.D.prototype.dispose.call(this);this.Yq.dispose();var W;(W=this.lB)==null||W.dispose();this.ZY(-1);this.hp()}};\ng.H.ZY=function(W){this.state=W;Jk(this.wx,this)};\ng.H.Zw=function(){return this.info.Zw()};\ng.H.Ra=function(){return this.Cb};\ng.H.fm=function(){return this.SG};\ng.H.iM=function(W,Y,k){k.clipId&&(this.clipId=k.clipId);this.policy.K&&!Y&&(this.bv=k.e5);if(this.policy.ir&&this.info.isDecorated()){var P=this.info,T,I;var X=((T=P.data)==null?0:(I=T.h7)==null?0:I.VN)?P.data.h7.VN:-1;X>=0&&X>k.e5&&this.wx.loader.y5(\"sdai\",{skpsqmismatch:\"1\",stsq:X,rcvsq:k.e5,a:Y})}this.zj.iM(W,Y,k);this.policy.S6&&this.GP&&this.Wz instanceof nB&&(X=this.GP.M5,this.Wz.iM(k.durationMs/1E3,Y,X>0&&k.e5+1>=X));this.zj.jj.get(W).Uc=!0};\ng.H.gf=function(W,Y){this.zj.gf(W,Y)};\ng.H.A6=function(W){this.requestIdentifier=W};\ng.H.E3=function(W){return this.zj.E3(W)};\ng.H.rU=function(W){return this.zj.rU(W)};\ng.H.dX=function(W){return this.zj.dX(W)};\ng.H.Jg=function(){return this.zj.Jg()};\ng.H.Du=function(){return 1};\ng.H.H4=function(){return this.Wz.requestNumber};\ng.H.jp=function(){return this.requestIdentifier};\ng.H.OV=function(){return this.SL.OV()};\ng.H.tK=function(){this.hp()};\ng.H.hp=function(){this.Wz.deactivate();var W;(W=this.xhr)==null||W.abort()};\ng.H.isComplete=function(){return this.state>=3};\ng.H.uj=function(){return this.state===3};\ng.H.x4=function(){return this.state===5};\ng.H.UH=function(){return this.state===4};\ng.H.Eh=function(){return this.isComplete()};\ng.H.Q9=function(){return this.state>=1};\ng.H.td=function(){return this.policy.xq?this.Yq.td():0};\ng.H.W8=function(){this.policy.xq&&Jk(this.wx,this)};\ng.H.Uh=function(){return FPd(this.info)};\ng.H.NI=function(){return this.Yq.NI()};\ng.H.B3=function(){var W=RIS(this.Yq);Object.assign(W,Aa5(this.info));W.req=\"sabr\";W.rn=this.H4();var Y;if((Y=this.xhr)==null?0:Y.status)W.rc=this.policy.Ao?this.xhr.status:this.xhr.status.toString();var k;(Y=(k=this.xhr)==null?void 0:k.JD())&&(W.msg=Y);this.zI&&(k=Vx1(this,this.zI-this.Wz.YC()),W.letm=k.hF,W.mrbps=k.MF,W.mram=k.Ul);return W};pFq.prototype.tick=function(W,Y){this.ticks[W]=Y?window.performance.timing.navigationStart+Y:(0,g.lj)()};g.f(q$,g.tR);g.H=q$.prototype;\ng.H.Xf=function(W,Y,k,P){if(this.policy.Xo&&this.policy.K){var T=W.w5||null;T?(LBz(this,W.t5,i4(this,W.startTime,W.t5),{w5:T,t5:W.t5,qH:!!Y,qa:k},this.J),P&&this.J&&this.J.yN(W.t5,W.startTime,this.K,(Y==null?void 0:Y.W)||[],(Y==null?void 0:Y.K)||[],(Y==null?void 0:Y.T)||[],k,(Y==null?void 0:Y.MY)||0,(Y==null?void 0:Y.J)||void 0)):this.K===1&&qL(this,5,\"noad\")}else{var I=!1;this.policy.K&&(I=k?this.gD===W.t5:this.wD===W.t5);if(this.J&&P&&!I){P=[];I=[];var X=[],h=void 0,B=0;Y&&(P=Y.W,I=Y.K,X=Y.T,h=\nY.J,B=Y.MY,this.y5(\"sdai\",{sq:W.t5,ssvicpns:P.join(\".\"),ssvid:I.join(\".\")}));this.policy.K&&(k?this.gD=W.t5:this.wD=W.t5);this.J.yN(W.t5,W.startTime,this.K,P,I,X,k,B,h)}this.policy.K?k&&(this.K===1&&qL(this,5,\"noad\"),W.t5!==((T=this.W)==null?void 0:T.t5)&&(s4C(this,W,Y,k),isNaN(W.startTime)||bd0(this,W.t5,i4(this,W.startTime,W.t5),!!Y,this.J))):k&&s4C(this,W,Y)}};\ng.H.Kw=function(W,Y,k){var P=this.videoTrack.W.index.QU()<=Y;this.W={w5:W,t5:Y,qH:k};P&&Ny(this,W,Y)};\ng.H.Fc=function(){this.J&&this.J.Fc()};\ng.H.y5=function(W,Y,k){(W!==\"sdai\"||this.policy.qV||(k===void 0?0:k))&&this.loader.y5(W,Y)};\ng.H.E0=function(W,Y){var k=this.videoTrack.W.index.o7(W);if(k>=0){var P;var T=((P=Y.Ha.LK(k,2))==null?void 0:P.ih)||\"\";if(this.policy.K||T)return Y.U$(W,k),Z1(this.loader,W,W,k),this.y5(\"sdai\",{cmskpad:1,t:W.toFixed(3),sq:k}),!0}this.y5(\"sdai\",{cmskpad:0,t:W.toFixed(3),sq:k});return!1};g.H=J3q.prototype;g.H.uZ=function(W,Y,k){W=W||this.W;this.K.has(W)||(this.y5(\"sldai\",{setadconfig:\"noentry\",cid:W}),this.K.set(W,{event:\"unknown\",startTimeSecs:0,sV:0,mp:[],G7:Date.now(),Xt:-1,p7:6}));var P=this.K.get(W);P?Y?(P.p7=6,P.mp.push(k),P.c_=Y):P.p7=2:this.y5(\"sldai\",{setadconfig:\"notfound\",cid:W})};\ng.H.lW=function(W,Y,k){var P;if(!((((P=W.pk)==null?void 0:P.length)||0)<=0)&&(W=W.pk[0],W.w5)){var T;P=-(((T=W.w5)==null?void 0:T.Ui)||0);W.timeRange&&(P+=(W.timeRange.startTicks||0)/(W.timeRange.timescale||1));var I,X,h,B,O;T=new VK(P,((I=W.w5)==null?void 0:I.LWa)||0,((X=W.w5)==null?void 0:X.pU)||\"\",((h=W.w5)==null?void 0:h.identifier)||\"\",BLd(((B=W.w5)==null?void 0:B.event)||0),(((O=W.w5)==null?void 0:O.Ui)||0)*1E3);Pl1(this,T,Y,W.e5||0,k)}};\ng.H.U$=function(W,Y){this.a9(W);var k=this.K.get(this.W);k?(this.y5(\"ssskipad\",{cid:this.W,sn:Y,mt:W.toFixed(3)}),k.eG=Y):this.y5(\"ssskipadfail\",{cid:this.W,sn:Y,mt:W.toFixed(3)})};\ng.H.zV=function(){for(var W=g.e(this.K.values()),Y=W.next();!Y.done;Y=W.next())Y.value.eG=NaN};\ng.H.a9=function(W,Y){Y&&(this.T=Y);if(this.W&&(Y=this.K.get(this.W))&&Y.startTimeSecs<=W&&W<=Y.startTimeSecs+Y.sV)return;this.W=An0(this,W)};g.f(h3,g.D);h3.prototype.oA=function(W,Y,k){k=k===void 0?{}:k;this.policy.nh=g9(W,k,this.T,Y===void 0?!1:Y)};K3z.prototype.tP=function(W){var Y=this;if(this.policy.ix){var k=new Set(W);k.size===this.TJ.size&&[].concat(g.cp(k)).every(function(P){return Y.TJ.has(P)})||(this.loader.y5(\"lwnmow\",{itagDenylist:[].concat(g.cp(W)).join(\",\")}),this.loader.zb(!!k.size),this.N=-1,this.TJ=k,DT(this,this.W),this.Fr=!0)}};\nK3z.prototype.oA=function(W,Y,k){k=k===void 0?{}:k;var P=this.policy.nh;this.C.oA(W,Y===void 0?!1:Y,k);if(P!==this.policy.nh){DT(this,this.W);Rt(this);var T,I;P>this.policy.nh&&((T=this.J)==null?0:jQ(T.info))&&((I=this.nextVideo)==null||!jQ(I.info))&&(this.A5=!0)}};HH.prototype.v3=function(W){this.timestampOffset=W;this.flush()};\nHH.prototype.flush=function(){if(this.W.pos>0){var W={a:this.track.xH(),u:this.W.WK(),pd:Math.round(this.T),ad:Math.round(this.J)},Y=this.K;if(Y){var k=Y.W.info;W.itag=k.itag;k.W&&(W.xtags=k.W);W.sq=Y.t5;W.st=Y.startTime;W.sd=Y.duration;this.track.policy.v1&&(W.si=Y.TW());Y.T&&(W.esl=Y.K+Y.J);Y.IB()&&(W.eos=1)}isNaN(this.timestampOffset)||(W.to=this.timestampOffset);var P;if(Y=(P=this.track.qT)==null?void 0:P.ER({})){for(var T in Y)this.X[T]!==Y[T]&&(W[\"sb_\"+T]=Y[T]);this.X=Y}this.track.y5(\"sbu\",\nW);this.W.reset();this.buffered=[];this.C=this.J=this.T=0;this.timestampOffset=this.K=void 0}};bN.prototype.dispose=function(){this.Kg=!0};\nbN.prototype.Xr=function(){return this.Kg};\ng.f(fJ,Error);XS.prototype.skip=function(W){this.offset+=W};\nXS.prototype.X7=function(){return this.offset};g.H=M7C.prototype;g.H.CQ=function(){return this.K};\ng.H.nI=function(){return this.K.length?this.K[this.K.length-1]:null};\ng.H.l5=function(){this.K=[];UT(this);VW(this)};\ng.H.YB=function(W){this.GJ=this.K.shift().info;W.info.equals(this.GJ)};\ng.H.rU=function(){return g.Ab(this.K,function(W){return W.info})};\ng.H.xH=function(){return!!this.C.info.audio};\ng.H.isDrm=function(){return!!this.C.info.tY};\ng.H.getDuration=function(){return this.C.index.UI()};g.f(SE,$c);g.H=SE.prototype;g.H.onStateChange=function(){this.Xr()&&(OX(this.zj,this.formatId),this.W.dispose())};\ng.H.B3=function(){var W=wIX(this.zj,this.formatId),Y;var k=((Y=this.zj.jj.get(this.formatId))==null?void 0:Y.bytesReceived)||0;var P;Y=((P=this.zj.jj.get(this.formatId))==null?void 0:P.P$)||0;return{expected:W,received:k,bytesShifted:Y,sliceLength:xX(this.zj,this.formatId),isAnyMediaEndReceived:this.zj.k5(this.formatId)}};\ng.H.eR=function(){return 0};\ng.H.NR=function(){return!0};\ng.H.E3=function(){return this.zj.E3(this.formatId)};\ng.H.n3=function(){return[]};\ng.H.dX=function(){return this.zj.dX(this.formatId)};\ng.H.NI=function(){return this.lastError};\ng.H.td=function(){return 0};g.f(n_,g.D);g.H=n_.prototype;g.H.xH=function(){return!!this.W.info.audio};\ng.H.nI=function(){return this.T.nI()};\ng.H.YB=function(W){this.T.YB(W);var Y;(Y=this.L)!=null&&(Y.C.add(W.info.t5),Y.W=zR5(Y,Y.va,Y.Qy,W,Y.W),Y.J=W,Y.X=(0,g.lj)());this.c6=Math.max(this.c6,W.info.W.info.c6||0)};\ng.H.getDuration=function(){return this.W.index.UI()};\ng.H.l5=function(){Iy(this);this.T.l5()};\ng.H.HT=function(){return this.T};\ng.H.isRequestPending=function(W){return this.J.length?W===this.J[this.J.length-1].info.EP[0].t5:!1};\ng.H.v3=function(W){var Y;(Y=this.L)==null||Y.v3(W);var k;(k=this.N)==null||k.v3(W)};\ng.H.y5=function(W,Y){this.loader.y5(W,Y)};\ng.H.XZ=function(){return this.loader.XZ()};\ng.H.dispose=function(){var W;(W=this.N)==null||W.flush();g.D.prototype.dispose.call(this)};g.f(dT,g.D);dT.prototype.J=function(){this.K++>15||(this.W=!this.W,new qvd(this.loader,this.policy,this.Sj,this.ob,this.W),this.delay.start())};\ng.H=qvd.prototype;g.H.Jl=function(){};\ng.H.M8=function(){};\ng.H.zM=function(){if(!this.done)if(this.done=!0,this.xhr.status===200&&this.xhr.O0()===this.size)this.loader.y5(\"rqs\",this.getInfo());else{var W=\"net.connect\";this.xhr.status>200?W=\"net.badstatus\":this.xhr.Hw()&&(W=\"net.closed\");this.onError(W)}};\ng.H.onError=function(W){var Y=this;this.loader.handleError(W,this.getInfo());sa(\"https://www.gstatic.com/ytlr/img/sign_in_avatar_default.png?rn=\"+this.timing.requestNumber,\"gp\",function(k){Y.loader.y5(\"pathprobe\",k)},function(k){Y.loader.handleError(k.errorCode,k.details)})};\ng.H.getInfo=function(){var W=this.timing.iW();W.shost=Pd(79,this.location.b5);W.pb=this.size;return W};g.f(Dy,g.D);\nDy.prototype.G=function(W,Y){if(W.G){this.H6.isLive?(W=this.H6.UU&&this.H6.T?W.W.kB(this.H6.UU,!1):W.W.gT(Infinity),W.Cs=this.Cs):W=W.W.kB(0,!1);if(this.A5){var k=this.A5;W.Cs===0&&(W.C=k.L)}else W.C=this.N;return W}k=W.K;if(!k.W.sE())return k.W.xk()?(W=ZqV(this.C,W.W.info.c6,Y.W.info.c6,0),W=k.W.eB(k,W)):W=k.W.QE(k),W;var P=k.X-this.loader.getCurrentTime(),T=!k.range||k.J===0&&k.K===0?0:k.range.length-(k.K+k.J),I=k.W;this.Z4(W,P)&&T===0&&(this.H6.isManifestless?I=W.W:(I=k.startTime+p6,k.J&&(I+=k.duration),\np1(W,I),k=W.K,I=k.W));I.xk()?(T=this.J,Y=ZqV(this.C,I.info.c6,Y.W.info.c6,P,T.T.length>0&&T.L===0&&this.loader.y0),P=GD(W),W=k.W.eB(k,Y),(Y=W.J)&&W.EP.length>1&&(P||W.ob.J||W.EP[0].W!==k.W?W=k.W.eB(k,W.EP[0].J):(P=W.EP[W.EP.length-1],I=P.J/Y,!P.T&&I<.4&&(W=k.W.eB(k,Y-P.J))))):(k.t5<0&&(Y=uT(k),Y.pr=\"\"+W.J.length,this.loader.isSeeking()&&(Y.sk=\"1\"),Y.snss=k.G,this.loader.y5(\"nosq\",Y)),W=I.QE(k));if(this.policy.gD)for(k=g.e(W.EP),Y=k.next();!Y.done;Y=k.next())Y.value.type=6;return W};\nDy.prototype.Z4=function(W,Y){if(!GD(W)||!W.W.sE())return!1;var k=this.J.Fr||yOd(W)||Y<=this.policy.P1||this.J.A5;this.logger.debug(function(){return\"ready to adapt: \"+k+\", upgrade pending: \"+yOd(W)+\", health: \"+Y});\nreturn k};\nDy.prototype.iz=function(){g.D.prototype.iz.call(this)};\nvar p6=2/24;g.f(gK,g.D);gK.prototype.n_=function(W,Y,k){var P;var T=((P=this.K)==null?void 0:P.reason)===\"m\"?\"m\":this.K&&wez(this,this.K)?this.K.reason:\"a\";this.loader.n_(new oB(W,T,k));Ji(this.loader,Y,W,!0)};\ngK.prototype.vt=function(W,Y){for(var k=g.e(this.gD),P=k.next();!P.done;P=k.next())if(P.value.id===W)return this.C=this.H6.W[W],LN(this.l7)&&(this.A5=!0),W=new oB(this.C,Y?\"t\":\"m\"),Y&&(this.G=!0),W;this.J=[];return null};\ngK.prototype.oA=function(W,Y,k){k=k===void 0?{}:k;this.W.oA(W,Y===void 0?!1:Y,k)};we.prototype.setData=function(W,Y,k){var P=this;k=k===void 0?{}:k;if(Y==null?0:Y.Gn)this.xU=km0(this,Y,k),W.bu=this.ob.bu();if(this.Zw())return!0;this.data=W;this.W=Sxc(W,function(T,I){var X;(X=P.wx)==null||X.P7(T,I)},Y==null?void 0:Y.J);\nif(!this.W)return!1;this.K=g.Pi(this.W,Rrq);return!0};\nwe.prototype.Zw=function(){return this.requestType===1};\nwe.prototype.un=function(){var W;return((W=this.wx)==null?void 0:W.un())||0};\nwe.prototype.isDecorated=function(){var W;return!((W=this.data)==null||!W.h7)};O90.prototype.encrypt=function(W){(0,g.lj)();return this.W.W?EL7(this,W,this.iv):(new g.ju(this.W.K)).encrypt(W,this.iv)};\nO90.prototype.decrypt=function(W,Y){(0,g.lj)();return this.W.W?EL7(this,W,Y):(new g.ju(this.W.K)).decrypt(W,Y)};g.f(w$,g.D);w$.prototype.J=function(W,Y){if(Y){Y=Y instanceof g.uF?Y:SQ(this,Y);var k;((k=this.W.get(W))==null?void 0:Pd(77,k.location))!==Pd(70,Y)&&this.W.set(W,new OiF(Y,W))}else this.W.delete(W)};\nw$.prototype.load=function(){var W=this,Y,k,P,T,I,X,h,B,O,u;return g.v(function(Z){switch(Z.W){case 1:Y=W.W.get(0);g.Ta(Z,2);var M;if(M=Y&&!W.K)M=Pd(69,Y.location),M=W.K===us(M);if(M){Z.oi(4);break}return g.L(Z,Z3(W,W.K?2:0),5);case 5:if(k=Z.K)W.J(0,k),Rd(9,k)&&W.J(1,iF(26,k));case 4:g.Vi(Z,3);break;case 2:P=g.jh(Z);g.Jx(P);if(!W.K){Z.oi(3);break}W.K=!1;return g.L(Z,W.load(),7);case 7:return Z.return();case 3:if(!W.zJ.experiments.Nq(\"html5_onesie_probe_ec_hosts\")){Z.oi(0);break}g.Ta(Z,9);T=W;I=T.J;\nX=3;return g.L(Z,Z3(W,1),11);case 11:return I.call(T,X,Z.K),h=W,B=h.J,O=4,g.L(Z,Z3(W,2),12);case 12:B.call(h,O,Z.K);g.Vi(Z,0);break;case 9:u=g.jh(Z),g.Jx(u),g.I_(Z)}})};\nw$.prototype.G=function(){var W=this,Y,k;return g.v(function(P){g.Iv(W.L);Y=g.je(W.zJ.experiments,\"html5_onesie_prewarm_max_lact_ms\");if(Ud()>=Y)return P.return();(k=W.W.get(0))&&DAX(W,k);g.I_(P)})};\nvar aUS={xv1:0,Orz:1,vNg:2,XV2:3,G9P:4,0:\"PRIMARY\",1:\"SECONDARY\",2:\"RANDOM\",3:\"SENSITIVE_CONTENT\",4:\"C_YOUTUBE\"};Lh.prototype.decrypt=function(W){var Y=this,k,P,T,I,X,h;return g.v(function(B){switch(B.W){case 1:if(Y.W.length&&!Y.W[0].isEncrypted)return B.return();Y.K=!0;Y.Dr.VU(\"omd_s\");k=new Uint8Array(16);SM()?P=new g.iA(W):T=new g.ju(W);case 2:if(!Y.W.length||!Y.W[0].isEncrypted){B.oi(4);break}I=Y.W.shift();if(!P){X=T.decrypt(YE(I.buffer),k);B.oi(5);break}return g.L(B,P.decrypt(YE(I.buffer),k),6);case 6:X=B.K;case 5:h=X;for(var O=0;O=4)){var Y=nK(this),k=this.xhr;Y.rc=k.status;W&&(Y.ab=!0);if(k.JD()){var P=\"onesie.net\";Y.msg=k.JD()}else k.status>=400?P=\"onesie.net.badstatus\":k.E7()?this.Rm||(P=\"onesie.response.noplayerresponse\"):P=k.status===204?\"onesie.net.nocontent\":\"onesie.net.connect\";P?this.fail(new g.LT(P,Y)):(this.VU(\"or_fs\"),this.Wz.FS((0,g.lj)(),k.O0(),0),this.ZY(4),this.qv&&this.y5(\"rqs\",Y));this.qv&&this.y5(\"ombre\",\n\"ok.\"+ +!P);this.MX=!1;SI(this);ur0(this.Dr);if(!this.E9){this.uB.stop();var T;(T=this.jH)==null||T.stop()}var I;if(W=(I=this.vS)==null?void 0:Osq(I))for(I=0;I1E3){var W;(W=this.Wz)==null||W.p_((0,g.lj)());W=nK(this);if(this.zJ.OR()&&this.xhr instanceof A30){var Y=this.xhr;W.xrs=Y.xhr.readyState;W.xpb=Y.W.totalLength;W.xdc=Y.T}this.fail(new g.LT(\"net.timeout\",W))}}else(0,g.lj)()-this.Wz.W>1E4&&((Y=this.Wz)==null||Y.p_((0,g.lj)()),this.yl());this.isComplete()||this.h0.start()}};\ng.H.yl=function(){this.logger.info(\"Onesie request timed out\");this.MX=!1;if(!SI(this)){var W=nK(this);W.timeout=\"1\";this.fail(new g.LT(\"onesie.request\",W))}};\ng.H.fail=function(W){var Y=this;W=BH(W);this.Ys?this.W6.Pz(W):(this.fI.reject(W),this.Ys=!0);ur0(this.Dr);this.E9||this.uB.stop();this.VU(\"or_fe\");var k,P;(k=this.vS)==null||(P=Osq(k))==null||P.forEach(function(T){Y.y5(\"pathprobe\",T)});\nthis.ZY(5);this.dispose()};\ng.H.isComplete=function(){return this.state>=3};\ng.H.UH=function(){return this.state===4};\ng.H.Eh=function(W){var Y,k;return this.isComplete()||!!((Y=this.Sy)==null?0:(k=Y.get(W))==null?0:k.W)};\ng.H.uj=function(){return!1};\ng.H.x4=function(){return this.state===5};\ng.H.notifySubscribers=function(W){for(var Y=0;Y102400&&!this.Ty&&(this.VU(\"or100k\"),this.Ty=!0);if(W.Il()){var Y=W.wp(),k=Y.totalLength;this.logger.debug(function(){return\"handleAvailableSlices: slice length \"+k});\nthis.qv&&this.y5(\"ombrss\",\"len.\"+k);this.MB.feed(Y)}if(this.Sy)for(var P=g.e(this.Sy.keys()),T=P.next();!T.done;T=P.next()){var I=T.value;W=void 0;(W=this.Sy.get(I))==null||W.eY();this.notifySubscribers(I)}}catch(X){this.fail(X)}};\ng.H.H4=function(){return this.Wz.requestNumber};\ng.H.jp=function(W){return this.RL.get(W)};g.f(m6,g.D);g.H=m6.prototype;g.H.JU=function(W,Y){this.Kg=void 0;Bk2(this);HYF(this,W,Y)};\ng.H.I$=function(W){if(this.W.length===0)return!1;var Y=this.W[0];return Y instanceof Vg?W===this.loader.getCurrentTime()*1E3:!(Y instanceof s$&&NB7(Y.info))&&Math.abs(Y.Uh()-W)<50};\ng.H.u3=function(W){this.K=W;this.Kg=(0,g.lj)()+(W.backoffTimeMs||0)};\ng.H.PO=function(W,Y){if(W.action===void 0){var k=this.W6.sG();k!==void 0&&this.loader.Ed(k)}else if(W.action!==0||!this.V5)if(W.action===0&&this.policy.AS&&(W.action=2),W.In===\"sabr.malformed_config\"&&this.rD++<3)this.loader.handleError(\"sabr.malformed_config\",{action:W.action,rn:Y,retry:this.rD},0);else switch(W.In===\"sabr.malformed_config\"&&(W.action=2),k={},k.reason=W.In,k.action=W.action,k.rn=Y,W.action){case 1:this.policy.K&&this.L&&this.L.XM(void 0,void 0,k);break;case 0:this.V5=!0;this.videoData.Xj()&&\nthis.policy.K&&this.L&&this.L.XM(void 0,void 0,k,!1);this.loader.Zc(k);break;case 2:Ipd(W.In)!==\"sabr.config\"&&delete k.reason;this.loader.handleError(Ipd(W.In),k,1);break;case 3:this.policy.Gn&&((W=this.H6.N)!=null&&(W.L=!0),this.loader.handleError(\"sabr.hostfallback\",k))}};\ng.H.Zx=function(W){W&&(this.loader.y5(\"sabrctxt\",{onsbrctxt:W.type,scp:W.scope,dflt:W.sendByDefault}),W.type&&W.sendByDefault&&this.videoData.bz.add(W.type),W.scope!==2&&(W.type&&this.videoData.sabrContextUpdates.set(W.type,W),this.W6.Zx(W)))};\ng.H.vO=function(){};\ng.H.Yp=function(W,Y){if(this.policy.A7&&this.loader.Dn)this.loader.y5(\"sdai\",{ignSabrSeek:1,smt:W==null?void 0:W.mu,rn:Y});else if(W.mu!==void 0&&W.Cv){var k=W.mu/W.Cv;this.audioTrack.G=!1;this.videoTrack.G=!1;if(this.policy.A5||this.policy.FC||this.policy.n8)this.loader.qx.W=!1;var P=this.loader.ul(k,1);this.policy.bz&&this.policy.K&&this.loader.a9(P,Y);this.W6.getCurrentTime()!==k&&(Y={Fi:\"sabr_seek\",dT:!0,ED:!0},W.seekSource&&(Y.seekSource=W.seekSource),fm(this.loader,k+.1,Y))}};\ng.H.onSnackbarMessage=function(W){this.W6.publish(\"onSnackbarMessage\",W)};\ng.H.lW=function(W,Y){this.policy.UP&&this.N&&this.loader.lW(W,Y)};\ng.H.KY=function(W){W.M5&&W.yK&&QQ(this.H6,W.M5,W.yK);this.policy.Yi&&(W.JK&&W.pT&&(this.H6.UK=W.JK/W.pT),W.ea&&W.hV&&(this.H6.KL=W.ea/W.hV));oJ(this.videoData)&&!this.videoData.wD&&W.yK&&this.loader.ul(W.yK,1E3);W.IN!=null&&this.W6.e7(W.IN);W.B2&&(W=((0,g.lj)()-W.B2)/1E3,this.loader.BQ.NL(1,W))};\ng.H.P9=function(W){this.loader.P9(W)};\ng.H.HS=function(W){return this.videoData.bz.has(W)};\ng.H.iB=function(W,Y,k){this.policy.J&&this.loader.y5(\"sabrctxtplc\",{start:W?W.join(\"_\"):\"\",stop:Y?Y.join(\"_\"):\"\",discard:k?k.join(\"_\"):\"\"});if(W){W=g.e(W);for(var P=W.next();!P.done;P=W.next())this.videoData.bz.add(P.value)}if(Y)for(Y=g.e(Y),W=Y.next();!W.done;W=Y.next())W=W.value,this.videoData.bz.has(W)&&this.videoData.bz.delete(W);if(k)for(k=g.e(k),Y=k.next();!Y.done;Y=k.next())if(Y=Y.value,this.videoData.sabrContextUpdates.has(Y)&&this.videoData.sabrContextUpdates.delete(Y),this.policy.N&&this.W.length)for(W=\ng.e(this.W),P=W.next();!P.done;P=W.next())if(P=P.value,!(P instanceof Vg)){var T=void 0;((T=P.SG)==null?void 0:T.type)===Y&&(P.SG=void 0)}};\ng.H.T4=function(){};\ng.H.Ue=function(W){this.G=W};\ng.H.OD=function(W){this.X=W};\ng.H.wJ=function(W,Y){QZ(this.policy,W,4,Y)};\ng.H.hd=function(W){if(W==null?0:W.i6)if(W=W.i6.NU){W=g.e(W);for(var Y=W.next();!Y.done;Y=W.next())if(Y=Y.value,Y.formatId){var k=this.H6.J.get(dO(Y.formatId));k&&k.info&&(k.info.debugInfo=Y.debugInfo)}}};\ng.H.ym=function(W){this.W6.publish(\"reloadplayer\",W)};\ng.H.B5=function(){return this.W6.B5()||\"\"};\ng.H.un=function(){var W=M4(this.audioTrack,!0)*1E3,Y=M4(this.videoTrack,!0)*1E3;return Math.min(W,Y)};\ng.H.P7=function(W,Y){this.loader.y5(W,Y)};\ng.H.Gp=function(W){nb(this.loader,kqS(this.bz,W))};\ng.H.iz=function(){g.D.prototype.iz.call(this);this.K=void 0;HYF(this,!0,\"i\");this.W=[]};aB.prototype.A5=function(W){aN(W.state)&&tt2(this.T)};\naB.prototype.JX=function(){this.isSeeking=!0;this.W===1&&WWv(this.T);this.W===0&&this.Pk.fq(\"transitiondetector\");this.X=!1};B7.prototype.u7=function(W,Y){if(this.T)return j70(this,Y);if(Y=ib(W)){var k=Y.W;k&&k.J&&k.W&&(W=W.J.length?W.J[0]:null)&&W.state>=2&&!W.x4()&&W.info.Cs===0&&(this.T=W,this.G=k,this.K=Y.info,this.X=this.startTimeSecs=Date.now()/1E3,this.C=this.K.startTime)}return NaN};\nB7.prototype.clear=function(){this.K=this.G=this.T=null;this.W=this.C=this.X=this.startTimeSecs=NaN;this.J=!1};g.f(Wq,g.D);Wq.prototype.iz=function(){EMS(this);g.D.prototype.iz.call(this)};var hz0=/[?&]cpn=/;g.f(YO,g.D);YO.prototype.flush=function(){var W={};this.K&&(W.pe=this.K);this.W.length>0&&(W.pt=this.W.join(\".\"));this.W=[];return W};\nYO.prototype.stop=function(){var W=this,Y,k,P;return g.v(function(T){if(T.W==1)return g.Ta(T,2),g.L(T,(Y=W.T)==null?void 0:Y.stop(),4);if(T.W!=2)return(k=T.K)&&W.logTrace(k),g.Vi(T,0);P=g.jh(T);W.K=oD1(P.message);g.I_(T)})};\nYO.prototype.logTrace=function(W){this.encoder.reset();this.encoder.add(1);this.encoder.add(W.resources.length);for(var Y=g.e(W.resources),k=Y.next();!k.done;k=Y.next()){k=k.value.replace(\"https://www.youtube.com/s/\",\"\");this.encoder.add(k.length);for(var P=0;P=0?W:g.Jj(this.provider),this.wD?xvw.has(this.b7)&&(this.W.size||(this.b7===\"PL\"?W>=this.K+30:W<=this.A5+30||W>=this.K+1200&&W<=this.A5+86400))&&(g.xd(this,W,\"vps\",[this.b7]),this.K=W):[\"PL\",\"B\",\"S\"].indexOf(this.b7)>-1&&(this.W.size||W>=this.K+30)&&(g.xd(this,W,\"vps\",[this.b7]),this.K=W),this.W.size)){this.sequenceNumber===7E3&&g.Jx(Error(\"Sent over 7000 pings\"));if(!(this.sequenceNumber>=7E3)){Wy(this,W);var Y=this.provider.W6.Jx();\nY=g.e(Y);for(var k=Y.next();!k.done;k=Y.next())k=k.value,this.y5(k.key,k.value);Y=W;k=this.provider.W6.Ea();var P=k.droppedVideoFrames||0,T=k.totalVideoFrames||0,I=P-this.Sh,X=T&&!this.CS;P>k.totalVideoFrames||I>5E3?Qb2(this,\"html5.badframedropcount\",\"df.\"+P+\";tf.\"+k.totalVideoFrames):(I>0||X)&&g.xd(this,Y,\"df\",[I]);this.Sh=P;this.CS=T;this.L>0&&(g.xd(this,W,\"glf\",[this.L]),this.L=0);j3.isActive()&&(W=j3.d8(),Object.keys(W).length>0&&this.y5(\"profile\",W));this.J9&&wq(this,\"lwnmow\");this.provider.zJ.OR()&&\nthis.provider.U(\"html5_record_now\")&&this.y5(\"now\",{wt:(0,g.lj)()});W={};this.provider.videoData.K&&(W.fmt=this.provider.videoData.K.itag,(Y=this.provider.videoData.T)&&Y.itag!==W.fmt&&(W.afmt=Y.itag));W.cpn=this.provider.videoData.clientPlaybackNonce;this.adCpn&&(W.adcpn=this.adCpn);this.zS&&(W.addocid=this.zS);this.contentCpn&&(W.ccpn=this.contentCpn);this.gD&&(W.cdocid=this.gD);this.provider.videoData.cotn&&(W.cotn=this.provider.videoData.cotn);W.el=zV(this.provider.videoData);W.content_v=E7(this.provider.videoData);\nW.ns=this.provider.zJ.A5;W.fexp=O7X(this.provider.zJ.experiments).toString();W.cl=(796671093).toString();(Y=this.provider.videoData.adFormat||this.adFormat)&&(W.adformat=Y);(Y=u8(this.provider.videoData))&&(W.live=Y);this.provider.videoData.t$()&&(W.drm=1,this.provider.videoData.C&&(W.drm_system=QX1[this.provider.videoData.C.flavor]||0),this.provider.videoData.drmProduct&&(W.drm_product=this.provider.videoData.drmProduct));NU()&&this.provider.videoData.X&&(W.ctt=this.provider.videoData.X,W.cttype=\nthis.provider.videoData.Mv,this.provider.videoData.mdxEnvironment&&(W.mdx_environment=this.provider.videoData.mdxEnvironment));this.provider.videoData.isDaiEnabled()?(W.dai=this.provider.videoData.enableServerStitchedDai?\"ss\":\"cs\",this.provider.videoData.qZ&&(W.dai_fallback=\"1\")):this.provider.videoData.U1?W.dai=\"cs\":this.provider.videoData.S8&&(W.dai=\"disabled\");W.seq=this.sequenceNumber++;if(this.provider.videoData.bk){if(Y=this.provider.videoData.bk,W&&Y)for(Y.ns===\"3pp\"&&(W.ns=\"3pp\"),this.UV.has(Y.ns)&&\nwq(this,\"hbps\"),Y.shbpslc&&(this.serializedHouseBrandPlayerServiceLoggingContext=Y.shbpslc),this.provider.zJ.experiments.Nq(\"html5_use_server_qoe_el_value\")&&this.bz.delete(\"el\"),k=g.e(Object.keys(Y)),P=k.next();!P.done;P=k.next())P=P.value,this.bz.has(P)||(W[P]=Y[P])}else W.event=\"streamingstats\",W.docid=this.provider.videoData.videoId,W.ei=this.provider.videoData.eventId;this.isEmbargoed&&(W.embargoed=\"1\");Object.assign(W,this.provider.zJ.W);if(Y=W.seq)Y={cpn:this.provider.videoData.clientPlaybackNonce,\nsequenceNumber:+Y,serializedWatchEndpointLoggingContext:this.provider.videoData.Bc2},this.serializedHouseBrandPlayerServiceLoggingContext&&(Y.serializedHouseBrandPlayerServiceLoggingContext=o5(this.serializedHouseBrandPlayerServiceLoggingContext)||void 0),this.provider.videoData.playerResponseCpn&&(Y.playerResponseCpn=this.provider.videoData.playerResponseCpn),aO.length&&(Y.decoderInfo=aO),this.remoteControlMode&&(Y.remoteControlMode=this.remoteControlMode),this.remoteConnectedDevices.length&&(Y.remoteConnectedDevices=\nthis.remoteConnectedDevices),Y=g.Pi(Y,qDV),Y=g.Pk(Y,4),this.W.set(\"qclc\",[Y]);W=g.YW(\"//\"+this.provider.zJ.wi+\"/api/stats/qoe\",W);k=Y=\"\";P=g.e(this.W.entries());for(T=P.next();!T.done;T=P.next())I=g.e(T.value),T=I.next().value,I=I.next().value,X=void 0,(X=I)!=null&&X.join&&(T=\"&\"+T+\"=\"+I.join(\",\"),T.length>100?k+=T:Y+=T);pJ1(this,W+Y,k.replace(/ /g,\"%20\"))}this.W.clear()}};\ng.H.zb=function(W){this.J9=W};\ng.H.gL=function(){if(this.provider.videoData.C){var W=this.provider.videoData.C;wq(this,\"eme-\"+(W.keySystemAccess?\"final\":f6(W)?\"ms\":jV(W)?\"ytfp\":ipv(W)?\"safarifp\":\"nonfinal\"))}};\ng.H.Bu=XC(53);g.H.aZ=function(W){this.isEmbargoed=W};\ng.H.l_=XC(30);g.H.cK=XC(36);g.H.onPlaybackRateChange=function(W){var Y=g.Jj(this.provider);W&&W!==this.tT&&(g.xd(this,Y,\"rate\",[W]),this.tT=W);this.wD||this.reportStats(Y)};\ng.H.Kh=XC(24);g.H.getPlayerState=function(W){if(g.p(W,128))return\"ER\";if(g.p(W,2048))return\"B\";if(g.p(W,512))return\"SU\";if(g.p(W,16)||g.p(W,32))return\"S\";if(W.isOrWillBePlaying()&&g.p(W,64))return\"B\";var Y=f$B[I4(W)];g.l_(this.provider.zJ)&&Y===\"B\"&&this.provider.W6.getVisibilityState()===3&&(Y=\"SU\");Y===\"B\"&&g.p(W,4)&&(Y=\"PB\");return Y};\ng.H.BO=function(W){var Y=g.Jj(this.provider);g.xd(this,Y,\"vfi\",[W===0?\"\":\"\"+W,W===0?\"A\":\"M\"])};\ng.H.iz=function(){g.D.prototype.iz.call(this);g.hl(this.Kg);g.hl(this.Gn)};\ng.H.f3=function(W){this.isOffline=W;g.xd(this,g.Jj(this.provider),\"is_offline\",[this.isOffline?\"1\":\"0\"])};\ng.H.y5=function(W,Y,k){var P=this.rZ.indexOf(W)!==-1;P||this.rZ.push(W);if(!k||!P){var T=typeof Y!==\"string\"?l4(Y):Y;T=Nl7(T);if(!k&&!/^t[.]/.test(T)){var I=g.Jj(this.provider)*1E3;T=\"t.\"+I.toFixed()+\";\"+T}NI(this,\"ctmp\",W+\":\"+T);this.logger.debug(function(){return\"ctmp \"+W+\" \"+T});\nuS(this);return I}};\ng.H.uM=function(W,Y,k){this.C={ezP:Number(this.y5(\"glrem\",{nst:W.toFixed(),rem:Y.toFixed(),ca:+k})),YO:W,xa5:Y,isAd:k}};\ng.H.iZ=function(W,Y,k){g.xd(this,g.Jj(this.provider),\"ad_playback\",[W,Y,k])};\ng.H.gP=function(W,Y){var k=g.Jj(this.provider)*1E3;NI(this,\"daism\",\"t.\"+k.toFixed(0)+\";smw.\"+(W*1E3).toFixed(0)+\";smo.\"+(Y*1E3).toFixed(0))};\ng.H.resume=function(){var W=this;isNaN(this.Kg)?c5d(this):this.Kg=g.mW(function(){W.reportStats()},1E4)};\nvar pE={},f$B=(pE[5]=\"N\",pE[-1]=\"N\",pE[3]=\"B\",pE[0]=\"EN\",pE[2]=\"PA\",pE[1]=\"PL\",pE[-1E3]=\"ER\",pE[1E3]=\"N\",pE),xvw=new Set([\"PL\",\"B\",\"S\"]),aO=[];g.f(g.yZ,g.D);g.H=g.yZ.prototype;g.H.initialize=function(W,Y,k){this.logger.debug(function(){return\"Initialized, t=\"+W});\nW=W||0;this.policy.W||(Y=m8C(this.W),y4(this.W6,new oB(Y.video,Y.reason)),this.W6.xX(new oB(Y.audio,Y.reason)));this.policy.W&&SDV(this);this.H6.isManifestless&&EBd(this.C);this.G&&Z_d(this.G,this.videoTrack.W);Y=isNaN(this.getCurrentTime())?0:this.getCurrentTime();var P=!this.H6.isManifestless;this.policy.O2&&(P=P||this.H6.Fj);if(!this.policy.TJ||this.policy.f1)this.currentTime=P?W:Y;this.policy.A5&&this.seek(this.getCurrentTime(),{}).MA(function(){});\nif(this.policy.W){var T;((T=this.A5)==null?0:Bt6(T,this.B5()||\"\"))&&VJ6(this)&&otC(this,this.videoTrack)&&otC(this,this.audioTrack)&&(KDX(this.K,this.A5),this.policy.C&&MC1(this))}else this.wD&&(NKF(this,this.videoTrack),NKF(this,this.audioTrack),in2(this.wD),delete this.wD);k?(jw0(this,!1),g.Iv(this.Da)):(k=this.getCurrentTime()===0,X0(this.C,this.videoTrack,this.videoTrack.W,k),X0(this.C,this.audioTrack,this.audioTrack.W,k),this.policy.W&&kPv(this.K,!0),this.policy.A5||this.seek(this.getCurrentTime(),\n{}).MA(function(){}),this.timing.tick(\"gv\"));\n(this.H6.UU||this.H6.UA||this.H6.gD||this.H6.J9||this.H6.Gn)&&this.W6.k9(this.H6)};\ng.H.resume=function(){if(this.isSuspended||this.y0){this.logger.debug(\"Resumed.\");this.VM=this.y0=this.isSuspended=!1;try{this.u7()}catch(W){g.LH(W)}}};\ng.H.BA=function(){return!this.policy.AC};\ng.H.Oo=function(W,Y){W=W===void 0?!1:W;Y=Y===void 0?!1:Y;this.logger.debug(\"detaching media source\");Cwz(this);this.W6.Jf()&&(this.X=NaN);W?(this.logger.debug(\"enable updateMetadataWithoutMediaSource\"),this.policy.OP&&this.y5(\"loader\",{setsmb:1}),this.policy.gD=!0,this.l5()):(jw0(this,!1),Y||this.l5())};\ng.H.setAudioTrack=function(W,Y,k){k=k===void 0?!1:k;if(!this.Xr()){var P=!isNaN(Y);k&&P&&(this.audioTrack.Kg=Date.now(),this.policy.jW&&(this.e1=!0));if(this.policy.W){var T=this.T.vt(W.id,P);this.logger.debug(function(){return\"Logging new audio format: \"+T.W.info.id});\nthis.W6.xX(T)}else{var I=bzC(this.W,W.id,P);this.logger.debug(function(){return\"Logging new audio format: \"+I.audio.info.id});\nthis.W6.xX(new oB(I.audio,I.reason))}P?(this.J9=Date.now(),k=this.audioTrack.W.index.o7(Y),this.y5(\"setAudio\",{id:W.id,cmt:Y,sq:k}),k>=0&&(W=this.policy.Ci?k+1:k,this.policy.W&&this.JU(!0,\"mosaic\"),FBz(this.audioTrack,W,NaN,NaN),!this.policy.CN&&this.H6.isLive&&XW(this.H6,W,!1))):this.W6.yg()}};\ng.H.setPlaybackRate=function(W){W!==this.N.getPlaybackRate()&&this.N.setPlaybackRate(W)};\ng.H.fS=function(W){var Y=this.K.G;this.K.Ue(W);this.y5(\"scfidc\",{curr:dO(Y),\"new\":dO(W)});W&&dO(W)!==dO(Y)&&(this.JU(!0,\"caption change\"),this.u7())};\ng.H.Z8=function(W){this.K.OD(W)};\ng.H.n_=function(W){var Y=W.W.info.xH();this.logger.debug(function(){return\"New \"+(Y?\"audio\":\"video\")+\" format from SABR: \"+dr(W.W.info)});\nY?this.W6.xX(W):y4(this.W6,W)};\ng.H.Gp=function(W){Z2(W.EP[W.EP.length-1])&&nb(this,kqS(this.W,W.EP[0].W))};\ng.H.Dj=function(){return this.W6.Dj()};\ng.H.jC=function(){return this.W6.jC()};\ng.H.P9=function(W){this.W6.V().OR()&&this.y5(\"sps\",{status:W.Zh||\"\"});if(W.Zh===1)this.W6.videoData.pB=0;else if(W.Zh===2||W.Zh===3){var Y=!1;if(W.Zh===3){Y=this.W6.u2();var k;this.DY=(k=W.Imq)!=null?k:Infinity;this.W6.videoData.pB=Y+1;(Y=dg2(this))&&this.TZ(!0)}this.W6.uf(!0,Y)}};\ng.H.lC=function(){return this.W6.lC()};\ng.H.R7=function(){return this.W6.R7()};\ng.H.nw=function(W){this.W6.nw(W)};\ng.H.p5P=function(){var W,Y=(W=this.W6.bd())==null?void 0:W.getCurrentTime();Y?this.W6.y5(\"rms\",{cta:Y}):g.Iv(this.xq)};\ng.H.u7=function(){fo(this);if(this.j1&&WE(this.j1)&&!this.j1.j6()&&(!this.policy.TJ||isFinite(this.getCurrentTime()))){var W=Qg(this.videoTrack);W=this.policy.mX&&W&&W.IB();this.H6.isManifestless&&this.H6.T&&SA(this.H6)?(this.X=SA(this.H6),this.j1.Nv(this.X)):iZ(this.H6)&&!W?isNaN(this.X)?(this.X=this.getCurrentTime()+3600,this.j1.Nv(this.X)):this.X<=this.getCurrentTime()+1800&&(this.X=Math.max(this.X+1800,this.getCurrentTime()+3600),this.j1.Nv(this.X)):this.j1.isView||(W=Math.max(this.audioTrack.getDuration(),\nthis.videoTrack.getDuration()),(!isFinite(this.X)||this.X!==W)&&W>0&&(this.j1.Nv(W),this.X=W))}if(!this.Xr())if(p_(this.H6)&&this.H6.x4()){var Y=this.H6;this.handleError(\"manifest.net.retryexhausted\",Y.bz?{rc:Y.Zg}:{rc:Y.Zg.toString()},1)}else if(this.policy.W)a:{try{wD(this.K);this.H6.isManifestless&&this.policy.C&&Wm(this.qx);var k;((k=this.j1)==null?0:h9(k))&&this.pS();kPv(this.K)}catch(X){g.Jx(X);Y=X;if(Y.message.includes(\"changeType\")){this.y5(\"ctype\",{exp:Y.name,msg:Y.message,s:Y.stack});break a}this.handleError(\"fmt.unplayable\",\n{exp:Y.name,msg:Y.message,s:Y.stack,trg:\"sabrslicerqt\"},1)}sJ7(this);g.Iv(this.Q5)}else if(!this.H6.K||!fU1(this.videoTrack)&&!fU1(this.audioTrack)||(this.videoTrack.C||this.audioTrack.C)&&this.policy.K1?k=!1:(this.l5(),this.W6.seekTo(Infinity,{Fi:\"checkLoaderTracksSync\",ul:!0}),k=!0),!k){fo(this);this.H6.isManifestless&&(XX7(this.videoTrack),XX7(this.audioTrack),Wm(this.qx),(k=ib(this.videoTrack))&&k.W&&(k=k.W.J&&!this.policy.YJ,this.y5(k===this.policy.G.Ch?\"strm\":\"strmbug\",{strm:k,sfmp4:this.policy.G.Ch,\ndfs:this.policy.YJ},!0)));if(this.j1)this.pS();else if(this.policy.T){var P;k=!1;if(this.policy.a8){var T;W=g.e([this.videoTrack,this.audioTrack]);for(T=W.next();!T.done;T=W.next()){var I=T.value;for(T=ib(I);T&&I.nI()!==Qg(I);T=ib(I))I.YB(T);k=k||!!T}}else(Y=ib(this.videoTrack))&&this.videoTrack.YB(Y),(P=ib(this.audioTrack))&&this.audioTrack.YB(P);Rb(this.videoTrack)&&Rb(this.audioTrack)?this.logger.debug(\"Received all background data; disposing\"):(Y||P||k)&&$m(this)}pb(this);X0(this.C,this.videoTrack,\nthis.videoTrack.W,!1);X0(this.C,this.audioTrack,this.audioTrack.W,!1);this.policy.yS||j9d(this,this.videoTrack,this.audioTrack);dSC(this.C,this.videoTrack,this.audioTrack);dSC(this.C,this.audioTrack,this.videoTrack);sJ7(this);this.G&&(Y=this.G,Y.T?(P=Y.X+Y.policy.lM,Y.J||(P=Math.min(P,Y.startTimeSecs+Y.policy.uv)),Y=Math.max(0,P*1E3-Date.now())):Y=NaN,isNaN(Y)||g.Iv(this.rZ,Y));g.Iv(this.Q5)}};\ng.H.Zc=function(W){this.W6.Zc(W)};\ng.H.pS=function(){var W=this;if(this.j1){var Y=this.j1.W,k=this.j1.K;Jqp(this,this.audioTrack);Jqp(this,this.videoTrack);var P=lcB(this);if(P){if(this.policy.No){if(!Y.gq()){var T=ib(this.audioTrack);if(T){if(!dK(this,this.audioTrack,Y,T.info))return;$E(this,this.audioTrack,Y,T)}}if(!k.gq()&&(T=ib(this.videoTrack))){if(!dK(this,this.videoTrack,k,T.info))return;$E(this,this.videoTrack,k,T)}}this.Kg||(this.Kg=(0,g.lj)(),this.logger.debug(function(){return\"Appends pause start \"+W.Kg+\" reason \"+P}),this.policy.J&&\nthis.y5(\"apdps\",{r:P}))}else if(this.Kg&&(CH7(this,this.Kg),this.Kg=0),kN0(this),T=!1,YKi(this,this.videoTrack,k)&&(T=!0,IU2(this.timing),T71(this.timing)),this.j1&&!this.j1.Lu()&&(YKi(this,this.audioTrack,Y)&&(T=!0,zWX(this.timing),baV(this.timing)),!this.Xr()&&this.j1))!this.policy.AC&&Rb(this.videoTrack)&&Rb(this.audioTrack)&&WE(this.j1)&&!this.j1.j6()&&(k=!1,k=Qg(this.audioTrack).W,k=k===this.H6.W[k.info.id])&&(this.logger.debug(\"Setting EOS\"),pT7(this.j1),dkC(this.schedule),this.Y0(\"e\")),T&&\n!this.j1.isAsync()&&$m(this)}};\ng.H.Y0=function(W){if(this.H6.isManifestless){var Y=this.videoTrack.W;if(Y){var k=Y.index.QU(),P=-1,T=-1;Y.index instanceof d$&&(P=Y.index.GG(),T=Y.index.UI());this.W6.Y0(W,k,P,T)}}};\ng.H.yO=function(W){var Y,k=W===((Y=this.j1)==null?void 0:Y.W)?this.audioTrack:this.videoTrack,P;if((P=ib(k))==null?0:P.isLocked){if(this.W6.V().OR()){var T;this.y5(\"eosl\",{ounlock:(T=ib(k))==null?void 0:T.info.TW()})}var I;E4(this,W===((I=this.j1)==null?void 0:I.W))}var X;if(this.policy.jW&&W===((X=this.j1)==null?void 0:X.W)&&this.Lg){Y=this.Lg-this.getCurrentTime();var h;this.W6.y5(\"asl\",{l:Y,xtag:(h=Qg(this.audioTrack))==null?void 0:h.W.info.W});this.e1=!1;this.Lg=0}W.IM()&&W.Mt().length===0&&(W.pK(),\nthis.j1&&!this.j1.IM()&&(this.W6.V().OR()&&this.W6.y5(\"rms\",{ld:\"seek\"}),this.j1.X=performance.now(),this.W6.z5(),this.W6.V().OR()&&g.Iv(this.xq)));var B;(B=k.N)!=null&&zG(B,0);this.policy.tT?hP(this):this.u7()};\ng.H.c56=function(W){if(this.j1){var Y=Qg(W===this.j1.W?this.audioTrack:this.videoTrack);if(W=W.ZF())for(var k=0;k5&&h.A5.shift();Y=Y.t5;var B;if((B=this.W6.getVideoData())==null?0:B.enableServerStitchedDai)B=htq(this.audioTrack,Y),k=htq(this.videoTrack,Y),B!==0&&k!==0&&B!==k&&this.handleError(\"ssdai.avsync\",{sq:Y,a:B,v:k},0)}};\ng.H.Kw=function(W,Y,k,P){W.info.video&&this.J.Kw(Y,k,P)};\ng.H.tP=function(W){this.W.tP(W)};\ng.H.b0=XC(12);g.H.BY=function(){if(g.p(this.W6.getPlayerState(),8)){var W,Y,k=(Y=(W=this.W6.bd())==null?void 0:W.getCurrentTime())!=null?Y:this.W6.getCurrentTime(),P;(P=this.A9)==null||G87(P,k)}var T;(T=this.xm)==null||g.Iv(T)};\ng.H.o_=function(){return this.videoTrack.G||this.audioTrack.G};\ng.H.seek=function(W,Y){if(this.Xr())return m5();if(this.o_())return m5(\"seeking to head\");if(this.policy.A5&&!isFinite(W))return i_1(this.qx),g.cq(Infinity);fo(this);SDV(this);this.policy.W||pb(this,W);this.j1&&this.j1.W&&this.j1.K&&!this.W6.getVideoData().B_&&(this.j1.W.isLocked()||this.j1.K.isLocked())&&this.W6.yg({reattachOnLockedBuffer:1,vsb:\"\"+this.j1.K.isLocked(),asb:\"\"+this.j1.W.isLocked()});var k=this.getCurrentTime(),P=this.qx.seek(W,Y);if(!this.policy.TJ||this.policy.f1)this.currentTime=\nP;Mv(this.J,W,k,this.policy.SB&&!Y.dT);$m(this);return g.cq(P)};\ng.H.I$=function(W){return this.policy.W&&this.K.I$(W)};\ng.H.HS=function(W){return this.K.HS(W)};\ng.H.JU=function(W,Y){this.K.JU(W,Y)};\ng.H.getCurrentTime=function(){if(this.policy.TJ){var W=this.m2()||0;return this.W6.getCurrentTime(!0)-W}return this.currentTime};\ng.H.Cm=function(){return this.audioTrack.W.info};\ng.H.Qg=function(){return this.videoTrack.W.info};\ng.H.D$=function(){return this.audioTrack.W.info.lz};\ng.H.Qs=function(){return this.videoTrack.W.info.lz};\ng.H.iz=function(){try{this.Oo(),Iy(this.audioTrack),Iy(this.videoTrack),le(this.audioTrack),le(this.videoTrack),this.audioTrack.dispose(),this.videoTrack.dispose(),g.D.prototype.iz.call(this)}catch(W){g.LH(W)}};\ng.H.handleError=function(W,Y,k){k=k===void 0?0:k;var P=CT(k);W===\"fmt.unplayable\"&&this.H6.isLive&&(this.policy.No=!1,EH(this.H6));Y=new g.LT(W,Y,k);g.Sh(this);l4(Y.details);this.W6.handleError(Y);W!==\"html5.invalidstate\"&&Y.errorCode!==\"fmt.unplayable\"&&W!==\"fmt.unparseable\"&&P&&this.dispose()};\ng.H.ER=function(){var W=Qg(this.audioTrack),Y=Qg(this.videoTrack);W={lct:this.getCurrentTime().toFixed(3),lsk:this.qx.isSeeking(),lmf:this.W.W.isLocked(),lbw:io(this.schedule).toFixed(3),lhd:lw(this.schedule).toFixed(3),lst:((this.schedule.G.le()||0)*1E9).toFixed(3),laa:W?W.TW():\"\",lva:Y?Y.TW():\"\",lar:this.audioTrack.K?this.audioTrack.K.TW():\"\",lvr:this.videoTrack.K?this.videoTrack.K.TW():\"\",laq:\"\"+tW(this.audioTrack),lvq:\"\"+tW(this.videoTrack)};this.j1&&!this.j1.Lu()&&this.j1.W&&this.j1.K&&(W.lab=\npH(this.j1.W.Mt()),W.lvb=pH(this.j1.K.Mt()));this.Kg&&(W.lapt=((0,g.lj)()-this.Kg).toFixed(0),W.lapr=lcB(this));this.Fr&&(W.lapmabht=((0,g.lj)()-this.Fr).toFixed(0),W.lapmabh=UU(this,this.audioTrack).toFixed(0));this.V5&&(W.lapmvbht=((0,g.lj)()-this.V5).toFixed(0),W.lapmvbh=UU(this,this.videoTrack).toFixed(0));this.GJ&&(W.lapsdai=((0,g.lj)()-this.GJ).toFixed(0));return W};\ng.H.l5=function(){try{this.policy.W&&this.K.JU(!1,\"pending\"),this.audioTrack.l5(),this.videoTrack.l5()}catch(W){g.LH(W)}this.policy.T=\"\"};\ng.H.pm=function(){return KH(this.N)};\ng.H.y5=function(W,Y,k){this.W6.y5(W,Y,k===void 0?!1:k)};\ng.H.B5=function(){return this.W6.B5()};\ng.H.ul=function(W,Y){W/=Y;isNaN(this.timestampOffset)&&FI(this,W-Math.min(W,this.policy.CB));return(W-this.timestampOffset)*Y};\ng.H.m2=function(){return this.timestampOffset};\ng.H.isSeeking=function(){return this.qx.isSeeking()};\ng.H.Fc=function(){this.J.Fc()};\ng.H.oA=function(W,Y,k){Y=Y===void 0?!1:Y;k=k===void 0?{}:k;this.policy.W?this.T.oA(W,Y,k):this.W.oA(W,Y,k)};\ng.H.E0=function(W,Y){if(this.policy.K&&this.policy.Jj&&(this.Dn||this.isSeeking()))return this.y5(\"sdai\",{ignoreSkip:\"1\",isSkip:this.Dn,isSeek:this.isSeeking(),t:W.toFixed(3)}),!1;if(this.L&&this.J.E0(W,this.L)){this.policy.K&&this.policy.Jj&&(this.y5(\"sdai\",{skipAdStd:\"1\"}),this.Dn=!0);if(this.policy.bz&&this.policy.K){var k=this.videoTrack.W.index.o7(W),P;(P=this.gD)==null||P.U$(W,k)}FI(this,this.timestampOffset-Y);$m(this);this.policy.K&&(EH(this.H6),le(this.audioTrack),le(this.videoTrack),this.l5());\nreturn!0}Y=this.videoTrack.W.index.o7(W);this.handleError(\"ad.skipfailed\",{dec:!!this.L,t:W.toFixed(3),sq:Y});return!1};\ng.H.getManifest=function(){return this.H6};\ng.H.isOffline=function(){return!!this.W6.getVideoData().cotn};\ng.H.Dl=function(W,Y){this.W6.Dl(W,Y)};\ng.H.wk=function(W){if(this.policy.W)this.K.JU(!0,\"utc\"),this.u7();else{var Y=this.W6.getVideoData().I3;if(Y){var k=this.C;k.Z9=W;k.I3=Y;km(this)}}};\ng.H.Ed=function(W){this.videoTrack.G=!1;this.audioTrack.G=!1;this.qx.W=!1;this.W6.Ed(W)};\ng.H.jG=function(W){this.qx.jG(W-this.m2())};\ng.H.Df=function(){this.W6.Df()};\ng.H.TZ=function(W){W!==this.policy.i5&&((this.policy.i5=W)||this.u7())};\ng.H.yg=function(W){this.W6.yg(W)};\ng.H.zb=function(W){this.W6.zb(W)};\ng.H.uZ=function(W,Y,k){var P;(P=this.gD)==null||P.uZ(W,Y,k)};\ng.H.a9=function(W,Y){var k;(k=this.gD)==null||k.a9(W,Y)};\ng.H.u2=function(){return this.W6.u2()};\ng.H.lW=function(W,Y){if(this.policy.UP){var k;(k=this.gD)==null||k.lW(W,Y,this.L||void 0)}};g.H=g.Co.prototype;g.H.B$=function(W,Y,k,P,T,I){return this.Ha.B$(W,Y,k,P,T,I)};\ng.H.VZ=function(W,Y,k,P,T,I){return this.Ha.VZ(W,Y,k,P,T,I)};\ng.H.QA=function(W){return this.Ha.QA(W)};\ng.H.Nu=function(W){this.Ha.Nu(W)};\ng.H.XM=function(W,Y,k,P){return this.Ha.XM(W,Y,k,P)};\ng.H.Fc=function(){this.Ha.Fc()};\ng.H.U$=function(W,Y){this.Ha.U$(W,Y)};\ng.H.zV=function(){this.Ha.zV()};\ng.H.XR=XC(56);g.H.Gw=function(W,Y,k){this.Ha.Gw(W,Y,k)};\ng.H.rP=XC(59);g.H.yN=function(W,Y,k,P,T,I,X,h,B){this.Ha.yN(W,Y,k,P,T,I,X,h,B)};\ng.H.fv=function(W){this.Ha.fv(W)};\ng.H.SF=function(W){return this.Ha.SF(W)};\ng.H.VA=function(W){return this.Ha.VA(W)};\ng.H.Qd=function(W){return this.Ha.Qd(W)};g.f(aQ,g.tR);g.f(a1,aQ);a1.prototype.X=function(W,Y){if(W&&Y){var k=Number(rp(W,\"cpi\"))*1+1;isNaN(k)||k<=0||kthis.J&&(this.J=k,g.x3(this.W)||(this.W={},this.T.stop(),this.K.stop())),this.W[Y]=W,g.Iv(this.K))}};\na1.prototype.C=function(){for(var W=g.e(Object.keys(this.W)),Y=W.next();!Y.done;Y=W.next()){var k=Y.value;Y=this.publish;for(var P=this.J,T=g.rM(this.W[k]),I=[],X=g.e(T[6].split(\"&\")),h=X.next();!h.done;h=X.next())h=h.value,h.indexOf(\"cpi=\")===0?I.push(\"cpi=\"+P.toString()):h.indexOf(\"ek=\")===0?I.push(\"ek=\"+g.tw(k)):I.push(h);T[6]=\"?\"+I.join(\"&\");k=\"skd://\"+T.slice(2).join(\"\");T=k.length*2;P=new Uint8Array(T+4);P[0]=T%256;P[1]=(T-P[0])/256;for(T=0;T0)for(var k=g.e(this.W),P=k.next();!P.done;P=k.next())if(Y===P.value.info.cryptoPeriodIndex){Y=!0;break a}Y=!1}if(!Y){Y=(0,g.lj)();a:{k=W.cryptoPeriodIndex;if(!isNaN(k)){P=g.e(this.J.values());for(var T=P.next();!T.done;T=P.next())if(Math.abs(T.value.cryptoPeriodIndex-k)<=1){k=!0;break a}}k=!1}k?(k=W.W,k=Math.max(0,Math.random()*((isNaN(k)?120:k)-30))*1E3):k=0;this.publish(\"log_qoe\",{wvagt:\"delay.\"+k,cpi:W.cryptoPeriodIndex,reqlen:this.W.length});\nk<=0?XjF(this,W):(this.W.push({time:Y+k,info:W}),g.Iv(this.K,k))}};\nWr.prototype.iz=function(){this.W=[];aQ.prototype.iz.call(this)};var GP={},Zw1=(GP.DRM_TRACK_TYPE_AUDIO=\"AUDIO\",GP.DRM_TRACK_TYPE_SD=\"SD\",GP.DRM_TRACK_TYPE_HD=\"HD\",GP.DRM_TRACK_TYPE_UHD1=\"UHD1\",GP);g.f(lo0,g.D);g.f(cD,g.tR);g.H=cD.prototype;g.H.CI=function(W){var Y=this;if(!(this.Xr()||W.size<=0)){var k={};W.forEach(function(P,T){var I=JR(Y.K)?T:P;T=new Uint8Array(JR(Y.K)?P:T);JR(Y.K)&&AFd(T);P=g.Pk(T,4);AFd(T);T=g.Pk(T,4);Y.W[P]?Y.W[P].status=I:Y.W[T]?Y.W[T].status=I:Y.W[P]={type:\"\",status:I};nFV(Y,Y.W[P].type,k)});\nE_z(this,\",\");Nc(this,{onkeystatuschange:1});this.status=\"kc\";this.publish(\"keystatuseschange\",this)}};\ng.H.error=function(W,Y,k,P){this.Xr()||(this.publish(\"licenseerror\",W,Y,k,P),W===\"drm.provision\"&&(W=(Date.now()-this.X)/1E3,this.X=NaN,this.publish(\"ctmp\",\"provf\",{et:W.toFixed(3)})));CT(Y)&&this.dispose()};\ng.H.shouldRetry=function(W,Y){return!W&&this.requestNumber===Y.requestNumber};\ng.H.iz=function(){this.W={};g.tR.prototype.iz.call(this)};\ng.H.ER=function(){var W={ctype:this.L.contentType||\"\",length:this.L.initData.length,requestedKeyIds:this.wD,cryptoPeriodIndex:this.cryptoPeriodIndex};this.J&&(W.keyStatuses=this.W);return W};\ng.H.getInfo=function(){var W=this.T.join();if(SV(this)){var Y=new Set,k;for(k in this.W)this.W[k].status!==\"usable\"&&Y.add(this.W[k].type);W+=\"/UKS.\"+Array.from(Y)}return W+=\"/\"+this.cryptoPeriodIndex};\ng.H.OV=function(){return this.url};g.f(hg,g.D);g.H=hg.prototype;g.H.KM=function(W){if(this.C){var Y=W.messageType||\"license-request\";this.C(new Uint8Array(W.message),Y)}};\ng.H.CI=function(){this.G&&this.G(this.W.keyStatuses)};\ng.H.onClosed=function(){this.Xr()||g.fF(\"xboxone\")&&this.J&&this.J(\"closedShouldNotRetry\")};\ng.H.d6=function(W){this.C&&this.C(W.message,\"license-request\")};\ng.H.Bj=function(W){if(this.J){if(this.K){var Y=this.K.error.code;W=this.K.error.systemCode}else Y=W.errorCode,W=W.systemCode;this.J(\"t.prefixedKeyError;c.\"+Y+\";sc.\"+W,Y,W)}};\ng.H.Qp=function(){this.X&&this.X()};\ng.H.update=function(W){var Y=this;if(this.W)return this.W.update(W).then(null,If(function(k){K5z(Y,\"t.update\",k)}));\nthis.K?this.K.update(W):this.element.addKey?this.element.addKey(this.L.keySystem,W,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.L.keySystem,W,this.initData,this.sessionId);return Ww()};\ng.H.iz=function(){this.W&&(this.N?this.W.close().catch(g.Jx):this.W.close());this.element=null;g.D.prototype.iz.call(this)};g.f(xg,g.D);g.H=xg.prototype;g.H.setServerCertificate=function(){return this.K.setServerCertificate?this.W.flavor===\"widevine\"&&this.W.S6?this.K.setServerCertificate(this.W.S6):Y8(this.W)&&this.W.GJ?this.K.setServerCertificate(this.W.GJ):null:null};\ng.H.createSession=function(W,Y){var k=W.initData;if(this.W.keySystemAccess){Y&&Y(\"createsession\");var P=this.K.createSession();jV(this.W)?k=iQ5(k,this.W.GJ):Y8(this.W)&&(k=ZuC(k)||new Uint8Array(0));Y&&Y(\"genreq\");W=P.generateRequest(W.contentType,k);var T=new hg(null,null,null,P,null,this.G);W.then(function(){Y&&Y(\"genreqsuccess\")},If(function(X){K5z(T,\"t.generateRequest\",X)}));\nreturn T}if(f6(this.W))return mE2(this,k);if(ipv(this.W))return mJ1(this,k);if((P=this.element)==null?0:P.generateKeyRequest)this.element.generateKeyRequest(this.W.keySystem,k);else{var I;(I=this.element)==null||I.webkitGenerateKeyRequest(this.W.keySystem,k)}return this.T=new hg(this.element,this.W,k,null,null,this.G)};\ng.H.J_=function(W){var Y=Oa(this,W);Y&&Y.d6(W)};\ng.H.wz=function(W){var Y=Oa(this,W);Y&&Y.Bj(W)};\ng.H.vI=function(W){var Y=Oa(this,W);Y&&Y.Qp(W)};\ng.H.getMetrics=function(){var W=null;if(this.K&&this.K.getMetrics)try{W=this.K.getMetrics()}catch(Y){}return W};\ng.H.iz=function(){this.J=this.K=null;var W;(W=this.T)==null||W.dispose();W=g.e(Object.values(this.X));for(var Y=W.next();!Y.done;Y=W.next())Y.value.dispose();this.X={};g.D.prototype.iz.call(this);delete this.element};g.H=KF.prototype;g.H.get=function(W){W=this.findIndex(W);return W!==-1?this.values[W]:null};\ng.H.remove=function(W){W=this.findIndex(W);W!==-1&&(this.keys.splice(W,1),this.values.splice(W,1))};\ng.H.removeAll=function(){this.keys=[];this.values=[]};\ng.H.set=function(W,Y){var k=this.findIndex(W);k!==-1?this.values[k]=Y:(this.keys.push(W),this.values.push(Y))};\ng.H.findIndex=function(W){return g.z0(this.keys,function(Y){return g.BK(W,Y)})};g.f(Yy,g.tR);g.H=Yy.prototype;g.H.F26=function(W){this.Ur({onecpt:1});W.initData&&SaS(this,new Uint8Array(W.initData),W.initDataType)};\ng.H.c9S=function(W){this.Ur({onndky:1});SaS(this,W.initData,W.contentType)};\ng.H.j7=function(W){this.Ur({onneedkeyinfo:1});this.zJ.U(\"html5_eme_loader_sync\")&&(this.G.get(W.initData)||this.G.set(W.initData,W));XW0(this,W)};\ng.H.TY=function(W){this.J.push(W);qW(this)};\ng.H.createSession=function(W){var Y=y7q(this)?e3v(W):g.Pk(W.initData);this.K.get(Y);this.gD=!0;W=new cD(this.videoData,this.zJ,W,this.drmSessionId);this.K.set(Y,W);W.subscribe(\"ctmp\",this.X$,this);W.subscribe(\"keystatuseschange\",this.CI,this);W.subscribe(\"licenseerror\",this.sO,this);W.subscribe(\"newlicense\",this.fT,this);W.subscribe(\"newsession\",this.kO,this);W.subscribe(\"sessionready\",this.LT,this);W.subscribe(\"fairplay_next_need_key_info\",this.xO,this);this.zJ.U(\"html5_enable_vp9_fairplay\")&&W.subscribe(\"qualitychange\",\nthis.mN,this);W.subscribe(\"sabrlicenseconstraint\",this.SV2,this);MO6(W,this.T)};\ng.H.fT=function(W){this.Xr()||(this.Ur({onnelcswhb:1}),W&&!this.heartbeatParams&&(this.heartbeatParams=W,this.publish(\"heartbeatparams\",W)))};\ng.H.kO=function(){this.Xr()||(this.Ur({newlcssn:1}),this.J.shift(),this.gD=!1,qW(this))};\ng.H.LT=function(){if(f6(this.W)&&(this.Ur({onsnrdy:1}),this.UP--,this.UP===0)){var W=this.A5,Y,k;(Y=W.element)==null||(k=Y.msSetMediaKeys)==null||k.call(Y,W.J)}};\ng.H.CI=function(W){if(!this.Xr()){this.OP||(this.OP=!0,this.zJ.OR()&&q2j(this));this.Ur({onksch:1});var Y=this.mN;if(!SV(W)&&g.PC&&W.K.keySystem===\"com.microsoft.playready\"&&navigator.requestMediaKeySystemAccess)var k=\"large\";else{k=[];var P=!0;if(SV(W))for(var T=g.e(Object.keys(W.W)),I=T.next();!I.done;I=T.next())I=I.value,W.W[I].status===\"usable\"&&k.push(W.W[I].type),W.W[I].status!==\"unknown\"&&(P=!1);if(!SV(W)||P)k=W.T;k=m62(k)}Y.call(this,k);if(!SV(W))for(Y={},k=g.e(W.T),P=k.next();!P.done;P=k.next())nFV(W,\nP.value,Y);this.videoData.authorizedFormats=W.authorizedFormats;this.publish(\"keystatuseschange\",W)}};\ng.H.X$=function(W,Y){this.Xr()||this.publish(\"ctmp\",W,Y)};\ng.H.xO=function(W,Y){this.Xr()||this.publish(\"fairplay_next_need_key_info\",W,Y)};\ng.H.sO=function(W,Y,k,P){this.Xr()||(this.videoData.U(\"html5_log_drm_metrics_on_error\")&&q2j(this),this.publish(\"licenseerror\",W,Y,k,P))};\ng.H.Y5=function(){return this.L};\ng.H.mN=function(W){var Y=g.z$(\"auto\",W,!1,\"l\");if(this.videoData.i5){if(this.L.equals(Y))return}else if(WB0(this.L,W))return;this.L=Y;this.publish(\"qualitychange\");this.Ur({updtlq:W})};\ng.H.SV2=function(W){this.videoData.sabrLicenseConstraint=W};\ng.H.iz=function(){this.W.keySystemAccess&&this.element&&(this.wD?this.element.setMediaKeys(null).catch(g.Jx):this.element.setMediaKeys(null));this.element=null;this.J=[];for(var W=g.e(this.K.values()),Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y.unsubscribe(\"ctmp\",this.X$,this),Y.unsubscribe(\"keystatuseschange\",this.CI,this),Y.unsubscribe(\"licenseerror\",this.sO,this),Y.unsubscribe(\"newlicense\",this.fT,this),Y.unsubscribe(\"newsession\",this.kO,this),Y.unsubscribe(\"sessionready\",this.LT,this),Y.unsubscribe(\"fairplay_next_need_key_info\",\nthis.xO,this),this.zJ.U(\"html5_enable_vp9_fairplay\")&&Y.unsubscribe(\"qualitychange\",this.mN,this),Y.dispose();this.K.clear();this.X.removeAll();this.G.removeAll();this.heartbeatParams=null;g.tR.prototype.iz.call(this)};\ng.H.ER=function(){for(var W={systemInfo:this.W.ER(),sessions:[]},Y=g.e(this.K.values()),k=Y.next();!k.done;k=Y.next())W.sessions.push(k.value.ER());return W};\ng.H.getInfo=function(){return this.K.size<=0?\"no session\":\"\"+this.K.values().next().value.getInfo()+(this.C?\"/KR\":\"\")};\ng.H.Ur=function(W,Y){Y=Y===void 0?!1:Y;this.Xr()||(l4(W),(this.zJ.OR()||Y)&&this.publish(\"ctmp\",\"drmlog\",W))};g.f($G,g.D);g.H=$G.prototype;g.H.ez=function(){return!!this.sS};\ng.H.hR=function(){return this.K};\ng.H.handleError=function(W){var Y=this;yAX(this,W);if((W.errorCode!==\"html5.invalidstate\"&&W.errorCode!==\"fmt.unplayable\"&&W.errorCode!==\"fmt.unparseable\"||!jcq(this,W.errorCode,W.details))&&!lXv(this,W)){if(this.pg.A5!==\"yt\"&&v56(this,W)&&this.videoData.KI&&(0,g.lj)()/1E3>this.videoData.KI&&this.pg.A5===\"hm\"){var k=Object.assign({e:W.errorCode},W.details);k.stalesigexp=\"1\";k.expire=this.videoData.KI;k.init=this.videoData.Wg/1E3;k.now=(0,g.lj)()/1E3;k.systelapsed=((0,g.lj)()-this.videoData.Wg)/1E3;\nW=new g.LT(W.errorCode,k,2);this.W6.SW(W.errorCode,2,\"SIGNATURE_EXPIRED\",l4(W.details))}if(CT(W.severity)){var P;k=(P=this.W6.loader)==null?void 0:P.W.W;if(this.pg.U(\"html5_use_network_error_code_enums\"))if(GV6(W)&&k&&k.isLocked())var T=\"FORMAT_UNAVAILABLE\";else if(this.pg.X||W.errorCode!==\"auth\"||W.details.rc!==429)W.errorCode===\"ump.spsrejectfailure\"&&(T=\"HTML5_SPS_UMP_STATUS_REJECTED\");else{T=\"TOO_MANY_REQUESTS\";var I=\"6\"}else GV6(W)&&k&&k.isLocked()?T=\"FORMAT_UNAVAILABLE\":this.pg.X||W.errorCode!==\n\"auth\"||W.details.rc!==\"429\"?W.errorCode===\"ump.spsrejectfailure\"&&(T=\"HTML5_SPS_UMP_STATUS_REJECTED\"):(T=\"TOO_MANY_REQUESTS\",I=\"6\");this.W6.SW(W.errorCode,W.severity,T,l4(W.details),I)}else this.W6.publish(\"nonfatalerror\",W),P=/^pp/.test(this.videoData.clientPlaybackNonce),this.Pz(W.errorCode,W.details),P&&W.errorCode===\"manifest.net.connect\"&&(W=\"https://www.youtube.com/generate_204?cpn=\"+this.videoData.clientPlaybackNonce+\"&t=\"+(0,g.lj)(),sa(W,\"manifest\",function(X){Y.X=!0;Y.y5(\"pathprobe\",X)},\nfunction(X){Y.Pz(X.errorCode,X.details)}))}};\ng.H.y5=function(W,Y){this.W6.FA.y5(W,Y)};\ng.H.Pz=function(W,Y){Y=l4(Y);this.W6.FA.Pz(W,Y)};Ii.prototype.w9=function(W){var Y=IES(this);if(!W)return{oL:Tx,g8:Tx,mS:Tx,Nc:Tx,GH:Tx,jJ:Tx,dL:Y};var k=Tx;if(dL(Y)||this.U(\"html5_perf_cap_override_sticky\"))k=Xu(this,W);return{oL:k,g8:XD6(this,W),mS:$_S(this,W),Nc:mZ(this,W.videoData),GH:Dm(this,W.videoData,W),jJ:gL(this,W),dL:Y}};\nIi.prototype.l0=function(W){if(g.l_(this.zJ)&&LZ(this.zJ.C,Up.HEIGHT))var Y=W.W.videoInfos[0].video.qualityOrdinal;else{var k=this.gN(!!W.W.W);a7(W.videoData)||D3(W.videoData);W=W.W.videoInfos;if(W.length){var P=g.je(this.zJ.experiments,\"html5_override_oversend_fraction\")||.85,T=W[0].video;T.projectionType!==\"MESH\"&&T.projectionType!==\"EQUIRECTANGULAR\"&&T.projectionType!==\"EQUIRECTANGULAR_THREED_TOP_BOTTOM\"||Hld||(P=.45);T=g.je(this.zJ.experiments,\"html5_viewport_undersend_maximum\");for(var I=0;I<\nW.length;I++){Y=W[I];var X=Y.video;if(k===null||X.width*P=0,stateAtSend:Y,joinLatencySecs:I,jsErrorCount:this.jsErrorCount,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:P,playerCanaryStage:T,isAd:this.provider.videoData.isAd(),liveMode:k,hasDrm:!!g.TY(this.provider.videoData),isGapless:this.provider.videoData.G,isServerStitchedDai:this.provider.videoData.enableServerStitchedDai,\nencounteredSabrFallback:this.encounteredSabrFallback,isSabr:w9(this.provider.videoData)};W||g.qc(\"html5PlayerHealthEvent\",Y);this.J=!0;this.dispose()}};\ntm.prototype.iz=function(){this.J||this.send();window.removeEventListener(\"error\",this.hm);window.removeEventListener(\"unhandledrejection\",this.hm);g.D.prototype.iz.call(this)};\nvar Vnc=/\\bnet\\b/;gYd.prototype.update=function(){if(this.G){var W=this.tD()||0,Y=g.Jj(this.provider);W>=this.provider.W6.getDuration()-.1&&(this.previouslyEnded=!0);if(W!==this.W||H0q(this,W,Y)){var k;if(!(k=WY-this.PF+2||H0q(this,W,Y))){k=this.provider.W6.getVolume();var P=k!==this.N,T=this.provider.W6.isMuted()?1:0;T!==this.L?(this.L=T,k=!0):(!P||this.T>=0||(this.N=k,this.T=Y),k=Y-this.T,this.T>=0&&k>2?(this.T=-1,k=!0):k=!1)}k&&(Ai(this),this.J=W);this.PF=Y;this.W=W}}};\ngYd.prototype.tD=function(){var W=this.provider.W6.tD();return this.provider.zJ.U(\"html5_disable_live_dvr_shrink_for_cdm_vss\")&&EP(this.provider.videoData)?W+this.provider.W6.m2():W};KJ.prototype.send=function(W){var Y=this;if(!this.Q5){var k=dD(this),P=g.YW(this.uri,k);this.zJ.U(\"vss_through_gel_double\")&&QzX(P);this.gD&&!this.zJ.U(\"html5_simplify_pings\")?gPF(this,P):zS(this,W).then(function(T){Y.gD&&(T=T||{},T.method=\"POST\",T.postParams={atr:Y.attestationResponse});ue(P,T,{token:Y.Kg,T6:Y.K1,mdxEnvironment:Y.mdxEnvironment},Y.zJ,W,Y.TJ,Y.isFinal&&Y.k8||Y.OP||Y.J&&Y.Dm)});\nthis.Q5=!0}};\nKJ.prototype.K=function(W){W===void 0&&(W=NaN);return Number(W.toFixed(3)).toString()};\nvar KE={},sr5=(KE.LIVING_ROOM_APP_MODE_UNSPECIFIED=0,KE.LIVING_ROOM_APP_MODE_MAIN=1,KE.LIVING_ROOM_APP_MODE_KIDS=2,KE.LIVING_ROOM_APP_MODE_MUSIC=3,KE.LIVING_ROOM_APP_MODE_UNPLUGGED=4,KE.LIVING_ROOM_APP_MODE_GAMING=5,KE),E_={},JSv=(E_.EMBEDDED_PLAYER_MODE_UNKNOWN=0,E_.EMBEDDED_PLAYER_MODE_DEFAULT=1,E_.EMBEDDED_PLAYER_MODE_PFP=2,E_.EMBEDDED_PLAYER_MODE_PFL=3,E_);g.f(ij,g.D);ij.prototype.onProgress=function(){this.W.update();tFF(this)&&(iXV(this),XxC(this))};\nij.prototype.iz=function(){g.D.prototype.iz.call(this);wv(this);Hjq(this.W)};\nij.prototype.ER=function(){return dD(re(this,\"playback\"))};\nij.prototype.Tv=function(W){var Y=re(this,\"engage\");Y.wD=W;return yeq(Y,ZP0(this.provider))};pbS.prototype.isEmpty=function(){return this.endTime===this.startTime};By.prototype.U=function(W){return this.zJ.U(W)};\nBy.prototype.getCurrentTime=function(){return this.W6.getCurrentTime()};\nBy.prototype.tD=function(){return this.W6.tD()};\nvar tV9={other:1,none:2,wifi:3,cellular:7,ethernet:30};g.f(g.qS,g.D);g.H=g.qS.prototype;g.H.onProgress=function(){if(this.provider.videoData.enableServerStitchedDai&&this.vU){var W;(W=this.J.get(this.vU))==null||W.onProgress()}else if(this.W)this.W.onProgress()};\ng.H.aZ=function(W){this.qoe&&this.qoe.aZ(W)};\ng.H.l_=XC(29);g.H.cK=XC(35);g.H.gP=function(W,Y){this.qoe&&this.qoe.gP(W,Y)};\ng.H.vA=function(){if(this.provider.videoData.enableServerStitchedDai&&this.vU){var W;(W=this.J.get(this.vU))!=null&&Ai(W.W)}else this.W&&Ai(this.W.W)};\ng.H.Pz=function(W,Y){this.qoe&&Qb2(this.qoe,W,Y);if(this.K)this.K.onError(W)};\ng.H.BO=function(W){var Y;(Y=this.qoe)==null||Y.BO(W)};\ng.H.onPlaybackRateChange=function(W){if(this.qoe)this.qoe.onPlaybackRateChange(W);this.W&&Ai(this.W.W)};\ng.H.Bu=XC(52);g.H.y5=function(W,Y,k){this.qoe&&this.qoe.y5(W,Y,k)};\ng.H.uM=function(W,Y,k){this.qoe&&this.qoe.uM(W,Y,k)};\ng.H.e7=function(W){var Y;(Y=this.qoe)==null||Y.e7(W)};\ng.H.k9=function(W){var Y;(Y=this.qoe)==null||Y.k9(W)};\ng.H.Y0=function(W,Y,k,P){var T;(T=this.qoe)==null||T.Y0(W,Y,k,P)};\ng.H.zb=function(W){this.qoe&&this.qoe.zb(W)};\ng.H.iZ=function(W,Y,k){this.qoe&&this.qoe.iZ(W,Y,k)};\ng.H.Kh=XC(23);g.H.IY=function(){if(this.qoe)return this.qoe.IY()};\ng.H.ER=function(){if(this.provider.videoData.enableServerStitchedDai&&this.vU){var W,Y;return(Y=(W=this.J.get(this.vU))==null?void 0:W.ER())!=null?Y:{}}return this.W?this.W.ER():{}};\ng.H.ST=function(){var W;return(W=this.qoe)==null?void 0:W.ST()};\ng.H.H9=function(W,Y){var k;(k=this.qoe)==null||k.H9(W,Y)};\ng.H.Tv=function(W){return this.W?this.W.Tv(W):function(){}};\ng.H.getVideoData=function(){return this.provider.videoData};\ng.H.resume=function(){this.qoe&&this.qoe.resume()};g.f(g.XU,g.D);g.H=g.XU.prototype;g.H.Bz=function(W,Y){this.sync();Y&&this.W.array.length>=2E3&&this.wq(\"captions\",1E4);Y=this.W;if(W.length>1&&W.length>Y.array.length)Y.array=Y.array.concat(W),Y.array.sort(Y.W);else{W=g.e(W);for(var k=W.next();!k.done;k=W.next())k=k.value,!Y.array.length||Y.W(k,Y.array[Y.array.length-1])>0?Y.array.push(k):g.Ba(Y.array,k,Y.W)}this.J=NaN;this.sync()};\ng.H.aB=function(W){W.length>1E4&&g.Jx(new g.M6(\"Over 10k cueRanges removal occurs with a sample: \",W[0]));if(!this.Xr()){var Y=new Set(W);this.K=this.K.filter(function(k){return!Y.has(k)});\nrIX(this.W,Y);this.sync()}};\ng.H.g0=function(W,Y){if(!this.Xr()){var k=this.R7().find(function(P){return P.id===Y&&P.namespace===W});\nk&&this.aB([k])}};\ng.H.wq=function(W,Y){var k=(isNaN(this.J)?F76(this):this.J)-Y;Y=this.R7().filter(function(P){return P.namespace===W&&P.endthis.W,I=g.p(k,8)&&g.p(k,16),X=this.W6.qz().isBackground()||k.isSuspended();y3(this,this.rD,I&&!X,T,\"qoe.slowseek\",function(){},\"timeout\");\nvar h=isFinite(this.W);h=I&&h&&stF(Y,this.W);var B=!P||Math.abs(P-this.W)>10,O=this.zJ.U(\"html5_exclude_initial_sabr_live_dvr_seek_in_watchdog\"),u=P===0&&this.K&&[11,10].includes(this.K);y3(this,this.Q5,h&&B&&!X&&(!O||!u),T,\"qoe.slowseek\",function(){Y.seekTo(W.W)},\"set_cmt\");\nB=h&&YX(Y.EE(),this.W);var Z=this.W6.loader;h=!Z||Z.BA();var M=function(){Y.seekTo(W.W+.001)};\ny3(this,this.OP,B&&h&&!X,T,\"qoe.slowseek\",M,\"jiggle_cmt\");h=function(){return W.W6.Je()};\ny3(this,this.Fr,B&&!X,T,\"qoe.slowseek\",h,\"new_elem\");var t=aN(k);u=k.isBuffering();var q=Y.EE(),G=Ce(q,P),E=G>=0&&q.end(G)>P+5;B=t&&u&&E;O=this.W6.getVideoData();y3(this,this.UP,P<.002&&this.W<.002&&I&&g.l_(this.zJ)&&g.w_(O)&&!X,T,\"qoe.slowseek\",h,\"slow_seek_shorts\");y3(this,this.N,O.xZ()&&I&&!X&&!O.Kg,T,\"qoe.slowseek\",h,\"slow_seek_gapless_shorts\");y3(this,this.A5,B&&!X,t&&!u,\"qoe.longrebuffer\",M,\"jiggle_cmt\");y3(this,this.Kg,B&&!X,t&&!u,\"qoe.longrebuffer\",h,\"new_elem_nnr\");if(Z){var z=Z.getCurrentTime();\nI=Y.OG();I=qcz(I,z);I=!Z.isSeeking()&&P===I;y3(this,this.J9,t&&u&&I&&!X,t&&!u&&!I,\"qoe.longrebuffer\",function(){Y.seekTo(z)},\"seek_to_loader\")}I={};\nM=Ce(q,Math.max(P-3.5,0));var A=M>=0&&P>q.end(M)-1.1,F=M>=0&&M+1=0&&A&&F<11;I.close2edge=A;I.gapsize=F;I.buflen=q.length;this.K&&(I.seekSour=this.K);y3(this,this.wD,t&&u&&!X,t&&!u,\"qoe.longrebuffer\",function(){},\"timeout\",I);\nI=k.isSuspended();I=this.W6.ri()&&!I;y3(this,this.G,I,!I,\"qoe.start15s\",function(){W.W6.sU(\"ad\")},\"ads_preroll_timeout\");\nI=this.zJ.experiments.Nq(\"html5_use_playback_rate_in_skip_slow_ad\")?this.W6.getPlaybackRate()*1E3:1E3;G=P-this.T5;y3(this,this.V5,g.w_(O)&&Z,t&&!u,\"qoe.longrebuffer\",function(){W.W6.yg()},\"reset_media_source\");\ny3(this,this.GJ,g.w_(O)&&Z,t&&!u,\"qoe.longrebuffer\",h,\"reset_media_element\");this.T===0&&(this.X=P);Z=u&&this.W===0&&P>1&&P===this.X;y3(this,this.TJ,g.w_(O)&&Z,t&&!u,\"qoe.slowseek\",function(){Y.seekTo(0)},\"reseek_after_time_jump\");\nX=k.isOrWillBePlaying()&&!X;E=this.W6.qA()-P<6&&!E&&this.W6.j9();y3(this,this.L,O.xZ()&&X&&u&&E,t&&!u,\"qoe.longrebuffer\",function(){W.W6.Je(!1,!0)},\"handoff_end_long_buffer_reload\");\nX=this.K===104||this.W6.Q4;k=Dq(O)&&O.isAd()&&!O.Kg&&X&&(u||g.p(k,8)&&g.p(k,16));y3(this,this.bz,k,T,\"qoe.start15s\",h,\"gapless_ad_slow_start\");k=Dq(O)&&!O.Kg&&X&&B;y3(this,this.e1,k,T,\"qoe.longrebuffer\",h,\"gapless_slow_start\");this.T=P;this.C.start()}};\ntg.prototype.Pz=function(W,Y,k){Y=this.ER(Y);Y.wn=k;Y.wdup=this.J[W]?\"1\":\"0\";this.W6.Pz(new g.LT(W,Y));this.J[W]=!0};\ntg.prototype.ER=function(W){W=Object.assign(this.W6.ER(!0),W.ER());this.W&&(W.stt=this.W.toFixed(3));this.W6.getVideoData().isLivePlayback&&(W.ct=this.W6.getCurrentTime().toFixed(3),W.to=this.W6.m2().toFixed(3));delete W.uga;delete W.euri;delete W.referrer;delete W.fexp;delete W.vm;return W};\nMA.prototype.reset=function(){this.W=this.K=this.J=this.startTimestamp=0;this.T=!1};\nMA.prototype.test=function(W){if(!this.C||this.K)return!1;if(!W)return this.reset(),!1;W=(0,g.lj)();if(!this.startTimestamp)this.startTimestamp=W,this.J=0;else if(this.J>=this.C)return this.K=W,!0;this.J+=1;return!1};\nMA.prototype.ER=function(){var W={},Y=(0,g.lj)();this.startTimestamp&&(W.wsd=(Y-this.startTimestamp).toFixed());this.K&&(W.wtd=(Y-this.K).toFixed());this.W&&(W.wssd=(Y-this.W).toFixed());return W};g.f(jU,g.D);g.H=jU.prototype;g.H.setMediaElement=function(W){(this.mediaElement=W)?(this.mediaElement&&(this.C||this.J||!this.mediaElement.yP()||this.seekTo(.01,{Fi:\"seektimeline_setupMediaElement\"})),ke(this)):Vt(this)};\ng.H.getCurrentTime=function(W){W=W===void 0?!1:W;if(Gh(this.W6)){if(this.U(\"html5_use_centralized_player_time\")&&!W&&!isNaN(this.X))return this.X;if(!isNaN(this.K))return this.K}else{if(this.U(\"html5_use_centralized_player_time\")&&!W&&!isNaN(this.X)&&isFinite(this.X))return this.X;if(!isNaN(this.K)&&isFinite(this.K))return this.K}return this.mediaElement&&n4C(this)?this.mediaElement.getCurrentTime()+this.timestampOffset:this.J||0};\ng.H.sG=function(){return this.bz};\ng.H.tD=function(){return this.getCurrentTime()-this.m2()};\ng.H.Hl=function(){return this.W?this.W.Hl():Infinity};\ng.H.isAtLiveHead=function(W){if(!this.W)return!1;W===void 0&&(W=this.getCurrentTime());return K_(this.W,W)};\ng.H.Ar=function(){return!!this.W&&this.W.Ar()};\ng.H.seekTo=function(W,Y){var k=Y===void 0?{}:Y;Y=k.eh===void 0?!1:k.eh;var P=k.nz===void 0?0:k.nz;var T=k.jx===void 0?!1:k.jx;var I=k.oO===void 0?0:k.oO;var X=k.Fi===void 0?\"\":k.Fi;var h=k.seekSource===void 0?void 0:k.seekSource;var B=k.ul===void 0?!1:k.ul;var O=k.dT===void 0?!1:k.dT;k=k.ED===void 0?!1:k.ED;B&&(W+=this.m2());w9(this.videoData)&&h===29&&(this.bz=void 0);B=W=this.M6())||!g.zx(this.videoData),G||(E={st:E,mst:this.M6()},this.W&&this.U(\"html5_high_res_seek_logging\")&&(E.ht=this.W.Hl(),E.adft=zp(this.W)),this.W6.y5(\"seeknotallowed\",E)),E=G));if(!E)return this.T&&(this.T=null,PI(this)),g.cq(this.getCurrentTime());E=.005;O&&this.U(\"html5_sabr_seek_no_shift_tolerance\")&&(E=0);if(Math.abs(W-this.K)<=E&&this.TJ)return this.C;X&&(E=W,this.zJ.OR()||this.U(\"html5_log_seek_reasons\"))&&\n(X={reason:X,tgt:E},this.U(\"html5_sabr_csdai_seek_log\")&&(X.source=h),this.W6.y5(\"seekreason\",X));h&&(this.A5.K=h);this.TJ&&Vt(this);this.C||(this.C=new $e);W&&!isFinite(W)&&igC(this,!1);(X=k||B)||(X=W,X=!(this.videoData.isLivePlayback&&this.videoData.J&&!this.videoData.J.W&&!(this.mediaElement&&this.mediaElement.Tg()>0&&X_(this.mediaElement)>0)||c3(this.videoData)&&this.aI()===this.M6(!1)?0:isFinite(X)||!c3(this.videoData)));X||(W=r2(this,W,T));W&&!isFinite(W)&&igC(this,!1);this.U(\"html5_use_centralized_player_time\")?\nthis.X=W:this.K=this.J=W;this.V5=I;this.G=0;this.W&&(T=this.W,I=W,SuF(T,I,!1),qdd(T,I));T=this.W6;I=W;X={eh:Y,seekSource:h};T.O1.J=I;k=T.mY;k.mediaTime=I;k.W=!0;X.eh&&T.Rc(X);X=I>T.videoData.endSeconds&&I>T.videoData.limitedPlaybackDurationInSeconds;T.S9&&X&&isFinite(I)&&ZO(T);IY.start&&ZO(this.W6);return this.C};\ng.H.M6=function(W){if(!this.videoData.isLivePlayback)return this.W6.videoData.M6();var Y;return BZ(this.videoData)&&((Y=this.mediaElement)==null?0:Y.isPaused())&&this.videoData.W?(W=this.getCurrentTime(),Ijq(this.hT(W)*1E3)+W):this.U(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&w9(this.videoData)&&this.videoData.W?W?this.videoData.W.wD||0:this.videoData.W.KL||0:c3(this.videoData)&&this.videoData.wD&&this.videoData.W?this.videoData.W.M6()+this.timestampOffset:this.videoData.J&&this.videoData.J.W?\n!W&&this.W?this.W.Hl():this.W6.videoData.M6()+this.timestampOffset:this.mediaElement?iH()?Ijq(this.mediaElement.Xe().getTime()):X_(this.mediaElement)+this.timestampOffset||this.timestampOffset:this.timestampOffset};\ng.H.aI=function(){if(this.U(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&w9(this.videoData)){var W;return((W=this.videoData.W)==null?void 0:W.UK)||0}W=this.videoData?this.videoData.aI()+this.timestampOffset:this.timestampOffset;if(BZ(this.videoData)&&this.videoData.W){var Y,k=Number((Y=this.videoData.progressBarStartPosition)==null?void 0:Y.utcTimeMillis)/1E3;if(this.U(\"html5_unify_utc_media_time_calculation\")){if(!isNaN(k)&&(k=this.Tc(k),!isNaN(k)))return Math.max(W,k)}else if(Y=this.getCurrentTime(),\nY=this.hT(Y)-Y,!isNaN(k)&&!isNaN(Y))return Math.max(W,k-Y)}return W};\ng.H.z5=function(){this.C||this.seekTo(this.J,{Fi:\"seektimeline_forceResumeTime_singleMediaSourceTransition\",seekSource:15})};\ng.H.o_=function(){return this.TJ&&!isFinite(this.K)};\ng.H.iz=function(){ve(this,null);this.A5.dispose();g.D.prototype.iz.call(this)};\ng.H.ER=function(){var W={};this.loader&&Object.assign(W,this.loader.ER());this.mediaElement&&Object.assign(W,this.mediaElement.ER());return W};\ng.H.Ux=function(W){this.timestampOffset=W};\ng.H.getStreamTimeOffset=function(){return c3(this.videoData)?0:this.videoData.W?this.videoData.W.getStreamTimeOffset():0};\ng.H.m2=function(){return this.timestampOffset};\ng.H.hT=function(W){return this.videoData&&this.videoData.W?this.videoData.W.hT(W-this.timestampOffset):NaN};\ng.H.UG=function(){if(!this.mediaElement)return 0;if(oJ(this.videoData)){var W=this.mediaElement,Y=W.EE();W=(uO(Y)&&W.getDuration()?Y.end(Y.length-1):0)+this.timestampOffset-this.aI();Y=this.M6()-this.aI();return Math.max(0,Math.min(1,W/Y))}return this.mediaElement.UG()};\ng.H.xX=function(W){this.L&&(this.L.W=W)};\ng.H.wk=function(W,Y){this.W6.y5(\"requestUtcSeek\",{time:W});w9(this.videoData)&&(this.bz=W);var k;(k=this.loader)==null||k.wk(W);Y&&(this.gD=Y)};\ng.H.Ed=function(W){w9(this.videoData)&&(this.bz=void 0);if(this.gD)this.W6.y5(\"utcSeekingFallback\",{source:\"streamTime\",timeSeconds:this.gD}),this.W6.seekTo(this.gD,{Fi:\"utcSeekingFallback_streamTime\"}),this.gD=0;else{if(this.U(\"html5_unify_utc_media_time_calculation\")){var Y=this.Tc(W);if(isNaN(Y))return}else{Y=this.getCurrentTime();if(isNaN(Y))return;W=this.hT(Y)-W;Y-=W}this.W6.y5(\"utcSeekingFallback\",{source:\"estimate\",timeSeconds:Y});this.W6.seekTo(Y,{Fi:\"utcSeekingFallback_estimate\"})}};\ng.H.Df=function(){this.gD=0};\ng.H.Tc=function(W){var Y=this.getCurrentTime();if(isNaN(Y))return NaN;var k=this.hT(Y);return isNaN(k)?NaN:W-(k-Y)};\ng.H.U=function(W){return this.zJ&&this.zJ.U(W)};g.f(kG,g.D);kG.prototype.start=function(){this.K.start()};\nkG.prototype.stop=function(){this.K.stop()};\nkG.prototype.clear=function(){for(var W=g.e(this.W.values()),Y=W.next();!Y.done;Y=W.next())Y.value.clear()};\nkG.prototype.sample=function(){for(var W=g.e(this.J),Y=W.next();!Y.done;Y=W.next()){var k=g.e(Y.value);Y=k.next().value;k=k.next().value;this.W.has(Y)||this.W.set(Y,new vY0(Ni1.has(Y)));this.W.get(Y).update(k())}this.K.start()};\nvar Ni1=new Set([\"networkactivity\"]);vY0.prototype.update=function(W){this.K?(this.buffer.add(W-this.W||0),this.W=W):this.buffer.add(W)};\nvY0.prototype.clear=function(){this.buffer.clear();this.W=0};ah.prototype.Q9=function(){return this.started};\nah.prototype.start=function(){this.started=!0};\nah.prototype.reset=function(){this.finished=this.started=!1};var xId=!1;g.f(g.uw,g.tR);g.H=g.uw.prototype;g.H.iz=function(){this.logger.debug(\"dispose\");g.hl(this.aQ);TCv(this.R6);this.visibility.unsubscribe(\"visibilitystatechange\",this.R6);yIv(this.FA);g.o8(this.FA);$u(this);g.yi.Ca(this.r7);this.Fb();this.o6=null;g.o8(this.videoData);g.o8(this.nL);g.o8(this.Zy);g.o8(this.fA);g.e7(this.V11);this.S9=null;g.tR.prototype.iz.call(this)};\ng.H.iZ=function(W,Y,k,P,T){if(this.zJ.U(\"html5_log_ad_playback_docid\")){var I=this.FA;if(I.qoe){I=I.qoe;var X=this.zJ.A5||\"yt\";g.xd(I,g.Jj(I.provider),\"ad_playback\",[W,Y,k,T,X])}}else this.FA.iZ(W,Y,k);this.U(\"html5_log_media_perf_info\")&&this.y5(\"adloudness\",{ld:P.toFixed(3),cpn:W})};\ng.H.D$=function(){var W;return(W=this.loader)==null?void 0:W.D$()};\ng.H.Qs=function(){var W;return(W=this.loader)==null?void 0:W.Qs()};\ng.H.Qg=function(){var W;return(W=this.loader)==null?void 0:W.Qg()};\ng.H.Cm=function(){var W;return(W=this.loader)==null?void 0:W.Cm()};\ng.H.t$=function(){return this.videoData.t$()};\ng.H.Jf=function(){return this.U(\"html5_not_reset_media_source\")&&!this.t$()&&!this.videoData.isLivePlayback&&g.w_(this.videoData)&&!this.zJ.supportsGaplessShorts()};\ng.H.QN=function(){this.videoData.G&&(this.videoData.I5=this.videoData.I5||this.GW.D2().D$(),this.videoData.Ey=this.videoData.Ey||this.GW.D2().Qs());if(oEq(this.videoData)||!S70(this.videoData)){var W=this.videoData.errorDetail;this.SW(this.videoData.errorCode||\"auth\",2,unescape(this.videoData.errorReason),W,W,this.videoData.OX||void 0)}this.U(\"html5_generate_content_po_token\")&&this.O4();this.U(\"html5_enable_d6de4\")&&this.NP()};\ng.H.getVideoData=function(){return this.videoData};\ng.H.V=function(){return this.zJ};\ng.H.w9=function(){return this.vl.w9(this.o6)};\ng.H.qz=function(){return this.visibility};\ng.H.Ud=function(){return this.mediaElement&&this.mediaElement.vr()?this.mediaElement.Tn():null};\ng.H.bd=function(){return this.mediaElement};\ng.H.L4=function(){if(this.videoData.errorCode)return!1;this.V().X&&this.V().houseBrandUserStatus&&this.y5(\"hbut\",{status:this.V().houseBrandUserStatus},!0);if(this.videoData.Nt())return!0;this.SW(\"api.invalidparam\",2,void 0,\"invalidVideodata.1\");return!1};\ng.H.s$=function(W){(W=W===void 0?!1:W)||Hh2(this.FA);this.Zn=W;!this.L4()||this.AU.Q9()?g.l_(this.zJ)&&this.videoData.isLivePlayback&&this.AU.Q9()&&!this.AU.finished&&!this.Zn&&this.MG():(this.AU.start(),W=this.FA,g.Jj(W.provider),W.qoe&&c5d(W.qoe),this.MG())};\ng.H.MG=function(){if(this.videoData.isLoaded()){var W=this.nL;g.je(W.pg.experiments,\"html5_player_min_build_cl\")>0&&g.je(W.pg.experiments,\"html5_player_min_build_cl\")>796671093&&U6d(W,\"oldplayer\");aRV(this)}else this.videoData.k7||this.videoData.y7?this.Zn&&g.l_(this.zJ)&&this.videoData.isLivePlayback||(this.videoData.k7?spz(this.videoData):(W=this.FA,W.qoe&&(W=W.qoe,wq(W,\"protected\"),W.provider.videoData.C?W.gL():W.provider.videoData.subscribe(\"dataloaded\",W.gL,W)),Ymd(this.videoData))):!this.videoData.loading&&\nthis.kd&&Uh0(this)};\ng.H.r0=function(W){this.Ha=W;this.loader&&(N2V(this.loader,new g.Co(W)),this.y5(\"sdai\",{sdsstm:1}))};\ng.H.uZ=function(W,Y,k){var P;(P=this.loader)==null||P.uZ(W,Y,k)};\ng.H.Zj=XC(8);g.H.isFullscreen=function(){return this.visibility.isFullscreen()};\ng.H.isBackground=function(){return this.visibility.isBackground()};\ng.H.V0=function(){var W=this;this.logger.debug(\"Updating for format change\");tZ(this).then(function(){return R7(W)});\nthis.playerState.isOrWillBePlaying()&&this.playVideo()};\ng.H.rY=function(){this.logger.debug(\"start readying playback\");this.mediaElement&&this.mediaElement.activate();this.s$();this.L4()&&!g.p(this.playerState,128)&&(this.yR.Q9()||(this.yR.start(),this.videoData.Ka?this.AT(qd(this.playerState,4)):this.AT(qd(qd(this.playerState,8),1))),pF(this))};\ng.H.T2=function(){return this.AU.finished};\ng.H.sendAbandonmentPing=function(){g.p(this.getPlayerState(),128)||(this.publish(\"internalAbandon\"),this.jZ(!0),yIv(this.FA),g.o8(this.FA),g.yi.Ca(this.r7))};\ng.H.XT=function(W,Y,k){W=W===void 0?!0:W;(Y===void 0||Y)&&this.mediaElement&&this.mediaElement.pause();W&&k&&this.loader&&c3(this.videoData)&&this.loader.Y0(k);this.AT(W?new g.ZR(14):new g.ZR)};\ng.H.HD=function(){this.FA.vA()};\ng.H.SW=function(W,Y,k,P,T,I){this.logger.debug(function(){return\"set player error: ec=\"+W+\", detail=\"+T});\nvar X,h;g.Ni(BiB,k)?X=k:k?h=k:X=\"GENERIC_WITHOUT_LINK\";P=(P||\"\")+(\";a6s.\"+c9());if(W===\"auth\"||W===\"drm.auth\"||W===\"heartbeat.stop\")k&&(P+=\";r.\"+k.replaceAll(\" \",\"_\")),I&&(P+=\"sr.\"+I.replaceAll(\" \",\"_\"));Y={errorCode:W,errorDetail:T,errorMessage:h||g.AO[X]||\"\",bI:X,OX:I||\"\",vJ:P,AI:Y,cpn:this.videoData.clientPlaybackNonce};this.videoData.errorCode=W;nF(this,\"dataloaderror\");this.AT(dM(this.playerState,128,Y));g.yi.Ca(this.r7);$u(this);this.lw()};\ng.H.sU=function(W){this.sy=this.sy.filter(function(Y){return W!==Y});\nthis.logger.debug(function(){return\"set preroll ready for \"+W});\nthis.yR.Q9()&&pF(this)};\ng.H.IS=function(){var W;(W=!!this.sy.length)||(W=this.Pk.W.array[0],W=!!W&&W.start<=-0x8000000000000);return W};\ng.H.Ar=function(){return this.O1.Ar()};\ng.H.isPlaying=function(){return this.playerState.isPlaying()};\ng.H.jT=function(){return this.playerState.jT()&&this.videoData.Ka};\ng.H.getPlayerState=function(){return this.playerState};\ng.H.fS=function(W){var Y;(Y=this.loader)==null||Y.fS(W)};\ng.H.Z8=function(W){var Y;(Y=this.loader)==null||Y.Z8(W)};\ng.H.getPlayerType=function(){return this.playerType};\ng.H.getPreferredQuality=function(){if(this.o6){var W=this.o6;W=W.videoData.Nm.compose(W.videoData.aW);W=yn(W)}else W=\"auto\";return W};\ng.H.Vg=XC(16);g.H.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()};\ng.H.setMediaElement=function(W){this.logger.debug(\"set media element\");if(this.mediaElement&&W.Tn()===this.mediaElement.Tn()&&(W.isView()||this.mediaElement.isView())){if(W.isView()||!this.mediaElement.isView())this.UY(),this.mediaElement=W,this.mediaElement.W6=this,UN7(this),this.O1.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.Fb();if(!this.playerState.isError()){var Y=sg(this.playerState,512);g.p(Y,8)&&!g.p(Y,2)&&(Y=qd(Y,1));W.isView()&&(Y=sg(Y,64));this.AT(Y)}this.mediaElement=\nW;this.mediaElement.W6=this;!g.l_(this.zJ)&&this.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate);UN7(this);this.O1.setMediaElement(this.mediaElement);this.U(\"html5_prewarm_media_source\")&&!this.nL.ez()&&bxV(this.mediaElement)}};\ng.H.Fb=function(W,Y,k){W=W===void 0?!1:W;Y=Y===void 0?!1:Y;k=k===void 0?!1:k;this.logger.debug(\"remove media element\");if(this.mediaElement){var P=this.getCurrentTime();P>0&&(this.O1.J=P);this.O1.setMediaElement(null);!W&&this.Jf()?xlS(this):this.Fo(k);this.loader&&($m(this.loader),oY(this,Y));this.Pb.stop();if(this.mediaElement&&(!this.yR.Q9()&&!this.ri()||this.playerState.isError()||g.p(this.playerState,2)||this.AT(qd(this.playerState,512)),this.mediaElement)){this.UY();if(W||!this.mediaElement.isView())this.C1.k0(\"mesv_s\"),\nthis.mediaElement.stopVideo(),GL(this);this.mediaElement=this.mediaElement.W6=null}}};\ng.H.playVideo=function(W,Y){W=W===void 0?!1:W;Y=Y===void 0?!1:Y;var k=this,P,T,I,X,h,B;return g.v(function(O){if(O.W==1){k.logger.debug(\"start play video\");var u=window.google_image_requests;u&&u.length>10&&(window.google_image_requests=u.slice(-10));if(g.p(k.playerState,128))return O.return();if(k.nL.hR())return k.publish(\"signatureexpired\"),O.return();k.mediaElement&&Hh2(k.FA);k.rY();(g.p(k.playerState,64)||W)&&k.AT(qd(k.playerState,8));return k.yR.finished&&k.mediaElement?k.o6||!k.UF?O.oi(2):g.L(O,\nk.UF,3):O.return()}if(O.W!=2&&g.p(k.playerState,128))return O.return();if(!k.videoData.J)return k.videoData.isLivePlayback&&!g.EcS(k.zJ.C,!0)?(P=\"html5.unsupportedlive\",T=2):(P=k.videoData.t$()?\"fmt.unplayable\":\"fmt.noneavailable\",T=1),g.Jx(Error(\"selectableFormats\")),k.SW(P,T,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\",\"trg.selectableFormats\"),O.return();if(k.Y7()&&k.videoData.J.W)return k.logger.debug(\"rebuild playbackData for airplay\"),O.return(tZ(k));if(Gh(k))u=k.O1,Hr(u.videoData)&&!u.isAtLiveHead(u.getCurrentTime())&&\nu.Ar()&&u.W6.seekTo(Infinity,{Fi:\"seektimeline_peggedToLive\",seekSource:34});else if(Hr(k.videoData)&&(I=k.getCurrentTime()X;if(!h||!X){T&&h&&(I=Math.max(I,T));var B;T=Ro(Y,(B=P.W)==null?void 0:B.videoInfos);B=Y.W6.getPlaybackRate();B>1&&T&&(B=Z10(Y.zJ.C,P.W.videoInfos,B),W.W!==0&&B=480;if(Y.U(\"html5_exponential_memory_for_sticky\")){O=Y.zJ.CN;u=1;var Z=Z===void 0?!1:Z;Lwd(O,\"sticky-lifetime\");O.values[\"sticky-lifetime\"]&&O.XO[\"sticky-lifetime\"]||(O.values[\"sticky-lifetime\"]=0,O.XO[\"sticky-lifetime\"]=0);Z&&b5(O,\"sticky-lifetime\")>.0625&&(u=O.XO[\"sticky-lifetime\"]*2);O.values[\"sticky-lifetime\"]+=1*Math.pow(2,\nO.W/u);O.XO[\"sticky-lifetime\"]=u;O.T.start()}if(Y.U(\"html5_perf_cap_override_sticky\")){Z=Y.J;Y=Y.U(\"html5_perserve_av1_perf_cap\");Y=Y===void 0?!1:Y;if(Y===void 0?0:Y){O=MT();u=g.e(Object.keys(O));for(W=u.next();!W.done;W=u.next())W=W.value,W.indexOf(\"1\")!==0&&delete O[W];g.Zm(\"yt-player-performance-cap\",O,2592E3)}else g.Xn(\"yt-player-performance-cap\");i57(Y);if(Y){Y=g.e(wg.keys());for(O=Y.next();!O.done;O=Y.next())O=O.value,O.startsWith(\"1\")||wg.delete(O);Y=g.e(b1.values());for(O=Y.next();!O.done;O=\nY.next())O=O.value,O.startsWith(\"1\")||b1.delete(O);Y=g.e(Z.keys());for(O=Y.next();!O.done;O=Y.next())O=O.value,O.startsWith(\"1\")||Z.delete(O)}else wg.clear(),b1.clear(),Z.clear()}}}}this.loader&&(Y=this.loader,k=k||\"\",Y.policy.W?Hi(Y.T.W,k):Hi(Y.W.C,k));this.rf()};\ng.H.getUserPlaybackQualityPreference=function(){return this.videoData.J&&!this.videoData.J.W?yn(this.videoData.Nm):Qn[oi()]};\ng.H.hasSupportedAudio51Tracks=function(){return this.videoData.hasSupportedAudio51Tracks()};\ng.H.setUserAudio51Preference=function(W,Y){this.getUserAudio51Preference()!==W&&(this.y5(\"toggle51\",{pref:W}),g.Zm(\"yt-player-audio51\",W,Y?31536E3:2592E3),this.V0())};\ng.H.getUserAudio51Preference=function(){return this.videoData.getUserAudio51Preference()};\ng.H.setProximaLatencyPreference=function(W){var Y=this.getProximaLatencyPreference();this.y5(\"proxima\",{pref:W});g.Zm(\"yt-player-proxima-pref\",W,31536E3);Y!==W&&(W=this.O1,W.e1=!0,W.W6.seekTo(Infinity,{Fi:\"seektimeline_proximaSeekToHead\",seekSource:34}))};\ng.H.getProximaLatencyPreference=function(){var W;return(W=K$())!=null?W:0};\ng.H.isProximaLatencyEligible=function(){return this.videoData.isProximaLatencyEligible};\ng.H.O4=function(){this.videoData.videoId?this.GW.O4(this.videoData):this.y5(\"povid\",{})};\ng.H.NP=function(){this.videoData.videoId?this.GW.NP(this.videoData):this.y5(\"piavid\",{})};\ng.H.rf=function(){if(!this.Xr()&&!g.p(this.playerState,128)&&this.videoData.J){if(this.videoData.J.W)YG(this);else{var W=eQ(this),Y=this.videoData;a:{var k=this.videoData.xq;if(W.W){for(var P=g.e(k),T=P.next();!T.done;T=P.next()){T=T.value;var I=T.getInfo(),X=g.cu[I.video.quality];if((!W.J||I.video.quality!==\"auto\")&&X<=W.W){k=T;break a}}k=k[k.length-1]}else k=k[0]}Y.rD=k;Q4(this,W.reason,B5V(this,this.videoData.rD))}if(this.U(\"html5_check_unstarted\")?this.playerState.isOrWillBePlaying():this.isPlaying())this.O1.N=\n!1,this.playVideo()}};\ng.H.s4=function(W,Y){if(this.Xr()||g.p(this.playerState,128))return!1;var k,P=!((k=this.videoData.J)==null||!k.W);k=P&&Y?this.getCurrentTime()-this.m2():NaN;if(W.Ib&&W.Ib.id){var T=this.FA;if(T.qoe){T=T.qoe;var I=[W.Ib.id,isNaN(k)?\"m\":\"t\"];g.xd(T,g.Jj(T.provider),\"afi\",I)}}if(P)return Y&&(P=Py(this.O1),this.y5(\"aswh\",{id:W.id,xtags:W.xtags,bh:P.toFixed(3)})),this.loader.setAudioTrack(W,k,Y),!0;if($u7(this)){a:{Y=this.mediaElement.audioTracks();for(P=0;P=0?W:this.getCurrentTime()};\ng.H.hT=function(){var W;return((W=this.videoData.W)==null?0:W.hT)?this.videoData.W.hT(this.getCurrentTime()-this.m2()):this.mediaElement&&(W=this.mediaElement.Xe())&&(W=W.getTime(),!isNaN(W))?W/1E3+this.getCurrentTime():NaN};\ng.H.getDuration=function(){return this.videoData.lengthSeconds?this.videoData.lengthSeconds+this.m2():this.M6()?this.M6():0};\ng.H.rH=function(){var W=new jGd;if(this.loader){var Y=this.zJ.schedule,k=this.zJ.OR();k=k===void 0?!1:k;W.FV=Y.wD;W.DU=Y.GJ;W.bandwidthEstimate=vy(Y);if(k){k=(Y.L.le()*1E3).toFixed();var P=(Y.TJ.le()*1E3).toFixed(),T=lw(Y).toFixed(2),I=((Y.G.le()||0)*1E9).toFixed(2),X=Y.J.le().toFixed(0),h=Y.OP.le().toFixed(0),B=Y.N.percentile(.5).toFixed(2),O=Y.N.percentile(.92).toFixed(2),u=Y.N.percentile(.96).toFixed(2),Z=Y.N.percentile(.98).toFixed(2);Y.W?Y.W.reset():Y.W=new aR;Y.W.add(Y.gD);Y.W.add(Y.interruptions.length);\nfor(var M=0,t=Y.interruptions.length-1;t>=0;t--){var q=Y.interruptions[t];Y.W.add(q-M);M=q}M=0;for(t=Y.T.length-1;t>=0;t--){q=Y.T[t];var G=q.stamp/36E5;Y.W.add(G-M);M=G;Y.W.add(q.net/1E3);Y.W.add(q.max)}Y=Y.W.WK();W.W={ttr:k,ttm:P,d:T,st:I,bw:X,abw:h,v50:B,v92:O,v96:u,v98:Z,\"int\":Y}}NiV(this.loader,W)}else this.mediaElement&&(W.du=QX(this.mediaElement));W.FV=this.FV;W.DU=this.DU;W.J=this.isAtLiveHead()&&this.isPlaying()?T5(this):NaN;Y=this.O1;Y=Y.W?zp(Y.W):0;W.T=Y;return W};\ng.H.Dl=function(W,Y){this.DU+=W;this.FV+=Y};\ng.H.UG=function(){return this.mediaElement?g.zx(this.videoData)?1:oJ(this.videoData)?this.isAtLiveHead()||this.Ar()?1:this.O1.UG():this.mediaElement.UG():0};\ng.H.h4=function(){var W=this.Ab,Y=Gz(W,\"bandwidth\"),k=Gz(W,\"bufferhealth\"),P=Gz(W,\"livelatency\"),T=Gz(W,\"networkactivity\"),I=s9(W,\"bandwidth\"),X=s9(W,\"bufferhealth\"),h=s9(W,\"livelatency\");W=s9(W,\"networkactivity\");var B=this.Ea(),O=B.droppedVideoFrames;B=B.totalVideoFrames;var u=this.getCurrentTime();if(this.hY){var Z=\"IT/\"+(this.hY.W.getInfo()+\"/\"+yn(this.Y5()));Z+=\"/\"+this.hY.getInfo()}else Z=\"\";var M=this.isGapless(),t=this.g_(),q=this.IY(),G=g.YJ(this),E=this.getPlayerState(),z=this.getPlaylistSequenceForTime(this.getCurrentTime());\na:{var A=0;var F=\"\";if(this.Ha){if(this.Ha.U0){F=\"D,\";break a}A=this.Ha.yY;F=this.Ha.eW.substring(0,4)}A>0?(A=\"AD\"+A+\", \",F&&(A+=F+\", \"),F=A):F=\"\"}return{mU:I,v$:X,currentTime:u,zG:Z,droppedVideoFrames:O,isGapless:M,g_:t,mE:q,Hv:Y,q9:k,mM:P,I2:T,DR:h,CT:W,wB:G,playerState:E,tJ:z,Kx:F,totalVideoFrames:B}};\ng.H.ER=function(W){var Y={};if(W===void 0?0:W){Object.assign(Y,this.FA.ER());this.mediaElement&&(Object.assign(Y,this.mediaElement.ER()),W=this.Ea(),Y.dvf=W.droppedVideoFrames,Y.tvf=W.totalVideoFrames);this.loader&&Object.assign(Y,this.loader.ER());this.hY&&(Y.drm=JSON.stringify(this.hY.ER()));Y.state=this.playerState.state.toString(16);g.p(this.playerState,128)&&(Y.debug_error=JSON.stringify(this.playerState.dc));this.IS()&&(Y.prerolls=this.sy.join(\",\"));this.videoData.KH&&(Y.ismb=this.videoData.KH);\nthis.videoData.latencyClass!==\"UNKNOWN\"&&(Y.latency_class=this.videoData.latencyClass);this.videoData.isLowLatencyLiveStream&&(Y.lowlatency=\"1\");if(this.videoData.defaultActiveSourceVideoId||this.videoData.compositeLiveStatusToken||this.videoData.compositeLiveIngestionOffsetToken)Y.is_mosaic=1;this.videoData.cotn&&(Y.is_offline=1,Y.cotn=this.videoData.cotn);this.videoData.playerResponseCpn&&(Y.playerResponseCpn=this.videoData.playerResponseCpn);this.GW.isOrchestrationLeader()&&(Y.leader=1);this.videoData.isLivePlayback&&\n(this.videoData.W&&NN(this.videoData.W)&&(Y.segduration=NN(this.videoData.W)),W=this.O1,Y.lat=W.L?IJz(W.L.T):0,Y.liveutcstart=this.videoData.liveUtcStartSeconds);Y.relative_loudness=this.videoData.Zm.toFixed(3);if(W=g.YJ(this))Y.optimal_format=W.video.qualityLabel;Y.user_qual=oi();Y.release_version=S[16]}Y.debug_videoId=this.videoData.videoId;return Y};\ng.H.addCueRange=function(W){this.VR([W])};\ng.H.removeCueRange=function(W){this.Pk.aB([W])};\ng.H.uN=function(){var W=this.Pk;if(W.W6.V().U(\"html5_sort_cueranges_on_update\")&&!(W.R7().length<=0||W.Xr())){var Y=W.W;Y.array.sort(Y.W)}W.sync()};\ng.H.wq=function(W,Y){return this.Pk.wq(W,Y)};\ng.H.VR=function(W,Y){this.Pk.Bz(W,Y)};\ng.H.Mm=function(W){this.Pk.aB(W)};\ng.H.R7=function(){return this.Pk.R7()||[]};\ng.H.sL=function(){return this.oN};\ng.H.Y7=function(){return this.visibility.Y7()};\ng.H.i4=function(){this.mediaElement&&this.mediaElement.i4()};\ng.H.dt2=function(){nF(this)};\ng.H.togglePictureInPicture=function(){this.mediaElement&&this.mediaElement.togglePictureInPicture()};\ng.H.UY=function(){g.eY(this.MP)};\ng.H.RNJ=function(){this.Xi();this.publish(\"onLoadProgress\",this.UG())};\ng.H.Kl=function(W){var Y=W.target.pn();if(this.mediaElement&&this.mediaElement.pn()&&this.mediaElement.pn()===Y){d15(this,W.type);switch(W.type){case \"error\":var k=oYS(this.mediaElement)||\"\",P=this.mediaElement.JD();if(k===\"capability.changed\"){this.U(\"html5_restart_on_capability_change\")?(this.y5(\"capchg\",{msg:P}),this.Je(!0)):tZ(this);return}if(this.mediaElement.hasError()&&jcq(this.nL,k,{msg:P,trg:\"elementevt\"}))return;if(this.isBackground()&&this.mediaElement.NI()===4){this.lw();v4(this,\"unplayable\");\nreturn}break;case \"durationchange\":k=this.mediaElement.getDuration();isFinite(k)&&(!this.j1||k>0)&&k!==1&&this.Nv(k);break;case \"ratechange\":this.loader&&this.loader.setPlaybackRate(this.mediaElement.getPlaybackRate());OdX(this.Pk);this.FA.onPlaybackRateChange(this.getPlaybackRate());break;case \"loadedmetadata\":W8v(this);this.publish(\"onLoadedMetadata\");xTv(this);k=this.hT();this.videoData.tp&&(this.videoData.tp=k);break;case \"loadstart\":xTv(this);break;case \"progress\":case \"suspend\":this.bA.n6();\nbreak;case \"seeked\":(this.zJ.U(\"html5_sabr_ignore_skipad_before_completion\")||this.zJ.U(\"html5_ignore_sabrseek_during_adskip\"))&&(k=this.loader)!=null&&k.policy.K&&k.policy.Jj&&k.Dn&&(k.y5(\"sdai\",{skipAdSked:\"1\"}),k.Dn=!1);break;case \"playing\":this.C1.k0(\"plev\");this.gh&&!Gh(this)&&(this.gh=!1,this.isAtLiveHead()||(this.logger.debug(\"seek to infinity on PLAYING\"),this.seekTo(Infinity,{Fi:\"videoplayer_onPlaying\"})));break;case \"timeupdate\":k=this.mediaElement&&!this.mediaElement.getCurrentTime();P=\nthis.mediaElement&&this.mediaElement.Tg()===0;if(k&&(!this.Py||P))return;this.Py=this.Py||!!this.mediaElement.getCurrentTime();cT5(this);this.Xi();if(!this.mediaElement||this.mediaElement.pn()!==Y)return;this.publish(\"onVideoProgress\",this.getCurrentTime());break;case \"waiting\":if(this.mediaElement.OG().length>0&&this.mediaElement.EE().length===0&&this.mediaElement.getCurrentTime()>0&&this.mediaElement.getCurrentTime()<5&&this.loader)return;this.U(\"html5_ignore_unexpected_waiting_cfl\")&&(this.mediaElement.isPaused()||\nthis.mediaElement.Tg()>2||!this.mediaElement.isSeeking()&&YX(this.mediaElement.EE(),this.mediaElement.getCurrentTime()))&&(k=this.mediaElement.ER(),k.bh=QX(this.mediaElement).toFixed(3),this.y5(\"uwe\",k));break;case \"resize\":W8v(this);this.videoData.K&&this.videoData.K.video.quality===\"auto\"&&this.publish(\"internalvideoformatchange\",this.videoData,!1);break;case \"pause\":if(this.FG&&g.p(this.playerState,8)&&!g.p(this.playerState,1024)&&this.getCurrentTime()===0&&g.nV){v4(this,\"safari_autoplay_disabled\");\nreturn}}if(this.mediaElement&&this.mediaElement.pn()===Y){AG7(this.O1,W);this.publish(\"videoelementevent\",W);Y=this.playerState;P=this.mY;var T=this.mediaElement;k=this.videoData.clientPlaybackNonce;if(!g.p(Y,128)){var I=Y.state;T=T?T:W.target;var X=T.getCurrentTime();if(!g.p(Y,64)||W.type!==\"ended\"&&W.type!==\"pause\"){var h=T.getDuration();h=T.isEnded()||X>1&&Math.abs(X-h)<1.1;var B=W.type===\"pause\"&&T.isEnded();X=W.type===\"ended\"||W.type===\"waiting\"||W.type===\"timeupdate\"&&!g.p(Y,4)&&!cN(P,X);if(B||\nh&&X)T.m7()>0&&T.pn()&&(I=14);else switch(W.type){case \"error\":oYS(T)&&(I|=128);break;case \"pause\":g.p(Y,256)?(I^=256)||(I=64):g.p(Y,32)||g.p(Y,2)||g.p(Y,4)||(I=4,g.p(Y,1)&&g.p(Y,8)&&(I|=1));break;case \"playing\":X=I;I=(I|8)&-1093;X&4?(I|=1,yU(P,T,!0)):cN(P,T.getCurrentTime())&&(I&=-2);g.p(Y,1)&&yU(P,T)&&(I|=1);break;case \"seeking\":I|=16;g.p(Y,8)&&(I|=1);I&=-3;break;case \"seeked\":I&=-17;yU(P,T,!0);break;case \"waiting\":g.p(Y,2)||(I|=1);yU(P,T);break;case \"timeupdate\":X=g.p(Y,16),h=g.p(Y,4),(g.p(Y,8)||\nX)&&!h&&cN(P,T.getCurrentTime())&&(I=8),yU(P,T)&&(I|=1)}}P=I;I=null;P&128&&(I=W.target,T=oYS(I),X=1,T?(T===\"capability.changed\"&&(X=2),h=\"GENERIC_WITHOUT_LINK\",B=I.ER(),B.mediaElem=\"1\",B.trg=\"melem\",/AUDIO_RENDERER/.test(I.JD())&&(h=\"HTML5_AUDIO_RENDERER_ERROR\"),I={errorCode:T,errorMessage:g.AO[h]||\"\",bI:h,vJ:l4(B),AI:X,cpn:Y.dc?Y.dc.cpn:\"\"}):I=null,I&&(I.cpn=k));Y=dM(Y,P,I)}!g.p(this.playerState,1)&&g.p(Y,1)&&rNQ(this,\"evt\"+W.type);this.AT(Y)}}};\ng.H.a2a=function(W){W=W.W.availability===\"available\";W!==this.oN&&(this.oN=W,this.publish(\"airplayavailabilitychange\"))};\ng.H.Eag=function(){var W=(0,g.lj)(),Y=this.mediaElement.Y7();this.y5(\"airplay\",{ia:Y});!Y&&!isNaN(this.Hq)&&W-this.Hq<2E3||(this.Hq=W,Y!==this.Y7()&&(W=this.visibility,W.W!==Y&&(W.W=Y,W.R6()),this.y5(\"airplay\",{rbld:Y}),this.V0()),this.publish(\"airplayactivechange\"))};\ng.H.Od=function(W){if(this.loader){var Y=this.loader,k=Y.J,P=Y.getCurrentTime(),T=Date.now()-k.N;k.N=NaN;k.y5(\"sdai\",{adfetchdone:W,d:T});W&&!isNaN(k.G)&&k.K!==3&&Z1(k.loader,P,k.G,k.X);k.policy.K?k.C=NaN:k.T=NaN;qL(k,4,k.K===3?\"adfps\":\"adf\");$m(Y)}};\ng.H.l6=function(){g.hl(this.aQ);this.Pb.stop();this.videoData.Kg=!0;this.zJ.YF=!0;this.zJ.K1=0;var W=this.nL;if(W.videoData.K){var Y=W.pg.C,k=W.videoData.K.lz;Y.T.has(k)&&(Y.T.delete(k),Y.K=!0)}W.W.stop();this.Zf();g.p(this.playerState,8)&&this.AT(sg(this.playerState,65));this.Zn=!1;W=this.FA;W.W&&enq(W.W);W.K&&(W=W.K,Y=g.Jj(W.provider),W.W<0&&(W.W=Y,W.delay.start()),W.K=Y,W.T=Y);g.Iv(this.Zy);this.publish(\"playbackstarted\");(W=g.o3(\"yt.scheduler.instance.clearPriorityThreshold\"))?W():d8(0)};\ng.H.Zf=function(){var W=this.GW.Kq(),Y={},k={};!IQ(\"pbs\",this.C1.timerName)&&vT.measure&&vT.getEntriesByName&&(vT.getEntriesByName(\"mark_nr\")[0]?lH7(\"mark_nr\"):lH7());W.videoId&&(Y.videoId=W.videoId);W.clientPlaybackNonce&&!this.U(\"web_player_early_cpn\")&&(Y.clientPlaybackNonce=W.clientPlaybackNonce);this.mediaElement&&this.mediaElement.isPaused()&&(k.isPausedOnLoad=!0);k.itag=W.K?Number(W.K.itag):-1;W.Cn&&(k.preloadType=String(this.bJ?2:1));Y.liveStreamMode=yCz[u8(W)];Y.playerInfo=k;this.C1.infoGel(Y);\nif(this.loader){W=this.loader.timing;window&&window.performance&&window.performance.getEntriesByName&&(W.J&&(Y=window.performance.getEntriesByName(W.J),Y.length&&(Y=Y[0],W.tick(\"vri\",Y.fetchStart),W.tick(\"vdns\",Y.domainLookupEnd),W.tick(\"vreq\",Y.requestStart),W.tick(\"vrc\",Y.responseEnd))),W.K&&(Y=window.performance.getEntriesByName(W.K),Y.length&&(Y=Y[0],W.tick(\"ari\",Y.fetchStart),W.tick(\"adns\",Y.domainLookupEnd),W.tick(\"areq\",Y.requestStart),W.tick(\"arc\",Y.responseEnd))));W=W.ticks;for(var P in W)W.hasOwnProperty(P)&&\nthis.C1.tick(P,W[P])}};\ng.H.Xi=function(W){var Y=this;W=W===void 0?!1:W;if(this.mediaElement&&this.videoData){MU6(this.O1,this.isPlaying());var k=this.getCurrentTime();if(this.loader&&(g.p(this.playerState,4)&&g.zx(this.videoData)||g.p(this.playerState,32)&&w9(this.videoData)||Kzd(this.loader,k),this.U(\"html5_log_centralized_player_time\")&&Math.abs(this.getCurrentTime()-this.loader.currentTime)>10)){var P;this.y5(\"sabrSeekRefactorCmt\",{cmt:this.getCurrentTime(),loaderCmt:(P=this.loader)==null?void 0:P.currentTime},!0)}k>\n5&&(this.O1.J=k);(P=g.$r())?g.yi.Ca(this.r7):g.FK(this.r7);var T=this.mediaElement.isPaused();if((this.playerState.isBuffering()||!T||BZ(this.videoData))&&!g.p(this.playerState,128)){var I=function(){if(Y.mediaElement&&!g.p(Y.playerState,128)){Y.zJ.OR()&&d15(Y,\"pfx\");var X=Y.getCurrentTime();Y.U(\"html5_buffer_underrun_transition_fix\")&&(X-=Y.m2());var h=QX(Y.mediaElement),B=g.p(Y.playerState,8),O=cN(Y.mY,X),u=PFz(Y.mY,X,(0,g.lj)(),h);B&&O?Y.AT(sg(Y.playerState,1)):B&&u?(B=Y.getDuration(),O=Hr(Y.videoData),\nB&&Math.abs(B-X)<1.1?(Y.y5(\"setended\",{ct:X,bh:h,dur:B,live:O}),Y.mediaElement.kN()?(Y.logger.debug(\"seek to 0 because of looping\"),Y.seekTo(0,{Fi:\"videoplayer_loop\",seekSource:37})):Y.XT()):(Y.playerState.isBuffering()||rNQ(Y,\"progress_fix\"),Y.AT(qd(Y.playerState,1)))):(B&&!O&&!u&&X>0&&(B=(Date.now()-Y.sS)/1E3,O=Y.getDuration(),X>O-1&&Y.y5(\"misspg\",{t:X.toFixed(2),d:O.toFixed(2),r:B.toFixed(2),bh:h.toFixed(2)})),Y.playerState.isPaused()&&Y.playerState.isBuffering()&&QX(Y.mediaElement)>5&&Y.AT(sg(Y.playerState,\n1)));Y.Xi()}};\nthis.mediaElement.OG().length===0?this.r7=P?g.yi.r_(I,100):g.LB(I,100):this.r7=P?g.yi.r_(I,500):g.LB(I,500)}this.videoData.UV=k;!W&&this.isPlaying()&&hmV(this);wYd(this.vl,this.o6,this.bd(),this.isBackground())&&YG(this);this.publish(\"progresssync\",W);T&&BZ(this.videoData)&&this.publish(\"onVideoProgress\",this.getCurrentTime())}};\ng.H.Nn=function(){this.SW(\"ad.rebuftimeout\",2,\"RETRYABLE_ERROR\",\"vps.\"+this.playerState.state.toString(16))};\ng.H.IY=function(){return this.FA.IY()};\ng.H.pm=function(){return this.loader?this.loader.pm():vy(this.zJ.schedule,!0)};\ng.H.AT=function(W){if(!g.krd(this.playerState,W)){this.logger.debug(function(){return\"Setting state \"+W.toString()});\nvar Y=new g.MW(W,this.playerState);this.playerState=W;qTV(this);var k=!this.lN.length;this.lN.push(Y);var P=this.mediaElement&&this.mediaElement.isSeeking();g.F7(Y,1)&&this.loader&&QC6(this.loader);P=Y.oldState.state===8&&!P;g.F7(Y,1)&&P&&g.p(this.playerState,8)&&!g.p(this.playerState,64)&&this.loader&&(U16(this.loader),this.mediaElement&&QX(this.mediaElement)>=5&&nhw(this.vl,this.o6)&&YG(this));(P=g.je(this.zJ.experiments,\"html5_ad_timeout_ms\"))&&this.videoData.isAd()&&g.p(W,1)&&(g.p(W,8)||g.p(W,\n16))?this.nA.start(P):this.nA.stop();(ez(Y,8)<0||g.F7(Y,1024))&&this.Pb.stop();!g.F7(Y,8)||this.videoData.Kg||g.p(Y.state,1024)||this.Pb.start();g.p(Y.state,8)&&ez(Y,16)<0&&!g.p(Y.state,32)&&!g.p(Y.state,2)&&this.playVideo();g.p(Y.state,2)&&oJ(this.videoData)&&(this.Nv(this.getCurrentTime()),this.Xi(!0));g.F7(Y,2)&&(this.jZ(!0),this.zJ.OR()&&this.U(\"html5_sabr_parse_live_metadata_playback_boundaries\")&&w9(this.videoData)&&this.videoData.W&&(P={minst:\"\"+this.videoData.W.UK,cminst:\"\"+(this.videoData.W.aI()+\nthis.m2()),maxst:\"\"+this.videoData.W.KL,hts:\"\"+this.videoData.W.wD,cmaxst:\"\"+(this.videoData.W.M6()+this.m2())},this.y5(\"sabrSeekableBoundaries\",P)));g.F7(Y,128)&&this.lw();this.videoData.W&&this.videoData.isLivePlayback&&!this.Zt&&(ez(Y,8)<0?Zf2(this.videoData.W):g.F7(Y,8)&&this.videoData.W.resume());lT0(this.O1,Y);ScC(this.FA,Y);if(k&&!this.Xr())try{for(var T=g.e(this.lN),I=T.next();!I.done;I=T.next()){var X=I.value;XAS(this.Pk,X);this.publish(\"statechange\",X)}}finally{this.lN.length=0}}};\ng.H.SO=function(){this.C1.tick(\"qoes\")};\ng.H.z5=function(){this.O1.z5()};\ng.H.sO=function(W,Y,k,P){a:{var T=this.nL;P=P===void 0?\"LICENSE\":P;k=k.substring(0,256);var I=CT(Y);W===\"drm.keyerror\"&&this.hY&&this.hY.K.keys.length>1&&T.T<96&&(W=\"drm.sessionlimitexhausted\",I=!1);var X=T.pg.experiments.Nq(\"html5_retry_on_drm_unavailable\"),h=T.pg.experiments.Nq(\"html5_retry_on_drm_key_error\"),B=/^(closedShouldNotRetry|t\\.prefixedKeyError)(.*)/;if(X&&W===\"drm.unavailable\"||h&&W===\"drm.keyerror\"&&!k.match(B))T.Pz(\"qoe.restart\",{retryOnDrmError:1,e:W,detail:k}),T.W6.Je(!0);else{if(I)if(T.videoData.K&&\nT.videoData.K.video.isHdr())e82(T,W);else{if(T.W6.SW(W,Y,P,k),Toq(T,{detail:k}))break a}else T.Pz(W,{detail:k});W===\"drm.sessionlimitexhausted\"&&(T.y5(\"retrydrm\",{sessionLimitExhausted:1}),T.T++,pYd(T.W6))}}};\ng.H.DTa=function(){var W=this,Y=g.je(this.zJ.experiments,\"html5_license_constraint_delay\"),k=d9();Y&&k?(Y=new g.fC(function(){W.rf();nF(W)},Y),g.m(this,Y),Y.start()):(this.rf(),nF(this))};\ng.H.eM=function(W){this.publish(\"heartbeatparams\",W)};\ng.H.CI=function(W){this.y5(\"keystatuses\",yqc(W));var Y=\"auto\",k=!1;this.videoData.K&&(Y=this.videoData.K.video.quality,k=this.videoData.K.video.isHdr());a:{switch(Y){case \"highres\":case \"hd2880\":Y=\"UHD2\";break;case \"hd2160\":case \"hd1440\":Y=\"UHD1\";break;case \"hd1080\":case \"hd720\":Y=\"HD\";break;case \"large\":case \"medium\":case \"small\":case \"light\":case \"tiny\":Y=\"SD\";break;default:Y=\"\";break a}k&&(Y+=\"HDR\")}Y=SV(W)?eO(W,Y):W.T.includes(Y);if(this.U(\"html5_enable_vp9_fairplay\")){if(k)if(W.G){var P;if((P=\nthis.hY)==null?0:Y8(P.W))if((k=this.hY)==null)k=0;else{for(var T=P=void 0,I=g.e(k.K.values()),X=I.next();!X.done;X=I.next())X=X.value,P||(P=Wtv(X,\"SD\")),T||(T=Wtv(X,\"AUDIO\"));k.Ur({sd:P,audio:T});k=P===\"output-restricted\"||T===\"output-restricted\"}else k=!Y;if(k){this.y5(\"drm\",{dshdr:1});e82(this.nL);return}}else{this.videoData.WQ||(this.videoData.WQ=!0,this.y5(\"drm\",{dphdr:1}),this.Je(!0));return}var h;if((h=this.hY)==null?0:Y8(h.W))return}else if(h=W.G&&Y,k&&!h){e82(this.nL);return}Y||eO(W,\"AUDIO\")&&\neO(W,\"SD\")||(this.logger.debug(\"All formats are output restricted, Retry or Abort\"),W=yqc(W),this.wh?(this.logger.debug(\"Output restricted, playback cannot continue\"),this.publish(\"drmoutputrestricted\"),this.U(\"html5_report_fatal_drm_restricted_error_killswitch\")||this.SW(\"drm.keyerror\",2,void 0,\"info.\"+W)):(this.wh=!0,this.Pz(new g.LT(\"qoe.restart\",Object.assign({},{retrydrm:1},W))),YG(this),pYd(this)))};\ng.H.QbP=function(){if(!this.videoData.Kg&&this.mediaElement&&!this.isBackground()){var W=\"0\";this.mediaElement.Tg()>0&&QX(this.mediaElement)>=5&&this.videoData.J&&this.videoData.J.W&&(this.AT(qd(this.playerState,1)),rNQ(this,\"load_soft_timeout\"),this.publish(\"playbackstalledatstart\"),W=\"1\");qTV(this);var Y=this.videoData.J;W={restartmsg:W,mfmt:!mz(this.videoData),mdrm:!(!(Y&&Y.videoInfos&&Y.videoInfos.length&&Y.videoInfos[0].tY)||this.hY),mfmtinfo:!this.videoData.K,prerolls:this.IS()?this.sy.join(\",\"):\n\"0\"};if(this.hY){Y=this.hY;if(Y.K.size<=0){var k=\"ns;\";Y.N||(k+=\"nr;\");Y=k+=\"ql.\"+Y.J.length}else Y=yqc(Y.K.values().next().value),Y=l4(Y);W.drmp=Y}var P;Object.assign(W,((P=this.loader)==null?void 0:P.ER())||{});var T;Object.assign(W,((T=this.mediaElement)==null?void 0:T.ER())||{});this.FA.Pz(\"qoe.start15s\",l4(W));this.publish(\"loadsofttimeout\")}};\ng.H.Nv=function(W){this.videoData.lengthSeconds!==W&&(this.videoData.lengthSeconds=W,nF(this))};\ng.H.jZ=function(W,Y){var k=this;W=W===void 0?!1:W;if(!this.yM)if(IQ(\"att_s\",\"player_att\")||Xc(\"att_s\",void 0,\"player_att\"),this.U(\"use_rta_for_player\"))(function(){var T,I,X,h;return g.v(function(B){switch(B.W){case 1:if(!(T=W)){B.oi(2);break}return g.L(B,g.Dlz(),3);case 3:T=!B.K;case 2:if(T)return B.return();g.Ta(B,4);I=eFz(k.FA);if(!I)throw Error();X={};return g.L(B,g.Thq((X.cpn=k.videoData.clientPlaybackNonce,X.encryptedVideoId=k.videoData.videoId||\"\",X),3E4),6);case 6:h=B.K;if(k.yM)throw Error();\nif(!h.challenge)throw g.Jx(Error(\"Not sending attestation ping; no attestation challenge string\")),Error();k.yM=!0;var O=[h.challenge];h.error?O.push(\"r1c=\"+h.error):h.webResponse&&O.push(\"r1a=\"+h.webResponse);var u;((u=h.adblockReporting)==null?void 0:u.reportingStatus)!==void 0&&O.push(\"r6a=\"+h.adblockReporting.reportingStatus);var Z;((Z=h.adblockReporting)==null?void 0:Z.broadSpectrumDetectionResult)!==void 0&&O.push(\"r6b=\"+h.adblockReporting.broadSpectrumDetectionResult);I(O.join(\"&\"));Xc(\"att_f\",\nvoid 0,\"player_att\");g.Vi(B,0);break;case 4:g.jh(B),Xc(\"att_e\",void 0,\"player_att\"),g.I_(B)}})})().then(function(){Y==null||Y()});\nelse{var P=new g.hLd(this.videoData);if(\"c1a\"in P.uE&&!g.Jh.isInitialized()){Xc(\"att_wb\",void 0,\"player_att\");this.je===2&&Math.random()<.01&&g.Jx(Error(\"Botguard not available after 2 attempts\"));if(W)return;if(this.je<5){g.Iv(this.fA);this.je++;return}}(P=g.D6Q(P))?(Xc(\"att_f\",void 0,\"player_att\"),x31(this.FA,P),this.yM=!0):Xc(\"att_e\",void 0,\"player_att\")}};\ng.H.qA=function(W){W=W===void 0?!1:W;return Hr(this.videoData)&&(this.isAtLiveHead()&&!this.playerState.isPaused()||this.Ar()||g.zx(this.videoData))?this.getCurrentTime():this.M6(W)};\ng.H.nC=function(){return this.aI()};\ng.H.M6=function(W){return this.O1.M6(W===void 0?!1:W)};\ng.H.aI=function(){return this.O1.aI()};\ng.H.m2=function(){return this.O1?this.O1.m2():0};\ng.H.getStreamTimeOffset=function(){return this.O1?this.O1.getStreamTimeOffset():0};\ng.H.RA=function(){var W=0;this.zJ.U(\"web_player_ss_media_time_offset\")&&(W=this.getStreamTimeOffset()===0?this.m2():this.getStreamTimeOffset());return W};\ng.H.setPlaybackRate=function(W){var Y;this.playbackRate!==W&&Ro(this.vl,(Y=this.videoData.J)==null?void 0:Y.videoInfos)&&(this.playbackRate=W,YG(this));this.playbackRate=W;this.mediaElement&&this.mediaElement.setPlaybackRate(W)};\ng.H.getPlaybackRate=function(){return this.playbackRate};\ng.H.getPlaybackQuality=function(){var W=\"unknown\";if(this.videoData.K&&(W=this.videoData.K.video.quality,W===\"auto\"&&this.mediaElement)){var Y=this.Ud();Y&&Y.videoHeight>0&&(W=KIX(Y.videoWidth,Y.videoHeight))}return W};\ng.H.isHdr=function(){return!!(this.videoData.K&&this.videoData.K.video&&this.videoData.K.video.isHdr())};\ng.H.sendVideoStatsEngageEvent=function(W,Y){var k=this.FA;k.W?(k=re(k.W,\"engage\"),k.wD=W,k.send(Y)):Y&&Y()};\ng.H.Tv=function(W){return this.FA.Tv(W)};\ng.H.isAtLiveHead=function(W,Y){Y=Y===void 0?!1:Y;return Hr(this.videoData)&&(this.QB||Y)?this.O1.isAtLiveHead(W):!1};\ng.H.O3=function(){var W=this.M6(),Y=this.getCurrentTime(),k;(k=!Hr(this.videoData))||(k=this.O1,k=!(k.W&&k.W.J));return k||this.Ar()||isNaN(W)||isNaN(Y)?0:Math.max(0,W-Y)};\ng.H.uO=function(W){(this.QB=W)||this.Pb.stop();this.videoData.W&&(W?this.videoData.W.resume():Zf2(this.videoData.W));if(this.loader){var Y=this.videoData.U(\"html5_disable_preload_for_ssdai_with_preroll\")&&this.ri()&&this.videoData.isLivePlayback;W&&!Y?this.loader.resume():oY(this,!0)}g.p(this.playerState,2)||W?g.p(this.playerState,512)&&W&&this.AT(sg(this.playerState,512)):this.AT(qd(this.playerState,512));Y=this.FA;Y.qoe&&(Y=Y.qoe,g.xd(Y,g.Jj(Y.provider),\"stream\",[W?\"A\":\"I\"]))};\ng.H.Yb=function(W){this.FA.Pz(\"player.exception\",l4({n:W.name,m:W.message}))};\ng.H.Kh=XC(22);g.H.Bu=XC(51);g.H.aZ=function(W){this.FA.aZ(W)};\ng.H.e7=function(W){this.FA.e7(W)};\ng.H.zb=function(W){this.FA.zb(W)};\ng.H.l_=XC(28);g.H.cK=XC(34);g.H.k9=function(W){this.FA.k9(W)};\ng.H.Y0=function(W,Y,k,P){this.FA.Y0(W,Y,k,P)};\ng.H.DB=function(){this.y5(\"hidden\",{},!0)};\ng.H.Ea=function(){return this.mediaElement?this.mediaElement.getVideoPlaybackQuality():{}};\ng.H.BA=function(){return this.loader?this.loader.BA():!0};\ng.H.setLoop=function(W){this.loop=W;this.mediaElement&&!g.l_(this.zJ)&&this.mediaElement.setLoop(W)};\ng.H.kN=function(){return this.mediaElement&&!g.l_(this.zJ)?this.mediaElement.kN():this.loop};\ng.H.Ux=function(W){this.y5(\"timestamp\",{o:W.toString()});this.O1.Ux(W)};\ng.H.VU=function(W){this.C1.tick(W)};\ng.H.yC=function(W){return this.C1.yC(W)};\ng.H.k0=function(W){this.C1.k0(W)};\ng.H.y5=function(W,Y,k){this.FA.y5(W,Y,k===void 0?!1:k)};\ng.H.lf=function(W,Y,k){this.FA.y5(W,Y,k===void 0?!1:k)};\ng.H.Pz=function(W){this.FA.Pz(W.errorCode,l4(W.details));W=W.errorCode;if(this.videoData.isLivePlayback&&(W===\"qoe.longrebuffer\"||W===\"qoe.slowseek\")||W===\"qoe.restart\"){W=this.loader?wES(this.loader.videoTrack):{};var Y,k;this.y5(\"lasoe\",Object.assign(this.loader?wES(this.loader.audioTrack):{},(Y=this.j1)==null?void 0:(k=Y.W)==null?void 0:k.X3()));var P,T;this.y5(\"lvsoe\",Object.assign(W,(P=this.j1)==null?void 0:(T=P.K)==null?void 0:T.X3()))}if(this.U(\"html5_log_centralized_player_time\")){var I;this.y5(\"sabrSeekRefactorCmt\",\n{cmt:this.getCurrentTime(),loaderCmt:(I=this.loader)==null?void 0:I.currentTime})}};\ng.H.uM=function(W,Y,k){this.FA.uM(W,Y,k)};\ng.H.Qm=function(W,Y,k,P,T,I,X,h){var B;if((B=this.videoData.W)!=null&&B.isLive){var O=Y.playerType===2?Y:W,u=W.videoData.videoId,Z=Y.videoData.videoId;if(u&&Z){B=this.FA;if(B.qoe){var M=B.qoe,t=W.cpn,q=Y.cpn,G=O.videoData.jW,E=M.provider.videoData.clientPlaybackNonce,z=M.provider.videoData.videoId,A=q!==E&&Z!==z;E=t!==E&&u!==z;M.reportStats();M.adCpn&&M.adCpn!==t||(M.adCpn=E?t:\"\",M.zS=E?u:\"\",M.adFormat=E?G:void 0,I1q(M,I?4:T?2:0,q,Z,P),M.reportStats(),M.adCpn=A?q:\"\",M.zS=A?Z:\"\",M.adFormat=A?G:void 0,\nI1q(M,I?5:T?3:1,t,u,k),M.reportStats())}k=W.cpn;if(B.J.has(k)){if(T=B.J.get(k),Q0(T,!0).send(),wv(T),k!==B.provider.videoData.clientPlaybackNonce){HP(T);var F;(F=B.W)==null||Zd(F);B.J.delete(k)}}else B.vU=B.provider.videoData.clientPlaybackNonce,B.vU&&B.W&&(B.J.set(B.vU,B.W),Q0(B.W).send(),wv(B.W));F=Y.cpn;O=O.videoData;P-=this.RA();if(B.J.has(F)){P=B.J.get(F);var y=P.J&&isNaN(P.C)?y0(P):NaN;P=od(P,!1);isNaN(y)||(P.G=y);P.send()}else P=rXd(B,B.provider,O,P),B.J.set(F,P),vd(P,new g.MW(qd(new g.ZR,\n8),new g.ZR)),enq(P),(y=B.W)==null||wv(y);B.vU=F;if(this.U(\"html5_unify_csi_server_stitched_transition_logging\")){if(B=this.C1,y=Y.cpn,P=this.videoData.clientPlaybackNonce,Y=Y.videoData,W=(W.cpn===P?\"video\":\"ad\")+\"_to_\"+(y===P?\"video\":\"ad\"),W!==\"video_to_ad\"){P=W===\"ad_to_video\"?void 0:Y;O=P==null?void 0:P.w8;F={};if(Y==null?0:Y.X)F.cttAuthInfo={token:Y.X,videoId:Y.videoId};X&&(F.startTime=X);XF(W,F);var U,V,b;X={targetVideoId:(U=Y==null?void 0:Y.videoId)!=null?U:\"empty_video\",targetCpn:y,adVideoId:(V=\nP==null?void 0:P.videoId)!=null?V:\"empty_video\",adClientPlaybackNonce:(b=O==null?void 0:O.cpn)!=null?b:P==null?void 0:P.clientPlaybackNonce};O&&(X.adBreakType=O.adBreakType,X.adType=O.adType);g.lN(X,W);BF(B,h,W)}}else U=this.C1,b=this.videoData.clientPlaybackNonce,V=Y.videoData,b=(W.cpn===b?\"video\":\"ad\")+\"_to_\"+(Y.cpn===b?\"video\":\"ad\"),W={},V.X&&(W.cttAuthInfo={token:V.X,videoId:V.videoId}),X&&(W.startTime=X),XF(b,W),g.lN({targetVideoId:V.videoId,targetCpn:Y.cpn,isSsdai:!0},b),X||BF(U,h,b)}}else this.logger.W(360717806,\n\"SSTEvent for nonSS\")};\ng.H.Jx=function(){var W=this.GW,Y=W.tG;W.tG=[];return Y};\ng.H.Zc=function(W){this.videoData.mL=!0;this.Pz(new g.LT(\"sabr.fallback\",W));this.Je(!0)};\ng.H.r3=function(W,Y){this.videoData.qZ=!0;if(Y===void 0||Y)this.Pz(new g.LT(\"qoe.restart\",W)),this.Je(!0)};\ng.H.w0=function(W){this.y5(\"sdai\",{aftimeout:W});this.Pz(new g.LT(\"ad.fetchtimeout\",{timeout:W}))};\ng.H.Js=function(W,Y){this.y5(\"timelineerror\",W);W=new g.LT(\"dai.timelineerror\",W);Y?this.SW(\"dai.timelineerror\",1,\"RETRYABLE_ERROR\",l4(W.details)):this.Pz(W)};\ng.H.XZ=function(){return g.Jj(this.FA.provider)};\ng.H.getPlayerSize=function(){return this.dY.getPlayerSize()};\ng.H.o3=function(){return this.dY.o3()};\ng.H.w_=function(){return this.C1};\ng.H.sI=function(){return this.GW.sI()};\ng.H.getVolume=function(){return this.GW.getVolume()};\ng.H.WF=function(){return this.GW.WF()};\ng.H.isMuted=function(){return this.GW.isMuted()};\ng.H.fK=function(){return this.GW.fK()};\ng.H.QW=function(){this.Zt=!0};\ng.H.U=function(W){return this.zJ.U(W)};\ng.H.Zl=function(W,Y,k,P,T){this.y5(\"xvt\",{m:W,g:Y?1:0,tt:k?1:0,np:P?1:0,c:T})};\ng.H.FX=function(){var W;(W=this.loader)==null||W.resume()};\ng.H.ri=function(){return g.oq(this.sy,\"ad\")};\ng.H.E0=function(){var W=this.getCurrentTime(),Y=W-this.m2();var k=this.mediaElement?Gc(this.mediaElement.EE()):0;k=Math.floor(Math.max(k-Y,0))+100;var P;return((P=this.loader)==null?0:P.E0(Y,k))?(this.y5(\"sdai\",{skipad:1,ct:Y.toFixed(3),adj:k.toFixed(3)}),w9(this.videoData)&&this.loader.seek(Y+k,{seekSource:89,Fi:\"videoplayer_skipServerStitchedAd\"}),BCX(this.O1,W),!0):!1};\ng.H.OR=function(){return this.zJ.OR()};\ng.H.Dj=function(){if(this.U(\"html5_generate_content_po_token\"))return this.videoData.sJ||\"\";this.GW.qg();return this.zJ.Dm||\"\"};\ng.H.jC=function(){if(this.videoData.videoId)return this.videoData.lr};\ng.H.B5=function(){return this.videoData.videoId};\ng.H.lC=function(){return this.GW.Dx};\ng.H.XJ=function(){return this.Zn};\ng.H.j9=function(){return this.GW.j9()};\ng.H.wk=function(W,Y,k){this.AT(qd(this.playerState,16,k));this.O1.wk(W,Y)};\ng.H.prefetchKeyPlay=function(){};\ng.H.Df=function(){this.O1.Df()};\ng.H.uf=function(W,Y){var k=this.U(\"html5_generate_content_po_token\")?this.videoData:void 0;this.GW.uf(W,Y,k)};\ng.H.H9=function(W,Y){this.FA.H9(W,Y)};\ng.H.ST=function(){return this.FA.ST()};\ng.H.u2=function(){return this.videoData.pB};\ng.H.g_=function(){return this.GW.g_()};\ng.H.jo=function(){return this.GW.jo(this)};\ng.H.m4=function(){this.Q4=!0};\ng.H.TZ=function(W){var Y;(Y=this.loader)==null||Y.TZ(W)};g.f(vB5,sE);g.f(cA,gm);cA.prototype.W=function(W){W&&B5(this,this.Y.getLoopVideo());this.Y.logVisibility(this.element,W)};\ncA.prototype.logClick=function(){this.Y.logClick(this.element)};\ncA.prototype.onLoopChange=function(W){B5(this,W)};\ncA.prototype.K=function(W){this.Y.setLoopVideo(W)};g.f(DW1,sE);g.f(lZ,sE);g.H=lZ.prototype;g.H.seekToChapterWithAnimation=function(W){var Y=this;if(g.lA(this.api)&&!(W<0)){var k=this.api.getVideoData(),P=k.i_;if(P&&W=0)return;Y=~Y;g.hR(this.items,Y,0,W);FG(this.menuItems.element,W.element,Y)}W.subscribe(\"size-change\",this.vW,this);this.menuItems.publish(\"size-change\")};\ng.H.Vr=function(){QZ7(this)||this.items[0].focus();return!0};\ng.H.r8=function(){this.items[this.items.length-1].focus();return!0};\ng.H.tC=function(W){W.unsubscribe(\"size-change\",this.vW,this);this.Xr()||(g.Xo(this.items,W),this.menuItems.element.removeChild(W.element),this.menuItems.publish(\"size-change\"))};\ng.H.vW=function(){this.menuItems.publish(\"size-change\")};\ng.H.focus=function(){for(var W=0,Y=0;Y1&&g.vG(this)};\ng.H.h6=function(){WDd(this);this.v7&&(NQq(this),g.o9(this.element,this.size))};\ng.H.iY=function(){var W=this.W.pop();AH(this,W,this.W[this.W.length-1],!0)};\ng.H.kZ=function(W){if(!W.defaultPrevented)switch(W.keyCode){case 27:this.n1();W.preventDefault();break;case 37:this.W.length>1&&this.iY();W.preventDefault();break;case 39:W.preventDefault()}};\ng.H.focus=function(){this.W.length&&this.W[this.W.length-1].focus()};\ng.H.iz=function(){g.KK.prototype.iz.call(this);this.T&&this.T.dispose();this.C&&this.C.dispose()};g.f($P,g.bF);$P.prototype.open=function(W,Y){this.initialize(W.items)&&this.fH(Y,!!Y)};\n$P.prototype.initialize=function(W){g.Ew(this.iD);if(W===void 0||W.length===0)return!1;var Y=W.length;W=g.e(W);for(var k=W.next();!k.done;k=W.next())this.c7(k.value,Y--);return!0};\n$P.prototype.c7=function(W,Y){W.menuNavigationItemRenderer?dhd(this,W.menuNavigationItemRenderer,Y):W.menuServiceItemRenderer&&Mwz(this,W.menuServiceItemRenderer,Y)};g.f(Zl,Ov);g.H=Zl.prototype;g.H.Lt=function(W){W.target!==this.dismissButton.element&&W.target!==this.overflowButton.element&&(this.S7(),this.onClickCommand&&this.Y.Ri(\"innertubeCommand\",this.onClickCommand))};\ng.H.yQ=function(){this.enabled=!1;this.N.hide()};\ng.H.Gu=function(){return!!this.W&&this.enabled};\ng.H.onVideoDataChange=function(W,Y){this.T1(Y);if(this.W){this.Cp();a:if(!this.isCounterfactual){var k,P,T;this.banner.update({title:(k=this.W)==null?void 0:k.title,subtitle:(P=this.W)==null?void 0:P.subtitle,metadata:(T=this.W)==null?void 0:T.metadataText});var I;this.onClickCommand=g.R((I=this.W)==null?void 0:I.onTap,CV);var X;if(W=g.R((X=this.W)==null?void 0:X.onOverflow,CV))this.X=g.R(W,Vhw);var h;if((h=this.W)==null?0:h.thumbnailImage){var B,O;X=((B=this.W)==null?void 0:(O=B.thumbnailImage)==\nnull?void 0:O.sources)||[];if(X.length===0)break a;this.thumbnailImage.update({url:X[0].url})}else{var u;if((u=this.W)==null?0:u.thumbnailIconName){var Z;this.thumbnailIcon.update({icon:(Z=this.W)==null?void 0:Z.thumbnailIconName})}}var M;this.shouldShowOverflowButton=!((M=this.W)==null||!M.shouldShowOverflowButton);var t;this.shouldHideDismissButton=!((t=this.W)==null||!t.shouldHideDismissButton)}var q;this.banner.element.setAttribute(\"aria-label\",((q=this.W)==null?void 0:q.a11yLabel)||\"\");var G;\nthis.V5=(G=this.W)==null?void 0:G.dismissButtonA11yLabel;this.dismissButton.hide();this.overflowButton.hide();this.isInitialized=!0;Aqc(this)}};\ng.H.H1i=function(){this.isVisible=!0;Aqc(this)};\ng.H.GnP=function(){this.isVisible=!1;Aqc(this)};\ng.H.RN=function(){Ov.prototype.RN.call(this);this.K&&this.Y.logVisibility(this.banner.element,this.isVisible)};\ng.H.S7=function(){Ov.prototype.S7.call(this,!1);this.K&&this.Y.logClick(this.banner.element)};\ng.H.pM=function(W){this.C||(this.C=new $P(this.Y),g.m(this,this.C));var Y,k;if((Y=this.X)==null?0:(k=Y.menu)==null?0:k.menuRenderer)this.C.open(this.X.menu.menuRenderer,W.target),W.preventDefault()};\ng.H.T1=function(){};\ng.H.Cp=function(){};\ng.H.iz=function(){this.Y.fq(\"suggested_action_view_model\");Ov.prototype.iz.call(this)};g.f(ih,Zl);\nih.prototype.T1=function(W){var Y,k,P;this.productUpsellSuggestedActionViewModel=g.R((Y=W.getWatchNextResponse())==null?void 0:(k=Y.playerOverlays)==null?void 0:(P=k.playerOverlayRenderer)==null?void 0:P.suggestedActionViewModel,uXK);var T;if((T=this.productUpsellSuggestedActionViewModel)==null?0:T.content){var I;this.W=g.R((I=this.productUpsellSuggestedActionViewModel)==null?void 0:I.content,cvz)}var X,h;if(this.K=!!((X=this.productUpsellSuggestedActionViewModel)==null?0:(h=X.loggingDirectives)==null?\n0:h.trackingParams)){var B,O;this.Y.setTrackingParams(this.banner.element,((B=this.productUpsellSuggestedActionViewModel)==null?void 0:(O=B.loggingDirectives)==null?void 0:O.trackingParams)||null)}var u;this.isCounterfactual=!((u=this.productUpsellSuggestedActionViewModel)==null||!u.isCounterfactualServing)};\nih.prototype.Cp=function(){var W=[],Y,k=g.e(((Y=this.productUpsellSuggestedActionViewModel)==null?void 0:Y.ranges)||[]);for(Y=k.next();!Y.done;Y=k.next()){var P=Y.value;P&&(Y=Number(P.startTimeMilliseconds),P=Number(P.endTimeMilliseconds),isNaN(Y)||isNaN(P)||W.push(new g.Mm(Y,P,{id:\"product_upsell\",namespace:\"suggested_action_view_model\"})))}this.Y.Bz(W)};g.f(h_F,sE);g.f(vB,sE);vB.prototype.onVideoDataChange=function(W,Y){var k=this;if(!bw(Y)&&(W===\"newdata\"&&j1(this),this.W&&W===\"dataloaded\")){this.W=!1;var P;rG(R8(Ye(this.api.V(),(P=this.api.getVideoData())==null?void 0:g.Q7(P)),function(T){N8d(k,T)}),function(){k.W=!0})}};\nvB.prototype.fn=function(){var W=this;if(g.l_(this.api.V())){var Y,k=g.ws(this.api.V(),(Y=this.api.getVideoData())==null?void 0:g.Q7(Y));return R8(HQ(k),function(P){var T=nJ();ZD(T,P);return W.api.fn(T)})}return HQ(this.api.fn())};g.f(g.d2,g.Ia);g.H=g.d2.prototype;g.H.open=function(){g.bj(this.Mq,this.Ba)};\ng.H.yH=function(W){$F5(this);var Y=this.options[W];Y&&(Y.element.setAttribute(\"aria-checked\",\"true\"),this.N6(this.wM(W)),this.J=W)};\ng.H.oS=function(W){g.Ew(this.Ba);for(var Y={},k=!1,P=0;P=0?this.W.playbackRate:1}catch(W){return 1}};\ng.H.setPlaybackRate=function(W){this.getPlaybackRate()!==W&&(this.W.playbackRate=W);return W};\ng.H.kN=function(){return this.W.loop};\ng.H.setLoop=function(W){this.W.loop=W};\ng.H.canPlayType=function(W,Y){return this.W.canPlayType(W,Y)};\ng.H.isPaused=function(){return this.W.paused};\ng.H.isSeeking=function(){return this.W.seeking};\ng.H.isEnded=function(){return this.W.ended};\ng.H.GO=function(){return this.W.muted};\ng.H.Ic=function(W){TK2();this.W.muted=W};\ng.H.OG=function(){return this.W.played||iw([],[])};\ng.H.EE=function(){try{var W=this.W.buffered}catch(Y){}return W||iw([],[])};\ng.H.c$=function(){return this.W.seekable||iw([],[])};\ng.H.Xe=function(){var W=this.W;return W.getStartDate?W.getStartDate():null};\ng.H.getCurrentTime=function(){return this.W.currentTime};\ng.H.setCurrentTime=function(W){this.W.currentTime=W};\ng.H.getDuration=function(){return this.W.duration};\ng.H.load=function(){var W=this.W.playbackRate;try{this.W.load()}catch(Y){}this.W.playbackRate=W};\ng.H.pause=function(){this.W.pause()};\ng.H.play=function(){var W=this.W.play();if(!W||!W.then)return null;W.then(void 0,function(){});\nreturn W};\ng.H.Tg=function(){return this.W.readyState};\ng.H.m7=function(){return this.W.networkState};\ng.H.NI=function(){return this.W.error?this.W.error.code:null};\ng.H.JD=function(){return this.W.error?this.W.error.message:\"\"};\ng.H.getVideoPlaybackQuality=function(){if(window.HTMLVideoElement&&this.W instanceof window.HTMLVideoElement&&this.W.getVideoPlaybackQuality)return this.W.getVideoPlaybackQuality();if(this.W){var W=this.W,Y=W.webkitDroppedFrameCount;if(W=W.webkitDecodedFrameCount)return{droppedVideoFrames:Y||0,totalVideoFrames:W}}return{}};\ng.H.Y7=function(){return!!this.W.webkitCurrentPlaybackTargetIsWireless};\ng.H.i4=function(){return!!this.W.webkitShowPlaybackTargetPicker()};\ng.H.togglePictureInPicture=function(){var W=this.W,Y=window.document;window.document.pictureInPictureEnabled?this.W!==Y.pictureInPictureElement?W.requestPictureInPicture():Y.exitPictureInPicture():hj()&&W.webkitSetPresentationMode(W.webkitPresentationMode===\"picture-in-picture\"?\"inline\":\"picture-in-picture\")};\ng.H.oE=function(){var W=this.W;return new g.z6(W.offsetLeft,W.offsetTop)};\ng.H.getSize=function(){return g.$p(this.W)};\ng.H.setSize=function(W){g.o9(this.W,W)};\ng.H.getVolume=function(){return this.W.volume};\ng.H.setVolume=function(W){TK2();this.W.volume=W};\ng.H.NC=function(W){this.C[W]||(this.W.addEventListener(W,this.listener),this.C[W]=this.listener)};\ng.H.setAttribute=function(W,Y){this.W.setAttribute(W,Y)};\ng.H.removeAttribute=function(W){this.W.removeAttribute(W)};\ng.H.hasAttribute=function(W){return this.W.hasAttribute(W)};\ng.H.XU=XC(61);g.H.I9=XC(63);g.H.xL=XC(65);g.H.oJ=XC(67);g.H.TG=function(){return oD(this.W)};\ng.H.dk=function(W){g.N6(this.W,W)};\ng.H.RY=function(W){return g.ZU(this.W,W)};\ng.H.qw=function(){return g.MG(document.body,this.W)};\ng.H.audioTracks=function(){var W=this.W;if(\"audioTracks\"in W)return W.audioTracks};\ng.H.iz=function(){for(var W=g.e(Object.keys(this.C)),Y=W.next();!Y.done;Y=W.next())Y=Y.value,this.W.removeEventListener(Y,this.C[Y]);OY.prototype.iz.call(this)};\ng.H.Fm=function(W){this.W.disableRemotePlayback=W};g.f(YB,g.c);g.f($B,g.c);$B.prototype.show=function(){g.c.prototype.show.call(this);this.xa()};\n$B.prototype.hide=function(){g.c.prototype.hide.call(this);this.delay.stop();this.T.stop()};\n$B.prototype.xa=function(){var W=(0,g.lj)(),Y=qxz(this.Ii);TF(this.W,Y.bandwidth_samples);TF(this.X,Y.network_activity_samples);TF(this.J,Y.live_latency_samples);TF(this.K,Y.buffer_health_samples);var k={};Y=g.e(Object.entries(Y));for(var P=Y.next();!P.done;P=Y.next()){var T=g.e(P.value);P=T.next().value;T=T.next().value;this.G[P]!==T&&(k[P]=\" \"+String(T));this.G[P]=T}this.update(k);W=(0,g.lj)()-W>25?5E3:500;this.delay.start(W)};\n$B.prototype.N=function(){this.C?(this.position+=1,this.position>15&&(this.C=!1)):(--this.position,this.position<=0&&(this.C=!0));this.element.style.left=this.position+\"%\";this.element.style.top=this.position+\"%\";this.T.start(2E4)};g.f(N3d,sE);g.f(hh,g.D);hh.prototype.W=function(){var W=(0,g.lj)()-this.startTime;W=Wthis.T[W])&&(this.W=W,this.o0())};\ng.H.onCueRangeExit=function(W){var Y=lk5(this,W);Y&&this.W===W&&this.api.Ri(\"innertubeCommand\",Y);iq(this);this.W=void 0};\ng.H.JX=function(W){this.J=W};\ng.H.g1=function(){this.o0();this.J=void 0};\ng.H.o0=function(){if(this.W!==void 0){var W=(W=M7(this,this.W))&&W.onCueRangeEnter?Rp(W.onCueRangeEnter):void 0;var Y=M7(this,this.W);a:if(Y&&Y.additionalTrigger){var k=g.e(Y.additionalTrigger);for(var P=k.next();!P.done;P=k.next())if(P=P.value,P.type){var T=void 0,I=void 0;if((T=this.gD[P.type])==null?0:T((I=P.args)!=null?I:{})){k=!0;break a}}k=!1}else k=!0;W&&k&&(this.api.Ri(\"innertubeCommand\",W),bjv(this,Y),this.T[this.W]!==void 0&&this.T[this.W]++,this.N=!0)}};\ng.H.iz=function(){this.timelyActions=this.J=this.W=this.videoId=void 0;this.T={};this.aB();iq(this);sE.prototype.iz.call(this)};g.f(azd,sE);g.f(Wv,gm);Wv.prototype.T=function(W){this.J(W?2:1);this.Y.publish(\"audiopreferencechange\")};\nWv.prototype.X5=function(){var W=this.Y.getPresentingPlayerType();W===2||W===3?(this.W=!1,this.Mq.tC(this)):this.Y.U(\"html5_enable_new_audio_settings_menu\")?(W=this.getVoiceBoostState(),W!==1?(W===0?(B5(this,this.K()===2),this.setEnabled(!0)):(B5(this,!1),this.setEnabled(!1)),this.W||(this.Mq.c7(this),this.W=!0)):this.W&&(this.Mq.tC(this),this.W=!1)):this.W||(W=this.hasVoiceBoostAudioTrack(),this.setEnabled(W),W=this.K()===2&&W,B5(this,W),this.Mq.c7(this),this.W=!0)};\nWv.prototype.iz=function(){this.Mq.tC(this);gm.prototype.iz.call(this)};g.f(gg,sE);g.H=gg.prototype;g.H.getVoiceBoostUserPreference=function(){return this.W};\ng.H.setVoiceBoostUserPreference=function(W){this.api.y5(\"vb_set\",{pref:W});g.Zm(\"yt-player-voice-boost\",W);W!==this.W&&(this.W=W,this.updateEnvironmentData(),this.hasVoiceBoostAudioTrack()&&this.api.V0())};\ng.H.hasVoiceBoostAudioTrack=function(){var W,Y,k=(W=this.api.getVideoData())==null?void 0:(Y=W.J)==null?void 0:Y.W;return k?Wk(k,function(P){var T;return((T=P.audio)==null?void 0:T.K)===!0}):!1};\ng.H.getVoiceBoostState=function(){return this.api.kF(3)};\ng.H.updateEnvironmentData=function(){this.api.V().Jo=this.W};var dPF=[\"www.youtube-nocookie.com\",\"www.youtubeeducation.com\"];g.f(DB,sE);DB.prototype.iz=function(){this.G&&(g.hl(this.G),this.G=void 0);sE.prototype.iz.call(this)};\nDB.prototype.qg=function(){(this.K?!this.W:this.J)&&SW(this)};\nDB.prototype.BU=function(W,Y,k){var P=this;if(DZd(W)){var T=k||\"\";if(this.W)Y=Ll(this,T),W$0(W,Y);else{var I=new g.sU;Y.push(I.promise);this.C.promise.then(function(){var X=Ll(P,T);W$0(W,X);I.resolve()})}}};\nDB.prototype.O4=function(W){var Y=this;if(this.K||this.J)W.sJ=Ll(this,W.videoId),this.W||(this.T=new $e,this.C.promise.then(function(){Y.C1.yC(\"pot_if\");W.sJ=Ll(Y,W.videoId)}))};g.f(g.p5,g.c);g.p5.prototype.select=function(){this.api.zq(this.suggestion.videoId,this.suggestion.sessionData,this.suggestion.playlistId,void 0,void 0,this.suggestion.qE||void 0)&&this.api.logClick(this.element)};\ng.p5.prototype.onClick=function(W){if(g.hN(this.api.V())&&this.api.U(\"web_player_log_click_before_generating_ve_conversion_params\")){this.api.logClick(this.element);var Y=this.suggestion.md(),k={};g.zD(this.api,k);Y=g.YW(Y,k);g.bH(Y,this.api,W)}else g.It(W,this.api,this.K,this.suggestion.sessionData||void 0)&&this.select()};\ng.p5.prototype.onKeyPress=function(W){switch(W.keyCode){case 13:case 32:W.defaultPrevented||(this.select(),W.preventDefault())}};\ng.p5.prototype.onVideoDataChange=function(){var W=this.api.getVideoData(),Y=this.api.V();this.K=W.zr?!1:Y.T};g.f(to,g.c);g.H=to.prototype;g.H.iz=function(){this.hide();g.eY(this.T);g.e7(this.stills);this.stills.length=0;this.K&&this.K.removeEventListener(\"click\",this.BR);this.J&&this.J.removeEventListener(\"click\",this.zo);this.W&&this.W.removeEventListener(\"click\",this.zo);g.c.prototype.iz.call(this)};\ng.H.zo=function(W){this.G&&this.G(W)};\ng.H.onVideoDataChange=function(){this.videoData=this.player.getVideoData(1);var W,Y,k,P,T;var I=(((W=this.videoData)==null?0:(Y=W.suggestions)==null?0:Y.length)?(k=this.videoData)==null?void 0:k.suggestions:((P=this.videoData)==null?0:g.Si(P))?[(T=this.videoData)==null?void 0:g.Si(T)]:[]).slice(0,18);if((W=this.N)&&this.X&&this.C)if(g.ee(W),I.length)for(this.stills.length>I.length&&g.e7(this.stills.splice(I.length)),this.stills.length=I.length,Y=0;Y=0;W--)this.features[W].dispose();this.features.length=0;g.D.prototype.iz.call(this)};nGV.prototype.reset=function(){this.W=this.K=NaN};g.H=CQ.prototype;g.H.reset=function(){Cx(this.timerName)};\ng.H.tick=function(W,Y){aj(W,Y,this.timerName)};\ng.H.yC=function(W){return P2(W,void 0,this.timerName)};\ng.H.k0=function(W){g.AR(W,void 0,this.timerName)};\ng.H.infoGel=function(W){g.lN(W,this.timerName)};g.f(Ufd,g.tR);g.H=Ufd.prototype;g.H.Gg=function(W){return this.loop||!!W||this.index+1=0};\ng.H.setShuffle=function(W){this.shuffle=W;W=this.order&&this.order[this.index]!=null?this.order[this.index]:this.index;this.order=[];for(var Y=0;Y0)||V8(this,1,!0)};\ng.H.nG=function(){this.X=!0;this.W.nH(this.C);this.C=this.W.Z(document,\"mouseup\",this.CM)};\ng.H.CM=function(){this.X=!1;V8(this,8,!1);this.W.nH(this.C);this.C=this.W.Z(this.target,\"mousedown\",this.nG)};\ng.H.sT=function(W){if(W=(W=W.changedTouches)&&W[0])this.gD=W.identifier,this.W.nH(this.L),this.L=this.W.Z(this.target,\"touchend\",this.gz,void 0,!0),V8(this,1024,!0)};\ng.H.gz=function(W){if(W=W.changedTouches)for(var Y=0;Y1280||T>720)if(Y=P.Ss(\"maxresdefault.jpg\"))break;if(I>640||T>480)if(Y=P.Ss(\"maxresdefault.jpg\"))break;if(I>320||T>180)if(Y=P.Ss(\"sddefault.jpg\")||P.Ss(\"hqdefault.jpg\")||P.Ss(\"mqdefault.jpg\"))break;if(Y=P.Ss(\"default.jpg\"))break}g.Ae(W)&&(W=new Image,W.addEventListener(\"load\",\nfunction(){PQB()}),W.src=Y?Y:\"\",this.api.w_().tick(\"ftr\"));\nthis.T.style.backgroundImage=Y?\"url(\"+Y+\")\":\"\"};g.f(g.rW,g.c);g.rW.prototype.resize=function(){};\ng.rW.prototype.K=function(W){var Y=this;this.J=!1;dH0(this);var k=W.bI,P=this.api.V();k!==\"GENERIC_WITHOUT_LINK\"||P.X?k===\"TOO_MANY_REQUESTS\"?(P=this.api.getVideoData(),this.N6(zh(this,\"TOO_MANY_REQUESTS_WITH_LINK\",P.md(),void 0,void 0,void 0,!1))):k!==\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK\"||P.X?this.api.V().U(\"html5_enable_bandaid_error_screen\")&&k===\"HTML5_SPS_UMP_STATUS_REJECTED\"&&!P.X?(P=P.hostLanguage,W=\"//support.google.com/youtube?p=videoError\",P&&(W=g.YW(W,{hl:P})),this.N6(zh(this,\"HTML5_SPS_UMP_STATUS_REJECTED\",\nW))):this.api.V().U(\"enable_adb_handling_in_sabr\")&&k===\"BROWSER_OR_EXTENSION_ERROR\"&&!P.X?(P=P.hostLanguage,W=\"//support.google.com/youtube/answer/3037019#zippy=%2Cupdate-your-browser-and-check-your-extensions\",P&&(W=g.YW(W,{hl:P})),this.N6(zh(this,\"BROWSER_OR_EXTENSION_ERROR\",W))):this.N6(g.$M(W.errorMessage)):this.N6(zh(this,\"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT\",\"//www.youtube.com/supported_browsers\")):(W=P.hostLanguage,k=\"//support.google.com/youtube/?p=player_error1\",W&&(k=g.YW(k,\n{hl:W})),this.N6(zh(this,\"GENERIC_WITH_LINK_AND_CPN\",k,!0)),P.Gn&&!P.T&&Op6(this,function(I){if(g.It(I,Y.api,!Bh(Y.api.V()))){I={as3:!1,html5:!0,player:!0,cpn:Y.api.getVideoData().clientPlaybackNonce};var X=Y.api;X.i7(\"onFeedbackArticleRequest\",{articleId:3037019,helpContext:\"player_error\",productData:I});X.isFullscreen()&&X.toggleFullscreen()}}));\nif(this.J){var T=this.J5(\"ytp-error-link\");T&&(this.api.createClientVe(T,this,216104),this.api.logVisibility(T,!0),Op6(this,function(){Y.api.logClick(T)}))}};\nvar a1z=/([^<>]+)<\\/a>/;g.f(dn,g.c);dn.prototype.R3=function(W,Y,k){k=k===void 0?!1:k;switch(Y){case 1:N$(this,W,this.J,k);break;case 2:N$(this,W,this.T,k);break;case 3:N$(this,W,this.W,k);break;case 4:N$(this,W,this.K,k)}};g.f(Dx,g.c);g.H=Dx.prototype;g.H.onClick=function(W){this.innertubeCommand?(this.Y.Ri(\"innertubeCommand\",this.innertubeCommand),W.preventDefault()):g.It(W,this.Y,!0);this.Y.logClick(this.element)};\ng.H.onVideoDataChange=function(W,Y){$d5(this,Y);this.b7&&UU1(this,this.b7)};\ng.H.u1=function(W){var Y=this.Y.getVideoData();this.videoId!==Y.videoId&&$d5(this,Y);this.W&&UU1(this,W.state);this.b7=W.state};\ng.H.fH=function(){this.fade.show();this.Y.publish(\"paidcontentoverlayvisibilitychange\",!0);this.Y.logVisibility(this.element,!0)};\ng.H.n1=function(){this.fade.hide();this.Y.publish(\"paidcontentoverlayvisibilitychange\",!1);this.Y.logVisibility(this.element,!1)};g.f(mf,g.c);mf.prototype.hide=function(){this.W.stop();this.message.style.display=\"none\";g.c.prototype.hide.call(this)};\nmf.prototype.onStateChange=function(W){this.ZY(W.state)};\nmf.prototype.ZY=function(W){if(g.p(W,128)||this.api.XJ())var Y=!1;else{var k;Y=this.api.U(\"web_watch_enable_multiview_manager\")&&((k=this.api.getVideoData())==null?0:bw(k))?!1:g.p(W,16)||g.p(W,1)?!0:!1}Y?this.W.start():this.hide()};\nmf.prototype.K=function(){this.message.style.display=\"block\"};g.f(FU,g.KK);FU.prototype.onMutedAutoplayChange=function(W){this.J&&(W?(PNz(this),this.fH()):(this.W&&this.logClick(),this.n1()))};\nFU.prototype.OA=function(W){this.api.isMutedByMutedAutoplay()&&g.F7(W,2)&&this.n1()};\nFU.prototype.onClick=function(){this.api.unMute();this.logClick()};\nFU.prototype.logClick=function(){this.clicked||(this.clicked=!0,this.api.logClick(this.element))};g.f(g.wn,g.x5);g.H=g.wn.prototype;g.H.init=function(){var W=this.api,Y=W.getPlayerStateObject();this.Pq=W.getPlayerSize();this.AT(Y);this.RC();this.Rb();this.api.publish(\"basechromeinitialized\",this);this.BT()&&this.api.publish(\"standardControlsInitialized\")};\ng.H.onVideoDataChange=function(W,Y){var k=this.nt!==Y.videoId;if(k||W===\"newdata\")W=this.api,W.isFullscreen()||(this.Pq=W.getPlayerSize());k&&(this.nt=Y.videoId,k=this.EU,k.TJ=3E3,V8(k,512,!0),this.RC());this.api.U(\"web_render_jump_buttons\")&&Y.showSeekingControls&&(this.G1=572)};\ng.H.yTa=function(){this.onVideoDataChange(\"newdata\",this.api.getVideoData())};\ng.H.BX=function(){var W=this.api.SA()&&this.api.Xg(),Y=this.api.Yo();return this.Cd||W||this.Jc||Y};\ng.H.Ru=function(){var W=!this.BX();g.ML(this.api.getRootNode(),\"ytp-menu-shown\",!W)};\ng.H.nF=function(W){try{if(!g.MG(this.api.getRootNode(),W))return!1}catch(Y){return!1}for(;W&&!Mez(W);)W=W===this.api.getRootNode()?null:W.parentElement||null;return!!W};\ng.H.L0=function(W){var Y=this.api.getRootNode();g.ML(Y,\"ytp-autohide\",W);g.ML(Y,\"ytp-autohide-active\",!0);this.Oz.start(W?250:100);W&&(this.Ph=!1,g.Sr(Y,\"ytp-touch-mode\"));this.gb=!W;this.api.DX(!W);this.api.U(\"web_player_enable_fullscreen_grid_components\")&&this.api.publish(\"autohideupdate\",W)};\ng.H.I1=function(){var W=this.api.getRootNode();g.ML(W,\"ytp-autohide-active\",!1)};\ng.H.pzr=function(){this.gI=!0};\ng.H.JYJ=function(W){if(this.api.V().U(\"player_doubletap_to_seek\")||this.api.V().G)this.gI=!1,this.uQ&&this.nH(this.uQ),this.e0===0&&Ol(this,W)?(this.pJ(),this.Rw.start(),this.uQ=this.Z(this.api.ai(),\"touchmove\",this.pzr,void 0,!0)):this.Rw.stop();qu0(this)&&Ol(this,W)&&!this.api.V().G&&Na(this);var Y=this.tb.IZ();if(!g.hN(this.api.V())&&Fy&&Sb(this,W))Y&&W.preventDefault();else if(this.Ph=!0,g.N6(this.api.getRootNode(),\"ytp-touch-mode\"),this.EU.Q0(),this.api.V().U(\"player_doubletap_to_seek\")||this.api.V().G)if(Y=\nthis.api.getPlayerStateObject(),!(!this.api.hD()||g.p(Y,2)&&g.VB(this.api)||g.p(Y,64))){Y=Date.now()-this.OH;this.e0+=1;if(Y<=350){this.Me=!0;Y=this.api.getPlayerSize().width/3;var k=this.api.getRootNode().getBoundingClientRect(),P=W.targetTouches[0].clientX-k.left;k=W.targetTouches[0].clientY-k.top;var T=(this.e0-1)*10;P>0&&PY*2&&P=650,P=W.width<528;this.EU.resize();if(this.api.U(\"web_player_use_screen_width_for_big_mode\")){var T,I=W.width>=((T=g.je(this.api.V().experiments,\"web_player_big_mode_screen_width_cutoff\"))!=null?T:2E3);g.ML(Y,\"ytp-big-mode\",I)}g.ML(Y,\"ytp-fullscreen\",this.api.isFullscreen());g.ML(Y,\"ytp-large-width-mode\",k);this.api.U(\"delhi_modern_web_player\")?g.ML(Y,\"ytp-xsmall-width-mode\",P):g.ML(Y,\"ytp-small-mode\",this.jy());\ng.ML(Y,\"ytp-tiny-mode\",this.Uv());g.ML(Y,\"ytp-big-mode\",this.U6());this.mW&&this.mW.resize(W)};\ng.H.OA=function(W){this.AT(W.state);this.RC()};\ng.H.xe=XC(3);g.H.X1=function(){var W=!!this.nt&&!this.api.Y8()&&!this.X0,Y=this.api.getPresentingPlayerType()===2,k=this.api.V();if(Y)return k=Ox(this.api.gx()),W&&(k&&k.player?W=(W=k.player.getVideoData(2))?W.isListed&&!g.xW(k.player.V()):!1:(EF(\"showInfoBarDuringAd: this is null\"),W=!1)),W;Y=k.U(\"web_player_imax_theater_mode\")&&this.api.kf();return W&&(k.Kr||Y||this.api.isFullscreen()||k.zg)};\ng.H.RC=function(){var W=this.X1();this.V7!==W&&(this.V7=W,g.ML(this.api.getRootNode(),\"ytp-hide-info-bar\",!W))};\ng.H.AT=function(W){var Y=W.isCued()||this.api.IS()&&this.api.getPresentingPlayerType()!==3;Y!==this.isCued&&(this.isCued=Y,this.YD&&this.nH(this.YD),this.YD=this.Z(this.api.ai(),\"touchstart\",this.JYJ,void 0,Y));var k=this.EU,P=W.isPlaying()&&!g.p(W,32)||this.api.Jt();V8(k,128,!P);k=this.EU;P=this.api.getPresentingPlayerType()===3;V8(k,256,P);k=this.api.getRootNode();g.p(W,2)?P=[fG.ENDED]:(P=[],g.p(W,8)?P.push(fG.PLAYING):g.p(W,4)&&P.push(fG.PAUSED),g.p(W,1)&&!g.p(W,32)&&P.push(fG.BUFFERING),g.p(W,\n32)&&P.push(fG.SEEKING),g.p(W,64)&&P.push(fG.UNSTARTED));g.BK(this.UB,P)||(g.Oj(k,this.UB),this.UB=P,g.T$(k,P));P=this.api.V();var T=g.p(W,2);a:{var I=this.api.V();var X=I.controlsType;switch(X){case \"2\":case \"0\":I=!1;break a}I=X===\"3\"&&!g.p(W,2)||this.isCued||(this.api.getPresentingPlayerType()!==2?0:Lez(Ox(this.api.gx())))||this.api.Yo()||g.hN(I)&&this.api.getPresentingPlayerType()===2?!1:!0}g.ML(k,\"ytp-hide-controls\",!I);g.ML(k,\"ytp-native-controls\",P.controlsType===\"3\"&&!Y&&!T&&!this.Jc);g.p(W,\n128)&&!g.hN(P)?(this.mW||(this.mW=new g.rW(this.api),g.m(this,this.mW),g.Fw(this.api,this.mW.element,4)),this.mW.K(W.dc),this.mW.show()):this.mW&&(this.mW.dispose(),this.mW=null)};\ng.H.CC=function(){return this.api.SA()&&this.api.Xg()?(this.api.Gh(!1,!1),!0):this.api.Y8()?(g.$b(this.api,!0),!0):!1};\ng.H.onMutedAutoplayChange=function(W){this.Jc=W;this.Ru()};\ng.H.U6=function(){return!1};\ng.H.jy=function(){return!this.U6()&&(this.api.getPlayerSize().width=0&&Y.left>=0&&Y.bottom>Y.top&&Y.right>Y.left?Y:null;Y=this.size;W=W.clone();Y=Y.clone();P&&(X=Y,T=5,(T&65)==65&&(W.x=P.right)&&(T&=-2),(T&132)==132&&(W.y=P.bottom)&&(T&=-5),W.xP.right&&(X.width=Math.min(P.right-W.x,I+X.width-P.left),X.width=Math.max(X.width,0))),W.x+X.width>P.right&&T&1&&(W.x=Math.max(P.right-X.width,P.left)),W.yP.bottom&&(X.height=Math.min(P.bottom-W.y,I+X.height-P.top),X.height=Math.max(X.height,0))),W.y+X.height>P.bottom&&T&4&&(W.y=Math.max(P.bottom-X.height,P.top)));P=new g.$F(0,0,0,0);P.left=W.x;P.top=W.y;P.width=\nY.width;P.height=Y.height;g.t3(this.element,new g.z6(P.left,P.top));g.eY(this.J);this.J.Z(Q3(this),\"contextmenu\",this.nmr);this.J.Z(this.Y,\"fullscreentoggled\",this.onFullscreenToggled);this.J.Z(this.Y,\"pageTransition\",this.sW)};\ng.H.nmr=function(W){if(!W.defaultPrevented){var Y=zw(W);g.MG(this.element,Y)||this.n1();this.Y.V().disableNativeContextMenu&&W.preventDefault()}};\ng.H.onFullscreenToggled=function(){this.n1();nPz(this)};\ng.H.sW=function(){this.n1()};g.f(zy,g.c);zy.prototype.onClick=function(){var W=this,Y,k,P,T;return g.v(function(I){if(I.W==1)return Y=W.api.V(),k=W.api.getVideoData(),P=W.api.getPlaylistId(),T=Y.getVideoUrl(k.videoId,P,void 0,!0),g.L(I,BYc(W,T),2);I.K&&cn5(W);W.api.logClick(W.element);g.I_(I)})};\nzy.prototype.xa=function(){this.updateValue(\"icon\",{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z\"}}]});this.updateValue(\"title-attr\",\"Copy link\");this.updateValue(\"tooltip-title\",\"Copy link\");this.visible=Vfq(this);g.ML(this.element,\n\"ytp-copylink-button-visible\",this.visible);this.b8(this.visible);this.tooltip.wc();this.api.logVisibility(this.element,this.visible&&this.L)};\nzy.prototype.h9=function(W){g.c.prototype.h9.call(this,W);this.api.logVisibility(this.element,this.visible&&W)};\nzy.prototype.iz=function(){g.c.prototype.iz.call(this);g.Sr(this.element,\"ytp-copylink-button-visible\")};g.f(xx,g.c);g.H=xx.prototype;g.H.show=function(){g.c.prototype.show.call(this);g.Iv(this.K)};\ng.H.hide=function(){this.T.stop();this.J=0;this.J5(\"ytp-seek-icon\").style.display=\"none\";this.updateValue(\"seekIcon\",\"\");g.Sr(this.element,\"ytp-chapter-seek\");g.Sr(this.element,\"ytp-time-seeking\");g.c.prototype.hide.call(this)};\ng.H.nS=function(W,Y,k,P){this.J=W===this.X?this.J+P:P;this.X=W;var T=W===-1?this.N:this.G;T&&this.Y.logClick(T);this.C?this.K.stop():g.i7(this.K);this.T.start();this.element.setAttribute(\"data-side\",W===-1?\"back\":\"forward\");var I=3*this.Y.ai().getPlayerSize().height;T=this.Y.ai().getPlayerSize();T=T.width/3-3*T.height;this.W.style.width=I+\"px\";this.W.style.height=I+\"px\";W===1?(this.W.style.left=\"\",this.W.style.right=T+\"px\"):W===-1&&(this.W.style.right=\"\",this.W.style.left=T+\"px\");var X=I*2.5;I=X/\n2;var h=this.J5(\"ytp-doubletap-ripple\");h.style.width=X+\"px\";h.style.height=X+\"px\";W===1?(W=this.Y.ai().getPlayerSize().width-Y+Math.abs(T),h.style.left=\"\",h.style.right=W-I+\"px\"):W===-1&&(W=Math.abs(T)+Y,h.style.right=\"\",h.style.left=W-I+\"px\");h.style.top=\"calc((33% + \"+Math.round(k)+\"px) - \"+I+\"px)\";if(k=this.J5(\"ytp-doubletap-ripple\"))k.classList.remove(\"ytp-doubletap-ripple\"),k.classList.add(\"ytp-doubletap-ripple\");$oC(this,this.C?this.J:P)};\ng.H.HF=function(W,Y,k){if(k=k===void 0?null:k){var P=W===-1?this.N.visualElement:this.G.visualElement;k={seekData:k};var T=g.Zu();T&&bS(T,P,\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\",k)}this.J=W===this.X?this.J+Y:Y;this.X=W;P=this.Y.ai().getPlayerSize();this.C?this.K.stop():g.i7(this.K);this.T.start();this.element.setAttribute(\"data-side\",W===-1?\"back\":\"forward\");g.N6(this.element,\"ytp-time-seeking\");this.W.style.width=\"110px\";this.W.style.height=\"110px\";k=P.width*.1-15;W===1?this.A5?(this.W.style.right=\nk+\"px\",this.W.style.left=\"\"):(this.W.style.right=\"\",this.W.style.left=P.width*.8-30+\"px\"):W===-1&&(this.A5?(this.W.style.right=\"\",this.W.style.left=k+\"px\"):(this.W.style.right=\"\",this.W.style.left=P.width*.1-15+\"px\"));this.W.style.top=P.height*.5+15+\"px\";$oC(this,this.C?this.J:Y)};\ng.H.bB=function(W,Y,k){k=k===void 0?null:k;g.i7(this.K);this.T.start();switch(W){case -1:W=\"back\";break;case 1:W=\"forward\";break;default:W=\"\"}this.element.setAttribute(\"data-side\",W);this.W.style.width=\"0\";this.W.style.height=\"0\";g.N6(this.element,\"ytp-chapter-seek\");this.updateValue(\"seekText\",Y);this.updateValue(\"seekTime\",\"\");Y=this.J5(\"ytp-seek-icon\");if(k){a:if(k){switch(k){case \"PREMIUM_STANDALONE\":k=VaF();break a;case \"PREMIUM_STANDALONE_CAIRO\":k=xh1();break a}k=void 0}else k=null;this.updateValue(\"seekIcon\",\nk);Y.style.display=\"inline-block\"}else Y.style.display=\"none\"};g.f(Jc1,Ov);g.H=Jc1.prototype;g.H.OW=function(W){this.UP||(this.UP=new $P(this.Y),g.m(this,this.UP));var Y,k;if((Y=this.A9)==null?0:(k=Y.menu)==null?0:k.menuRenderer)this.UP.open(this.A9.menu.menuRenderer,W.target),W.preventDefault()};\ng.H.Gu=function(){return!!this.W};\ng.H.Em=function(){return!!this.W};\ng.H.Lt=function(W){W.target===this.overflowButton.element?W.preventDefault():(this.KH&&this.Y.Ri(\"innertubeCommand\",this.KH),this.S7(!1))};\ng.H.yQ=function(){this.S7(!0);var W,Y;((W=this.W)==null?0:(Y=W.bannerData)==null?0:Y.dismissedStatusKey)&&this.Gn.push(this.W.bannerData.dismissedStatusKey);this.Vm()};\ng.H.SK=function(){this.Vm();ex(this)};\ng.H.pkr=function(W){var Y=this,k;if(W.id!==((k=this.W)==null?void 0:k.identifier)){this.Vm();k=g.e(this.gD);for(var P=k.next();!P.done;P=k.next()){var T=P.value,I=void 0,X=void 0;if((P=(I=T)==null?void 0:(X=I.bannerData)==null?void 0:X.itemData)&&T.identifier===W.id){X=I=void 0;var h=((I=T)==null?void 0:(X=I.bannerData)==null?void 0:X.dismissedStatusKey)||\"\";if(this.Gn.includes(h))return;this.W=T;this.banner.element.setAttribute(\"aria-label\",P.accessibilityLabel||\"\");P.trackingParams&&(this.T=!0,\nthis.Y.setTrackingParams(this.badge.element,P.trackingParams));this.show();this.N.show();yR(this);this.TJ.b8(!P.stayInApp);ASF(this);go(this);nM(this);this.KH=g.R(P.onTapCommand,CV);if(T=g.R(P.menuOnTap,CV))this.A9=g.R(T,Vhw);T=void 0;this.banner.update({thumbnail:(T=(P.thumbnailSources||[])[0])==null?void 0:T.url,title:P.productTitle,price:P.priceReplacementText?P.priceReplacementText:P.price,salesOriginalPrice:Hez(this),priceDropReferencePrice:q3d(this),promotionText:eu5(this),priceA11yText:D76(this),\naffiliateDisclaimer:P.affiliateDisclaimer,vendor:Ha(this)});h=X=I=T=void 0;((T=P)==null?0:(I=T.hiddenProductOptions)==null?0:I.showDropCountdown)&&((X=P)==null?0:(h=X.hiddenProductOptions)==null?0:h.dropTimestampMs)&&(this.J9=new g.fC(function(){mS6(Y)},1E3),this.TJ.hide(),this.countdownTimer.show(),mS6(this));\nthis.Y.U(\"web_player_enable_featured_product_banner_exclusives_on_desktop\")&&iTQ(this)&&(this.f1=new g.fC(function(){Rz2(Y)},1E3),Rz2(this))}}this.Y.getRootNode()&&g.N6(this.Y.getRootNode(),\"ytp-featured-product-shown\")}};\ng.H.Vm=function(){this.W&&(this.W=void 0,this.zw(),this.Y.getRootNode()&&g.Sr(this.Y.getRootNode(),\"ytp-featured-product-shown\"))};\ng.H.onVideoDataChange=function(W,Y){var k=this;W===\"dataloaded\"&&ex(this);var P,T,I;W=g.R((P=Y.getWatchNextResponse())==null?void 0:(T=P.playerOverlays)==null?void 0:(I=T.playerOverlayRenderer)==null?void 0:I.productsInVideoOverlayRenderer,xBz);this.overflowButton.show();this.dismissButton.hide();var X=W==null?void 0:W.featuredProductsEntityKey;this.trendingOfferEntityKey=W==null?void 0:W.trendingOfferEntityKey;this.gD.length||(sEd(this,X),nM(this));var h;(h=this.tT)==null||h.call(this);this.tT=g.B4.subscribe(function(){sEd(k,\nX);nM(k)})};\ng.H.iz=function(){ex(this);ASF(this);go(this);Ov.prototype.iz.call(this)};g.f(Q6V,g.c);Q6V.prototype.onClick=function(){this.Y.logClick(this.element,this.K)};g.f(zdz,g.KK);g.H=zdz.prototype;g.H.show=function(){g.KK.prototype.show.call(this);this.Y.publish(\"infopaneldetailvisibilitychange\",!0);this.Y.logVisibility(this.element,!0);kmi(this,!0)};\ng.H.hide=function(){g.KK.prototype.hide.call(this);this.Y.publish(\"infopaneldetailvisibilitychange\",!1);this.Y.logVisibility(this.element,!1);kmi(this,!1)};\ng.H.getId=function(){return this.T};\ng.H.jN=function(){return this.itemData.length};\ng.H.onVideoDataChange=function(W,Y){if(Y){var k,P,T,I;this.update({title:((k=Y.yL)==null?void 0:(P=k.title)==null?void 0:P.content)||\"\",body:((T=Y.yL)==null?void 0:(I=T.bodyText)==null?void 0:I.content)||\"\"});var X;W=((X=Y.yL)==null?void 0:X.trackingParams)||null;this.Y.setTrackingParams(this.element,W);X=g.e(this.itemData);for(W=X.next();!W.done;W=X.next())W.value.dispose();this.itemData=[];var h;if((h=Y.yL)==null?0:h.ctaButtons)for(Y=g.e(Y.yL.ctaButtons),h=Y.next();!h.done;h=Y.next())if(h=g.R(h.value,\nCmc))h=new Q6V(this.Y,h,this.W),h.Nt&&(this.itemData.push(h),h.S1(this.items))}};\ng.H.iz=function(){this.hide();g.KK.prototype.iz.call(this)};g.f(Xr,g.c);g.H=Xr.prototype;g.H.onVideoDataChange=function(W,Y){IJ(this,Y);this.b7&&nLq(this,this.b7)};\ng.H.HI=function(W){var Y=this.Y.getVideoData();this.videoId!==Y.videoId&&IJ(this,Y);nLq(this,W.state);this.b7=W.state};\ng.H.mj=function(W){(this.J=W)?this.hide():this.W&&this.show()};\ng.H.FD=function(){this.K||this.fH();this.showControls=!0};\ng.H.XD=function(){this.K||this.n1();this.showControls=!1};\ng.H.fH=function(){var W,Y=(W=this.Y)==null?void 0:W.getPlayerSize();W=Y.width<380;var k;Y=Y.height<(((k=this.Y)==null?0:k.isEmbedsShortsMode())?400:280);var P,T;(((P=this.Y)==null?0:P.getPlayerStateObject().isCued())||((T=this.Y)==null?0:g.p(T.getPlayerStateObject(),1024)))&&W&&Y||!this.W||this.J||(this.fade.show(),this.Y.publish(\"infopanelpreviewvisibilitychange\",!0),this.Y.logVisibility(this.element,!0))};\ng.H.n1=function(){this.W&&!this.J&&(this.fade.hide(),this.Y.publish(\"infopanelpreviewvisibilitychange\",!1),this.Y.logVisibility(this.element,!1))};\ng.H.uuJ=function(){this.K=!1;this.showControls||this.n1()};var $dh={\"default\":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys($dh).reduce(function(W,Y){W[$dh[Y]]=Y;return W},{});\nvar k3B={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(k3B).reduce(function(W,Y){W[k3B[Y]]=Y;return W},{});\nvar Px1={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(Px1).reduce(function(W,Y){W[Px1[Y]]=Y;return W},{});var TlN,j7i;TlN=[{option:\"#fff\",text:\"White\"},{option:\"#ff0\",text:\"Yellow\"},{option:\"#0f0\",text:\"Green\"},{option:\"#0ff\",text:\"Cyan\"},{option:\"#00f\",text:\"Blue\"},{option:\"#f0f\",text:\"Magenta\"},{option:\"#f00\",text:\"Red\"},{option:\"#080808\",text:\"Black\"}];j7i=[{option:0,text:rK(0)},{option:.25,text:rK(.25)},{option:.5,text:rK(.5)},{option:.75,text:rK(.75)},{option:1,text:rK(1)}];\ng.UL=[{option:\"fontFamily\",text:\"Font family\",options:[{option:1,text:\"Monospaced Serif\"},{option:2,text:\"Proportional Serif\"},{option:3,text:\"Monospaced Sans-Serif\"},{option:4,text:\"Proportional Sans-Serif\"},{option:5,text:\"Casual\"},{option:6,text:\"Cursive\"},{option:7,text:\"Small Capitals\"}]},{option:\"color\",text:\"Font color\",options:TlN},{option:\"fontSizeIncrement\",text:\"Font size\",options:[{option:-2,text:rK(.5)},{option:-1,text:rK(.75)},{option:0,text:rK(1)},{option:1,text:rK(1.5)},{option:2,\ntext:rK(2)},{option:3,text:rK(3)},{option:4,text:rK(4)}]},{option:\"background\",text:\"Background color\",options:TlN},{option:\"backgroundOpacity\",text:\"Background opacity\",options:j7i},{option:\"windowColor\",text:\"Window color\",options:TlN},{option:\"windowOpacity\",text:\"Window opacity\",options:j7i},{option:\"charEdgeStyle\",text:\"Character edge style\",options:[{option:0,text:\"None\"},{option:4,text:\"Drop Shadow\"},{option:1,text:\"Raised\"},{option:2,text:\"Depressed\"},{option:3,text:\"Outline\"}]},{option:\"textOpacity\",\ntext:\"Font opacity\",options:[{option:.25,text:rK(.25)},{option:.5,text:rK(.5)},{option:.75,text:rK(.75)},{option:1,text:rK(1)}]}];var IiK=[27,9,33,34,13,32,187,61,43,189,173,95,79,87,67,80,78,75,70,65,68,87,83,107,221,109,219];g.f(SbX,g.x5);g.H=SbX.prototype;\ng.H.ZH=function(W){W.repeat||(this.J.WE=!1);var Y=!1,k=W.keyCode,P=zw(W),T=!W.altKey&&!W.ctrlKey&&!W.metaKey&&(!this.api.isMutedByEmbedsMutedAutoplay()||IiK.includes(k)),I=!1,X=!1,h=this.api.V();W.defaultPrevented?(T=!1,X=!0):h.AC&&!this.api.isMutedByEmbedsMutedAutoplay()&&(T=!1);if(k===9)Y=!0;else{if(P)switch(k){case 32:case 13:if(P.tagName===\"BUTTON\"||P.tagName===\"A\"||P.tagName===\"INPUT\")Y=!0,T=!1;else if(T){var B=P.getAttribute(\"role\");!B||B!==\"option\"&&B!==\"button\"&&B.indexOf(\"menuitem\")!==0||\n(Y=!0,P.click(),I=!0)}break;case 37:case 39:case 36:case 35:Y=P.getAttribute(\"role\")===\"slider\";break;case 38:case 40:B=P.getAttribute(\"role\"),P=k===38?P.previousSibling:P.nextSibling,B===\"slider\"?Y=!0:T&&(B===\"option\"?(P&&P.getAttribute(\"role\")===\"option\"&&P.focus(),I=Y=!0):B&&B.indexOf(\"menuitem\")===0&&(P&&P.hasAttribute(\"role\")&&P.getAttribute(\"role\").indexOf(\"menuitem\")===0&&P.focus(),I=Y=!0))}if(T&&!I)switch(k){case 38:I=Math.min(this.api.getVolume()+5,100);zL(this.qt,I,!1);this.api.setVolume(I);\nX=I=!0;break;case 40:I=Math.max(this.api.getVolume()-5,0);zL(this.qt,I,!0);this.api.setVolume(I);X=I=!0;break;case 36:this.api.hD()&&(this.api.startSeekCsiAction(),this.api.seekTo(0,void 0,void 0,void 0,79),X=I=!0);break;case 35:this.api.hD()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity,void 0,void 0,void 0,80),X=I=!0)}}Y&&RW(this,!0);(Y||X)&&this.EU.Q0();(I||T&&this.handleGlobalKeyDown(k,W.shiftKey,W.ctrlKey,W.altKey,W.metaKey,W.key,W.code,W.repeat))&&W.preventDefault();h.L&&(W={keyCode:W.keyCode,\naltKey:W.altKey,ctrlKey:W.ctrlKey,metaKey:W.metaKey,shiftKey:W.shiftKey,handled:W.defaultPrevented,fullscreen:this.api.isFullscreen()},this.api.x8(\"onKeyPress\",W))};\ng.H.fQ=function(W){var Y=W.keyCode;(!this.api.U(\"web_player_spacebar_control_bugfix\")||this.api.U(\"web_player_spacebar_control_bugfix\")&&!this.J.Ov)&&this.handleGlobalKeyUp(Y,W.shiftKey,W.ctrlKey,W.altKey,W.metaKey,W.key,W.code)&&W.preventDefault()};\ng.H.handleGlobalKeyUp=function(W,Y,k,P,T,I,X){this.api.publish(\"keyboardserviceglobalkeyup\",{keyCode:W,shiftKey:Y,ctrlKey:k,altKey:P,metaKey:T,key:I,code:X});Y=!1;if(this.J.WE)return Y;(I=g.dJ(this.api.gx()))&&(I=I.tU)&&I.v7&&(I.xC(W),Y=!0);switch(W){case 9:RW(this,!0);Y=!0;break;case 32:if(this.api.U(\"web_speedmaster_spacebar_control\")&&(!this.api.U(\"web_player_spacebar_control_bugfix\")&&!this.J.Ov||this.api.U(\"web_player_spacebar_control_bugfix\"))&&!this.api.V().AC){var h,B;W=(h=this.progressBar)==\nnull?void 0:(B=h.K)==null?void 0:B.isEnabled;Y=this.XV(W)}break;case 39:(iz?P:k)&&!T&&this.api.hD()&&this.api.U(\"web_enable_keyboard_shortcut_for_timely_actions\")&&(this.api.startSeekCsiAction(),h=(h=this.api.getVideoData())?h.i_:[],B=ZLv(h,this.api.getCurrentTime()*1E3),B!==-1&&this.W!=null&&(this.W.bB(1,h[B].title),this.api.seekTo(h[B].startTime/1E3,void 0,void 0,void 0,52),Y=!0))}return Y};\ng.H.handleGlobalKeyDown=function(W,Y,k,P,T,I,X,h){h||(this.J.WE=!1);var B=!1,O=this.api.V();if(O.AC&&!this.api.isMutedByEmbedsMutedAutoplay())return B;var u=g.dJ(this.api.gx());if(u&&(u=u.tU)&&u.v7)switch(W){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:B=u.Im(W)}O.X||B||(B=I||String.fromCharCode(W).toLowerCase(),this.K+=B,\"awesome\".indexOf(this.K)===0||this.api.U(\"web_player_rtr_ctrls\")&&\"bday\".indexOf(this.K)===0?(B=!0,4===this.K.length&&this.K===\"bday\"&&this.api.U(\"web_player_rtr_ctrls\")&&\n(R46(this.C),this.EU.Q0()),7===this.K.length&&this.K===\"awesome\"&&paS(this.api.getRootNode(),\"ytp-color-party\")):(this.K=B,B=\"awesome\".indexOf(this.K)===0||\"bday\".indexOf(this.K)===0));if(!B&&(!this.api.isMutedByEmbedsMutedAutoplay()||IiK.includes(W))){var Z=this.api.getVideoData(),M,t;u=(M=this.progressBar)==null?void 0:(t=M.K)==null?void 0:t.isEnabled;M=Z?Z.i_:[];t=iz?P:k;switch(W){case 80:Y&&!O.Fr&&(tQ(this.qt,Zj7(),\"Previous\"),this.api.previousVideo(),B=!0);break;case 78:Y&&!O.Fr&&(tQ(this.qt,\nMH(),\"Next\"),this.api.nextVideo(),B=!0);break;case 74:this.api.hD()&&(this.api.startSeekCsiAction(),this.W?this.api.U(\"enable_key_press_seek_logging\")?(B=ow(this,-10*this.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_BACKWARD_10S\"),this.W.HF(-1,10,B)):this.W.HF(-1,10):tQ(this.qt,{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z\"}}]}),\nthis.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,73),B=!0);break;case 76:this.api.hD()&&(this.api.startSeekCsiAction(),this.W?this.api.U(\"enable_key_press_seek_logging\")?(B=ow(this,10*this.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_FORWARD_10S\"),this.W.HF(1,10,B)):this.W.HF(1,10):tQ(this.qt,{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z\"}}]}),\nthis.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,74),B=!0);break;case 37:this.api.hD()&&(this.api.startSeekCsiAction(),t?(t=z7z(M,this.api.getCurrentTime()*1E3),t!==-1&&this.W!=null&&(this.W.bB(-1,M[t].title),this.api.seekTo(M[t].startTime/1E3,void 0,void 0,void 0,53),B=!0)):(this.W?this.api.U(\"enable_key_press_seek_logging\")?(B=ow(this,-5*this.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_BACKWARD_5S\"),this.W.HF(-1,5,B)):this.W.HF(-1,5):tQ(this.qt,{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",\nwidth:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z\"}}]}),\nthis.api.seekBy(-5*this.api.getPlaybackRate(),void 0,void 0,71),B=!0));break;case 39:this.api.hD()&&(this.api.startSeekCsiAction(),t?this.api.U(\"web_enable_keyboard_shortcut_for_timely_actions\")||(t=ZLv(M,this.api.getCurrentTime()*1E3),t!==-1&&this.W!=null&&(this.W.bB(1,M[t].title),this.api.seekTo(M[t].startTime/1E3,void 0,void 0,void 0,52),B=!0)):(this.W!=null?this.api.U(\"enable_key_press_seek_logging\")?(B=ow(this,5*this.api.getPlaybackRate(),\"SEEK_SOURCE_SEEK_FORWARD_5S\"),this.W.HF(1,5,B)):this.W.HF(1,\n5):tQ(this.qt,{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z\"}}]}),\nthis.api.seekBy(5*this.api.getPlaybackRate(),void 0,void 0,72),B=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),zL(this.qt,this.api.getVolume(),!1)):(this.api.mute(),zL(this.qt,0,!0));B=!0;break;case 32:B=this.api.U(\"web_speedmaster_spacebar_control\")?!this.api.V().Fr:this.XV(u);break;case 75:B=this.XV(u);break;case 190:Y?O.enableSpeedOptions&&WMd(this)&&(B=this.api.getPlaybackRate(),this.api.setPlaybackRate(B+.25,!0),TBQ(this.qt,!1),B=!0):this.api.hD()&&(this.step(1),B=!0);break;case 188:Y?\nO.enableSpeedOptions&&WMd(this)&&(B=this.api.getPlaybackRate(),this.api.setPlaybackRate(B-.25,!0),TBQ(this.qt,!0),B=!0):this.api.hD()&&(this.step(-1),B=!0);break;case 70:Y3d(this.api)&&(this.api.toggleFullscreen().catch(function(){}),B=!0);\nbreak;case 27:u?(this.progressBar.Sx(),B=!0):this.X()&&(B=!0)}if(O.controlsType!==\"3\")switch(W){case 67:g.Lt(this.api.gx())&&(O=this.api.getOption(\"captions\",\"track\"),this.api.toggleSubtitles(),n22(this.qt,!O||O&&!O.displayName),B=!0);break;case 79:b8(this,\"textOpacity\");break;case 87:b8(this,\"windowOpacity\");break;case 187:case 61:b8(this,\"fontSizeIncrement\",!1,!0);break;case 189:case 173:b8(this,\"fontSizeIncrement\",!0,!0)}var q;Y||k||P||(W>=48&&W<=57?q=W-48:W>=96&&W<=105&&(q=W-96));q!=null&&this.api.hD()&&\n!this.api.U(\"web_player_disable_keyboard_seek_percent\")&&(this.api.startSeekCsiAction(),O=this.api.getProgressState(),this.api.seekTo(q/10*(O.seekableEnd-O.seekableStart)+O.seekableStart,void 0,void 0,void 0,81),B=!0);B&&this.EU.Q0()}this.J.SE=!1;this.api.publish(\"keyboardserviceglobalkeydown\",{keyCode:W,shiftKey:Y,ctrlKey:k,altKey:P,metaKey:T,key:I,code:X,repeat:h},this.J);this.J.SE&&(B=!0,this.EU.Q0());return B};\ng.H.step=function(W){this.api.hD();if(this.api.getPlayerStateObject().isPaused()){var Y=this.api.getVideoData().K;Y&&(Y=Y.video)&&this.api.seekBy(W/(Y.fps||30),void 0,void 0,W>0?77:78)}};\ng.H.XV=function(W){if(!this.api.V().Fr){var Y;var k,P=(Y=this.api.getVideoData())==null?void 0:(k=Y.getPlayerResponse())==null?void 0:k.playabilityStatus;if(P){var T;Y=((T=g.R(P.miniplayer,Pqz))==null?void 0:T.playbackMode)===\"PLAYBACK_MODE_PAUSED_ONLY\"}else Y=!1;Y&&this.api.Ri(\"onExpandMiniplayer\");W?this.progressBar.hM():(W=!this.api.getPlayerStateObject().isOrWillBePlaying(),this.qt.nP(W),W?this.api.playVideo():this.api.pauseVideo());return!0}return!1};\ng.H.iz=function(){g.i7(this.T);g.x5.prototype.iz.call(this)};g.f(qp,g.c);qp.prototype.xa=function(){var W=this.Y.V(),Y=W.J||this.Y.U(\"web_player_hide_overflow_button_if_empty_menu\")&&this.Xb.isEmpty();W=g.hN(W)&&g.k4(this.Y)&&g.p(this.Y.getPlayerStateObject(),128);var k=this.Y.getPlayerSize();this.visible=this.Y.jy()&&!W&&k.width>=240&&!this.Y.getVideoData().zr&&!Y&&!this.Y.isEmbedsShortsMode();g.ML(this.element,\"ytp-overflow-button-visible\",this.visible);this.visible&&this.Y.wc();this.Y.logVisibility(this.element,this.visible&&this.L)};\nqp.prototype.h9=function(W){g.c.prototype.h9.call(this,W);this.Y.logVisibility(this.element,this.visible&&W)};\nqp.prototype.iz=function(){g.c.prototype.iz.call(this);g.Sr(this.element,\"ytp-overflow-button-visible\")};g.f(nY,g.KK);g.H=nY.prototype;g.H.qp=function(W){W=zw(W);g.MG(this.element,W)&&(g.MG(this.W,W)||g.MG(this.closeButton,W)||Rz(this))};\ng.H.n1=function(){g.KK.prototype.n1.call(this);this.Y.gX(this.element)};\ng.H.show=function(){this.v7&&this.Y.publish(\"OVERFLOW_PANEL_OPENED\");g.KK.prototype.show.call(this);this.element.setAttribute(\"aria-modal\",\"true\");l96(this,!0)};\ng.H.hide=function(){g.KK.prototype.hide.call(this);this.element.removeAttribute(\"aria-modal\");l96(this,!1)};\ng.H.onFullscreenToggled=function(W){!W&&this.IZ()&&Rz(this)};\ng.H.isEmpty=function(){return this.actionButtons.length===0};\ng.H.focus=function(){for(var W=g.e(this.actionButtons),Y=W.next();!Y.done;Y=W.next())if(Y=Y.value,Y.v7){Y.focus();break}};g.f(r3d,g.c);r3d.prototype.onClick=function(W){g.It(W,this.api)&&this.api.playVideoAt(this.index)};g.f(px6,g.KK);g.H=px6.prototype;g.H.show=function(){g.KK.prototype.show.call(this);this.W.Z(this.api,\"videodatachange\",this.wC);this.W.Z(this.api,\"onPlaylistUpdate\",this.wC);this.wC()};\ng.H.hide=function(){g.KK.prototype.hide.call(this);g.eY(this.W);this.updatePlaylist(null)};\ng.H.wC=function(){this.updatePlaylist(this.api.getPlaylist());this.api.V().J&&(this.J5(\"ytp-playlist-menu-title-name\").removeAttribute(\"href\"),this.J&&(this.nH(this.J),this.J=null))};\ng.H.Om=function(){var W=this.playlist,Y=W.author,k=Y?\"by $AUTHOR \\u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH\":\"$CURRENT_POSITION/$PLAYLIST_LENGTH\",P={CURRENT_POSITION:String(W.index+1),PLAYLIST_LENGTH:String(W.length)};Y&&(P.AUTHOR=Y);this.update({title:W.title,subtitle:g.Vq(k,P),playlisturl:this.api.getVideoUrl(!0)});Y=W.K;if(Y===this.T)this.selected.element.setAttribute(\"aria-checked\",\"false\"),this.selected=this.playlistData[W.index];else{k=g.e(this.playlistData);for(P=k.next();!P.done;P=k.next())P.value.dispose();\nk=W.length;this.playlistData=[];for(P=0;P=this.K&&!W.J&&!Y.isAd()&&!this.api.isEmbedsShortsMode()}else W=!1;this.visible=W;this.b8(this.visible);g.ML(this.element,\"ytp-search-button-visible\",this.visible);g.ML(this.element,\"ytp-show-search-title\",!this.api.jy());this.api.logVisibility(this.element,this.visible&&this.L)};\nfD.prototype.h9=function(W){g.c.prototype.h9.call(this,W);this.api.logVisibility(this.element,this.visible&&W)};g.f(B_,g.c);\nB_.prototype.trigger=function(W,Y,k,P){this.show();if(this.K&&W!==this.K){var T=1;this.J&&(T=xrC(this));Gfz(this,T,!1);phC(this)}this.K=W;this.T=this.K===-1?this.G:this.N;W=\"\";Y?(this.X+=Y,W=(this.K===-1?\"\\u2212\":\"+\")+\" \"+this.X):this.X=0;this.updateValue(this.K===-1?\"durationBack\":\"durationForward\",W);if(this.W===\"hidden\"||this.W===\"fading-out\")Y=0,this.W===\"fading-out\"&&(Y=xrC(this),Ge5(this)),e66(this,Y),this.W!==\"fading-out\"&&pl6(this,this.T.querySelector(\".ytp-seek-overlay-arrow-persistent\")),this.W=\n\"fading-in\";else if(this.W===\"fading-in\"||this.W===\"lingering\")Y=this.T.querySelector(\".ytp-seek-overlay-duration\"),W=g.je(this.Y.V().experiments,\"web_player_seek_overlay_duration_bump_scale\")||.9,Y.animate([{offset:0,easing:\"cubic-bezier(0.20, 0.00, 0.60, 1.00)\",transform:\"scale(1)\"},{offset:.64,easing:\"cubic-bezier(0.20, 0.00, 0.60, 1.00)\",transform:\"scale(\"+W+\")\"},{offset:1,transform:\"scale(1)\"}],{duration:184}),Ge5(this),this.W===\"lingering\"&&(this.C.stop(),this.C.start());k&&fF6(this,k,P)};\nB_.prototype.nS=function(W,Y,k,P){this.trigger(W,P)};\nB_.prototype.HF=function(W,Y,k){this.trigger(W,Y);k&&(W=W===-1?this.N.visualElement:this.G.visualElement,k={seekData:k},(Y=g.Zu())&&bS(Y,W,\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\",k))};\nB_.prototype.bB=function(W,Y,k){this.trigger(W,void 0,Y,k)};g.f(t$,g.c);t$.prototype.onClick=function(){var W=this,Y=this.api.V(),k=this.api.getVideoData(this.api.getPresentingPlayerType()),P=this.api.getPlaylistId();Y=this.api.U(\"enable_share_button_url_fix\")?this.api.getVideoUrl(!0,!0,!0):Y.getVideoUrl(k.videoId,P,void 0,!0);if(navigator.share)try{var T=navigator.share({title:k.title,url:Y});T instanceof Promise&&T.catch(function(I){vlv(W,I)})}catch(I){I instanceof Error&&vlv(this,I)}else this.W.CC(),Rz(this.K,this.element,!1);\nthis.api.logClick(this.element)};\nt$.prototype.xa=function(){var W=this.api.V(),Y=this.api.isEmbedsShortsMode();g.ML(this.element,\"ytp-show-share-title\",g.hN(W)&&!Y);this.W.U6()&&Y?(W=(this.api.ai().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.KX(this.element,\"right\",W+\"px\")):Y&&g.KX(this.element,\"right\",\"0px\");this.updateValue(\"icon\",{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z\"}}]});\nthis.visible=N11(this);g.ML(this.element,\"ytp-share-button-visible\",this.visible);this.b8(this.visible);this.tooltip.wc();this.api.logVisibility(this.element,N11(this)&&this.L)};\nt$.prototype.h9=function(W){g.c.prototype.h9.call(this,W);this.api.logVisibility(this.element,this.visible&&W)};\nt$.prototype.iz=function(){g.c.prototype.iz.call(this);g.Sr(this.element,\"ytp-share-button-visible\")};g.f(B15,g.KK);g.H=B15.prototype;g.H.ju=function(W){W=zw(W);g.MG(this.C,W)||g.MG(this.closeButton,W)||Rz(this)};\ng.H.n1=function(){g.KK.prototype.n1.call(this);this.tooltip.gX(this.element);this.api.logVisibility(this.W,!1);for(var W=g.e(this.J),Y=W.next();!Y.done;Y=W.next())Y=Y.value,this.api.hasVe(Y.element)&&this.api.logVisibility(Y.element,!1)};\ng.H.show=function(){var W=this.v7;g.KK.prototype.show.call(this);this.xa();W||this.api.Ri(\"onSharePanelOpened\")};\ng.H.ur5=function(){this.v7&&this.xa()};\ng.H.xa=function(){var W=this;g.N6(this.element,\"ytp-share-panel-loading\");g.Sr(this.element,\"ytp-share-panel-fail\");var Y=this.api.getVideoData(),k=this.api.getPlaylistId()&&this.T.checked;Y.getSharePanelCommand&&s7(this.api.fn(),Y.getSharePanelCommand,{includeListId:k}).then(function(P){W.Xr()||(g.Sr(W.element,\"ytp-share-panel-loading\"),Jj5(W,P))});\nY=this.api.getVideoUrl(!0,!0,!1,!1);this.updateValue(\"link\",Y);this.updateValue(\"linkText\",Y);this.updateValue(\"shareLinkWithUrl\",g.Vq(\"Share link $URL\",{URL:Y}));ck(this.W);this.api.logVisibility(this.W,!0)};\ng.H.onFullscreenToggled=function(W){!W&&this.IZ()&&Rz(this)};\ng.H.focus=function(){this.W.focus()};\ng.H.iz=function(){g.KK.prototype.iz.call(this);p82(this)};g.f(uK,Ov);g.H=uK.prototype;g.H.iz=function(){mAV(this);Ov.prototype.iz.call(this)};\ng.H.Lt=function(W){W.target!==this.dismissButton.element&&(this.S7(!1),this.Y.Ri(\"innertubeCommand\",this.onClickCommand))};\ng.H.yQ=function(){this.rD=!0;this.S7(!0);this.zw()};\ng.H.fYr=function(W){this.X=W;this.zw()};\ng.H.onVideoDataChange=function(W,Y){if(W=!!Y.videoId&&this.videoId!==Y.videoId)this.videoId=Y.videoId,this.rD=!1,this.wD=!0,this.G=this.Kg=!1,mAV(this),BdC(this,!1),this.K=this.W=!1,AI(this),edV(this);if(W||!Y.videoId)this.A5=this.T=!1;var k,P;if(Y==null?0:(k=Y.getPlayerResponse())==null?0:(P=k.videoDetails)==null?0:P.isLiveContent)this.R6(!1);else{var T,I,X;Y=g.R((T=Y.getWatchNextResponse())==null?void 0:(I=T.playerOverlays)==null?void 0:(X=I.playerOverlayRenderer)==null?void 0:X.productsInVideoOverlayRenderer,\nxBz);this.X=this.enabled=!1;if(Y){if(T=Y==null?void 0:Y.featuredProductsEntityKey){I=g.B4.getState().entities;var h;if((h=uk(I,\"featuredProductsEntity\",T))==null?0:h.productsData){this.R6(!1);return}}if(!Y.text||!Y.onClickCommand||!Y.timing){this.R6(!1);return}this.enabled=!0;if(!this.T){var B;h=(B=Y.badgeInteractionLogging)==null?void 0:B.trackingParams;(this.T=!!h)&&this.Y.setTrackingParams(this.badge.element,h||null)}if(!this.A5){var O;if(this.A5=!((O=Y.dismissButton)==null||!O.trackingParams)){var u;\nthis.Y.setTrackingParams(this.dismissButton.element,((u=Y.dismissButton)==null?void 0:u.trackingParams)||null)}}Y.isContentForward&&(B=Y.productsData,BdC(this,!0),edV(this),B=GrX(this,B),O=[],B.length>0&&O.push(B[0]),B.length>1&&(u=new g.c({S:\"div\",j:\"ytp-suggested-action-more-products-icon\"}),g.m(this,u),O.push(u),O.push.apply(O,g.cp(B.slice(1)))),this.C=new g.c({S:\"div\",B:O,j:\"ytp-suggested-action-content-forward-container\"}),g.m(this,this.C),this.OP.element.append(this.C.element));this.text=g.NF(Y.text);\nvar Z;if(B=(Z=Y.dismissButton)==null?void 0:Z.a11yLabel)this.V5=g.NF(B);this.onClickCommand=Y.onClickCommand;this.timing=Y.timing;this.Bz()}FR6(this);yR(this);this.zw()}};\ng.H.Gu=function(){return!this.X&&this.enabled&&!this.rD&&!this.Y.jy()&&!this.K1&&(this.G||this.wD)};\ng.H.gW=function(W){Ov.prototype.gW.call(this,W);if(this.W||this.K)this.timing&&eA(this.timing.preview)&&(this.W=!1,AI(this),this.K=!1,AI(this),this.Y.fq(\"shopping_overlay_preview_collapsed\"),this.Y.fq(\"shopping_overlay_preview_expanded\"),W=Mf(this.timing.preview.startSec,this.timing.preview.endSec,\"shopping_overlay_expanded\"),eA(this.timing.expanded)&&this.timing.preview.endSec===this.timing.expanded.startSec&&(this.Y.fq(\"shopping_overlay_expanded\"),W.end=this.timing.expanded.endSec*1E3),this.Y.Bz([W])),\nthis.Kg=!0,yR(this);AI(this)};\ng.H.R6=function(W){(this.G=W)?(WC(this),yR(this,!1)):(mAV(this),this.Fr.start());this.zw()};\ng.H.Bz=function(W){var Y=this.timing;W=(W===void 0?0:W)+this.Y.getCurrentTime();var k=[],P=Y.visible,T=Y.preview;Y=Y.expanded;eA(P)&&($rS(P,W),k.push(Mf(P.startSec,P.endSec,\"shopping_overlay_visible\")));eA(T)&&($rS(T,W),P=T.startSec+1,k.push(Mf(T.startSec,P,\"shopping_overlay_preview_collapsed\")),k.push(Mf(P,T.endSec,\"shopping_overlay_preview_expanded\")));eA(Y)&&($rS(Y,W),k.push(Mf(Y.startSec,Y.endSec,\"shopping_overlay_expanded\")));this.Y.Bz(k)};\ng.H.zw=function(){Ov.prototype.zw.call(this);this.Y.getRootNode()&&g.ML(this.Y.getRootNode(),\"ytp-shopping-pill-shown\",this.Gu())};g.f(Vo,g.c);\nVo.prototype.xa=function(){var W=this.api.V();this.b8(g.hN(W)&&this.api.isEmbedsShortsMode());this.subscribeButton&&this.api.logVisibility(this.subscribeButton.element,this.v7);var Y=this.api.getVideoData(),k=!1;this.api.getPresentingPlayerType()===2?k=!!Y.videoId&&!!Y.isListed&&!!Y.author&&!!Y.Lg&&!!Y.profilePicture:g.hN(W)&&(k=!!Y.videoId&&!!Y.Lg&&!!Y.profilePicture&&!Y.zr&&!W.J&&!(W.G&&this.api.getPlayerSize().width<200));var P=Y.profilePicture;W=g.hN(W)?Y.expandedTitle:Y.author;P=P===void 0?\"\":\nP;W=W===void 0?\"\":W;k?(this.K!==P&&(this.W.style.backgroundImage=\"url(\"+P+\")\",this.K=P),this.updateValue(\"channelLogoLabel\",g.Vq(\"Photo image of $CHANNEL_NAME\",{CHANNEL_NAME:W})),g.N6(this.api.getRootNode(),\"ytp-title-enable-channel-logo\")):g.Sr(this.api.getRootNode(),\"ytp-title-enable-channel-logo\");this.api.logVisibility(this.W,k&&this.L);this.api.logVisibility(this.channelName,k&&this.L);this.subscribeButton&&(this.subscribeButton.channelId=Y.zC);this.updateValue(\"expandedTitle\",Y.expandedTitle)};g.f(PK,g.KK);PK.prototype.show=function(){g.KK.prototype.show.call(this);this.W.start()};\nPK.prototype.hide=function(){g.KK.prototype.hide.call(this);this.W.stop()};\nPK.prototype.qB=function(W,Y){W===\"dataloaded\"&&((this.PU=Y.PU,this.CN=Y.CN,isNaN(this.PU)||isNaN(this.CN))?this.J&&(this.Y.fq(\"intro\"),this.Y.removeEventListener(g.OQ(\"intro\"),this.N),this.Y.removeEventListener(g.ut(\"intro\"),this.C),this.Y.removeEventListener(\"onShowControls\",this.T),this.hide(),this.J=!1):(this.Y.addEventListener(g.OQ(\"intro\"),this.N),this.Y.addEventListener(g.ut(\"intro\"),this.C),this.Y.addEventListener(\"onShowControls\",this.T),W=new g.Mm(this.PU,this.CN,{priority:9,namespace:\"intro\"}),\nthis.Y.Bz([W]),this.J=!0))};g.f(r$,g.c);r$.prototype.onClick=function(){this.Y.i4()};\nr$.prototype.xa=function(){var W=!0;g.hN(this.Y.V())&&(W=W&&this.Y.ai().getPlayerSize().width>=480);this.b8(W);W=this.updateValue;var Y=this.Y.U(\"delhi_modern_web_player_icons\"),k=Y?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,D:{d:\"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z\",fill:\"#fff\"}}]};Y=Y?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M23 17V5C23.00 4.50 22.81 4.02 22.48 3.65C22.15 3.29 21.69 3.06 21.20 3.01L21 3H3L2.79 3.01C2.30 3.06 1.84 3.29 1.51 3.65C1.18 4.02 .99 4.50 1 5V17C0.99 17.49 1.18 17.97 1.51 18.34C1.84 18.70 2.30 18.93 2.79 18.99L3 19H5.93L7.65 17H3V5H21V17H16.35L18.06 19H21L21.20 18.99C21.69 18.93 22.15 18.70 22.48 18.34C22.81 17.97 23.00 17.49 23 17ZM17.29 21.17L12 15L6.70 21.17C6.64 21.24 6.60 21.33 6.59 21.43C6.57 21.52 6.59 21.62 6.63 21.70C6.67 21.79 6.73 21.86 6.81 21.92C6.89 21.97 6.99 22 7.08 22H16.91C17.00 22 17.10 21.97 17.18 21.92C17.26 21.86 17.32 21.79 17.36 21.70C17.40 21.62 17.42 21.52 17.40 21.43C17.39 21.33 17.35 21.24 17.29 21.17Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z\"}}]};W.call(this,\"icon\",this.Y.Y7()?k:Y)};g.f(Ch,g.c);Ch.prototype.iz=function(){this.W=null;g.c.prototype.iz.call(this)};g.f(WO,g.c);WO.prototype.onClick=function(){this.Y.Ri(\"innertubeCommand\",this.K)};\nWO.prototype.N=function(){if(this.Y.U(\"delhi_modern_web_player\")){var W=this.Y.getPlayerSize();W.width&&(this.element.style.maxWidth=W.width*.25+\"px\")}};\nWO.prototype.Kg=function(W){W!==this.X&&(this.update({chapterTitle:W,ariaLabel:W}),this.X=W);W?this.show():this.hide()};\nWO.prototype.A5=function(){this.W.disabled=this.K==null;g.ML(this.W,\"ytp-chapter-container-disabled\",this.W.disabled);this.Xi()};g.f(vE,WO);vE.prototype.onClickCommand=function(W){g.R(W,he)&&this.Xi()};\nvE.prototype.updateVideoData=function(W,Y){var k,P,T;W=g.R((k=Y.getWatchNextResponse())==null?void 0:(P=k.playerOverlays)==null?void 0:(T=P.playerOverlayRenderer)==null?void 0:T.decoratedPlayerBarRenderer,dY);k=g.R(W==null?void 0:W.playerBarActionButton,g.FM);if(this.Y.U(\"web_player_updated_entrypoint\")){this.G=q8d(k==null?void 0:k.text);var I;P=(I=k==null?void 0:k.tooltip)!=null?I:\"View chapter\";this.C.setAttribute(\"title\",P)}this.K=k==null?void 0:k.command;WO.prototype.A5.call(this)};\nvE.prototype.Xi=function(){var W=this.G,Y=this.T.W,k,P=((k=this.Y.getLoopRange())==null?void 0:k.type)===\"clips\";if(Y.length>1&&!P){W=this.Y.getProgressState().current*1E3;k=OJ(Y,W);W=Y[k].title||\"Chapters\";if(k!==this.currentIndex||this.J)this.Y.Ri(\"innertubeCommand\",Y[k].onActiveCommand),this.currentIndex=k;this.J=!1}else this.J=!0;WO.prototype.Kg.call(this,W)};g.f(Kk,g.pk);Kk.prototype.K=function(){var W;(W=this.element.parentElement)==null||W.classList.contains(\"ytp-right-controls-left\");(this.W=!this.W)?this.publish(\"small-mode-expand-right-bottom-controls\"):this.publish(\"small-mode-collapse-right-bottom-controls\")};\nKk.prototype.isExpanded=function(){return this.W};g.f(nd,g.c);nd.prototype.J=function(W){g.p(W.state,32)?oR(this,this.api.T8()):this.v7&&(g.p(W.state,16)||g.p(W.state,1))||this.fade.hide()};\nnd.prototype.onProgress=function(){var W=this.api.getPlayerStateObject();(g.p(W,32)||g.p(W,16))&&J9(this)};\nnd.prototype.T=function(){this.frameIndex=NaN;J9(this)};\nnd.prototype.hide=function(){this.W&&oR(this,null);g.c.prototype.hide.call(this)};g.f(tW2,g.c);g.H=tW2.prototype;g.H.onClick=function(){var W=this;if(this.Y.V().Lg||this.Y.V().G){this.Y.logClick(this.element);try{this.Y.toggleFullscreen().catch(function(Y){W.eb(Y)})}catch(Y){this.eb(Y)}}else Rz(this.message,this.element,!0)};\ng.H.eb=function(W){String(W).includes(\"fullscreen error\")?g.Jx(W):g.LH(W);this.El()};\ng.H.El=function(){this.disable();this.message.fH(this.element,!0)};\ng.H.I0=function(){eJ()===this.Y.getRootNode()?this.J.start():(this.J.stop(),this.message&&this.message.hide())};\ng.H.dR=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var W=window.screen.width*.9,Y=window.screen.height*.9,k=Math.max(window.outerWidth,window.innerWidth),P=Math.max(window.outerHeight,window.innerHeight);if(k>P!==W>Y){var T=k;k=P;P=T}W>k&&Y>P&&this.El()}};\ng.H.disable=function(){var W=this;if(!this.message){var Y=(X4([\"requestFullscreen\",\"webkitRequestFullscreen\",\"mozRequestFullScreen\",\"msRequestFullscreen\"],document.body)!=null?\"Full screen is unavailable. $BEGIN_LINKLearn More$END_LINK\":\"Your browser doesn't support full screen. $BEGIN_LINKLearn More$END_LINK\").split(/\\$(BEGIN|END)_LINK/);this.message=new g.KK(this.Y,{S:\"div\",Ya:[\"ytp-popup\",\"ytp-generic-popup\"],D:{role:\"alert\",tabindex:\"0\"},B:[Y[0],{S:\"a\",D:{href:\"https://support.google.com/youtube/answer/6276924\",\ntarget:this.Y.V().N},v6:Y[2]},Y[4]]},100,!0);this.message.hide();g.m(this,this.message);this.message.subscribe(\"show\",function(k){W.K.Ke(W.message,k)});\ng.Fw(this.Y,this.message.element,4);this.element.setAttribute(\"aria-disabled\",\"true\");this.element.setAttribute(\"aria-haspopup\",\"true\");(0,this.W)();this.W=null}};\ng.H.xa=function(){var W=Y3d(this.Y),Y=this.Y.V().G&&this.Y.getPlayerSize().width<250;this.b8(W&&!Y);this.Y.logVisibility(this.element,this.v7)};\ng.H.aS=function(W){if(W){var Y=g.T_(this.Y,\"Exit full screen\",\"f\");this.update({\"data-title-no-tooltip\":\"Exit full screen\"});document.activeElement===this.element&&this.Y.getRootNode().focus();document.pictureInPictureElement&&document.exitPictureInPicture().catch(function(k){g.Jx(k)})}else Y=g.T_(this.Y,\"Full screen\",\"f\"),this.update({\"data-title-no-tooltip\":\"Full screen\"});\nW=HfF(this,W);Y=this.message?null:Y;this.Y.V().U(\"player_tooltip_data_title_killswitch\")?this.update({title:Y,icon:W}):this.update({\"tooltip-title\":Y,\"aria-label\":Y,icon:W});this.K.r5().wc()};\ng.H.iz=function(){this.message||((0,this.W)(),this.W=null);g.c.prototype.iz.call(this)};\ng.H.h9=function(W){g.c.prototype.h9.call(this,W)};g.f(m4,g.c);m4.prototype.onClick=function(){this.Y.logClick(this.element);this.Y.seekBy(this.W,!0);var W=this.W>0?1:-1,Y=Math.abs(this.W),k=this.Y.FK().MV;k&&k.HF(W,Y);this.K.isActive()?this.J=!0:(W=[\"ytp-jump-spin\"],this.W<0&&W.push(\"backwards\"),this.element.classList.add.apply(this.element.classList,g.cp(W)),g.Iv(this.K))};g.f(Z7,WO);Z7.prototype.onClickCommand=function(W){g.R(W,bX$)&&this.Xi()};\nZ7.prototype.updateVideoData=function(){var W,Y;this.K=(W=HE0(this))==null?void 0:(Y=W.onTap)==null?void 0:Y.innertubeCommand;WO.prototype.A5.call(this)};\nZ7.prototype.Xi=function(){var W=\"\",Y=this.T.X,k,P=(k=HE0(this))==null?void 0:k.headerTitle;k=P?g.NF(P):\"\";var T;P=((T=this.Y.getLoopRange())==null?void 0:T.type)===\"clips\";Y.length>1&&!P&&(W=this.Y.getProgressState().current*1E3,T=vWX(Y,W),W=T!=null?Y[T].title:k,T!=null&&T!==this.currentIndex&&(this.Y.Ri(\"innertubeCommand\",Y[T].onActiveCommand),this.currentIndex=T));WO.prototype.Kg.call(this,W)};g.f(sS,g.c);sS.prototype.onClick=function(){this.Y.Ri(\"onCollapseMiniplayer\");this.Y.logClick(this.element)};\nsS.prototype.xa=function(){this.visible=!this.Y.isFullscreen();this.b8(this.visible);this.Y.logVisibility(this.element,this.visible&&this.L)};\nsS.prototype.h9=function(W){g.c.prototype.h9.call(this,W);this.Y.logVisibility(this.element,this.visible&&W)};g.f(ED,g.c);ED.prototype.init=function(){this.updateValue(\"minvalue\",this.T);this.updateValue(\"maxvalue\",this.C);this.updateValue(\"stepvalue\",this.G);this.updateValue(\"slidervalue\",this.W);lmz(this,this.W)};\nED.prototype.J=function(){Cb(this,Number(this.K.value));this.K.focus()};\nED.prototype.X=function(W){if(!W.defaultPrevented){switch(W.code){case \"ArrowDown\":W=-this.G;break;case \"ArrowUp\":W=this.G;break;default:return}Cb(this,Math.min(this.C,Math.max(Number((this.W+W).toFixed(2)),this.T)))}};g.f(WF,ED);WF.prototype.onVolumeChange=function(W){if(this.N)this.N=!1;else{var Y=W.volume;Y===0||W.muted?Cb(this,0):Cb(this,Y)}};\nWF.prototype.J=function(){ED.prototype.J.call(this);this.A5(this.W)};\nWF.prototype.Kg=function(W){var Y=-W.deltaY;Y=W.deltaMode===WheelEvent.DOM_DELTA_LINE||W.deltaMode===WheelEvent.DOM_DELTA_PAGE?g.DR(this.W+Y,0,100):g.DR(this.W+g.DR(Y/10,-10,10),0,100);Y===0?Cb(this,0):Cb(this,Y);this.A5(Y);W.preventDefault();W.stopPropagation()};\nWF.prototype.wD=function(W,Y){this.N=!0;W===0||Y?this.Y.mute():(this.Y.isMuted()&&this.Y.unMute(),this.Y.setVolume(W))};g.f(pz7,g.c);g.f(pd,g.c);g.H=pd.prototype;g.H.Fs=function(){if(!this.Y.jA()){this.updateValue(\"dataTooltipOffsetY\",-120);var W;(W=this.W)!=null&&St(W,!0);var Y;(Y=this.W)!=null&&Y.W.stop()}};\ng.H.cM=function(){var W;(W=this.W)!=null&&W.W.start()};\ng.H.HZ=function(W){this.visible=W.width>=300||this.UP;this.b8(this.visible);this.Y.logVisibility(this.element,this.visible&&this.L)};\ng.H.w1=function(){this.Y.V().OP?this.Y.isMuted()?this.Y.unMute():this.Y.mute():Rz(this.message,this.element,!0);this.Y.logClick(this.element)};\ng.H.VLS=function(W){if(this.Y.V().OP&&this.W)if(W.target===this.J){var Y;if(!this.Y.jA()||((Y=this.W)==null?0:Y.isVisible))this.w1();else{var k;(k=this.W)!=null&&St(k,!0)}}else{var P;(P=this.W)!=null&&St(P,!0)}else this.w1()};\ng.H.onVolumeChange=function(W){this.setVolume(W.volume,W.muted)};\ng.H.setVolume=function(W,Y){var k=this,P=Y?0:W/100;W=P===0?1:W>50?1:0;if(this.N!==W){var T=this.G;isNaN(T)?YS1(this,W):UY(this.OP,function(X){YS1(k,T+(k.N-T)*X)},250);\nthis.N=W}P=P===0?1:0;if(this.X!==P){var I=this.wD;isNaN(I)?xyd(this,P):UY(this.gD,function(X){xyd(k,I+(k.X-I)*X)},250);\nthis.X=P}KCX(this,Y)};\ng.H.h9=function(W){g.c.prototype.h9.call(this,W);this.Y.logVisibility(this.element,this.visible&&W)};\nvar aBV=[\"M\",19,\",\",11.29,\" C\",21.89,\",\",12.15,\" \",24,\",\",14.83,\" \",24,\",\",18,\" C\",24,\",\",21.17,\" \",21.89,\",\",23.85,\" \",19,\",\",24.71,\" L\",19,\",\",24.77,\" C\",21.89,\",\",23.85,\" \",24,\",\",21.17,\" \",24,\",\",18,\" C\",24,\",\",14.83,\" \",21.89,\",\",12.15,\" \",19,\",\",11.29,\" L\",19,\",\",11.29,\" Z\"],W3d=[\"M\",19,\",\",11.29,\" C\",21.89,\",\",12.15,\" \",24,\",\",14.83,\" \",24,\",\",18,\" C\",24,\",\",21.17,\" \",21.89,\",\",23.85,\" \",19,\",\",24.71,\" L\",19,\",\",26.77,\" C\",23.01,\",\",25.86,\" \",26,\",\",22.28,\" \",26,\",\",18,\" C\",26,\",\",13.72,\" \",\n23.01,\",\",10.14,\" \",19,\",\",9.23,\" L\",19,\",\",11.29,\" Z\"];g.f(g.A1,g.c);g.H=g.A1.prototype;g.H.onStateChange=function(W){this.ZY(W.state)};\ng.H.ZY=function(W){var Y=g.zx(this.Y.getVideoData()),k=!1;W.isOrWillBePlaying()?W=Y?4:2:g.p(W,2)?(W=3,k=Y):W=1;this.element.disabled=k;if(this.W!==W){Y=null;switch(W){case 2:Y=g.T_(this.Y,\"Pause\",\"k\");this.update({\"data-title-no-tooltip\":\"Pause\"});break;case 3:Y=\"Replay\";this.update({\"data-title-no-tooltip\":\"Replay\"});break;case 1:Y=g.T_(this.Y,\"Play\",\"k\");this.update({\"data-title-no-tooltip\":\"Play\"});break;case 4:Y=\"Stop live playback\",this.update({\"data-title-no-tooltip\":\"Stop live playback\"})}W===\n3?this.Y.V().U(\"player_tooltip_data_title_killswitch\")?this.update({title:Y,icon:ztF(this,W)}):this.update({\"tooltip-title\":Y,icon:ztF(this,W)}):(this.Y.U(\"player_tooltip_data_title_killswitch\")?this.update({title:Y}):this.update({\"tooltip-title\":Y}),(Y=ztF(this,W))&&this.W&&this.W!==3?iIC(this.transition,this.element,Y):this.updateValue(\"icon\",Y));this.tooltip.wc();this.W=W}};\ng.H.onVideoDataChange=function(){g.ML(this.element,\"ytp-play-button-playlist\",g.k4(this.Y))};\ng.H.XV=function(W){this.Y.logClick(this.element);if(this.Y.getPlayerStateObject().isOrWillBePlaying())this.Y.pauseVideo();else{if(this.Y.isMinimized()&&this.Y.getPlayerStateObject().isCued()){var Y={},k;if((k=this.Y.getVideoData())==null?0:k.X)Y.cttAuthInfo={token:this.Y.getVideoData().X,videoId:this.Y.getVideoData().videoId};XF(\"direct_playback\",Y);this.Y.w_().timerName=\"direct_playback\"}this.Y.playVideo()}this.Y.isMinimized()&&(W==null?void 0:W.type)===\"click\"&&this.element.blur()};\ng.H.h9=function(W){g.c.prototype.h9.call(this,W)};g.f(g.W1,g.c);g.H=g.W1.prototype;g.H.onVideoDataChange=function(){v95(this);this.T&&(this.nH(this.T),this.T=null);this.videoData=this.Y.getVideoData(1);if(this.playlist=this.Y.getPlaylist())this.playlist.subscribe(\"shuffle\",this.onVideoDataChange,this),this.T=this.Z(this.Y,\"progresssync\",this.Zb);this.J=iHq(this);jr(this);this.J0(this.Y.ai().getPlayerSize())};\ng.H.J0=function(W){W=W===void 0?this.Y.ai().getPlayerSize():W;var Y,k=((Y=this.Y.getLoopRange())==null?void 0:Y.type)===\"clips\";Y=g.k4(this.Y)||this.W&&g.Pw(this.Y)&&!this.Y.U(\"web_hide_next_button\")||ve6(this);var P=!this.W&&W.width<400;W=this.Y.U(\"delhi_modern_web_player_horizontal_volume_controls\")&&W.width<640;k=Y&&!k&&!P&&!W;this.b8(k);this.Y.logVisibility(this.element,k)};\ng.H.onClick=function(W){this.Y.logClick(this.element);var Y=!0;this.X?Y=g.It(W,this.Y):W.preventDefault();Y&&(this.W&&this.Y.getPresentingPlayerType()===5?this.Y.publish(\"ytoprerollinternstitialnext\"):this.W?(mB(this.Y.w_()),this.Y.publish(\"playlistnextbuttonclicked\",this.element),this.Y.nextVideo(!0)):this.J?this.Y.seekTo(0):(mB(this.Y.w_()),this.Y.publish(\"playlistprevbuttonclicked\",this.element),this.Y.previousVideo(!0)))};\ng.H.Zb=function(){var W=iHq(this);W!==this.J&&(this.J=W,jr(this))};\ng.H.iz=function(){this.K&&(this.K(),this.K=null);v95(this);g.c.prototype.iz.call(this)};g.f(NG,g.c);g.H=NG.prototype;g.H.kM=function(W){this.T$(W.pageX);this.pA(W.pageX+W.deltaX);WUp(this)};\ng.H.T$=function(W){this.A5=W-this.UP};\ng.H.pA=function(W){W-=this.UP;!isNaN(this.A5)&&this.thumbnails.length>0&&(this.N=W-this.A5,this.thumbnails.length>0&&this.N!==0&&(this.J=this.G+this.N,W=Fc1(this,this.J),this.J<=this.W/2&&this.J>=isd(this)?(this.api.seekTo(W,!1,void 0,void 0,25),g.KX(this.wD,\"transform\",\"translateX(\"+(this.J-this.W/2)+\"px)\"),ol(this,W)):this.J=this.G))};\ng.H.fM=function(){this.Kg&&(this.Kg.oP=!0);var W=(0,g.lj)()-this.GJ<300;if(Math.abs(this.N)<5&&!W){this.GJ=(0,g.lj)();W=this.A5+this.N;var Y=this.W/2-W;this.T$(W);this.pA(W+Y);WUp(this);this.api.logClick(this.C)}WUp(this)};\ng.H.Db=function(){GI(this,this.api.getCurrentTime())};\ng.H.play=function(W){this.api.seekTo(Fc1(this,this.J),void 0,void 0,void 0,26);this.api.playVideo();W&&this.api.logClick(this.playButton)};\ng.H.onExit=function(W){this.api.seekTo(this.Fr,void 0,void 0,void 0,63);this.api.playVideo();W&&this.api.logClick(this.dismissButton)};\ng.H.Rb=function(W,Y){this.UP=W;this.W=Y;GI(this,this.api.getCurrentTime())};\ng.H.enable=function(){this.isEnabled||(this.isEnabled=!0,this.Fr=this.api.getCurrentTime(),ol(this,this.Fr),g.ML(this.api.getRootNode(),\"ytp-fine-scrubbing-enable\",this.isEnabled),this.OP=this.Z(this.element,\"wheel\",this.kM),this.logVisibility(this.isEnabled))};\ng.H.disable=function(){this.isEnabled=!1;this.hide();g.ML(this.api.getRootNode(),\"ytp-fine-scrubbing-enable\",this.isEnabled);this.OP&&this.nH(this.OP);this.logVisibility(this.isEnabled)};\ng.H.reset=function(){this.disable();this.T=[];this.TJ=!1};\ng.H.logVisibility=function(W){this.api.logVisibility(this.element,W);this.api.logVisibility(this.C,W);this.api.logVisibility(this.dismissButton,W);this.api.logVisibility(this.playButton,W)};\ng.H.iz=function(){for(;this.K.length;){var W=void 0;(W=this.K.pop())==null||W.dispose()}g.c.prototype.iz.call(this)};\ng.f(I2d,g.c);g.f(J6,g.c);g.f(J22,g.c);g.f(bb,g.c);bb.prototype.Tn=function(W){return W===\"PLAY_PROGRESS\"?this.G:W===\"LOAD_PROGRESS\"?this.X:W===\"LIVE_BUFFER\"?this.C:this.J};OKC.prototype.update=function(W,Y,k,P){k=k===void 0?0:k;this.width=Y;this.T=k;this.W=Y-k-(P===void 0?0:P);this.position=g.DR(W,k,k+this.W);this.J=this.position-k;this.K=this.J/this.W};g.f(I0,g.c);g.f(g.aP,g.pk);g.H=g.aP.prototype;\ng.H.jt=function(){var W=!1,Y=this.api.getVideoData();if(!Y)return W;this.api.fq(\"timedMarkerCueRange\");Aj(this);for(var k=g.e(Y.Q5),P=k.next();!P.done;P=k.next()){P=P.value;var T=void 0,I=(T=this.V5[P])==null?void 0:T.markerType,X=void 0;T=(X=this.V5[P])==null?void 0:X.markers;if(!T)break;if(I===\"MARKER_TYPE_TIMESTAMPS\"){W=g.e(T);for(I=W.next();!I.done;I=W.next()){X=I.value;I=new I0;var h=void 0;I.title=((h=X.title)==null?void 0:h.simpleText)||\"\";I.timeRangeStartMillis=Number(X.startMillis);I.W=Number(X.durationMillis);\nvar B=h=void 0;I.onActiveCommand=(B=(h=X.onActive)==null?void 0:h.innertubeCommand)!=null?B:void 0;vtd(this,I)}bhX(this,this.X);W=this.X;I=this.Dm;X=[];h=null;for(B=0;BO&&(h.end=O);O=Mbz(O,O+Z);X.push(O);h=O;I[O.id]=W[B].onActiveCommand}}this.api.Bz(X);a:{W=g.e(T);for(T=W.next();!T.done;T=W.next())if(T.value.sourceType===\"SOURCE_TYPE_SMART_SKIP\"){W=!1;break a}W=!0}W&&(this.i_=\nthis.V5[P]);W=!0}else if(I===\"MARKER_TYPE_HEATMAP\"){P=this.V5[P];u=O=I=B=h=X=void 0;if(P&&P.markers){T=(I=(u=P.markersMetadata)==null?void 0:(O=u.heatmapMetadata)==null?void 0:O.minHeightDp)!=null?I:0;I=(X=(B=P.markersMetadata)==null?void 0:(h=B.heatmapMetadata)==null?void 0:h.maxHeightDp)!=null?X:60;X=this.W.length;h=null;for(B=0;B=u&&q<=Z&&O.push(t)}I>0&&(this.Kg.style.height=I+\"px\");u=this.T[B];Z=O;t=T;var G=I,E=B===0;E=E===void 0?!1:E;f_F(u,G);M=Z;q=u.K;E=E===void 0?!1:E;var z=1E3/M.length,A=[];A.push({x:0,y:100});for(var F=0;F0&&(h=O[O.length-1])}g.cj(this)}I=void 0;T=[];if(P=(I=P.markersDecoration)==null?void 0:I.timedMarkerDecorations)for(P=g.e(P),I=P.next();!I.done;I=P.next())I=I.value,B=h=X=void 0,T.push({visibleTimeRangeStartMillis:(X=I.visibleTimeRangeStartMillis)!=null?X:-1,visibleTimeRangeEndMillis:(h=\nI.visibleTimeRangeEndMillis)!=null?h:-1,decorationTimeMillis:(B=I.decorationTimeMillis)!=null?B:NaN,label:I.label?g.NF(I.label):\"\"});P=T;this.heatMarkersDecorations=P}}Y.f6=this.X;g.ML(this.element,\"ytp-timed-markers-enabled\",W);return W};\ng.H.Rb=function(){g.cj(this);ZY(this);bhX(this,this.X);if(this.K){var W=g.DY(this.element).x||0;this.K.Rb(W,this.C)}};\ng.H.yY2=function(){var W=this.api.getVideoData();W&&cdF(this,W)};\ng.H.onClickCommand=function(W){if(W=g.R(W,he)){var Y=W.key;W.isVisible&&Y&&a_0(this,Y)}};\ng.H.jkr=function(W){this.api.Ri(\"innertubeCommand\",this.Dm[W.id])};\ng.H.Xi=function(){ZY(this);var W=this.api.getCurrentTime();(Wthis.clipEnd)&&this.Cf()};\ng.H.kZ=function(W){if(!W.defaultPrevented){var Y=!1;switch(W.keyCode){case 36:this.api.seekTo(0,void 0,void 0,void 0,79);Y=!0;break;case 35:this.api.seekTo(Infinity,void 0,void 0,void 0,80);Y=!0;break;case 34:this.api.seekBy(-60,void 0,void 0,76);Y=!0;break;case 33:this.api.seekBy(60,void 0,void 0,75);Y=!0;break;case 38:this.api.U(\"enable_key_press_seek_logging\")&&Wi(this,this.api.getCurrentTime(),this.api.getCurrentTime()+5,\"SEEK_SOURCE_SEEK_FORWARD_5S\",\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\");\nthis.api.seekBy(5,void 0,void 0,72);Y=!0;break;case 40:this.api.U(\"enable_key_press_seek_logging\")&&Wi(this,this.api.getCurrentTime(),this.api.getCurrentTime()-5,\"SEEK_SOURCE_SEEK_BACKWARD_5S\",\"INTERACTION_LOGGING_GESTURE_TYPE_KEY_PRESS\"),this.api.seekBy(-5,void 0,void 0,71),Y=!0}Y&&W.preventDefault()}};\ng.H.qB=function(W,Y){this.updateVideoData(Y,W===\"newdata\")};\ng.H.AF=function(){this.qB(\"newdata\",this.api.getVideoData())};\ng.H.updateVideoData=function(W,Y){Y=Y===void 0?!1:Y;var k=!!W&&W.Nt();k&&(BZ(W)||Owv(this)?this.vk=!1:this.vk=W.allowLiveDvr,g.ML(this.api.getRootNode(),\"ytp-enable-live-buffer\",!(W==null||!BZ(W))),cdF(this,W));L2(this,this.api.hD());if(Y){if(k){Y=W.clipEnd;this.clipStart=W.clipStart;this.clipEnd=Y;k1(this);for(u7(this,this.A5,this.A9);this.T.length>0;)this.T.pop().dispose();this.heatMarkersDecorations=[];this.J9={};var P;(P=this.K)==null||P.reset();xc(this);g.ML(this.api.getRootNode(),\"ytp-fine-scrubbing-exp\",\nVh(this))}else this.Cf();this.SS()}if(W){var T;P=((T=this.u8)==null?void 0:T.type)===\"clips\";if(T=!W.isLivePlayback){T=this.api.getVideoData();Y=g.mU(T);k=$qz(T);var I;T=Y!=null||k!=null&&k.length>0||((I=T.Hr)==null?void 0:I.length)>0}if(T&&!P){I=this.api.getVideoData();P=g.mU(I);T=!1;if(P==null?0:P.markersMap){T=this.api.getVideoData();var X;T.Jh=((X=P.visibleOnLoad)==null?void 0:X.key)||T.Jh;X=g.e(P.markersMap);for(P=X.next();!P.done;P=X.next())P=P.value,P.key&&P.value&&(this.J9[P.key]=P.value,\nP.value.onChapterRepeat&&(T.ZsD=P.value.onChapterRepeat));T.Jh!=null&&a_0(this,T.Jh);T=!0}var h;if(((h=I.Hr)==null?void 0:h.length)>0){h=g.B4.getState().entities;X=g.e(I.Hr);for(P=X.next();!P.done;P=X.next()){P=P.value;k=void 0;Y=(k=uk(h,\"macroMarkersListEntity\",P))==null?void 0:k.markersList;var B=k=void 0;if(((k=Y)==null?void 0:k.markerType)===\"MARKER_TYPE_TIMESTAMPS\"||((B=Y)==null?void 0:B.markerType)===\"MARKER_TYPE_HEATMAP\")this.V5[P]=Y}T=this.jt()||T}!T&&(h=$qz(I))&&(JBC(this,h),I.i_=this.W,\nx80(this));Dcc(this,null);W.Ve&&this.T.length===0&&(W=W.Ve,h=W.key,W.isVisible&&h&&a_0(this,h))}else uQ7(this),Aj(this)}ZY(this)};\ng.H.yk=function(W){this.G&&!g.p(W.state,32)&&this.api.getPresentingPlayerType()!==3&&this.G.cancel();var Y;((Y=this.K)==null?0:Y.isEnabled)&&g.p(W.state,8)&&this.api.pauseVideo();W=this.api.getPresentingPlayerType()===2||!this.api.hD()||this.api.getPlayerState()===-1&&this.api.getCurrentTime()===0;g.ML(this.fN,\"ytp-hide-scrubber-button\",W)};\ng.H.qr=function(W){var Y=!!this.u8!==!!W,k=this.u8;this.u8=W;Dcc(this,k);(W==null?void 0:W.type)!==\"clips\"&&W||(W?(this.updateValue(\"clipstarticon\",Zo7()),this.updateValue(\"clipendicon\",Zo7()),this.updateValue(\"clipstarttitle\",null),this.updateValue(\"clipendtitle\",null)):(this.updateValue(\"clipstarticon\",XcS()),this.updateValue(\"clipendicon\",sw6()),this.updateValue(\"clipstarttitle\",\"Watch full video\"),this.updateValue(\"clipendtitle\",\"Watch full video\")),Y&&(this.updateVideoData(this.api.getVideoData(),\n!0),g.cj(this)),k1(this));u7(this,this.A5,this.A9)};\ng.H.D6z=function(){this.api.publish(\"progressBarHoverStart\")};\ng.H.BZr=function(W,Y,k){var P=g.DY(this.element),T=fT(this).W,I=k?k.getAttribute(\"data-tooltip\"):void 0,X=k?k.getAttribute(\"data-position\"):void 0,h=k?k.getAttribute(\"data-offset-y\"):void 0;h=h?Number(h):0;X&&(W=VC(this.J,Number(k.getAttribute(\"data-position\")),0)*T+g.DY(this.progressBar).x);this.Lg.x=W-P.x;this.Lg.y=Y-P.y;W=fT(this);k=V2(this,W);Y=0;var B;if((B=this.api.getVideoData())==null?0:BZ(B))(B=this.api.getProgressState().seekableEnd)&&k>B&&(k=B,W.position=VC(this.J,B)*fT(this).W),Y=this.J.K;\nOwv(this)&&(Y=this.J.K);B=I||g.N8(this.vk?k-this.J.W:k-Y);Y=W.position+this.Cn;k-=this.api.m2();var O;if((O=this.K)==null||!O.isEnabled)if(this.api.T8()){if(this.W.length>1){O=fb(this,this.Lg.x,!0);if(!this.u8)for(P=0;P1)for(P=0;P0)for(O=this.Lg.x,P=g.e(this.X),T=P.next();!T.done;T=P.next())T=T.value,X=ak(this,T.timeRangeStartMillis/\n(this.J.W*1E3),fT(this)),g.ML(T.element,\"ytp-timed-marker-hover\",X<=O&&X+6>=O);P=this.tooltip.scale;O=this.api.U(\"delhi_modern_web_player\")?67:45;h=(isNaN(h)?0:h)-O*P;this.api.U(\"web_key_moments_markers\")?this.i_?(O=vWX(this.X,k*1E3),O=O!=null?this.X[O].title:\"\"):(O=OJ(this.W,k*1E3),O=this.W[O].title):(O=OJ(this.W,k*1E3),O=this.W[O].title);O||(h+=16*P);this.tooltip.scale===.6&&(g.ad(this.api.V())?(h=this.api.ai().getPlayerSize().height-225,P=this.api.U(\"delhi_modern_web_player\")?70:110,h=O?h+P:h+\nP+16):h=O?110:126);P=OJ(this.W,k*1E3);this.TJ=P2C(this,k,P)?P:P2C(this,k,P+1)?P+1:-1;g.ML(this.api.getRootNode(),\"ytp-progress-bar-snap\",this.TJ!==-1&&this.W.length>1);P=!1;T=g.e(this.heatMarkersDecorations);for(X=T.next();!X.done;X=T.next()){X=X.value;var u=k*1E3;u>=X.visibleTimeRangeStartMillis&&u<=X.visibleTimeRangeEndMillis&&(O=X.label,B=g.N8(X.decorationTimeMillis/1E3),this.api.U(\"web_heat_marker_use_current_time\")&&(B=g.N8(V2(this,W))),P=!0)}this.CN!==P&&(this.CN=P,this.api.logVisibility(this.AC,\nthis.CN));g.ML(this.api.getRootNode(),\"ytp-progress-bar-decoration\",P);P=160*this.tooltip.scale*2;T=O.length*(this.N?8.55:5.7);T=T<=P?T:P;X=T<160*this.tooltip.scale;P=3;!X&&T/2>W.position&&(P=1);!X&&T/2>this.C-W.position&&(P=2);this.api.V().G&&(h-=10);this.T.length&&this.T[0].Nt&&(h-=14*(this.N?2:1),this.Fr||(this.Fr=!0,this.api.logVisibility(this.Kg,this.Fr)));var Z;if(Vh(this)&&(((Z=this.K)==null?0:Z.isEnabled)||this.Q5>0)){var M;h-=((M=this.K)==null?0:M.isEnabled)?ET(this):this.Q5}Z=void 0;Vh(this)&&\n!this.api.U(\"web_player_hide_fine_scrubbing_edu\")&&(Z=\"Pull up for precise seeking\",this.UP||(this.UP=!0,this.api.logVisibility(this.Qa,this.UP)));this.tooltip.cJ(Y,k,B,!!I,h,O,P,Z)}else this.tooltip.cJ(Y,k,B,!!I,h);g.N6(this.api.getRootNode(),\"ytp-progress-bar-hover\");W1q(this)};\ng.H.QIh=function(){this.SS();g.Sr(this.api.getRootNode(),\"ytp-progress-bar-hover\");this.Fr&&(this.Fr=!1,this.api.logVisibility(this.Kg,this.Fr));this.UP&&(this.UP=!1,this.api.logVisibility(this.Qa,this.UP));this.api.U(\"enable_smart_skip_player_controls_shown_on_web_increased_triggering_sensitivity\")&&this.api.publish(\"progressBarHoverEnd\")};\ng.H.kW2=function(W,Y){var k=g.DY(this.element);this.xq=W-k.x;Vh(this)&&this.K&&(this.K.TJ?GI(this.K,this.api.getCurrentTime()):tAd(this.K),this.K.show(),g.ML(this.api.getRootNode(),\"ytp-fine-scrubbing-enable\",this.K.isEnabled));this.rV&&(this.rV.dispose(),this.rV=null);this.u5=Y;this.Zm=this.api.getCurrentTime();this.W.length>1&&this.TJ!==-1?this.api.seekTo(this.W[this.TJ].startTime/1E3,!1,void 0,void 0,7):this.api.seekTo(V2(this,fT(this)),!1,void 0,void 0,7);g.N6(this.element,\"ytp-drag\");(this.nu=\nthis.api.getPlayerStateObject().isOrWillBePlaying())&&this.api.pauseVideo()};\ng.H.d6D=function(){if(Vh(this)&&this.K){var W=ET(this);this.Q5>=W*.5?(this.K.enable(),GI(this.K,this.api.getCurrentTime()),PGF(this,W)):xc(this)}if(g.p(this.api.getPlayerStateObject(),32)||this.api.getPresentingPlayerType()===3){var Y;if((Y=this.K)==null?0:Y.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(this.W.length>1&&this.TJ!==-1)this.api.U(\"html5_enable_progress_bar_slide_seek_logging\")&&Wi(this,this.Zm,this.W[this.TJ].startTime/1E3,\"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR_CHAPTER\",\n\"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK\"),this.api.seekTo(this.W[this.TJ].startTime/1E3,void 0,void 0,void 0,7);else{W=V2(this,fT(this));this.api.U(\"html5_enable_progress_bar_slide_seek_logging\")&&Wi(this,this.Zm,W,\"SEEK_SOURCE_SLIDE_ON_SCRUBBER_BAR\",\"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK\");this.api.seekTo(W,void 0,void 0,void 0,7);Y=g.e(this.heatMarkersDecorations);for(var k=Y.next();!k.done;k=Y.next())k=k.value,W*1E3>=k.visibleTimeRangeStartMillis&&W*1E3<=k.visibleTimeRangeEndMillis&&\nthis.api.logClick(this.AC)}g.Sr(this.element,\"ytp-drag\");this.gD&&(this.wD.src=this.gD);this.nu&&!g.p(this.api.getPlayerStateObject(),2)&&this.api.playVideo()}}};\ng.H.Vjg=function(W,Y){var k=this,P=fT(this),T=V2(this,P);this.api.ai().K8||(P.position>this.xq+2?this.KH&&(this.wD.src=this.KH):P.position1);this.b8(W&&this.Y.ai().getPlayerSize().width>=400);this.Y.logVisibility(this.element,this.v7);var Y=1;W&&this.isActive()&&(Y=2);if(this.W!==Y){this.W=Y;W=this.Y.U(\"delhi_modern_web_player_icons\");switch(Y){case 1:this.updateValue(\"icon\",W?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21 3H3C2.46 3 1.96 3.21 1.58 3.58C1.21 3.96 1 4.46 1 5V8C1.68 8.00 2.34 8.05 3 8.15V5H21V19H13.84C13.94 19.65 13.99 20.31 14 21H21C21.53 21 22.03 20.78 22.41 20.41C22.78 20.03 23 19.53 23 19V5C23 4.46 22.78 3.96 22.41 3.58C22.03 3.21 21.53 3 21 3ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z\",\nfill:\"white\"}}]}:{S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 36 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,D:{d:\"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z\",fill:\"#fff\"}}]});break;case 2:this.updateValue(\"icon\",\nW?{S:\"svg\",D:{fill:\"none\",height:\"24\",viewBox:\"0 0 24 24\",width:\"24\"},B:[{S:\"path\",D:{d:\"M21.20 3.01C21.69 3.06 22.15 3.29 22.48 3.65C22.81 4.02 23.00 4.50 23 5V19L22.99 19.20C22.94 19.66 22.73 20.08 22.41 20.41C22.08 20.73 21.66 20.94 21.20 20.98L21 21H14C13.99 20.31 13.94 19.65 13.84 19H21V5H3V8.15C2.34 8.05 1.68 8.00 1 8V5C0.99 4.50 1.18 4.02 1.51 3.65C1.84 3.29 2.30 3.06 2.79 3.01L3 3H21L21.20 3.01ZM19 17V7H5V8.62C6.95 9.26 8.73 10.35 10.19 11.80C11.64 13.26 12.73 15.04 13.37 17H19ZM1 10V12C2.18 12 3.35 12.23 4.44 12.68C5.53 13.13 6.52 13.80 7.36 14.63C8.19 15.47 8.86 16.46 9.31 17.55C9.76 18.64 10 19.81 10 21H12C12 18.08 10.84 15.28 8.77 13.22C6.71 11.15 3.91 10 1 10ZM1 14V16C1.65 16 2.30 16.12 2.91 16.38C3.52 16.63 4.07 17.00 4.53 17.46C4.99 17.92 5.36 18.48 5.61 19.08C5.87 19.69 6 20.34 6 21H8C8 19.14 7.26 17.36 5.94 16.05C4.63 14.73 2.85 14 1 14ZM1 18V21H4C3.99 20.20 3.68 19.44 3.12 18.87C2.55 18.31 1.79 18.00 1 18Z\",\nfill:\"white\"}}]}:g.n5i())}g.ML(this.element,\"ytp-remote-button-active\",this.isActive())}};\nq0.prototype.K=function(){if(this.Y.getOption(\"remote\",\"quickCast\"))this.Y.setOption(\"remote\",\"quickCast\",!0);else{var W=this.Mq,Y=this.element;if(W.IZ())W.n1();else{W.initialize();a:{var k=g.e(W.iD.items);for(var P=k.next();!P.done;P=k.next())if(P=P.value,P.priority===1){k=P;break a}k=null}k&&(k.open(),W.fH(Y));W.fH(Y)}}this.Y.logClick(this.element)};g.f(ES,g.c);ES.prototype.W=function(W){var Y=this.Y.V(),k=400;this.Y.U(\"web_player_small_hbp_settings_menu\")&&Y.X?k=300:Y.G&&(k=200);W=this.K&&W.width>=k;this.b8(W);this.Y.logVisibility(this.element,W)};\nES.prototype.J=function(){if(this.Mq.v7)this.Mq.n1();else{var W=g.Lt(this.Y.gx());W&&!W.loaded&&(W.Kn(\"tracklist\",{includeAsr:!0}).length||W.load());this.Y.logClick(this.element);this.Mq.fH(this.element)}};\nES.prototype.updateBadge=function(){var W=this.Y.isHdr(),Y=this.Y.getPresentingPlayerType(),k=Y!==2&&Y!==3,P=g.m7(this.Y),T=k&&!!g.dJ(this.Y.gx());Y=T&&P.displayMode===1;P=T&&P.displayMode===2;k=(T=Y||P)||!k?null:this.Y.getPlaybackQuality();g.ML(this.element,\"ytp-hdr-quality-badge\",W);g.ML(this.element,\"ytp-hd-quality-badge\",!W&&(k===\"hd1080\"||k===\"hd1440\"));g.ML(this.element,\"ytp-4k-quality-badge\",!W&&k===\"hd2160\");g.ML(this.element,\"ytp-5k-quality-badge\",!W&&k===\"hd2880\");g.ML(this.element,\"ytp-8k-quality-badge\",\n!W&&k===\"highres\");g.ML(this.element,\"ytp-3d-badge-grey\",!W&&T&&Y);g.ML(this.element,\"ytp-3d-badge\",!W&&T&&P)};g.f(Fo,gm);Fo.prototype.isLoaded=function(){var W=g.v2(this.Y.gx());return W!==void 0&&W.loaded};\nFo.prototype.xa=function(){g.v2(this.Y.gx())!==void 0&&this.Y.getPresentingPlayerType()!==3?this.W||(this.Mq.c7(this),this.W=!0):this.W&&(this.Mq.tC(this),this.W=!1);B5(this,this.isLoaded())};\nFo.prototype.onSelect=function(W){this.isLoaded();W?this.Y.loadModule(\"annotations_module\"):this.Y.unloadModule(\"annotations_module\");this.Y.publish(\"annotationvisibility\",W)};\nFo.prototype.iz=function(){this.W&&this.Mq.tC(this);gm.prototype.iz.call(this)};g.f(Ko,g.d2);Ko.prototype.xa=function(){var W=this.Y.getAvailableAudioTracks();W.length>1?(this.oS(g.Ab(W,this.W)),this.tracks=g.qk(W,this.W,this),this.countLabel.N6(W.length?\" (\"+W.length+\")\":\"\"),this.publish(\"size-change\"),this.yH(this.W(this.Y.getAudioTrack())),this.enable(!0)):this.enable(!1)};\nKo.prototype.vK=function(W){g.d2.prototype.vK.call(this,W);this.Y.setAudioTrack(this.tracks[W]);this.Y.publish(\"audiopreferencechange\");this.Mq.iY()};\nKo.prototype.W=function(W){return W.toString()};\nKo.prototype.Dz=function(W){this.Y.U(\"html5_enable_new_audio_settings_menu\")?this.K&&(W?this.K.c7(this):this.K.tC(this)):g.d2.prototype.Dz.call(this,W)};g.f(U7,g.Ia);g.H=U7.prototype;g.H.tL=function(){this.Y.tL()};\ng.H.open=function(){g.bj(this.Mq,this.Ba)};\ng.H.X5=function(){this.Ba.jN()>0&&this.Y.getPresentingPlayerType()!==2&&this.Y.getPresentingPlayerType()!==3?this.element.removeAttribute(\"aria-disabled\"):this.element.setAttribute(\"aria-disabled\",\"true\")};\ng.H.kZ=function(W){W.defaultPrevented||(this.open(),W.preventDefault())};\ng.H.c7=function(W){this.Ba.c7(W)};\ng.H.tC=function(W){this.Ba.tC(W)};g.f(Xq,gm);\nXq.prototype.X5=function(){var W=this.Y.getPresentingPlayerType();if(W!==2&&W!==3&&g.Pw(this.Y))this.W||(this.Mq.c7(this),this.W=!0,this.K.push(this.Z(this.Y,\"videodatachange\",this.X5)),this.K.push(this.Z(this.Y,\"videoplayerreset\",this.X5)),this.K.push(this.Z(this.Y,\"onPlaylistUpdate\",this.X5)),this.K.push(this.Z(this.Y,\"autonavchange\",this.J)),W=this.Y.getVideoData(),this.J(W.autonavState),this.Y.logVisibility(this.element,this.W));else if(this.W){this.Mq.tC(this);this.W=!1;W=g.e(this.K);for(var Y=\nW.next();!Y.done;Y=W.next())this.nH(Y.value)}};\nXq.prototype.J=function(W){B5(this,W!==1)};\nXq.prototype.onSelect=function(W){this.Y.Um(W?2:1);this.W&&(this.Y.logVisibility(this.element,this.W),this.Y.logClick(this.element))};\nXq.prototype.iz=function(){this.W&&this.Mq.tC(this);gm.prototype.iz.call(this)};g.f(PiX,g.Ia);PiX.prototype.onClick=function(W){W.preventDefault();var Y,k;(Y=g.lA(this.Y))==null||(k=Y.ML())==null||k.n1();var P,T;(P=g.lA(this.Y))==null||(T=P.lF())==null||T.fH(W.target)};g.f($t,g.d2);g.H=$t.prototype;\ng.H.X5=function(){var W=this.Y.getPresentingPlayerType();if(W!==2&&W!==3){this.Kg=this.Y.HV();var Y=this.Y.getAvailableQualityLevels();if(this.W){this.K={};W=g.Ar(this.Y,\"getAvailableQualityData\",[]);W=g.e(W);for(var k=W.next();!k.done;k=W.next())k=k.value,this.K[k.qualityLabel]=k;W=Object.keys(this.K);Y[Y.length-1]===\"auto\"&&W.push(\"auto\");this.wD=new Set(Y)}else if(this.T){k=g.Ar(this.Y,\"getAvailableQualityData\",[]);W=[];k=g.e(k);for(var P=k.next();!P.done;P=k.next())P=P.value,this.X[P.quality]=\nP,P.quality&&W.push(P.quality);Y[Y.length-1]===\"auto\"&&W.push(\"auto\")}else W=Y;g.Fdd(this.Y)&&this.Y.HA()&&W.unshift(\"missing-qualities\");Y=this.Y.app.D2();k=Y.getVideoData();if(!k.K||!k.K.video||k.K.video.qualityOrdinal<1080||k.N2)Y=!1;else{P=/^qsa/.test(k.clientPlaybackNonce);var T=\"r\";k.K.id.indexOf(\";\")>=0&&(P=/^[a-p]/.test(k.clientPlaybackNonce),T=\"x\");P?(Y.y5(\"iqss\",{trigger:T},!0),Y=!0):Y=!1}Y&&W.unshift(\"inline-survey\");this.oS(W);Y=this.Y.getVideoData().cotn?!0:!1;k=this.A5.s6();k=!g.ad(this.Y.V())||\n!(Y===void 0?0:Y)||!(k===void 0||k);Y=this.Ba;k=k===void 0?!1:k;Y.VB&&g.ML(Y.J5(\"ytp-panel-footer\"),\"ytp-panel-hide-footer\",k===void 0?!1:k);if(W.length){this.A8();this.enable(!0);return}}this.enable(!1)};\ng.H.A8=function(){if(this.W){var W=this.Y.getPreferredQuality();this.wD.has(W)&&(this.C=this.Y.getPlaybackQuality(),this.G=this.Y.getPlaybackQualityLabel(),W===\"auto\"?(this.yH(W),this.N6(this.wM(W))):this.yH(this.G))}else W=this.Y.getPreferredQuality(),this.options[W]&&(this.C=this.Y.getPlaybackQuality(),this.yH(W),W===\"auto\"&&this.N6(this.wM(W)))};\ng.H.vK=function(W){if(W!==\"missing-qualities\"){g.d2.prototype.vK.call(this,W);var Y=this.W?this.K[W]:this.X[W];var k=Y==null?void 0:Y.quality,P=Y==null?void 0:Y.formatId,T=Y==null?void 0:Y.paygatedQualityDetails;Y=T==null?void 0:T.endpoint;if(T){var I;T=(I=this.options[W])==null?void 0:I.element;this.Y.logClick(T)}if(this.W){var X,h;if((X=g.R(Y,g.osN))==null?0:(h=X.popup)==null?0:h.notificationActionRenderer)this.Y.Ri(\"innertubeCommand\",Y);else if(Y){this.Y.Ri(\"innertubeCommand\",Y);return}P?this.Y.setPlaybackQuality(k,\nP):this.Y.setPlaybackQuality(k)}else{if(this.T){var B,O;if((B=g.R(Y,g.osN))==null?0:(O=B.popup)==null?0:O.notificationActionRenderer)this.Y.Ri(\"innertubeCommand\",Y);else if(Y){this.Y.Ri(\"innertubeCommand\",Y);return}}this.Y.setPlaybackQuality(W)}this.Mq.n1();this.X5()}};\ng.H.open=function(){for(var W=g.e(Object.values(this.options)),Y=W.next();!Y.done;Y=W.next()){Y=Y.value;var k=void 0;this.Y.hasVe((k=Y)==null?void 0:k.element)&&(k=void 0,this.Y.logVisibility((k=Y)==null?void 0:k.element,!0))}g.d2.prototype.open.call(this);this.Y.logClick(this.element)};\ng.H.iC=function(W,Y,k){var P=this;if(W===\"missing-qualities\")return new g.Ia({S:\"a\",Ya:[\"ytp-menuitem\"],D:{href:\"https://support.google.com/youtube/?p=missing_quality\",target:this.Y.V().N,tabindex:\"0\",role:\"menuitemradio\"},B:[{S:\"div\",Ya:[\"ytp-menuitem-label\"],v6:\"{{label}}\"}]},Y,this.wM(W));if(W!==\"inline-survey\"){var T,I=(T=this.W?this.K[W]:this.X[W])==null?void 0:T.paygatedQualityDetails;T=I==null?void 0:I.veType;I=I==null?void 0:I.trackingParams;Y=g.d2.prototype.iC.call(this,W,Y,k);I?(this.Y.createServerVe(Y.element,\nthis,!0),this.Y.setTrackingParams(Y.element,I)):T&&this.Y.createClientVe(Y.element,this,T,!0);return Y}W=[{S:\"span\",v6:\"Looks good?\"}];k=g.e([!0,!1]);I=k.next();for(T={};!I.done;T={So:void 0},I=k.next())T.So=I.value,I=new g.c({S:\"span\",j:\"ytp-menuitem-inline-survey-response\",B:[T.So?zZ0():d9C()],D:{tabindex:\"0\",role:\"button\"}}),I.listen(\"click\",function(X){return function(){var h=P.Y.app.D2();h.y5(\"iqsr\",{tu:X.So});h.getVideoData().N2=!0;P.Mq.n1();P.X5()}}(T)),W.push(I);\nreturn new g.Ia({S:\"div\",j:\"ytp-menuitem\",D:{\"aria-disabled\":\"true\"},B:[{S:\"div\",Ya:[\"ytp-menuitem-label\"],B:W}]},Y)};\ng.H.wM=function(W,Y){Y=Y===void 0?!1:Y;if(W===\"missing-qualities\")return{S:\"div\",v6:\"Missing options?\"};if(W===\"inline-survey\")return\"\";var k=this.T||this.W?[fD2(this,W,Y,!1)]:[Vg6(this,W)];var P=this.Y.getPreferredQuality();Y||P!==\"auto\"||W!==\"auto\"||(k.push(\" \"),this.W?k.push(fD2(this,this.G,Y,!0,[\"ytp-menu-label-secondary\"])):this.T?k.push(fD2(this,this.C,Y,!0,[\"ytp-menu-label-secondary\"])):k.push(Vg6(this,this.C,[\"ytp-menu-label-secondary\"])));return{S:\"div\",B:k}};g.f(O4,ED);O4.prototype.J=function(){ED.prototype.J.call(this);this.N&&dGC(this)};\nO4.prototype.gD=function(){this.A5()};\nO4.prototype.wD=function(){this.Y.setPlaybackRate(this.W,!0)};\nO4.prototype.X=function(W){ED.prototype.X.call(this,W);this.A5();dGC(this);W.preventDefault()};g.f(pq,g.c);g.H=pq.prototype;g.H.init=function(){this.PP(this.W);this.updateValue(\"minvalue\",this.K);this.updateValue(\"maxvalue\",this.J)};\ng.H.jk=function(W){if(!W.defaultPrevented){switch(W.keyCode){case 37:case 40:var Y=-this.G;break;case 39:case 38:Y=this.G;break;default:return}this.PP(this.W+Y);W.preventDefault()}};\ng.H.IU=function(W){var Y=this.W;Y+=(W.deltaX||-W.deltaY)<0?-this.N:this.N;this.PP(Y);W.preventDefault()};\ng.H.xR=function(W){W=(W-g.DY(this.T).x)/this.A5*this.range+this.K;this.PP(W)};\ng.H.PP=function(W,Y){Y=Y===void 0?\"\":Y;W=g.DR(W,this.K,this.J);Y===\"\"&&(Y=W.toString());this.updateValue(\"valuenow\",W);this.updateValue(\"valuetext\",Y);this.Kg.style.left=(W-this.K)/this.range*(this.A5-this.TJ)+\"px\";this.W=W};\ng.H.focus=function(){this.OP.focus()};g.f(u0,pq);u0.prototype.wD=function(){this.Y.setPlaybackRate(this.W,!0)};\nu0.prototype.PP=function(W){pq.prototype.PP.call(this,W,LOz(this,W).toString());this.C&&(Uqq(this),this.gD())};\nu0.prototype.updateValues=function(){var W=this.Y.getPlaybackRate();LOz(this,this.W)!==W&&(this.PP(W),Uqq(this))};g.f(ph,g.pk);ph.prototype.focus=function(){this.W.focus()};g.f(GB,Cj);g.f(s4,g.d2);g.H=s4.prototype;g.H.wM=function(W){return W===\"1\"?\"Normal\":W.toLocaleString()};\ng.H.xa=function(){var W,Y=(W=this.Y.getVideoData())==null?void 0:W.Xj();W=this.Y.getPresentingPlayerType(Y);this.enable(W!==2&&W!==3);mk7(this)};\ng.H.oS=function(W){g.d2.prototype.oS.call(this,W);this.G&&this.G.K.focus()};\ng.H.Dz=function(W){g.d2.prototype.Dz.call(this,W);W?(this.Kg=this.Z(this.Y,\"onPlaybackRateChange\",this.onPlaybackRateChange),mk7(this),x6K(this,this.Y.getPlaybackRate())):(this.nH(this.Kg),this.Kg=null)};\ng.H.onPlaybackRateChange=function(W){var Y=this.Y.getPlaybackRate();!this.T&&this.A5.includes(Y)||s0v(this,Y);x6K(this,W)};\ng.H.iC=function(W,Y,k){return W===this.W&&pcv(this.Y)?g.d2.prototype.iC.call(this,W,Y,k,{S:\"div\",j:\"ytp-speed-slider-menu-footer\",B:[this.G]}):W===this.K&&h2V(this.Y,this.wD)?SUd(this,W,Y,k):g.d2.prototype.iC.call(this,W,Y,k)};\ng.H.vK=function(W){g.d2.prototype.vK.call(this,W);W===this.K?(this.Y.logClick(this.X.element),this.Y.Ri(\"innertubeCommand\",this.wD)):W===this.W?this.Y.setPlaybackRate(this.C,!0):this.Y.setPlaybackRate(Number(W),!0);pcv(this.Y)&&W===this.W||this.Mq.iY()};\ng.H.Gx=function(W){var Y=W===this.W;this.T=!1;Y&&L1(this.Y)&&!pcv(this.Y)?(W=new GB(this.Y),g.bj(this.Mq,W)):g.d2.prototype.Gx.call(this,W)};g.f(QUd,g.d2);g.H=QUd.prototype;g.H.yH=function(W){g.d2.prototype.yH.call(this,W)};\ng.H.KD=function(W){return W.option.toString()};\ng.H.getOption=function(W){return this.settings[W]};\ng.H.wM=function(W){return this.getOption(W).text||\"\"};\ng.H.vK=function(W){g.d2.prototype.vK.call(this,W);this.publish(\"settingChange\",this.setting,this.settings[W].option)};g.f(f1,g.Lj);f1.prototype.qL=function(W){for(var Y=g.e(Object.keys(W)),k=Y.next();!k.done;k=Y.next()){var P=k.value;if(k=this.cw[P]){var T=W[P].toString();P=!!W[P+\"Override\"];k.options[T]&&(k.yH(T),k.K.element.setAttribute(\"aria-checked\",String(!P)),k.W.element.setAttribute(\"aria-checked\",String(P)))}}};\nf1.prototype.dM=function(W,Y){this.publish(\"settingChange\",W,Y)};g.f(VQ,g.d2);VQ.prototype.W=function(W){return W.languageCode};\nVQ.prototype.wM=function(W){return this.languages[W].languageName||\"\"};\nVQ.prototype.vK=function(W){this.publish(\"select\",W);this.Y.logClick(this.element);g.vG(this.Mq)};g.f(Ng,g.d2);g.H=Ng.prototype;g.H.s8=function(W){return g.x3(W)?\"__off__\":W.displayName};\ng.H.wM=function(W){return W===\"__off__\"?\"Off\":W===\"__translate__\"?\"Auto-translate\":W===\"__contribute__\"?\"Add subtitles/CC\":W===\"__correction__\"?\"Suggest caption corrections\":(W===\"__off__\"?{}:this.tracks[W]).displayName};\ng.H.vK=function(W){if(W===\"__translate__\")this.W.open();else if(W===\"__contribute__\"){this.Y.pauseVideo();this.Y.isFullscreen()&&this.Y.toggleFullscreen();var Y=g.mcB(this.Y.V(),this.Y.getVideoData());g.uJ(Y)}else if(W===\"__correction__\"){this.Y.pauseVideo();this.Y.isFullscreen()&&this.Y.toggleFullscreen();var k=Oz(this);qE(this,k);g.d2.prototype.vK.call(this,this.s8(k));var P,T;k=(Y=this.Y.getVideoData().getPlayerResponse())==null?void 0:(P=Y.captions)==null?void 0:(T=P.playerCaptionsTracklistRenderer)==\nnull?void 0:T.openTranscriptCommand;this.Y.Ri(\"innertubeCommand\",k);this.Mq.iY();this.K&&this.Y.logClick(this.K)}else{if(W===\"__correction__\"){this.Y.pauseVideo();this.Y.isFullscreen()&&this.Y.toggleFullscreen();Y=Oz(this);qE(this,Y);g.d2.prototype.vK.call(this,this.s8(Y));var I,X;Y=(k=this.Y.getVideoData().getPlayerResponse())==null?void 0:(I=k.captions)==null?void 0:(X=I.playerCaptionsTracklistRenderer)==null?void 0:X.openTranscriptCommand;this.Y.Ri(\"innertubeCommand\",Y)}else this.Y.logClick(this.element),\nqE(this,W===\"__off__\"?{}:this.tracks[W]),g.d2.prototype.vK.call(this,W);this.Mq.iY()}};\ng.H.xa=function(){var W=this.Y.getOptions();W=W&&W.indexOf(\"captions\")!==-1;var Y=this.Y.getVideoData(),k=Y&&Y.c9,P,T=!((P=this.Y.getVideoData())==null||!g.Lo(P));P={};if(W||k){var I;if(W){var X=this.Y.getOption(\"captions\",\"track\");P=this.Y.getOption(\"captions\",\"tracklist\",{includeAsr:!0});var h=T?[]:this.Y.getOption(\"captions\",\"translationLanguages\");this.tracks=g.qk(P,this.s8,this);T=g.Ab(P,this.s8);var B,O;Oz(this)&&((I=Y.getPlayerResponse())==null?0:(B=I.captions)==null?0:(O=B.playerCaptionsTracklistRenderer)==\nnull?0:O.openTranscriptCommand)&&T.push(\"__correction__\");if(h.length&&!g.x3(X)){if((I=X.translationLanguage)&&I.languageName){var u=I.languageName;I=h.findIndex(function(Z){return Z.languageName===u});\nLUv(h,I)}K4q(this.W,h);T.push(\"__translate__\")}I=this.s8(X)}else this.tracks={},T=[],I=\"__off__\";T.unshift(\"__off__\");this.tracks.__off__={};k&&T.unshift(\"__contribute__\");this.tracks[I]||(this.tracks[I]=X,T.push(I));this.oS(T);this.yH(I);X&&X.translationLanguage?this.W.yH(this.W.W(X.translationLanguage)):$F5(this.W);W&&this.T.qL(this.Y.getSubtitlesUserSettings());this.countLabel.N6(P&&P.length?\" (\"+P.length+\")\":\"\");this.publish(\"size-change\");this.Y.logVisibility(this.element,!0);this.enable(!0)}else this.enable(!1)};\ng.H.ZM=function(W){var Y=this.Y.getOption(\"captions\",\"track\");Y=g.jl(Y);Y.translationLanguage=this.W.languages[W];qE(this,Y)};\ng.H.dM=function(W,Y){if(W===\"reset\")this.Y.resetSubtitlesUserSettings();else{var k={};k[W]=Y;this.Y.updateSubtitlesUserSettings(k)}ywV(this,!0);this.C.start();this.T.qL(this.Y.getSubtitlesUserSettings())};\ng.H.nh1=function(W){W||g.i7(this.C)};\ng.H.iz=function(){g.i7(this.C);g.d2.prototype.iz.call(this)};\ng.H.open=function(){g.d2.prototype.open.call(this);this.options.__correction__&&!this.K&&(this.K=this.options.__correction__.element,this.Y.createClientVe(this.K,this,167341),this.Y.logVisibility(this.K,!0))};g.f(MW2,g.bF);g.H=MW2.prototype;\ng.H.initialize=function(){if(!this.isInitialized){var W=this.Y.V();this.isInitialized=!0;try{this.NO=new $t(this.Y,this)}catch(k){g.Jx(Error(\"QualityMenuItem creation failed\"))}g.m(this,this.NO);var Y=new Ng(this.Y,this);g.m(this,Y);W.J||(Y=new Fo(this.Y,this),g.m(this,Y));W.enableSpeedOptions&&(Y=new s4(this.Y,this),g.m(this,Y));(g.hN(W)||W.X)&&(W.K||W.GJ)&&(Y=new PiX(this.Y,this),g.m(this,Y));W.UV&&!W.U(\"web_player_move_autonav_toggle\")&&(Y=new Xq(this.Y,this),g.m(this,Y));W.U(\"html5_enable_new_audio_settings_menu\")?\n(this.Pm=new U7(this.Y,this),g.m(this,this.Pm)):(W=new Ko(this.Y,this),g.m(this,W));this.Y.publish(\"settingsMenuInitialized\");qg2(this.settingsButton,this.iD.jN())}};\ng.H.c7=function(W){this.initialize();this.iD.c7(W);qg2(this.settingsButton,this.iD.jN())};\ng.H.tC=function(W){this.v7&&this.iD.jN()<=1&&this.hide();this.iD.tC(W);qg2(this.settingsButton,this.iD.jN())};\ng.H.fH=function(W){this.initialize();this.iD.jN()>0&&g.bF.prototype.fH.call(this,W)};\ng.H.n1=function(){this.By?this.By=!1:g.bF.prototype.n1.call(this)};\ng.H.show=function(){g.bF.prototype.show.call(this);g.N6(this.Y.getRootNode(),\"ytp-settings-shown\")};\ng.H.hide=function(){g.bF.prototype.hide.call(this);g.Sr(this.Y.getRootNode(),\"ytp-settings-shown\")};\ng.H.R6=function(W){this.Y.logVisibility(this.element,W);this.Y.publish(\"settingsMenuVisibilityChanged\",W)};g.f(Sq,g.c);g.H=Sq.prototype;g.H.onClick=function(){if(WG(this)&&(this.Y.toggleSubtitles(),this.Y.logClick(this.element),!this.isEnabled())){var W=!1,Y=g.eb().Ik(65);g.ad(this.Y.V())&&Y!=null&&(W=!Y);W&&this.Y.V().U(\"web_player_nitrate_promo_tooltip\")&&this.Y.publish(\"showpromotooltip\",this.element)}};\ng.H.fS2=function(W){var Y,k;(Y=g.lA(this.Y))==null||(k=Y.ML())==null||k.fH(W)};\ng.H.isEnabled=function(){var W=this.Y.getOption(\"captions\",\"track\");return!(!W||!W.displayName)};\ng.H.xa=function(){var W=WG(this),Y=300;this.Y.V().G&&(Y=480);this.Y.U(\"delhi_modern_web_player_icons\")&&this.updateValue(\"icon\",J1d(this));if(this.Y.V().X){this.updateValue(\"title\",g.T_(this.Y,\"Subtitles/closed captions\",\"c\"));this.update({\"tooltip-title\":g.T_(this.Y,\"Subtitles/closed captions\",\"c\")});this.update({\"data-title-no-tooltip\":\"Subtitles/closed captions\"});var k=W}else{if(W)(k=this.J5(\"ytp-subtitles-button-icon\"))==null||k.setAttribute(\"fill-opacity\",\"1\"),this.Y.V().U(\"player_tooltip_data_title_killswitch\")?\nthis.updateValue(\"title\",g.T_(this.Y,\"Subtitles/closed captions\",\"c\")):this.update({\"tooltip-title\":g.T_(this.Y,\"Subtitles/closed captions\",\"c\")}),this.update({\"data-title-no-tooltip\":\"Subtitles/closed captions\"});else{if(this.Y.U(\"delhi_modern_web_player_icons\")){var P;(P=this.J5(\"ytp-subtitles-button-icon\"))==null||P.getElementsByTagName(\"svg\")[0].setAttribute(\"fill-opacity\",\"0.3\")}else{var T;(T=this.J5(\"ytp-subtitles-button-icon\"))==null||T.setAttribute(\"fill-opacity\",\"0.3\")}this.updateValue(\"title\",\n\"Subtitles/closed captions unavailable\");this.update({\"tooltip-title\":\"Subtitles/closed captions unavailable\"});this.update({\"data-title-no-tooltip\":\"Subtitles/closed captions unavailable\"})}k=!0}this.tooltip.wc();k=k&&this.Y.ai().getPlayerSize().width>=Y;this.b8(k);this.Y.logVisibility(this.element,k);W?this.updateValue(\"pressed\",this.isEnabled()):this.updateValue(\"pressed\",!1)};\ng.H.h9=function(W){g.c.prototype.h9.call(this,W)};g.f(g.HF,g.c);g.H=g.HF.prototype;g.H.canShowCountdown=function(){return!zM(this)&&!xK(this)};\ng.H.Xi=function(){var W=this.api.ai().getPlayerSize().width,Y=this.N;this.api.V().G&&(Y=400);Y=W>=Y&&(!xK(this)||!g.p(this.api.getPlayerStateObject(),64));this.b8(Y);g.ML(this.element,\"ytp-time-display-allow-autohide\",Y&&W<400);W=this.api.getProgressState();if(Y){var k=this.api.getPresentingPlayerType();Y=this.api.getCurrentTime(k,!1);this.K&&(Y-=W.airingStart);zM(this)&&(Y-=this.u8.startTimeMs/1E3);this.canShowCountdown()&&this.J&&(Y-=this.api.getDuration(k,!1));var P=g.N8(Y);this.T!==P&&(this.updateValue(\"currenttime\",\nP),this.T=P);k=zM(this)?(this.u8.endTimeMs-this.u8.startTimeMs)/1E3:this.api.getDuration(k,!1);P=g.N8(k);this.C!==P&&(this.updateValue(\"duration\",P),this.C=P,Y&&(Y=g.Vq(\"$PLAY_PROGRESS of $DURATION\",{PLAY_PROGRESS:g.N8(Y,!0),DURATION:g.N8(k,!0)}),this.updateValue(\"timeDisplayAriaLabel\",Y)))}wuF(this,W.isAtLiveHead);Yw6(this,this.api.getLoopRange())};\ng.H.onLoopRangeChange=function(W){var Y=this.u8!==W;this.u8=W;Y&&(this.Xi(),dW(this))};\ng.H.rYD=function(){this.api.setLoopRange(null)};\ng.H.C8J=function(){this.J=!this.J;this.Xi()};\ng.H.onVideoDataChange=function(W,Y,k){this.updateVideoData((this.api.V().U(\"enable_topsoil_wta_for_halftime\")||this.api.V().U(\"enable_topsoil_wta_for_halftime_live_infra\"))&&k===2?this.api.getVideoData(1):Y);this.Xi();dW(this)};\ng.H.updateVideoData=function(W){this.wm=W.isLivePlayback&&!W.e1;this.K=BZ(W);this.isPremiere=W.isPremiere;g.ML(this.element,\"ytp-live\",xK(this));this.api.U(\"delhi_modern_web_player\")&&this.J5(\"ytp-time-wrapper\").classList.toggle(\"ytp-time-wrapper-delhi\",this.canShowCountdown())};\ng.H.onClick=function(W){W.target===this.liveBadge.element&&(this.api.seekTo(Infinity,void 0,void 0,void 0,33),this.api.playVideo())};\ng.H.iz=function(){this.W&&this.W();g.c.prototype.iz.call(this)};g.f(DG,g.c);g.H=DG.prototype;g.H.I0=function(){var W=this.api.U6();this.J!==W&&(this.J=W,mX(this,this.api.getVolume(),this.api.isMuted()))};\ng.H.vg=function(W){this.b8(W.width>=350)};\ng.H.DM=function(W){if(!W.defaultPrevented){var Y=W.keyCode,k=null;Y===37?k=this.volume-5:Y===39?k=this.volume+5:Y===36?k=0:Y===35&&(k=100);k!==null&&(k=g.DR(k,0,100),k===0?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(k)),W.preventDefault())}};\ng.H.fW=function(W){var Y=W.deltaX||-W.deltaY;W.deltaMode?this.api.setVolume(this.volume+(Y<0?-10:10)):this.api.setVolume(this.volume+g.DR(Y/10,-10,10));W.preventDefault()};\ng.H.Xzr=function(){e0(this,this.W,!0,this.K,this.api.jA());this.N=this.volume;this.api.isMuted()&&this.api.unMute()};\ng.H.kR=function(W){var Y=this.J?78:52,k=this.J?18:12;W-=g.DY(this.G).x;this.api.setVolume(g.DR((W-k/2)/(Y-k),0,1)*100)};\ng.H.Oqz=function(){e0(this,this.W,!1,this.K,this.api.jA());this.volume===0&&(this.api.mute(),this.api.setVolume(this.N))};\ng.H.onVolumeChange=function(W){mX(this,W.volume,W.muted)};\ng.H.rQ=function(){e0(this,this.W,this.isDragging,this.K,this.api.jA())};\ng.H.iz=function(){g.c.prototype.iz.call(this);g.Sr(this.X,\"ytp-volume-slider-active\")};g.f(J3,g.c);\nJ3.prototype.onVideoDataChange=function(){var W=this.api.V();this.Rb();this.visible=!!this.api.getVideoData().videoId&&!this.api.getVideoData(1).zr;this.b8(this.visible);this.api.logVisibility(this.element,this.visible&&this.L);if(this.visible){var Y=this.api.getVideoUrl(!0,!1,!1,!0);this.updateValue(\"url\",Y)}W.J&&(this.W&&(this.nH(this.W),this.W=null),this.element.removeAttribute(\"href\"),this.element.removeAttribute(\"title\"),this.element.removeAttribute(\"aria-label\"),g.N6(this.element,\"no-link\"));\nY=this.api.V();W=this.api.getVideoData();var k=\"\";Y.J||(Y=g.w8(Y),Y.indexOf(\"www.\")===0&&(Y=Y.substring(4)),k=g.rF(W)?\"Watch on YouTube Music\":Y===\"youtube.com\"?\"Watch on YouTube\":g.Vq(\"Watch on $WEBSITE\",{WEBSITE:Y}));this.api.U(\"player_tooltip_data_title_killswitch\")?this.updateValue(\"title\",k):this.updateValue(\"tooltip-title\",k)};\nJ3.prototype.onClick=function(W){this.api.U(\"web_player_log_click_before_generating_ve_conversion_params\")&&this.api.logClick(this.element);var Y=this.api.V(),k=this.api.getVideoUrl(!g.CK(W),!1,!0,!0);if(g.hN(Y)){var P={};g.hN(Y)&&g.Ar(this.api,\"addEmbedsConversionTrackingParams\",[P]);k=g.YW(k,P)}g.bH(k,this.api,W);this.api.U(\"web_player_log_click_before_generating_ve_conversion_params\")||this.api.logClick(this.element)};\nJ3.prototype.Rb=function(){var W={S:\"svg\",D:{height:\"100%\",version:\"1.1\",viewBox:\"0 0 67 36\",width:\"100%\"},B:[{S:\"path\",yU:!0,j:\"ytp-svg-fill\",D:{d:\"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z \"}}]},\nY=28666,k=this.api.getVideoData();this.api.isEmbedsShortsMode()?W={S:\"svg\",D:{fill:\"none\",height:\"100%\",viewBox:\"-10 -8 67 36\",width:\"100%\"},B:[{S:\"path\",D:{d:\"m.73 13.78 2.57-.05c-.05 2.31.36 3.04 1.34 3.04.95 0 1.34-.61 1.34-1.88 0-1.88-.97-2.83-2.37-4.04C1.47 8.99.55 7.96.55 5.23c0-2.60 1.15-4.14 4.17-4.14 2.91 0 4.12 1.70 3.71 5.20l-2.57.15c.05-2.39-.20-3.22-1.26-3.22-.97 0-1.31.64-1.31 1.82 0 1.77.74 2.31 2.34 3.84 1.98 1.88 3.09 2.98 3.09 5.54 0 3.24-1.26 4.48-4.20 4.48-3.06.02-4.30-1.62-3.78-5.12ZM9.67.74h2.83V4.58c0 1.15-.05 1.95-.15 2.93h.05c.54-1.15 1.44-1.75 2.60-1.75 1.75 0 2.5 1.23 2.5 3.35v9.53h-2.83V9.32c0-1.03-.25-1.54-.90-1.54-.48 0-.92.28-1.23.79V18.65H9.70V.74h-.02ZM18.67 13.27v-1.82c0-4.07 1.18-5.64 3.99-5.64 2.80 0 3.86 1.62 3.86 5.64v1.82c0 3.96-1.00 5.59-3.94 5.59-2.98 0-3.91-1.67-3.91-5.59Zm5 1.03v-3.94c0-1.72-.25-2.60-1.08-2.60-.79 0-1.05.87-1.05 2.60v3.94c0 1.80.25 2.62 1.05 2.62.82 0 1.08-.82 1.08-2.62ZM27.66 6.03h2.19l.25 2.73h.10c.28-2.01 1.21-3.01 2.39-3.01.15 0 .30.02.51.05l-.15 3.27c-1.18-.25-2.13-.05-2.57.72V18.63h-2.73V6.03ZM34.80 15.67V8.27h-1.03V6.05h1.15l.36-3.73h2.11V6.05h1.93v2.21h-1.80v6.98c0 1.18.15 1.44.61 1.44.41 0 .77-.05 1.10-.18l.36 1.80c-.85.41-1.93.54-2.60.54-1.82-.02-2.21-.97-2.21-3.19ZM40.26 14.81l2.39-.05c-.12 1.39.36 2.19 1.21 2.19.72 0 1.13-.46 1.13-1.10 0-.87-.79-1.46-2.16-2.5-1.62-1.23-2.60-2.16-2.60-4.20 0-2.24 1.18-3.32 3.63-3.32 2.60 0 3.63 1.28 3.42 4.35l-2.39.10c-.02-1.90-.28-2.44-1.08-2.44-.77 0-1.10.38-1.10 1.08 0 .97.56 1.44 1.49 2.11 2.21 1.64 3.24 2.47 3.24 4.53 0 2.26-1.28 3.40-3.73 3.40-2.78-.02-3.81-1.54-3.45-4.14Z\",\nfill:\"#fff\"}}]}:g.rF(k)&&(W={S:\"svg\",D:{fill:\"none\",height:\"25\",viewBox:\"0 0 140 25\",width:\"140\"},B:[{S:\"path\",D:{d:\"M33.96 20.91V15.45L37.43 4.11H34.84L33.52 9.26C33.22 10.44 32.95 11.67 32.75 12.81H32.59C32.48 11.81 32.16 10.50 31.84 9.24L30.56 4.11H27.97L31.39 15.45V20.91H33.96Z\",fill:\"white\"}},{S:\"path\",D:{d:\"M40.92 8.31C37.89 8.31 36.85 10.06 36.85 13.83V15.62C36.85 19.00 37.50 21.12 40.86 21.12C44.17 21.12 44.88 19.10 44.88 15.62V13.83C44.88 10.46 44.20 8.31 40.92 8.31ZM42.21 16.73C42.21 18.37 41.92 19.40 40.87 19.40C39.84 19.40 39.55 18.36 39.55 16.73V12.69C39.55 11.29 39.75 10.04 40.87 10.04C42.05 10.04 42.21 11.36 42.21 12.69V16.73Z\",\nfill:\"white\"}},{S:\"path\",D:{d:\"M49.09 21.10C50.55 21.10 51.46 20.49 52.21 19.39H52.32L52.43 20.91H54.42V8.55H51.78V18.48C51.50 18.97 50.85 19.33 50.24 19.33C49.47 19.33 49.23 18.72 49.23 17.70V8.55H46.60V17.82C46.60 19.83 47.18 21.10 49.09 21.10Z\",fill:\"white\"}},{S:\"path\",D:{d:\"M59.64 20.91V6.16H62.68V4.11H53.99V6.16H57.03V20.91H59.64Z\",fill:\"white\"}},{S:\"path\",D:{d:\"M64.69 21.10C66.15 21.10 67.06 20.49 67.81 19.39H67.92L68.03 20.91H70.02V8.55H67.38V18.48C67.10 18.97 66.45 19.33 65.84 19.33C65.07 19.33 64.83 18.72 64.83 17.70V8.55H62.20V17.82C62.20 19.83 62.78 21.10 64.69 21.10Z\",\nfill:\"white\"}},{S:\"path\",D:{d:\"M77.49 8.28C76.21 8.28 75.29 8.84 74.68 9.75H74.55C74.63 8.55 74.69 7.53 74.69 6.72V3.45H72.14L72.13 14.19L72.14 20.91H74.36L74.55 19.71H74.62C75.21 20.52 76.12 21.03 77.33 21.03C79.34 21.03 80.20 19.30 80.20 15.62V13.71C80.20 10.27 79.81 8.28 77.49 8.28ZM77.58 15.62C77.58 17.92 77.24 19.29 76.17 19.29C75.67 19.29 74.98 19.05 74.67 18.60V11.25C74.94 10.55 75.54 10.04 76.21 10.04C77.29 10.04 77.58 11.35 77.58 13.74V15.62Z\",fill:\"white\"}},{S:\"path\",D:{d:\"M89.47 13.51C89.47 10.53 89.17 8.32 85.74 8.32C82.51 8.32 81.79 10.47 81.79 13.63V15.80C81.79 18.88 82.45 21.12 85.66 21.12C88.20 21.12 89.51 19.85 89.36 17.39L87.11 17.27C87.08 18.79 86.73 19.41 85.72 19.41C84.45 19.41 84.39 18.20 84.39 16.40V15.56H89.47V13.51ZM85.68 9.98C86.90 9.98 86.99 11.13 86.99 13.08V14.09H84.39V13.08C84.39 11.15 84.47 9.98 85.68 9.98Z\",\nfill:\"white\"}},{S:\"path\",D:{d:\"M93.18 20.86H95.50V13.57C95.50 11.53 95.46 9.36 95.30 6.46H95.56L95.99 8.24L98.73 20.86H101.09L103.78 8.24L104.25 6.46H104.49C104.37 9.03 104.30 11.35 104.30 13.57V20.86H106.63V4.06H102.67L101.25 10.27C100.65 12.85 100.22 16.05 99.97 17.68H99.78C99.60 16.02 99.15 12.83 98.56 10.29L97.10 4.06H93.18V20.86Z\",fill:\"white\"}},{S:\"path\",D:{d:\"M111.27 21.05C112.73 21.05 113.64 20.44 114.39 19.34H114.50L114.61 20.86H116.60V8.50H113.96V18.43C113.68 18.92 113.03 19.28 112.42 19.28C111.65 19.28 111.41 18.67 111.41 17.65V8.50H108.78V17.77C108.78 19.78 109.36 21.05 111.27 21.05Z\",\nfill:\"white\"}},{S:\"path\",D:{d:\"M121.82 21.12C124.24 21.12 125.59 20.05 125.59 17.86C125.59 15.87 124.59 15.06 122.21 13.44C121.12 12.72 120.53 12.27 120.53 11.21C120.53 10.42 121.02 10.00 121.91 10.00C122.88 10.00 123.21 10.64 123.25 12.46L125.41 12.34C125.59 9.49 124.57 8.27 121.95 8.27C119.47 8.27 118.28 9.34 118.28 11.46C118.28 13.42 119.21 14.31 120.96 15.53C122.51 16.60 123.36 17.27 123.36 18.16C123.36 18.89 122.85 19.42 121.96 19.42C120.94 19.42 120.36 18.54 120.46 17.21L118.27 17.25C117.93 19.81 119.13 21.12 121.82 21.12Z\",\nfill:\"white\"}},{S:\"path\",D:{d:\"M128.45 6.93C129.35 6.93 129.77 6.63 129.77 5.39C129.77 4.23 129.32 3.87 128.45 3.87C127.57 3.87 127.14 4.19 127.14 5.39C127.14 6.63 127.55 6.93 128.45 6.93ZM127.23 20.86H129.76V8.50H127.23V20.86Z\",fill:\"white\"}},{S:\"path\",D:{d:\"M135.41 21.06C136.67 21.06 137.38 20.91 137.95 20.37C138.80 19.63 139.15 18.48 139.09 16.54L136.78 16.42C136.78 18.54 136.44 19.34 135.45 19.34C134.36 19.34 134.18 18.15 134.18 15.99V13.43C134.18 11.07 134.41 9.95 135.47 9.95C136.35 9.95 136.70 10.69 136.70 13.05L138.99 12.89C139.15 11.20 138.98 9.82 138.18 9.05C137.58 8.49 136.69 8.27 135.51 8.27C132.48 8.27 131.54 10.19 131.54 13.84V15.53C131.54 19.18 132.25 21.06 135.41 21.06Z\",\nfill:\"white\"}}]},Y=216163);g.rF(k)?g.N6(this.element,\"ytp-youtube-music-button\"):g.Sr(this.element,\"ytp-youtube-music-button\");W.D=Object.assign({},W.D,{\"aria-hidden\":\"true\"});this.updateValue(\"logoSvg\",W);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,Y,!0)};\nJ3.prototype.h9=function(W){g.c.prototype.h9.call(this,W);this.api.logVisibility(this.element,this.visible&&W)};g.f(qbd,g.x5);g.H=qbd.prototype;g.H.onProgress=function(){if(this.Y.U(\"web_player_max_seekable_on_ended\")||!g.p(this.Y.getPlayerStateObject(),2))gn(this.EU),this.progressBar.Xi(),this.TJ.Xi()};\ng.H.L0=function(){this.G6();if(gn(this.EU))this.progressBar.SS();else this.onProgress()};\ng.H.QF=function(){this.onProgress();this.N.start()};\ng.H.G6=function(){var W;if(W=!this.Y.V().K){W=this.progressBar;var Y=2*g.FR()*W.C,k=W.J;W=(k.W-k.K)*1E3/W.api.getPlaybackRate()/Y<300}W=W&&this.Y.getPlayerStateObject().isPlaying()&&!!window.requestAnimationFrame;Y=!W;gn(this.EU)&&(W=Y=!1);Y?this.wD||(this.wD=this.Z(this.Y,\"progresssync\",this.onProgress)):this.wD&&(this.nH(this.wD),this.wD=null);W?this.N.isActive()||this.N.start():this.N.stop()};\ng.H.Rb=function(){var W=this.Y.U6(),Y=this.Y.ai().getPlayerSize(),k=this.Y.ai().K8,P=CJq(this),T=LvS(this),I=Math.max(Y.width-P*2,100);if(this.Lg!==Y.width||this.e1!==W||this.Y.U(\"web_player_rtr_ctrls\")&&this.OS!==k)this.Lg=Y.width,this.e1=W,this.OS=k,this.K.element.style.width=T+\"px\",this.K.element.style.left=P+\"px\",g.qwC(this.progressBar,P,T,W),this.Y.r5().iU=T;k=this.T;I=Math.min(570*(W?1.5:1),I);W=Math.min(413*(W?1.5:1),Math.round((Y.height-uk7(this))*.82));k.maxWidth=I;k.maxHeight=W;k.h6();this.G6();\nthis.K1&&cl0(this.Q5,Y.height)};\ng.H.onVideoDataChange=function(){var W=this.Y.getVideoData();this.GJ.style.background=W.zr?W.Zu:\"\";this.Kg&&tN0(this.Kg,W.showSeekingControls);this.A5&&tN0(this.A5,W.showSeekingControls)};\ng.H.Tn=function(){return this.K.element};g.f(aDz,Ov);g.H=aDz.prototype;g.H.Lt=function(W){W.target!==this.dismissButton.element&&(this.onClickCommand&&this.Y.Ri(\"innertubeCommand\",this.onClickCommand),this.yQ())};\ng.H.yQ=function(){this.enabled=!1;this.N.hide()};\ng.H.onVideoDataChange=function(W,Y){W===\"dataloaded\"&&KNC(this);W=[];var k,P,T,I;if(Y=(I=g.R((k=Y.getWatchNextResponse())==null?void 0:(P=k.playerOverlays)==null?void 0:(T=P.playerOverlayRenderer)==null?void 0:T.suggestedActionsRenderer,iB1))==null?void 0:I.suggestedActions)for(k=g.e(Y),P=k.next();!P.done;P=k.next())(P=g.R(P.value,M9K))&&g.R(P.trigger,ZBi)&&W.push(P);if(W.length!==0){k=[];W=g.e(W);for(P=W.next();!P.done;P=W.next())if(P=P.value,T=g.R(P.trigger,ZBi))I=(I=P.title)?g.NF(I):\"View Chapters\",\nY=T.timeRangeStartMillis,T=T.timeRangeEndMillis,Y!=null&&T!=null&&P.tapCommand&&(k.push(new g.Mm(Y,T,{priority:9,namespace:\"suggested_action_button_visible\",id:I})),this.suggestedActions[I]=P.tapCommand);this.Y.Bz(k)}};\ng.H.Gu=function(){return this.enabled};\ng.H.R6=function(){this.enabled?this.Fr.start():WC(this);this.zw()};\ng.H.iz=function(){KNC(this);Ov.prototype.iz.call(this)};var A0={},y9=(A0.CHANNEL_NAME=\"ytp-title-channel-name\",A0.FULLERSCREEN_LINK=\"ytp-title-fullerscreen-link\",A0.LINK=\"ytp-title-link\",A0.SESSIONLINK=\"yt-uix-sessionlink\",A0.SUBTEXT=\"ytp-title-subtext\",A0.TEXT=\"ytp-title-text\",A0.TITLE=\"ytp-title\",A0);g.f(eX,g.c);eX.prototype.onClick=function(W){this.api.logClick(this.element);var Y=this.api.V(),k=this.api.getVideoUrl(!g.CK(W),!1,!0);g.hN(Y)&&(Y={},g.Ar(this.api,\"addEmbedsConversionTrackingParams\",[Y]),k=g.YW(k,Y));g.bH(k,this.api,W)};\neX.prototype.xa=function(){var W=this.api.getVideoData(),Y=this.api.V();this.updateValue(\"title\",W.title);var k={S:\"a\",j:y9.CHANNEL_NAME,D:{href:\"{{channelLink}}\",target:\"_blank\"},v6:\"{{channelName}}\"};this.api.V().J&&(k={S:\"span\",j:y9.CHANNEL_NAME,v6:\"{{channelName}}\",D:{tabIndex:\"{{channelSubtextFocusable}}\"}});this.updateValue(\"subtextElement\",k);Tk2(this);this.api.getPresentingPlayerType()===2&&(k=this.api.getVideoData(),k.videoId&&k.isListed&&k.author&&k.Lg&&k.profilePicture?(this.updateValue(\"channelLink\",\nk.Lg),this.updateValue(\"channelName\",k.author),this.updateValue(\"channelTitleFocusable\",\"0\")):Tk2(this));k=Y.externalFullscreen||!this.api.isFullscreen()&&Y.zg;g.ML(this.link,y9.FULLERSCREEN_LINK,k);Y.Kg||!W.videoId||k||W.zr||Y.J?this.W&&(this.updateValue(\"url\",null),this.nH(this.W),this.W=null):(this.updateValue(\"url\",this.api.getVideoUrl(!0)),this.W||(this.W=this.Z(this.link,\"click\",this.onClick)));Y.J&&(this.element.classList.add(\"ytp-no-link\"),this.updateValue(\"channelName\",g.hN(Y)?W.expandedTitle:\nW.author),this.updateValue(\"channelTitleFocusable\",\"0\"),this.updateValue(\"channelSubtextFocusable\",\"0\"))};g.f(g.vK,g.c);g.H=g.vK.prototype;g.H.setEnabled=function(W){if(this.type!=null)if(W)switch(this.type){case 3:case 2:js(this);this.fade.show();break;default:this.fade.show()}else this.fade.hide();this.X=W};\ng.H.cJ=function(W,Y,k,P,T,I,X,h){if(!this.gD||this.env.G){this.type===3&&this.SS();this.type!==1&&(g.h8(this.element,\"ytp-tooltip ytp-bottom\"),this.type=1,this.X&&this.fade.show(),this.K&&this.K.dispose(),(this.K=this.api.T8())&&this.K.subscribe(\"l\",this.jV,this));if(h){var B=g.$p(this.bg).height||141;this.TJ.style.bottom=B+2+\"px\"}else this.TJ.style.display=\"none\";this.env.U(\"delhi_modern_web_player\")?(this.update({pillTimeStamp:k,pillTitle:I!=null?I:\"\",eduText:h!=null?h:\"\"}),g.N6(this.element,\"ytp-tooltip-progress-bar-style\")):\n(this.update({text:k,title:I!=null?I:\"\",eduText:h!=null?h:\"\"}),g.ML(this.bottomText,\"ytp-tooltip-text-no-title\",this.type===1&&!I));this.api.isInline()&&g.N6(this.bottomText,\"ytp-modern-tooltip-text\");g.ML(this.element,\"ytp-text-detail\",!!P);k=-1;this.K&&(k=EG(this.K,243*this.scale),this.env.U(\"web_l3_storyboard\")&&this.K.levels.length===4&&(k=this.K.levels.length-1),k=IV2(this.K,k,Y));JPS(this,k);if(X)switch(Y=g.$p(this.element).width,X){case 1:this.title.style.right=\"0\";this.title.style.textAlign=\n\"left\";break;case 2:this.title.style.right=Y+\"px\";this.title.style.textAlign=\"right\";break;case 3:this.title.style.right=Y/2+\"px\",this.title.style.textAlign=\"center\"}P1F(this,!!P,W,T)}};\ng.H.T_=function(){this.type===1&&this.SS()};\ng.H.tN=function(W,Y){if(this.type)if(this.type===3)this.SS();else return;x7C(this,W,3,Y)};\ng.H.wc=function(){this.W&&!this.G&&(this.env.U(\"player_tooltip_data_title_killswitch\")?this.W.hasAttribute(\"title\")&&(this.J=this.W.getAttribute(\"title\")||\"\",this.W.removeAttribute(\"title\"),this.X&&js(this)):this.W.hasAttribute(\"data-tooltip-title\")&&(this.J=this.W.getAttribute(\"data-tooltip-title\")||\"\",this.W.removeAttribute(\"data-tooltip-title\"),this.X&&js(this)))};\ng.H.jV=function(W,Y){W<=this.T&&this.T<=Y&&(W=this.T,this.T=NaN,JPS(this,W))};\ng.H.vaa=function(){XO1(this.K,this.T,243*this.scale)};\ng.H.SS=function(){switch(this.type){case 2:var W=this.W;W.removeEventListener(\"mouseout\",this.N);W.addEventListener(\"mouseover\",this.C);W.removeEventListener(\"blur\",this.N);W.addEventListener(\"focus\",this.C);FYd(this);break;case 3:FYd(this);break;case 1:this.K&&(this.K.unsubscribe(\"l\",this.jV,this),this.K=null),this.api.removeEventListener(\"videoready\",this.A5),this.Kg.stop()}this.type=null;this.X&&this.fade.hide()};\ng.H.gX=function(){if(this.W)for(var W=0;W=0;Y--)if(this.W9[Y]===W){this.W9.splice(Y,1);break}V8(this.EU,64,this.W9.length>0)};\ng.H.BX=function(){this.api.SA()&&this.api.Xg();return!!this.Ec||B_d(this)||g.wn.prototype.BX.call(this)};\ng.H.Ru=function(){var W=!this.BX(),Y=W&&this.api.SA()&&!g.p(this.api.getPlayerStateObject(),2)&&!this.api.getVideoData().zr&&!this.api.V().J&&!this.api.isEmbedsShortsMode(),k=this.x$&&g.k4(this.api)&&g.p(this.api.getPlayerStateObject(),128);W||k?(this.KZ.show(),this.iO.show()):(this.KZ.hide(),this.iO.hide(),this.api.gX(this.G8.element));Y?this.Nx.fH():this.Nx.n1();this.Bk&&M_2(this.Bk,this.EhS||!W);this.api.U(\"web_player_hide_overflow_button_if_empty_menu\")&&aLV(this);g.wn.prototype.Ru.call(this)};\ng.H.d7=function(W,Y,k,P,T){W.style.left=\"\";W.style.top=\"\";W.style.bottom=\"\";var I=g.$p(W),X=P||this.Bk&&g.MG(this.Bk.Tn(),Y),h=P=null;k!=null&&X||(P=g.$p(Y),h=g.kp(Y,this.api.getRootNode()),k==null&&(k=h.x+P.width/2));k-=I.width/2;X?(Y=this.Bk,P=CJq(Y),h=LvS(Y),X=this.api.ai().getPlayerSize().height,k=g.DR(k,P,P+h-I.width),I=X-uk7(Y)-I.height):g.MG(this.G8.element,Y)?(Y=this.api.ai().getPlayerSize().width,k=g.DR(k,12,Y-I.width-12),I=this.U6()?this.WL:this.zA,this.api.V().playerStyle===\"gvn\"&&(I+=\n20),this.x$&&(I-=this.U6()?26:18)):(Y=this.api.ai().getPlayerSize(),k=g.DR(k,12,Y.width-I.width-12),I=h.y>(Y.height-P.height)/2?h.y-I.height-12:h.y+P.height+12);W.style.top=I+(T||0)+\"px\";W.style.left=k+\"px\"};\ng.H.L0=function(W){W&&(this.api.gX(this.G8.element),this.Bk&&this.api.gX(this.Bk.Tn()));this.S$&&(g.ML(this.contextMenu.element,\"ytp-autohide\",W),g.ML(this.contextMenu.element,\"ytp-autohide-active\",!0));g.wn.prototype.L0.call(this,W)};\ng.H.I1=function(){g.wn.prototype.I1.call(this);this.S$&&(g.ML(this.contextMenu.element,\"ytp-autohide-active\",!1),this.S$&&(this.contextMenu.hide(),this.Xb&&this.Xb.hide()))};\ng.H.Hu=function(W,Y){var k=this.api.ai().getPlayerSize();k=new g.$F(0,0,k.width,k.height);if(W||!gn(this.EU)&&!this.BX()){if(this.api.V().Kr||Y)W=this.U6()?this.WL:this.zA,k.top+=W,k.height-=W;this.Bk&&(k.height-=uk7(this.Bk))}return k};\ng.H.I0=function(W){var Y=this.api.getRootNode();W?Y.parentElement?(Y.setAttribute(\"aria-label\",\"YouTube Video Player in Fullscreen\"),this.api.V().externalFullscreen||(Y.parentElement.insertBefore(this.gH.element,Y),Y.parentElement.insertBefore(this.Ce.element,Y.nextSibling))):g.LH(Error(\"Player not in DOM.\")):(Y.setAttribute(\"aria-label\",\"YouTube Video Player\"),this.gH.detach(),this.Ce.detach());this.Rb();this.RC()};\ng.H.U6=function(){if(this.api.U(\"web_player_use_screen_width_for_big_mode\")){var W;return this.api.ai().getPlayerSize().width>=((W=g.je(this.api.V().experiments,\"web_player_big_mode_screen_width_cutoff\"))!=null?W:2E3)}W=this.api.V();return this.api.isFullscreen()&&!W.G||!1};\ng.H.showControls=function(W){this.Cd=!W;this.Ru()};\ng.H.Rb=function(){var W=this.U6();this.tooltip.scale=W?1.5:1;this.contextMenu&&g.ML(this.contextMenu.element,\"ytp-big-mode\",W);this.Ru();this.api.U(\"web_player_hide_overflow_button_if_empty_menu\")||aLV(this);this.RC();var Y=this.api.isEmbedsShortsMode();Y&&W?(W=(this.api.ai().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.KX(this.G8.element,\"padding-left\",W+\"px\"),g.KX(this.G8.element,\"padding-right\",W+\"px\")):Y&&(g.KX(this.G8.element,\"padding-left\",\"\"),g.KX(this.G8.element,\"padding-right\",\n\"\"));g.wn.prototype.Rb.call(this)};\ng.H.X1=function(){if(B_d(this)&&!g.k4(this.api))return!1;var W=this.api.getVideoData();return!g.hN(this.api.V())||this.api.getPresentingPlayerType()===2||!this.ZJ||((W=this.ZJ||W.ZJ)?(W=W.embedPreview)?(W=W.thumbnailPreviewRenderer,W=W.videoDetails&&g.R(W.videoDetails,OrF)||null):W=null:W=null,W&&W.collapsedRenderer&&W.expandedRenderer)?g.wn.prototype.X1.call(this):!1};\ng.H.RC=function(){g.wn.prototype.RC.call(this);this.api.logVisibility(this.title.element,!!this.V7);this.Bb&&this.Bb.h9(!!this.V7);this.channelAvatar.h9(!!this.V7);this.overflowButton&&this.overflowButton.h9(this.jy()&&!!this.V7);this.shareButton&&this.shareButton.h9(!this.jy()&&!!this.V7);this.gU&&this.gU.h9(!this.jy()&&!!this.V7);this.searchButton&&this.searchButton.h9(!this.jy()&&!!this.V7);this.copyLinkButton&&this.copyLinkButton.h9(!this.jy()&&!!this.V7);if(!this.V7){this.api.gX(this.G8.element);\nfor(var W=0;W5&&Y.y5(\"glrs\",{cmt:k});Y.seekTo(0,{seekSource:58});Y.y5(\"glrre\",{cmt:k})}};\nvF.prototype.iz=function(){this.W=null;g.D.prototype.iz.call(this)};g.f(g.gE,OY);g.H=g.gE.prototype;g.H.isView=function(){return!0};\ng.H.yP=function(){var W=this.mediaElement.getCurrentTime();if(W1;YX(W.Mt(),P-.01)&&!T&&(x$(this,4),k.isActive=!1,k.yf=k.yf||k.isActive,(this.C===1?this.W:this.K).y5(\"sbh\",{}),Y.isActive=!0,Y.yf=Y.yf||Y.isActive,this.C!==0&&(this.W.getVideoData().B_=!0));W=this.T.K;if(this.T.W.isActive&&W.isActive&&(x$(this,5),this.C!==0)){W=this.K.Qg();k=this.W.Qg();\nthis.W.y5(\"sbs\",{citag:k==null?void 0:k.itag,nitag:W==null?void 0:W.itag});this.K.y5(\"gitags\",{pitag:k==null?void 0:k.itag,citag:W==null?void 0:W.itag});var I;(I=this.K)==null||I.wW()}}};\ng.H.ZK=function(){this.j9()&&this.A$(\"player-reload-after-handoff\")};\ng.H.A$=function(W,Y){Y=Y===void 0?{}:Y;if(!this.Xr()&&this.status.status!==6){var k=this.status.status>=4&&W!==\"player-reload-after-handoff\";this.status={status:Infinity,error:W};if(this.W&&this.K){var P=this.K.getVideoData().clientPlaybackNonce;this.W.Pz(new g.LT(\"dai.transitionfailure\",Object.assign(Y,{cpn:P,transitionTimeMs:this.L7,msg:W})));this.W.Xc(k)}this.fI.reject(W);this.dispose()}};\ng.H.j9=function(){return this.status.status>=4&&this.status.status<6};\ng.H.iz=function(){nhz(this);this.W.unsubscribe(\"newelementrequired\",this.ZK,this);if(this.J){var W=this.J.K;this.J.W.AY.unsubscribe(\"updateend\",this.Q$,this);W.AY.unsubscribe(\"updateend\",this.Q$,this)}g.D.prototype.iz.call(this)};\ng.H.Pg=function(W){g.F7(W,128)&&this.A$(\"player-error-event\")};g.f(oW,g.D);oW.prototype.clearQueue=function(W,Y){W=W===void 0?!1:W;Y=Y===void 0?!1:Y;this.T&&this.T.reject(\"Queue cleared\");this.app.V().U(\"html5_gapless_fallback_on_qoe_restart_v2\")||Y&&this.K&&this.K.Xc(!1);uG(this,W)};\noW.prototype.g_=function(){return!this.W};\noW.prototype.j9=function(){var W;return((W=this.J)==null?void 0:W.j9())||!1};\noW.prototype.iz=function(){uG(this);g.D.prototype.iz.call(this)};g.f(tn,g.tR);g.H=tn.prototype;g.H.getVisibilityState=function(W,Y,k,P,T,I,X,h){return W?4:BO()?3:Y?2:k?1:P?5:T?7:I?8:X?9:h?10:0};\ng.H.aS=function(W){this.fullscreen!==W&&(this.fullscreen=W,this.R6())};\ng.H.setMinimized=function(W){this.K!==W&&(this.K=W,this.R6())};\ng.H.setInline=function(W){this.inline!==W&&(this.inline=W,this.R6())};\ng.H.FT=function(W){this.pictureInPicture!==W&&(this.pictureInPicture=W,this.R6())};\ng.H.setSqueezeback=function(W){this.J!==W&&(this.J=W,this.R6())};\ng.H.D8=function(W){this.T!==W&&(this.T=W,this.R6())};\ng.H.Y7=function(){return this.W};\ng.H.WF=function(){return this.fullscreen!==0};\ng.H.isFullscreen=function(){return this.fullscreen!==0&&this.fullscreen!==4};\ng.H.q5=function(){return this.fullscreen};\ng.H.isMinimized=function(){return this.K};\ng.H.isInline=function(){return this.inline};\ng.H.isBackground=function(){return BO()};\ng.H.Wl=function(){return this.pictureInPicture};\ng.H.Us=function(){return!1};\ng.H.Go=function(){return this.J};\ng.H.kf=function(){return this.T};\ng.H.R6=function(){this.publish(\"visibilitychange\");var W=this.getVisibilityState(this.Y7(),this.isFullscreen(),this.isMinimized(),this.isInline(),this.Wl(),this.Us(),this.Go(),this.kf());W!==this.X&&this.publish(\"visibilitystatechange\");this.X=W};\ng.H.iz=function(){TCv(this.C);g.tR.prototype.iz.call(this)};g.f(g.bd,g.D);g.H=g.bd.prototype;g.H.iz=function(){this.videoData=this.playerState=null;g.D.prototype.iz.call(this)};\ng.H.addCueRange=function(){};\ng.H.VR=function(){};\ng.H.Zf=function(){};\ng.H.L4=function(){return!1};\ng.H.yr=function(){return!1};\ng.H.vA=function(){};\ng.H.r3=function(){};\ng.H.wq=function(){return[]};\ng.H.tL=function(){};\ng.H.xl=function(){};\ng.H.kF=function(){return 1};\ng.H.getAudioTrack=function(){return this.getVideoData().yD};\ng.H.ji=function(){return null};\ng.H.getAvailableAudioTracks=function(){return[]};\ng.H.HV=function(){return[]};\ng.H.uW=function(){return[]};\ng.H.VC=function(){return\"\"};\ng.H.R7=function(){return[]};\ng.H.D$=function(){};\ng.H.tD=function(){return 0};\ng.H.getCurrentTime=function(){return 0};\ng.H.Qs=function(){};\ng.H.Qg=function(){};\ng.H.ER=function(){return{}};\ng.H.getDuration=function(){return 0};\ng.H.Hl=function(){return 0};\ng.H.hT=function(){return 0};\ng.H.sL=function(){return!1};\ng.H.O3=function(){return 0};\ng.H.F8=function(){return 0};\ng.H.Zj=XC(7);g.H.XZ=function(){return 0};\ng.H.kN=function(){return!1};\ng.H.qA=function(){return 0};\ng.H.bd=function(){return null};\ng.H.s0=function(){return null};\ng.H.aI=function(){return 0};\ng.H.nC=function(){return 0};\ng.H.Je=function(){return g.v(function(W){g.I_(W)})};\ng.H.Vg=XC(15);g.H.getPlaybackQuality=function(){return\"auto\"};\ng.H.getPlaybackRate=function(){return 1};\ng.H.getPlayerState=function(){this.playerState||(this.playerState=new g.ZR);return this.playerState};\ng.H.getPlayerType=function(){return 0};\ng.H.getPlaylistSequenceForTime=function(){return null};\ng.H.Tv=function(){return function(){}};\ng.H.Dj=function(){return\"\"};\ng.H.getPreferredQuality=function(){return\"unknown\"};\ng.H.ST=function(){};\ng.H.getProximaLatencyPreference=function(){return 0};\ng.H.DW=function(){return Tx};\ng.H.T8=function(){return null};\ng.H.getStoryboardFormat=function(){return null};\ng.H.getStreamTimeOffset=function(){return 0};\ng.H.RA=function(){return 0};\ng.H.m2=function(){return 0};\ng.H.h4=function(){return{mU:[],v$:[],currentTime:0,zG:\"\",droppedVideoFrames:0,isGapless:!1,g_:!0,mE:0,Hv:0,q9:0,mM:0,I2:0,DR:[],CT:[],wB:null,playerState:this.getPlayerState(),tJ:null,Kx:\"\",totalVideoFrames:0}};\ng.H.getUserAudio51Preference=function(){return 0};\ng.H.getUserPlaybackQualityPreference=function(){return\"\"};\ng.H.getVideoData=function(){this.videoData||(this.videoData=new g.NC(this.zJ),g.m(this,this.videoData));return this.videoData};\ng.H.Rv=function(){return null};\ng.H.Ud=function(){return null};\ng.H.B5=function(){};\ng.H.getVideoLoadedFraction=function(){return 0};\ng.H.Od=function(){};\ng.H.handleError=function(){};\ng.H.Xc=function(){};\ng.H.eC=function(){};\ng.H.aA=XC(40);g.H.IS=function(){return!1};\ng.H.hasSupportedAudio51Tracks=function(){return!1};\ng.H.ri=function(){return!1};\ng.H.Y7=function(){return!1};\ng.H.isAtLiveHead=function(){return!1};\ng.H.BA=function(){return!0};\ng.H.isGapless=function(){return!1};\ng.H.isHdr=function(){return!1};\ng.H.jT=function(){return!1};\ng.H.T2=function(){return!1};\ng.H.XJ=function(){return!1};\ng.H.isProximaLatencyEligible=function(){return!1};\ng.H.g_=function(){return!0};\ng.H.HS=function(){return!1};\ng.H.hR=function(){return!1};\ng.H.DB=function(){};\ng.H.TZ=function(){};\ng.H.wW=function(){};\ng.H.Al=function(){};\ng.H.l6=function(){};\ng.H.uN=function(){};\ng.H.Yb=function(){};\ng.H.Bu=XC(50);g.H.Kh=XC(21);g.H.m4=function(){};\ng.H.pauseVideo=function(){};\ng.H.prefetchKeyPlay=function(){};\ng.H.playVideo=function(){return g.v(function(W){return W.return()})};\ng.H.iZ=function(){};\ng.H.l_=XC(27);g.H.cK=XC(33);g.H.Zl=function(){};\ng.H.y5=function(){};\ng.H.aZ=function(){};\ng.H.gP=function(){};\ng.H.uM=function(){};\ng.H.Pz=function(){};\ng.H.w0=function(){};\ng.H.Js=function(){};\ng.H.Qm=function(){};\ng.H.D0=function(){};\ng.H.oF=function(){};\ng.H.lw=function(){};\ng.H.removeCueRange=function(){};\ng.H.Mm=function(){};\ng.H.fq=function(){return[]};\ng.H.Fo=function(){};\ng.H.Fb=function(){};\ng.H.UY=function(){};\ng.H.aL=function(){};\ng.H.FX=function(){};\ng.H.wk=function(){};\ng.H.seekTo=function(){};\ng.H.sendAbandonmentPing=function(){};\ng.H.sendVideoStatsEngageEvent=function(){};\ng.H.XT=function(){};\ng.H.setLoop=function(){};\ng.H.QW=function(){};\ng.H.setMediaElement=function(){};\ng.H.mK=function(){};\ng.H.setPlaybackRate=function(){};\ng.H.SW=function(){};\ng.H.H9=function(){};\ng.H.sU=function(){};\ng.H.setProximaLatencyPreference=function(){};\ng.H.Z8=function(){};\ng.H.fS=function(){};\ng.H.uZ=function(){};\ng.H.QN=function(){};\ng.H.r0=function(){};\ng.H.setUserAudio51Preference=function(){};\ng.H.CP=function(){};\ng.H.Jf=function(){return!1};\ng.H.i4=function(){};\ng.H.E0=function(){return!1};\ng.H.s$=function(){};\ng.H.rY=function(){};\ng.H.Rc=function(){};\ng.H.stopVideo=function(){};\ng.H.subscribe=function(){return NaN};\ng.H.cH=function(){};\ng.H.togglePictureInPicture=function(){};\ng.H.QQ=function(){return 0};\ng.H.Rn=function(){};\ng.H.unsubscribe=function(){return!1};\ng.H.VQ=function(){};\ng.H.s4=function(){return!1};\ng.H.rf=function(){};\ng.H.uO=function(){};\ng.H.V0=function(){};g.f(Iw,g.D);g.H=Iw.prototype;g.H.get=function(W){OA(this);var Y=this.data.find(function(k){return k.key===W});\nreturn Y?Y.value:null};\ng.H.set=function(W,Y,k){this.remove(W,!0);OA(this);W={key:W,value:Y,expire:Infinity};k&&isFinite(k)&&(k*=1E3,W.expire=(0,g.lj)()+k);for(this.data.push(W);this.data.length>this.J;)(k=this.data.shift())&&Zy(this,k,!0);TL(this)};\ng.H.remove=function(W,Y){Y=Y===void 0?!1:Y;var k=this.data.find(function(P){return P.key===W});\nk&&(Zy(this,k,Y),g.g3z(this.data,function(P){return P.key===W}),TL(this))};\ng.H.removeAll=function(W){if(W=W===void 0?!1:W)for(var Y=g.e(this.data),k=Y.next();!k.done;k=Y.next())Zy(this,k.value,W);this.data=[];TL(this)};\ng.H.iz=function(){var W=this;g.D.prototype.iz.call(this);this.data.forEach(function(Y){Zy(W,Y,!0)});\nthis.data=[]};g.f(g.yA,g.D);g.H=g.yA.prototype;g.H.iz=function(){for(var W=g.e(Object.values(this.J)),Y=W.next();!Y.done;Y=W.next())Y.value.dispose();gKC(this);this.W.dispose();g.D.prototype.iz.call(this)};\ng.H.H5=function(W){return W?W===1?this.L:this.K.getVideoData().enableServerStitchedDai&&W===2?this.K.getVideoData().uu?this.J[2]||this.K:this.K:this.J[W]||null:this.K};\ng.H.s1=function(W){var Y=W.cpn;W=W.playerType;if(Y)a:{W=g.e(Object.values(this.J));for(var k=W.next();!k.done;k=W.next())if(k=k.value,k.VC()===Y){Y=k;break a}Y=this.X[Y]||null}else Y=W?this.H5(W):this.K;return Y};\ng.H.zn=function(){return this.L};\ng.H.kU=function(W){this.L=W};\ng.H.D2=function(){return this.K};\ng.H.gk=function(W){this.K=W;Ml(this)};\ng.H.o9=XC(46);g.H.rJ=XC(48);g.f(ro,g.LU);g.H=ro.prototype;g.H.On=function(){};\ng.H.VC=function(){return this.videoData.clientPlaybackNonce};\ng.H.getVideoData=function(){if(g.LU.prototype.getVideoData.call(this).U(\"html5_huli_ssdai_use_playback_state\")){var W=lwd(this.Ha,g.LU.prototype.getCurrentTime.call(this))||g.LU.prototype.getVideoData.call(this);this.videoData.clientPlaybackNonce!==W.clientPlaybackNonce&&OU(this.K,\"cpn\",{cpn:this.videoData.clientPlaybackNonce,ref:W.clientPlaybackNonce});return this.videoData}return lwd(this.Ha,g.LU.prototype.getCurrentTime.call(this))||g.LU.prototype.getVideoData.call(this)};\ng.H.getCurrentTime=function(W){var Y=g.LU.prototype.getCurrentTime.call(this);if(g.LU.prototype.getVideoData.call(this).U(\"html5_huli_ssdai_use_playback_state\")){this.W===0?W||(Y-=this.startTimeSecs):W&&(Y=this.W);var k=W?this.Ha.pY||g.LU.prototype.getCurrentTime.call(this):wdc(this.Ha,g.LU.prototype.getCurrentTime.call(this));Y!==k&&OU(this.K,\"time\"+(W!=null?W:!1),{time:Y,ref:k,ct:W!=null?W:!1})}else Y=W?this.Ha.pY||Y:wdc(this.Ha,Y);return Y};\ng.H.getDuration=function(){if(g.LU.prototype.getVideoData.call(this).U(\"html5_huli_ssdai_use_playback_state\")){var W=eAd(this.Ha,g.LU.prototype.getCurrentTime.call(this));this.duration!==W&&OU(this.K,\"duration\",{dur:this.duration,ref:W});return this.duration}return eAd(this.Ha,g.LU.prototype.getCurrentTime.call(this))};\ng.H.Nv=function(W){this.duration=W};g.zF.prototype.LK=function(W,Y){if(Y===1)return this.W.get(W);if(Y===2)return this.J.get(W);if(Y===3)return this.K.get(W)};\ng.zF.prototype.rP=XC(58);g.zF.prototype.yN=function(W,Y,k,P){k={ih:P,MY:k};Y?this.J.set(W,k):this.W.set(W,k)};\ng.zF.prototype.clearAll=function(){this.W.clear();this.J.clear();this.K.clear()};\nM3.prototype.clear=function(){this.K=[];this.J.clear();this.T.clear();this.W.clear()};\nM3.prototype.s1=function(W){var Y=W.cpn;W=W.U1;if(Y&&(Y=this.J.get(Y))||W&&(Y=(this.C?this.J:this.T).get(W)))return Y};\ng.f(g.Y_,g.D);g.H=g.Y_.prototype;g.H.onCueRangeEnter=function(W){var Y=W.getId();this.P7({oncueEnter:1,cpn:Y,start:W.start,end:W.end,ct:(this.playback.getCurrentTime()||0).toFixed(3),cmt:(this.playback.tD()||0).toFixed(3)});var k=this.W.s1({cpn:Y});this.P7({enterAdCueRange:1});var P=this.eW||this.qh().cpn,T;P=(T=this.W.s1({cpn:P}))!=null?T:this.qh();k&&(T=this.playback.getCurrentTime(),k.startTimeSecs=W.start/1E3,k={K2:P,zO:k,Wp:T},vhK(this,Y,W.start/1E3,T),l2(this,k))};\ng.H.Bx=function(W,Y){if(W&&Y){var k,P=((k=this.app.Ln().T)==null?void 0:k.VC())||this.playback.VC(),T;k=(T=this.W.s1({cpn:P}))!=null?T:this.qh();var I;W=(I=this.W.s1({cpn:W}))!=null?I:this.qh();W.startTimeSecs=Y;I=this.playback.getCurrentTime();vhK(this,P,Y,I);l2(this,{K2:k,zO:W,Wp:I})}};\ng.H.FO=function(W,Y){if(W===this.playback.VC())tI(this.app.Ln(),this.playback,!1);else{var k=this.TJ.get(W);k?(k.W=0,k.startTimeSecs=Y,tI(this.app.Ln(),k,!0)):this.P7({nop_s:W})}};\ng.H.onCueRangeExit=function(W){for(var Y=this.playback.getCurrentTime()*1E3,k=W.getId(),P=g.e(this.K.values()),T=P.next();!T.done;T=P.next())if(T=T.value,T.getId()!==k&&Y>=T.start&&Y<=T.end)return;if(k=this.W.s1({cpn:k}))Y=this.playback.getCurrentTime(),P=this.qh(),P.startTimeSecs=W.end/1E3,k={K2:k,zO:P,Wp:Y},vhK(this,this.playback.VC(),W.end/1E3,Y),l2(this,k)};\ng.H.qh=function(){return{cpn:this.playback.VC(),durationMs:0,pH:0,playerType:1,vz:0,videoData:this.playback.getVideoData(),errorCount:0,J7:\"\"}};\ng.H.seekTo=function(W,Y,k,P){W=W===void 0?0:W;Y=Y===void 0?{}:Y;k=k===void 0?!1:k;P=P===void 0?null:P;UV(this,this.eW);if(this.playback.getVideoData().Xj()&&W<=this.pY)this.playback.pauseVideo(),this.pY=0,lJ5(this,W);else if(this.A5=!0,k)t$1(this,W,Y);else{k=this.app.D2();var T=k===this.gD?this.Q5:null;SG(this,!1);this.Lg=W;this.e1=Y;P!=null&&this.bz.start(P);k&&(this.Q5=T||k.getPlayerState(),k.Rc(Y),this.gD=k)}};\ng.H.iz=function(){SG(this,!1);um(this);Fy7(this);g.D.prototype.iz.call(this)};\ng.H.fv=function(W){this.A9=W;this.P7({swebm:W})};\ng.H.Gw=function(W,Y,k){if(k&&Y){var P=this.C.get(W);if(P){P.locations||(P.locations=new Map);var T=Number(Y.split(\";\")[0]);k=new g.uF(k);this.P7({hdlredir:1,itag:Y,seg:W,hostport:Pd(77,k)});P.locations.set(T,k)}}};\ng.H.VZ=function(W,Y,k,P,T,I){var X=P===3,h=MAS(this,W,Y,P,k,I);if(!h){An(this,Y,X);var B=g.oA(this,Y)?\"undec\":\"ncp\";this.P7({gvprp:B,mt:W,seg:Y,tt:P,itag:k,ce:I});return null}X||this.C.set(Y,h);I=h.J7;var O;P=((O=this.LK(Y-1,P,T))==null?void 0:O.ih)||\"\";P===\"\"&&this.P7({eds:1});O=drS(this,h.ssdaiAdsConfig);T=this.playback.getVideoData();var u;X=((u=T.K)==null?void 0:u.containerType)||0;u=T.wu[X];h=h.n5&&Y>=h.n5?h.n5:void 0;u={Ir:I?PId(this,I):[],adsConfig:O,ih:P,VN:h,ZA:M2(u.split(\";\")[0]),fz:u.split(\";\")[1]||\n\"\"};h={h7:u};this.Fr&&(W={gvprpro:\"v\",sq:Y,mt:W.toFixed(3),itag:k,acpns:((B=u.Ir)==null?void 0:B.join(\"_\"))||\"none\",abid:I},this.P7(W));return h};\ng.H.QA=function(W){a:{if(!this.U0){var Y=K1(this,W);if(!(this.playback.getVideoData().Xj()&&(Y==null?0:Y.Yr)))break a}Y=void 0}var k=Y;if(!k)return this.P7({gvprp:\"ncp\",mt:W}),null;Y=k.J7;var P=drS(this,k.ssdaiAdsConfig);k=k.n5&&k.hG&&W>=k.hG?k.n5:void 0;var T=this.playback.getVideoData(),I,X=((I=T.K)==null?void 0:I.containerType)||0;I=T.wu[X];I={Ir:Y?PId(this,Y):[],adsConfig:P,VN:k,ZA:M2(I.split(\";\")[0]),fz:I.split(\";\")[1]||\"\"};var h;W={gvprpro:\"v\",mt:W.toFixed(3),acpns:((h=I.Ir)==null?void 0:h.join(\"_\"))||\n\"none\",abid:Y};this.P7(W);return I};\ng.H.B$=function(W,Y,k,P,T,I){var X=Number(k.split(\";\")[0]),h=P===3;W=MAS(this,W,Y,P,k,I);this.P7({gdu:1,seg:Y,itag:X,pb:\"\"+!!W});if(!W)return An(this,Y,h),null;W.locations||(W.locations=new Map);if(!W.locations.has(X)){var B,O;I=(B=W.videoData.getPlayerResponse())==null?void 0:(O=B.streamingData)==null?void 0:O.adaptiveFormats;if(!I)return this.P7({gdu:\"noadpfmts\",seg:Y,itag:X}),An(this,Y,h),null;B=I.find(function(M){return M.itag===X});\nif(!B||!B.url){var u=W.videoData.videoId;W=[];var Z=g.e(I);for(P=Z.next();!P.done;P=Z.next())W.push(P.value.itag);this.P7({gdu:\"nofmt\",seg:Y,vid:u,itag:X,fullitag:k,itags:W.join(\",\")});An(this,Y,h);return null}W.locations.set(X,new g.uF(B.url,!0))}I=W.locations.get(X);if(!I)return this.P7({gdu:\"nourl\",seg:Y,itag:X}),An(this,Y,h),null;I=new V4(I);this.A9&&(I.get(\"dvc\")?this.P7({dvc:I.get(\"dvc\")||\"\"}):I.set(\"dvc\",\"webm\"));(P=(Z=this.LK(Y-1,P,T))==null?void 0:Z.ih)&&I.set(\"daistate\",P);W.n5&&Y>=W.n5&&\nI.set(\"skipsq\",\"\"+W.n5);(Z=this.playback.getVideoData().clientPlaybackNonce)&&I.set(\"cpn\",Z);Z=[];W.J7&&(Z=PId(this,W.J7),Z.length>0&&I.set(\"acpns\",Z.join(\",\")));h||this.C.set(Y,W);h=null;h=I.get(\"aids\");P=I.OV();(P==null?void 0:P.length)>2048&&this.P7({urltoolong:1,sq:Y,itag:X,len:P.length});this.Fr&&(P&&(I=W.cpn,T=W.J7,XkK(this,I,T),T&&!this.f1.has(T)&&(I=RY2(this,I,T),B=Rnq(this,T),this.P7({iofa:I}),this.P7({noawnzd:B-I}),this.P7({acpns:Z.join(\".\"),aids:(u=h)==null?void 0:u.replace(/,/g,\".\")}),\nthis.f1.add(T))),this.P7({gdu:\"v\",seg:Y,itag:k,ast:W.pH.toFixed(3),alen:W.durationMs.toFixed(3),acpn:W.cpn,avid:W.videoData.videoId}));return P};\ng.H.U$=function(W,Y,k){k=k===void 0?!1:k;var P=Ea(this,W,Y);if(P){var T=void 0,I=P.J7;if(I){this.P7({skipadonsq:Y,sts:k,abid:I,acpn:P.cpn,avid:P.videoData.videoId});k=this.W.W.get(I);if(!k)return;k=g.e(k);for(I=k.next();!I.done;I=k.next())I=I.value,I.n5=Y,I.hG=W,I.pH>P.pH&&(T=I)}UV(this,this.eW);this.J=P.cpn;et5(this);this.api.U(\"html5_ssdai_enable_media_end_cue_range\")&&this.playback.Rn(this.J);W=this.playback.getCurrentTime();this.zJ.U(\"html5_use_new_ssdai_transition_detector\")&&this.FO(this.playback.VC(),\nW);lqC(this,P,T,W,W,!1,!0);Ma2(this)}};\ng.H.zV=function(){for(var W=g.e(this.W.K),Y=W.next();!Y.done;Y=W.next())Y=Y.value,Y.n5=NaN,Y.hG=NaN;et5(this);this.P7({rsac:\"resetSkipAd\",sac:this.J});this.rD.delete(this.J);this.J=\"\"};\ng.H.LK=function(W,Y,k){return this.Kg.LK(W,Y,k)};\ng.H.rP=XC(57);\ng.H.yN=function(W,Y,k,P,T,I,X,h,B){P.length>0&&this.P7({onssinfo:1,sq:W,start:Y.toFixed(3),cpns:P.join(\",\"),ds:T.join(\",\"),isVideo:X?1:0});B&&this.Kg.yN(W,X,h,B);if(X){if(P.length&&T.length)for(this.rD.has(P[0])&&this.P7({skipfail:1,sq:W,acpn:P[0]}),W=Y+this.RA(),k=0;k0&&(this.yY=0,this.eW=\"\",this.zJ.U(\"html5_huli_ssdai_use_playback_state\")&&this.FO(this.playback.VC(),0),this.api.publish(\"serverstitchedvideochange\"));this.playback.r3(k,P);return!0};\ng.H.Fc=function(){this.P7({rstdaist:1});this.Kg.clearAll()};\ng.H.v9=function(W){var Y;if(W!==((Y=this.X)==null?void 0:Y.identifier))this.P7({ignorenoad:W});else{this.KH.add(W);this.P7({noadrcv:W});var k;((k=this.X)==null?void 0:k.identifier)===W&&E5(this)}};\ng.H.SF=function(W){if(this.U0)return this.P7({dai_disabled:W.event}),!1;if(this.playback.getVideoData().Xj()&&(W.event===\"continue\"||W.event===\"stop\"))return!1;var Y=Ox(this.api.gx());if(Y=Y?Y.SF(W):!1)this.T={X2:W.identifier,ev:W.startSecs};else if(this.T&&this.T.X2===W.identifier&&W.startSecs>this.T.ev+1){this.P7({cueStChg:W.identifier,oldSt:this.T.ev.toFixed(3),newSt:W.startSecs.toFixed(3),abid:this.T.lk});if(this.T.lk){var k=W.startSecs-this.T.ev,P=this.W.W.get(this.T.lk);if(P){P=g.e(P);for(var T=\nP.next();!T.done;T=P.next())T=T.value,T.pH>=0&&(T.pH+=k*1E3,this.zJ.U(\"html5_ssdai_update_timeline_on_start_time_change\")&&(T.vz+=k*1E3),this.P7({newApEt:T.pH,newApPrt:T.vz,acpn:T.cpn}))}}this.T.ev=W.startSecs}this.zJ.U(\"html5_ssdai_log_missing_ad_config_reason\")&&(Y?this.OP.add(W.identifier):this.OP.has(W.identifier)&&this.OP.delete(W.identifier));return Y};\ng.H.VA=function(W){var Y=\"\";W?W.event===\"unknown\"?Y=\"unknown\":this.OP.has(W.identifier)?this.T&&this.T.X2===W.identifier?this.T.X2===W.identifier?Y=\"pending\":Wk(this.V5,function(k){return k.identifier===W.identifier})||(Y=\"noAdsAdded\"):Y=\"wrongAdBreakInfo\":Y=\"unscheduled\":Y=\"noCuepoint\";\nreturn Y};\ng.H.Qd=function(W){return this.U0?!1:!!K1(this,W)};\ng.H.Lv=function(W){var Y=this;if(this.zJ.U(\"html5_lifa_ignore_multiple_skips\")&&this.wD)return this.P7({ufs_ad:this.J,ufs_cur:this.eW,ufs_cont:this.qh().cpn}),!1;UV(this,this.eW);this.playback.pauseVideo();var k=this.playback.getCurrentTime(),P=this.W.s1({cpn:this.eW});if(!P)return this.P7({skipFail:k}),!1;this.J=this.eW;this.A5=!1;this.api.U(\"html5_ssdai_enable_media_end_cue_range\")&&this.playback.Rn(this.J);iiF(this,P.J7);zSh(this,P,this.qh(),W);lJ5(this,k,{seekSource:89,Fi:\"lifa_skip\"});this.wD||\n(this.wD=this.events.Z(this.api,\"progresssync\",function(){BF(Y.api.w_(),(0,g.lj)(),\"ad_to_video\");Y.wD&&(Y.events.nH(Y.wD),Y.wD=null)}));\nreturn!0};\ng.H.P7=function(W,Y){((Y===void 0?0:Y)||this.Fr||this.playback.getVideoData().Xj())&&this.playback.y5(\"sdai\",W)};\nvar kjS=0;g.f(yDC,g.D);g.H=yDC.prototype;g.H.onCueRangeEnter=function(W){if(this.W===this.app.D2()){var Y=this.C.get(W);Y?WeX(this,Y.target,Y.L7,W):this.Pz(\"dai.transitionfailure\",{e:\"unexpectedCueRangeTriggered\",cr:W.toString()})}else if(Y=this.K.find(function(T){return T.Ag.BK===W})){var k=Y.Ag,P=k.target;\nk=k.L7;P?WeX(this,P,k,W):Wy0(this,Y.vz,k,W)}};\ng.H.onQueuedVideoLoaded=function(){var W=this.G;bC(this);if(W){if(!cL(this,W)){var Y=this.app.D2();this.Pz(\"dai.transitionfailure\",{e:\"unexpectedPresentingPlayer\",pcpn:Y==null?void 0:Y.getVideoData().clientPlaybackNonce,ccpn:\"\"+W.playerVars.cpn})}this.app.D2().addCueRange(W.Ag.BK)}};\ng.H.seekTo=function(W,Y,k,P){W=W===void 0?0:W;Y=Y===void 0?{}:Y;P=P===void 0?null:P;if(k===void 0?0:k)Kxz(this,W,Y);else{k=this.app.D2()||null;var T=k===this.T?this.X:null;L8(this,!1);this.A5=W;this.N=Y;P!=null&&this.L.start(P);k&&(this.X=T||k.getPlayerState(),k.Rc(),this.T=k)}};\ng.H.OA=function(W){g.F7(W,128)&&Cez(this)};\ng.H.isManifestless=function(){return c3(this.W.getVideoData())};\ng.H.iz=function(){L8(this,!1);frd(this);g.D.prototype.iz.call(this)};\ng.H.Pz=function(W,Y){this.W.Pz(new g.LT(W,Y))};\nvar jEC=0;var jg7=\"MWEB TVHTML5 TVHTML5_AUDIO TVHTML5_CAST TVHTML5_KIDS TVHTML5_FOR_KIDS TVHTML5_SIMPLY TVHTML5_SIMPLY_EMBEDDED_PLAYER TVHTML5_UNPLUGGED TVHTML5_VR TV_UNPLUGGED_CAST WEB WEB_CREATOR WEB_EMBEDDED_PLAYER WEB_EXPERIMENTS WEB_GAMING WEB_HEROES WEB_KIDS WEB_LIVE_STREAMING WEB_MUSIC WEB_MUSIC_ANALYTICS WEB_MUSIC_INTEGRATIONS WEB_REMIX WEB_UNPLUGGED WEB_UNPLUGGED_ONBOARDING WEB_UNPLUGGED_OPS WEB_UNPLUGGED_PUBLIC\".split(\" \");g.f(eo,g.D);eo.prototype.n2=function(W){if(W)return this.K.get(W)};\neo.prototype.iz=function(){this.W.removeAll();this.K.removeAll();g.D.prototype.iz.call(this)};g.Xsc=qP(function(){var W=window.AudioContext||window.webkitAudioContext;try{return new W}catch(Y){return Y.name}});g.f(r7,g.c);g.H=r7.prototype;g.H.dk=function(){g.T$(this.element,g.xh.apply(0,arguments))};\ng.H.Fb=function(){this.L1&&(this.L1.removeEventListener(\"focus\",this.R1),g.q8(this.L1),this.L1=null)};\ng.H.Ij=function(){this.Xr();var W=this.app.V();W.il||this.dk(\"tag-pool-enabled\");W.X&&this.dk(g.xf.HOUSE_BRAND);W.playerStyle===\"gvn\"&&(this.dk(\"ytp-gvn\"),this.element.style.backgroundColor=\"transparent\");W.Gn&&(this.TA=g.TA(\"yt-dom-content-change\",this.resize,this));this.Z(window,\"orientationchange\",this.resize,this);this.Z(window,\"resize\",this.resize,this)};\ng.H.DX=function(W){g.S1(this.app.V());this.Wq=!W;dw(this)};\ng.H.resize=function(){if(this.L1){var W=this.o3();if(!W.isEmpty()){this.app.Ii.isFullscreen()&&Zt()&&this.gQ.start();var Y=!g.OL(W,this.Th.getSize()),k=FxX(this);Y&&(this.Th.width=W.width,this.Th.height=W.height);W=this.app.V();(k||Y||this.i9||W.Gn)&&this.app.Ii.publish(\"resize\",this.getPlayerSize())}}};\ng.H.qB=function(W,Y){this.updateVideoData(Y)};\ng.H.updateVideoData=function(W){if(this.L1){var Y=this.app.V();o4&&(this.L1.setAttribute(\"x-webkit-airplay\",\"allow\"),W.title?this.L1.setAttribute(\"title\",W.title):this.L1.removeAttribute(\"title\"));this.L1.setAttribute(\"controlslist\",\"nodownload\");Y.zR&&W.videoId&&(this.L1.poster=W.Ss(\"default.jpg\"))}Y=g.Eu(W,\"yt:bgcolor\");this.M0.style.backgroundColor=Y?Y:\"\";this.C$=hd(g.Eu(W,\"yt:stretch\"));this.us=hd(g.Eu(W,\"yt:crop\"),!0);g.ML(this.element,\"ytp-dni\",W.zr);this.app.V().U(\"delhi_modern_web_player\")&&\n(W=this.app.Ii.isHdr()||this.app.V().U(\"delhi_modern_web_player_disable_frosted_glass\")?\"none\":\"initial\",this.element.style.setProperty(\"--yt-frosted-glass-backdrop-filter-override\",W));this.resize()};\ng.H.setGlobalCrop=function(W){this.Eg=hd(W,!0);this.resize()};\ng.H.setCenterCrop=function(W){this.Bf=W;this.resize()};\ng.H.aS=function(){};\ng.H.getPlayerSize=function(){var W=this.app.V(),Y=this.app.Ii.isFullscreen(),k=W.externalFullscreen&&g.hN(W);if(Y&&Zt()&&!k)return new g.Sn(window.outerWidth,window.outerHeight);k=!isNaN(this.Sb.width)&&!isNaN(this.Sb.height);var P=this.app.V().U(\"kevlar_player_enable_squeezeback_fullscreen_sizing\")||this.app.V().U(\"web_watch_enable_fs_squeezeback_panels\");if(Y&&!k&&P)return new g.Sn(this.element.clientWidth,this.element.clientHeight);if(Y||W.KI){if(window.matchMedia){W=\"(width: \"+window.innerWidth+\n\"px) and (height: \"+window.innerHeight+\"px)\";this.ZI&&this.ZI.media===W||(this.ZI=window.matchMedia(W));var T=this.ZI&&this.ZI.matches}if(T)return new g.Sn(window.innerWidth,window.innerHeight)}else if(k)return this.Sb.clone();return new g.Sn(this.element.clientWidth,this.element.clientHeight)};\ng.H.o3=function(){var W=this.app.V().U(\"enable_desktop_player_underlay\"),Y=this.getPlayerSize(),k=g.je(this.app.V().experiments,\"player_underlay_min_player_width\");return W&&this.QI&&Y.width>k?(W=g.je(this.app.V().experiments,\"player_underlay_video_width_fraction\"),new g.Sn(Math.min(Y.height*this.getVideoAspectRatio(),Y.width*W),Math.min(Y.height,Y.width*W/this.getVideoAspectRatio()))):Y};\ng.H.getVideoAspectRatio=function(){return isNaN(this.C$)?fpq(this):this.C$};\ng.H.getVideoContentRect=function(W){var Y=this.o3();W=EPd(this,Y,this.getVideoAspectRatio(),W);return new g.$F((Y.width-W.width)/2,(Y.height-W.height)/2,W.width,W.height)};\ng.H.xp=function(W){this.QI=W;this.resize()};\ng.H.FJ=function(){return this.eH};\ng.H.onMutedAutoplayChange=function(){dw(this)};\ng.H.setInternalSize=function(W){g.OL(this.Sb,W)||(this.Sb=W,this.resize())};\ng.H.iz=function(){this.TA&&g.rx(this.TA);this.Fb();g.c.prototype.iz.call(this)};g.H=Jf1.prototype;g.H.click=function(W,Y){this.elements.has(W);this.W.has(W);var k=g.Zu();k&&W.visualElement&&g.Gm(k,W.visualElement,Y)};\ng.H.createClientVe=function(W,Y,k,P){var T=this;P=P===void 0?!1:P;this.elements.has(W);this.elements.add(W);k=O5C(k);W.visualElement=k;var I=g.Zu(),X=g.iK();I&&X&&(g.dS(\"combine_ve_grafts\")?ze(rZ(),k,X):g.nT(g.M$)(void 0,I,X,k));Y.addOnDisposeCallback(function(){T.elements.has(W)&&T.destroyVe(W)});\nP&&this.K.add(W)};\ng.H.createServerVe=function(W,Y,k){var P=this;k=k===void 0?!1:k;this.elements.has(W);this.elements.add(W);Y.addOnDisposeCallback(function(){P.destroyVe(W)});\nk&&this.K.add(W)};\ng.H.destroyVe=function(W){this.elements.has(W);this.elements.delete(W);this.J.delete(W);this.W.delete(W);this.K.delete(W)};\ng.H.Pn=function(W,Y){this.clientPlaybackNonce!==Y&&(this.clientPlaybackNonce=Y,Uk(rZ(),W),bev(this))};\ng.H.setTrackingParams=function(W,Y){this.elements.has(W);Y&&(W.visualElement=g.Ax(Y))};\ng.H.b8=function(W,Y,k){this.elements.has(W);Y?this.W.add(W):this.W.delete(W);var P=g.Zu(),T=W.visualElement;this.K.has(W)?P&&T&&(Y?g.Fq(P,[T]):g.Su(P,[T])):Y&&!this.J.has(W)&&(P&&T&&g.Of(P,T,void 0,k),this.J.add(W))};\ng.H.hasVe=function(W){return this.elements.has(W)};g.f(g.lz,g.D);g.lz.create=function(W,Y,k,P){try{var T=typeof W===\"string\"?W:\"player\"+g.Sh(W),I=zP[T];if(I){try{I.dispose()}catch(h){g.LH(h)}zP[T]=null}var X=new g.lz(W,Y,k,P);X.addOnDisposeCallback(function(){zP[T]=null;X.Fn&&X.Fn()});\nreturn zP[T]=X}catch(h){throw g.LH(h),(h&&h instanceof Error?h:Error(String(h))).stack;}};\ng.H=g.lz.prototype;g.H.qz=function(){return this.visibility};\ng.H.kU=function(W){var Y=this.zn();if(W!==Y){W.getVideoData().autonavState=Y.getVideoData().autonavState;Y.VQ(this.xE,this);var k=Y.getPlaybackRate();Y.dispose();this.ud.kU(W);W.setPlaybackRate(k);W.cH(this.xE,this);eiC(this)}};\ng.H.fn=function(){this.XN||(this.XN=g.fV(nJ(),bld()));return this.XN};\ng.H.Fb=function(W){if(this.mediaElement){this.W1&&(this.events.nH(this.W1),this.W1=null);g.eY(this.l2);this.D2().Fb(!0,!1,W);this.template.Fb();try{this.U(\"html5_use_async_stopVideo\")?this.mediaElement.dispose():this.mediaElement.uP()}catch(Y){g.Jx(Y)}this.mediaElement=null}};\ng.H.gk=function(W,Y,k){k=k===void 0?!1:k;if(W!==this.D2()){this.logger.debug(function(){return\"start set presenting player, type \"+W.getPlayerType()+\", vid \"+W.getVideoData().videoId});\nvar P=null;k||(k=this.D2(),P=k.getPlayerState(),this.logger.debug(\"set presenting player, destroy modules\"),FW(this.eL,3),Km(this,\"cuerangesremoved\",k.R7()),this.gs&&!W.isGapless()&&k.isGapless()&&this.mediaElement&&this.mediaElement.stopVideo(),k=W.Jf()&&k.Jf(),this.C1.k0(\"iv_s\"),y3v(this,k));W.getPlayerType()===1&&this.kU(W);fc$(this,W);this.ud.gk(W);this.mediaElement&&W.setMediaElement(this.mediaElement);W.cH(this.HR,this);W.hR()?Vb(this,\"setPresenting\",!1):(this.qB(\"newdata\",W,W.getVideoData()),\nP&&!g.krd(P,W.getPlayerState())&&this.r6(new g.MW(W.getPlayerState(),P)),Y=Y&&W.getPlayerType()===1,W.T2()&&!Y&&this.qB(\"dataloaded\",W,W.getVideoData()),(Y=(Y=W.getVideoData().K)&&Y.video)&&this.Ii.x8(\"onPlaybackQualityChange\",Y.quality),Km(this,\"cuerangesadded\",W.R7()),Y=W.getPlayerState(),g.p(Y,2)?g5z(this):g.p(Y,8)?W.playVideo():W.jT()&&W.pauseVideo(),Y=this.zn(),W.getPlayerType()===2&&(W.getVideoData().IW=Y.getVideoData().clientPlaybackNonce),W.getPlayerType()!==2||this.Tj()||(P=W.getVideoData(),\nY.iZ(P.clientPlaybackNonce,P.jW||\"\",P.breakType||0,P.Zm,P.videoId||\"\")),this.logger.debug(\"finish set presenting player\"))}};\ng.H.nY=function(){if(this.zn()!==this.D2()){var W=this.D2();this.logger.debug(function(){return\"release presenting player, type \"+W.getPlayerType()+\", vid \"+W.getVideoData().videoId});\nthis.gk(this.zn())}};\ng.H.Ln=function(){return this.ud};\ng.H.s1=function(W){return this.ud.s1(W)};\ng.H.H5=function(W){return this.ud.H5(W)};\ng.H.zn=function(){return this.ud.zn()};\ng.H.D2=function(){return this.ud.D2()};\ng.H.bx=XC(44);g.H.Lhg=function(){AS(this)||(this.logger.debug(\"application playback ready\"),this.IC(5))};\ng.H.nqS=function(){if(!AS(this)){this.logger.debug(\"playback ready\");O5(this);var W=this.D2(),Y=W.getPlayerState();W.jT()?this.pauseVideo():Y.isOrWillBePlaying()&&this.playVideo()}};\ng.H.canPlayType=function(W){return Bi(W)};\ng.H.V=function(){return this.zJ};\ng.H.getVideoData=function(){return this.D2().getVideoData()};\ng.H.b0=XC(11);g.H.Kq=function(){return this.zn().getVideoData()};\ng.H.getVideoLoadedFraction=function(W){return(W=this.s1({playerType:W}))?W.getVideoLoadedFraction():this.ud.W.getVideoLoadedFraction()};\ng.H.ai=function(){return this.template};\ng.H.gx=function(){return this.eL};\ng.H.w_=function(){return this.C1};\ng.H.jh=function(W,Y,k){(Y=this.s1({playerType:Y===void 0?1:Y}))&&Y.XT(W,void 0,k)};\ng.H.sI=function(){var W=this.eL.sI();this.Ii.publish(\"videoStatsPingCreated\",W);return W};\ng.H.getVolume=function(){return Math.round(this.Ii.getVolume())};\ng.H.isMuted=function(){return this.Ii.isMuted()};\ng.H.fK=function(){if(this.zn()===this.D2()&&this.u8)return this.u8.postId};\ng.H.qUz=function(){var W=this;this.U(\"use_rta_for_player\")||(g.l_(this.zJ)?g.ws(this.zJ,g.Q7(this.getVideoData())).then(function(Y){ZD(nJ(),Y);rqp(W.getVideoData(),W.zJ,W.fn())}):rqp(this.getVideoData(),this.zJ,this.fn()))};\ng.H.O4=function(W){this.Ii.publish(\"poTokenVideoBindingChange\",W)};\ng.H.NP=function(W){this.Ii.publish(\"d6de4videobindingchange\",W)};\ng.H.qg=function(){this.Oi&&this.Oi.qg()};\ng.H.mF=function(W){this.Oi=W};\ng.H.G4=function(W){if(W===1){this.C1.tick(\"vr\");var Y=this.D2();Y.Zf();tEF(this.C1,Y.getVideoData(),kJ6(this));jq(this.eL)}Y=this.zJ;if(rn(Y)&&Y.L||g.gp(Y)){var k;(((k=this.D2().getVideoData())==null?0:k.enableServerStitchedDai)||!this.Tj())&&this.Ii.x8(\"onAdStateChange\",W)}};\ng.H.setLoopVideo=function(W){var Y=this.D2();Y===this.zn()&&Y.kN()!==W&&(Y.setLoop(W),this.Ii.Ri(\"onLoopChange\",W))};\ng.H.getLoopVideo=function(){return this.D2().kN()};\ng.H.setLoopRange=function(W){var Y=!1;!!this.u8!==!!W?Y=!0:this.u8&&W&&(Y=this.u8.startTimeMs!==W.startTimeMs||this.u8.endTimeMs!==W.endTimeMs||this.u8.postId!==W.postId||this.u8.type!==W.type);if(Y){Y=this.D2();Dq(Y.getVideoData())&&Y.y5(\"slr\",{et:(W==null?void 0:W.endTimeMs)||-1});Y=this.zn();Y.fq(\"applooprange\");if(W){var k=new g.Mm(W.startTimeMs,W.endTimeMs,{id:\"looprange\",namespace:\"applooprange\"});Y.addCueRange(k)}else{this.Kq().clipConfig=void 0;var P;((k=this.u8)==null?void 0:k.type)!==\"repeatChapter\"||\nisNaN(Number((P=this.u8)==null?void 0:P.loopCount))||(k={loopCount:String(this.u8.loopCount),cpn:this.getVideoData().clientPlaybackNonce},g.qc(\"repeatChapterLoopEvent\",k))}this.u8=W;this.Ii.Ri(\"onLoopRangeChange\",W||void 0);this.zn()===this.D2()&&(this.IF(),Y.vA())}};\ng.H.getLoopRange=function(){return this.u8};\ng.H.IF=function(){var W=\"\",Y=this.zn();this.u8?Y!==this.D2()?W=\"pnea\":Ew1(this,Y.getCurrentTime())&&(this.u8.loopCount=0,W=\"ilr\"):W=\"nlr\";var k=this.D2();if(Dq(k.getVideoData()))if(this.U(\"html5_gapless_log_loop_range_info\")){var P,T;k.y5(\"slrre\",{rej:W,ct:Y.getCurrentTime(),lst:(P=this.u8)==null?void 0:P.startTimeMs,let:(T=this.u8)==null?void 0:T.endTimeMs})}else k.y5(\"slrre\",{});W||iCB(this)};\ng.H.setPlaybackRate=function(W,Y){if(!isNaN(W)){W=Wg5(this,W);var k=this.zn();k.getPlaybackRate()!==W&&(k.setPlaybackRate(W),Y&&!this.zJ.T&&g.Zm(\"yt-player-playback-rate\",W),this.Ii.x8(\"onPlaybackRateChange\",W))}};\ng.H.getCurrentTime=function(W,Y){Y=Y===void 0?!0:Y;var k=this.ud.sA;if(k)return k.getCurrentTime();var P=W===2&&this.getVideoData().enableServerStitchedDai;k=null;P?k=this.D2():k=this.s1({playerType:W});return k?P&&this.cz?(W=this.ud.G)?W.getCurrentTime(Y):k.getCurrentTime():Y?(Y=aK(this,k),tO(this,Y.getCurrentTime(),Y)):k.getCurrentTime():this.ud.W.getCurrentTime()};\ng.H.F8=function(){var W=this.s1({playerType:void 0});if(!W)return this.ud.W.F8();W=aK(this,W);return tO(this,W.F8(),W)};\ng.H.getDuration=function(W,Y){Y=Y===void 0?!0:Y;var k=this.ud.sA;if(k)return k.getDuration();k=this.getVideoData();var P=W===2&&k.enableServerStitchedDai,T=null;P?T=this.D2():T=this.s1({playerType:W});if(!T)return this.ud.W.getDuration();if(k.hasProgressBarBoundaries()&&!P){var I,X=Number((I=k.progressBarStartPosition)==null?void 0:I.utcTimeMillis),h;I=Number((h=k.progressBarEndPosition)==null?void 0:h.utcTimeMillis);if(!isNaN(X)&&!isNaN(I))return(I-X)/1E3}if(Dq(k)&&!k.isLivePlayback)return TX(this,\nW);if(Y)return W=IO(this,T),tO(this,W.getDuration(),W);if(P&&this.cz){if(this.U(\"html5_huli_ssdai_use_playback_state\"))return W=this.ud,W=W.T===W.G?W.T:null,(W==null?void 0:W.getDuration())||0;var B;return((B=this.ud.G)==null?void 0:B.getDuration())||0}return T.getDuration()};\ng.H.hT=function(W){var Y=this.s1({playerType:W});return Y?this.Tj(Y)?(Y=IO(this,Y),Y.hT()-Y.getCurrentTime()+this.getCurrentTime(W)):Y.hT():this.ud.W.hT()};\ng.H.finishSegmentByCpn=function(){return[]};\ng.H.Ij=function(){this.template.Ij();var W=this.Ii;W.state.element=this.template.element;var Y=W.state.element,k;for(k in W.state.W)W.state.W.hasOwnProperty(k)&&(Y[k]=W.state.W[k]);(W=o62(this.template.element))&&this.events.Z(this.template,W,this.onFullscreenChange)};\ng.H.getDebugText=function(W){var Y=this.zn().ER(W),k=this.D2();if(k!==this.zn()){k=k.ER(W);for(var P=g.e(Object.keys(k)),T=P.next();!T.done;T=P.next())T=T.value,Y[\"ad\"+T]=k[T];if(W){k=Y;P={};if(T=GX(document,\"movie_player\"))P.bounds=T.getBoundingClientRect(),P[\"class\"]=T.className;T={};var I=g.hr(\"video-ads\");I?(SL0(I,T),T.html=I.outerHTML):T.missing=1;I={};var X=g.hr(\"videoAdUiSkipContainer\"),h=g.hr(\"ytp-ad-skip-button-container\"),B=g.hr(\"ytp-skip-ad-button\"),O=X||h||B;O?(SL0(O,I),I.ima=X?1:0,I.bulleit=\nh?1:0,I.component=B?1:0):I.missing=1;P=JSON.stringify({player:P,videoAds:T,skipButton:I});k.ad_skipBtnDbgInfo=P}}W&&this.mediaElement&&(Y[\"0sz\"]=\"\"+(+TYN(this.mediaElement.getSize())===0),Y.op=this.mediaElement.RY(\"opacity\"),k=this.mediaElement.oE().y+this.mediaElement.getSize().height,Y.yof=\"\"+(+k<=0),Y.dis=this.mediaElement.RY(\"display\"));W&&((W=(0,g.Yq)())&&(Y.gpu=W),(W=this.zJ.playerStyle)&&(Y.ps=W),this.zJ.GJ&&(Y.webview=1),(W=this.webPlayerContextConfig.jsUrl)&&(Y.js=W));Y.debug_playbackQuality=\nthis.Ii.getPlaybackQuality(1);Y.debug_date=(new Date).toString();Y.origin=window.origin;Y.timestamp=Date.now();delete Y.uga;delete Y.q;return JSON.stringify(Y,null,2)};\ng.H.getFeedbackProductData=function(){var W={player_debug_info:this.getDebugText(!0),player_experiment_ids:this.V().experiments.experimentIds.join(\", \"),player_release:S[16]},Y=this.getPlayerStateObject().dc;Y&&(W.player_error_code=Y.errorCode,W.player_error_details=JSON.stringify(Y.errorDetail));return W};\ng.H.getPresentingPlayerType=function(W){if(this.appState===1)return 1;if(AS(this))return 3;var Y;return W&&((Y=this.cz)==null?0:Xk(Y,this.getCurrentTime()))?2:this.D2().getPlayerType()};\ng.H.Yo=function(){return!1};\ng.H.getPlayerStateObject=function(W){var Y=this.ud.sA;return Y?Y.getPlayerState():this.s1({playerType:W}).getPlayerState()};\ng.H.getAppState=function(){return this.appState};\ng.H.x6P=function(W){switch(W.type){case \"loadedmetadata\":this.XX.start();W=g.e(this.Xa);for(var Y=W.next();!Y.done;Y=W.next())Y=Y.value,GMC(this,Y.id,Y.FrS,Y.XKa,void 0,!1);this.Xa=[];break;case \"loadstart\":this.C1.k0(\"gv\");break;case \"progress\":case \"timeupdate\":Gc(W.target.EE())>=2&&this.C1.k0(\"l2s\");break;case \"playing\":g.jx&&this.XX.start();if(g.l_(this.zJ))W=!1;else{Y=g.dJ(this.gx());W=this.mediaElement.RY(\"display\")===\"none\"||TYN(this.mediaElement.getSize())===0;var k=mn(this.template),P=this.D2().getVideoData(),\nT=g.m9(this.zJ);P=a7(P);Y=!k||Y||T||P||this.zJ.bz;W=W&&!Y}W&&(W=this.D2(),W.DB(),this.getVideoData().xm||(this.getVideoData().xm=1,this.Vp(),W.playVideo()))}};\ng.H.gq6=function(W){this.Ii.i7(\"onLoadProgress\",W)};\ng.H.m6P=function(){this.Ii.publish(\"playbackstalledatstart\")};\ng.H.Xah=function(W,Y){this.Ii.publish(\"sabrCaptionsDataLoaded\",W,Y)};\ng.H.ohJ=function(W){this.D2().fS(W)};\ng.H.T55=function(W){this.D2().Z8(W)};\ng.H.ZHJ=function(W){W=aK(this,this.D2());W=tO(this,W.getCurrentTime(),W);this.Ii.x8(\"onVideoProgress\",W);this.zJ.wX&&$z5(this,this.visibility.Wl())&&this.pauseVideo()};\ng.H.wah=function(){this.Ii.x8(\"onAutoplayBlocked\");var W=this.D2().getVideoData();W&&(W.rr=!0);this.U(\"embeds_enable_autoplay_and_visibility_signals\")&&g.hN(this.zJ)&&(W={autoplayBrowserPolicy:fS(),autoplayIntended:O0(this.getVideoData()),autoplayStatus:\"AUTOPLAY_STATUS_BLOCKED\",cpn:this.getVideoData().clientPlaybackNonce,intentionalPlayback:this.intentionalPlayback},g.qc(\"embedsAutoplayStatusChanged\",W))};\ng.H.sIS=function(){this.Ii.publish(\"progresssync\")};\ng.H.U6i=function(){this.Ii.i7(\"onPlaybackPauseAtStart\")};\ng.H.M1J=function(W){if(this.getPresentingPlayerType()===1){g.F7(W,1)&&!g.p(W.state,64)&&this.Kq().isLivePlayback&&this.zn().isAtLiveHead()&&this.Ii.getPlaybackRate()>1&&this.setPlaybackRate(1,!0);if(g.F7(W,2)){if(this.u8&&this.u8.endTimeMs>=(this.getDuration()-1)*1E3){iCB(this);return}g5z(this)}if(g.p(W.state,128)){var Y=W.state;this.cancelPlayback(5);Y=Y.dc;JSON.stringify({errorData:Y,debugInfo:this.getDebugText(!0)});this.Ii.x8(\"onError\",Xdh(Y.errorCode));this.Ii.i7(\"onDetailedError\",{errorCode:Y.errorCode,\nerrorDetail:Y.errorDetail,message:Y.errorMessage,messageKey:Y.bI,cpn:Y.cpn});(0,g.lj)()-this.zJ.fN>6048E5&&this.Ii.i7(\"onReloadRequired\")}Y={};if(W.state.isPlaying()&&!W.state.isBuffering()&&!IQ(\"pbresume\",\"ad_to_video\")&&IQ(\"_start\",\"ad_to_video\")){var k=this.getVideoData();Y.clientPlaybackNonce=k.clientPlaybackNonce;k.videoId&&(Y.videoId=k.videoId);g.lN(Y,\"ad_to_video\");aj(\"pbresume\",void 0,\"ad_to_video\");jq(this.eL)}this.Ii.publish(\"applicationplayerstatechange\",W)}};\ng.H.r6=function(W){this.ud.sA||this.Ii.publish(\"presentingplayerstatechange\",W)};\ng.H.OA=function(W){uQ(this,I4(W.state));g.p(W.state,1024)&&this.Ii.isMutedByMutedAutoplay()&&(Ij(this,{muted:!1,volume:this.VH.volume},!1),Sw(this,!1))};\ng.H.onPlayerRequestSent=function(W){this.Ii.Ri(\"onPlayerRequestSent\",W)};\ng.H.mw=function(W,Y){W===\"newdata\"&&eiC(this);this.Ii.publish(\"applicationvideodatachange\",W,Y)};\ng.H.Pd6=function(W,Y){this.U(\"html5_afmt_change_update_volume\")&&O5(this);this.Ii.i7(\"onPlaybackAudioChange\",this.Ii.getAudioTrack().Ib.name);this.Ii.publish(\"internalaudioformatchange\",this.Ii.getAudioTrack().Ib.id,Y)};\ng.H.jI5=function(W){var Y=this.D2().getVideoData();W===Y&&this.Ii.x8(\"onPlaybackQualityChange\",W.K.video.quality)};\ng.H.X_=function(){var W=this.ud.J[2]||null;W&&(W=W.getVideoData(),this.D2().y5(\"ssdai\",{cleanaply:1,acpn:W==null?void 0:W.clientPlaybackNonce,avid:W.videoId,isDai:this.Kq().enableServerStitchedDai?1:0}),delete this.ud.J[2])};\ng.H.IY5=function(W,Y){this.qB(W,this.D2(),Y)};\ng.H.qB=function(W,Y,k){this.logger.debug(function(){return\"on video data change \"+W+\", player type \"+Y.getPlayerType()+\", vid \"+k.videoId});\nthis.zJ.OR()&&Y.y5(\"vdc\",{type:W,vid:k.videoId||\"\",cpn:k.clientPlaybackNonce||\"\"});Y===this.zn()&&(this.zJ.u5=k.oauthToken);Y===this.zn()&&(this.getVideoData().enableServerStitchedDai&&!this.cz?(this.zn().y5(\"sdai\",{initSstm:1}),this.cz=new g.Y_(this.Ii,this.zJ,this.zn(),this)):!this.getVideoData().enableServerStitchedDai&&this.cz&&(this.cz.dispose(),this.cz=null));if(W===\"newdata\")this.logger.debug(\"new video data, destroy modules\"),FW(this.eL,2),this.Ii.publish(\"videoplayerreset\",Y);else{if(!this.mediaElement)return;\nW===\"dataloaded\"&&(this.zn()===this.D2()?(SX2(k.pg,k.Gk),bfF(this)):lUv(this));Y.getPlayerType()===1&&(this.zJ.OP&&ZpC(this),this.getVideoData().isLivePlayback&&!this.zJ.cF&&this.A$(\"html5.unsupportedlive\",2,\"DEVICE_FALLBACK\"),k.isLoaded()&&((dA7(k)||this.getVideoData().cF)&&this.Ii.publish(\"legacyadtrackingpingchange\",this.getVideoData()),k.hasProgressBarBoundaries()&&wUS(this)));this.Ii.publish(\"videodatachange\",W,k,Y.getPlayerType())}this.Ii.x8(\"onVideoDataChange\",{type:W,playertype:Y.getPlayerType()});\nthis.IF();var P=k.AN;P?this.mf.Pn(P,k.clientPlaybackNonce):bev(this.mf)};\ng.H.yd=function(){OT(this,null);this.Ii.i7(\"onPlaylistUpdate\")};\ng.H.rT5=function(W){delete this.yW[W.getId()];this.zn().removeCueRange(W);a:{W=this.getVideoData();var Y,k,P,T,I,X,h,B,O,u,Z=((Y=W.OP)==null?void 0:(k=Y.contents)==null?void 0:(P=k.singleColumnWatchNextResults)==null?void 0:(T=P.autoplay)==null?void 0:(I=T.autoplay)==null?void 0:I.sets)||((X=W.OP)==null?void 0:(h=X.contents)==null?void 0:(B=h.twoColumnWatchNextResults)==null?void 0:(O=B.autoplay)==null?void 0:(u=O.autoplay)==null?void 0:u.sets);if(Z)for(Y=g.e(Z),k=Y.next();!k.done;k=Y.next())if(k=\nk.value,T=P=void 0,k=k.autoplayVideo||((P=k.autoplayVideoRenderer)==null?void 0:(T=P.autoplayEndpointRenderer)==null?void 0:T.endpoint),P=g.R(k,g.Yi),I=T=void 0,k!=null&&((T=P)==null?void 0:T.videoId)===W.videoId&&((I=P)==null?0:I.continuePlayback)){W=k;break a}W=null}(Y=g.R(W,g.Yi))&&this.Ii.Ri(\"onPlayVideo\",{sessionData:{autonav:\"1\",itct:W==null?void 0:W.clickTrackingParams},videoId:Y.videoId,watchEndpoint:Y})};\ng.H.IC=function(W){var Y=this;W!==this.appState&&(this.logger.debug(function(){return\"app state change \"+Y.appState+\" -> \"+W}),W===2&&this.getPresentingPlayerType()===1&&(uQ(this,-1),uQ(this,5)),this.appState=W,this.Ii.publish(\"appstatechange\",W))};\ng.H.A$=function(W,Y,k,P,T){this.zn().SW(W,Y,k,P,T)};\ng.H.jF=XC(13);g.H.isAtLiveHead=function(W,Y){Y=Y===void 0?!1:Y;var k=this.s1({playerType:W});if(!k)return this.ud.W.isAtLiveHead();W=IO(this,k);k=aK(this,k);return W!==k?W.isAtLiveHead(tO(this,k.getCurrentTime(),k),!0):W.isAtLiveHead(void 0,Y)};\ng.H.O3=function(){var W=this.s1({playerType:void 0});return W?IO(this,W).O3():this.ud.W.O3()};\ng.H.seekTo=function(W,Y,k,P,T,I){Y=Y!==!1;if(P=this.s1({playerType:P}))if(this.appState===2&&Zc(this),this.Tj(P))zW(this)?this.cz.seekTo(W,{seekSource:T},Y,k):this.Ha.seekTo(W,{seekSource:T},Y,k);else{this.U(\"html5_sabr_csdai_seek_log\")||(I=\"\");var X;P.seekTo(W,{eh:!Y,nz:k,Fi:\"application\"+((X=I)!=null?X:\"\"),seekSource:T})}};\ng.H.seekBy=function(W,Y,k,P){this.seekTo(this.getCurrentTime()+W,Y,k,P,void 0,\"_by\")};\ng.H.Foz=function(){this.Ii.x8(\"SEEK_COMPLETE\")};\ng.H.Ko1=function(){this.Ii.Ri(\"onAbnormalityDetected\")};\ng.H.GWJ=function(W){this.Ii.Ri(\"onSnackbarMessage\",W)};\ng.H.HHJ=function(W){var Y=this.D2(),k=Y.getVideoData();if(this.appState===1||this.appState===2)k.startSeconds=W;this.appState===2?g.p(Y.getPlayerState(),512)||Zc(this):this.Ii.x8(\"SEEK_TO\",W)};\ng.H.vqg=function(){this.Ii.publish(\"airplayactivechange\")};\ng.H.iH5=function(){this.Ii.publish(\"airplayavailabilitychange\")};\ng.H.showAirplayPicker=function(){this.D2().i4()};\ng.H.JTz=function(){this.Ii.publish(\"beginseeking\")};\ng.H.TZ5=function(){this.Ii.publish(\"endseeking\")};\ng.H.getStoryboardFormat=function(W){return(W=this.s1({playerType:W}))?IO(this,W).getStoryboardFormat():this.ud.W.getStoryboardFormat()};\ng.H.T8=function(W){return(W=this.s1({playerType:W}))?IO(this,W).getVideoData().T8():this.ud.W.T8()};\ng.H.Tj=function(W){W=(W||this.D2()).getVideoData();if(zW(this))W=W===this.cz.playback.getVideoData();else a:{var Y=this.Ha;if(W===Y.W.getVideoData()&&Y.K.length)W=!0;else{Y=g.e(Y.K);for(var k=Y.next();!k.done;k=Y.next())if(W.U1===k.value.U1){W=!0;break a}W=!1}}return W};\ng.H.Oc=function(W,Y,k,P,T,I,X,h){this.logger.debug(function(){return\"Adding video to timeline id=\"+W.video_id+\"\\n lengthMs=\"+P+\" enterTimeMs=\"+T});\nvar B=\"\",O=zW(this);this.D2().y5(\"appattl\",{sstm:this.cz?1:0,ssenable:this.getVideoData().enableServerStitchedDai,susstm:O});O?(k=Pcv(this.cz,W,Y,k,P,T,I,X),B=(k==null?void 0:k.U1)||\"\",(this.U(\"html5_ssdai_new_decoration_logic\")||this.zn().getVideoData().MR)&&this.zn().uZ(h||\"\",Y,(k==null?void 0:k.clientPlaybackNonce)||\"\")):B=IF2(this.Ha,W,k,P,T,I);this.logger.debug(function(){return\"Video added to timeline id=\"+W.video_id+\" timelinePlaybackId=\"+B});\nreturn B};\ng.H.yq=function(W,Y,k,P,T,I,X){if(zW(this)){var h,B=(h=this.cz)==null?void 0:Pcv(h,W,Y,k,P,T,I,X);this.logger.debug(function(){return\"Remaining video added to timeline id=\"+W.video_id+\" timelinePlaybackId=\"+((B==null?void 0:B.U1)||\"\")})}};\ng.H.v9=function(W){(this.U(\"html5_ssdai_new_decoration_logic\")||this.zn().getVideoData().MR)&&this.zn().uZ(W,\"\",\"\");var Y;(Y=this.cz)==null||Y.v9(W)};\ng.H.J4=function(W,Y){W=W===void 0?-1:W;Y=Y===void 0?Infinity:Y;zW(this)||frd(this.Ha,W,Y)};\ng.H.bR=function(W,Y,k){if(zW(this)){var P=this.cz,T=P.W.s1({U1:W});T?(k===void 0&&(k=T.vz),DcX(P,T,Y,k)):P.kJ(\"Invalid_timelinePlaybackId_\"+W+\"_specified\")}else{P=this.Ha;T=null;for(var I=g.e(P.K),X=I.next();!X.done;X=I.next())if(X=X.value,X.U1===W){T=X;break}T?(k===void 0&&(k=T.vz),mod(P,T,Y,k)):QY(P,\"InvalidTimelinePlaybackId timelinePlaybackId=\"+W)}};\ng.H.enqueueVideoByPlayerVars=function(W,Y,k,P){k=k===void 0?Infinity:k;P=P===void 0?\"\":P;this.Tj();W=new g.NC(this.zJ,W);P&&(W.U1=P);MVz(this,W,Y,k)};\ng.H.queueNextVideo=function(W,Y,k,P,T){k=k===void 0?NaN:k;W=this.preloadVideoByPlayerVars(W,Y===void 0?1:Y,k,P===void 0?\"\":P,T===void 0?\"\":T);Y=this.D2();W&&(this.U(\"html5_check_queue_on_data_loaded\")?this.V().supportsGaplessShorts()&&Y.getVideoData().G&&(k=this.Hh,P=this.gs.C,k.T!==W&&(k.K=Y,k.T=W,k.J=1,k.W=W.getVideoData(),k.C=P,k.W.isLoaded()?k.X():k.W.subscribe(\"dataloaded\",k.X,k))):(k=Ked(Y,W,this.gs.C),k!=null?(Y.y5(\"sgap\",k),Y.getVideoData().G&&Y.Xc(!1)):(W=W.getVideoData(),Y=this.Hh,Y.W!==\nW&&(Y.W=W,Y.J=1,W.isLoaded()?Y.G():Y.W.subscribe(\"dataloaded\",Y.G,Y)))))};\ng.H.hq=function(W,Y,k,P){var T=this;k=k===void 0?0:k;P=P===void 0?0:P;IO(this,this.D2()).QW();gA6(this.gs,W,Y,k,P).then(function(){T.Ii.i7(\"onQueuedVideoLoaded\")},function(){})};\ng.H.g_=function(){return this.gs.g_()};\ng.H.jo=function(W){var Y=this.gs.W;return Y?Y.yr(W):!1};\ng.H.clearQueue=function(W,Y){W=W===void 0?!1:W;Y=Y===void 0?!1:Y;this.logger.debug(\"Clearing queue\");this.gs.clearQueue(W,Y)};\ng.H.loadVideoByPlayerVars=function(W,Y,k,P,T,I){Y=Y===void 0?1:Y;var X=this.zn();if(Y===2&&this.Kq().enableServerStitchedDai&&X&&!X.ri())return X.y5(\"lvonss\",{vid:(W==null?void 0:W.videoId)||\"\",ptype:Y}),!1;var h=!1;X=new g.NC(this.zJ,W);X.YF=I;g.Ae(this.zJ)&&!X.zv&&mB(this.C1);var B;I=this.C1;var O=(B=X.A5)!=null?B:\"\";I.timerName=O;this.C1.yC(\"pl_i\");this.U(\"web_player_early_cpn\")&&X.clientPlaybackNonce&&this.C1.infoGel({clientPlaybackNonce:X.clientPlaybackNonce});A60(X).supportsVp9Encoding===!1&&\nthis.D2().y5(\"noVp9enc\",{});if(this.V().supportsGaplessShorts()){B=byd(this.gs,X,Y);if(B==null){uQ(this,-1);var u;((u=this.gs.W)==null?0:u.getVideoData().isAd())||FO(this);W=this.gs;W.app.V().U(\"html5_gapless_new_slr\")?j5(W.app,\"gaplessshortslooprange\"):W.app.setLoopRange(null);W.app.getVideoData().AS=!0;var Z;(Z=W.W)==null||Z.FX();var M;(M=W.W)==null||M.D0();k={Fi:\"gapless_to_next_video\",seekSource:60,ED:W.C.W};P=g.je(W.app.V().experiments,\"html5_gapless_seek_offset\");T=Wn2(W);if(W.C.W){var t;X=\n((t=W.J)==null?void 0:WB(t))||{};t=X.o4;X=X.vy;X!=null&&t!=null&&(T=X-t+.001)}var q;(q=W.app.D2())==null||q.seekTo(T+P,k);if(!W.app.getPlayerStateObject(Y).isPlaying()){var G;(G=W.app.D2())==null||G.playVideo(!0)}var E;(E=W.app.D2())==null||E.UY();W.G();return!0}q=this.U(\"html5_shorts_gapless_preload_fallback\");G=this.gs.W;q&&G&&!G.Xr()&&(E=G.getVideoData(),this.ud.C.set(m2(Y,E),G,3600));this.gs.clearQueue(q);this.D2().y5(\"sgap\",{f:B})}if(T){for(;X.Zr.length&&X.Zr[0].isExpired();)X.Zr.shift();q=X.Zr.length-\n1;h=q>0&&T.K(X.Zr[q])&&T.K(X.Zr[q-1]);X.Zr.push(T)}k||(W&&h7(W)?(Bh(this.zJ)&&!this.XK&&(W.fetch=0),OT(this,W)):this.playlist&&OT(this,null),W&&(this.XK=ud(!1,W.external_list)));this.Ii.publish(\"loadvideo\");q=this.b2(X,Y,P);h&&this.A$(\"player.fatalexception\",1,\"GENERIC_WITH_LINK_AND_CPN\",(\"loadvideo.1;emsg.\"+X.Zr.join()).replace(/[;:,]/g,\"_\"));return q};\ng.H.preloadVideoByPlayerVars=function(W,Y,k,P,T){Y=Y===void 0?1:Y;k=k===void 0?NaN:k;P=P===void 0?\"\":P;T=T===void 0?\"\":T;var I=LuX(Y,W,T),X=this.ud.C.get(I)||null;if(X)return this.logger.debug(function(){return\"already preloaded \"+I}),X;\nW=new g.NC(this.zJ,W);T&&(W.U1=T);return eRd(this,W,Y,k,P)};\ng.H.setMinimized=function(W){this.visibility.setMinimized(W);(W=DiF(this.eL))&&(this.isMinimized()?W.load():W.unload());this.Ii.publish(\"minimized\")};\ng.H.setInline=function(W){this.visibility.setInline(W)};\ng.H.setInlinePreview=function(W){this.visibility.setInline(W)};\ng.H.FT=function(W){kEq(this,W)||this.visibility.FT(W)};\ng.H.setSqueezeback=function(W){this.visibility.setSqueezeback(W)};\ng.H.fb=function(){var W,Y=(W=this.mediaElement)==null?void 0:W.Tn();Y&&(this.zJ.qV&&rG(tb(function(){return document.exitFullscreen()}),function(){}),rG(tb(function(){return oD(Y)}),function(){}))};\ng.H.C7S=function(){this.mediaElement.Tn();this.mediaElement.Tn().webkitPresentationMode===\"picture-in-picture\"?this.FT(!0):this.FT(!1)};\ng.H.togglePictureInPicture=function(){this.D2().togglePictureInPicture()};\ng.H.b2=function(W,Y,k){Y=Y===void 0?1:Y;this.logger.debug(function(){return\"start load video, id \"+W.videoId+\", type \"+Y});\nIQ(\"_start\",this.C1.timerName)||g.nT(jp)(void 0,this.C1.timerName);var P=!1,T=Bp(this,Y,W,!1);T?(P=!0,W.dispose()):(T=UZ(this,Y,W,!0,k),(this.U(\"html5_onesie\")||this.U(\"html5_load_before_stop\"))&&T.L4()&&T.s$(),this.XX.stop(),Y===1&&Y!==this.getPresentingPlayerType()&&this.cancelPlayback(4),this.cancelPlayback(4,Y),this.gk(T));T===this.zn()&&(this.zJ.u5=W.oauthToken);if(!T.L4())return!1;if(T===this.zn())return this.IC(1),k=Zc(this),P&&this.U(\"html5_player_preload_ad_fix\")&&T.getPlayerType()===1&&\nT.T2()&&this.qB(\"dataloaded\",T,T.getVideoData()),k;T.rY();return!0};\ng.H.cueVideoByPlayerVars=function(W,Y){var k=this;Y=Y===void 0?1:Y;var P=this.zn();if(this.Kq().enableServerStitchedDai&&P&&!P.ri()&&W&&Object.keys(W).length>0)P.y5(\"qvonss\",{vid:(W==null?void 0:W.videoId)||\"\",ptype:Y});else if(W&&h7(W))if(this.EG=!0,OT(this,W),(W=g.Jv(this.playlist))&&W.Nt())rs(this,W,Y);else this.playlist.onReady(function(){Av(k)});\nelse{Y||(Y=this.getPresentingPlayerType());Y===1&&this.yd();P=new g.NC(this.zJ,W);var T=g.hN(this.zJ)&&!this.zJ.Kg&&Y===1&&!P.isAd()&&!P.jW;this.Ii.publish(\"cuevideo\");T?(this.D2().getVideoData().loading=!0,hW1(P,W?W:{}).then(function(I){rs(k,I,Y)}),P.dispose()):rs(this,P,Y)}};\ng.H.zq=function(W,Y,k,P,T,I,X){if(!W&&!k)throw Error(\"Playback source is invalid\");if(om(this.zJ)||g.xW(this.zJ))return Y=Y||{},Y.lact=Ud(),Y.vis=this.Ii.getVisibilityState(),this.Ii.Ri(\"onPlayVideo\",{videoId:W,watchEndpoint:I,sessionData:Y,listId:k}),!1;Td0(this.C1);this.C1.reset();W={video_id:W};P&&(W.autoplay=\"1\");P&&(W.autonav=\"1\");I&&(W.player_params=I.playerParams);X&&(W.oauth_token=X);k?(W.list=k,this.loadPlaylist(W)):this.loadVideoByPlayerVars(W,1);return!0};\ng.H.cuePlaylist=function(W,Y,k,P){this.EG=!0;fyz(this,W,Y,k,P)};\ng.H.loadPlaylist=function(W,Y,k,P){this.EG=!1;fyz(this,W,Y,k,P)};\ng.H.t3=function(){return this.Ii.isMutedByMutedAutoplay()?!1:this.ud.sA?!0:!(!this.playlist||!this.playlist.Gg())};\ng.H.wT=XC(5);\ng.H.nextVideo=function(W,Y){var k=g.Si(this.zn().getVideoData());g.Pw(this.Ii)&&k?this.zq(k.videoId,Y?k.wH:k.sessionData,k.playlistId,Y,void 0,k.XG||void 0):this.XK?this.Ii.i7(\"onPlaylistNext\"):this.getPresentingPlayerType()===3?mM(this.eL).nextVideo():!this.playlist||Bh(this.zJ)&&!this.Ii.isFullscreen()||(this.playlist.Gg(W)&&Me(this.playlist,CpS(this.playlist)),this.playlist.loaded?(W=Y&&this.zJ.U(\"html5_player_autonav_logging\"),Y&&this.Ii.publish(\"playlistautonextvideo\"),this.b2(g.Jv(this.playlist,void 0,\nY,W),1)):this.EG=!1)};\ng.H.previousVideo=function(W){this.XK?this.Ii.i7(\"onPlaylistPrevious\"):this.getPresentingPlayerType()===3?mM(this.eL).My():!this.playlist||Bh(this.zJ)&&!this.Ii.isFullscreen()||(this.playlist.EK(W)&&Me(this.playlist,L6S(this.playlist)),this.playlist.loaded?this.b2(g.Jv(this.playlist),1):this.EG=!1)};\ng.H.playVideoAt=function(W){this.XK?this.Ii.i7(\"onPlaylistIndex\",W):this.playlist&&(this.playlist.loaded?this.b2(g.Jv(this.playlist,W),1):this.EG=!1,Me(this.playlist,W))};\ng.H.getPlaylist=function(){return this.playlist};\ng.H.Zp=XC(19);g.H.g0=function(W){this.Xa=g.HE(this.Xa,function(I){return I.id!==W});\nfor(var Y=this.zn(),k=Y.R7(),P=0;P0&&(B=Math.floor(O/1E3))}B=Y?Y.sV:B;var u={AD_BLOCK:this.W++,AD_BREAK_LENGTH:B,AUTONAV_STATE:Lk(this.player.V()),CA_TYPE:\"image\",CPN:h.clientPlaybackNonce,DRIFT_FROM_HEAD_MS:this.player.O3()*1E3,LACT:Ud(),LIVE_INDEX:Y?this.J++:1,LIVE_TARGETING_CONTEXT:Y&&Y.context?Y.context:\"\",MIDROLL_POS:I?\nMath.round(I.start/1E3):0,MIDROLL_POS_MS:I?Math.round(I.start):0,VIS:this.player.getVisibilityState(),P_H:this.player.ai().o3().height,P_W:this.player.ai().o3().width,YT_REMOTE:T?T.join(\",\"):\"\"},Z=lh(bh);Object.keys(Z).forEach(function(t){Z[t]!=null&&(u[t.toUpperCase()]=Z[t].toString())});\nk!==\"\"&&(u.BISCOTTI_ID=k);k={};cQ(W)&&(k.sts=\"20319\",(Y=this.player.V().forcedExperiments)&&(k.forced_experiments=Y));var M=a8(g.Wu(W,u),k);return M.split(\"?\").length!==2?m5(Error(\"Invalid AdBreakInfo URL\")):g.ws(this.player.V(),h==null?void 0:h.oauthToken).then(function(t){if(t&&NU()){var q=nJ();ZD(q,t)}t=P.player.fn(q);q=SId(P,M,u,h.isMdxPlayback,X);return g.eh(t,q,\"/youtubei/v1/player/ad_break\").then(function(G){return G})})};\nxj.prototype.reset=function(){this.J=this.W=1};g.f(ek,xj);\nek.prototype.K=function(W,Y,k){Y=Y===void 0?{}:Y;var P=Y.AR;var T=Y.BK;var I=Y.cueProcessedMs;k=k===void 0?\"\":k;Y=this.W;this.W++;var X=this.player.V().U(\"h5_disable_macro_substitution_in_get_ad_break\")?W:ns1(this,W,{AR:P,BK:T,cueProcessedMs:I},k,Y);if(X.split(\"?\").length!==2)return Math.random()<.1&&g.Jx(Error(\"Invalid AdBreakInfo URL\")),m5(Error(\"Invalid AdBreakInfo URL\"));var h=this.player.getVideoData(1).isMdxPlayback,B=k;k=aMz.exec(X);k=k!=null&&k.length>=2?k[1]:\"\";W=WsV.test(X);var O=YIX.exec(X);\nO=O!=null&&O.length>=2?O[1]:\"\";var u=$yV.exec(X);u=u!=null&&u.length>=2&&!Number.isNaN(Number(u[1]))?Number(u[1]):1;var Z=k45.exec(X);Z=Z!=null&&Z.length>=2?Z[1]:\"0\";var M=g0(this.player.V().xf),t=g.Fx(this.player.getVideoData(1).UP,!0);Po7(this,t,X,B===\"\"?\"\":B,this.player.V(),this.player.getVideoData(1));B={splay:!1,lactMilliseconds:String(Ud()),playerHeightPixels:Math.trunc(this.player.ai().o3().height),playerWidthPixels:Math.trunc(this.player.ai().o3().width),vis:Math.trunc(this.player.getVisibilityState()),\nsignatureTimestamp:20319,autonavState:Lk(this.player.V())};if(h){h={};var q=this.player.V().RB;Tqd(h,q?q.join(\",\"):\"\")&&(B.mdxContext=h)}if(h=jb5.includes(M)?void 0:g.h1(\"PREF\")){q=h.split(RegExp(\"[:&]\"));for(var G=0,E=q.length;G1&&z[1].toUpperCase()===\"TRUE\"){t.user.lockedSafetyMode=!0;break}}B.autoCaptionsDefaultOn=IO2(h)}X=XPq.exec(X);(X=X!=null&&X.length>=2?X[1]:\"\")&&O&&(t.user.credentialTransferTokens=\n[{token:X,scope:\"VIDEO\"}]);X={contentPlaybackContext:B};B=this.player.getVideoData(1).getGetAdBreakContext();h=this.player.getVideoData(1).clientPlaybackNonce;q=I!==void 0?Math.round(I).toString():void 0;G=(P==null?0:P.context)?P.context:void 0;E=0;I&&T&&!P&&(T=T.end-T.start,T>0&&(E=Math.floor(T/1E3)));P=(P=Math.trunc((P?P.sV:E)*1E3))?String(P):void 0;T=this.player.O3()*1E3;T=Number.isNaN(T)?0:Math.trunc(T);Y={adBlock:Y,params:k,breakIndex:u,breakPositionMs:Z,clientPlaybackNonce:h,topLevelDomain:M,\nisProxyAdTagRequest:W,context:t,overridePlaybackContext:X,cueProcessedMs:q,videoId:O?O:void 0,liveTargetingParams:G,breakLengthMs:P,driftFromHeadMs:T?String(T):void 0,currentMediaTimeMs:String(Math.round(this.player.getCurrentTime(1)*1E3)),getAdBreakContext:B?B:void 0};return Koz(this,Y)};var h7h={pVS:\"replaceUrlMacros\",pHD:\"onAboutThisAdPopupClosed\",iaD:\"executeCommand\"};wX.prototype.Y$=function(){return\"adPingingEndpoint\"};\nwX.prototype.XL=function(W,Y,k){GK$(this.sP.get(),W,Y,k)};bW.prototype.Y$=function(){return\"changeEngagementPanelVisibilityAction\"};\nbW.prototype.XL=function(W){this.Y.Ri(\"changeEngagementPanelVisibility\",{changeEngagementPanelVisibilityAction:W})};G_.prototype.Y$=function(){return\"loggingUrls\"};\nG_.prototype.XL=function(W,Y,k){W=g.e(W);for(var P=W.next();!P.done;P=W.next())P=P.value,GK$(this.sP.get(),P.baseUrl,Y,k,P.attributionSrcMode)};g.f(asd,g.D);g.f(gA,g.D);g.H=gA.prototype;g.H.addListener=function(W){this.listeners.push(W)};\ng.H.removeListener=function(W){this.listeners=this.listeners.filter(function(Y){return Y!==W})};\ng.H.fh=function(W,Y,k,P,T,I,X,h){if(W===\"\")EF(\"Received empty content video CPN in DefaultContentPlaybackLifecycleApi\");else if(W!==this.W||k){this.W=W;this.Cg.get().fh(W,Y,k,P,T,I,X,h);this.qq.get().fh(W,Y,k,P,T,I,X,h);var B;(B=this.Va)==null||B.get().fh(W,Y,k,P,T,I,X,h);this.K.fh(W,Y,k,P,T,I,X,h);B=g.e(this.listeners);for(var O=B.next();!O.done;O=B.next())O.value.fh(W,Y,k,P,T,I,X,h)}else EF(\"Duplicate content video loaded signal\")};\ng.H.f_z=function(){this.W&&this.f7(this.W)};\ng.H.f7=function(W){this.W=void 0;for(var Y=g.e(this.listeners),k=Y.next();!k.done;k=Y.next())k.value.f7(W)};il.prototype.Jq=function(W,Y,k,P,T){ol2(this);this.C=!Y&&k===0;var I=this.Y.getVideoData(1),X=this.Y.getVideoData(2);I&&(this.contentCpn=I.clientPlaybackNonce,this.videoId=I.videoId,this.W=I.X);X&&(this.adCpn=X.clientPlaybackNonce,this.adVideoId=X.videoId,this.adFormat=X.adFormat);this.T=W;P<=0?(ol2(this),this.C=!Y&&k===0):(this.actionType=this.C?Y?\"unknown_type\":\"video_to_ad\":Y?\"ad_to_video\":\"ad_to_ad\",this.videoStreamType=T?\"VIDEO_STREAM_TYPE_LIVE\":\"VIDEO_STREAM_TYPE_VOD\",this.actionType!==\"unknown_type\"&&\n(this.J=!0,IQ(\"_start\",this.actionType)&&vqC(this)))};\nil.prototype.reset=function(){return new il(this.Y)};g.f(Mx,g.D);Mx.prototype.addCueRange=function(W,Y,k,P,T,I,X,h,B){I=I===void 0?3:I;X=X===void 0?1:X;this.W.has(W)?EF(\"Tried to register duplicate cue range\",void 0,void 0,{CueRangeID:W}):(W=new obF(W,Y,k,P,I,h,B),this.W.set(W.id,{BK:W,listener:T,WH:X}),this.Y.Bz([W],X))};\nMx.prototype.removeCueRange=function(W){var Y=this.W.get(W);Y?(this.Y.aB([Y.BK],Y.WH),this.W.delete(Y.BK.id)):EF(\"Requested to remove unknown cue range\",void 0,void 0,{CueRangeID:W})};\nMx.prototype.onCueRangeEnter=function(W){if(this.W.has(W.id))this.W.get(W.id).listener.onCueRangeEnter(W.id)};\nMx.prototype.onCueRangeExit=function(W){if(this.W.has(W.id))this.W.get(W.id).listener.onCueRangeExit(W.id)};\ng.f(obF,g.Mm);t2.prototype.addPlayerResponseForAssociation=function(W){this.Y.addPlayerResponseForAssociation(W)};qx.prototype.G4=function(W){this.Y.G4(W)};\nqx.prototype.ou=function(W){var Y=g.xh.apply(1,arguments);W===\"onAdStart\"||W===\"onAdEnd\"?this.Y.x8.apply(this.Y,[W].concat(g.cp(Y))):this.Y.Ri.apply(this.Y,[W].concat(g.cp(Y)))};RC.prototype.OU=function(W){return W&&dx(this)};var cy=null;g.f(xG,g.tR);xG.prototype.nm=function(W){return this.W.hasOwnProperty(W)?this.W[W].nm():{}};\ng.qa(\"ytads.bulleit.getVideoMetadata\",function(W){return NK().nm(W)});\ng.qa(\"ytads.bulleit.triggerExternalActivityEvent\",function(W,Y,k){var P=NK();k=qS2(k);k!==null&&P.publish(k,{queryId:W,viewabilityString:Y})});g.H=rA.prototype;g.H.h$=function(W,Y){if(!this.W.has(W))return{};if(Y===\"seek\"){Y=!1;Y=Y===void 0?!1:Y;var k=dU(fN).dN(W,{});k?Zb(k):Y&&(W=dU(fN).dJ(null,S9(),!1,W),W.DP=3,Xyz([W]));return{}}Y=JNQ(Y);if(Y===null)return{};var P=this.Y.Ud();if(!P)return{};var T=this.Y.getPresentingPlayerType(!0);if((k=this.Y.getVideoData(T))==null||!k.isAd())return{};k={opt_adElement:P,opt_fullscreen:this.Cg.get().isFullscreen()};return B91(Y,W,k)};\ng.H.Ns=function(W,Y,k,P,T){this.W.has(W)&&(P<=0||T<=0||dU(fN).Ns(W,Y,k,P,T))};\ng.H.qm=function(W){var Y;(Y=this.W.get(W.queryId))==null||Y.qm()};\ng.H.Hb=function(W){var Y;(Y=this.W.get(W.queryId))==null||Y.Hb()};\ng.H.GZ=function(W){var Y;(Y=this.W.get(W.queryId))==null||Y.GZ()};\ng.H.XY=function(W){var Y;(Y=this.W.get(W.queryId))==null||Y.XY()};\ng.H.FY=function(W){var Y;(Y=this.W.get(W.queryId))==null||Y.FY()};J80.prototype.send=function(W,Y,k,P){try{VZq(this,W,Y,k,P===void 0?!1:P)}catch(T){}};g.f(C81,J80);Ljz.prototype.send=function(W,Y,k,P){var T=!1;try{if(P===\"ATTRIBUTION_SRC_MODE_LABEL_CHROME\"||P===\"ATTRIBUTION_SRC_MODE_XHR_OPTION\")T=!0,W=BI0(W);P=T;var I=g.rM(W);if(I[1]===\"https\")var X=W;else I[1]=\"https\",X=MC(\"https\",I[2],I[3],I[4],I[5],I[6],I[7]);var h=$jd(X);I=[];var B=c9S(X)&&this.P6.get().Y.V().experiments.Nq(\"add_auth_headers_to_remarketing_google_dot_com_ping\");if(cQ(X)||B)I.push({headerType:\"USER_AUTH\"}),I.push({headerType:\"PLUS_PAGE_ID\"}),I.push({headerType:\"VISITOR_ID\"}),I.push({headerType:\"EOM_VISITOR_ID\"}),\nI.push({headerType:\"AUTH_USER\"}),I.push({headerType:\"DATASYNC_ID\"});this.W.send({baseUrl:X,scrubReferrer:h,headers:I},Y,k,P)}catch(O){}};av.prototype.Tv=function(){return this.Y.Tv(1)};g.f(K7,g.D);g.H=K7.prototype;g.H.s3=function(){return this.Y.getVideoData(1).clientPlaybackNonce};\ng.H.addListener=function(W){this.listeners.push(W)};\ng.H.removeListener=function(W){this.listeners=this.listeners.filter(function(Y){return Y!==W})};\ng.H.fh=function(){this.Fd.clear();this.ze=null;this.Dh.get().clear()};\ng.H.f7=function(){};\ng.H.B5h=function(W,Y,k,P,T){Y.videoId===\"nPpU29QrbiU\"&&this.Y.y5(\"ads_ssm_vdc_s\",{pt:k,dvt:W});w7(this.P6.get())&&W!==\"dataloaded\"||e$F(this,Y,k);if(dx(this.P6.get())&&W===\"newdata\"&&T!==void 0){W=this.s3();var I=Y.clientPlaybackNonce,X={};Mb(this,\"rte\",(X.ec=I,X.xc=P==null?void 0:P.clientPlaybackNonce,X.tr=T,X.pt=k,X.ia=I!==W,X.ctp=qb(I),X));Y=Y.clientPlaybackNonce;P=P==null?void 0:P.clientPlaybackNonce;T=yJV(T);if(T!==1)if(P!==void 0)for(k=g.e(this.listeners),W=k.next();!W.done;W=k.next())W.value.WO(P,\nY,T);else EF(\"Expected exiting CPN for all non initial transitions\",void 0,void 0,{enteringCpn:Y,transitionReason:String(T)});T=g.e(this.listeners);for(P=T.next();!P.done;P=T.next())P.value.z4(Y)}};\ng.H.YVh=function(W,Y){W!==void 0&&(this.ze=W,Y===void 0?EF(\"Expected ad video start time on SS video changed\"):this.Fd.set(W,Y));var k=this.Y.getPresentingPlayerType(!0),P=this.Y.getVideoData(k),T;W===void 0?T=null:T=this.Dh.get().W.get(W)||null;this.Y.getVideoData(1).y5(\"ads_ssvc\",{pt:k,cpn:P==null?void 0:P.clientPlaybackNonce,crtt:this.Y.getCurrentTime(1,!1),atlh:this.Y.isAtLiveHead(),adstt:Y,pid:W,slid:T==null?void 0:T.layoutId});P?e$F(this,P,k):EF(\"Expected video data on server stitched video changed\",\nvoid 0,void 0,{cpn:this.Y.getVideoData(1).clientPlaybackNonce,timelinePlaybackId:W})};\ng.H.pF=function(W,Y){var k=W.author,P=W.clientPlaybackNonce,T=W.isListed,I=W.U1,X=W.title,h=W.ws,B=W.eA,O=W.isMdxPlayback,u=W.Mv,Z=W.mdxEnvironment,M=W.isAutonav,t=W.mT,q=W.zv,G=W.Rr,E=W.videoId||\"\",z=W.profilePicture||\"\",A=W.zC||\"\",F=W.xZ()||!1,y=W.Xj()||!1;W=W.dS||void 0;I=this.Dh.get().W.get(I)||{layoutId:null,slotId:null};var U=this.Y.getVideoData(1),V=U.t9();U=U.getPlayerResponse();Y=1E3*this.Y.getDuration(Y);var b=1E3*this.Y.getDuration(1),Sz,jz,X7=(U==null?void 0:(Sz=U.playerConfig)==null?\nvoid 0:(jz=Sz.daiConfig)==null?void 0:jz.enableDai)||!1,O2,$5;Sz=(U==null?void 0:(O2=U.playerConfig)==null?void 0:($5=O2.daiConfig)==null?void 0:$5.enablePreroll)||!1;return Object.assign({},I,{videoId:E,author:k,clientPlaybackNonce:P,S_:Y,eS:b,daiEnabled:X7,SR:Sz,isListed:T,t9:V,profilePicture:z,title:X,zC:A,ws:h,eA:B,dS:W,isMdxPlayback:O,Mv:u,mdxEnvironment:Z,isAutonav:M,mT:t,zv:q,Rr:G,xZ:F,Xj:y})};\ng.H.iz=function(){this.listeners.length=0;this.Kc=null;g.D.prototype.iz.call(this)};g.f(J2,g.D);g.H=J2.prototype;g.H.fh=function(){var W=this;dx(this.P6.get())||(this.W=az(function(){W.Y.Xr()||W.Y.sU(\"ad\",1)}))};\ng.H.f7=function(){};\ng.H.addListener=function(W){this.listeners.push(W)};\ng.H.removeListener=function(W){this.listeners=this.listeners.filter(function(Y){return Y!==W})};\ng.H.Zk=function(){};\ng.H.playVideo=function(){this.Y.playVideo()};\ng.H.pauseVideo=function(){this.Y.pauseVideo()};\ng.H.resumeVideo=function(W){this.bl(W)&&this.Y.playVideo()};\ng.H.bl=function(W){return this.Y.getPlayerState(W)===2};\ng.H.getCurrentTimeSec=function(W,Y,k){var P=this.qq.get().ze;if(W===2&&!Y&&P!==null)return $_(this,P);v7(this.P6.get(),\"html5_ssap_use_cpn_to_get_time\")||(k=void 0);return k!==void 0?this.Y.getCurrentTime(W,Y,k):this.Y.getCurrentTime(W,Y)};\ng.H.getVolume=function(){return this.Y.getVolume()};\ng.H.isMuted=function(){return this.Y.isMuted()};\ng.H.getPresentingPlayerType=function(){return this.Y.getPresentingPlayerType(!0)};\ng.H.getPlayerState=function(W){return this.Y.getPlayerState(W)};\ng.H.getGetAdBreakContext=function(){return this.Y.getGetAdBreakContext()};\ng.H.isFullscreen=function(){return this.Y.isFullscreen()};\ng.H.isAtLiveHead=function(){return this.Y.isAtLiveHead()};\ng.H.xp=function(W){this.Y.xp(W)};\ng.H.NZ5=function(){var W=this.Y.getPresentingPlayerType(!0),Y=this.getCurrentTimeSec(W,!1);if(W===2){W=g.e(this.listeners);for(var k=W.next();!k.done;k=W.next())k.value.DJ(Y)}else if(W===1)for(W=g.e(this.Ne),k=W.next();!k.done;k=W.next())k.value.Zk(Y)};\ng.H.tj1=function(W){for(var Y=g.e(this.listeners),k=Y.next();!k.done;k=Y.next())k.value.Dg(W,this.getPresentingPlayerType())};\ng.H.onFullscreenToggled=function(W){for(var Y=g.e(this.listeners),k=Y.next();!k.done;k=Y.next())k.value.onFullscreenToggled(W)};\ng.H.onVolumeChange=function(){for(var W=g.e(this.listeners),Y=W.next();!Y.done;Y=W.next())Y.value.onVolumeChange()};\ng.H.XI=function(){for(var W=this.Y.isMinimized(),Y=g.e(this.listeners),k=Y.next();!k.done;k=Y.next())k.value.XI(W)};\ng.H.D6=function(W){for(var Y=g.e(this.listeners),k=Y.next();!k.done;k=Y.next())k.value.D6(W)};\ng.H.Rb=function(){for(var W=this.Y.ai().o3(),Y=g.e(this.listeners),k=Y.next();!k.done;k=Y.next())k.value.yb(W)};\ng.H.Z6=function(W){for(var Y=g.e(this.listeners),k=Y.next();!k.done;k=Y.next())k.value.Z6(W)};\ng.H.Bl=function(){for(var W=g.e(this.listeners),Y=W.next();!Y.done;Y=W.next())Y.value.Bl()};g.f(cO2,g.D);g.f(Cz,g.D);Cz.prototype.iz=function(){this.eN.Xr()||this.eN.get().removeListener(this);g.D.prototype.iz.call(this)};Hg.prototype.fetch=function(W){var Y=W.F2;return this.W.fetch(W.xD,{AR:W.AR===void 0?void 0:W.AR,BK:Y,cueProcessedMs:W.cueProcessedMs===void 0?0:W.cueProcessedMs}).then(function(k){return vcV(k,Y)})};g.f(ul,g.D);g.H=ul.prototype;g.H.addListener=function(W){this.listeners.push(W)};\ng.H.removeListener=function(W){this.listeners=this.listeners.filter(function(Y){return Y!==W})};\ng.H.eZ=function(W){Eh9(this,W,1)};\ng.H.onAdUxClicked=function(W,Y){xH(this,function(k){k.pu(W,Y)})};\ng.H.Ge=function(W){xH(this,function(Y){Y.hx(W)})};\ng.H.q$=function(W){xH(this,function(Y){Y.Lm(W)})};\ng.H.bgq=function(W){xH(this,function(Y){Y.aH(W)})};hE.prototype.reduce=function(W){switch(W.event){case \"unknown\":return}var Y=W.identifier;var k=this.W[Y];k?Y=k:(k={lx:null,Gy:-Infinity},Y=this.W[Y]=k);k=W.startSecs+W.W/1E3;if(!(k=this.W.startSecs&&k.startSecs<=this.W.startSecs+this.W.sV)){var P=void 0;if(gt(this.P6.get())&&k.identifier!==((P=this.W)==null?void 0:P.identifier)){var T=P=void 0,I=void 0,X=void 0;Fr(this.sP.get(),\"ocud\",\"ccpi.\"+k.identifier+\";ccpe.\"+k.event+\";ccps.\"+k.startSecs+\";\\n ccpd.\"+k.sV+\";pcpi.\"+((P=this.W)==null?void 0:P.identifier)+\n\";pcpe.\"+((T=this.W)==null?void 0:T.event)+\";\\n pcps.\"+((I=this.W)==null?void 0:I.startSecs)+\";pcpd.\"+((X=this.W)==null?void 0:X.sV)+\";\")}P=void 0;k.identifier!==((P=this.W)==null?void 0:P.identifier)&&EF(\"Latest Endemic Live Web cue point overlaps with previous cue point\")}else this.W=k,cyd(this,k)}};\ng.H.iz=function(){this.K!=null&&(this.K.unsubscribe(\"cuepointupdated\",this.Dk,this),this.K=null);this.listeners.length=0;this.lG.length=0;g.D.prototype.iz.call(this)};g.H=ko.prototype;g.H.Oc=function(W,Y,k,P,T,I,X,h){return this.Y.Oc(W,Y,k,P,T,I,X,h)};\ng.H.J4=function(W,Y){this.Y.J4(W,Y)};\ng.H.bR=function(W,Y,k){this.Y.bR(W,Y,k)};\ng.H.v9=function(W){this.Y.v9(W)};\ng.H.yq=function(W,Y,k,P,T,I,X,h){this.Y.yq(W,Y,k,P,T,I,X,h)};\ng.H.E0=function(W){return this.Y.E0(W)};\ng.H.finishSegmentByCpn=function(W,Y,k){k=bGd(k);this.Y.finishSegmentByCpn(W,Y,k)};g.f(sc,g.D);g.f(lDF,g.D);g.f(b3S,g.D);g.f(l35,g.D);g.f(Ah0,g.D);g.f(V$0,g.D);g.f(P8,g.D);P8.prototype.J=function(){return this.K};g.f(pM,mA);\npM.prototype.J=function(W){var Y=W.content;if(Y.componentType===\"shopping-companion\")switch(W.actionType){case 1:case 2:W=this.W.getVideoData(1);this.W.Ri(\"updateKevlarOrC3Companion\",{contentVideoId:W&&W.videoId,shoppingCompanionCarouselRenderer:Y.renderer,layoutId:Y.layoutId,macros:Y.macros,onLayoutVisibleCallback:Y.W,interactionLoggingClientData:Y.interactionLoggingClientData});break;case 3:this.W.Ri(\"updateKevlarOrC3Companion\",{})}else if(Y.componentType===\"action-companion\")switch(W.actionType){case 1:case 2:W=this.W.getVideoData(1);\nthis.W.Ri(\"updateKevlarOrC3Companion\",{contentVideoId:W&&W.videoId,actionCompanionAdRenderer:Y.renderer,layoutId:Y.layoutId,macros:Y.macros,onLayoutVisibleCallback:Y.W,interactionLoggingClientData:Y.interactionLoggingClientData});break;case 3:Y.renderer&&(Y=this.W.getVideoData(1),this.W.Ri(\"updateKevlarOrC3Companion\",{contentVideoId:Y&&Y.videoId})),this.W.Ri(\"updateKevlarOrC3Companion\",{})}else if(Y.componentType===\"image-companion\")switch(W.actionType){case 1:case 2:W=this.W.getVideoData(1);this.W.Ri(\"updateKevlarOrC3Companion\",\n{contentVideoId:W&&W.videoId,imageCompanionAdRenderer:Y.renderer,layoutId:Y.layoutId,macros:Y.macros,onLayoutVisibleCallback:Y.W,interactionLoggingClientData:Y.interactionLoggingClientData});break;case 3:Y=this.W.getVideoData(1),this.W.Ri(\"updateKevlarOrC3Companion\",{contentVideoId:Y&&Y.videoId}),this.W.Ri(\"updateKevlarOrC3Companion\",{})}else if(Y.componentType===\"top-banner-image-text-icon-buttoned\")switch(W.actionType){case 1:case 2:W=this.W.getVideoData(1);this.W.Ri(\"updateKevlarOrC3Companion\",\n{contentVideoId:W&&W.videoId,topBannerImageTextIconButtonedLayoutViewModel:Y.renderer,layoutId:Y.layoutId,macros:Y.macros,onLayoutVisibleCallback:Y.W,interactionLoggingClientData:Y.interactionLoggingClientData});break;case 3:Y.renderer&&(Y=this.W.getVideoData(1),this.W.Ri(\"updateKevlarOrC3Companion\",{contentVideoId:Y&&Y.videoId})),this.W.Ri(\"updateKevlarOrC3Companion\",{})}else if(Y.componentType===\"banner-image\")switch(W.actionType){case 1:case 2:W=this.W.getVideoData(1);this.W.Ri(\"updateKevlarOrC3Companion\",\n{contentVideoId:W&&W.videoId,bannerImageLayoutViewModel:Y.renderer,layoutId:Y.layoutId,macros:Y.macros,onLayoutVisibleCallback:Y.W,interactionLoggingClientData:Y.interactionLoggingClientData});break;case 3:Y=this.W.getVideoData(1),this.W.Ri(\"updateKevlarOrC3Companion\",{contentVideoId:Y&&Y.videoId}),this.W.Ri(\"updateKevlarOrC3Companion\",{})}else if(Y.componentType===\"ads-engagement-panel\")switch(Y=Y.renderer,W.actionType){case 1:case 2:this.W.Ri(\"updateEngagementPanelAction\",Y.addAction);this.W.Ri(\"changeEngagementPanelVisibility\",\nY.expandAction);break;case 3:this.W.Ri(\"changeEngagementPanelVisibility\",Y.hideAction),this.W.Ri(\"updateEngagementPanelAction\",Y.removeAction)}else if(Y.componentType===\"ads-engagement-panel-layout\"){var k=Y.renderer;switch(W.actionType){case 1:case 2:this.W.Ri(\"updateEngagementPanelAction\",{action:Rp(k.addAction),layoutId:Y.layoutId,onLayoutVisibleCallback:Y.W,interactionLoggingClientData:Y.interactionLoggingClientData});this.W.Ri(\"changeEngagementPanelVisibility\",Rp(k.expandAction));break;case 3:this.W.Ri(\"changeEngagementPanelVisibility\",\nRp(k.hideAction)),this.W.Ri(\"updateEngagementPanelAction\",{action:Rp(k.removeAction)})}}};g.f(mq,ls);g.H=mq.prototype;g.H.init=function(W,Y,k){ls.prototype.init.call(this,W,Y,k);g.KX(this.J,\"stroke-dasharray\",\"0 \"+this.K);this.J.classList.add(\"ytp-ad-timed-pie-countdown-inner-light\");this.C.classList.add(\"ytp-ad-timed-pie-countdown-outer-light\");this.T.classList.add(\"ytp-ad-timed-pie-countdown-container-upper-right\");this.show()};\ng.H.clear=function(){this.hide()};\ng.H.hide=function(){Cf(this);ls.prototype.hide.call(this)};\ng.H.show=function(){jG(this);ls.prototype.show.call(this)};\ng.H.Vy=function(){this.hide()};\ng.H.RS=function(){if(this.W){var W=this.W.getProgressState();W!=null&&W.current!=null&&g.KX(this.J,\"stroke-dasharray\",W.current/W.seekableEnd*this.K+\" \"+this.K)}};g.f(Vw9,CC);g.H=Vw9.prototype;\ng.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);if(Y.image&&Y.image.thumbnail)if(Y.headline)if(Y.description)if(Y.backgroundImage&&Y.backgroundImage.thumbnail)if(Y.actionButton&&g.R(Y.actionButton,g.FM))if(W=Y.durationMilliseconds||0,typeof W!==\"number\"||W<=0)g.LH(Error(\"durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: \"+W));else if(Y.navigationEndpoint){var P=this.api.getVideoData(2);if(P!=null){var T=Y.image.thumbnail.thumbnails;T!=null&&\nT.length>0&&g.Xi(g.AM(T[0].url))&&(T[0].url=P.profilePicture,g.Xi(g.AM(P.profilePicture))&&btV(\"VideoPlayer\",239976093,\"Expected non-empty profile picture.\"));T=Y.backgroundImage.thumbnail.thumbnails;T!=null&&T.length>0&&g.Xi(g.AM(T[0].url))&&(T[0].url=P.Ss());T=Y.headline;T!=null&&g.Xi(g.AM(T.text))&&(T.text=P.author)}this.N.init(R1(\"ad-image\"),Y.image,k);this.C.init(R1(\"ad-text\"),Y.headline,k);this.J.init(R1(\"ad-text\"),Y.description,k);this.GJ.init(R1(\"ad-image\"),Y.backgroundImage,k);P=[\"ytp-ad-action-interstitial-action-button\",\n\"ytp-ad-action-interstitial-action-button-rounded\"];this.slot.classList.add(\"ytp-ad-action-interstitial-slot-dark-background\");this.C.element.classList.add(\"ytp-ad-action-interstitial-headline-light\");this.J.element.classList.add(\"ytp-ad-action-interstitial-description-light\");P.push(\"ytp-ad-action-interstitial-action-button-dark\");this.api.V().K&&(P.push(\"ytp-ad-action-interstitial-action-button-mobile-companion-size\"),P.push(\"ytp-ad-action-interstitial-action-button-dark\"));this.api.V().U(\"enable_unified_action_endcap_on_web\")&&\n!this.api.V().K&&(P.push(\"ytp-ad-action-interstitial-action-button-unified\"),this.Q5.classList.add(\"ytp-ad-action-interstitial-action-button-container-unified\"),this.N.element.classList.add(\"ytp-ad-action-interstitial-image-unified\"),this.bz.classList.add(\"ytp-ad-action-interstitial-background-container-unified\"),this.Qt.classList.add(\"ytp-ad-action-interstitial-card-unified\"),this.Kg.classList.add(\"ytp-ad-action-interstitial-description-container-unified\"),this.J.element.classList.add(\"ytp-ad-action-interstitial-description-unified\"),\nthis.TJ.classList.add(\"ytp-ad-action-interstitial-headline-container-unified\"),this.C.element.classList.add(\"ytp-ad-action-interstitial-headline-unified\"),this.UP.classList.add(\"ytp-ad-action-interstitial-image-container-unified\"),this.Fr.classList.add(\"ytp-ad-action-interstitial-instream-info-unified\"),this.slot.classList.add(\"ytp-ad-action-interstitial-slot-unified\"));this.actionButton=new Yp(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,P);g.m(this,this.actionButton);this.actionButton.S1(this.Q5);\nthis.actionButton.init(R1(\"button\"),g.R(Y.actionButton,g.FM),k);tT(this.actionButton.element);P=UcN(this.actionButton.element);K5(this.actionButton.element,P+\" This link opens in new tab\");this.navigationEndpoint=Y.navigationEndpoint;this.T.Z(this.UP,\"click\",this.aj,this);this.T.Z(this.Kg,\"click\",this.aj,this);!this.api.V().U(\"enable_clickable_headline_for_action_endcap_on_mweb\")&&this.api.V().K||this.T.Z(this.TJ,\"click\",this.aj,this);this.W=this.rh?new PB(this.api,W):new bO(W);g.m(this,this.W);if(Y.skipButton){(W=\ng.R(Y.skipButton,KTc))&&this.W&&(this.skipButton=new rd(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.W,this.aF),g.m(this,this.skipButton),this.skipButton.S1(this.element),this.skipButton.init(R1(\"skip-button\"),W,k));if(k=Y.adBadgeRenderer)if(k=g.R(k,Gaw))W=new Ky(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!0,!0),W.S1(this.Fr),W.init(R1(\"simple-ad-badge\"),k,this.macros),g.m(this,W);if(k=Y.adInfoRenderer)if(k=g.R(k,i1))W=new cE(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.B6,this.element,void 0,!0),W.S1(this.Fr),W.init(R1(\"ad-info-hover-text-button\"),k,this.macros),g.m(this,W)}else Y.nonskippableOverlayRenderer&&(W=g.R(Y.nonskippableOverlayRenderer,bV))&&this.W&&(this.K=new kP(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.W,!1),g.m(this,this.K),this.K.S1(this.element),this.K.init(R1(\"ad-preview\"),W,k));Y.countdownRenderer&&(Y=Y.countdownRenderer,g.R(Y,Esp)&&this.W&&(k=new mq(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\nthis.W),g.m(this,k),k.S1(this.element),k.init(R1(\"timed-pie-countdown\"),g.R(Y,Esp),this.macros)));this.show();this.element.focus()}else g.LH(Error(\"AdActionInterstitialRenderer has no navigation endpoint.\"));else g.LH(Error(\"AdActionInterstitialRenderer has no button.\"));else g.LH(Error(\"AdActionInterstitialRenderer has no background AdImage.\"));else g.LH(Error(\"AdActionInterstitialRenderer has no description AdText.\"));else g.LH(Error(\"AdActionInterstitialRenderer has no headline AdText.\"));else g.LH(Error(\"AdActionInterstitialRenderer has no image.\"))};\ng.H.clear=function(){g.eY(this.T);this.hide()};\ng.H.show=function(){nBd(!0);this.actionButton&&this.actionButton.show();this.skipButton&&this.skipButton.show();this.K&&this.K.show();CC.prototype.show.call(this)};\ng.H.hide=function(){nBd(!1);this.actionButton&&this.actionButton.hide();this.skipButton&&this.skipButton.hide();this.K&&this.K.hide();CC.prototype.hide.call(this)};\ng.H.aj=function(){this.navigationEndpoint&&(this.layoutId?this.B6.executeCommand(this.navigationEndpoint,this.layoutId):g.LH(Error(\"Missing layoutId for ad action interstitial.\")))};var CI={iconType:\"CLOSE\"},nX=new g.Sn(320,63);g.f(IT,CC);g.H=IT.prototype;\ng.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);this.T=Y;this.N=g.N_(this.T.onClickCommands||[]);this.Fr=this.T.onErrorCommand||null;if(W=this.T.contentSupportedRenderer)W=this.T.contentSupportedRenderer,Y=this.T.adInfoRenderer||null,g.R(W,HXh)?(this.C=g.hr(\"ytp-ad-overlay-ad-info-button-container\",this.J.element),sGq(this,Y),W=lAC(this,g.R(W,HXh))):g.R(W,nsK)?(this.C=g.hr(\"ytp-ad-overlay-ad-info-button-container\",this.K.element),sGq(this,Y),W=qI2(this,g.R(W,nsK))):g.R(W,pLi)?(this.C=\ng.hr(\"ytp-ad-overlay-ad-info-button-container\",this.W.element),sGq(this,Y),W=oh1(this,g.R(W,pLi))):(g.LH(Error(\"InvideoOverlayAdRenderer content could not be initialized.\")),W=!1);W&&(this.show(),Qjd(this,!0))};\ng.H.clear=function(){Qjd(this,!1);this.UP.reset();this.Kg=0;this.J.hide();this.logVisibility(this.J.element,!1);this.K.hide();this.logVisibility(this.K.element,!1);this.W.hide();this.logVisibility(this.W.element,!1);this.hide();this.dispose()};\ng.H.ISa=function(){this.Q5&&(this.layoutId?this.B6.executeCommand(this.Q5,this.layoutId):g.LH(Error(\"Missing layoutId for invideo_overlay_ad.\")));this.api.pauseVideo()};\ng.H.jQ=function(){a:{if(this.T&&this.T.closeButton&&this.T.closeButton.buttonRenderer){var W=this.T.closeButton.buttonRenderer;if(W.serviceEndpoint){W=[W.serviceEndpoint];break a}}W=[]}W=g.e(W);for(var Y=W.next();!Y.done;Y=W.next())Y=Y.value,this.layoutId?this.B6.executeCommand(Y,this.layoutId):g.LH(Error(\"Missing layoutId for invideo_overlay_ad.\"));this.api.onAdUxClicked(\"in_video_overlay_close_button\",this.layoutId)};\ng.H.RSi=function(){this.GJ||this.api.getPlayerState(1)!==2||this.api.playVideo()};\ng.H.PW=function(){this.GJ||this.api.getPlayerState(1)!==2||this.api.playVideo();this.api.PW(\"invideo-overlay\")};\ng.H.NDh=function(W){W.target===this.C&&g.hr(\"ytp-ad-button\",this.bz.element).click()};g.f(uH,ls);g.H=uH.prototype;g.H.init=function(W,Y,k){ls.prototype.init.call(this,W,Y,k);W=Y.durationMs;this.J=W==null||W===0?0:W+this.W.getProgressState().current*1E3;if(Y.text)var P=Y.text.templatedAdText;else Y.staticMessage&&(P=Y.staticMessage);this.messageText.init(R1(\"ad-text\"),P,k);this.messageText.S1(this.K.element);this.T.show(100);this.show()};\ng.H.clear=function(){this.hide()};\ng.H.hide=function(){u7$(this,!1);ls.prototype.hide.call(this);this.K.hide();this.messageText.hide();Cf(this)};\ng.H.show=function(){u7$(this,!0);ls.prototype.show.call(this);jG(this);this.K.show();this.messageText.show()};\ng.H.Vy=function(){this.hide()};\ng.H.RS=function(){if(this.W!=null){var W=this.W.getProgressState();W!=null&&W.current!=null&&(W=1E3*W.current,!this.Kg&&W>=this.J?(this.T.hide(),this.Kg=!0):this.messageText&&this.messageText.isTemplated()&&(W=Math.max(0,Math.ceil((this.J-W)/1E3)),W!==this.C&&(YB6(this.messageText,{TIME_REMAINING:String(W)}),this.C=W)))}};g.f(v8,CC);g.H=v8.prototype;\ng.H.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,{});Y.image&&Y.image.thumbnail?Y.headline?Y.description?Y.actionButton&&g.R(Y.actionButton,g.FM)?(this.J.init(R1(\"ad-image\"),Y.image,k),this.K.init(R1(\"ad-text\"),Y.headline,k),this.T.init(R1(\"ad-text\"),Y.description,k),this.actionButton=new Yp(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,[\"ytp-ad-underlay-action-button\"]),Y.backgroundColor&&g.KX(this.element,\"background-color\",g.qg(Y.backgroundColor)),g.m(this,this.actionButton),\nthis.actionButton.S1(this.C),this.actionButton.init(R1(\"button\"),g.R(Y.actionButton,g.FM),k),W=g.je(this.api.V().experiments,\"player_underlay_video_width_fraction\"),this.api.V().U(\"place_shrunken_video_on_left_of_player\")?(Y=this.W,g.Sr(Y,\"ytp-ad-underlay-left-container\"),g.N6(Y,\"ytp-ad-underlay-right-container\"),g.KX(this.W,\"margin-left\",Math.round((W+.02)*100)+\"%\")):(Y=this.W,g.Sr(Y,\"ytp-ad-underlay-right-container\"),g.N6(Y,\"ytp-ad-underlay-left-container\")),g.KX(this.W,\"width\",Math.round((1-W-\n.04)*100)+\"%\"),this.api.FJ()&&this.show(),this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.J8.bind(this)),this.api.addEventListener(\"resize\",this.wj.bind(this))):g.LH(Error(\"InstreamAdPlayerUnderlayRenderer has no button.\")):g.LH(Error(\"InstreamAdPlayerUnderlayRenderer has no description AdText.\")):g.LH(Error(\"InstreamAdPlayerUnderlayRenderer has no headline AdText.\")):g.LH(Error(\"InstreamAdPlayerUnderlayRenderer has no image.\"))};\ng.H.show=function(){uO5(!0);this.actionButton&&this.actionButton.show();CC.prototype.show.call(this)};\ng.H.hide=function(){uO5(!1);this.actionButton&&this.actionButton.hide();CC.prototype.hide.call(this)};\ng.H.clear=function(){this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.J8.bind(this));this.api.removeEventListener(\"resize\",this.wj.bind(this));this.hide()};\ng.H.onClick=function(W){CC.prototype.onClick.call(this,W);this.actionButton&&g.MG(this.actionButton.element,W.target)&&this.api.pauseVideo()};\ng.H.J8=function(W){W===\"transitioning\"?(this.W.classList.remove(\"ytp-ad-underlay-clickable\"),this.show()):W===\"visible\"?this.W.classList.add(\"ytp-ad-underlay-clickable\"):W===\"hidden\"&&(this.hide(),this.W.classList.remove(\"ytp-ad-underlay-clickable\"))};\ng.H.wj=function(W){W.width>1200?(this.actionButton.element.classList.add(\"ytp-ad-underlay-action-button-large\"),this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-medium\")):W.width>875?(this.actionButton.element.classList.add(\"ytp-ad-underlay-action-button-medium\"),this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-large\")):(this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-large\"),this.actionButton.element.classList.remove(\"ytp-ad-underlay-action-button-medium\"));\ng.KX(this.K.element,\"font-size\",W.width/40+\"px\")};g.f(vr,CC);\nvr.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);Y.toggledLoggingParams&&(this.toggledLoggingParams=Y.toggledLoggingParams);Y.answer&&g.R(Y.answer,g.FM)?(W=new Yp(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,[\"ytp-ad-survey-answer-button\"],\"survey-single-select-answer-button\"),W.S1(this.answer),W.init(R1(\"ytp-ad-survey-answer-button\"),g.R(Y.answer,g.FM),k),W.show()):Y.answer&&g.R(Y.answer,EO)&&(this.W=new ZB(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,\n[\"ytp-ad-survey-answer-toggle-button\"]),this.W.S1(this.answer),g.m(this,this.W),this.W.init(R1(\"survey-answer-button\"),g.R(Y.answer,EO),k));this.show()};\nvr.prototype.yV=function(W){this.layoutId?Pj(this.B6,W,this.layoutId,this.macros):(W=new g.M6(\"There is undefined layoutId when calling the runCommand method.\",{componentType:this.componentType}),g.LH(W))};\nvr.prototype.onClick=function(W){CC.prototype.onClick.call(this,W);if(this.api.V().U(\"supports_multi_step_on_desktop\")&&this.index!==null)this.onSelected(this.index)};\nvr.prototype.clear=function(){this.hide()};g.f(dZ,CC);dZ.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);Y.answer&&g.R(Y.answer,EO)&&(this.button=new ZB(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,[\"ytp-ad-survey-answer-toggle-button\",\"ytp-ad-survey-none-of-the-above-button\"]),this.button.S1(this.W),this.button.init(R1(\"survey-none-of-the-above-button\"),g.R(Y.answer,EO),k));this.show()};g.f(rb,Yp);rb.prototype.init=function(W,Y,k){Yp.prototype.init.call(this,W,Y,k);W=!1;Y.text&&(Y=g.NF(Y.text),W=!g.Xi(Y));W||g.Jx(Error(\"No submit text was present in the renderer.\"))};\nrb.prototype.onClick=function(W){this.publish(\"l\");Yp.prototype.onClick.call(this,W)};g.f(LC,CC);\nLC.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);if(W=Y.skipOrPreviewRenderer)g.R(W,P5)?(W=g.R(W,P5),k=new NV(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.T,!0),k.S1(this.skipOrPreview),k.init(R1(\"skip-button\"),W,this.macros),g.m(this,k),this.W=k):g.R(W,bV)&&(W=g.R(W,bV),k=new kP(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.T,!1),k.S1(this.skipOrPreview),k.init(R1(\"ad-preview\"),W,this.macros),k.Kg.show(100),k.show(),g.m(this,k),\nthis.W=k);this.W==null&&(W=Error(\"ISAPOR.skipOrPreviewRenderer was not initialized properly.ISAPOR: \"+JSON.stringify(Y)),g.LH(W));Y.submitButton&&(W=Y.submitButton,g.R(W,g.FM)&&(W=g.R(W,g.FM),k=new rb(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),k.S1(this.submitButton),k.init(R1(\"survey-submit\"),W,this.macros),g.m(this,k),this.K=k));if(W=Y.adBadgeRenderer)W=g.R(W,Gaw),k=new Ky(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!0,!0,!0),k.S1(this.J),k.init(R1(\"simple-ad-badge\"),\nW,this.macros),this.adBadge=k.element,g.m(this,k);if(W=Y.adDurationRemaining)W=g.R(W,th9),k=new GF(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.T,void 0,!0),k.S1(this.J),k.init(R1(\"ad-duration-remaining\"),W,this.macros),g.m(this,k);(Y=Y.adInfoRenderer)&&g.R(Y,i1)&&(W=new cE(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.element,void 0,!0),g.m(this,W),this.adBadge!==void 0?this.J.insertBefore(W.element,this.adBadge.nextSibling):W.S1(this.J),W.init(R1(\"ad-info-hover-text-button\"),\ng.R(Y,i1),this.macros));this.show()};\nLC.prototype.clear=function(){this.hide()};g.f(dB,CC);dB.prototype.init=function(W,Y,k){CC.prototype.init.call(this,W,Y,k);Xz7(this)};\ndB.prototype.show=function(){this.J=Date.now();CC.prototype.show.call(this)};\ndB.prototype.Qu=function(){};g.f(Fz,dB);g.H=Fz.prototype;g.H.init=function(W,Y,k){var P=this;dB.prototype.init.call(this,W,Y,k);Y.questionText&&gyX(this,Y.questionText);Y.answers&&Y.answers.forEach(function(T,I){g.R(T,Gk)&&nuX(P,g.R(T,Gk),k,I)});\nthis.C=new Set(this.K.map(function(T){return T.W.W}));\n(W=Y.noneOfTheAbove)&&(W=g.R(W,RrN))&&SKj(this,W,k);Y.surveyAdQuestionCommon&&x1z(this,Y.surveyAdQuestionCommon);Y.submitEndpoints&&(this.submitEndpoints=Y.submitEndpoints);this.Z(this.element,\"change\",this.onChange);this.show()};\ng.H.Qu=function(){aA(this,!1);this.T.K.subscribe(\"l\",this.Gr2,this)};\ng.H.onChange=function(W){W.target===this.noneOfTheAbove.button.W?mtF(this):this.C.has(W.target)&&(this.noneOfTheAbove.button.toggleButton(!1),aA(this,!0))};\ng.H.Gr2=function(){var W=[],Y=this.K.reduce(function(T,I,X){var h=I.toggledLoggingParams;I.W&&I.W.isToggled()&&h&&(T.push(h),W.push(X));return T},[]).join(\"&\"),k=this.submitEndpoints.map(function(T){if(!T.loggingUrls)return T;\nT=g.EV(T);T.loggingUrls=T.loggingUrls.map(function(I){I.baseUrl&&(I.baseUrl=MD(I.baseUrl,Y));return I});\nreturn T});\nif(k){k=g.e(k);for(var P=k.next();!P.done;P=k.next())P=P.value,this.layoutId?Pj(this.B6,P,this.layoutId,this.macros):g.LH(Error(\"Missing layoutId for multi_select_question.\"))}this.api.V().U(\"supports_multi_step_on_desktop\")&&this.Kg(W)};\ng.H.clear=function(){this.api.V().U(\"enable_hide_on_clear_in_survey_question_bulleit\")?this.hide():this.dispose()};g.f(Gb,dB);Gb.prototype.init=function(W,Y,k){var P=this;dB.prototype.init.call(this,W,Y,k);Y.questionText&&gyX(this,Y.questionText);Y.answers&&Y.answers.forEach(function(T,I){g.R(T,Gk)&&nuX(P,g.R(T,Gk),k,I)});\nY.surveyAdQuestionCommon?x1z(this,Y.surveyAdQuestionCommon):c6(Error(\"SurveyAdQuestionCommon was not sent.SingleSelectQuestionRenderer: \"+JSON.stringify(Y)));this.show()};\nGb.prototype.clear=function(){this.api.V().U(\"enable_hide_on_clear_in_survey_question_bulleit\")?this.hide():this.dispose()};g.f(Rw,CC);Rw.prototype.init=function(W,Y,k){var P=this;CC.prototype.init.call(this,W,Y,k);if(this.api.V().U(\"supports_multi_step_on_desktop\")){var T;this.conditioningRules=(T=Y.conditioningRules)!=null?T:[];var I;this.K=(I=Y.questions)!=null?I:[];var X;((X=Y.questions)==null?0:X.length)&&DUq(this,0)}else(Y.questions||[]).forEach(function(h){g.R(h,u6)?Ux0(P,g.R(h,u6),k):g.R(h,Z_)&&mU2(P,g.R(h,Z_),k)});\nthis.show()};\nRw.prototype.clear=function(){this.api.V().U(\"enable_hide_on_clear_in_survey_question_bulleit\")?this.hide():(this.hide(),this.dispose())};\nRw.prototype.T=function(W){var Y=this;if(this.api.V().U(\"supports_multi_step_on_desktop\")){var k;if((k=this.conditioningRules)==null?0:k.length){var P;if(W.length===0)this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId);else if(this.conditioningRules.find(function(T){return T.questionIndex===Y.W})==null)g.LH(Error(\"Expected conditioning rule(s) for survey question.\")),this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId);\nelse if(this.conditioningRules.forEach(function(T){if(T.questionIndex===Y.W)switch(T.condition){case \"CONDITION_ALL_OF\":var I;if((I=T.answerIndices)==null?0:I.every(function(h){return W.includes(h)}))P=T.nextQuestionIndex;\nbreak;case \"CONDITION_ANY_OF\":var X;if((X=T.answerIndices)==null?0:X.some(function(h){return W.includes(h)}))P=T.nextQuestionIndex;\nbreak;default:g.LH(Error(\"Expected specified condition in survey conditioning rules.\"))}}),P!=null)DUq(this,P);\nelse this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId)}else this.questions.length>1&&g.LH(Error(\"No conditioning rules, yet survey is multi step. Expected questions.length to be 1.\")),this.api.onAdUxClicked(\"ad-action-submit-survey\",this.layoutId)}};g.f(U0,CC);\nU0.prototype.init=function(W,Y,k){var P=this;CC.prototype.init.call(this,W,Y,k);W=Y.timeoutSeconds||0;if(typeof W!==\"number\"||W<0)g.LH(Error(\"timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: \"+W));else if(Y.timeoutCommands)if(Y.text)if(Y.ctaButton&&g.R(Y.ctaButton,g.FM))if(Y.brandImage)if(Y.backgroundImage&&g.R(Y.backgroundImage,xw)&&g.R(Y.backgroundImage,xw).landscape){this.layoutId||g.LH(Error(\"Missing layoutId for survey interstitial.\"));HRv(this.interstitial,g.R(Y.backgroundImage,\nxw).landscape);HRv(this.logoImage,Y.brandImage);g.lS(this.text,g.NF(Y.text));var T=[\"ytp-ad-survey-interstitial-action-button\"];T.push(\"ytp-ad-survey-interstitial-action-button-rounded\");this.actionButton=new Yp(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,T);g.m(this,this.actionButton);this.actionButton.S1(this.K);this.actionButton.init(R1(\"button\"),g.R(Y.ctaButton,g.FM),k);this.actionButton.show();this.W=new PB(this.api,W*1E3);this.W.subscribe(\"g\",function(){P.transition.hide()});\ng.m(this,this.W);this.Z(this.element,\"click\",function(I){var X=I.target===P.interstitial;I=P.actionButton.element.contains(I.target);if(X||I)if(P.transition.hide(),X)P.api.onAdUxClicked(P.componentType,P.layoutId)});\nthis.transition.show(100)}else g.LH(Error(\"SurveyTextInterstitialRenderer has no landscape background image.\"));else g.LH(Error(\"SurveyTextInterstitialRenderer has no brandImage.\"));else g.LH(Error(\"SurveyTextInterstitialRenderer has no button.\"));else g.LH(Error(\"SurveyTextInterstitialRenderer has no text.\"));else g.LH(Error(\"timeoutSeconds was specified yet no timeoutCommands where specified\"))};\nU0.prototype.clear=function(){this.hide()};\nU0.prototype.show=function(){T50(!0);CC.prototype.show.call(this)};\nU0.prototype.hide=function(){T50(!1);CC.prototype.hide.call(this)};g.f(bs,ls);g.H=bs.prototype;\ng.H.init=function(W,Y){ls.prototype.init.call(this,W,Y,{});if(Y.durationMilliseconds){if(Y.durationMilliseconds<0){g.LH(Error(\"DurationMilliseconds was specified incorrectly in AdPreview with a value of: \"+Y.durationMilliseconds));return}this.K=Y.durationMilliseconds}else this.K=this.W.YG();var k;if((k=Y.previewText)==null||!k.text||g.Xi(Y.previewText.text))g.LH(Error(\"No text is returned for AdPreview.\"));else{this.C=Y.previewText;Y.previewText.isTemplated||g.lS(this.J,Y.previewText.text);var P;\nif(((P=this.api.getVideoData(1))==null?0:P.vu)&&Y.previewImage){var T,I;(W=((I=kMS(((T=Y.previewImage)==null?void 0:T.sources)||[],52,!1))==null?void 0:I.url)||\"\")&&W.length?(this.previewImage=new g.pk({S:\"img\",j:\"ytp-preview-ad__image\",D:{src:\"{{imageUrl}}\"}}),this.previewImage.updateValue(\"imageUrl\",W),g.m(this,this.previewImage),this.previewImage.S1(this.element)):g.LH(Error(\"Failed to get imageUrl in AdPreview.\"))}else this.J.classList.add(\"ytp-preview-ad__text--padding--wide\")}};\ng.H.clear=function(){this.hide()};\ng.H.hide=function(){Cf(this);ls.prototype.hide.call(this)};\ng.H.show=function(){jG(this);ls.prototype.show.call(this)};\ng.H.Vy=function(){this.hide()};\ng.H.RS=function(){if(this.W){var W=this.W.getProgressState();if(W!=null&&W.current)if(W=1E3*W.current,W>=this.K)this.transition.hide();else{var Y;if((Y=this.C)==null?0:Y.isTemplated)if(Y=Math.max(0,Math.ceil((this.K-W)/1E3)),Y!==this.T){var k,P;(W=(k=this.C)==null?void 0:(P=k.text)==null?void 0:P.replace(\"{TIME_REMAINING}\",String(Y)))&&g.lS(this.J,W);this.T=Y}}}};g.f(T7,CC);\nT7.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});var k,P;if((W=((P=kMS(((k=Y.image)==null?void 0:k.sources)||[],fX5(Y),!0))==null?void 0:P.url)||\"\")&&W.length){k=this.J5(\"ytp-ad-avatar\");k.src=W;var T,I;if(P=(T=Y.interaction)==null?void 0:(I=T.accessibility)==null?void 0:I.label)k.alt=P;switch(Y.size){case \"AD_AVATAR_SIZE_XXS\":this.element.classList.add(\"ytp-ad-avatar--size-xxs\");break;case \"AD_AVATAR_SIZE_XS\":this.element.classList.add(\"ytp-ad-avatar--size-xs\");break;case \"AD_AVATAR_SIZE_S\":this.element.classList.add(\"ytp-ad-avatar--size-s\");\nbreak;case \"AD_AVATAR_SIZE_M\":this.element.classList.add(\"ytp-ad-avatar--size-m\");break;case \"AD_AVATAR_SIZE_L\":this.element.classList.add(\"ytp-ad-avatar--size-l\");break;case \"AD_AVATAR_SIZE_XL\":this.element.classList.add(\"ytp-ad-avatar--size-xl\");break;case \"AD_AVATAR_SIZE_RESPONSIVE\":this.element.classList.add(\"ytp-ad-avatar--size-responsive\");break;default:this.element.classList.add(\"ytp-ad-avatar--size-m\")}switch(Y.style){case \"AD_AVATAR_STYLE_ROUNDED_CORNER\":this.element.classList.add(\"ytp-ad-avatar--rounded-corner\");\nbreak;default:this.element.classList.add(\"ytp-ad-avatar--circular\")}}else g.LH(Error(\"Failed to get imageUrl in AdAvatar.\"))};\nT7.prototype.clear=function(){this.hide()};\nT7.prototype.onClick=function(W){CC.prototype.onClick.call(this,W)};g.f(MI,CC);\nMI.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});var k;W=(k=Y.label)==null?void 0:k.content;if((k=W!=null&&!g.Xi(W))||Y.iconImage){k&&(this.buttonText=new g.pk({S:\"span\",j:\"ytp-ad-button-vm__text\",v6:W}),g.m(this,this.buttonText),this.buttonText.S1(this.element));var P,T,I=((P=Y.interaction)==null?0:(T=P.accessibility)==null?0:T.label)||k?W:\"\";I&&K5(this.element,I+\" This link opens in new tab\");tT(this.element);if(Y.iconImage){P=void 0;if(Y.iconImage){a:{T=Y.iconImage;if(T.sources)for(T=\ng.e(T.sources),W=T.next();!W.done;W=T.next())if(W=W.value,I=void 0,(I=W.clientResource)==null?0:I.imageName){T=W;break a}T=void 0}if(T){var X;P={iconType:(X=T.clientResource)==null?void 0:X.imageName}}}X=vD(P,!1,this.K);X!=null&&(this.buttonIcon=new g.pk({S:\"span\",j:\"ytp-ad-button-vm__icon\",B:[X]}),g.m(this,this.buttonIcon),Y.iconLeading?(FG(this.element,this.buttonIcon.element,0),this.buttonIcon.element.classList.add(\"ytp-ad-button-vm__icon--leading\")):k?(this.buttonIcon.S1(this.element),this.buttonIcon.element.classList.add(\"ytp-ad-button-vm__icon--trailing\")):\n(this.buttonIcon.S1(this.element),this.element.classList.add(\"ytp-ad-button-vm--icon-only\")))}switch(Y.style){case \"AD_BUTTON_STYLE_TRANSPARENT\":this.element.classList.add(\"ytp-ad-button-vm--style-transparent\");break;case \"AD_BUTTON_STYLE_FILLED_WHITE\":this.element.classList.add(\"ytp-ad-button-vm--style-filled-white\");break;case \"AD_BUTTON_STYLE_MONO_FILLED\":this.element.classList.add(\"ytp-ad-button-vm--style-mono-filled\");break;case \"AD_BUTTON_STYLE_FILLED\":this.api.U(\"delhi_modern_web_player\")?\nthis.element.classList.add(\"ytp-ad-button-vm--style-filled-white\"):this.element.classList.add(this.W?\"ytp-ad-button-vm--style-filled-dark\":\"ytp-ad-button-vm--style-filled\");break;default:this.element.classList.add(\"ytp-ad-button-vm--style-filled\")}switch(Y.size){case \"AD_BUTTON_SIZE_COMPACT\":this.element.classList.add(\"ytp-ad-button-vm--size-compact\");break;case \"AD_BUTTON_SIZE_LARGE\":this.element.classList.add(\"ytp-ad-button-vm--size-large\");break;default:this.element.classList.add(\"ytp-ad-button-vm--size-default\")}}else g.Jx(Error(\"AdButton does not have label or an icon.\"))};\nMI.prototype.clear=function(){this.hide()};\nMI.prototype.onClick=function(W){CC.prototype.onClick.call(this,W)};g.f(uDQ,ls);g.H=uDQ.prototype;\ng.H.init=function(W,Y){ls.prototype.init.call(this,W,Y,{});if(W=g.R(Y.avatar,vm)){var k=Y.headline;if(k){var P=Y.description;if(P){var T=g.R(Y.button,Lg);T?(this.adAvatar.init(R1(\"ad-avatar\"),W),this.headline.init(R1(\"ad-simple-attributed-string\"),new TT(k)),this.description.init(R1(\"ad-simple-attributed-string\"),new TT(P)),k.content&&k.content.length>20&&this.description.element.classList.add(\"ytp-ad-avatar-lockup-card__description--hidden--in--small--player\"),this.adButton.init(R1(\"ad-button\"),T),\nthis.startMilliseconds=Y.startMs||0,this.api.FJ()||this.show(),this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.pD.bind(this)),jG(this)):g.LH(Error(\"No AdButtonViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))}else g.LH(Error(\"No description is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))}else g.LH(Error(\"No headline is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))}else g.LH(Error(\"No AdAvatarViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel.\"))};\ng.H.RS=function(){if(this.W){var W=this.W.getProgressState();W&&W.current&&1E3*W.current>=this.startMilliseconds&&(Cf(this),this.element.classList.remove(\"ytp-ad-avatar-lockup-card--inactive\"))}};\ng.H.Vy=function(){this.clear()};\ng.H.onClick=function(W){this.api.pauseVideo();ls.prototype.onClick.call(this,W)};\ng.H.clear=function(){this.hide();this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.pD.bind(this))};\ng.H.show=function(){this.adAvatar.show();this.headline.show();this.description.show();this.adButton.show();ls.prototype.show.call(this)};\ng.H.hide=function(){this.adAvatar.hide();this.headline.hide();this.description.hide();this.adButton.hide();ls.prototype.hide.call(this)};\ng.H.pD=function(W){W===\"hidden\"?this.show():this.hide()};g.f(nU,CC);g.H=nU.prototype;\ng.H.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(!Y.label||g.Xi(Y.label))g.LH(Error(\"No label is returned for SkipAdButton.\"));else if(g.lS(this.T,Y.label),W=vD({iconType:\"SKIP_NEXT_NEW\"}),W==null)g.LH(Error(\"Unable to retrieve icon for SkipAdButton\"));else if(this.J=new g.pk({S:\"span\",j:\"ytp-skip-ad-button__icon\",B:[W]}),g.m(this,this.J),this.J.S1(this.element),this.api.V().experiments.Nq(\"enable_skip_to_next_messaging\")&&(Y=g.AM(Y.targetId)))this.K=!0,this.element.setAttribute(\"data-tooltip-target-id\",Y),\nthis.element.setAttribute(\"data-tooltip-target-fixed\",\"\")};\ng.H.onClick=function(W){W&&W.preventDefault();var Y,k;m50(W,{contentCpn:(k=(Y=this.api.getVideoData(1))==null?void 0:Y.clientPlaybackNonce)!=null?k:\"\"})===0?this.api.Ri(\"onAbnormalityDetected\"):(CC.prototype.onClick.call(this,W),this.api.Ri(\"onAdSkip\"),this.api.onAdUxClicked(this.componentType,this.layoutId))};\ng.H.clear=function(){this.W.reset();this.hide()};\ng.H.hide=function(){CC.prototype.hide.call(this)};\ng.H.show=function(){this.W.start();CC.prototype.show.call(this);this.K&&this.api.V().experiments.Nq(\"enable_skip_to_next_messaging\")&&this.api.publish(\"showpromotooltip\",this.element)};g.f(pU,ls);g.H=pU.prototype;\ng.H.init=function(W,Y){ls.prototype.init.call(this,W,Y,{});W=g.R(Y.preskipState,mBK);var k;if((k=this.api.getVideoData())==null?0:k.isDaiEnabled()){if(!W){g.LH(Error(\"No AdPreviewViewModel is returned in SkipAdViewModel.\"));return}this.K=new bs(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.W);g.m(this,this.K);this.K.S1(this.element);var P;(P=this.K)==null||P.init(R1(\"preview-ad\"),W);(k=this.K)!=null&&(k.transition.show(100),k.show())}(k=g.R(Y.skippableState,gs1))?(Y.skipOffsetMilliseconds!=\nnull?this.skipOffsetMilliseconds=Y.skipOffsetMilliseconds:(g.Jx(Error(\"No skipOffsetMilliseconds is returned in SkipAdViewModel.\")),this.skipOffsetMilliseconds=5E3),this.J.init(R1(\"skip-button\"),k),this.show()):g.LH(Error(\"No SkipAdButtonViewModel is returned in SkipAdViewModel.\"))};\ng.H.show=function(){jG(this);ls.prototype.show.call(this)};\ng.H.hide=function(){!this.isSkippable&&this.K?this.K.hide():this.J&&this.J.hide();Cf(this);ls.prototype.hide.call(this)};\ng.H.clear=function(){var W;(W=this.K)==null||W.clear();this.J&&this.J.clear();Cf(this);ls.prototype.hide.call(this)};\ng.H.Vy=function(){this.hide()};\ng.H.RS=function(){if(1E3*this.W.getProgressState().current>=this.skipOffsetMilliseconds&&!this.isSkippable){this.isSkippable=!0;var W;(W=this.K)!=null&&W.transition.hide();(W=this.J)!=null&&(W.transition.show(),W.show())}};g.f(QU,CC);\nQU.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(Y.label){var k;((k=Y.label)==null?0:k.content)&&!g.Xi(Y.label.content)&&(this.linkText=new g.pk({S:\"span\",j:\"ytp-visit-advertiser-link__text\",v6:Y.label.content}),g.m(this,this.linkText),this.linkText.S1(this.element));var P,T;if((P=Y.interaction)==null?0:(T=P.accessibility)==null?0:T.label)K5(this.element,Y.interaction.accessibility.label+\" This link opens in new tab\");else{var I;((I=Y.label)==null?0:I.content)&&!g.Xi(Y.label.content)&&K5(this.element,\nY.label.content+\" This link opens in new tab\")}tT(this.element);this.element.setAttribute(\"tabindex\",\"0\");this.show()}else g.LH(Error(\"No label found in VisitAdvertiserLink.\"))};\nQU.prototype.onClick=function(W){CC.prototype.onClick.call(this,W);this.api.onAdUxClicked(this.componentType,this.layoutId)};\nQU.prototype.clear=function(){this.hide()};g.f(H_,CC);\nH_.prototype.init=function(W,Y,k,P){CC.prototype.init.call(this,W,Y,{});if(Y.skipOrPreview){k=Y.skipOrPreview;W=g.R(k,FT$);k=g.R(k,mBK);if(W)this.U$=new pU(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.K),g.m(this,this.U$),this.U$.S1(this.N),this.U$.init(R1(\"skip-ad\"),W);else{var T;k&&((T=this.api.getVideoData())==null?0:T.isDaiEnabled())&&(this.T=new bs(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.K,1),g.m(this,this.T),this.T.S1(this.N),this.T.init(R1(\"ad-preview\"),\nk),T=this.T,T.transition.show(100),T.show())}if(T=g.R(Y.skipOrPreview,FT$))var I=T.skipOffsetMilliseconds}Y.playerAdCard&&(T=g.R(Y.playerAdCard,DBc))&&(this.playerAdCard=new uDQ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.K),g.m(this,this.playerAdCard),this.playerAdCard.S1(this.TJ),this.playerAdCard.init(R1(\"ad-avatar-lockup-card\"),T));Y.adBadgeRenderer&&((T=g.R(Y.adBadgeRenderer,Cg))?(this.J=new ID(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!0),g.m(this,\nthis.J),this.J.S1(this.W),this.J.init(R1(\"ad-badge\"),T)):g.LH(Error(\"AdBadgeViewModel is not found in player overlay layout.\")));Y.adPodIndex&&(T=g.R(Y.adPodIndex,rvz))&&(this.adPodIndex=new vn(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.adPodIndex),this.adPodIndex.S1(this.W),this.adPodIndex.init(R1(\"ad-pod-index\"),T));Y.adInfoRenderer&&((T=g.R(Y.adInfoRenderer,i1))?(this.adInfoButton=new cE(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.element,\nvoid 0,!0),g.m(this,this.adInfoButton),this.J!==void 0?this.W.insertBefore(this.adInfoButton.element,this.J.element.nextSibling):this.adInfoButton.S1(this.W),this.adInfoButton.init(R1(\"ad-info-hover-text-button\"),T,this.macros)):g.Jx(Error(\"AdInfoRenderer is not found in player overlay layout.\")));var X;T=(X=this.api.getVideoData())==null?void 0:X.isDaiEnabled();Y.adDurationRemaining&&T&&(X=g.R(Y.adDurationRemaining,th9))&&(this.adDurationRemaining=new GF(this.api,this.layoutId,this.interactionLoggingClientData,\nthis.B6,this.K,P.videoAdDurationSeconds,!0),g.m(this,this.adDurationRemaining),this.adPodIndex!==void 0?this.W.insertBefore(this.adDurationRemaining.element,this.adPodIndex.element.nextSibling):this.adDurationRemaining.S1(this.W),this.adDurationRemaining.init(R1(\"ad-duration-remaining\"),X,this.macros),this.adDurationRemaining.element.classList.add(\"ytp-ad-duration-remaining-autohide\"));Y.visitAdvertiserLink&&(P=g.R(Y.visitAdvertiserLink,Q_c))&&(this.visitAdvertiserLink=new QU(this.api,this.layoutId,\nthis.interactionLoggingClientData,this.B6),g.m(this,this.visitAdvertiserLink),this.visitAdvertiserLink.S1(this.W),this.visitAdvertiserLink.init(R1(\"visit-advertiser-link\"),P));Y.adDisclosureBanner&&(Y=g.R(Y.adDisclosureBanner,s_h))&&(this.adDisclosureBanner=new l$(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.adDisclosureBanner),this.adDisclosureBanner.S1(this.Kg),this.adDisclosureBanner.init(R1(\"ad-disclosure-banner\"),Y));this.C=new UN(this.api,this.K,I,!0);g.m(this,\nthis.C);g.Fw(this.api,this.C.element,4);this.show()};\nH_.prototype.clear=function(){this.hide()};g.f(UT2,CC);g.H=UT2.prototype;\ng.H.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(Y!=null&&Y.title)if(W=Y.title)if(this.headline.init(R1(\"ad-simple-attributed-string\"),new TT(W)),W=g.R(Y.moreInfoButton,Lg)){if(this.moreInfoButton.init(R1(\"ad-button\"),W),Y.descriptions)Y.descriptions.length>0&&(W=Y.descriptions[0])&&(this.W=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.W),this.W.S1(this.element.getElementsByClassName(\"ytp-ad-grid-card-text__metadata__description__line\")[0]),this.W.init(R1(\"ad-simple-attributed-string\"),\nnew TT(W))),Y.descriptions.length>1&&(Y=Y.descriptions[1])&&(this.K=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.K),this.K.S1(this.element.getElementsByClassName(\"ytp-ad-grid-card-text__metadata__description__line\")[1]),this.K.init(R1(\"ad-simple-attributed-string\"),new TT(Y)))}else g.LH(Error(\"No AdButtonViewModel is returned in AdGridCardText.\"));else g.LH(Error(\"No headline found in AdGridCardText.\"));else g.LH(Error(\"No headline found in AdGridCardText.\"))};\ng.H.onClick=function(W){CC.prototype.onClick.call(this,W);this.api.pauseVideo();this.api.onAdUxClicked(this.componentType,this.layoutId)};\ng.H.clear=function(){this.hide();this.headline.clear();this.moreInfoButton.clear();var W;(W=this.W)==null||W.clear();var Y;(Y=this.K)==null||Y.clear()};\ng.H.hide=function(){this.headline.hide();this.moreInfoButton.hide();var W;(W=this.W)==null||W.hide();var Y;(Y=this.K)==null||Y.hide();CC.prototype.hide.call(this)};\ng.H.show=function(){CC.prototype.show.call(this);this.headline.show();this.moreInfoButton.show();var W;(W=this.W)==null||W.show();var Y;(Y=this.K)==null||Y.show()};g.f(Nf,CC);Nf.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(Y!=null&&Y.gridCards)if(Y.style!==\"AD_GRID_CARD_COLLECTION_STYLE_FIXED_ONE_COLUMN\")g.LH(Error(\"Only single column style is currently supported in AdGridCardCollection.\"));else for(W=g.e(Y.gridCards),Y=W.next();!Y.done;Y=W.next()){if(Y=g.R(Y.value,dBz)){var k=new UT2(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,k);k.S1(this.element);k.init(R1(\"ad-grid-card-text\"),Y);this.W.push(k)}}else g.LH(Error(\"No grid cards found in AdGridCardCollection.\"))};\nNf.prototype.show=function(){for(var W=g.e(this.W),Y=W.next();!Y.done;Y=W.next())Y.value.show();CC.prototype.show.call(this)};\nNf.prototype.clear=function(){this.hide();for(var W=g.e(this.W),Y=W.next();!Y.done;Y=W.next())Y.value.clear()};\nNf.prototype.hide=function(){for(var W=g.e(this.W),Y=W.next();!Y.done;Y=W.next())Y.value.hide();CC.prototype.hide.call(this)};g.f(VV,ls);g.H=VV.prototype;g.H.init=function(W,Y,k,P,T){T=T===void 0?0:T;ls.prototype.init.call(this,W,Y,k,P);this.playerProgressOffsetMs=T;jG(this);this.api.addEventListener(\"playerUnderlayVisibilityChange\",this.kC.bind(this));this.api.addEventListener(\"resize\",this.Tm.bind(this));this.api.FJ()?(this.K=!0,this.api.xp(!0),this.show()):this.hide()};\ng.H.RS=function(){if(this.W){var W=this.W.getProgressState();W&&W.current&&!this.K&&1E3*W.current>=this.playerProgressOffsetMs&&(this.K=!0,this.api.xp(!0),this.show())}};\ng.H.Vy=function(){this.K&&this.api.xp(!1);this.hide()};\ng.H.clear=function(){this.api.xp(!1);this.api.removeEventListener(\"playerUnderlayVisibilityChange\",this.kC.bind(this));this.api.removeEventListener(\"resize\",this.Tm.bind(this));Cf(this);this.hide()};\ng.H.hide=function(){snd(!1);ls.prototype.hide.call(this)};\ng.H.show=function(){snd(!0);ls.prototype.show.call(this)};g.f(vP0,VV);g.H=vP0.prototype;\ng.H.init=function(W,Y,k,P){if(Y!=null&&Y.adGridCardCollection)if(Y!=null&&Y.adButton){var T=Number(Y.playerProgressOffsetMs||\"0\");isNaN(T)?VV.prototype.init.call(this,W,Y,k,P):VV.prototype.init.call(this,W,Y,k,P,T);W=Y.headline;k=g.R(Y.adAvatar,vm);W&&k?(this.headline=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.headline),this.headline.S1(this.J5(\"ytp-display-underlay-text-grid-cards__content_container__header__headline\")),this.headline.init(R1(\"ad-simple-attributed-string\"),new TT(W)),\nthis.adAvatar=new T7(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.adAvatar),this.adAvatar.S1(this.J5(\"ytp-display-underlay-text-grid-cards__content_container__header__ad_avatar\")),this.adAvatar.init(R1(\"ad-avatar\"),k)):this.T.classList.remove(\"ytp-display-underlay-text-grid-cards__content_container__header\");W=g.R(Y.adGridCardCollection,zrz);this.adGridCardCollection.init(R1(\"ad-grid-card-collection\"),W);Y=g.R(Y.adButton,Lg);this.adButton.init(R1(\"ad-button\"),Y);\nthis.hide()}else g.LH(Error(\"No button found in DisplayUnderlayTextGridCardsLayout.\"));else g.LH(Error(\"No grid cards found in DisplayUnderlayTextGridCardsLayout.\"))};\ng.H.onClick=function(W){(this.adButton&&g.MG(this.adButton.element,W.target)||this.adAvatar&&g.MG(this.adAvatar.element,W.target))&&this.api.pauseVideo();VV.prototype.onClick.call(this,W);this.api.onAdUxClicked(this.componentType,this.layoutId)};\ng.H.Tm=function(){};\ng.H.clear=function(){this.hide();var W;(W=this.headline)==null||W.clear();var Y;(Y=this.adAvatar)==null||Y.clear();this.adGridCardCollection.clear();this.adButton.clear();VV.prototype.clear.call(this)};\ng.H.show=function(){var W;(W=this.headline)==null||W.show();var Y;(Y=this.adAvatar)==null||Y.show();this.adGridCardCollection.show();this.adButton.show();VV.prototype.show.call(this)};\ng.H.hide=function(){var W;(W=this.headline)==null||W.hide();var Y;(Y=this.adAvatar)==null||Y.hide();this.adGridCardCollection.hide();this.adButton.hide();VV.prototype.hide.call(this)};\ng.H.kC=function(W){W===\"transitioning\"?(this.J.classList.remove(\"ytp-ad-underlay-clickable\"),this.show()):W===\"visible\"?this.J.classList.add(\"ytp-ad-underlay-clickable\"):W===\"hidden\"&&(this.hide(),this.J.classList.remove(\"ytp-ad-underlay-clickable\"))};g.f($y,CC);\n$y.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(Y.attributes===void 0)g.LH(Error(\"No attributes found in AdDetailsLineViewModel.\"));else if(Y.style===void 0)g.LH(Error(\"No style found in AdDetailsLineViewModel.\"));else{W=g.e(Y.attributes);for(var k=W.next();!k.done;k=W.next())if(k=k.value,k.text!==void 0){k=k.text;var P=Y.style,T=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,T);T.S1(this.element);a:switch(P){case \"AD_DETAILS_LINE_STYLE_RESPONSIVE\":P=\"ytp-ad-details-line__text--style-responsive\";\nbreak a;default:P=\"ytp-ad-details-line__text--style-standard\"}T.element.classList.add(P);T.init(R1(\"ad-simple-attributed-string\"),new TT(k));this.W.push(T)}this.show()}};\n$y.prototype.show=function(){this.W.forEach(function(W){W.show()});\nCC.prototype.show.call(this)};\n$y.prototype.clear=function(){this.hide()};\n$y.prototype.hide=function(){this.W.forEach(function(W){W.hide()});\nCC.prototype.hide.call(this)};g.f(TI,CC);TI.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});var k,P;(W=((P=kMS(((k=Y.image)==null?void 0:k.sources)||[]))==null?void 0:P.url)||\"\")&&W.length?(k=this.J5(\"ytp-image-background-image\"),g.KX(k,\"backgroundImage\",\"url(\"+W+\")\"),Y.blurLevel!==void 0&&g.KX(k,\"filter\",\"blur(\"+Y.blurLevel+\"px)\"),Y.gradient!==void 0&&(Y=new g.c({S:\"div\",Ya:[\"ytp-image-background--gradient-vertical\"]}),g.m(this,Y),Y.S1(this.element)),this.show()):g.LH(Error(\"Failed to get imageUrl in ImageBackground.\"))};\nTI.prototype.clear=function(){this.hide()};g.f(sb,ls);g.H=sb.prototype;g.H.init=function(W,Y){ls.prototype.init.call(this,W,Y,{});g.KX(this.J,\"stroke-dasharray\",\"0 \"+this.K);this.show()};\ng.H.clear=function(){this.hide()};\ng.H.hide=function(){Cf(this);ls.prototype.hide.call(this)};\ng.H.show=function(){jG(this);ls.prototype.show.call(this)};\ng.H.Vy=function(){this.hide()};\ng.H.RS=function(){if(this.W){var W=this.W.getProgressState();W!=null&&W.current!=null&&g.KX(this.J,\"stroke-dasharray\",W.current/W.seekableEnd*this.K+\" \"+this.K)}};g.f(Jr,CC);\nJr.prototype.init=function(W,Y){CC.prototype.init.call(this,W,Y,{});if(E5w(Y)){this.adAvatar=new T7(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.adAvatar);this.adAvatar.S1(this.J5(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-avatar-container\"));this.adAvatar.init(R1(\"ad-avatar\"),g.R(Y.adAvatar,vm));this.headline=new jJ(this.api,this.layoutId,this.interactionLoggingClientData,this.B6);g.m(this,this.headline);this.headline.S1(this.J5(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline-container\"));this.headline.element.classList.add(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__headline\");\nthis.headline.init(R1(\"ad-simple-attributed-string\"),new TT(Y.headline));if(W=g.R(Y.adDetailsLine,Jvp))this.detailsLine=new $y(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.detailsLine),this.detailsLine.S1(this.J5(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__details-line-container\")),this.detailsLine.init(R1(\"ad-details-line\"),W);this.adButton=new MI(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!0);g.m(this,this.adButton);\nthis.adButton.S1(this.J5(\"ytp-video-interstitial-buttoned-centered-layout__content__lockup__ad-button-container\"));this.adButton.init(R1(\"ad-button\"),g.R(Y.adButton,Lg));this.adBadge=new ID(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,!0);g.m(this,this.adBadge);this.adBadge.S1(this.T);this.adBadge.init(R1(\"ad-badge\"),g.R(Y.adBadge,Cg));this.adInfoButton=new cE(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.element,void 0,!0);g.m(this,this.adInfoButton);this.adInfoButton.S1(this.T);\nthis.adInfoButton.init(R1(\"ad-info-hover-text-button\"),g.R(Y.adInfoRenderer,i1),this.macros);if(W=g.R(Y.skipAdButton,gs1))this.skipAdButton=new nU(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.skipAdButton),this.skipAdButton.S1(this.element),this.skipAdButton.init(R1(\"skip-button\"),W);this.K=new bO(Y.durationMilliseconds);g.m(this,this.K);if(W=g.R(Y.countdownViewModel,wLw))this.W=new sb(this.api,this.layoutId,this.interactionLoggingClientData,this.B6,this.K),g.m(this,\nthis.W),this.W.S1(this.J5(\"ytp-video-interstitial-buttoned-centered-layout__timed-pie-countdown-container\")),this.W.init(R1(\"timed-pie-countdown\"),W);if(Y=g.R(Y.imageBackground,Avi))this.imageBackground=new TI(this.api,this.layoutId,this.interactionLoggingClientData,this.B6),g.m(this,this.imageBackground),this.imageBackground.S1(this.element),this.imageBackground.element.classList.add(\"ytp-video-interstitial-buttoned-centered-layout__background-image-container\"),this.imageBackground.init(R1(\"image-background\"),\nY);this.show();this.element.focus()}};\nJr.prototype.clear=function(){g.eY(this.J);this.hide()};\nJr.prototype.show=function(){giC(!0);this.adAvatar&&this.adAvatar.show();this.headline&&this.headline.show();this.adButton&&this.adButton.show();this.skipAdButton&&this.skipAdButton.show();CC.prototype.show.call(this)};\nJr.prototype.hide=function(){giC(!1);this.adAvatar&&this.adAvatar.hide();this.headline&&this.headline.hide();this.adButton&&this.adButton.hide();this.detailsLine&&this.detailsLine.hide();this.adBadge&&this.adBadge.hide();this.adInfoButton&&this.adInfoButton.hide();this.skipAdButton&&this.skipAdButton.hide();this.W&&this.W.hide();this.imageBackground&&this.imageBackground.hide();CC.prototype.hide.call(this)};g.f(hy,g.tR);g.H=hy.prototype;g.H.YG=function(){return 1E3*this.api.getDuration(this.WH,!1)};\ng.H.stop=function(){this.W&&this.handler.nH(this.W)};\ng.H.Xi=function(){var W=this.api.getProgressState(this.WH);this.K={seekableStart:W.seekableStart,seekableEnd:W.seekableEnd,current:this.api.getCurrentTime(this.WH,!1)};this.publish(\"h\")};\ng.H.getProgressState=function(){return this.K};\ng.H.VF=function(W){g.F7(W,2)&&this.publish(\"g\")};var Blc=\"ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser\".split(\" \").concat(\"shopping-companion action-companion image-companion ads-engagement-panel ads-engagement-panel-layout banner-image top-banner-image-text-icon-buttoned\".split(\" \"));g.f(Qw,mA);\nQw.prototype.J=function(W){var Y=W.id,k=W.content,P=k.componentType;if(!Blc.includes(P))switch(W.actionType){case 1:W=this.api;var T=this.B6,I=k.layoutId,X=k.interactionLoggingClientData,h=k instanceof aM?k.rh:!1,B=k instanceof aM||k instanceof rg?k.aF:!1;X=X===void 0?{}:X;h=h===void 0?!1:h;B=B===void 0?!1:B;switch(P){case \"invideo-overlay\":W=new IT(W,I,X,T);break;case \"player-overlay\":W=new Ir(W,I,X,T,new hy(W),B);break;case \"player-overlay-layout\":W=new H_(W,I,X,T,new hy(W));break;case \"survey\":W=\nnew Rw(W,I,X,T);break;case \"ad-action-interstitial\":W=new Vw9(W,I,X,T,h,B);break;case \"video-interstitial-buttoned-centered\":W=new Jr(W,I,X,T);break;case \"survey-interstitial\":W=new U0(W,I,X,T);break;case \"ad-message\":W=new uH(W,I,X,T,new hy(W,1));break;case \"player-underlay\":W=new v8(W,I,X,T);break;case \"display-underlay-text-grid-cards\":W=new vP0(W,I,X,T,new hy(W));break;default:W=null}if(!W){g.Jx(Error(\"No UI component returned from ComponentFactory for type: \"+P));break}g.fI(this.components,Y)?\ng.Jx(Error(\"Ad UI component already registered: \"+Y)):this.components[Y]=W;W.bind(k);k instanceof ZA?this.K?this.K.append(W.TI):g.Jx(Error(\"Underlay view was not created but UnderlayRenderer was created\")):this.T.append(W.TI);break;case 2:Y=pgd(this,W);if(Y==null)break;Y.bind(k);break;case 3:k=pgd(this,W),k!=null&&(g.o8(k),g.fI(this.components,Y)?(k=this.components,Y in k&&delete k[Y]):g.Jx(Error(\"Ad UI component does not exist: \"+Y)))}};\nQw.prototype.iz=function(){g.e7(Object.values(this.components));this.components={};mA.prototype.iz.call(this)};g.f(MzN,g.vP);g.H=MzN.prototype;g.H.create=function(){try{rz2(this),this.load(),this.created=!0,rz2(this)}catch(W){EF(W instanceof Error?W:String(W))}};\ng.H.load=function(){try{cP1(this)}finally{dx(EZ(this.W).tj)&&this.player.sU(\"ad\",1)}};\ng.H.destroy=function(){var W=this.player.getVideoData(1);this.W.W.mV.f7(W&&W.clientPlaybackNonce||\"\");this.unload();this.created=!1};\ng.H.unload=function(){g.vP.prototype.unload.call(this);try{this.player.getRootNode().classList.remove(\"ad-created\")}catch(Y){EF(Y instanceof Error?Y:String(Y))}if(this.K!=null){var W=this.K;this.K=null;W.dispose()}this.J.reset()};\ng.H.bE=function(){return!1};\ng.H.getAdState=function(){return-1};\ng.H.getOptions=function(){return Object.values(h7h)};\ng.H.Kn=function(W,Y){Y=Y===void 0?{}:Y;switch(W){case \"replaceUrlMacros\":return W=Y,W.url?(Y=K67(this.player),Object.assign(Y,W.tFz),W=g.Wu(W.url,Y)):W=null,W;case \"onAboutThisAdPopupClosed\":this.oC(Y);break;case \"executeCommand\":W=Y;W.command&&W.layoutId&&this.executeCommand(W);break;default:return null}};\ng.H.SF=function(W){var Y;return!((Y=this.W.W.Va)==null||!Y.get().SF(W))};\ng.H.oC=function(W){W.isMuted&&R50(EZ(this.W).Zd,EZ(this.W).Lr,W.layoutId);this.QR&&this.QR.oC()};\ng.H.executeCommand=function(W){EZ(this.W).B6.executeCommand(W.command,W.layoutId)};g.qa(\"yt.player.Application.create\",g.lz.create);g.qa(\"yt.player.Application.createAlternate\",g.lz.create);Wr7(t1(),S19);var OFj=g.o3(\"ytcsi.tick\");OFj&&OFj(\"pe\");g.Cd(\"ad\",MzN);g.f(g.ZV,g.D);g.ZV.prototype.start=function(W,Y,k){this.config={from:W,to:Y,duration:k,startTime:(0,g.lj)()};this.next()};\ng.ZV.prototype.stop=function(){this.delay.stop();this.config=void 0};\ng.ZV.prototype.next=function(){if(this.config){var W=this.config,Y=W.from,k=W.to,P=W.duration;W=W.startTime;var T=(0,g.lj)()-W;W=this.W;P=VR0(W,T/P);if(P==0)W=W.G;else if(P==1)W=W.L;else{T=AU(W.G,W.C,P);var I=AU(W.C,W.X,P);W=AU(W.X,W.L,P);T=AU(T,I,P);I=AU(I,W,P);W=AU(T,I,P)}W=g.DR(W,0,1);this.callback(Y+(k-Y)*W);W<1&&this.delay.start()}};g.f(g.pn,g.c);g.H=g.pn.prototype;g.H.hasSuggestions=function(){return this.suggestionData.length>0};\ng.H.rl=function(){this.K&&this.scrollTo(this.scrollPosition-this.containerWidth)};\ng.H.show=function(){g.c.prototype.show.call(this);BTC(this)};\ng.H.RU=function(){this.K&&this.scrollTo(this.scrollPosition+this.containerWidth)};\ng.H.I0=function(){this.Rb(this.api.ai().getPlayerSize())};\ng.H.Rb=function(W){var Y=this.api.isEmbedsShortsMode()?.5625:16/9,k=this.api.U6();W=W.width-(k?112:58);k=Math.ceil(W/(k?320:192));var P=(W-k*8)/k;Y=Math.floor(P/Y);for(var T=g.e(this.W),I=T.next();!I.done;I=T.next())I=I.value.J5(\"ytp-suggestion-image\"),I.style.width=P+\"px\",I.style.height=Y+\"px\";this.suggestions.element.style.height=Y+\"px\";this.T=P;this.G=Y;this.containerWidth=W;this.columns=k;this.scrollPosition=0;this.suggestions.element.scrollLeft=-0;g.rL(this)};\ng.H.onVideoDataChange=function(){var W=this.api.V(),Y=this.api.getVideoData();this.C=Y.zr?!1:W.T;this.suggestionData=Y.suggestions?g.HE(Y.suggestions,function(k){return k&&!k.playlistId}):[];\njhS(this);Y.zr?this.title.update({title:g.Vq(\"More videos from $DNI_RELATED_CHANNEL\",{DNI_RELATED_CHANNEL:Y.author})}):this.title.update({title:this.api.isEmbedsShortsMode()?\"More shorts\":\"More videos\"})};\ng.H.scrollTo=function(W){W=g.DR(W,this.containerWidth-this.suggestionData.length*(this.T+8),0);this.X.start(this.scrollPosition,W,1E3);this.scrollPosition=W;g.rL(this);BTC(this)};})(_yt_player);\n", "requests": [{"type": "n", "challenges": ["ZdZIqFPQK-Ty8wId", "4GMrWHyKI5cEvhDO"]}, {"type": "sig", "challenges": ["gN7a-hudCuAuPH6fByOk1_GNXN0yNMHShjZXS2VOgsEItAJz0tipeavEOmNdYN-wUtcEqD3bCXjc0iyKfAyZxCBGgIARwsSdQfJ2CJtt"]}, {"type": "n", "challenges": ["0eRGgQWJGfT5rFHFj"]}], "output_preprocessed": true}); delete initial["preprocessed_player"]; if(JSON.stringify({'type': 'result', 'responses': [{'type': 'result', 'data': {'ZdZIqFPQK-Ty8wId': 'qmtUsIz04xxiNW', '4GMrWHyKI5cEvhDO': 'N9gmEX7YhKTSmw'}}, {'type': 'result', 'data': {'gN7a-hudCuAuPH6fByOk1_GNXN0yNMHShjZXS2VOgsEItAJz0tipeavEOmNdYN-wUtcEqD3bCXjc0iyKfAyZxCBGgIARwsSdQfJ2CJtt': 'ttJC2JfQdSswRAIgGBCxZyAfKyi0cjXCb3gqEctUw-NYdNmOEvaepit0zJAtIEsgOV2SXZjhSHMNy0NXNG_1kNyBf6HPuAuCduh-a7O'}}, {'type': 'result', 'data': {'0eRGgQWJGfT5rFHFj': 'r6b5Pq2leodRlWN'}}]}) != JSON.stringify(initial)) { throw(new Error("ejs returns wrong result")); }; . ---------------------------------------------------------------------- Ran 1 test in 0.001s OK + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + /usr/bin/node-24 + PYTHONPATH=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib64/python3.14/site-packages:/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/lib/python3.14/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/python3 tests.py + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-yt-dlp-ejs-0.3.1-1.fc44.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1oS8ND + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + cd yt_dlp_ejs-0.3.1 + DOCDIR=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/share/doc/python3-yt-dlp-ejs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/share/doc/python3-yt-dlp-ejs + cp -pr /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/yt_dlp_ejs-0.3.1/README.md /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/share/doc/python3-yt-dlp-ejs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Oj0n4o + umask 022 + cd /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build + cd yt_dlp_ejs-0.3.1 + LICENSEDIR=/builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/share/licenses/python3-yt-dlp-ejs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/share/licenses/python3-yt-dlp-ejs + cp -pr /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/yt_dlp_ejs-0.3.1/LICENSE /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/share/licenses/python3-yt-dlp-ejs + cp -pr /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/yt_dlp_ejs-0.3.1/LICENSE.bundled /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT/usr/share/licenses/python3-yt-dlp-ejs + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-yt-dlp-ejs = 0.3.1-1.fc44 python3-yt-dlp-ejs = 0.3.1-1.fc44 python3.14-yt-dlp-ejs = 0.3.1-1.fc44 python3.14dist(yt-dlp-ejs) = 0.3.1 python3dist(yt-dlp-ejs) = 0.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.14 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-yt-dlp-ejs-0.3.1-build/BUILDROOT Wrote: /builddir/build/SRPMS/python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Wrote: /builddir/build/RPMS/python3-yt-dlp-ejs-0.3.1-1.fc44.noarch.rpm RPM build warnings: Macro expanded in comment on line 27: %{__nodejs} macro , instead of fixed path Finish: rpmbuild python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm Finish: build phase for python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1763196414.847165/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/python-yt-dlp-ejs-0.3.1-1.fc44.src.rpm) Config(child) 0 minutes 11 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "python3-yt-dlp-ejs", "epoch": null, "version": "0.3.1", "release": "1.fc44", "arch": "noarch" }, { "name": "python-yt-dlp-ejs", "epoch": null, "version": "0.3.1", "release": "1.fc44", "arch": "src" } ] } RPMResults finished