🔥🔥番茄小说网页版,免费阅读,支持解锁VIP🔥🔥

番茄小说网页版,免费阅读,支持解锁VIP,支持一键下载小说

// ==UserScript==
// @name         🔥🔥番茄小说网页版,免费阅读,支持解锁VIP🔥🔥
// @namespace    https://www.softrr.cn/
// @version      1.1.9
// @author       hackhase
// @description  番茄小说网页版,免费阅读,支持解锁VIP,支持一键下载小说
// @license      MIT
// @icon         https://p1-tt.byteimg.com/origin/novel-static/a3621391ca2e537045168afda6722ee9
// @match        *://fanqienovel.com/*
// @require      https://cdn.jsdelivr.net/npm/vue@3.3.11/dist/vue.global.prod.js
// @require      data:application/javascript,%3Bwindow.Vue%3DVue%3B
// @connect      www.softrr.cn
// @connect      novel.snssdk.com
// @connect      novel.snssdk.com
// @connect      www.dushuge.com
// @connect      www.b5200.net
// @connect      fq.travacocro.com
// @connect      localhost
// @connect      api.softrr.cn
// @grant        GM_addStyle
// @grant        GM_xmlhttpRequest
// @grant        unsafeWindow
// ==/UserScript==

(t=>{if(typeof GM_addStyle=="function"){GM_addStyle(t);return}const o=document.createElement("style");o.textContent=t,document.head.append(o)})(" :root{font-family:Inter,Avenir,Helvetica,Arial,sans-serif;font-size:16px;line-height:24px;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{height:100px}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.modal-wrapper[data-v-6f8ba791]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999}.modal[data-v-6f8ba791]{background-color:#fff;padding:20px;border-radius:5px}.header[data-v-6f8ba791]{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.header h2[data-v-6f8ba791]{margin:0;font-size:20px;font-weight:700}.header button[data-v-6f8ba791]{border:none;background-color:transparent;font-size:20px;cursor:pointer}.contentBox[data-v-6f8ba791]{max-height:400px;overflow:auto;font-size:16px;display:flex;justify-content:space-between}.contentBox .produce p[data-v-6f8ba791]{margin-top:15px}.contentBox .produce .ipt[data-v-6f8ba791]{margin-top:15px;height:30px;border-radius:5px;padding-left:10px}.contentBox .img[data-v-6f8ba791]{display:flex;align-items:center;justify-content:center}.contentBox .img img[data-v-6f8ba791]{width:180px}input[data-v-6f8ba791]::-webkit-input-placeholder{color:#aab2bd;font-size:14px;padding-left:5px}.copy[data-v-9ec58d8c]{width:160px;position:fixed;right:10px;top:80px;color:#111;z-index:999;display:flex;flex-direction:column}.copy .prase[data-v-9ec58d8c],.copy .down[data-v-9ec58d8c]{width:100px;height:30px;font-size:14px;background-color:red;color:#fff;border-radius:10%;z-index:999}.copy .getClipboardContent[data-v-9ec58d8c]{width:100px;height:30px}.copy .prase[data-v-9ec58d8c]:hover,.copy .down[data-v-9ec58d8c]:hover,.copy .getClipboardContent[data-v-9ec58d8c]:hover{background-color:#87ceeb;color:#fff} ");

