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ZCcpIHsKICAgICAgICAgICAgICAgICAgICAgICAgcmVxdWVzdCA9ICQuZ2V0U2NyaXB0KCBvcHRzLnBsdWdpbl9iYXNlICsgJy0nICsgZXh0ZW5zaW9uICsgJy9qcy9mZl8nICsgZXh0ZW5zaW9uICsgJ19wdWJsaWMuanMnKTsKICAgICAgICAgICAgICAgICAgICAgICAgcmVxdWVzdHMucHVzaChyZXF1ZXN0KTsKCiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnbGluaycpOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS50eXBlID0gInRleHQvY3NzIjsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUucmVsID0gInN0eWxlc2hlZXQiOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5pZCA9ICJmZl9hZF9zdHlsZSI7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlLmhyZWYgPSBvcHRzLnBsdWdpbl9iYXNlICsgJy0nICsgZXh0ZW5zaW9uICsgJy9jc3MvZmZfJyArIGV4dGVuc2lvbiArICdfcHVibGljLmNzcyc7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlLm1lZGlhID0gInNjcmVlbiI7CiAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCJoZWFkIilbMF0uYXBwZW5kQ2hpbGQoc3R5bGUpOwoKICAgICAgICAgICAgICAgICAgICAgICAgRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llc1tleHRlbnNpb25dID0gJ2xvYWRlZCc7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgIHZhciByZXNvdXJjZXNMb2FkZWQgPSAkLndoZW4uYXBwbHkoJCwgcmVxdWVzdHMpOwoKICAgICAgICAgICAgICAgIHJlc291cmNlc0xvYWRlZC5kb25lKGZ1bmN0aW9uKCl7C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T09ICdidWlsZGluZycpIHsKICAgICAgICAgICAgICAgICAgICB3aW5kb3cuY29uc29sZSAmJiB3aW5kb3cuY29uc29sZS5sb2cocmVzcG9uc2UpOwogICAgICAgICAgICAgICAgICAgICRjb250LnByZXBlbmQoJCgnPGRpdiBpZD0iZmYtYWRtaW4taW5mbyI+QURNSU4gSU5GTzogRmVlZHMgY2FjaGUgaXMgYmVpbmcgYnVpbHQgaW4gYmFja2dyb3VuZC4gUGxlYXNlIHdhaXQgZm9yIGNoYW5nZXMgdG8gYXBwbHkuIFBhZ2UgcmVsb2FkIGlzIHJlcXVpcmVkLjxcL2Rpdj4nKSk7CiAgICAgICAgICAgICAgICB9CgkJCX0pOwoKICAgICAgICAgICAgZnVuY3Rpb24gaXNMb2NhbFN0b3JhZ2VOYW1lU3VwcG9ydGVkKCkgewogICAgICAgICAgICAgICAgdmFyIHRlc3RLZXkgPSAndGVzdCcsIHN0b3JhZ2UgPSB3aW5kb3cuc2Vzc2lvblN0b3JhZ2U7CiAgICAgICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgICAgIHN0b3JhZ2Uuc2V0SXRlbSh0ZXN0S2V5LCAnMScpOwogICAgICAgICAgICAgICAgICAgIHN0b3JhZ2UucmVtb3ZlSXRlbSh0ZXN0S2V5KTsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTsKICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycm9yKSB7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGZhbHNlOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICB9OwoKCQkJcmV0dXJuIGZhbHNlOwoJCX0oalF1ZXJ5KSk7Cgk8L3NjcmlwdD4KCTwhLS0gRmxvdy1GbG93IOKAlCBTb2NpYWwgc3RyZWFtcyBwbHVnaW4gZm9yIFdvcmRwcmVzcyAtLT4=

Cookie-Einstellung

Bitte treffen Sie eine Auswahl. Weitere Informationen zu den Auswirkungen Ihrer Auswahl finden Sie unter Hilfe. Datenschutz | Impressum

Treffen Sie eine Auswahl um fortzufahren

Ihre Auswahl wurde gespeichert!

Hilfe

Hilfe

Um fortfahren zu können, müssen Sie eine Cookie-Auswahl treffen. Nachfolgend erhalten Sie eine Erläuterung der verschiedenen Optionen und ihrer Bedeutung.

  • Cookies u. APIs zulassen:
    Wir tracken Ihren Websitebesuch anonymisiert auf unserem Webserver (Matomo Analyse-Software). Dafür setzten wir 2 Cookies in Ihrem Browser. Es werden dabei keine Daten an Dritte übermittelt. APIs (Schnittstellen) zu unserer Facebook- und YouTube-Seite zur Einbindung von deren Inhalten auf unserer Website werden bei dieser Auswahl standardmäßig geöffnet.
  • Nur notwendige Cookies zulassen:
    Ihr Besuch wird von unserer Analyse-Software nicht getrackt. Um Ihre Cookie-Auswahl zu speichern, wird ein Cookie gesetzt. APIs (Schnittstellen) zu unserer Facebook- und YouTube-Seite zur Einbindung von deren Inhalten auf unserer Website werden bei dieser Auswahl standardmäßig geschlossen. Sie können fallweise entscheiden, ob Sie diese nachladen möchten.

Sie können Ihre Cookie-Einstellung jederzeit hier ändern: Datenschutz. Impressum

Zurück