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kJCQlyZXR1cm47CgkJCQl9CgkJCQlvcHRzLnN0cmVhbXNbJ3N0cmVhbScgKyBzdHJlYW1PcHRzLmlkXVsnaXRlbXMnXSA9IHJlc3BvbnNlOwoJCQkJaWYgKCFGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzKSBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzID0ge307CgkJCQkgICAgICAgICAgICAgICAgdmFyIHJlcXVlc3RzID0gW107CiAgICAgICAgICAgICAgICB2YXIgcmVxdWVzdCwgZXh0ZW5zaW9uLCBzdHlsZTsKCiAgICAgICAgICAgICAgICBmb3IgKCBleHRlbnNpb24gaW4gRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llcyApIHsKICAgICAgICAgICAgICAgICAgICBpZiAoIEZsb3dGbG93T3B0cy5kZXBlbmRlbmNpZXNbZXh0ZW5zaW9uXSAmJiBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzW2V4dGVuc2lvbl0gIT09ICdsb2FkZWQnKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJlcXVlc3QgPSAkLmdldFNjcmlwdCggb3B0cy5wbHVnaW5fYmFzZSArICctJyArIGV4dGVuc2lvbiArICcvanMvZmZfJyArIGV4dGVuc2lvbiArICdfcHVibGljLmpzJyk7CiAgICAgICAgICAgICAgICAgICAgICAgIHJlcXVlc3RzLnB1c2gocmVxdWVzdCk7CgogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2xpbmsnKTsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUudHlwZSA9ICJ0ZXh0L2NzcyI7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlLnJlbCA9ICJzdHlsZXNoZWV0IjsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUuaWQgPSAiZmZfYWRfc3R5bGUiOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5ocmVmID0gb3B0cy5wbHVnaW5fYmFzZSArICctJyArIGV4dGVuc2lvbiArICcvY3NzL2ZmXycgKyBleHRlbnNpb24gKyAnX3B1YmxpYy5jc3MnOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5tZWRpYSA9ICJzY3JlZW4iOwogICAgICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgiaGVhZCIpWzBdLmFwcGVuZENoaWxkKHN0eWxlKTsKCiAgICAgICAgICAgICAgICAgICAgICAgIEZsb3dGbG93T3B0cy5kZXBlbmRlbmNpZXNbZXh0ZW5zaW9uXSA9ICdsb2FkZWQnOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICB2YXIgcmVzb3VyY2VzTG9hZGVkID0gJC53aGVuLmFwcGx5KCQsIHJlcXVlc3RzKTsKCiAgICAgICAgICAgICAgICByZXNvdXJjZXNMb2FkZWQuZG9uZShmdW5jdGlvbigpewogICAgICAgICAgICAgICAgICAgIHZhciAkc3RyZWFtLCB3aWR0aDsKICAgICAgICAgICAgICAgICAgICAkc3RyZWFtID0gRmxvd0Zsb3cuYnVpbGRTdHJlYW1XaXRoKHJlc3BvbnNlLCBzdHJlYW1PcHRzLCBtb2RlcmF0aW9uLCBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzKTsKICAgICAgICAgICAgICAgICAgICBpZiAoaXNMUyAmJiByZXNwb25zZS5pdGVtcy5sZW5ndGggPiAwICYmIHJlc3BvbnNlLmhhc2gubGVuZ3RoID4gMCkgc2Vzc2lvblN0b3JhZ2Uuc2V0SXRlbShyZXNwb25zZS5oYXNoLCBvcmlnaW5hbCk7CiAgICAgICAgICAgICAgICAgICAgdmFyIG51bSA9IHN0cmVhbU9wdHMubGF5b3V0ID09PSAnY29tcGFjdCcgfHwgKHN0cmVhbU9wdHMubW9iaWxlc2xpZGVyID09PSAneWVwJyAmJiBpc01vYmlsZSk/IChzdHJlYW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lOwogICAgICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgICAgICBzdG9yYWdlLnNldEl0ZW0odGVzdEtleSwgJzEnKTsKICAgICAgICAgICAgICAgICAgICBzdG9yYWdlLnJlbW92ZUl0ZW0odGVzdEtleSk7CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7CiAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfTsKCgkJCXJldHVybiBmYWxzZTsKCQl9KGpRdWVyeSkpOwoJPC9zY3JpcHQ+Cgk8IS0tIEZsb3ctRmxvdyDigJQgU29jaWFsIHN0cmVhbXMgcGx1Z2luIGZvciBXb3JkcHJlc3MgLS0+

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