four-d/movie/js/TXDM.js
潇洒 f96825bffb
0
Signed-off-by: 潇洒 <14147370+PizazzXS@user.noreply.gitee.com>
2025-01-02 14:20:32 +00:00

1 line
15 KiB
JavaScript

dmFyIHJ1bGUgPSB7CiAgICB0aXRsZTogJ+iFvuS6kempvumbvlvlrphdJywKICAgIGhvc3Q6ICdodHRwczovL3YuJTcxJTcxLmNvbScsCiAgICAvLyBob21lVXJsOiAnL3gvYnUvcGFnZXNoZWV0L2xpc3Q/X2FsbD0xJmFwcGVuZD0xJmNoYW5uZWw9Y2hvaWNlJmxpc3RwYWdlPTEmb2Zmc2V0PTAmcGFnZXNpemU9MjEmaWFyZWE9LTEmc29ydD0xOCcsCiAgICBob21lVXJsOiAnL3gvYnUvcGFnZXNoZWV0L2xpc3Q/X2FsbD0xJmFwcGVuZD0xJmNoYW5uZWw9Y2FydG9vbiZsaXN0cGFnZT0xJm9mZnNldD0wJnBhZ2VzaXplPTIxJmlhcmVhPS0xJnNvcnQ9MTgnLAogICAgZGV0YWlsVXJsOiAnaHR0cHM6Ly9ub2RlLnZpZGVvLiU3MSU3MS5jb20veC9hcGkvZmxvYXRfdmluZm8yP2NpZD1meWlkJywKICAgIHNlYXJjaFVybDogJy94L3NlYXJjaC8/cT0qKiZzdGFnPWZ5cGFnZScsCiAgICBzZWFyY2hVcmw6ICdodHRwczovL3BiYWNjZXNzLnZpZGVvLiU3MSU3MS5jb20vdHJwYy52aWRlb3NlYXJjaC5zbWFydGJveFNlcnZlci5IdHRwUm91bnRSZWNhbGwvU21hcnRib3g/cXVlcnk9KiomYXBwSUQ9MzE3MiZhcHBLZXk9bEdoRklQZUQzSHNPOXhFcCZwYWdlTnVtPShmeXBhZ2UtMSkmcGFnZVNpemU9MTAnLAogICAgc2VhcmNoYWJsZTogMiwKICAgIGZpbHRlcmFibGU6IDEsCiAgICBtdWx0aTogMSwKICAgIC8vIHVybDonL2NoYW5uZWwvZnljbGFzcz9saXN0cGFnZT1meXBhZ2UmY2hhbm5lbD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EnCiAgICB9LAogICAgdGltZW91dDogNTAwMCwKICAgIC8vIGNsYXNzX3BhcnNlOicuc2l0ZV9jaGFubmVsIGE7YSYmVGV4dDthJiZocmVmO2NoYW5uZWwvKC4qKScsCiAgICBjYXRlX2V4Y2x1ZGU6ICfkvJrlkZh85ri45oiPfOWFqOmDqCcsCiAgICAvLyBjbGFzc19uYW1lOiAn57K+6YCJJueUteinhuWJpybnlLXlvbEm57u86Im6JuWKqOa8qyblsJHlhL8m57qq5b2V54mHJywKICAgIC8vIGNsYXNzX3VybDogJ2Nob2ljZSZ0diZtb3ZpZSZ2YXJpZXR5JmNhcnRvb24mY2hpbGQmZG9jbycsCiAgICBjbGFzc19uYW1lOiAn57K+6YCJJueUteW9sSbnlLXop4bliacm57u86Im6JuWKqOa8qyblsJHlhL8m57qq5b2V54mHJywKICAgIGNsYXNzX3VybDogJ2Nob2ljZSZtb3ZpZSZ0diZ2YXJpZXR5JmNhcnRvb24mY2hpbGQmZG9jbycsCiAgICBsaW1pdDogMjAsCiAgICAvLyBwbGF5X3BhcnNlOnRydWUsCiAgICAvLyDmiYvliqjosIPnlKjop6PmnpDor7fmsYJqc29u55qEdXJsLOatpGxhennkuI3mlrnkvr8KICAgIHBsYXlfcGFyc2U6IHRydWUsCiAgICBsYXp5OiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGxldCBhcGkgPSAiIiArIGlucHV0LnNwbGl0KCI/IilbMF07CiAgICAgICAgICAgIGNvbnNvbGUubG9nKGFwaSk7CiAgICAgICAgICAgIGxldCByZXNwb25zZSA9IGZldGNoKGFwaSwgewogICAgICAgICAgICAgICAgbWV0aG9kOiAnZ2V0JywKICAgICAgICAgICAgICAgIGhlYWRlcnM6IHsKICAgICAgICAgICAgICAgICAgICAnVXNlci1BZ2VudCc6ICdva2h0dHAvMy4xNC45JywKICAgICAgICAgICAgICAgICAgICAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL3gtd3d3LWZvcm0tdXJsZW5jb2RlZCcKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSk7CiAgICAgICAgICAgIGxldCBiYXRhID0gSlNPTi5wYXJzZShyZXNwb25zZSk7CiAgICAgICAgICAgIGlmIChiYXRhLnVybC5pbmNsdWRlcygicXEiKSkgewogICAgICAgICAgICAgICAgaW5wdXQgPSB7CiAgICAgICAgICAgICAgICAgICAgcGFyc2U6IDAsCiAgICAgICAgICAgICAgICAgICAgdXJsOiBiYXRhLnVybCwKICAgICAgICAgICAgICAgICAgICBqeDogMCwKICAgICAgICAgICAgICAgICAgICBkYW5tYWt1OiAiaHR0cDovLzEwMy4zNi4yMjAuMTY2OjkxL2Rta3UxL3R2Ym94L3poLnBocD91cmw9IiArIGlucHV0LnNwbGl0KCI/IilbMF0KICAgICAgICAgICAgICAgIH07CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICBpbnB1dCA9IHsKICAgICAgICAgICAgICAgICAgICBwYXJzZTogMCwKICAgICAgICAgICAgICAgICAgICB1cmw6IGlucHV0LnNwbGl0KCI/IilbMF0sCiAgICAgICAgICAgICAgICAgICAgang6IDEsCiAgICAgICAgICAgICAgICAgICAgZGFubWFrdTogImh0dHA6Ly8xMDMuMzYuMjIwLjE2Njo5MS9kbWt1MS90dmJveC96aC5waHA/dXJsPSIgKyBpbnB1dC5zcGxpdCgiPyIpWzBdCiAgICAgICAgICAgICAgICB9OwogICAgICAgICAgICB9CiAgICAgICAgfSBjYXRjaCB7CiAgICAgICAgICAgIGlucHV0ID0gewogICAgICAgICAgICAgICAgcGFyc2U6IDAsCiAgICAgICAgICAgICAgICB1cmw6IGlucHV0LnNwbGl0KCI/IilbMF0sCiAgICAgICAgICAgICAgICBqeDogMSwKICAgICAgICAgICAgICAgIGRhbm1ha3U6ICJodHRwOi8vMTAzLjM2LjIyMC4xNjY6OTEvZG1rdTEvdHZib3gvemgucGhwP3VybD0iICsgaW5wdXQuc3BsaXQoIj8iKVswXQogICAgICAgICAgICB9OwogICAgICAgIH0KICAgIH0pLAogICAg5o6o6I2QOiAnLmxpc3RfaXRlbTtpbWcmJmFsdDtpbWcmJnNyYzthJiZUZXh0O2EmJmRhdGEtZmxvYXQnLAogICAg5LiA57qnOiAnLmxpc3RfaXRlbTtpbWcmJmFsdDtpbWcmJnNyYzthJiZUZXh0O2EmJmRhdGEtZmxvYXQnLAogICAg5LqM57qnOiAkanMudG9TdHJpbmcoKCkgPT4gewogICAgICAgIFZPRCA9IHt9OwogICAgICAgIGxldCBkID0gW107CiAgICAgICAgbGV0IHZpZGVvX2xpc3QgPSBbXTsKICAgICAgICBsZXQgdmlkZW9fbGlzdHMgPSBbXTsKICAgICAgICBsZXQgbGlzdCA9IFtdOwogICAgICAgIGxldCBRWk91dHB1dEpzb247CiAgICAgICAgbGV0IGh0bWwgPSBmZXRjaChpbnB1dCwgZmV0Y2hfcGFyYW1zKTsKICAgICAgICBsZXQgc291cmNlSWQgPSAvZ2V0X3BsYXlzb3VyY2UvLnRlc3QoaW5wdXQpID8gaW5wdXQubWF0Y2goL2lkPShcZCo/KSYvKVsxXSA6IGlucHV0LnNwbGl0KCJjaWQ9IilbMV07CiAgICAgICAgbGV0IGNpZCA9IHNvdXJjZUlkOwogICAgICAgIGxldCBkZXRhaWxVcmwgPSAiaHR0cHM6Ly92LiU3MSU3MS5jb20vZGV0YWlsL20vIiArIGNpZCArICIuaHRtbCI7CiAgICAgICAgbG9nKCLor6bmg4XpobU6IiArIGRldGFpbFVybCk7CiAgICAgICAgcGRmaCA9IGpzcC5wZGZoOwogICAgICAgIHBkID0ganNwLnBkOwogICAgICAgIHRyeSB7CiAgICAgICAgICAgIGxldCBqc29uID0gSlNPTi5wYXJzZShodG1sKTsKICAgICAgICAgICAgVk9EID0gewogICAgICAgICAgICAgICAgdm9kX3VybDogaW5wdXQsCiAgICAgICAgICAgICAgICB2b2RfbmFtZToganNvbi5jLnRpdGxlLAogICAgICAgICAgICAgICAgdHlwZV9uYW1lOiBqc29uLnR5cC5qb2luKCIsIiksCiAgICAgICAgICAgICAgICB2b2RfYWN0b3I6IGpzb24ubmFtLmpvaW4oIiwiKSwKICAgICAgICAgICAgICAgIHZvZF95ZWFyOiBqc29uLmMueWVhciwKICAgICAgICAgICAgICAgIHZvZF9jb250ZW50OiBqc29uLmMuZGVzY3JpcHRpb24sCiAgICAgICAgICAgICAgICB2b2RfcmVtYXJrczoganNvbi5yZWMsCiAgICAgICAgICAgICAgICB2b2RfcGljOiB1cmxqb2luMihpbnB1dCwganNvbi5jLnBpYykKICAgICAgICAgICAgfQogICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgbG9nKCLop6PmnpDniYflkI3mtbfmiqXnrYnln7rnoYDkv6Hmga/lj5HnlJ/plJnor686IiArIGUubWVzc2FnZSkKICAgICAgICB9CiAgICAgICAgaWYgKC9nZXRfcGxheXNvdXJjZS8udGVzdChpbnB1dCkpIHsKICAgICAgICAgICAgZXZhbChodG1sKTsKICAgICAgICAgICAgbGV0IGluZGV4TGlzdCA9IFFaT3V0cHV0SnNvbi5QbGF5bGlzdEl0ZW0uaW5kZXhMaXN0OwogICAgICAgICAgICBpbmRleExpc3QuZm9yRWFjaChmdW5jdGlvbihpdCkgewogICAgICAgICAgICAgICAgbGV0IGRhdGFVcmwgPSAiaHR0cHM6Ly9zLnZpZGVvLnFxLmNvbS9nZXRfcGxheXNvdXJjZT9pZD0iICsgc291cmNlSWQgKyAiJnBsYXQ9MiZ0eXBlPTQmZGF0YV90eXBlPTMmcmFuZ2U9IiArIGl0ICsgIiZ2aWRlb190eXBlPTEwJnBsbmFtZT1xcSZvdHlwZT1qc29uIjsKICAgICAgICAgICAgICAgIGV2YWwoZmV0Y2goZGF0YVVybCwgZmV0Y2hfcGFyYW1zKSk7CiAgICAgICAgICAgICAgICBsZXQgdmRhdGEgPSBRWk91dHB1dEpzb24uUGxheWxpc3RJdGVtLnZpZGVvUGxheUxpc3Q7CiAgICAgICAgICAgICAgICB2ZGF0YS5mb3JFYWNoKGZ1bmN0aW9uKGl0ZW0pIHsKICAgICAgICAgICAgICAgICAgICBkLnB1c2goewogICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogaXRlbS50aXRsZSwKICAgICAgICAgICAgICAgICAgICAgICAgcGljX3VybDogaXRlbS5waWMsCiAgICAgICAgICAgICAgICAgICAgICAgIGRlc2M6IGl0ZW0uZXBpc29kZV9udW1iZXIgKyAiXHRcdFx05pKt5pS+6YeP77yaIiArIGl0ZW0udGhpcmRMaW5lLAogICAgICAgICAgICAgICAgICAgICAgICB1cmw6IGl0ZW0ucGxheVVybAogICAgICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgIHZpZGVvX2xpc3RzID0gdmlkZW9fbGlzdHMuY29uY2F0KHZkYXRhKQogICAgICAgICAgICB9KQogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIGxldCBqc29uID0gSlNPTi5wYXJzZShodG1sKTsKICAgICAgICAgICAgdmlkZW9fbGlzdHMgPSBqc29uLmMudmlkZW9faWRzOwogICAgICAgICAgICBsZXQgdXJsID0gImh0dHBzOi8vdi5xcS5jb20veC9jb3Zlci8iICsgc291cmNlSWQgKyAiLmh0bWwiOwogICAgICAgICAgICBpZiAodmlkZW9fbGlzdHMubGVuZ3RoID09PSAxKSB7CiAgICAgICAgICAgICAgICBsZXQgdmlkID0gdmlkZW9fbGlzdHNbMF07CiAgICAgICAgICAgICAgICB1cmwgPSAiaHR0cHM6Ly92LnFxLmNvbS94L2NvdmVyLyIgKyBjaWQgKyAiLyIgKyB2aWQgKyAiLmh0bWwiOwogICAgICAgICAgICAgICAgZC5wdXNoKHsKICAgICAgICAgICAgICAgICAgICB0aXRsZTogIuWcqOe6v+aSreaUviIsCiAgICAgICAgICAgICAgICAgICAgdXJsOiB1cmwKICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgIH0gZWxzZSBpZiAodmlkZW9fbGlzdHMubGVuZ3RoID4gMSkgewogICAgICAgICAgICAgICAgZm9yIChsZXQgaSA9IDA7IGkgPCB2aWRlb19saXN0cy5sZW5ndGg7IGkgKz0gMzApIHsKICAgICAgICAgICAgICAgICAgICB2aWRlb19saXN0LnB1c2godmlkZW9fbGlzdHMuc2xpY2UoaSwgaSArIDMwKSkKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIHZpZGVvX2xpc3QuZm9yRWFjaChmdW5jdGlvbihpdCwgaWRleCkgewogICAgICAgICAgICAgICAgICAgIGxldCBvX3VybCA9ICJodHRwczovL3VuaW9uLnZpZGVvLnFxLmNvbS9mY2dpLWJpbi9kYXRhP290eXBlPWpzb24mdGlkPTE4MDQmYXBwaWQ9MjAwMDEyMzgmYXBwa2V5PTZjMDNiYmU5NjU4NDQ4YTQmdW5pb25fcGxhdGZvcm09MSZpZGxpc3Q9IiArIGl0LmpvaW4oIiwiKTsKICAgICAgICAgICAgICAgICAgICBsZXQgb19odG1sID0gZmV0Y2gob191cmwsIGZldGNoX3BhcmFtcyk7CiAgICAgICAgICAgICAgICAgICAgZXZhbChvX2h0bWwpOwogICAgICAgICAgICAgICAgICAgIFFaT3V0cHV0SnNvbi5yZXN1bHRzLmZvckVhY2goZnVuY3Rpb24oaXQxKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGl0MSA9IGl0MS5maWVsZHM7CiAgICAgICAgICAgICAgICAgICAgICAgIGxldCB1cmwgPSAiaHR0cHM6Ly92LnFxLmNvbS94L2NvdmVyLyIgKyBjaWQgKyAiLyIgKyBpdDEudmlkICsgIi5odG1sIjsKICAgICAgICAgICAgICAgICAgICAgICAgZC5wdXNoKHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiBpdDEudGl0bGUsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBwaWNfdXJsOiBpdDEucGljMTYweDkwLnJlcGxhY2UoIi8xNjAiLCAiIiksCiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkZXNjOiBpdDEudmlkZW9fY2hlY2t1cF90aW1lLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgdXJsOiB1cmwsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiBpdDEuY2F0ZWdvcnlfbWFwICYmIGl0MS5jYXRlZ29yeV9tYXAubGVuZ3RoID4gMSA/IGl0MS5jYXRlZ29yeV9tYXBbMV0gOiAiIgogICAgICAgICAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgICAgICB9KQogICAgICAgICAgICB9CiAgICAgICAgfQogICAgICAgIGxldCB5ZyA9IGQuZmlsdGVyKGZ1bmN0aW9uKGl0KSB7CiAgICAgICAgICAgIHJldHVybiBpdC50eXBlICYmIGl0LnR5cGUgIT09ICLmraPniYciCiAgICAgICAgfSk7CiAgICAgICAgbGV0IHpwID0gZC5maWx0ZXIoZnVuY3Rpb24oaXQpIHsKICAgICAgICAgICAgcmV0dXJuICEoaXQudHlwZSAmJiBpdC50eXBlICE9PSAi5q2j54mHIikKICAgICAgICB9KTsKICAgICAgICBWT0Qudm9kX3BsYXlfZnJvbSA9IHlnLmxlbmd0aCA8IDEgPyAicXEiIDogInFxJCQkcXEg6aKE5ZGK5Y+K6Iqx57WuIjsKICAgICAgICBWT0Qudm9kX3BsYXlfdXJsID0geWcubGVuZ3RoIDwgMSA/IGQubWFwKGZ1bmN0aW9uKGl0KSB7CiAgICAgICAgICAgIHJldHVybiBpdC50aXRsZSArICIkIiArIGl0LnVybAogICAgICAgIH0pLmpvaW4oIiMiKSA6IFt6cCwgeWddLm1hcChmdW5jdGlvbihpdCkgewogICAgICAgICAgICByZXR1cm4gaXQubWFwKGZ1bmN0aW9uKGl0cykgewogICAgICAgICAgICAgICAgcmV0dXJuIGl0cy50aXRsZSArICIkIiArIGl0cy51cmwKICAgICAgICAgICAgfSkuam9pbigiIyIpCiAgICAgICAgfSkuam9pbigiJCQkIik7CiAgICB9KSwKICAgIOaQnO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ly9ub2RlLnZpZGVvLnFxLmNvbS94L2FwaS9mbG9hdF92aW5mbzI/Y2lkPSIgKyB1cmwubWF0Y2goLy4qXC8oLio/KVwuaHRtbC8pWzFdOwogICAgICAgICAgICBsb2coc2hvcnRUZXh0ICsgInwiICsgdXJsKTsKICAgICAgICAgICAgaWYgKGZyb21UYWcubWF0Y2goL+iFvuiury8pKSB7CiAgICAgICAgICAgICAgICBkLnB1c2goewogICAgICAgICAgICAgICAgICAgIHRpdGxlOiBsb25nVGV4dC5zcGxpdChzaG9ydFRleHQpWzBdLAogICAgICAgICAgICAgICAgICAgIGltZzogaW1nLAogICAgICAgICAgICAgICAgICAgIHVybDogdXJsLAogICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6IGNvbnRlbnQsCiAgICAgICAgICAgICAgICAgICAgZGVzYzogc2hvcnRUZXh0ICsgIiAiICsgc2NvcmUKICAgICAgICAgICAgICAgIH0pCiAgICAgICAgICAgIH0KICAgICAgICB9KTsKICAgICAgICBzZXRSZXN1bHQoZCk7CiAgICB9KSwKICAgIOaQnOe0ojogJGpzLnRvU3RyaW5nKCgpID0+IHsKICAgICAgICBsZXQgZCA9IFtdOwogICAgICAgIGxldCBodG1sID0gcmVxdWVzdChpbnB1dCk7CiAgICAgICAgbGV0IGpzb24gPSBKU09OLnBhcnNlKGh0bWwpOwogICAgICAgIGlmIChqc29uLmRhdGEuc21hcnRib3hJdGVtTGlzdC5sZW5ndGggPiAwKSB7CiAgICAgICAgICAgIGxldCBjaWQgPSBqc29uLmRhdGEuc21hcnRib3hJdGVtTGlzdFswXS5iYXNpY0RvYy5pZDsKICAgICAgICAgICAgbGV0IHVybCA9ICdodHRwczovL25vZGUudmlkZW8ucXEuY29tL3gvYXBpL2Zsb2F0X3ZpbmZvMj9jaWQ9JyArIGNpZDsKICAgICAgICAgICAgbGV0IGh0bWwxID0gcmVxdWVzdCh1cmwpOwogICAgICAgICAgICBsZXQgZGF0YSA9IEpTT04ucGFyc2UoaHRtbDEpOwoKICAgICAgICAgICAgZC5wdXNoKHsKICAgICAgICAgICAgICAgIHRpdGxlOiBkYXRhLmMudGl0bGUsCiAgICAgICAgICAgICAgICBpbWc6IGRhdGEuYy5waWMsCiAgICAgICAgICAgICAgICB1cmw6IHVybCwKICAgICAgICAgICAgICAgIGNvbnRlbnQ6IGRhdGEuYy5kZXNjcmlwdGlvbiwKICAgICAgICAgICAgICAgIGRlc2M6IGRhdGEucmVjCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgICAgICBzZXRSZXN1bHQoZCk7CiAgICB9KQp9