(async function (vue) {
  'use strict';

  const _export_sfc = (sfc, props) => {
    const target = sfc.__vccOpts || sfc;
    for (const [key, val] of props) {
      target[key] = val;
    }
    return target;
  };
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-6f8ba791"), n = n(), vue.popScopeId(), n);
  const _hoisted_1$1 = { class: "modal" };
  const _hoisted_2$1 = { class: "header" };
  const _hoisted_3 = { class: "contentBox" };
  const _hoisted_4 = { class: "produce" };
  const _hoisted_5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("p", null, "1、扫描右侧公众号,点击关注!", -1));
  const _hoisted_6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("p", null, "2、在软件爬取者后台回复:验证码", -1));
  const _hoisted_7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("p", null, "3、在下方输入框输入获取的验证码后回车", -1));
  const _hoisted_8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "img" }, [
    /* @__PURE__ */ vue.createElementVNode("img", {
      src: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4AAQSkZJRgABAQAAAQABAAD/2wEEEAANAA0ADQANAA4ADQAOABAAEAAOABQAFgATABYAFAAeABsAGQAZABsAHgAtACAAIgAgACIAIAAtAEQAKgAyACoAKgAyACoARAA8AEkAOwA3ADsASQA8AGwAVQBLAEsAVQBsAH0AaQBjAGkAfQCXAIcAhwCXAL4AtQC+APkA+QFOEQANAA0ADQANAA4ADQAOABAAEAAOABQAFgATABYAFAAeABsAGQAZABsAHgAtACAAIgAgACIAIAAtAEQAKgAyACoAKgAyACoARAA8AEkAOwA3ADsASQA8AGwAVQBLAEsAVQBsAH0AaQBjAGkAfQCXAIcAhwCXAL4AtQC+APkA+QFO/8IAEQgBAgECAwEiAAIRAQMRAf/EADQAAAMBAQADAQAAAAAAAAAAAAAGBwUEAQMIAgEBAAMBAQEAAAAAAAAAAAAAAAQFBgMBAv/aAAwDAQACEAMQAAAApwAAAAAAAAAAAAAAAAAAAAAAAAAAAAASnC/VnIsVEJc96yqcwBuItgmZ1VVGDCq2LOivkgfRiFxWKZiybTMysTphGSTVNVFYrXMS4sUgLiAAAAEOpsyqBAwC+KbYpmo8w78FQWFbBN+5/NtZPLROgwafpzEVrF2YA8x/MVTz4Avim2KYsKzYplQW2RbLiAAAAEOp2VnDMK3sPfx+1iJppM+oaUg/OUX6fM8wHudcjQajkmLJqU3Nm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vcZxlu69KzNWw9de++cjTdaqGAe5mMrVDp3pSZRMjH15r1Qn9JBrcYtHIqWSwPQF7jeQzloQKYPQjPvffKtVwuJzi2X7/wD/2Q==",
      alt: ""
    })
  ], -1));
  const _sfc_main$1 = {
    __name: "Model",
    props: {
      title: {
        type: String,
        required: true
      },
      code: {
        type: Number
      }
    },
    setup(__props, { expose: __expose }) {
      const props = __props;
      const visible = vue.ref(false);
      const openModal = () => {
        visible.value = true;
      };
      const closeModal = () => {
        visible.value = false;
      };
      __expose({
        visible,
        openModal,
        closeModal
      });
      const codeValue = vue.ref();
      const enterCode = () => {
        if (codeValue.value == props.code) {
          localStorage.setItem("code", codeValue.value);
          visible.value = false;
          alert("验证成功,请再次点击解析!");
          codeValue.value = "";
        } else {
          alert("验证码错误,请重新输入!");
          codeValue.value = "";
        }
      };
      return (_ctx, _cache) => {
        return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
          class: "modal-wrapper",
          onClick: vue.withModifiers(closeModal, ["self"])
        }, [
          vue.createElementVNode("div", _hoisted_1$1, [
            vue.createElementVNode("div", _hoisted_2$1, [
              vue.createElementVNode("h2", null, vue.toDisplayString(__props.title), 1),
              vue.createElementVNode("button", { onClick: closeModal }, "X")
            ]),
            vue.createElementVNode("div", _hoisted_3, [
              vue.createElementVNode("div", _hoisted_4, [
                _hoisted_5,
                _hoisted_6,
                _hoisted_7,
                vue.withDirectives(vue.createElementVNode("input", {
                  class: "ipt",
                  type: "text",
                  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => codeValue.value = $event),
                  onKeydown: vue.withKeys(enterCode, ["enter"]),
                  placeholder: "请输入验证码后按回车"
                }, null, 544), [
                  [vue.vModelText, codeValue.value]
                ])
              ]),
              _hoisted_8
            ])
          ])
        ], 512)), [
          [vue.vShow, visible.value]
        ]);
      };
    }
  };
  const Model = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6f8ba791"]]);
  var _GM_xmlhttpRequest = /* @__PURE__ */ (() => typeof GM_xmlhttpRequest != "undefined" ? GM_xmlhttpRequest : void 0)();
  var _unsafeWindow = /* @__PURE__ */ (() => typeof unsafeWindow != "undefined" ? unsafeWindow : void 0)();
  const importScript = (src) => {
    return new Promise((resolve, reject) => {
      const script = document.createElement("script");
      script.src = src;
      script.addEventListener("load", () => {
        var _a;
        resolve();
        (_a = script.parentElement) == null ? void 0 : _a.removeChild(script);
      });
      script.addEventListener("error", (e) => {
        var _a;
        reject(e);
        (_a = script.parentElement) == null ? void 0 : _a.removeChild(script);
      });
      document.body.appendChild(script);
    });
  };
  await( importScript(
    "https://cdn.jsdelivr.net/npm/jszip@3.10.1/dist/jszip.min.js"
  ));
  _unsafeWindow == null ? void 0 : _unsafeWindow.JSZip;
  const getCode = () => {
    return new Promise(function(resolve, reject) {
      _GM_xmlhttpRequest({
        method: "GET",
        url: `https://www.softrr.cn/crawler/getCode`,
        headers: {
          Referer: "https://www.softrr.cn/",
          "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36"
        },
        onload: function(res) {
          resolve(JSON.parse(res.response).data[0].code);
        },
        onerror: function(error) {
          console.log(error);
        }
      });
    });
  };
  const cookie = "novel_web_id=7357767624615331362;";
  const getContent = (ID, ResCode) => {
    return new Promise(function(resolve, reject) {
      _GM_xmlhttpRequest({
        method: "GET",
        url: `https://api.softrr.cn/api/fanqie?id=${ID}&code=${ResCode}`,
        headers: {
          "Content-Type": "application/json",
          Accept: "application/json, text/plain, */*"
        },
        cookie,
        anonymous: true,
        onload: function(res) {
          if (res.status == "403") {
            resolve({
              code: 403,
              info: "因接口压力,普通用户一天限制解析30次!会员用户一天限制解析1000次,</br></br>需要会员的请到公众号:软件珍藏室,后台加微信"
            });
          } else {
            if (res.response !== void 0) {
              resolve(JSON.parse(res.responseText).data);
            } else {
              resolve("无法解析");
            }
          }
        },
        onerror: function(error) {
          reject(error);
        }
      });
    });
  };
  const getBiQuGe = (url) => {
    return new Promise((resolve, reject) => {
      _GM_xmlhttpRequest({
        method: "GET",
        url,
        headers: {
          "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36"
        },
        onload: function(res) {
          if (res.status == 200) {
            if (res.response !== void 0) {
              resolve(res.response);
            } else {
              resolve("无法解析");
            }
          } else {
            resolve("无法解析");
          }
        },
        onerror: function(error) {
          reject("解析失败", error);
        }
      });
    });
  };
  const getBookName = () => {
    var baseUrl = window.location.href;
    let bookName = "";
    let ChartName = "";
    if (baseUrl.includes("reader")) {
      bookName = document.querySelector(".muye-reader-nav-title").innerText.trim();
      if (document.querySelector(".muye-reader-title")) {
        ChartName = document.querySelector(".muye-reader-title").innerText.trim();
      } else {
        ChartName = document.querySelector("#heading_id_2").innerText.trim();
      }
    }
    return [bookName, ChartName];
  };
  const getDuShuGeContent = async () => {
    let bookInfo = getBookName();
    alert(bookInfo);
    let bookUrl = `http://www.dushuge.com/hsdgiohsdigohsog.php?ie=gbk&q=${bookInfo[0]}`;
    let bookdata = await getBiQuGe(bookUrl);
    if (bookdata === "无法解析") {
      return "无法解析";
    }
    let reg = /<a.+?href=\"(.+?)\".*>(.+)<\/a>/g;
    let pattern = /href=[\"|'](.*?)[\"|']/gi;
    let r = /["|'](.*)["|']/;
    let bookdataList = bookdata.match(reg).toString().replace(/<\/li><li>/g, ",").replace(/<div class=".*?"><h4 class=".*?">/g, ",").replace(/<\/h4>/g, ",").split(",");
    let bookhref = "";
    bookdataList.forEach((element) => {
      let result = getACon(element);
      if (result === bookInfo[0]) {
        bookhref = element.match(pattern)[0].match(r)[1];
      }
    });
    if (bookhref === "") {
      return "无法解析";
    }
    let chartUrl = "http://www.dushuge.com" + bookhref;
    let chartdata = await getBiQuGe(chartUrl);
    let reg1 = /<dd>.*?<a [^>]*>(.*?)<\/a>.*?<\/dd>/g;
    let chartdataList = chartdata.match(reg1);
    let chartInfo = [];
    let regex = /<a[^>]*>(.*?)<\/a>/;
    for (var i = 0; i < chartdataList.length; i++) {
      let obj = {};
      if (chartdataList[i].includes(".html")) {
        obj.charthref = "http://www.dushuge.com" + chartdataList[i].split('"')[1];
        obj.chartname = chartdataList[i].match(regex)[1].toString();
        chartInfo.push(JSON.stringify(obj));
      }
    }
    const chartRes = chartInfo.find((item) => {
      return JSON.parse(item).chartname == bookInfo[1];
    });
    if (chartRes === void 0) {
      return "无法解析";
    }
    let contentUrl = JSON.parse(chartRes).charthref;
    let contentdata = await getBiQuGe(contentUrl);
    contentdata = contentdata.split('<div id="content" class="showtxt">')[1].split("<br /><br /></div>")[0];
    contentdata = contentdata.replace(/&nbsp;/gi, "");
    return contentdata;
  };
  const getBiGuGeContent = async () => {
    let bookInfo = getBookName();
    let bookUrl = `http://www.b5200.net/modules/article/search.php?searchkey=${bookInfo[0]}`;
    let bookdata = await getBiQuGe(bookUrl);
    if (bookdata === "无法解析") {
      return "无法解析";
    }
    let reg = /<a.+?href=\"(.+?)\".*>(.+)<\/a>/g;
    let pattern = /href=[\"|'](.*?)[\"|']/gi;
    let r = /["|'](.*)["|']/;
    let bookdataList = bookdata.match(reg).toString().split(",");
    let bookhref = "";
    bookdataList.forEach((element) => {
      let result = getACon(element);
      if (result === bookInfo[0]) {
        bookhref = element.match(pattern)[0].match(r)[1];
      }
    });
    if (bookhref === "") {
      return "无法解析";
    }
    let chartUrl = "http://www.b5200.net/" + bookhref;
    let chartdata = await getBiQuGe(chartUrl);
    let chartdataList = chartdata.match(reg).toString().split(",");
    let chartInfo = [];
    let regex = /<a[^>]*>(.*?)<\/a>/;
    for (var i = 0; i < chartdataList.length; i++) {
      let obj = {};
      if (chartdataList[i].includes(".html")) {
        obj.charthref = "http://www.b5200.net" + chartdataList[i].match(pattern)[0].match(r)[1].toString();
        obj.chartname = chartdataList[i].match(regex)[1].toString();
        chartInfo.push(JSON.stringify(obj));
      }
    }
    const chartRes = chartInfo.find((item) => {
      return JSON.parse(item).chartname == bookInfo[1];
    });
    if (chartRes === void 0) {
      return "无法解析";
    }
    let contentUrl = JSON.parse(chartRes).charthref;
    let contentdata = await getBiQuGe(contentUrl);
    contentdata = contentdata.replace(/<div id='gc1' class='gcontent1'>(.*?)<\/div>/, "");
    var regexCon = /<div id="content" class="(.*?)">(.*?)<\/div>/;
    let contentList = contentdata.match(regexCon)[0];
    contentList = contentList.replace(/<div id="content" class="(.*?)">/, "");
    contentList = contentList.replace(/<div(.*?)><\/div>/, "");
    return contentList;
  };
  const getACon = (html) => {
    const regex = /<a[^>]*>(.*?)<\/a>/gi;
    let match;
    while (match = regex.exec(html)) {
      return match[1];
    }
  };
  const CODE_ST = 58344;
  const CODE_ED = 58715;
  const charset = [
    "D",
    "在",
    "主",
    "特",
    "家",
    "军",
    "然",
    "表",
    "场",
    "4",
    "要",
    "只",
    "v",
    "和",
    "?",
    "6",
    "别",
    "还",
    "g",
    "现",
    "儿",
    "岁",
    "?",
    "?",
    "此",
    "象",
    "月",
    "3",
    "出",
    "战",
    "工",
    "相",
    "o",
    "男",
    "直",
    "失",
    "世",
    "F",
    "都",
    "平",
    "文",
    "什",
    "V",
    "O",
    "将",
    "真",
    "T",
    "那",
    "当",
    "?",
    "会",
    "立",
    "些",
    "u",
    "是",
    "十",
    "张",
    "学",
    "气",
    "大",
    "爱",
    "两",
    "命",
    "全",
    "后",
    "东",
    "性",
    "通",
    "被",
    "1",
    "它",
    "乐",
    "接",
    "而",
    "感",
    "车",
    "山",
    "公",
    "了",
    "常",
    "以",
    "何",
    "可",
    "话",
    "先",
    "p",
    "i",
    "叫",
    "轻",
    "M",
    "士",
    "w",
    "着",
    "变",
    "尔",
    "快",
    "l",
    "个",
    "说",
    "少",
    "色",
    "里",
    "安",
    "花",
    "远",
    "7",
    "难",
    "师",
    "放",
    "t",
    "报",
    "认",
    "面",
    "道",
    "S",
    "?",
    "克",
    "地",
    "度",
    "I",
    "好",
    "机",
    "U",
    "民",
    "写",
    "把",
    "万",
    "同",
    "水",
    "新",
    "没",
    "书",
    "电",
    "吃",
    "像",
    "斯",
    "5",
    "为",
    "y",
    "白",
    "几",
    "日",
    "教",
    "看",
    "但",
    "第",
    "加",
    "候",
    "作",
    "上",
    "拉",
    "住",
    "有",
    "法",
    "r",
    "事",
    "应",
    "位",
    "利",
    "你",
    "声",
    "身",
    "国",
    "问",
    "马",
    "女",
    "他",
    "Y",
    "比",
    "父",
    "x",
    "A",
    "H",
    "N",
    "s",
    "X",
    "边",
    "美",
    "对",
    "所",
    "金",
    "活",
    "回",
    "意",
    "到",
    "z",
    "从",
    "j",
    "知",
    "又",
    "内",
    "因",
    "点",
    "Q",
    "三",
    "定",
    "8",
    "R",
    "b",
    "正",
    "或",
    "夫",
    "向",
    "德",
    "听",
    "更",
    "?",
    "得",
    "告",
    "并",
    "本",
    "q",
    "过",
    "记",
    "L",
    "让",
    "打",
    "f",
    "人",
    "就",
    "者",
    "去",
    "原",
    "满",
    "体",
    "做",
    "经",
    "K",
    "走",
    "如",
    "孩",
    "c",
    "G",
    "给",
    "使",
    "物",
    "?",
    "最",
    "笑",
    "部",
    "?",
    "员",
    "等",
    "受",
    "k",
    "行",
    "一",
    "条",
    "果",
    "动",
    "光",
    "门",
    "头",
    "见",
    "往",
    "自",
    "解",
    "成",
    "处",
    "天",
    "能",
    "于",
    "名",
    "其",
    "发",
    "总",
    "母",
    "的",
    "死",
    "手",
    "入",
    "路",
    "进",
    "心",
    "来",
    "h",
    "时",
    "力",
    "多",
    "开",
    "已",
    "许",
    "d",
    "至",
    "由",
    "很",
    "界",
    "n",
    "小",
    "与",
    "Z",
    "想",
    "代",
    "么",
    "分",
    "生",
    "口",
    "再",
    "妈",
    "望",
    "次",
    "西",
    "风",
    "种",
    "带",
    "J",
    "?",
    "实",
    "情",
    "才",
    "这",
    "?",
    "E",
    "我",
    "神",
    "格",
    "长",
    "觉",
    "间",
    "年",
    "眼",
    "无",
    "不",
    "亲",
    "关",
    "结",
    "0",
    "友",
    "信",
    "下",
    "却",
    "重",
    "己",
    "老",
    "2",
    "音",
    "字",
    "m",
    "呢",
    "明",
    "之",
    "前",
    "高",
    "P",
    "B",
    "目",
    "太",
    "e",
    "9",
    "起",
    "稜",
    "她",
    "也",
    "W",
    "用",
    "方",
    "子",
    "英",
    "每",
    "理",
    "便",
    "四",
    "数",
    "期",
    "中",
    "C",
    "外",
    "样",
    "a",
    "海",
    "们",
    "任"
  ];
  function interpreter(cc) {
    let bias = cc - CODE_ST;
    if (bias < 0 || bias >= charset.length || charset[bias] === "?") {
      return String.fromCharCode(cc);
    }
    return charset[bias];
  }
  function r_content(content) {
    let newText = "";
    try {
      for (var text of content) {
        let len = text.length;
        for (var ind = 0; ind < len; ind++) {
          let cc = text.charCodeAt(ind);
          var ch = text.charAt(ind);
          if (cc >= CODE_ST && cc <= CODE_ED) {
            ch = interpreter(cc);
          }
          newText += ch;
        }
      }
    } catch (err) {
      console.log(err);
    }
    return newText;
  }
  const _withScopeId = (n) => (vue.pushScopeId("data-v-9ec58d8c"), n = n(), vue.popScopeId(), n);
  const _hoisted_1 = { class: "copy" };
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("a", { href: "" }, null, -1));
  const _sfc_main = {
    __name: "App",
    setup(__props) {
      const url = vue.ref("");
      const flag = vue.ref(true);
      const extractedId = vue.ref();
      url.value = window.location.href;
      var array = url.value.split("/");
      extractedId.value = array[array.length - 1].split("?")[0] ? array[array.length - 1].split("?")[0] : extractedId.value;
      const code = vue.ref();
      const model = vue.ref("");
      const auto = vue.ref("");
      const titleList = vue.ref([]);
      const chapterTitle = vue.ref("");
      const ResCode = vue.ref("");
      vue.onMounted(() => {
        if (document.querySelector(".muye-reader-content")) {
          let noselect = document.querySelector(".muye-reader-content");
          noselect.classList.remove("noselect");
        }
        if (document.querySelector(".muye-to-vip")) {
          onPrase();
        }
        if (url.value.includes("reader")) {
          var lastBtn = document.querySelector(".last");
          flag.value = false;
          lastBtn.addEventListener("click", function() {
            onPrase();
          });
          var nextBtn = document.querySelector(".next");
          nextBtn.addEventListener("click", function() {
            onPrase();
          });
        } else if (url.value.includes("page")) {
          flag.value = true;
          titleList.value = document.querySelectorAll(".chapter-item");
          chapterTitle.value = document.querySelector(".info-name").innerText;
        }
      });
      const onPrase = async () => {
        code.value = await getCode();
        let locaCode = localStorage.getItem("code") || "";
        if (locaCode == code.value) {
          let content = "";
          if (await getContent(extractedId.value) !== "无法解析") {
            url.value = window.location.href;
            var array2 = url.value.split("/");
            extractedId.value = array2[array2.length - 1].split("?")[0] ? array2[array2.length - 1].split("?")[0] : extractedId.value;
            ResCode.value = localStorage.getItem("ResCode") ? localStorage.getItem("ResCode") : "1234";
            let contentList = await getContent(extractedId.value, ResCode.value);
            if (contentList.code == 403) {
              content = "<h1>" + contentList.info + "</h1>";
            } else {
              content = "<p>" + contentList.join("<p/><p>") + "<p/>";
            }
          } else {
            let promise = getDuShuGeContent();
            if (await getDuShuGeContent() !== "无法解析") {
              content = await getDuShuGeContent();
            } else {
              if (await getBiGuGeContent() !== "无法解析") {
                content = await getBiGuGeContent();
              } else {
                content = "解析失败,请稍后再试";
              }
            }
            promise.catch(async (err) => {
              console.log(err);
              if (err == "解析失败") {
                if (await getBiGuGeContent() !== "无法解析") {
                  console.log(5);
                  content = await getBiGuGeContent();
                } else {
                  content = "解析失败,请稍后再试!";
                }
              }
            });
          }
          content = content + '</br><a href="https://www.softrr.cn/" style="color: blue;font-size: 16px;" target="_blank">有问题请到软件珍藏室后台反映</a>';
          let muye = document.querySelector(".muye-reader-content");
          muye.innerHTML = content;
          let vip = document.querySelector(".muye-to-vip");
          vip.style.display = "none";
          document.querySelector(".muye-to-fanqie").style.display = "none";
          url.value = window.location.href;
        } else {
          model.value.openModal();
        }
      };
      vue.ref(null);
      async function getClipboardContent() {
        var selectedText = getSelectedText();
        if (selectedText) {
          try {
            selectedText = r_content(selectedText);
            await navigator.clipboard.writeText(selectedText);
          } catch (err) {
            console.error("复制到剪贴板失败: ", err);
            alert("复制到剪贴板出现问题,请手动复制。");
          }
        } else {
          alert("请先选中要复制的文字哦!");
        }
      }
      function getSelectedText() {
        var selection = window.getSelection();
        if (selection.rangeCount > 0) {
          return selection.toString();
        }
        return "";
      }
      const title = vue.ref("为了减少端口压力,防止滥用,采取必要的验证手段。");
      return (_ctx, _cache) => {
        return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
          vue.withDirectives(vue.createElementVNode("button", {
            onClick: onPrase,
            class: "prase",
            ref_key: "auto",
            ref: auto
          }, "解析", 512), [
            [vue.vShow, false]
          ]),
          vue.withDirectives(vue.createElementVNode("button", {
            onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onDown && _ctx.onDown(...args)),
            class: "down"
          }, "一键下载", 512), [
            [vue.vShow, false]
          ]),
          vue.createElementVNode("button", {
            onClick: getClipboardContent,
            class: "getClipboardContent"
          }, "复制"),
          vue.createVNode(Model, {
            title: title.value,
            code: code.value,
            ref_key: "model",
            ref: model
          }, null, 8, ["title", "code"]),
          _hoisted_2
        ]);
      };
    }
  };
  const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9ec58d8c"]]);
  const app = vue.createApp(App);
  app.mount(
    (() => {
      const app2 = document.createElement("div");
      document.body.append(app2);
      return app2;
    })()
  );

})(Vue);