This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.compose.foundation.background | |
import androidx.compose.foundation.layout.Arrangement | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.Row | |
import androidx.compose.foundation.layout.Spacer | |
import androidx.compose.foundation.layout.aspectRatio | |
import androidx.compose.foundation.layout.fillMaxHeight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun LazyItemScope.inOutAnimateItem(): Modifier { | |
return Modifier.animateItem( | |
fadeInSpec = spring(stiffness = Spring.StiffnessMediumLow), | |
placementSpec = spring( | |
stiffness = Spring.StiffnessMediumLow, | |
visibilityThreshold = IntOffset.VisibilityThreshold | |
), | |
fadeOutSpec = spring(stiffness = Spring.StiffnessMediumLow) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name fix-iqiyi-chatgpt | |
// @namespace npm/vite-plugin-monkey | |
// @version 0.0.0 | |
// @author monkey | |
// @icon https://vitejs.dev/logo.svg | |
// @match http://chat.qiyi.domain/* | |
// @run-at document-end | |
// @noframes | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface GmResponseTypeMap { | |
text: string; | |
json: any; | |
arraybuffer: ArrayBuffer; | |
blob: Blob; | |
document: Document; | |
stream: ReadableStream<Uint8Array>; | |
} | |
type GmResponseType = keyof GmResponseTypeMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
id: 233, | |
name: 'Subscription', | |
version: 0, | |
author: 'author', | |
updateUrl: 'https://gist.github.com/lisonge/3f5693182ad4ef5e307be760dba22bcb/raw/gkd.json5', | |
checkUpdateUrl: 'https://gist.github.com/lisonge/3f5693182ad4ef5e307be760dba22bcb/raw/gkd.json5', | |
supportUri: 'https://gkd.li/', | |
categories: [], | |
globalGroups: [], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"versionCode": 8, | |
"versionName": "1.4.0", | |
"changelog": "- 迁移至 material3, 支持深色模式\n- 快照现在可以标识节点是否可 quickFind\n- 可以通过通知栏快捷图标捕获快照\n- 使用无障碍前台优化跳过缓慢的问题\n- 允许用户控制默认关闭/默认开启所有规则\n- 移除二维码相关功能\n- 仅保留最新1000条点击记录,超出自动删除\n- 允许用户关闭日志文件输出\n- 订阅页面支持APP搜索\n- 本地订阅支持分享文件\n- 新版本弹窗现在显示当前版本与最新版本之间所有版本的日志\n- 规则 action 支持 back\n- 规则新增 matchDelay/matchTime/actionMaximum/resetMatch 字段\n- 规则现在可以保存 snapshotUrls/exampleUrls 字段\n- 修复无法在[最近任务界面]正确隐藏\n- 修复高级设置页面无法滑动到底部\n- 修复第一次打开APP时添加默认订阅失败\n- 修复HTTP服务无权限获取host失败\n- 修复因无法打开其它应用页面导致的崩溃\n- 修复通知栏规则组数量显示不正确", | |
"downloadUrl": "./dist/gkd-v1.3.0.apk", | |
"fileSize": 13888151, | |
"versionLogs": [ | |
{ | |
"name": "1.4.0", | |
"code": 8, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(global2, factory) { | |
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("jszip/dist/jszip")) : typeof define === "function" && define.amd ? define(["exports", "jszip/dist/jszip"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.ePub = {}, global2.JSZip)); | |
})(this, function(exports2, JSZip) { | |
"use strict"; | |
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {}; | |
function getDefaultExportFromCjs(x) { | |
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x; | |
} | |
var eventEmitter = { exports: {} }; | |
var d$1 = { exports: {} }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import MagicString from 'magic-string'; | |
import * as acorn from 'acorn'; | |
const prefix = `const x=`; | |
const code = `${prefix}{ | |
"pages": ["pages/index/index"], | |
"subpackages": [ | |
{ | |
"name": "A", | |
"pages": ["innerModule/pages/index/index"] |