xiaomianao666

小程序:𝐏𝐚𝐬𝐭𝐞𝐛𝐢𝐧

Oct 24th, 2024
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@𝐏𝐚𝐬𝐭𝐞𝐛𝐢𝐧@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoi8J2Qj/CdkJrwnZCs8J2QrfCdkJ7wnZCb8J2QovCdkKciLCJhdXRob3IiOiJBcmllcyIsInVybCI6Imhpa2VyOi8vZW1wdHkjIyIsInZlcnNpb24iOjIwMjQxMDIzLCJjb2xfdHlwZSI6Im1vdmllXzMiLCJjbGFzc19uYW1lIjoiIiwidHlwZSI6InRvb2wiLCJjbGFzc191cmwiOiIiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbiAgICB2YXIgZCA9IFtdXG52YXIgaG9zdCA9IGdldEl0ZW0oXCJob3N0XCIsIFwiaHR0cHM6Ly9zaHouYWxcIilcbi8v5qCH6aKYXG5kLnB1c2goe1xuICAgIHRpdGxlOiBcIuKAnOKAnOKAneKAnVwiICsgXCLwnZCY8J2QnvCdkK0g8J2QgPCdkKfwnZCo8J2QrfCdkKHwnZCe8J2QqyDwnZCP8J2QmvCdkKzwnZCt8J2QnvCdkJvwnZCi8J2Qp1wiLmZvbnRjb2xvcihcIiM0REFFRkNcIikuYmlnKCksXG4gICAgZGVzYzogZ2V0SXRlbShcImhvc3RcIikgIT0gXCJ1bmRlZmluZWRcIiA/IFwi4oCc4oCc4oCd4oCdXCIgKyBob3N0LmZvbnRjb2xvcihcIiNFOTM3MDBcIikuYmlnKCkgOiBcIuKAnOKAnOKAneKAnVwiICsgXCJodHRwczovL3Noei5hbFwiLmZvbnRjb2xvcihcIiNFOTM3MDBcIikuYmlnKCksXG4gICAgdXJsOiAkKFwiXCIpLmlucHV0KCgpID0+IHtcbiAgICAgICAgaWYgKGlucHV0ID09IFwiXCIpIHtcbiAgICAgICAgICAgIGNsZWFySXRlbShcImhvc3RcIilcbiAgICAgICAgfSBlbHNlIGlmICgvXmh0dHBzPzpcXC9cXC8oPyEoPzotKSlbYS16QS1aMC05XSsoLVthLXpBLVowLTldKykqKD86XFwuW2EtekEtWjAtOV0rKC1bYS16QS1aMC05XSspKikqXFwuW2EtekEtWl17Mix9JC8udGVzdChpbnB1dCkpIHtcbiAgICAgICAgICAgIHNldEl0ZW0oXCJob3N0XCIsIGlucHV0KVxuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgaW5wdXQgPSBcIijln5/lkI3kuI3lkIjmoLwpXCJcbiAgICAgICAgICAgIHNldEl0ZW0oXCJob3N0XCIsIGlucHV0KVxuICAgICAgICB9XG4gICAgICAgIHJlZnJlc2hQYWdlKCk7XG4gICAgICAgIHJldHVybiBcImhpa2VyOi8vZW1wdHlcIlxuICAgIH0pLFxuICAgIGNvbF90eXBlOiBcInRleHRfY2VudGVyXzFcIixcbiAgICBleHRyYToge1xuICAgICAgICBsaW5lVmlzaWJsZTogZmFsc2VcbiAgICB9XG59KVxuLy/mnaXmupBcbmQucHVzaCh7XG4gICAgdGl0bGU6ICdSZWZlciB0byA8YSBocmVmPVwiaHR0cHM6Ly9naXRodWIuY29tL1NoYXJ6eUwvcGFzdGViaW4td29ya2VyXCI+R2l0SHViPC9hPiBmb3IgbW9yZSBkZXRhaWxzLjxicj48c3BhbiBzdHlsZT1cImNvbG9yOiAjRkYwMEZGO1wiPjxzbWFsbD7orablkYrvvJrku4XnlKjkuo7kuLTml7blhbHkuqvvvIzmlofku7blsIbooqvliKDpmaTvvIzmgZXkuI3lj6booYzpgJrnn6XvvIE8L3NtYWxsPjwvc3Bhbj4nLFxuICAgIGNvbF90eXBlOiBcInJpY2hfdGV4dFwiXG59KVxuLy/nv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VyYXRlZCBieSBkZWZhdWx0LmAsXG4gICAgdXJsOiBcImhpa2VyOi8vZW1wdHlcIixcbiAgICBjb2xfdHlwZTogXCJ0ZXh0XzFcIlxufSlcbi8v5pa55rOVXG5ldmFsKEpTT04ucGFyc2UoZmV0Y2goXCJoaWtlcjovL3BhZ2UvTWV0aG9kXCIsIHt9KSkucnVsZSk7XG4vL+efremTvlxuZC5wdXNoKHtcbiAgICB0aXRsZTogXCLigJzigJzigJ3igJ1cIiArIFwi6ZqP5py655+t6ZO+XCIuZm9udGNvbG9yKFwiIzREQUVGQ1wiKSxcbiAgICB1cmw6ICQoXCJcIikubGF6eVJ1bGUoKGhvc3QsIHB1dFByb3RvY29sKSA9PiB7XG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICBzaG93TG9hZGluZygn5q2j5Zyo5Yib5bu65LitLi4uJylcbiAgICAgICAgICAgIHZhciByZXN1bHQgPSAkLmxvZyhwdXRQcm90b2NvbChob3N0LCB7XG4gICAgICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICAgICBcImNvbnRlbnQtdHlwZVwiOiBcIm11bHRpcGFydC9mb3JtLWRhdGE7IGJvdW5kYXJ5PS0tJGJvdW5kYXJ5XCIsXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSwge1xuICAgICAgICAgICAgICAgIGM6IGdldE15VmFyKFwidGV4dFwiLCBcIlwiKS50b1N0cmluZygpLFxuICAgICAgICAgICAgICAgIGU6IFwiN2RcIlxuICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJjb3B5Oi8vXCIgKyByZXN1bHRcbiAgICAgICAgfSBjYXRjaCB7XG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJ0b2FzdDovL+WIm+W7uuWksei0pe+8jOajgOafpee9kee7nOaIluWfn+WQjVwiXG4gICAgICAgIH1cbiAgICB9LCBob3N0LCBwdXRQcm90b2NvbCksXG4gICAgY29sX3R5cGU6IFwidGV4dF8yXCJcbn0pXG4vL+mVv+mTvlxuZC5wdXNoKHtcbiAgICB0aXRsZTogXCLigJzigJzigJ3igJ1cIiArIFwi6ZqP5py66ZW/6ZO+XCIuZm9udGNvbG9yKFwiIzREQUVGQ1wiKSxcbiAgICB1cmw6ICQoXCJcIikubGF6eVJ1bGUoKGhvc3QsIHB1dFByb3RvY29sKSA9PiB7XG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgICBzaG93TG9hZGluZygn5q2j5Zyo5Yib5bu65LitLi4uJylcbiAgICAgICAgICAgIHZhciByZXN1bHQgPSAkLmxvZyhwdXRQcm90b2NvbChob3N0LCB7XG4gICAgICAgICAgICAgICAgaGVhZGVyczoge1xuICAgICAgICAgICAgICAgICAgICBcImNvbnRlbnQtdHlwZVwiOiBcIm11bHRpcGFydC9mb3JtLWRhdGE7IGJvdW5kYXJ5PS0tJGJvdW5kYXJ5XCIsXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSwge1xuICAgICAgICAgICAgICAgIGM6IGdldE15VmFyKFwidGV4dFwiLCBcIlwiKS50b1N0cmluZygpLFxuICAgICAgICAgICAgICAgIGU6IFwiN2RcIixcbiAgICAgICAgICAgICAgICBwOiBcInRydWVcIlxuICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJjb3B5Oi8vXCIgKyByZXN1bHRcbiAgICAgICAgfSBjYXRjaCB7XG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJ0b2FzdDovL+WIm+W7uuWksei0pe+8jOajgOafpee9kee7nOaIluWfn+WQjVwiXG4gICAgICAgIH1cbiAgICB9LCBob3N0LCBwdXRQcm90b2NvbCksXG4gICAgY29sX3R5cGU6IFwidGV4dF8yXCJcbn0pXG4vL+iHquWumuS5iemTvuaOpVxu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gJC5sb2cocHV0UHJvdG9jb2woaG9zdCwge1xuICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcbiAgICAgICAgICAgICAgICAgICAgXCJjb250ZW50LXR5cGVcIjogXCJtdWx0aXBhcnQvZm9ybS1kYXRhOyBib3VuZGFyeT0tLSRib3VuZGFyeVwiLFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICBjOiBnZXRNeVZhcihcInRleHRcIiwgXCJcIikudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICBlOiBcIjdkXCIsXG4gICAgICAgICAgICAgICAgczogZ2V0TXlWYXIoXCJwYXNzd2RcIiwgXCJcIikudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICBuOiBnZXRNeVZhcihcIm93blwiLCBcIlwiKS50b1N0cmluZygpLFxuICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJjb3B5Oi8vXCIgKyByZXN1bHRcbiAgICAgICAgfSBjYXRjaCB7XG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJ0b2FzdDovL+WIm+W7uuWksei0pe+8jOajgOafpee9kee7nOaIluWfn+WQjVwiXG4gICAgICAgIH1cbiAgICB9LCBob3N0LCBwdXRQcm90b2NvbCksXG4gICAgY29sX3R5cGU6IFwidGV4dF8yXCJcbn0pXG4vL+abtOaWsOWIoOmZpFxuZC5wdXNoKHtcbiAgICB0aXRsZTogXCJcIixcbiAgICBkZXNjOiBcIuWJquWIh+adv+e9keWdgO+8jOabtOaWsOWGheWuuVwiLFxuICAgIGNvbF90eXBlOiAnaW5wdXQnLFxuICAgIGV4dHJhOiB7XG4gICAgICAgIHRpdGxlVmlzaWJsZTogZmFsc2UsXG4gICAgICAgIGRlZmF1bHRWYWx1ZTogZ2V0TXlWYXIoXCJ1cmxcIiwgXCJcIiksXG4gICAgICA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ge1xuICAgICAgICB0cnkge1xuICAgICAgICAgICAgc2hvd0xvYWRpbmcoJ+ato+WcqOabtOaWsOS4rS4uLicpXG4gICAgICAgICAgICB2YXIgdXJsID0gZ2V0TXlWYXIoXCJ1cmxcIiwgXCJcIilcbiAgICAgICAgICAgIGlmICghdXJsLnN0YXJ0c1dpdGgoaG9zdCkpIHtcbiAgICAgICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICAgICAgcmV0dXJuIFwidG9hc3Q6Ly/liarliIfmnb/ln5/lkI3plJnor69cIlxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdmFyIHJlc3VsdCA9ICQubG9nKHB1dFByb3RvY29sKHVybCwge1xuICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcbiAgICAgICAgICAgICAgICAgICAgXCJjb250ZW50LXR5cGVcIjogXCJtdWx0aXBhcnQvZm9ybS1kYXRhOyBib3VuZGFyeT0tLSRib3VuZGFyeVwiLFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sIHtcbiAgICAgICAgICAgICAgICBjOiBnZXRNeVZhcihcInRleHRcIiwgXCJcIikudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICBlOiBcIjMwZFwiLFxuICAgICAgICAgICAgfSkpXG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJjb3B5Oi8vXCIgKyByZXN1bHRcbiAgICAgICAgfSBjYXRjaCB7XG4gICAgICAgICAgICBoaWRlTG9hZGluZygpXG4gICAgICAgICAgICByZXR1cm4gXCJ0b2FzdDovL+abtOaWsOWksei0pe+8jOajgOafpee9kee7nOaIluWfn+WQjVwiXG4gICAgICAgIH1cbiAgICB9LCBob3N0LCBwdXRQcm90b2NvbCksXG4gICAgY29sX3R5cGU6IFwidGV4dF8yXCJcbn0pXG5zZXRSZXN1bHQoZCkiLCJzZWFyY2hfdXJsIjoiIiwiZ3JvdXAiOiLinKgiLCJzZWFyY2h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uIHByZWZpeCArIGJvdW5kYXJ5OyAvLyDov5Tlm57lrozmlbTnmoTovrnnlYzlrZfnrKbkuLJcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgbGV0IGRlZm9iaiA9IHtcXG4gICAgICAgICAgICAgICAgcHJlZml4OiAnLS1XZWJLaXRGb3JtQm91bmRhcnknLFxcbiAgICAgICAgICAgICAgICBudW06IDE2LFxcbiAgICAgICAgICAgICAgICBmaWxsOiBbNCwgNCwgMl1cXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgaWYgKGJvdW5vYmogPT0gdW5kZWZpbmVkKSB7XFxuICAgICAgICAgICAgICAgIGJvdW5vYmogPSBkZWZvYmo7XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgYm91bm9iaiA9IE9iamVjdC5hc3NpZ24oe30sIGRlZm9iaiwgYm91bm9iaik7XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIC8vbG9nKGJvdW5vYmopXFxuXFxuICAgICAgICAgICAgdmFyIGZpbGwgPSBib3Vub2JqLmZpbGwubWFwKGNvdW50ID0+ICctJy5yZXBlYXQoY291bnQpKTtcXG4gICAgICAgICAgICAvL2xvZyhmaWxsKSAgICAgICAgICAgIFxcbiAgICAgICAgICAgIHZhciBib3VuZGFyeSA9IGdlbmVyYXRlQm91bmRhcnkoYm91bm9iai5wcmVmaXgsIGJvdW5vYmoubnVtKTtcXG4gICAgICAgICAgICBpZiAoKHVybC5tYXRjaCgvOi9nKSB8fCBbXSkubGVuZ3RoID09PSAyKSB7XFxuICAgICAgICAgICAgICAgIGRlZmhlYWQgPSB7XFxuICAgICAgICAgICAgICAgICAgICBoZWFkZXJzOiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgXFxcIlVzZXItQWdlbnRcXFwiOiBNT0JJTEVfVUEsXFxuICAgICAgICAgICAgICAgICAgICB9LFxcbiAgICAgICAgICAgICAgICAgICAgbWV0aG9kOiBcXFwiUFVUXFxcIlxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfSBlbHNlIHtcXG4gICAgICAgICAgICAgICAgZGVmaGVhZCA9IHtcXG4gICAgICAgICAgICAgICAgICAgIGhlYWRlcnM6IHtcXG4gICAgICAgICAgICAgICAgICAgICAgICBcXFwiVXNlci1BZ2VudFxcXCI6IE1PQklMRV9VQSxcXG4gICAgICAgICAgICAgICAgICAgIH0sXFxuICAgICAgICAgICAgICAgICAgICBtZXRob2Q6IFxcXCJQT1NUXFxcIlxcbiAgICAgICAgICAgICAgICB9XFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIGlmIChpbmhlYWQuaGVhZGVycyAmJiBpbmhlYWQuaGVhZGVycy5oYXNPd25Qcm9wZXJ0eShcXFwiY29udGVudC10eXBlXFxcIikpIHtcXG4gICAgICAgICAgICAgICAgaW5oZWFkLmhlYWRlcnNbXFxcImNvbnRlbnQtdHlwZVxcXCJdID0gaW5oZWFkLmhlYWRlcnNbXFxcImNvbnRlbnQtdHlwZVxcXCJdLnJlcGxhY2UoXFxcIiRib3VuZGFyeVxcXCIsIGJvdW5kYXJ5KTtcXG4gICAgICAgICAgICB9XFxuICAgICAgICAgICAgdmFyIGhlYWQgPSBPYmplY3QuYXNzaWduKHt9LCBkZWZoZWFkLCBpbmhlYWQpO1xcbiAgICAgICAgICAgIGlmIChib2R5KSB7XFxuICAgICAgICAgICAgICAgIGhlYWQuaGVhZGVycy5ib2R5ID0gT2JqZWN0LmtleXMoYm9keSkubWFwKGtleSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmlsbFswXSArIGJvdW5kYXJ5ICsgJ1xcXFxyXFxcXG5Db250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9XFxcIicgKyBrZXkgKyAnXFxcIlxcXFxyXFxcXG5cXFxcclxcXFxuJyArIGJvZHlba2V5XVxcbiAgICAgICAgICAgICAgICB9KS5qb2luKCdcXFxcclxcXFxuJykgKyAnXFxcXHJcXFxcbicgKyBmaWxsWzFdICsgYm91bmRhcnkgKyBmaWxsWzJdICsgJ1xcXFxyXFxcXG4nXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIC8vbG9nKGhlYWQpXFxuICAgICAgICAgICAgdmFyIHJlc3VsdCA9IEpTT04ucGFyc2UoZmV0Y2godXJsLCBoZWFkKSlcXG4gICAgICAgICAgICBsb2cocmVzdWx0KVxcbiAgICAgICAgICAgIHJldHVybiByZXN1bHQudXJsO1xcbiAgICAgICAgfVwifV0iLCJpY29uIjoiaHR0cHM6Ly9pbWcudmludWEuY24vaW1hZ2VzL0lEc0xDLndlYnAiLCJwcm94eSI6IiJ9
Add Comment
Please, Sign In to add comment