// 地址发布页 https://subaibai.vip/
// 搜索数字验证
var rule = {
    title: '素白白[优]',
    host: 'https://subaibai.vip',
    hostJs: $js.toString(() => {
        print(HOST);
        let html = request(HOST, {headers: {"User-Agent": PC_UA}});
        let src = jsp.pdfh(html, ".go:eq(1)&&a&&href");
        print(src);
        HOST = src;
    }),
    url: '/fyclassfyfilter',
    filterable: 1,//是否启用分类筛选,
    filter_url: '{{fl.area}}{{fl.year}}{{fl.class}}{{fl.cateId}}/page/fypage',
    filter: 'H4sIAAAAAAAAA5WYWVfbyBLHvwvPw4lMsKWZbzBPd97vmTOnsRtbgyw5WpJAzpwTJpiwJcCEgRD2JCxJIGxZwGxfxi3Z3+KWjKUStEvcPJDYqn91t35dXVXtJ11l66HO/+hzu37575OuAT7Y9UtXnrn810LXT10mK3P4LsZGg8Mz+P6QGR5vCc3wcXWn+WwnfAxfuv766Unrw71owD8cbuvcuVewzGKZmX964YCh28SOf/5JjG/f6VIYvOESzH0VF4e016BuFjz0eXEgalt3+RQ9K19KLm7pol7bTl1c2wUnarncNZGtx3P4C5upE9h6cnhQN9c+3DW85ZV5Yobd7eDyZeokLQecpOVw1yQuS0xxfJA6vltiieFBvHRx514ws4jjn+yL6fQpQr2bnKXlctcsBSsPr266zI78gtpHcfFvMP6cdhqCgBzUI/3ZeWO8RouT8QRbl/oOj3V4ifBF4rdobi3CiwRn06J6Er3L76F/+2wazHHwaMK5FKuTP3w0XVZ07lWsSjf8eQaz23P/9p/f/K/DjY0pyqVPt4o2q5SixdbP1xufDyh1vqQbheiUjFwFnzYpJSs8hC3xbB6pR/9pLn4gF25YbiQc3/afVclh865umZhE6hfLpNTUy/xGuklTspvjBnNnlLqkO64Vh5p4OSqmj0heluN6uIrp94139KuZrv7A091BVDffvSRXYZUthz/2mBHJZ6b8p53isr2QMsf8Nr/cOYRb0n5YCHNi7eZzcUqy6Gdl3Yiln7+J2h4ldbltW1FY+sMz/tN5Sup4ToWbToTN/3s3mJ+lxNy2XD0fSZ9VG+Pk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yqw0ZKXJrDRkpcmsNGSlyaw0ZKXJrDRkpcmsNGSlyaw0ZKXJrDRkpcmsNGSlyaw0ZKXJrFRkpcqsVGSlyqxUZKXKrFRkpcqsVGSlyqxUZKXKrFRkpcqsVGSlyqxUZKXKrFRkpcqscsgqJ7PKIauczCqHrHIyqxyyysmscsgqJ7PKIauczCqHrHIyqxyyysmsckgjJ9PIIo2sTCOLq8rKq8rivFl53izOm5Xn7cV5e+V5e3EXeuVd6MWRe+WR7+PI9+WRe3AX4CM0M7//9T/5epoibCMAAA==',
    // searchUrl:'/search?q=**',
    searchUrl: '/page/fypage?s=**',
    searchable: 2,//是否启用全局搜索,
    quickSearch: 0,//是否启用快速搜索,
    headers: {
        'User-Agent': 'UC_UA',
    },
    // class_parse:'.navlist&&li;a&&Text;a&&href;.*/(\\w+)',
    class_name: '影视筛选&国产剧&电影&电视剧&热门电影&高分电影&动漫电影&香港经典电影&欧美剧&韩剧&动漫剧&漫威宇宙电影系列&速度与激情电影系列&007系列(25部正传+2部外传)',//静态分类名称拼接
    class_url: 'movie_bt&domestic-drama&new-movie&tv-drama&hot-month&high-movie&cartoon-movie&hongkong-movie&american-drama&korean-drama&anime-drama&marvel-movies&fastfurious&zero-zero-seven',//静态分类标识拼接
    play_parse: true,
    lazy: $js.toString(() => {
        pdfh = jsp.pdfh;
        var html = request(input);
        var ohtml = pdfh(html, '.videoplay&&Html');
        var url = pdfh(ohtml, "body&&iframe&&src");
        if (/Cloud/.test(url)) {
            var ifrwy = request(url);
            let code = ifrwy.match(/var url = '(.*?)'/)[1].split('').reverse().join('');
            let temp = '';
            for (let i = 0x0; i < code.length; i = i + 0x2) {
                temp += String.fromCharCode(parseInt(code[i] + code[i + 0x1], 0x10))
            }
            input = {
                jx: 0,
                url: temp.substring(0x0, (temp.length - 0x7) / 0x2) + temp.substring((temp.length - 0x7) / 0x2 + 0x7),
                parse: 0
            }
        } else if (/decrypted/.test(ohtml)) {
            var phtml = pdfh(ohtml, "body&&script:not([src])&&Html");
            eval(getCryptoJS());
            var scrpt = phtml.match(/var.*?\)\);/g)[0];
            var data = [];
            eval(scrpt.replace(/md5/g, 'CryptoJS').replace('eval', 'data = '));
            input = {
                jx: 0,
                url: data.match(/url:.*?[\'\"](.*?)[\'\"]/)[1],
                parse: 0
            }
        } else {
            input
        }
    }),
    /*
    const js = $("script:contains(window.wp_nonce)").html(),
            group = js.match(/(var.*)eval\((\w*\(\w*\))\)/),
            md5 = Crypto,
            result = eval(group[1] + group[2]),
            playUrl = result.match(/url:.*?['"](.*?)['"]/)[1];
        return JSON.stringify({
            parse: 0,
            url: playUrl
        })
        
    lazy: '',*/
    推荐: 'body&&.mi_btcon;ul&&li;*;*;*;*',
    double:true, // 推荐内容是否双层定位
    一级: '.mrb&&li;img&&alt;img&&data-original;.jidi&&Text;a&&href',
    二级: {
        "title": "h1&&Text;.moviedteail_list&&li:eq(0)&&Text",
        "img": ".dyimg&&img&&src",
        "desc": ".moviedteail_list&&li:eq(-1)&&Text;;;.moviedteail_list&&li:eq(7)&&Text;.moviedteail_list&&li:eq(5)&&Text",
        "content": ".yp_context&&p&&Text",
        "tabs": ".mi_paly_box .ypxingq_t",
        "lists": ".paly_list_btn:eq(#id) a"
    },
    tab_rename:{'在线播放在线观看':'尤东风💠在线播放'},
    搜索: '.search_list&&ul&&li;*;*;*;*',
    图片来源: '@Referer=https://www.subaibaiys.com@User-Agent=Mozilla/5.0 (Linux; Android 11; PEHT00 Build/RKQ1.201217.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.106 Mobile Safari/537.36',
}
