xiaomianao666

小程序:JustLive

Apr 30th, 2023
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 海阔视界规则分享,当前分享的是:小程序¥home_rule_v2¥base64://@JustLive@eyJsYXN0X2NoYXB0ZXJfcnVsZSI6IiIsInRpdGxlIjoiSnVzdExpdmUiLCJhdXRob3IiOiJKb2UmJumaj+mjjiYm5Y+R57Kq5raC5aKZJiZSeCYmWnJ1aXJ5IiwidXJsIjoiaGlrZXI6Ly9lbXB0eSMjZnljbGFzcyMjZnlwYWdlIiwidmVyc2lvbiI6MTEsImNvbF90eXBlIjoibW92aWVfMiIsImNsYXNzX25hbWUiOiLlhajpg6gm6JmO54mZJuaWl+mxvCblk5Tlk6km572R5piTIiwidHlwZSI6InZpZGVvIiwiY2xhc3NfdXJsIjoiYWxsJmh1eWEmZG91eXUmYmlsaWJpbGkmY2MiLCJhcmVhX25hbWUiOiIiLCJhcmVhX3VybCI6IiIsInNvcnRfbmFtZSI6IiIsInllYXJfbmFtZSI6IiIsInNvcnRfdXJsIjoiIiwieWVhcl91cmwiOiIiLCJmaW5kX3J1bGUiOiJqczpcbnZhciBkID0gW107XG52YXIgZnljbGFzcyA9IE1ZX1VSTC5zcGxpdChcIiMjXCIpWzFdXG5wdXRNeVZhcihcImZ5Y2xhc3NcIiwgZnljbGFzcylcbmlmIChNWV9QQUdFID09IDEpIHtcbiAgICBkLnVuc2hpZnQoe1xuICAgICAgICB0aXRsZTogZ2V0SXRlbShcIm5pY2tuYW1lXCIpLFxuICAgICAgICB1cmw6ICQoKS5sYXp5UnVsZSgoKSA9PiB7XG4gICAgICAgICAgICBwdXRNeVZhcihcInNUeXBlXCIsICdsaXZpbmcnKTtcbiAgICAgICAgICAgIHJldHVybiAnaGlrZXI6Ly9wYWdlL2hpc3Rvcnkjbm9IaXN0b3J5IydcbiAgICAgICAgfSksXG4gICAgICAgIGltZzogXCJodHRwczovL2xhbm1laWd1b2ppYW5nLmNvbS90dWJpYW8va2UvNzMucG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gICB0eXBlTmFtZXMucHVzaCh4LnR5cGVOYW1lKTtcXG4gICAgICAgICAgICAgICAgYmlnTGlzdC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBnZXRNeVZhcihcXFwidHlwZU5hbWVWYXJcXFwiKSA9PSB4LnR5cGVOYW1lID8gJ+KAmOKAmOKAmeKAmTxzdHJvbmc+PGZvbnQgY29sb3I9XFxcIiNGQTcyOThcXFwiPicgKyB4LnR5cGVOYW1lICsgJzwvZnJvbnQ+PC9zdHJvbmc+JyA6IHgudHlwZU5hbWUsXFxuICAgICAgICAgICAgICAgICAgICB1cmw6ICQoJyNub0xvYWRpbmcjJykubGF6eVJ1bGUoKHR5cGVOYW1lVmFyKSA9PiB7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcHV0TXlWYXIoXFxcInR5cGVOYW1lVmFyXFxcIiwgdHlwZU5hbWVWYXIpO1xcbiAgICAgICAgICAgICAgICAgICAgICAgIHJlZnJlc2hQYWdlKCk7XFxuICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFxcXCJoaWtlcjovL2VtcHR5XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgfSwgeC50eXBlTmFtZSksXFxuICAgICAgICAgICAgICAgICAgICBjb2xfdHlwZTogXFxcInNjcm9sbF9idXR0b25cXFwiXFxuICAgICAgICAgICAgICAgIH0pXFxuICAgICAgICAgICAgfVxcbiAgICAgICAgICAgIHNtYWxsTGlzdC5wdXNoKHtcXG4gICAgICAgICAgICAgICAgdGl0bGU6IHguYXJlYU5hbWUsXFxuICAgICAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vcGFnZS9uZXdDbGFzc0xpc3Q/dHlwZU5hbWU9JyArIHgudHlwZU5hbWUgKyAnJmFyZWFOYW1lPScgKyB4LmFyZWFOYW1lICsgXFxcIiZwYWdlPWZ5cGFnZVxcXCIsXFxuICAgICAgICAgICAgICAgIGltZzogeC5hcmVhUGljICsgXFxcIkBSZWZlcmVyPV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mFyKFxcXCJhcmVhXFxcIiwgYXJlYSlcXG59IGNhdGNoIChlKSB7XFxuICAgIHZhciBhcmVhID0gJydcXG59XFxuaWYgKGFyZWEgPT0gJycpIHtcXG4gICAgaWYgKGdldE15VmFyKFxcXCJNeWZyb1xcXCIpKSB7XFxuICAgICAgICB2YXIgdXJsID0gemZcXG4gICAgfSBlbHNlIHtcXG4gICAgICAgIHZhciB1cmwgPSB6b25nXFxuICAgIH1cXG59IGVsc2Uge1xcbiAgICBpZiAoZ2V0TXlWYXIoXFxcIk15ZnJvXFxcIikpIHtcXG4gICAgICAgIHZhciB1cmwgPSBwZlxcbiAgICB9IGVsc2Uge1xcbiAgICAgICAgdmFyIHVybCA9IHBpblxcbiAgICB9XFxufVxcblxcbnRyeSB7XFxuICAgIHZhciByZXMgPSBKU09OLnBhcnNlKHJlcXVlc3QodXJsKSkuZGF0YVxcbiAgICBpZiAocmVzID09ICcnKSB7XFxuICAgICAgICBkLnB1c2goe1xcbiAgICAgICAgICAgIHRpdGxlOiAnPGJyPicsXFxuICAgICAgICAgICAgY29sX3R5cGU6ICdyaWNoX3RleHQnXFxuICAgICAgICB9KVxcbiAgICAgICAgZC5wdXNoKHtcXG4gICAgICAgICAgICB0aXRsZTogJzxicj4nLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAncmljaF90ZXh0J1xcbiAgICAgICAgfSlcXG4gICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgZGVzYzogJ+aaguaXoOaIv+mXtFxcXFxuXFxcXG7or7fliIfmjaLlubPlj7Dop4LnnIsnLFxcbiAgICAgICAgICAgIHVybDogJ2hpa2VyOi8vZW1wdHknLFxcbiAgICAgICAgICAgIGNvbF90eXBlOiAndGV4dF9jZW50ZXJfMSdcXG4gICAgICAgIH0pO1xcbiAgICB9XFxuXFxuICAgIGZvciAoZGF0YSBvZiByZXMpIHtcXG4gICAgICAgIGQucHVzaCh7XFxuICAgICAgICAgICAgdGl0bGU6IGRhdGEuY2F0ZWd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