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b2ciOmZhbHNlLCJwbHVnaW5fYmFzZSI6Imh0dHBzOlwvXC93d3cudXJzYXBoYXJtLWVuZ2FnZW1lbnQuZGVcL3dwLWNvbnRlbnRcL3BsdWdpbnNcL2Zsb3ctZmxvdy1zb2NpYWwtc3RyZWFtcyIsInBsdWdpbl92ZXIiOiI0LjYuMjIiLCJkb21haW4iOiJ3d3cudXJzYXBoYXJtLWVuZ2FnZW1lbnQuZGUiLCJ0b2tlbiI6IiJ9OwoKICAgICAgICAgICAgdmFyIGlzTFMgPSBpc0xvY2FsU3RvcmFnZU5hbWVTdXBwb3J0ZWQoKTsKCiAgICAgICAgICAgIHZhciBGRl9yZXNvdXJjZSA9IHdpbmRvdy5GRl9yZXNvdXJjZSB8fAogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgIHNjcmlwdERlZmVycmVkOiAkLkRlZmVycmVkKCksCiAgICAgICAgICAgICAgICAgICAgc3R5bGVEZWZlcnJlZDogICQuRGVmZXJyZWQoKSwKICAgICAgICAgICAgICAgICAgICBzY3JpcHRMb2FkaW5nOiBmYWxzZSwKICAgICAgICAgICAgICAgICAgICBzdHlsZUxvYWRpbmc6IGZhbHNlCiAgICAgICAgICAgICAgICB9OwoKICAgICAgICAgICAgaWYgKCAhd2luZG93LkZGX3Jlc291cmNlICkgd2luZG93LkZGX3Jlc291cmNlID0gRkZfcmVzb3VyY2U7CiAgICAgICAgICAgIGlmICggIXdpbmRvdy5GbG93Rmxvd09wdHMgKSB3aW5kb3cuRmxvd0Zsb3dPcHRzID0gb3B0czsKCiAgICAgICAgICAgIHZhciBkYXRhID0gewogICAgICAgICAgICAgICAgJ3Nob3AnOiAnd3d3LnVyc2FwaGFybS1lbmdhZ2VtZW50LmRlJywKICAgICAgICAgICAgICAgICdhY3Rpb24nOiAnZmV0Y2hfcG9zdHMnLAogICAgICAgICAgICAgICAgJ3N0cmVhbS1pZCc6ICcxJywKICAgICAgICAgICAgICAgICdkaXNhYmxlLWNhY2hlJzogJyc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WdlX3RpbWVsaW5lIiwiY29udGVudCI6InVyc2FwaGFybS5lbmdhZ2VtZW50IiwicG9zdHMiOiIxMCIsIm1vZCI6Im5vcGUiLCJ0eXBlIjoiZmFjZWJvb2siLCJpbmNsdWRlIjoiIiwiZmlsdGVyLWJ5LXdvcmRzIjoiIiwicGFnZSI6IjEifV0sInByZXZpZXciOmZhbHNlfTsKICAgICAgICAgICAgdmFyIGFkcyA9IGZhbHNlOwogICAgICAgICAgICBzdHJlYW1PcHRzLnBsdWdpbiA9ICdmbG93X2Zsb3cnOwogICAgICAgICAgICBzdHJlYW1PcHRzLnRydWVMYXlvdXQgPSBzdHJlYW1PcHRzLmxheW91dDsKCiAgICAgICAgICAgIC8qd2Ugd2lsbCBtb2RpZnkgJ2dyaWQnIGxheW91dCB0byBnZXQgJ2Nhcm91c2VsJyBsYXlvdXQqLwogICAgICAgICAgICBpZiAoIHN0cmVhbU9wdHMubGF5b3V0ID09ICdjYXJvdXNlbCcgKSB7CiAgICAgICAgICAgICAgICBzdHJlYW1PcHRzWydsYXlvdXQnXSA9ICdncmlkJzsKICAgICAgICAgICAgICAgIHN0cmVhbU9wdHNbJ2ctcmF0aW8taCddID0gIjEiOwogICAgICAgICAgICAgICAgc3RyZWFtT3B0c1snZy1yYXRpby1pbWcnXSA9ICIxLzIiOwogICAgICAgICAgICAgICAgc3RyZWFtT3B0c1snZy1yYXRpby13J10gPSAiMSI7CiAgICAgICAgICAgICAgICBzdHJlYW1PcHRzWydnLW92ZXJsYXknXSA9ICJ5ZXAiOwogICAgICAgICAgICAgICAgc3RyZWFtT3B0c1snYy1vdmVybGF5J10gPSAieWVwIjsKICAgICAgICAgICAgICAgIHN0cmVhbU9wdHNbJ3MtZGVza3RvcCddID0gIjAiOwogICAgICAgICAgICAgICAgc3RyZWFtT3B0c1sncy1sYXB0b3AnXSA9ICIwIjsKICAgICAgICAgICAgICAgIHN0cmVhbU9wdHNbJ3Mtc21hcnQtbCddID0gIjAiOwogICAgICAgICAgICAgICAgc3RyZWFtT3B0c1sncy1zbWFydC1wJ10gPSAiMCI7CiAgICAgICAgICAgICAgICBzdHJlYW1PcHRzWydzLXRhYmxldC1sJ10gPSAiMCI7CiAgICAgICAgICAgICAgICBzdHJlYW1PcHRzWydzLXRhYmxldC1wJ10gPSAiMCI7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZWxzZSBpZiAoIHN0cmVhbU9wdHMubGF5b3V0ID09ICdsaXN0JyApIHsgIC8qdGhlIHNhbWUgd2l0aCBsaXN0LCB3ZSBvbmx5IG5lZWQgbmV3cyBmZWVkIHN0eWxlKi8KICAgICAgICAgICAgICAgIHN0cmVhbU9wdHNbJ2xheW91dCddID0gJ21hc29ucnknOwogICAgICAgICAgICB9CgogICAgICAgICAgICBpZiAoIHN0cmVhbU9wdHMuY2xvdWQgIT09ICd5ZXAnICkgewoJICAgICAgICAgICAgc3RyZWFtT3B0c1snZ2FsbGVyeSddID0gJ25vcGUnOwoJICAgICAgICAgICAgc3RyZWFtT3B0c1snbWF4LXJlcyddID0gJ25vcGUnOwoJICAgICAgICAgICAgc3RyZWFtT3B0c1snZmlsdGVyJ10gPSAnbm9wZSc7CgkgICAgICAgICAgICBzdHJlYW1PcHRzWydsYXlvdXQnXSA9ICdtYXNvbnJ5JzsKICAgICAgICAgICAgfQoKCSAgICAgICAgaWYgKCBhZHMgKSBzdHJlYW1PcHRzLmFkcyA9IGFkczsKCiAgICAgICAgICAgIG9wdHMuc3RyZWFtc1snc3RyZWFtJyArIHN0cmVhbU9wdHMuaWRdID0gc3RyZWFtT3B0czsKCiAgICAgICAgICAgIHZhciAkY29udCA9ICQoIltkYXRhLXBsdWdpbj0nZmxvd19mbG93J10jZmYtc3RyZWFtLSIrZGF0YVsnc3RyZWFtLWlkJ10pOwogICAgICAgICAgICB2YXIgYWpheERlZmVycmVkOwogICAgICAgICAgICB2YXIgc2NyaXB0LCBzdHlsZTsKICAgICAgICAgICAgdmFyIGxheW91dF9wcmUgPSBzdHJlYW1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0U3RhdHVzICkgewogICAgICAgICAgICAgICAgICAgIEZGX3Jlc291cmNlLnN0eWxlRGVmZXJyZWQucmVzb2x2ZSgpOwogICAgICAgICAgICAgICAgfTsKICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCJoZWFkIilbMF0uYXBwZW5kQ2hpbGQoc3R5bGUpOwogICAgICAgICAgICAgICAgRkZfcmVzb3VyY2Uuc3R5bGVMb2FkaW5nID0gdHJ1ZTsKICAgICAgICAgICAgfQogICAgICAgICAgICAkY29udC5hZGRDbGFzcygnZmYtbGF5b3V0LScgKyBzdHJlYW1PcHRzLnRydWVMYXlvdXQpOwogICAgICAgICAgICBpZiAoIWlzTW9iaWxlICYmIHN0cmVhbU9wdHMudHJ1ZUxheW91dCAhPT0gJ2Nhcm91c2VsJykgJGNvbnQuY3NzKCdtaW5IZWlnaHQnLCAnNTAwcHgnKTsKICAgICAgICAgICAgYWpheERlZmVycmVkID0gaXNMUyAmJiBzZXNzaW9uU3RvcmFnZS5nZXRJdGVtKGhhc2gpID8ge30gOiAkLmdldChvcHRzLmFqYXh1cmwsIGRhdGEpCjsKICAgICAgICAgICAgJC53aGVuKCBhamF4RGVmZXJyZWQsIEZGX3Jlc291cmNlLnNjcmlwdERlZmVycmVkLCBGRl9yZXNvdXJjZS5zdHlsZURlZmVycmVkICkuZG9uZShmdW5jdGlvbiAoIGRhdGEgKSB7CiAgICAgICAgICAgICAgICB2YXIgcmVzcG9uc2UsICRlcnJDb250LCBlcnI7CiAgICAgICAgICAgICAgICB2YXIgbW9kZXJhdGlvbiA9IDA7CiAgICAgICAgICAgICAgICB2YXIgb3JpZ2luYWwgPSAoaXNMUyAmJiBzZXNzaW9uU3RvcmFnZS5nZXRJdGVtKGhhc2gpKSA/IEpTT04ucGFyc2UoIHNlc3Npb25TdG9yYWdlLmdldEl0ZW0oaGFzaCkgKSA6IGRhdGFbMF07CiAgICAgICAgICAgICAgICB0cnkgewogICAgICAgICAgICAgICAgICAgIC8qIHJlc3BvbnNlID0gSlNPTi5wYXJzZShvcmlnaW5hbCk7ICovCiAgICAgICAgICAgICAgICAgICAgcmVzcG9uc2UgPSBvcmlnaW5hbDsgLyogc2luY2UgNC4xICovCiAgICAgICAgICAgICAgICB9IGNhdGNoIChlKSB7CiAgICAgICAgICAgICAgICAgICAgd2luZG93LmNvbnNvbGUgJiYgd2luZG93LmNvbnNvbGUubG9nKCdGTE9XLUZMT1c6IGludmFsaWQgZGF0YSBmcm9tIHNlcnZlcicpOwogICAgICAgICAgICAgICAgICAgIGlmIChvcHRzLmlzQWRtaW4gfHwgb3B0cy5pc0xvZykgewoJICAgICAgICAgICAgICAgICAgICAkZXJyQ29udCA9ICQoJzwnICsgJ2RpdiBjbGFzcz0iZmYtZXJyb3JzIj48JyArICdkaXYgY2xhc3M9ImZmLWRpc2NsYWltIj5JZiB5b3Ugc2VlIHRoaXMgbWVzc2FnZSB0aGVuIHlvdSBoYXZlIGFkbWluaXN0cmF0b3IgcGVybWlzc2lvbnMgYW5kIEZsb3ctRmxvdyBnb3QgaW52YWxpZCBkYXRhIGZyb20gc2VydmVyLiBQbGVhc2UgcHJvdmlkZSBlcnJvciBtZXNzYWdlIGJlbG93IGlmIHlvdSBhcmUgZG9pbmcgc3VwcG9ydCByZXF1ZXN0LjwnICsgJy9kaXY+PCcgKyAnZGl2IGNsYXNzPSJmZi1lcnItaW5mbyI+PCcrJy9kaXY+PCcrJy9kaXY+Jyk7CgkgICAgICAgICAgICAgICAgICAgICRjb250LmJlZm9yZSgkZXJyQ29udCk7CiAgICAgICAgICAgICAgICAgICAgICAgICRlcnJDb250LmZpbmQoJy5mZi1lcnItaW5mbycpLmh0bWwob3JpZ2luYWwgPT0gJycgPyAnRW1wdHkgcmVzcG9uc2UgZnJvbSBzZXJ2ZXInIDogb3JpZ2luYWwpOwogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICByZXR1cm47CiAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgaWYgKCAhIHJlc3BvbnNlICkgewogICAgICAgICAgICAgICAgCWNvbnNvbGUubG9nKCAnRkxPVy1GTE9XOiBudWxsIHJlc3BvbnNlIGZyb20gc2VydmVyJyApOwogICAgICAgICAgICAgICAgCXJldHVybjsKICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAvLyBpbmplY3RpbmcgYWRzIGZvciBjbG91ZCBzdHJlYW1zCiAgICAgICAgICAgICAgICBpZiAoIGFkcyApIHsKCiAgICAgICAgICAgICAgICAJdmFyIG5ld0FyciA9IFtdOwoKICAgICAgICAgICAgICAgIAl2YXIgcG9zdCwgYWQ7CgogICAgICAgICAgICAgICAgCWZvciAoIHZhciBpID0gMCwgbGVuID0gcmVzcG9uc2UuaXRlbXMubGVuZ3RoOyBpIDwgbGVuOyBpKysgKSB7CgoJCSAgICAgICAgICAgICAgICBwb3N0ID0gcmVzcG9uc2UuaXRlbXNbIGkgXTsKCiAgICAgICAgICAgICAgICAJCWlmICggYWRzWyBpIF0gKSB7CgogICAgICAgICAgICAgICAgCQkJYWQgPSBhZHNbIGkgXTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFkLmlkID0gJ2FkX2VsXycgKyBhZC5pZDsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5ld0Fyci5wdXNoICggYWQgKTsKCgkJCSAgICAgICAgICAgICAgICBkZWxldGUgYWRzWyBpIF07CiAgICAgICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgICAgIG5ld0Fyci5wdXNoKCBwb3N0ICk7CiAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICByZXNwb25zZS5pdGVtcyA9IG5ld0FycjsKICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICBvcHRzLnN0cmVhbXNbJ3N0cmVhbScgKyBzdHJlYW1PcHRzLmlkXVsnaXRlbXMnXSA9IHJlc3BvbnNlOwogICAgICAgICAgICAgICAgaWYgKCFGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzKSBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzID0ge307CiAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIEZsb3dGbG93LmV4dGVuc2lvblJlc291cmNlc1JlcXVlc3RzID0gRmxvd0Zsb3cuZXh0ZW5zaW9uUmVzb3VyY2VzUmVxdWVzdHMgfHwgW107CiAgICAgICAgICAgICAgICB2YXIgcmVxdWVzdCwgZXh0ZW5zaW9uLCBzdHlsZTsKCiAgICAgICAgICAgICAgICBmb3IgKCBleHRlbnNpb24gaW4gRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llcyApIHsKICAgICAgICAgICAgICAgICAgICBpZiAoIEZsb3dGbG93T3B0cy5kZXBlbmRlbmNpZXNbZXh0ZW5zaW9uXSAmJiBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzW2V4dGVuc2lvbl0gIT09ICdsb2FkZWQnKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHJlcXVlc3QgPSAkLmdldFNjcmlwdCggb3B0cy5wbHVnaW5fYmFzZSArICctJyArIGV4dGVuc2lvbiArICcvanMvZmZfJyArIGV4dGVuc2lvbiArICdfcHVibGljLmpzP3Zlcj00LjYuMjInKTsKICAgICAgICAgICAgICAgICAgICAgICAgRmxvd0Zsb3cuZXh0ZW5zaW9uUmVzb3VyY2VzUmVxdWVzdHMucHVzaChyZXF1ZXN0KTsKCiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnbGluaycpOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS50eXBlID0gInRleHQvY3NzIjsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUucmVsID0gInN0eWxlc2hlZXQiOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5pZCA9ICJmZl9hZF9zdHlsZSI7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlLmhyZWYgPSBvcHRzLnBsdWdpbl9iYXNlICsgJy0nICsgZXh0ZW5zaW9uICsgJy9jc3MvZmZfJyArIGV4dGVuc2lvbiArICdfcHVibGljLmNzcz92ZXI9NC42LjIyJzsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUubWVkaWEgPSAic2NyZWVuIjsKICAgICAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoImhlYWQiKVswXS5hcHBlbmRDaGlsZChzdHlsZSk7CgogICAgICAgICAgICAgICAgICAgICAgICBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzW2V4dGVuc2lvbl0gPSAnbG9hZGVkJzsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgdmFyIHJlc291cmNlc0xvYWRlZCA9ICQud2hlbi5hcHBseSgkLCBGbG93Rmxvdy5leHRlbnNpb25SZXNvdXJjZXNSZXF1ZXN0cyk7CgogICAgICAgICAgICAgICAgcmVzb3VyY2VzTG9hZGVkLmRvbmUoZnVuY3Rpb24oKXsKICAgICAgICAgICAgICAgICAgICB2YXIgJHN0cmVhbSwgd2lkdGg7CiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2cocmVzcG9uc2UpOwoKICAgICAgICAgICAgICAgICAgICAkc3RyZWFtID0gRmxvd0Zsb3cuYnVpbGRTdHJlYW1XaXRoKHJlc3BvbnNlLCBzdHJlYW1PcHRzLCBtb2RlcmF0aW9uLCBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzKTsKCiAgICAgICAgICAgICAgICAgICAgaWYgKGlzTFMgJiYgcmVzcG9uc2UuaXRlbXMubGVuZ3RoID4gMCAmJiByZXNwb25zZS5oYXNoLmxlbmd0aCA+IDApIHNlc3Npb25TdG9yYWdlLnNldEl0ZW0oIHJlc3BvbnNlLmhhc2gsIEpTT04uc3RyaW5naWZ5KCBvcmlnaW5hbCApICk7CgogICAgICAgICAgICAgICAgICAgIHZhciBudW0gPSBzdHJlYW1PcHRzLmxheW91dCA9PT0gJ2NvbXBhY3QnIHx8IChzdHJlYW1PcHRzLm1vYmlsZXNsaWRlciA9PT0gJ3llcCcgJiYgaXNNb2JpbGUpPyAoc3RyZWFtT3B0cy5tb2JpbGVzbGlkZXIgPT09ICd5ZXAnID8gMyA6IHN0cmVhbU9wdHNbJ2NhcmRzLW51bSddKSA6IGZhbHNlOwoKICAgICAgICAgICAgICAgICAgICAkY29udC5hcHBlbmQoICRzdHJlYW0gKTsKCiAgICAgICAgICAgICAgICAgICAgaWYgKCB0eXBlb2YgJHN0cmVhbSAhPT0gJ3N0cmluZycgKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIEZsb3dGbG93LnNldHVwR3JpZCgkY29udC5maW5kKCcuZmYtc3RyZWFtLXdyYXBwZXInKSwgbnVtLCBzdHJlYW1PcHRzLnNjcm9sbHRvcCA9PT0gJ3llcCcsIHN0cmVhbU9wdHMuZ2FsbGVyeSA9PT0gJ3llcCcsIHN0cmVhbU9wdHMsICRjb250KTsKICAgICAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQoZnVuY3Rpb24oKXsKICAgICAgICAgICAgICAgICAgICAgICAgJGNvbnQuZmluZCgnLmZmLWhlYWRlcicpLnJlbW92ZUNsYXNzKCdmZi1sb2FkaW5nJykuZW5kKCkuZmluZCgnLmZmLWxvYWRlcicpLmFkZENsYXNzKCdmZi1zcXVlZXplZCcpLmRlbGF5KDMwMCkuaGlkZSgpOwogICAgICAgICAgICAgICAgICAgIH0sIDApOwoKICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgIH0pLmZhaWwoZnVuY3Rpb24oKXsKICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnRmxvdy1GbG93OiByZXNvdXJjZSBsb2FkaW5nIGZhaWxlZCcpOwogICAgICAgICAgICAgICAgfSk7CgogICAgICAgICA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U7CiAgICAgICAgICAgICAgICB9IGNhdGNoIChlcnJvcikgewogICAgICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfTsKCiAgICAgICAgICAgIHJldHVybiBmYWxzZTsKICAgICAgICB9CiAgICB9KSgpCgo8L3NjcmlwdD4KPCEtLSBGbG93LUZsb3cg4oCUIFNvY2lhbCBzdHJlYW1zIHBsdWdpbiBmb3IgV29yZHByZXNzIC0tPg==

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