// ==UserScript== // @name Ophel Atlas - AI 对话结构化与导航工具, 全能AI助手 (支持 Gemini, ChatGPT, Claude, Grok, AI Studio, 豆包) // @name:zh-CN Ophel Atlas - AI 对话结构化与导航工具, 全能AI助手 (支持 Gemini, ChatGPT, Claude, Grok, AI Studio, 豆包) // @name:zh-TW Ophel Atlas - AI 對話結構化與導覽工具, 全能AI助手 (支持 Gemini, ChatGPT, Claude, Grok, AI Studio, 豆包) // @name:en Ophel Atlas - AI Chat Organizer & Navigator (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:de Ophel Atlas - KI-Chat-Organizer & Navigator (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:es Ophel Atlas - Organizador de Chats de IA (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:fr Ophel Atlas - Organisateur de Chat IA (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:it Ophel Atlas - Organizzatore di chat IA (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:ja Ophel Atlas - AI対話の構造化とナビゲーションツール (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:ko Ophel Atlas - AI 채팅 정리 및 탐색 도구 (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:pt-BR Ophel Atlas - Organizador de Chat de IA (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @name:ru Ophel Atlas - Органайзер AI-чатов (Support Gemini, ChatGPT, Claude, Grok, AI Studio) // @namespace https://github.com/urzeye/ophel // @version 1.2.13 // @author urzeye // @description 适用于 Gemini、Gemini Enterprise、AI Studio、ChatGPT、Claude、Grok、DeepSeek、QwenAI、豆包、Kimi、ChatGLM、Z.ai 的 AI 对话导航与整理工具,提供实时大纲、Search Everywhere 全局搜索、对话文件夹、置顶、提示词队列与提示词库、提示词变量、Markdown/JSON 导出、思维链导出控制、WebDAV 同步、禅模式、宽屏/全屏阅读、滚动锁定、主题切换、LaTeX/表格复制、标签页重命名、隐私模式、完成通知音、阅读历史恢复、快捷键与批量导入提示词队列,让长 AI 对话更易搜索、更易导航、更易沉淀、更易复用。 // @description:en AI chat navigator and organizer for Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, Kimi, QwenAI, Doubao, ChatGLM, and Z.ai. Adds real-time outlines, Search Everywhere, conversation folders, pinning, prompt queue, prompt library, Markdown/JSON export, WebDAV sync, Zen Mode, wide/full-screen reading, scroll lock, LaTeX/table copy, tab renaming, privacy mode, notifications, reading history restore, shortcuts, prompt variables, and theme tweaks. Sound presets. Batch import. // @description:zh-CN 适用于 Gemini、Gemini Enterprise、AI Studio、ChatGPT、Claude、Grok、DeepSeek、QwenAI、豆包、Kimi、ChatGLM、Z.ai 的 AI 对话导航与整理工具,提供实时大纲、Search Everywhere 全局搜索、对话文件夹、置顶、提示词队列与提示词库、提示词变量、Markdown/JSON 导出、思维链导出控制、WebDAV 同步、禅模式、宽屏/全屏阅读、滚动锁定、主题切换、LaTeX/表格复制、标签页重命名、隐私模式、完成通知音、阅读历史恢复、快捷键与批量导入提示词队列,让长 AI 对话更易搜索、更易导航、更易沉淀、更易复用。 // @description:zh-TW 適用於 Gemini、Gemini Enterprise、AI Studio、ChatGPT、Claude、Grok、DeepSeek、QwenAI、豆包、Kimi、ChatGLM、Z.ai 的 AI 對話導覽與整理工具,提供即時大綱、Search Everywhere 全域搜尋、對話資料夾、置頂、提示詞佇列與提示詞庫、提示詞變數、Markdown/JSON 匯出、思維鏈匯出控制、WebDAV 同步、禪模式、寬螢幕/全螢幕閱讀、捲動鎖定、主題切換、LaTeX/表格複製、分頁重新命名、隱私模式、完成通知音、閱讀歷史恢復、快捷鍵與批量匯入提示詞佇列,讓長 AI 對話更易搜尋、更易導覽、更易沉澱、更易複用。 // @description:de KI-Chat-Navigator für Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, Kimi, QwenAI, Doubao, ChatGLM und Z.ai. Mit Echtzeit-Gliederung, Search Everywhere, Ordnern, Pinning, Prompt-Queue, Markdown/JSON-Export, WebDAV-Sync, Zen Mode, Scroll Lock, Tab-Umbenennung, Benachrichtigungen und Verlauf für lange, durchsuchbare AI-Chats. // @description:es Navegador y organizador de chats con IA para Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, Kimi, QwenAI, Doubao, ChatGLM y Z.ai. Incluye esquemas en tiempo real, Search Everywhere, carpetas, fijado, cola y biblioteca de prompts, variables, exportación Markdown/JSON, sincronización WebDAV, Zen Mode, lectura amplia, bloqueo de desplazamiento, copia de LaTeX/tablas, renombrado de pestañas, privacidad, notificaciones e historial para chats largos y reutilizables. // @description:fr Navigateur et organisateur de chats IA pour Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, Kimi, QwenAI, Doubao, ChatGLM et Z.ai. Ajoute un plan en temps réel, Search Everywhere, dossiers, épinglage, file et bibliothèque de prompts, variables, export Markdown/JSON, sync WebDAV, Zen Mode, lecture large, verrouillage du défilement, copie LaTeX/tableaux, renommage des onglets, confidentialité, notifications et reprise de lecture pour des chats IA longs et réutilisables. // @description:it Navigatore e organizzatore di chat IA per Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, Kimi, QwenAI, Doubao, ChatGLM e Z.ai. Aggiunge outline in tempo reale, Search Everywhere, cartelle, pin, coda e libreria prompt, variabili, export Markdown/JSON, sync WebDAV, Zen Mode, lettura ampia, scroll lock, copia LaTeX/tabelle, rinomina schede, privacy, notifiche e cronologia per chat lunghe e riutilizzabili. // @description:ja Gemini、Gemini Enterprise、AI Studio、ChatGPT、Claude、Grok、DeepSeek、QwenAI、豆包、Kimi、ChatGLM、Z.ai に対応する AI対話ナビゲーション整理ツール。リアルタイム目次、Search Everywhere、会話フォルダ、ピン留め、プロンプトキューとプロンプトライブラリ、プロンプト変数、Markdown/JSON エクスポート、WebDAV 同期、禅モード、ワイド/全画面読書、スクロールロック、LaTeX/表コピー、タブ名変更、プライバシーモード、完了通知、閲覧履歴復元を提供し、長い AI 対話を検索しやすく再利用しやすくします。 // @description:ko Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, QwenAI, 豆包, Kimi, ChatGLM, Z.ai를 지원하는 AI 대화 탐색·정리 도구입니다. 실시간 개요, Search Everywhere, 대화 폴더, 고정, 프롬프트 큐와 프롬프트 라이브러리, 프롬프트 변수, Markdown/JSON 내보내기, WebDAV 동기화, Zen Mode, 와이드/전체 화면 읽기, 스크롤 잠금, LaTeX/표 복사, 탭 이름 변경, 프라이버시 모드, 완료 알림, 읽기 기록 복원을 제공해 긴 AI 대화를 더 쉽게 검색하고 재사용할 수 있게 합니다. // @description:pt-BR Navegador e organizador de chats com IA para Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, Kimi, QwenAI, Doubao, ChatGLM e Z.ai. Inclui outlines em tempo real, Search Everywhere, pastas, fixação, fila e biblioteca de prompts, variáveis, exportação Markdown/JSON, sincronização WebDAV, Zen Mode, leitura ampla, scroll lock, cópia de LaTeX/tabelas, renomeação de abas, privacidade, notificações e histórico para chats longos, pesquisáveis e reutilizáveis. // @description:ru Навигатор и органайзер AI-чатов для Gemini, Gemini Enterprise, AI Studio, ChatGPT, Claude, Grok, DeepSeek, Kimi, QwenAI, Doubao, ChatGLM и Z.ai. Добавляет структуру в реальном времени, Search Everywhere, папки, закрепление, очередь и библиотеку промптов, переменные, экспорт Markdown/JSON, синхронизацию WebDAV, Zen Mode, широкий режим, Scroll Lock, копирование LaTeX/таблиц, переименование вкладок, приватный режим, уведомления и историю чтения для длинных и переиспользуемых AI-чатов. // @license GPL-3.0-only // @icon https://raw.githubusercontent.com/urzeye/ophel/main/assets/icon.png // @homepageURL https://github.com/urzeye/ophel // @source https://github.com/urzeye/ophel.git // @supportURL https://github.com/urzeye/ophel/issues // @match http://*/* // @match https://*/* // @require https://cdn.jsdelivr.net/npm/react@18.3.1/umd/react.production.min.js // @require https://cdn.jsdelivr.net/npm/react-dom@18.3.1/umd/react-dom.production.min.js // @require https://cdn.jsdelivr.net/npm/fuzzysort@3.1.0/fuzzysort.min.js // @require https://cdn.jsdelivr.net/npm/katex@0.16.44/dist/katex.min.js // @require https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-markdown-vendor-ophel-1.2.13.js#sha256=922cbbfe1430a9dfd8c976829fa7e30f66f818853139d344df0b8104f0ff2a78 // @require https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-gemini-watermark-remover-1.0.17-ophel-1.2.13.js#sha256=a11db287fdbf99b05e77765db7535a2bb629da7fef7b122222a0951ecb933c30 // @require https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-adapters-vendor-ophel-1.2.13.js#sha256=77c9c02cbbe265c2706bbef66c62135a7538e7e278a951ba6ef1a613083cd69b // @resource ophelAlipay https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-alipay.befaae712a6a.png#sha256=befaae712a6a55182326b762a5c861833d9b9bbc23f6e89e5e70e00b1437fe86 // @resource ophelAssistantMermaidRunner https://cdn.jsdelivr.net/gh/urzeye/ophel@main/assets/assistant-mermaid-runner.js // @resource ophelAssistantMermaidVendor https://cdn.jsdelivr.net/npm/@mermaid-js/tiny@11.13.0/dist/mermaid.tiny.js // @resource ophelIcon https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-icon.193ed41c2441.png#sha256=193ed41c244185e553de148c7919de5486f5e9c323901b1f84cf220726b1b2d0 // @resource ophelKatexCss https://cdn.jsdelivr.net/npm/katex@0.16.44/dist/katex.min.css // @resource ophelLocaleDe https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.de.efe530d5db5d.json#sha256=efe530d5db5d9318fc369bc3256d578dcb17bd917dc577c03d0fc7a89bfbcdd2 // @resource ophelLocaleEn https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.en.48b6eb6b34a1.json#sha256=48b6eb6b34a11d9ac85405153f516adf4638450d7fcf46cc3113abba432b8117 // @resource ophelLocaleEs https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.es.deff98b033f0.json#sha256=deff98b033f04f1646d46e0646a2bcfac35ce5d0211b6ebbf1a4b6d6bf0ef1b2 // @resource ophelLocaleFr https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.fr.26cd3752fef7.json#sha256=26cd3752fef7dd518610e5f7b2b3f783c3fe82af2124bff6602665c721b864e9 // @resource ophelLocaleIt https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.it.056491e93460.json#sha256=056491e934601a669af3a8595b2453787424b05c0423e591907d02ed7c47018c // @resource ophelLocaleJa https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.ja.f369715a1f0e.json#sha256=f369715a1f0e5e700e8558581406e52385ebb6b018144bf7fd9423a1d26801b2 // @resource ophelLocaleKo https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.ko.8c42d0142930.json#sha256=8c42d0142930337b72088aeb72d413e569b1b4883f18b620644cc6bf68c447cc // @resource ophelLocalePt https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.pt.adba3b681683.json#sha256=adba3b681683b3d10290924ed0eb9f9da2c788667383f8b6f740fa3508b571d1 // @resource ophelLocaleRu https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.ru.6bb6e1c199f4.json#sha256=6bb6e1c199f40020b0a1c3abb6eff3df853428c76889e453de60fd34f2a2c421 // @resource ophelLocaleZhCN https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.zh-CN.97fed49faf2f.json#sha256=97fed49faf2ffbfa06203a8068800521e5c2eb4dcc4e453c54eb927473cc8f91 // @resource ophelLocaleZhTW https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.locale.zh-TW.21a338cda251.json#sha256=21a338cda2517da30f6a36291c9f05df3fd856d44cf82aa1c9f8b20c32c8fb02 // @resource ophelMarkdownPreviewStyles https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.markdown-preview.a99d491d0b81.css#sha256=a99d491d0b81cd59fa13f471267fd8ae2cd827c3d38e1552577fdc63d0f8f30a // @resource ophelNotificationBrightAlert https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-sound-bright-alert.568967a3d9f8.ogg#sha256=568967a3d9f8a8f6af54ea01729c4882284308f2a27d78c07ffd7ee0d6951661 // @resource ophelNotificationDefault https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-sound-default.15d3cda1ee80.mp3#sha256=15d3cda1ee8072f63639ce23ad943708458f8e194b1d827ba99338aa357e2ae9 // @resource ophelNotificationGlassPing https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-sound-glass-ping.2379b58f953e.ogg#sha256=2379b58f953e3d86982aa8cddcae763022c6258e9820171bf905ce58b4e97766 // @resource ophelNotificationSoftChime https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-sound-soft-chime.063564703b60.ogg#sha256=063564703b6094d70718a3e787a55cc9141611e4ecd6b6637f8828f79b4a8c3a // @resource ophelSiteIcons https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.site-icons.2c0540f606ea.json#sha256=2c0540f606ea7f27303392a294758cccab9064f8ba5388d3d61d1485dd896c8d // @resource ophelStyles https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.user.a5f55c80893f.css#sha256=a5f55c80893f9decb3537678036ccd9dc03db01b24d7f2aca27253dee663a275 // @resource ophelUserQueryMarkdownStyles https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel.user-query-markdown.bf5242eedc63.css#sha256=bf5242eedc63f2f50016381319b9daf271329ebd359fc971db83ecb7fc3c148d // @resource ophelWatermarkBg48 https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-watermark-bg-48.4afc99afe0ef.png#sha256=4afc99afe0ef108d67acc45bf4dc5da867ddb793bebc89c9243bb121ce7f0f57 // @resource ophelWatermarkBg96 https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-watermark-bg-96.3e26f2233a12.png#sha256=3e26f2233a12a5829acac174d8df1f3db40e07fef04ecdd0e035732154077911 // @resource ophelWechatPay https://cdn.jsdelivr.net/gh/urzeye/ophel@113fead1ef8f644ae58a83015dcf0ac0e20d4baf/userscript-assets/ophel-wechat-pay.2757de26d23d.jpg#sha256=2757de26d23d48ac4f9084427b363c3bb4c50ec35721039ce19dc29734b0a058 // @tag ai // @tag chat // @tag productivity // @tag navigation // @tag outline // @tag conversation // @tag prompt // @tag export // @tag chinese // @tag multilingual // @tag cross-platform // @tag ai-assistant // @tag all-in-one // @tag 全能AI助手 // @connect * // @grant GM_addStyle // @grant GM_addValueChangeListener // @grant GM_cookie // @grant GM_deleteValue // @grant GM_getResourceText // @grant GM_getResourceURL // @grant GM_getValue // @grant GM_info // @grant GM_notification // @grant GM_removeValueChangeListener // @grant GM_setValue // @grant GM_xmlhttpRequest // @grant unsafeWindow // @grant window.focus // @run-at document-start // @noframes // ==/UserScript== (async function (geminiWatermarkRemover) { 'use strict'; const d$1=new Set;const e = async e=>{d$1.has(e)||(d$1.add(e),(t=>{typeof GM_addStyle=="function"?GM_addStyle(t):(document.head||document.documentElement).appendChild(document.createElement("style")).append(t);})(e));}; const n=function(){const e="undefined"!=typeof document&&document.createElement("link").relList;return e&&e.supports&&e.supports("modulepreload")?"modulepreload":"preload"}(),r={},o=function(e,t,o){let i=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=o?.nonce||o?.getAttribute("nonce");i=e(t.map(e=>{if((e=function(e){return "/"+e}(e))in r)return;r[e]=true;const t=e.endsWith(".css"),o=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${o}`))return;const i=document.createElement("link");return i.rel=t?"stylesheet":n,t||(i.as="script"),i.crossOrigin="",i.href=e,a&&i.setAttribute("nonce",a),document.head.appendChild(i),t?new Promise((t,n)=>{i.addEventListener("load",t),i.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)));}):void 0}));}function a(e){const t=new Event("vite:preloadError",{cancelable:true});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return i.then(t=>{for(const e of t||[])"rejected"===e.status&&a(e.reason);return e().catch(a)})};const i=function(){const e=globalThis.React;if(!e||"function"!=typeof e.createElement)throw new Error("[Ophel] React CDN runtime is missing");return e}(),a=i.Children,s=i.Component,l=i.Fragment,c=i.Profiler,d=i.PureComponent,h=i.StrictMode,u=i.Suspense,g=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,p=i.act,m=i.cloneElement,f=i.createContext,b=i.createElement,v=i.createFactory,y=i.createRef,w=i.forwardRef,x=i.isValidElement,k=i.lazy,S=i.memo,C=i.startTransition,T=i.unstable_act,E=i.useCallback,I=i.useContext,M=i.useDebugValue,N=i.useDeferredValue,A=i.useEffect,P=i.useId,L=i.useImperativeHandle,R=i.useInsertionEffect,$=i.useLayoutEffect,O=i.useMemo,D=i.useReducer,z=i.useRef,_=i.useState,B=i.useSyncExternalStore,H=i.useTransition,q=i.version,F=Object.freeze(Object.defineProperty({__proto__:null,Children:a,Component:s,Fragment:l,Profiler:c,PureComponent:d,StrictMode:h,Suspense:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g,act:p,cloneElement:m,createContext:f,createElement:b,createFactory:v,createRef:y,default:i,forwardRef:w,isValidElement:x,lazy:k,memo:S,startTransition:C,unstable_act:T,useCallback:E,useContext:I,useDebugValue:M,useDeferredValue:N,useEffect:A,useId:P,useImperativeHandle:L,useInsertionEffect:R,useLayoutEffect:$,useMemo:O,useReducer:D,useRef:z,useState:_,useSyncExternalStore:B,useTransition:H,version:q},Symbol.toStringTag,{value:"Module"}));const U=function(){const e=globalThis.ReactDOM;if(!e||"function"!=typeof e.createRoot)throw new Error("[Ophel] ReactDOM client CDN runtime is missing");return e}();U.createRoot,U.hydrateRoot;const j=["zh-CN","zh-TW","en","ja","ko","it","fr","de","ru","es","pt"],W={styles:{metaName:"ophelStyles",fileName:"ophel.user.css"},markdownPreviewStyles:{metaName:"ophelMarkdownPreviewStyles",fileName:"ophel.markdown-preview.css"},userQueryMarkdownStyles:{metaName:"ophelUserQueryMarkdownStyles",fileName:"ophel.user-query-markdown.css"},icon:{metaName:"ophelIcon",fileName:"ophel-icon.png"},siteIcons:{metaName:"ophelSiteIcons",fileName:"ophel.site-icons.json"},notificationDefault:{metaName:"ophelNotificationDefault",fileName:"ophel-sound-default.mp3"},notificationSoftChime:{metaName:"ophelNotificationSoftChime",fileName:"ophel-sound-soft-chime.ogg"},notificationGlassPing:{metaName:"ophelNotificationGlassPing",fileName:"ophel-sound-glass-ping.ogg"},notificationBrightAlert:{metaName:"ophelNotificationBrightAlert",fileName:"ophel-sound-bright-alert.ogg"},watermarkBg48:{metaName:"ophelWatermarkBg48",fileName:"ophel-watermark-bg-48.png"},watermarkBg96:{metaName:"ophelWatermarkBg96",fileName:"ophel-watermark-bg-96.png"},wechatPay:{metaName:"ophelWechatPay",fileName:"ophel-wechat-pay.jpg"},alipay:{metaName:"ophelAlipay",fileName:"ophel-alipay.png"},assistantMermaidRunner:{metaName:"ophelAssistantMermaidRunner",fileName:"ophel-assistant-mermaid-runner.js",externalUrl:"https://cdn.jsdelivr.net/gh/urzeye/ophel@main/assets/assistant-mermaid-runner.js"},assistantMermaidVendor:{metaName:"ophelAssistantMermaidVendor",fileName:"ophel-assistant-mermaid-vendor.js",externalUrl:"https://cdn.jsdelivr.net/npm/@mermaid-js/tiny@11.13.0/dist/mermaid.tiny.js"}},V={"zh-CN":{metaName:"ophelLocaleZhCN",fileName:"ophel.locale.zh-CN.json"},"zh-TW":{metaName:"ophelLocaleZhTW",fileName:"ophel.locale.zh-TW.json"},en:{metaName:"ophelLocaleEn",fileName:"ophel.locale.en.json"},ja:{metaName:"ophelLocaleJa",fileName:"ophel.locale.ja.json"},ko:{metaName:"ophelLocaleKo",fileName:"ophel.locale.ko.json"},it:{metaName:"ophelLocaleIt",fileName:"ophel.locale.it.json"},fr:{metaName:"ophelLocaleFr",fileName:"ophel.locale.fr.json"},de:{metaName:"ophelLocaleDe",fileName:"ophel.locale.de.json"},ru:{metaName:"ophelLocaleRu",fileName:"ophel.locale.ru.json"},es:{metaName:"ophelLocaleEs",fileName:"ophel.locale.es.json"},pt:{metaName:"ophelLocalePt",fileName:"ophel.locale.pt.json"}};const K="en",G={},Q=new Set,Y=()=>{if("undefined"==typeof navigator)return K;const e=navigator.language;return e.startsWith("zh-TW")||e.startsWith("zh-HK")?"zh-TW":e.startsWith("zh")?"zh-CN":e.startsWith("ja")?"ja":e.startsWith("ko")?"ko":e.startsWith("it")?"it":e.startsWith("fr")?"fr":e.startsWith("de")?"de":e.startsWith("ru")?"ru":e.startsWith("es")?"es":e.startsWith("pt")?"pt":K};let Z=Y();function X(e){return e&&"auto"!==e?(t=e,Object.prototype.hasOwnProperty.call(V,t)?e:e.startsWith("zh-TW")||e.startsWith("zh-HK")?"zh-TW":e.startsWith("zh")?"zh-CN":e.startsWith("ja")?"ja":e.startsWith("ko")?"ko":e.startsWith("it")?"it":e.startsWith("fr")?"fr":e.startsWith("de")?"de":e.startsWith("ru")?"ru":e.startsWith("es")?"es":e.startsWith("pt")?"pt":K):Y();var t;}function J(e){const t=G[e];if(t)return t;const n=V[e].metaName;try{const t=GM_getResourceText(n);if(!t)return G[e]={},G[e];const r=JSON.parse(t);return G[e]=r,r}catch(r){return console.warn(`[Ophel] Failed to load userscript locale resource: ${e}`,r),G[e]={},G[e]}}function ee(e){const t=X(e);return Z=t,J(K),t!==K&&J(t),t}function te(){return function(e){if(e)try{const t="string"==typeof e?JSON.parse(e):e,n="object"==typeof t&&null!==t?t.state?.settings?.language:void 0;return "string"==typeof n?n:void 0}catch(t){return void console.warn("[Ophel] Failed to parse persisted settings language:",t)}}(GM_getValue("settings"))||"auto"}function ne(e){return Q.add(e),()=>{Q.delete(e);}}function re(e){const t=X(e),n=Z;Z=t,J(K),J(t),n!==t&&Q.forEach(e=>{try{e();}catch(t){console.warn("[Ophel] Userscript i18n listener failed:",t);}});}function oe(e){return X(e)}function ie(e,t){const n=J(Z),r=Z===K?n:J(K);let o=n[e]||r[e]||e;return t&&Object.keys(t).forEach(e=>{o=o.replace(new RegExp(`{${e}}`,"g"),t[e]);}),o}function ae(e){return Array.from(new Set(j.map(t=>J(t)[e]).filter(e=>"string"==typeof e&&e.trim().length>0)))}function se(){return Z}const le={"zh-CN":"zh-CN","zh-TW":"zh-TW",en:"en",ja:"ja",ko:"ko",it:"it",de:"de",es:"es",fr:"fr",pt:"pt",ru:"ru"};function ce(){return le[Z]??"en"}const de=Object.freeze(Object.defineProperty({__proto__:null,getAllLocalizedTexts:ae,getCurrentLang:se,getCurrentLocale:ce,getEffectiveLanguage:oe,getInitialUserscriptLanguage:te,primeUserscriptLocales:ee,setLanguage:re,subscribeI18nChanges:ne,t:ie},Symbol.toStringTag,{value:"Module"})),he=/^https?:\/\/(?:\*\.)?(?:\[[0-9a-f:.]+\]|[a-z0-9-]+(?:\.[a-z0-9-]+)*)(?::\d{1,5})?\/\*$/i,ue=e=>{const t=/^(https?):\/\/([^/]+)(\/.*)$/i.exec(e);if(!t)throw new TypeError(`Validated match pattern could not be parsed: ${e}`);return {scheme:t[1].toLowerCase(),authority:t[2],pathPattern:t[3]}},ge=e=>{const t=ue(e).authority.toLowerCase(),n=t.startsWith("[")?t.slice(0,t.indexOf("]")+1):t.replace(/:\d+$/,""),r=n.startsWith("*.");return {host:r?n.slice(2):n,wildcard:r}},pe=e=>{if(!xe(e))throw new TypeError(`Expected an origin-level match pattern: ${e}`);const t=ue(e),n=t.authority.toLowerCase(),r=n.startsWith("*."),o=r?n.slice(2):n,i=new URL(`${t.scheme}://${o}/`);return {scheme:t.scheme,hostname:i.hostname.toLowerCase(),wildcard:r,hasExplicitPort:be(o),port:i.port}},me=(e,t)=>e===t||e.endsWith(`.${t}`),fe=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),be=e=>e.startsWith("[")?/\]:\d+$/.test(e):/:\d+$/.test(e),ve=(e,t)=>{if("https:"!==e.protocol&&"http:"!==e.protocol)return false;const{scheme:n,authority:r,pathPattern:o}=ue(t);return e.protocol===`${n}:`&&(!!((e,t,n)=>{const r=t.toLowerCase(),o=r.startsWith("*."),i=o?r.slice(2):r,a=new URL(`${n}://${i}/`),s=e.hostname.toLowerCase(),l=a.hostname.toLowerCase(),c=o?s===l||s.endsWith(`.${l}`):s===l,d=!be(i)||e.port===a.port;return c&&d})(e,r,n)&&(i=o,new RegExp(`^${i.split("*").map(fe).join(".*")}$`)).test(`${e.pathname}${e.search}`));var i;},ye=e=>{const{scheme:t,authority:n}=ue(e),r=n.startsWith("*.")?n.slice(2):n;return new URL(`${t}://${r}/`).origin},we=e=>{const{scheme:t,authority:n,pathPattern:r}=ue(e),o=n.startsWith("*.")?n.slice(2):n;let i=r.replace(/\*+$/g,"");return "/"===i||""===i?new URL(`${t}://${o}/`).origin:(i.startsWith("/")||(i=`/${i}`),i=i.replace(/\/+$/,""),`${t}://${o}${i}`)},xe=e=>{if(!he.test(e))return false;const{scheme:t,authority:n}=ue(e),r=n.startsWith("*.")?n.slice(2):n;try{return new URL(`${t}://${r}/`),!0}catch{return false}},ke=e=>{const{scheme:t,authority:n}=ue(e);return `${t}://${n.toLowerCase()}/*`},Se=(e,t)=>{const n=ge(e),r=ge(t);return n.host===r.host||(!(!n.wildcard||!me(r.host,n.host))||!(!r.wildcard||!me(n.host,r.host)))},Ce=()=>[{id:"default_1",title:ie("defaultPromptCodeOptTitle"),content:ie("defaultPromptCodeOptContent"),category:ie("defaultPromptCodeOptCategory")},{id:"default_2",title:ie("defaultPromptTranslateTitle"),content:ie("defaultPromptTranslateContent"),category:ie("defaultPromptTranslateCategory")}],Te="default_quick_quote_reply",Ee=()=>[{id:Te,title:ie("quickQuoteReply"),description:"",iconSvg:'',showInSelectionPopover:true,steps:[{id:"default_quick_quote_reply_step",mode:"inline",promptId:"",inlineContent:ie("quickQuoteReplyTemplate"),runMode:"insert",splitMode:"none"}],createdAt:1,updatedAt:1}],Ie=[{id:"inbox",name:"收件箱",icon:"📥",isDefault:true}],Me={PAGE_WIDTH:{DEFAULT_PX:"1280",DEFAULT_PERCENT:"81",MIN_PERCENT:40,MAX_PERCENT:99,MIN_PX:1200},USER_QUERY_WIDTH:{DEFAULT_PX:"600",DEFAULT_PERCENT:"81",MIN_PERCENT:40,MAX_PERCENT:99,MIN_PX:600}},Ne={CLAUDE_KEY:/^sk-ant-sid\d{2}-/},Ae=500,Pe={CLAUDE:"claude",GEMINI:"gemini",CHATGPT:"chatgpt",CHATGLM:"chatglm",GEMINI_ENTERPRISE:"gemini-enterprise",GROK:"grok",AISTUDIO:"aistudio",DOUBAO:"doubao",IMA:"ima",DEEPSEEK:"deepseek",KIMI:"kimi",QIANWEN:"qianwen",QWENAI:"qwenai",YUANBAO:"yuanbao",ZAI:"zai"},Le=new Set(Object.values(Pe)),Re=e=>Le.has(e),$e=(e,t={})=>{const n=[...e.matchPatterns];if(0===n.length&&!t.allowEmptyMatchPatterns)throw new Error(`Supported platform ${e.id} must declare at least one match pattern`);return {...e,matchPatterns:n,pattern:{test(e){let t;try{t=new URL(e);}catch{return false}return n.some(e=>ve(t,e))}}}},Oe=[$e({id:Pe.CHATGPT,name:"ChatGPT",matchPatterns:["https://chatgpt.com/*","https://*.chatgpt.com/*","https://chat.openai.com/*"],entryUrls:["https://chatgpt.com"],icon:"💬"}),$e({id:Pe.GEMINI,name:"Gemini",matchPatterns:["https://gemini.google.com/*","https://*.gemini.google.com/*"],entryUrls:["https://gemini.google.com"],icon:"🌟"}),$e({id:Pe.CLAUDE,name:"Claude",matchPatterns:["https://claude.ai/*","https://*.claude.ai/*","https://claude.com/*","https://*.claude.com/*"],entryUrls:["https://claude.ai"],icon:"🎭"}),$e({id:Pe.AISTUDIO,name:"AI Studio",matchPatterns:["https://aistudio.google.com/*"],entryUrls:["https://aistudio.google.com"],icon:"🧪"}),$e({id:Pe.GROK,name:"Grok",matchPatterns:["https://grok.com/*","https://*.grok.com/*"],entryUrls:["https://grok.com"],icon:"🤖"}),$e({id:Pe.GEMINI_ENTERPRISE,name:"Gemini Enterprise",matchPatterns:["https://business.gemini.google/*","https://*.business.gemini.google/*"],entryUrls:["https://business.gemini.google"],icon:"🏢"}),$e({id:Pe.DOUBAO,name:"Doubao",matchPatterns:["https://www.doubao.com/*"],entryUrls:["https://www.doubao.com"],icon:"🌱"}),$e({id:Pe.DEEPSEEK,name:"DeepSeek",matchPatterns:["https://chat.deepseek.com/*"],entryUrls:["https://chat.deepseek.com"],icon:"🌀"}),$e({id:Pe.KIMI,name:"Kimi",matchPatterns:["https://www.kimi.com/*","https://www.kimi.ai/*"],entryUrls:["https://www.kimi.com","https://www.kimi.ai"],icon:"🌙"}),$e({id:Pe.ZAI,name:"Z.ai",matchPatterns:["https://chat.z.ai/*","https://zchat.z.ai/*","https://www.zchat.z.ai/*"],entryUrls:["https://chat.z.ai","https://zchat.z.ai"],icon:"⚡"}),$e({id:Pe.CHATGLM,name:"ChatGLM",matchPatterns:["https://chatglm.cn/*"],entryUrls:["https://chatglm.cn/main/alltoolsdetail?lang=zh"],icon:"🧠"}),$e({id:Pe.YUANBAO,name:"Yuanbao",matchPatterns:["https://yuanbao.tencent.com/*"],entryUrls:["https://yuanbao.tencent.com"],icon:"💎"}),$e({id:Pe.QIANWEN,name:"Qianwen",matchPatterns:["https://qianwen.com/*","https://www.qianwen.com/*"],entryUrls:["https://www.qianwen.com"],icon:"🔮"}),$e({id:Pe.QWENAI,name:"Qwen Studio",matchPatterns:["https://chat.qwen.ai/*"],entryUrls:["https://chat.qwen.ai"],icon:"🪄"}),$e({id:Pe.IMA,name:"ima",matchPatterns:["https://ima.qq.com/*"],entryUrls:["https://ima.qq.com"],icon:"🐼"})],De="bookmarks",ze="ophel:usageMonitor",_e="sitepacks/installed",Be="sitepacks/origin-bindings",He="sitepacks/remote-state",qe=Array.from( new Set(["settings","prompts","promptChains","folders","tags","conversations","readingHistory","claudeSessionKeys",De,ze,_e,Be])),Fe=[He,"sitepacks/extension-runtime"],Ue={full:qe,prompts:["prompts","promptChains"],settings:["settings"]},je={settings:"settings",prompts:"prompts",folders:"folders",tags:"tags"},We=new Set(["promptChains","conversations","readingHistory","claudeSessionKeys"]),Ve=new Set([ze,_e,Be]),Ke=new Set(qe),Ge={settings:"backupValidationSettingsType",prompts:"backupValidationPromptsType",promptChains:"backupValidationPromptChainsType",folders:"backupValidationFoldersType",conversations:"backupValidationConversationsType",readingHistory:"backupValidationHistoryType"},Qe=e=>Boolean(e)&&"object"==typeof e&&!Array.isArray(e),Ye=(e,t)=>{if("string"!=typeof t)return t;try{return JSON.parse(t)}catch(n){throw new tt([Ge[e]??"backupValidationInvalidFormat"],`Stored backup value ${e} is not valid JSON: ${String(n)}`)}},Ze=e=>Qe(e)&&Object.prototype.hasOwnProperty.call(e,"state")?e.state:void 0,Xe=(e,t)=>{const n=je[e];if(n){const r=Ye(e,t),o=Ze(r);return void 0===o?r:Qe(o)&&void 0!==o[n]?o[n]:o}if(We.has(e))return ((e,t)=>{const n=Ye(e,t),r=Ze(n),o=void 0===r?n:r;if("promptChains"===e){if(Array.isArray(o))return {chains:o};if(Qe(o)&&Array.isArray(o.chains))return o}if("conversations"===e&&Qe(o))return Object.prototype.hasOwnProperty.call(o,"conversations")?o:{conversations:o};if("readingHistory"===e&&Qe(o))return Object.prototype.hasOwnProperty.call(o,"history")||Object.prototype.hasOwnProperty.call(o,"lastCleanupRun")?o:{history:o};if("claudeSessionKeys"===e){if(Array.isArray(o))return {keys:o,currentKeyId:""};if(Qe(o))return o}throw new tt([Ge[e]??"backupValidationInvalidFormat"],`Backup value ${e} has an invalid state shape`)})(e,t);if(e===De)return Ye(e,t);if(Ve.has(e))return Ye(e,t);throw new tt(["backupValidationInvalidFormat"],`Unknown backup storage key: ${e}`)},Je=(e,t)=>["prompts","folders","tags",De].includes(e)?Array.isArray(t)?null:Ge[e]??"backupValidationInvalidFormat":"promptChains"===e?Qe(t)&&Array.isArray(t.chains)?null:"backupValidationPromptChainsType":"settings"===e||"conversations"===e||"readingHistory"===e||"claudeSessionKeys"===e||Ve.has(e)?Qe(t)?null:Ge[e]??"backupValidationInvalidFormat":null,et=(e,t)=>{const n=je[e];if(n)return JSON.stringify({state:{[n]:t},version:0});if(We.has(e))return JSON.stringify({state:t,version:0});if(e===De)return JSON.stringify(t);if(Ve.has(e))return t;throw new tt(["backupValidationInvalidFormat"],`Cannot restore unknown backup storage key: ${e}`)};class tt extends Error{errorKeys;constructor(e,t){var n;super(t),this.name="BackupCodecError",this.errorKeys=(n=e,Array.from(new Set(n)));}}const nt=e=>{if(!Qe(e))throw new tt(["backupValidationInvalidFormat"],"Backup document must be an object");const t=[],n=e.version;if(null==n?t.push("backupValidationMissingVersion"):("number"!=typeof n||!Number.isInteger(n)||n<1||n>4)&&t.push("backupValidationInvalidFormat"),!Qe(e.data))throw t.push("backupValidationMissingData"),new tt(t,"Backup document data must be an object");const r="number"==typeof n?n:0,o=((e,t)=>"full"===e||"prompts"===e||"settings"===e?e:null==e&&t<4?"full":null)(e.type,r);o||t.push("backupValidationInvalidFormat");const i={};for(const[s,l]of Object.entries(e.data))if(Ke.has(s))try{const e=Xe(s,l),n=Je(s,e);n?t.push(n):i[s]=e;}catch(a){a instanceof tt?t.push(...a.errorKeys):t.push(Ge[s]??"backupValidationInvalidFormat");}else i[s]=l;if(t.length>0||!o)throw new tt(t,"Backup document validation failed");return {version:r,timestamp:"string"==typeof e.timestamp?e.timestamp:"",type:o,data:i}},rt=async(e,t,n=(new Date).toISOString())=>{const r={};for(const o of Ue[t]){const t=await e.get(o);if(null==t)continue;const n=Xe(o,t),i=Je(o,n);if(i)throw new tt([i],`Stored backup value ${o} is malformed`);r[o]=n;}return {version:4,timestamp:n,type:t,data:r}},ot=async(e,t)=>{const{updates:n,...r}=(e=>{const t=nt(e),n=new Set(Ue[t.type]),r={},o=[],i=[];for(const[a,s]of Object.entries(t.data))Ke.has(a)&&n.has(a)?(r[a]=et(a,s),o.push(a)):i.push(a);return {document:t,updates:r,restoredKeys:o,ignoredKeys:i}})(t);return await Promise.all(Object.entries(n).map(([t,n])=>e.set(t,n))),r.ignoredKeys.length>0&&console.warn("[Ophel] Ignored non-user backup keys:",r.ignoredKeys),r};const it=i.Fragment,at=(e,t,n)=>i.createElement(e,function(e,t){return void 0===t?e??{}:{...e??{},key:t}}(t,n)),st=at,lt=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",width:e,height:e},children:[ at("circle",{cx:"12",cy:"12",r:"4"}), at("line",{x1:"12",y1:"2",x2:"12",y2:"4"}), at("line",{x1:"12",y1:"20",x2:"12",y2:"22"}), at("line",{x1:"4.93",y1:"4.93",x2:"6.34",y2:"6.34"}), at("line",{x1:"17.66",y1:"17.66",x2:"19.07",y2:"19.07"}), at("line",{x1:"2",y1:"12",x2:"4",y2:"12"}), at("line",{x1:"20",y1:"12",x2:"22",y2:"12"}), at("line",{x1:"4.93",y1:"19.07",x2:"6.34",y2:"17.66"}), at("line",{x1:"17.66",y1:"6.34",x2:"19.07",y2:"4.93"})]}),ct=({size:e=18,color:t="currentColor",className:n=""})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",width:e,height:e},children:at("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}),dt=({size:e=18,color:t="currentColor",className:n=""})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,className:n,style:{display:"block"},children:at("path",{fill:t,fillRule:"evenodd",clipRule:"evenodd",d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6z"})}),ht=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("line",{x1:"18",y1:"6",x2:"6",y2:"18"}), at("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),ut=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("circle",{cx:"12",cy:"5",r:"2.5"}), at("line",{x1:"12",y1:"7.5",x2:"12",y2:"22"}), at("line",{x1:"7",y1:"10",x2:"17",y2:"10"}), at("path",{d:"M4 14C4 19 8 22 12 22C16 22 20 19 20 14"}), at("path",{d:"M1.5 16.5L4 14L6.5 16.5"}), at("path",{d:"M17.5 16.5L20 14L22.5 16.5"})]}),gt=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 1024 1024",fill:"none",className:n,children:[ at("path",{d:"M768 208H595.349a223.478 223.478 0 0 1-147.964-56 223.473 223.473 0 0 0-147.964-56H256C149.961 96 64 181.961 64 288v448c0 106.038 85.961 192 192 192h512c106.039 0 192-85.962 192-192V400c0-106.039-85.961-192-192-192z m112 528c0 61.757-50.243 112-112 112H256c-61.757 0-112-50.243-112-112V288c0-61.758 50.243-112 112-112h43.421a143.372 143.372 0 0 1 94.995 35.953A303.263 303.263 0 0 0 595.349 288H768c61.757 0 112 50.242 112 112v336z",fill:t}), at("path",{d:"M690.783 471.577l-82.681-91.826c-7.899-8.772-18.796-13.236-29.739-13.235a39.868 39.868 0 0 0-26.752 10.274c-16.417 14.782-17.743 40.074-2.961 56.491L576.31 464H360c-22.092 0-40 17.908-40 40 0 22.091 17.908 40 40 40h304c22.092 0 40-17.909 40-40 0-8.139-2.461-15.688-6.636-22.005-1.66-3.69-3.728-7.25-6.581-10.418zM664 606.516H360c-22.092 0-40 17.908-40 40 0 8.139 2.461 15.688 6.636 22.005 1.66 3.69 3.729 7.25 6.581 10.418l82.681 91.826c7.899 8.772 18.796 13.235 29.739 13.235a39.863 39.863 0 0 0 26.752-10.274c16.417-14.782 17.743-40.074 2.961-56.491l-27.659-30.719H664c22.092 0 40-17.908 40-40s-17.908-40-40-40z",fill:t})]}),pt=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",width:e,height:e},children:[ at("line",{x1:"12",y1:"5",x2:"12",y2:"19"}), at("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),mt=({size:e=18,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",width:e,height:e,...r},children:[ at("path",{d:"M15 3h6v6"}), at("path",{d:"M10 14 21 3"}), at("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]}),ft=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",width:e,height:e},children:[ at("circle",{cx:"12",cy:"12",r:"3"}), at("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"})]}),bt=({size:e=18,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:[ at("path",{d:"M512 960c-234.394624 0-425.10336-190.708736-425.10336-425.10336S277.605376 109.79328 512 109.79328c116.878336 0 225.772544 46.432256 306.69312 130.737152 9.644032 10.027008 44.068864 47.517696 52.627456 58.438656 11.113472 14.242816 8.558592 34.807808-5.684224 45.92128-14.306304 11.113472-34.87232 8.49408-45.92128-5.684224-7.791616-10.027008-39.406592-44.196864-48.156672-53.32992C703.028224 214.472704 610.8672 175.194112 512 175.194112c-198.308864 0-359.702528 161.393664-359.702528 359.702528S313.691136 894.599168 512 894.599168 871.702528 733.205504 871.702528 534.89664c0-18.074624 14.625792-32.700416 32.700416-32.700416s32.700416 14.625792 32.700416 32.700416c0 234.394624-190.708736 425.10336-425.10336 425.10336z"}), at("path",{d:"M838.683648 371.395584H623.194112c-18.074624 0-32.700416-14.625792-32.700416-32.700416s14.625792-32.700416 32.700416-32.700416h209.294336V96.700416c0-18.074624 14.625792-32.700416 32.700416-32.700416s32.700416 14.625792 32.700416 32.700416v215.489536c-0.001024 32.635904-26.569728 59.205632-59.205632 59.205632z"})]}),vt=({size:e=18,color:t="currentColor",className:n=""})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",width:e,height:e},children:at("line",{x1:"5",y1:"12",x2:"19",y2:"12"})}),yt=({size:e=18,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block",flexShrink:0,...r},children:[ at("path",{d:"M192 192m32 0l0 0q32 0 32 32l0 640q0 32-32 32l0 0q-32 0-32-32l0-640q0-32 32-32Z",fill:t}), at("path",{d:"M192 832m32 0l256 0q32 0 32 32l0 0q0 32-32 32l-256 0q-32 0-32-32l0 0q0-32 32-32Z",fill:t}), at("path",{d:"M192 512m32 0l256 0q32 0 32 32l0 0q0 32-32 32l-256 0q-32 0-32-32l0 0q0-32 32-32Z",fill:t}), at("path",{d:"M448 192m64 0l320 0q64 0 64 64l0 0q0 64-64 64l-320 0q-64 0-64-64l0 0q0-64 64-64Z",fill:t}), at("path",{d:"M640 480m64 0l128 0q64 0 64 64l0 0q0 64-64 64l-128 0q-64 0-64-64l0 0q0-64 64-64Z",fill:t}), at("path",{d:"M640 768m64 0l128 0q64 0 64 64l0 0q0 64-64 64l-128 0q-64 0-64-64l0 0q0-64 64-64Z",fill:t}), at("path",{d:"M224 224m-96 0a96 96 0 1 0 192 0 96 96 0 1 0-192 0Z",fill:t})]}),wt=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}), at("polyline",{points:"14 2 14 8 20 8"}), at("line",{x1:"16",y1:"13",x2:"8",y2:"13"}), at("line",{x1:"16",y1:"17",x2:"8",y2:"17"}), at("line",{x1:"10",y1:"9",x2:"8",y2:"9"})]}),xt=({size:e=18,color:t="currentColor",className:n=""})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,className:n,style:{display:"block"},children:at("path",{fill:t,stroke:t,strokeWidth:"0.3",d:"M19.75 6.5a.75.75 0 0 1-.75-.75V5h-.75a.75.75 0 0 1 0-1.5H19v-.75a.75.75 0 0 1 1.5 0v.75h.75a.75.75 0 0 1 0 1.5h-.75v.75a.75.75 0 0 1-.75.75M8.799 3.728a.34.34 0 0 1 .1-.18c.046-.04.082-.048.102-.048s.056.007.102.049a.34.34 0 0 1 .1.178a6.57 6.57 0 0 0 1.767 3.304a6.55 6.55 0 0 0 3.303 1.767c.07.014.135.053.178.1c.042.046.049.082.049.102s-.007.056-.049.102a.34.34 0 0 1-.178.1a6.56 6.56 0 0 0-3.303 1.768a6.56 6.56 0 0 0-1.766 3.302a.34.34 0 0 1-.101.18c-.046.04-.082.048-.102.048s-.056-.007-.102-.049a.34.34 0 0 1-.1-.178a6.57 6.57 0 0 0-1.767-3.304a6.55 6.55 0 0 0-3.303-1.767a.34.34 0 0 1-.179-.1c-.04-.047-.048-.082-.049-.102c0-.02.008-.056.049-.101a.34.34 0 0 1 .18-.102a6.56 6.56 0 0 0 3.302-1.766a6.56 6.56 0 0 0 1.767-3.303M9 2c-.883 0-1.52.695-1.67 1.422A5.06 5.06 0 0 1 5.97 5.97a5.06 5.06 0 0 1-2.546 1.36c-.728.15-1.424.788-1.423 1.673c.002.882.697 1.517 1.423 1.668a5.05 5.05 0 0 1 2.547 1.358c.87.871 1.22 1.88 1.359 2.549C7.48 15.305 8.118 16 9 16c.885 0 1.521-.695 1.672-1.423a5.06 5.06 0 0 1 1.358-2.546a5.06 5.06 0 0 1 2.548-1.36c.727-.15 1.422-.787 1.422-1.67c0-.885-.695-1.521-1.423-1.672a5.05 5.05 0 0 1-2.546-1.359a5.06 5.06 0 0 1-1.359-2.548C10.521 2.695 9.885 2 9.002 2M9.5 16.954v1.796c0 .966.784 1.75 1.75 1.75h7.5a1.75 1.75 0 0 0 1.75-1.75v-7.5a1.75 1.75 0 0 0-1.75-1.75h-1.796a2.7 2.7 0 0 0-.15-1.5h1.946A3.25 3.25 0 0 1 22 11.25v7.5A3.25 3.25 0 0 1 18.75 22h-7.5A3.25 3.25 0 0 1 8 18.75v-1.946a2.7 2.7 0 0 0 1.5.15M12 13.75a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 0 1.5h-5.5a.75.75 0 0 1-.75-.75m.75 2.25a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5zm-10 3a.75.75 0 0 0 0 1.5h.75v.75a.75.75 0 0 0 1.5 0v-.75h.75a.75.75 0 0 0 0-1.5H5v-.75a.75.75 0 0 0-1.5 0V19z"})}),kt=({size:e=16,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block"},children:[ at("path",{fill:t,d:"M128 256m42.666667 0l682.666666 0q42.666667 0 42.666667 42.666667l0 0q0 42.666667-42.666667 42.666666l-682.666666 0q-42.666667 0-42.666667-42.666666l0 0q0-42.666667 42.666667-42.666667Z"}), at("path",{fill:t,d:"M599.168 757.248a42.666667 42.666667 0 0 1-6.656-22.869333V461.653333a42.666667 42.666667 0 0 1 64.981333-36.352l218.154667 134.058667a42.666667 42.666667 0 0 1 0.554667 72.362667l-218.154667 138.666666a42.666667 42.666667 0 0 1-58.88-13.141333z m78.677333-100.522667l95.018667-60.373333-95.018667-58.368v118.741333z"}), at("path",{fill:t,d:"M128 469.333333m42.666667 0l256 0q42.666667 0 42.666666 42.666667l0 0q0 42.666667-42.666666 42.666667l-256 0q-42.666667 0-42.666667-42.666667l0 0q0-42.666667 42.666667-42.666667Z"}), at("path",{fill:t,d:"M128 682.666667m42.666667 0l256 0q42.666667 0 42.666666 42.666666l0 0q0 42.666667-42.666666 42.666667l-256 0q-42.666667 0-42.666667-42.666667l0 0q0-42.666667 42.666667-42.666666Z"})]}),St=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block",flexShrink:0},children:[ at("path",{d:"M6.5 17.5H6a3.5 3.5 0 0 1-3.5-3.5V7a3.5 3.5 0 0 1 3.5-3.5h12A3.5 3.5 0 0 1 21.5 7v7a3.5 3.5 0 0 1-3.5 3.5h-5.2L6.5 20.5v-3Z"}), at("circle",{cx:"8",cy:"10.5",r:"1",fill:t,stroke:"none"}), at("circle",{cx:"12",cy:"10.5",r:"1",fill:t,stroke:"none"}), at("circle",{cx:"16",cy:"10.5",r:"1",fill:t,stroke:"none"})]}),Ct=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}), at("polyline",{points:"17 8 12 3 7 8"}), at("line",{x1:"12",y1:"3",x2:"12",y2:"15"})]}),Tt=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}), st("g",{className:"export-icon-arrow",children:[ at("polyline",{points:"7 10 12 15 17 10"}), at("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]})]}),Et=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block"},children:[ at("path",{d:"M198.4 922.496H512a44.8 44.8 0 1 1 0 89.6H198.4a89.6 89.6 0 0 1-89.6-89.6v-806.4a89.6 89.6 0 0 1 89.6-89.6h627.2a89.6 89.6 0 0 1 89.6 89.6v403.2a44.8 44.8 0 0 1-89.6 0v-403.2H198.4v806.4z",fill:t}), at("path",{d:"M769.6 986.496a41.6 41.6 0 0 0 41.6-41.6v-291.2a41.6 41.6 0 0 0-83.2 0v291.2c0 22.976 18.624 41.6 41.6 41.6z",fill:t}), at("path",{d:"M742.4 994.432a38.4 38.4 0 0 0 54.4 0l100.736-100.8a38.4 38.4 0 0 0-54.272-54.336l-73.664 73.6-73.6-73.6a38.4 38.4 0 0 0-49.024-4.48l-5.312 4.48a38.4 38.4 0 0 0 0 54.336l100.8 100.8zM691.2 295.296a44.8 44.8 0 1 1 0 89.6H332.8a44.8 44.8 0 0 1 0-89.6h358.4zM512 474.496a44.8 44.8 0 0 1 0 89.6H332.8a44.8 44.8 0 0 1 0-89.6H512z",fill:t})]}),It=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M4 6h6"}), at("path",{d:"M4 10h9"}), at("path",{d:"M4 14h9"}), at("path",{d:"M4 18h6"}), at("path",{d:"M18 5v14"}), at("path",{d:"m15.5 7.5 2.5-2.5 2.5 2.5"}), at("path",{d:"m15.5 16.5 2.5 2.5 2.5-2.5"})]}),Mt=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M4 6h9"}), at("path",{d:"M4 12h9"}), at("path",{d:"M4 18h9"}), at("path",{d:"M18 3v6"}), at("path",{d:"m15.5 6.5 2.5 2.5 2.5-2.5"}), at("path",{d:"M18 21v-6"}), at("path",{d:"m15.5 17.5 2.5-2.5 2.5 2.5"})]}),Nt=({size:e=18,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3A8.994 8.994 0 0 0 13 3.06V1h-2v2.06A8.994 8.994 0 0 0 3.06 11H1v2h2.06A8.994 8.994 0 0 0 11 20.94V23h2v-2.06A8.994 8.994 0 0 0 20.94 13H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"})}),At=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("line",{x1:"12",y1:"19",x2:"12",y2:"5"}), at("polyline",{points:"5 12 12 5 19 12"})]}),Pt=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("line",{x1:"12",y1:"5",x2:"12",y2:"19"}), at("polyline",{points:"19 12 12 19 5 12"})]}),Lt=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73v.18a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.38a2 2 0 0 0-.73-2.73l-.15-.1a2 2 0 0 1-1-1.72v-.51a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6z"})}),Rt=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M13.5 10.5L21 3 M16 3h5v5 M2 21h5 M12 21a9 9 0 0 0 9-9 9 9 0 0 0-9-9 9 9 0 0 0-9 9c0 4.97 4.03 9 9 9z"})}),$t=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block",...r},children:at("path",{d:"M553.79358 660.032655v-121.03257a19.643494 19.643494 0 0 1 9.872902-17.085748l370.924415-213.827617a40.054312 40.054312 0 0 0 0-69.468399L553.844735 19.521745 529.597297 5.402984a40.105467 40.105467 0 0 0-60.158201 34.734199v600.916992a19.796959 19.796959 0 0 1-18.97848 19.745804c-217.561928 8.952113-430.673377 66.501412-430.673377 180.832687 0 125.227275 254.649254 181.80463 491.752367 181.80463s491.956986-56.577355 491.956986-181.90694c0-117.656345-225.900182-175.103334-449.805322-181.446546z m30.38603-525.412312l211.014096 121.3395a19.745804 19.745804 0 0 1 0 34.22265l-211.014096 121.953359a19.745804 19.745804 0 0 1-29.669861-17.085747V151.706091a19.745804 19.745804 0 0 1 29.669861-17.085748z m232.601478 765.226636a1211.655731 1211.655731 0 0 1-610.12488 0c-83.68947-25.986706-101.95178-53.149975-101.951781-58.316623s18.313466-32.278762 101.951781-58.418933a992.405691 992.405691 0 0 1 242.320915-37.598876 19.745804 19.745804 0 0 1 20.461973 19.694649v79.187836a19.745804 19.745804 0 0 0 19.796959 19.745804h44.658256a19.796959 19.796959 0 0 0 19.796959-19.745804v-79.187836a19.745804 19.745804 0 0 1 20.461973-19.745803 992.405691 992.405691 0 0 1 242.37207 37.65003c83.638315 26.037861 101.696006 52.99651 101.696006 58.316623s-18.057691 32.381072-101.696006 58.418933z",fill:t})}),Ot=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z M3.27 6.96L12 12.01l8.73-5.05 M12 22.08V12"})}),Dt=({size:e=20,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block",...r},children:[ at("path",{d:"M511.5 119.3l366.8 168.8c-0.4 14.7-1.6 35-4.5 60.2-5.9 52.4-20.6 137.5-56.7 245.4-23 68.8-86.3 145.9-183.1 222.9-48.8 38.9-95.1 68.8-122.2 85.3-26.6-16.9-71.8-47.1-119.7-86.2-95.6-78-159-155.6-183.5-224.5-38.5-108.6-53.1-192.1-58.5-243.1-2.6-24.8-3.4-44.5-3.5-58.7l364.9-170.1m-0.2-55.1L98 257s-16 126.8 63.6 351c67.6 190.3 349.8 352.3 349.8 352.3s289.2-159 353.2-350.6C938.3 388.8 928 256 928 256L511.3 64.2z",fill:t}), at("path",{d:"M511.3 273.3c25.4 0 46.1 20.7 46.1 46.1s-20.7 46.1-46.1 46.1c-25.4 0-46.1-20.7-46.1-46.1s20.7-46.1 46.1-46.1m0-50c-53.1 0-96.1 43-96.1 96.1s43 96.1 96.1 96.1 96.1-43 96.1-96.1-43-96.1-96.1-96.1z",fill:t}), at("path",{d:"M486.3 383.8h50v384h-50z",fill:t}), at("path",{d:"M513 599h94.5v50H513zM513 717h94.5v50H513z",fill:t})]}),zt=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z M12 16v-4 M12 8h.01"})}),_t=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"})}),Bt=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2z M2 12h20 M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})}),Ht=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"})}),qt=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 1027 1024",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:st("g",{transform:"translate(-145.5 -154.5) scale(1.3)",children:[ at("path",{d:"M247.562814 276.817487c7.38929 0.604971 14.77858 1.814913 22.167869 1.685277 83.486011-1.598852 166.972022-3.802675 250.501245-5.012618 58.379711-0.821032 115.030932 9.031354 167.576993 35.261173 75.751023 37.810693 135.81601 91.82597 165.113896 173.583491 13.006879 36.298266 10.457357 74.022534-3.11128 110.018315-6.784319 17.976284-5.660801 28.347217 13.957548 36.989661 33.705532 14.865004 46.064228 38.199603 36.730388 61.577415-9.506689 23.809934-42.045491 37.378571-72.250834 25.408786-21.390049-8.469595-33.359835-3.327341-48.4409 12.056209-42.21834 42.99616-96.233616 64.299785-154.09478 76.701693-73.374351 15.729248-146.143731 11.148753-217.789593-9.549901-53.972064-15.599612-103.579694-38.631726-136.118496-88.282568-33.014137-50.342237-26.618728-113.561717 16.93919-155.088661 5.185467-4.969405 10.11166-10.327721 15.815673-14.60573 17.673798-13.266152 29.730008-24.933451 15.037853-50.77436-11.753724-20.655442 13.525425-45.459256 41.008398-42.650462 11.27839 1.16673 22.081445 6.568258 33.359834 8.296746 7.821412 1.209942 16.679917 1.080306 23.982783-1.469215 4.796557-1.685277 7.734988-8.728869 11.494451-13.352576-5.358315-2.592733-10.457357-6.438621-16.118159-7.605351-70.997679-14.951428-142.946027-26.402667-212.776976-45.588893-29.686796-8.16711-58.077225-28.952188-81.54146-50.126177-35.304385-31.847407-29.730008-76.226358 9.809174-102.5426 43.039372-28.649702 91.480272-41.267671 143.032451-42.088703 5.660801-0.086424 12.488332 0.043212 16.766342 2.981643 8.426383 5.790438 20.050471 12.704393 21.692535 20.871503 1.598852 7.951049-5.617589 20.180107-12.531544 26.791577-8.55602 8.123898-20.828291 12.44512-31.544922 18.321981-6.61147 3.629827-13.266152 7.173229-19.920834 10.759843 0.38891 2.506309 0.821032 4.969405 1.253155 7.432502z m-98.955986-11.580875c-20.698654 11.191965-20.093683 25.88412-9.377052 37.032874 14.173608 14.77858 30.205342 31.760982 48.700173 37.594632 57.299405 18.192345 115.981601 32.279529 174.447736 46.582774 30.594252 7.518926 62.484872 10.154872 92.603789 19.013377 16.204583 4.753344 28.001519 5.358315 41.743006-4.580495 14.476094-10.50057 30.032494-20.050471 46.323501-27.266912 5.660801-2.506309 18.797316 1.037093 21.649322 5.83365 2.981643 5.05583-0.259273 16.507068-4.580495 22.340718-4.796557 6.525045-14.00076 9.679537-21.044352 14.648943-73.417563 51.681816-148.390767 101.332658-219.604506 155.952906-41.82943 32.063468-44.94071 77.998059-14.648943 120.648521 10.543782 14.821792 24.847027 28.822551 40.533063 37.767481 89.017175 50.817572 184.516183 62.225598 283.601806 38.977423 44.854285-10.543782 88.368992-26.66194 122.031312-60.583534 5.271891-5.315103 7.432502-14.173608 9.809174-21.822171 2.506309-8.080685 3.456978-16.593493 5.099042-24.933452 8.512808 1.901338 17.155252 3.327341 25.495211 5.83365 19.877622 5.920074 39.409546 12.877242 59.460016 18.062708 4.148373 1.080306 9.765962-3.586614 14.735367-5.617588-2.290248-5.401528-3.197704-13.741486-7.216441-15.642824-9.938811-4.839769-21.2172-8.94493-32.10668-9.33384-19.315863-0.734608-37.94033-2.549521-51.206482-17.760223-4.753344-5.44474-4.969405-14.821792-7.216441-22.38393 7.38929-1.94455 14.951428-3.456978 22.16787-5.963287 7.475714-2.592733 19.013377-4.27801 21.2172-9.549901 22.167869-53.280668 20.698654-104.357514-14.476094-153.187323-63.82445-88.671477-150.20568-134.778917-258.625142-137.112377-63.262691-1.382791-126.611807 3.586614-189.917712 3.586614-50.255813 0-100.641263-1.901338-150.767438-5.660801-23.248175-1.728489-45.891379-10.11166-48.82981-42.477613z m75.405325-25.927332c-0.907457-2.549521-1.858126-5.142254-2.765582-7.691776-13.61185 4.061949-27.482973 7.38929-40.619487 12.574757-4.537283 1.771701-7.173229 8.253534-10.716631 12.574756 6.179348 1.685277 13.827911 6.481833 18.321981 4.450859 12.617969-5.83365 23.93957-14.432882 35.779719-21.908596z"}), at("path",{d:"M400.663713 624.546229c-8.642444-12.099422-17.803435-19.402287-17.846648-26.705152-0.043212-6.049711 10.716631-12.185846 16.679918-18.27877 6.395409 6.438621 16.463856 12.099422 17.976284 19.488712 1.16673 5.704013-8.469595 13.568637-16.809554 25.49521zM580.815462 681.197451c-8.123898-12.358695-17.544162-20.396168-16.291007-26.229818 1.55564-7.38929 11.753724-12.920454 18.235557-19.272651 5.83365 6.308984 16.33422 12.661181 16.247795 18.840529-0.086424 7.302865-9.33384 14.519306-18.192345 26.66194z"})]})}),Ft=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z M9 12l2 2 4-4"})}),Ut=({size:e=20,color:t="currentColor",className:n="",style:r,filled:o=false})=>at("svg",{viewBox:"0 0 1024 1024",width:e,height:e,xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block",flexShrink:0,...r},children:at("polygon",{points:"512,64 625,357 968,364 695,571 794,901 512,704 230,901 329,571 56,364 399,357",fill:o?t:"none",stroke:t,strokeWidth:96,strokeLinejoin:"round"})}),jt=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"})}),Wt=({size:e=20,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block",...r},fill:t,children:[ at("path",{d:"M518.3 459c-3.2-4.1-9.4-4.1-12.6 0l-112 141.7c-4.1 5.2-0.4 12.9 6.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}), at("path",{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6 0.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4 14.9-19.2 32.6-35.9 52.4-49.9 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7-23.4 23.4-54.5 36.3-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"})]}),Vt=({size:e=20,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:[ at("circle",{cx:12,cy:12,r:10}), at("line",{x1:12,y1:16,x2:12,y2:12}), at("line",{x1:12,y1:8,x2:12.01,y2:8})]}),Kt=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 1024 1024",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M861.7 391.6c-12.6 0-25.1 2.2-36.9 6.6-14.9-32.1-47-52.7-82.4-52.7-10.6 0-21.1 1.9-31 5.6-20.5-32.9-59.2-49.8-97.3-42.6v-92.3c0-54.4-44.2-98.5-98.6-98.5-54.4 0-98.5 44.1-98.5 98.5v284.5c-3.7 3.6-8.5 8-13.8 12.5-40 36.6-63.1 87.9-64.2 142.1 0 92.1 109.4 250.9 221.4 250.9h225.7c94.8-0.6 171.9-76.6 173.9-171.4V490.9c0.2-54.5-43.8-98.9-98.3-99.3z m26.8 343.1c-2.2 55.3-47.2 99.3-102.6 100.2H560.5c-63.3 0-150.1-114.5-150.1-179.6 0.3-17.8 4.7-35.2 12.7-51.1 6.3 10.3 17.5 16.7 29.6 16.8 19.8 0 35.8-16 35.8-35.8v-369c0.6-15.1 13.3-26.8 28.4-26.2 14.2 0.6 25.6 12 26.2 26.2V479c-2.1 19.7 12.2 37.3 31.8 39.4s37.3-12.2 39.4-31.8c0.3-2.5 0.3-5.1 0-7.6v-82.2c-0.1-10.4 8.2-18.9 18.6-19h0.4c10.5-0.2 19.2 8.1 19.5 18.6v32c-0.3 2.6-0.5 5.2-0.5 7.8v55.6c2.1 19.7 19.8 33.9 39.4 31.8 16.8-1.8 30.1-15.1 31.8-31.8v-2.3c0-0.8 0.5-1.5 0.5-2.3v-53.6c1.1-9.5 9-16.6 18.5-16.8 10.8 0 19.5 8.7 19.5 19.5v53.8h0.5c0 0.9-0.5 1.6-0.5 2.4v6c2.1 19.7 19.8 33.9 39.4 31.8 16.8-1.8 30.1-15.1 31.8-31.8v-8.6c0-7.2 2.9-14.2 8.1-19.2 11.1-10.7 28.9-10.4 39.6 0.7 5.1 5.2 7.9 12.2 7.9 19.5l-0.3 243.8zM243 308.5c14.7 13.3 37.3 12.2 50.6-2.5 11.4-12.6 12.4-31.5 2.4-45.2l-85.1-94.4c-0.2-0.2-0.5-0.3-0.8-0.5-13.2-14.2-35.4-15.1-49.6-1.9-0.7 0.6-1.3 1.2-1.9 1.9-0.2 0.2-0.5 0.3-0.8 0.5l-85.1 94.4c-11.7 16-8.2 38.4 7.8 50.1 13.7 10 32.6 9 45.2-2.4l22.8-25.4v457.6l-22.8-25.4c-14.7-13.2-37.4-12-50.6 2.7-11.3 12.6-12.3 31.3-2.4 45l85.1 94.4c0.2 0.2 0.6 0.3 0.8 0.6 2.4 2.4 5.2 4.4 8.2 6 1.1 0.7 2.1 1.7 3.3 2.2 9 4 19.3 4 28.3 0 1.3-0.6 2.2-1.6 3.3-2.2 3-1.6 5.8-3.6 8.2-6 0.2-0.2 0.6-0.3 0.8-0.6L296 763c11.6-16 8-38.4-8-50.1-13.7-9.9-32.4-8.9-45 2.4l-22.8 25.4V283.2l22.8 25.3z"})}),Gt=({size:e=16,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block",flexShrink:0,...r},children:[ at("rect",{x:"100",y:"282",width:"824",height:"80",rx:"40",fill:t}), at("rect",{x:"100",y:"472",width:"824",height:"80",rx:"40",fill:t}), at("rect",{x:"100",y:"662",width:"824",height:"80",rx:"40",fill:t})]}),Qt=({size:e=18,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})}),Yt=({size:e=18,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-1 8h-3v3h-2v-3h-3v-2h3V9h2v3h3v2z"})}),Zt=({size:e=18,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"})}),Xt=({size:e=18,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"})}),Jt=({size:e=20,className:t=""})=>st("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:t,children:[ at("path",{d:"M15 3h6v6"}), at("path",{d:"M9 21H3v-6"}), at("path",{d:"M21 3l-7 7"}), at("path",{d:"M3 21l7-7"})]}),en=({size:e=20,className:t=""})=>st("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:t,children:[ at("path",{d:"M4 14h6v6"}), at("path",{d:"M20 10h-6V4"}), at("path",{d:"M14 10l7-7"}), at("path",{d:"M3 21l7-7"})]}),tn=({size:e=20,className:t=""})=>at("svg",{width:e,height:e,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:t,children:at("path",{d:"M606.72 304.64V235.52H346.624l51.712-16.384c-7.168-24.576-25.088-62.464-40.448-90.112l-76.288 22.016c13.824 26.624 27.136 59.904 33.792 84.48H62.976v69.12h94.208C189.44 388.608 230.4 460.8 284.16 519.68c-61.952 48.128-139.264 82.432-232.448 105.984 14.336 15.872 35.328 49.152 43.008 66.048 96.256-27.648 176.128-67.072 242.176-120.832 62.464 52.736 139.776 92.16 233.472 117.248 10.752-19.968 31.744-50.688 47.616-66.048-89.088-20.992-164.352-55.808-225.792-103.424 52.224-57.856 92.672-128 122.88-214.016h91.648z m-171.52 0a474.624 474.624 0 0 1-97.28 165.376c-46.08-47.104-81.92-102.4-107.52-165.376h204.8z m237.568 622.08h-90.112l141.824-414.72h104.448l142.848 414.72h-93.184l-31.232-106.496h-143.872l-30.72 106.496z m100.864-351.744c-11.264 45.568-24.576 92.672-37.888 135.68l-12.8 45.568h105.472l-13.312-45.568c-13.824-43.008-28.672-90.624-41.472-135.68z",fill:"currentColor"})}),nn=({size:e=20,className:t="",style:n})=>at("svg",{width:e,height:e,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",className:t,style:n,children:at("path",{d:"M512 136.83c-206.88 0-375.17 168.31-375.17 375.17S305.12 887.17 512 887.17 887.17 718.86 887.17 512 718.88 136.83 512 136.83z m265.73 202h-85.94c-12.32-44.9-29.26-84.4-49.88-116.19a319.22 319.22 0 0 1 135.82 116.2zM656.3 512a625.41 625.41 0 0 1-10.54 115.44H378.24a637.45 637.45 0 0 1 0-230.88h267.52A625.41 625.41 0 0 1 656.3 512zM512 829.45c-44.2 0-91.56-54.92-119.52-144.29h239C603.56 774.53 556.2 829.45 512 829.45zM392.48 338.84c28-89.37 75.32-144.29 119.52-144.29s91.56 54.92 119.52 144.29z m-10.39-116.19c-20.62 31.79-37.56 71.29-49.88 116.19h-85.94a319.22 319.22 0 0 1 135.82-116.19z m-165.5 173.91h102.85a709.08 709.08 0 0 0 0 230.88H216.59a313.34 313.34 0 0 1 0-230.88z m29.68 288.6h85.94c12.32 44.9 29.26 84.4 49.88 116.19a319.22 319.22 0 0 1-135.82-116.19z m395.64 116.19c20.62-31.79 37.56-71.29 49.88-116.19h85.94a319.22 319.22 0 0 1-135.82 116.19z m165.5-173.91H704.56a709.08 709.08 0 0 0 0-230.88h102.85a313.34 313.34 0 0 1 0 230.88z",fill:"currentColor"})}),rn=({size:e=20,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:[ at("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",ry:"2"}), at("line",{x1:"6",y1:"8",x2:"6",y2:"8"}), at("line",{x1:"10",y1:"8",x2:"10",y2:"8"}), at("line",{x1:"14",y1:"8",x2:"14",y2:"8"}), at("line",{x1:"18",y1:"8",x2:"18",y2:"8"}), at("line",{x1:"6",y1:"12",x2:"6",y2:"12"}), at("line",{x1:"10",y1:"12",x2:"10",y2:"12"}), at("line",{x1:"14",y1:"12",x2:"14",y2:"12"}), at("line",{x1:"18",y1:"12",x2:"18",y2:"12"}), at("line",{x1:"7",y1:"16",x2:"17",y2:"16"})]}),on=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}), at("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),an=({size:e=18,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block",flexShrink:0,...r},children:[ at("path",{d:"M632.96 954.88H201.813333a132.906667 132.906667 0 0 1-132.693333-132.693333V391.04a132.906667 132.906667 0 0 1 132.693333-132.906667h431.146667a132.906667 132.906667 0 0 1 132.906667 132.906667v431.146667a132.906667 132.906667 0 0 1-132.906667 132.693333zM201.813333 352a39.04 39.04 0 0 0-38.826666 39.04v431.146667a39.04 39.04 0 0 0 38.826666 38.826666h431.146667a39.04 39.04 0 0 0 39.04-38.826666V391.04a39.04 39.04 0 0 0-39.04-39.04z",fill:t}), at("path",{d:"M907.946667 846.293333a47.146667 47.146667 0 0 1-46.933334-46.933333V234.666667A71.04 71.04 0 0 0 789.333333 162.986667H224.64a46.933333 46.933333 0 1 1 0-93.866667H789.333333A164.906667 164.906667 0 0 1 954.88 234.666667v565.333333a46.933333 46.933333 0 0 1-46.933333 46.293333z",fill:t}), at("path",{d:"M531.626667 561.066667h-241.066667a46.933333 46.933333 0 0 1 0-93.866667h241.066667a46.933333 46.933333 0 0 1 0 93.866667zM531.626667 731.733333h-241.066667a46.933333 46.933333 0 0 1 0-93.866666h241.066667a46.933333 46.933333 0 0 1 0 93.866666z",fill:t})]}),sn=({size:e=16,className:t="",...n})=>st("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none",strokeLinecap:"round",strokeLinejoin:"round",className:`more-horizontal-icon ${t}`,style:{display:"block",width:e,height:e},...n,children:[ at("circle",{cx:"12",cy:"12",r:"1.5",className:"dot dot-2"}), at("circle",{cx:"19",cy:"12",r:"1.5",className:"dot dot-3"}), at("circle",{cx:"5",cy:"12",r:"1.5",className:"dot dot-1"}), at("style",{children:"\n .more-horizontal-icon .dot {\n transform-box: fill-box;\n transform-origin: center;\n animation: dot-jump 3s infinite;\n }\n .more-horizontal-icon .dot-1 {\n animation-delay: 0s;\n }\n .more-horizontal-icon .dot-2 {\n animation-delay: 0.1s;\n }\n .more-horizontal-icon .dot-3 {\n animation-delay: 0.2s;\n }\n @keyframes dot-jump {\n 0%, 90%, 100% { transform: translateY(0); }\n 5% { transform: translateY(-3px); }\n 10% { transform: translateY(0); }\n }\n "})]}),ln=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M18 15l-6-6-6 6"})}),cn=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",...r},children:at("path",{d:"M6 9l6 6 6-6"})}),dn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,children:[ at("path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"}), at("path",{d:"m14.5 9-5 5"}), at("path",{d:"m9.5 9 5 5"})]}),hn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,children:[ at("path",{d:"M12 2H2v10l9.29 9.29c.94.94 2.48.94 3.42 0l6.58-6.58c.94-.94.94-2.48 0-3.42L12 2Z"}), at("path",{d:"M7 7h.01"})]}),un=({size:e=24,className:t,color:n="currentColor"})=>st("svg",{width:e,height:e,viewBox:"0 0 1024 1024",className:t,style:{color:n},children:[ at("path",{d:"M123.648 178.346667C361.642667-98.602667 802.986667-43.946667 967.936 279.68h-396.501333c-71.424 0-117.546667-1.621333-167.509334 24.661333-58.709333 30.933333-102.997333 88.234667-118.485333 155.52L123.648 178.389333z",fill:"#EA4335"}), at("path",{d:"M341.674667 512c0 93.866667 76.330667 170.24 170.154666 170.24 93.866667 0 170.154667-76.373333 170.154667-170.24s-76.330667-170.24-170.154667-170.24c-93.866667 0-170.154667 76.373333-170.154666 170.24z",fill:"#4285F4"}), at("path",{d:"M577.877333 734.848c-95.530667 28.373333-207.274667-3.114667-268.501333-108.8-46.762667-80.64-170.24-295.765333-226.346667-393.557333-196.565333 301.226667-27.136 711.808 329.685334 781.866666l165.12-279.509333z",fill:"#34A853"}), at("path",{d:"M669.866667 341.76a233.130667 233.130667 0 0 1 43.008 286.634667c-40.576 69.973333-170.154667 288.682667-232.96 394.581333 367.658667 22.656 635.733333-337.664 514.645333-681.258667H669.866667z",fill:"#FBBC05"})]}),gn=({size:e=24,className:t})=>st("svg",{width:e,height:e,viewBox:"0 0 1024 1024",className:t,children:[ at("path",{d:"M709.568 427.2c1.024 0.64 1.92 1.344 2.816 2.048a244.224 244.224 0 0 0-41.664-54.336C531.328 235.456 634.176 72.576 651.52 64.32l0.192-0.32C539.072 129.92 500.8 252.16 497.28 313.216c5.248-0.32 10.432-0.768 15.744-0.768A226.368 226.368 0 0 1 709.568 427.2z",fill:"#FFD46C"}), at("path",{d:"M295.626 531.813a220.935 220.935 0 1 0 441.87 0 220.935 220.935 0 1 0-441.87 0z",fill:"#B15BF4"}), at("path",{d:"M601.408 400.96a154.88 154.88 0 0 1 108.16 26.24l2.752 2.048a80.991 80.991 0 0 1 6.72 5.504c101.76 93.696 48.448 226.304 44.48 235.648-161.28 131.712-315.264 79.744-346.432 58.432a236.416 236.416 0 0 0 20.48 8.832c18.688 6.656 38.4 10.432 58.24 11.264 223.616 10.496 266.88-267.328 105.6-347.968z m-421.376 54.08a169.152 169.152 0 0 1 164.864-6.592 223.36 223.36 0 0 0 168.448 6.592c-0.704 11.2-40.192 49.664-53.952 49.664-127.552 0-148.224 77.12-148.224 77.12 5.632 65.024 50.88 118.528 105.6 146.816-2.112-0.96-4.096-2.048-6.208-3.072-93.824-44.8-132.608-130.368-124.288-203.648a115.2 115.2 0 0 1-106.24-66.88zM360.96 242.432A208 208 0 0 0 362.24 352a287.872 287.872 0 0 0-9.28-6.144c-28.416-18.432-81.024-20.032-96-20.096h-4.032a332.16 332.16 0 0 1 108.032-83.328z",fill:"#FEB202"}), at("path",{d:"M670.72 374.912c16.384 16.064 30.4 34.432 41.664 54.4 2.496 1.92 4.8 3.712 6.72 5.504 101.76 93.76 48.448 226.24 44.48 235.712 82.56-68.096 135.424-168.704 119.552-272.64C832.384 271.424 746.368 220.416 676.16 109.44a545.088 545.088 0 0 1-10.624-17.216 141.632 141.632 0 0 1-4.928-9.216 81.6 81.6 0 0 1-6.656-17.792 1.152 1.152 0 0 0-1.024-1.152 1.6 1.6 0 0 0-0.832 0l-0.256 0.128-0.32 0.192c-17.344 8.192-120.192 171.072 19.2 310.528z",fill:"#FFE142"}), at("path",{d:"M237.44 213.632c-0.96 15.488-2.24 89.792 15.552 112.32h8.32c18.816 0.384 65.664 3.008 91.84 20.032l9.28 6.144c3.968 2.752 7.872 5.696 11.52 8.768 6.848 5.824 14.592 13.568 30.848 29.568 30.464 30.016 108.48 61.056 108.672 64.704a223.36 223.36 0 0 1-168.384-6.592 169.152 169.152 0 0 0-164.928 6.592 115.2 115.2 0 0 0 106.24 66.816c-8.32 73.344 30.464 158.848 124.288 203.712l3.264 1.664 3.264 1.6c31.232 21.248 185.28 73.216 346.24-57.856 82.816-68.672 135.68-169.344 119.744-273.216l0.064 0.64-0.256-1.024a464.448 464.448 0 0 0-45.44-136.576c30.976 16 70.528 66.688 89.984 113.536a461.312 461.312 0 0 1 31.168 204.48l-2.048 20.864c-0.64 5.824-1.28 11.52-2.048 17.344a448.64 448.64 0 0 1-418.88 371.84l-15.168 0.448H505.28A448.64 448.64 0 0 1 64.32 556.8L64 539.008c0.32-13.888 1.472-27.712 3.52-41.408l0.512-2.624c3.008-26.304 8.256-49.28 8.32-49.792a378.88 378.88 0 0 1 60.224-135.872l13.12-17.536a391.68 391.68 0 0 1 28.992-32.64c13.44-13.824 28.16-26.368 43.84-37.568 4.672-3.2 9.728-5.824 14.976-7.936z",fill:"#FE5618"})]}),pn=({size:e=24,className:t,color:n="currentColor"})=>st("svg",{width:e,height:e,viewBox:"0 0 1024 1024",className:["greasyfork-icon",t].filter(Boolean).join(" "),children:[ at("path",{d:"M28.16 514.56c0 268.8 217.6 486.4 486.4 486.4s486.4-217.6 486.4-486.4-217.6-486.4-486.4-486.4-486.4 217.6-486.4 486.4z",fill:n}), at("path",{className:"greasyfork-fork",d:"M440.32 258.048c139.264 140.288 142.336 144.384 135.68 193.024-2.048 16.384 0 28.672 0 29.696 0 40.96 138.752 164.352 218.624 253.952 39.424 44.032 64 78.848 53.248 109.056-5.12 14.336-17.92 27.648-34.304 31.744-32.768 8.192-67.072-26.112-117.76-78.336-145.408-150.016-197.632-204.8-251.392-194.56-13.824 2.56-11.264 7.68-25.6 8.704-35.84 2.56-80.896-34.304-193.024-146.432C121.856 360.448 91.648 322.56 98.304 304.128c7.68-19.456 26.112-5.12 113.152 79.872l105.472 103.424 29.184-28.672 29.184-28.672-103.424-103.424c-68.608-69.632-97.28-106.496-87.04-112.64 10.752-6.656 52.736 27.648 117.248 90.624L401.92 404.48l30.208-28.672 29.184-30.208-99.84-100.352C274.432 157.184 250.88 115.2 287.744 115.2c5.12 0 73.728 64.512 152.576 142.848z",fill:"#FFFFFF"})]}),mn=({size:e=24,className:t})=>at("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAXrSURBVFhH1Vfrb1N1GD6nXXd6XXtOrxvIzS8YIwgYEyEigWAwEUOQgCGQQBTjB4iRRGRIDCLXcJP13q0D+eAtMUQT7wl4jdwcksnWXbt1RdAg6l/w+PxOT0e3tcM6/OCbvDtt19/vfd73fd5LpTEiy5JkMhlv7pbwTlncyWdVYjLzT7WHSkU4U+Udsq8B8rylkBR78RNeUlN4/mMZdcbqkEyzl8Hkm4zCB5WE4Te/mkZduhvqrq+hPLp+JBCZ3ogUVRLxP/GdouFau2RfuA6exs/gO/ErlB3vocL54gGb5Dt8DoFEP3zRPLyJG3C98S2UReshK47Cd4aBMKcj9LZhWXFKymMbePYr+JO98Cb7oKXzUA6dG+nQGOElwW1foj6agz8yAF8sB028jmWh7TkL6+J1EOGsJLLVKdkWboT2+vcIJIcQpFEtkaEjnfC15ODY9jEjIMg4jgQ2nSaAPI32MBK9CIb7EGzKIkBAoWgfPDtPw75kI2pmPQHLQythnrcCMvNbu+QFuHZ/B396CFpqAJ5IP9xNXQTSjVC8Aw3JAajPvj0eBwohUZ+J6wBCkQzq4zxMo8Ewo9E0gEBTL2YkOzHzVA7B+HUE0n/Ay9yqb11H6NRNepmHI9ENZ7KHYc/R+KAOIBDvJIAc3KuPGQDKhV8vF0myP7UdIYa+gcYaIln4o73kg+AENcbXkQ74wp1QI70FL+N9hvZCjTFCzLdQLcG0UZ3RDOqi3fClBqE8+bIOQDZsjRQjN4JwgQTDHc4yCoO6YZUXFFUjiBGaEMbKqyeZhZUO2PhabcnCvIgcElK20RkALHOWwU8AHobPkxiEGp8YACXWDxuf7tYuyHPYX4SUJaJRn+Z75zJ/JEyKOYvzOVEAkT5ygveke2CaMWccDhRrWG2A69jPOvF08k0gBYIDqnAiNgD3kXaYeLdupDyAgoiGox5pg+/NXrgPdsJLsk0EQIDkU5v64D3QVtLMyoqBigy1NX6kp8CfGqLRUQZHa1nDQgtV4KLxYCoP944P2YSK7K8UgRqFWis5N59EHcnjDAuvyxgt1XGMayRxHfuHN5GHc3MzJLNFkoWNEWKQz+S7B+7GL+DfdwGBgz8iyNCLJjTcAwz1xrMj9Lax0ToILT4ET5RRjOXhOXgRnn0/oG775zD7ppRwYbj8lmPSyT9peAD19L6ejUVokM3lXwMQyrtEpPzkj5fddfo7t6DMXT62HOVah+RY0Qj31vfhO9rGxpGBp5kkZEjFMCrqnQCI0iuqJlpy/ArbdhtCh85AfamZ7XgrZI7p8mIgsq3ZCVdrBq5UBy+tLgJjAEQvMZLn4Vn1YsHryuse88F9QIhl6XNwtPbDnuzSG1EpgEJIS3Q8AAJ8hIModhWuxWsLAGqt/FOpCgxCylPuhz3FPpBiDycRRS8oajUABHg/B1UwfBWWyTONvFcyTpGnPQh52SaYN+yFO9rO/IsQUqsAUKoqR7M31Q4tfAnOtfthW/I8zNMeMCpgWAo5MU+ajVouH7UncrC29rAJZUieLo5eEQG246LSK2G4MKbZYhPX4Epe06PlSfWUAOCITnbA03KZZG6HO/YLt6vf4TjejZqZD5dWQQGAZco8lhz7/4kbsB26iND+s9Be+YBLCMnWlOPsF8MpBxf3RVFWDWxSwXAOSuovmLiY2Dls3C1XdcMqtyk31zBH8xVYd72LuqNnuBsOcS+4BWv4N8j3LSifDsvUubDMehxm/1RIFkEWSXI8/RoNcqBE2FS4HzjiPeyS3Zh0vAuh45x2yVswtdyEjSVbl/qJEcpQmSoS2LZ6R8GQRZFMgekwzeJqPmP+6BTcWWoWrIRvzwX4w2Ll4nglQUUK6sOiLLk3kHDu5i495FqK29KBb2B9ZFX1hhgTIy/F0BTf8+H0Stb566FsSUPZ+wnch8/De/gy/JycXq7ynt2fwrklyd8SayA7Nf3MmLtEDxivCirK8BQzpMbC3Y3djONVrOL6U3xWKqPP3BW54+884eV/YbisCCCl+r8USfobNcUmGxboH7gAAAAASUVORK5CYII=",width:e,height:e,className:t,alt:"","aria-hidden":"true",style:{display:"block",width:e,height:e}}),fn=({size:e=24,className:t})=>st("svg",{width:e,height:e,viewBox:"0 0 48 48",className:t,children:[ at("path",{fill:"#1e88e5",d:"M40.69,35.42c-9.15,11.88-21.41,8.8-26.23,6.1 c-7.35-4.11-12.5-13.68-9.44-23.25c0.9-2.82,2.27-5.23,3.98-7.23c1.67,0.13,3.65,0.13,6-0.04c14-1,18,11,17,14 c-0.51,1.53-2.32,2.02-3.97,2.13c0.16-0.22,0.36-0.54,0.64-1.02c0.87-1.54,0.98-4.49-1.73-6.27c-2.61-1.7-5.43-0.65-6.88,1.28 c-1.45,1.92-0.88,4.81-0.37,6.09c2.2,5.52,6.26,6.95,9.02,7.78c2.76,0.83,6.86,0.71,9.05-0.19c2.18-0.91,2.8-1.43,3.22-0.97 C41.41,34.29,41.11,34.82,40.69,35.42z"}), at("path",{fill:"#0d47a1",d:"M40.732,35.42c-3.48,4.52-7.41,6.87-11.21,7.91 c-0.03,0.01-0.06,0.01-0.08,0.02c-2.2,0.42-3.95,0.08-5.85-0.29c-3.09-0.6-7.35-4.01-8.38-10.18c-0.88-5.31,1.63-9.81,5.59-12.54 c-0.26,0.24-0.49,0.5-0.7,0.78c-1.45,1.92-0.88,4.81-0.37,6.09c2.2,5.52,6.26,6.95,9.02,7.78c2.76,0.83,6.86,0.71,9.05-0.19 c2.18-0.91,2.8-1.43,3.22-0.97C41.452,34.29,41.152,34.82,40.732,35.42z"}), at("path",{fill:"#00e5ff",d:"M26.94,4.25c0.02,0.26,0.03,0.54,0.03,0.81c0,3.78-1.75,7.14-4.48,9.32 c-1.02-0.52-2.21-0.94-3.65-1.22c-4.07-0.78-10.63,1.1-13.3,5.77c-0.88,1.53-1.25,3.1-1.41,4.55c0.04-1.71,0.33-3.46,0.89-5.21 C8.31,8.01,17.86,3.05,26.94,4.25z"}), at("path",{fill:"#00e676",d:"M41.4,27.89c-2.76,2.78-6.27,2.86-8.67,2.73 c-2.41-0.12-3.59-0.82-4.69-1.5c-1.11-0.69-0.48-1.37-0.37-1.52c0.11-0.15,0.38-0.41,1-1.49c0.29-0.51,0.5-1.18,0.54-1.91 c4.62-3.43,7.96-8.49,9.16-14.34c2.92,2.95,4.3,6.21,4.79,7.61C44.04,19.99,44.71,24.56,41.4,27.89z"}), at("path",{fill:"#1de9b6",d:"M38.37,9.85v0.01c-1.2,5.85-4.54,10.91-9.16,14.34c0.03-0.42,0-0.87-0.1-1.32 c0-0.02-0.01-0.04-0.01-0.05c-0.25-1.47-0.99-3.33-2.22-4.77c-1.22-1.44-2.52-2.73-4.39-3.68c2.73-2.18,4.48-5.54,4.48-9.32 c0-0.27-0.01-0.55-0.03-0.81c0.4,0.05,0.79,0.11,1.19,0.19C32.74,5.33,36.04,7.49,38.37,9.85z"})]}),bn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}), at("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]}),vn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("polyline",{points:"3 6 5 6 21 6"}), at("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}), at("line",{x1:"10",y1:"11",x2:"10",y2:"17"}), at("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]}),yn=({size:e=18,color:t="currentColor",className:n="",filled:r=false,style:o})=>at("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block",...o},children: at("path",r?{d:"M307.370667 416l54.314666 54.314667-77.056 77.056a4.266667 4.266667 0 0 0 2.986667 7.296h158.421333l1.962667 1.962666V844.8c0 4.693333 3.84 8.533333 8.533333 8.533333h110.933334a8.533333 8.533333 0 0 0 8.533333-8.533333v-160.170667l76.8 76.8V844.8a85.333333 85.333333 0 0 1-85.333333 85.333333h-110.933334a85.333333 85.333333 0 0 1-85.333333-85.333333v-213.333333H287.616c-72.192 0-108.373333-87.296-57.301333-138.368L307.370667 416z m432.64 215.381333L663.296 554.666667h73.088a4.266667 4.266667 0 0 0 2.986667-7.253334l-221.354667-221.354666a8.533333 8.533333 0 0 0-12.032 0l-35.669333 35.626666L416 307.413333l35.669333-35.669333a85.333333 85.333333 0 0 1 120.661334 0l221.354666 221.354667c50.218667 50.176 16.085333 135.424-53.674666 138.282666zM207.530667 207.530667a38.4 38.4 0 0 1 54.272 0l554.666666 554.666666a38.4 38.4 0 1 1-54.272 54.272l-554.666666-554.666666a38.4 38.4 0 0 1 0-54.272zM217.6 128a38.4 38.4 0 0 1 38.4-38.4h512a38.4 38.4 0 1 1 0 76.8H256a38.4 38.4 0 0 1-38.4-38.4z",fill:t}:{d:"M576 554.666667h160.341333a4.266667 4.266667 0 0 0 3.029334-7.253334l-2.986667-3.072-48.341333-48.298666-18.176-18.176-151.850667-151.850667a8.533333 8.533333 0 0 0-12.032 0L354.133333 477.866667l-18.176 18.176L287.573333 544.426667l-2.986666 2.986666a4.266667 4.266667 0 0 0 2.986666 7.253334H448v290.133333c0 4.736 3.84 8.533333 8.533333 8.533333h110.933334a8.533333 8.533333 0 0 0 8.533333-8.533333V554.666667z m160.384 76.8H652.8v213.333333a85.333333 85.333333 0 0 1-85.333333 85.333333h-110.933334a85.333333 85.333333 0 0 1-85.333333-85.333333v-213.333333H287.616c-72.192 0-108.373333-87.338667-57.301333-138.410667l221.354666-221.312a85.333333 85.333333 0 0 1 120.661334 0l221.354666 221.312c51.072 51.072 14.933333 138.410667-57.301333 138.410667zM256 89.6a38.4 38.4 0 0 0 0 76.8h512a38.4 38.4 0 1 0 0-76.8H256z",fill:t})}),wn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}), at("circle",{cx:"12",cy:"12",r:"3"})]}),xn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M2 8a10.645 10.645 0 0 0 20 0"}), at("path",{d:"m4 15 1.726-2.05"}), at("path",{d:"m9 18 .722-3.25"}), at("path",{d:"m15 18-.722-3.25"}), at("path",{d:"m20 15-1.726-2.05"})]}),kn=({size:e=16,className:t="",...n})=>at("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 16 16",width:e,height:e,fill:"currentColor",display:"inline-block",overflow:"visible",className:t,style:{display:"block",width:e,height:e,verticalAlign:"middle"},...n,children:at("path",{d:"M14.85 3c.63 0 1.15.52 1.14 1.15v7.7c0 .63-.51 1.15-1.15 1.15H1.15C.52 13 0 12.48 0 11.84V4.15C0 3.52.52 3 1.15 3ZM9 11V5H7L5.5 7 4 5H2v6h2V8l1.5 1.92L7 8v3Zm2.99.5L14.5 8H13V5h-2v3H9.5Z"})}),Sn=({size:e=16,className:t="",...n})=>st("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round",className:t,style:{display:"block",width:e,height:e,verticalAlign:"middle"},...n,children:[ at("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}), at("path",{d:"M14 2v6h6"}), at("path",{d:"m10 9-2 3 2 3"}), at("path",{d:"m14 9 2 3-2 3"})]}),Cn=({size:e=16,className:t="",...n})=>st("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"currentColor",className:t,style:{display:"block",width:e,height:e},...n,children:[ at("path",{d:"M1008 464h-72c-4.4 0-8-3.6-8-8V314.5c0-17-6.7-33.3-18.7-45.3L658.7 18.7C646.7 6.7 630.5 0 613.5 0H144c-26.5 0-48 21.5-48 48v408c0 4.4-3.6 8-8 8H16c-8.8 0-16 7.2-16 16v400c0 8.8 7.2 16 16 16h80c0 35.3 14.3 67.3 37.5 90.5 23.2 23.2 55.2 37.5 90.5 37.5h656c26.5 0 48-21.5 48-48v-64c0-8.8 7.2-16 16-16h64c8.8 0 16-7.2 16-16V480c0-8.8-7.2-16-16-16zM704 154.5l69.5 69.5H708c-2.2 0-4-1.8-4-4v-65.5zM160 72c0-4.4 3.6-8 8-8h408c35.3 0 64 28.7 64 64v144c0 8.8 7.2 16 16 16h144c35.3 0 64 28.7 64 64v104c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8V72z m492.3 603.5c0 32.5-9.5 58.9-28.4 79.1-18.9 20.3-43.7 30.4-74.3 30.4-29.9 0-54.2-9.8-72.9-29.4-18.5-19.6-27.9-44.9-27.9-75.8 0-32.7 9.5-59.3 28.6-79.8s44.3-30.8 75.6-30.8c29.8 0 53.8 9.9 72 29.8 18.2 19.8 27.3 45.4 27.3 76.5z m-365.9 53.3c16.9 13.9 35.9 20.9 57.3 20.9 12.1 0 21.2-2.1 27.3-6.3 6.1-4.2 9.2-9.5 9.2-16.1 0-5.7-2.4-11-7.3-16s-17.6-11.9-38.4-20.5c-32.6-13.8-48.9-33.9-48.9-60.4 0-19.4 7.4-34.5 22.2-45.2s34.3-16.1 58.7-16.1c20.4 0 37.5 2.7 51.3 7.9v41.8c-14-9.5-30.4-14.3-49.2-14.3-11 0-19.7 2-26.3 6-6.6 4-9.8 9.4-9.8 16.1 0 5.4 2.2 10.4 6.7 14.9s15.6 10.7 33.3 18.4c20.7 8.9 35 18.3 42.8 28.2 7.8 9.9 11.7 21.6 11.7 35.3 0 20-7.1 35.3-21.3 45.8S371.3 785 345.2 785c-23.9 0-43.5-3.9-58.7-11.6l-0.1-44.6c0.1 0 0 0 0 0z m-139.6 8.9c7.7 5.8 16.5 8.8 26.4 8.8 21.4 0 32.1-16.2 32.1-48.6V572.7h44.5v126.8h-0.1c0 27.6-6.4 48.7-19.1 63.5-12.7 14.6-30.9 22-54.6 22-10.5 0-20.3-1.8-29.2-5.4v-41.9zM864 952c0 4.4-3.6 8-8 8H224c-35.3 0-64-28.7-64-64h696c4.4 0 8 3.6 8 8v48z m9.2-170.6h-45.5l-88.4-135c-4.6-7-7.9-12.7-10-17h-0.7c0.8 7.2 1.2 18.3 1.2 33.3v118.7h-42.2V572.7h48.5l85.1 131.2c5.7 8.7 9.1 14.2 10.4 16.6h0.7c-0.9-5-1.3-14.6-1.3-28.8v-119h42.2v208.7zM286.5 728.8s-0.1 0 0 0z"}), at("path",{d:"M605.8 678.2c0 20.9-4.8 37.5-14.5 49.8s-23.3 18.5-40.7 18.5c-17.1 0-30.5-6.4-40.3-19.3-9.8-12.9-14.7-29.5-14.7-49.8 0-20.6 5-37.3 15-50.2 10.1-12.9 23.8-19.4 41.2-19.4 17.2 0 30.5 6.3 39.9 18.9 9.4 12.6 14.1 29.8 14.1 51.5z"})]}),Tn=({size:e=16,className:t="",...n})=>at("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"currentColor",className:t,style:{display:"block",width:e,height:e},...n,children:at("path",{d:"M627.2 960H166.4c-25.6 0-51.2-12.8-70.4-25.6-19.2-19.2-32-44.8-32-70.4v-115.2c6.4-19.2 12.8-38.4 32-51.2 12.8-6.4 19.2-12.8 32-12.8s25.6 6.4 44.8 12.8H192c12.8 6.4 19.2 6.4 32 6.4s25.6 0 32-6.4c12.8-6.4 19.2-12.8 25.6-19.2 6.4-6.4 12.8-19.2 19.2-25.6 6.4-12.8 6.4-19.2 6.4-32s0-25.6-6.4-32c-6.4-12.8-12.8-19.2-19.2-25.6s-19.2-12.8-25.6-19.2c-12.8-6.4-19.2-6.4-32-6.4s-19.2 0-32 6.4h-6.4c-6.4 6.4-19.2 6.4-25.6 12.8-12.8 6.4-25.6 6.4-38.4 6.4-19.2 0-32-12.8-38.4-25.6-6.4-12.8-12.8-25.6-12.8-44.8V396.8c0-25.6 12.8-51.2 32-70.4 19.2-19.2 44.8-32 70.4-32H256c-6.4-19.2-6.4-32-6.4-51.2 0-25.6 6.4-51.2 12.8-70.4l38.4-57.6c19.2-19.2 38.4-32 57.6-38.4C384 64 403.2 64 428.8 64s51.2 6.4 70.4 12.8l57.6 38.4c19.2 19.2 32 38.4 38.4 57.6 12.8 25.6 12.8 44.8 12.8 70.4 0 19.2 0 38.4-6.4 51.2h25.6c25.6 0 51.2 12.8 70.4 32 19.2 19.2 25.6 44.8 25.6 70.4v64c19.2-6.4 38.4-6.4 57.6-6.4 25.6 0 44.8 6.4 70.4 12.8 19.2 6.4 38.4 25.6 57.6 38.4 19.2 19.2 32 38.4 38.4 57.6 6.4 19.2 12.8 44.8 12.8 70.4 0 25.6-6.4 51.2-12.8 70.4-6.4 19.2-19.2 38.4-38.4 57.6-19.2 19.2-38.4 32-57.6 38.4-19.2 6.4-44.8 12.8-70.4 12.8-19.2 0-38.4 0-57.6-6.4v51.2c0 25.6-12.8 51.2-25.6 70.4-19.2 19.2-44.8 32-70.4 32z m-486.4-192v96c0 6.4 0 12.8 6.4 19.2 6.4 6.4 12.8 6.4 19.2 6.4h460.8c6.4 0 12.8 0 19.2-6.4 6.4-6.4 6.4-12.8 6.4-19.2v-198.4l64 51.2c6.4 6.4 19.2 12.8 32 19.2 12.8 6.4 25.6 6.4 38.4 6.4 12.8 0 25.6 0 38.4-6.4 12.8-6.4 25.6-12.8 32-25.6 12.8-12.8 19.2-19.2 25.6-32 6.4-12.8 6.4-25.6 6.4-38.4 0-12.8 0-25.6-6.4-38.4-6.4-12.8-12.8-25.6-25.6-32-12.8-12.8-19.2-19.2-32-25.6-12.8-6.4-25.6-6.4-38.4-6.4-12.8 0-25.6 0-38.4 6.4-12.8 6.4-25.6 12.8-32 19.2l-64 51.2V409.6c0-6.4 0-12.8-6.4-19.2C640 384 640 384 627.2 384H454.4l51.2-64c19.2-19.2 25.6-38.4 25.6-64 0-12.8 0-32-6.4-44.8-6.4-12.8-12.8-25.6-25.6-32-12.8-12.8-19.2-19.2-32-25.6-12.8-6.4-25.6-6.4-44.8-6.4-12.8 0-25.6 0-44.8 6.4-12.8 6.4-25.6 12.8-32 25.6-12.8 12.8-19.2 19.2-25.6 32-6.4 12.8-6.4 25.6-6.4 44.8 0 12.8 0 25.6 6.4 38.4 6.4 12.8 12.8 25.6 19.2 32l51.2 64H166.4c-6.4 0-12.8 0-19.2 6.4-6.4 6.4-6.4 12.8-6.4 19.2v89.6s6.4 0 6.4-6.4c6.4 0 6.4-6.4 12.8-6.4 19.2-6.4 38.4-12.8 64-12.8 19.2 0 44.8 6.4 64 12.8 19.2 6.4 38.4 19.2 51.2 32 12.8 12.8 25.6 32 32 51.2 6.4 19.2 12.8 38.4 12.8 64 0 19.2-6.4 44.8-12.8 64-6.4 19.2-19.2 38.4-32 51.2-12.8 12.8-32 25.6-51.2 32-19.2 6.4-38.4 12.8-64 12.8-19.2 0-44.8-6.4-64-12.8-6.4-12.8-12.8-19.2-19.2-19.2z"})}),En=({size:e=16,className:t="",...n})=>st("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"currentColor",className:t,style:{display:"block",width:e,height:e},...n,children:[ at("path",{d:"M737.148 541.92h-256.85V286.073c0-17.673-14.327-32-32-32h-288.85c-17.673 0-32 14.327-32 32v576.698c0 17.673 14.327 32 32 32h577.7c17.673 0 32-14.327 32-32V573.92c0-17.673-14.327-32-32-32z m-320.85-223.847V541.92h-224.85V318.073h224.85z m-224.85 288.85h224.85v223.848h-224.85V606.923z m513.7 223.848h-224.85V605.92h224.85v224.851z"}), at("path",{d:"M843.523 146.698h-280c-17.132 0-31.02 13.888-31.02 31.02v280c0 17.132 13.888 31.02 31.02 31.02h280c17.132 0 31.02-13.888 31.02-31.02v-280c0-17.132-13.888-31.02-31.02-31.02z m-31.019 280H594.543V208.737h217.961v217.961z"}), at("path",{d:"M671.523 285.718h64v64h-64z"})]}),In=({size:e=16,className:t="",...n})=>st("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"currentColor",className:t,style:{display:"block",width:e,height:e},...n,children:[ at("path",{d:"M899.072 403.968h-14.336V275.456c0-8.192-3.072-16.384-9.216-22.016L624.128 11.776c-6.144-5.632-13.312-8.704-21.504-8.704h-465.92C89.088 3.072 50.688 41.472 50.688 89.088v845.824c0 47.616 38.4 86.016 86.016 86.016h662.528c22.528 0 45.056-9.216 60.928-25.6 16.384-16.384 25.088-37.888 24.576-60.416v-60.416h14.848c22.528 0 43.52-8.704 59.392-25.088 15.872-15.872 24.576-36.864 24.064-58.88V487.936c0-46.08-37.888-83.968-83.968-83.968z m-292.864-324.096l185.856 178.176-185.856-4.608V79.872z m217.088 855.04c0.512 6.656-2.048 12.8-6.656 17.408-4.608 4.608-10.752 7.168-17.408 7.168H136.704c-13.312 0-24.576-11.264-24.576-24.576V89.088c0-13.312 11.264-24.576 24.576-24.576h408.064v219.136c0 16.896 12.8 30.208 29.696 30.72l248.832 6.144v83.456h-527.36c-46.08 0-83.968 37.888-83.968 83.968v302.592c0 46.08 37.888 83.968 83.968 83.968h527.36v60.416z m98.304-144.384c0 6.144-2.048 11.776-6.144 15.872s-9.728 6.656-15.872 6.656H295.936c-12.288 0-22.528-10.24-22.528-22.528V487.936c0-12.288 10.24-22.528 22.528-22.528h603.136c12.288 0 22.528 10.24 22.528 22.528v302.592z"}), at("path",{d:"M309.76 600.064h59.392v132.608h58.88v-132.608h59.904v-43.52H309.76zM696.832 556.544h-64l-32.768 54.272-33.792-54.272H501.76l59.392 83.968L495.616 732.16h66.048l37.376-56.32 37.376 56.32h66.048l-64.512-90.624zM707.072 556.544v43.52h59.904v132.608h58.88v-132.608H885.76v-43.52h-178.176z"})]}),Mn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("circle",{cx:"11",cy:"11",r:"8"}), at("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}),Nn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("line",{x1:"12",y1:"19",x2:"12",y2:"5"}), at("polyline",{points:"5 12 12 5 19 12"})]}),An=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("line",{x1:"12",y1:"5",x2:"12",y2:"19"}), at("polyline",{points:"19 12 12 19 5 12"})]}),Pn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("circle",{cx:"12",cy:"12",r:"10"}), at("polyline",{points:"12 6 12 12 16 14"})]}),Ln=({size:e=18,color:t,className:n="",style:r})=>{const o=`sparkle-gradient-${i.useId().replace(/:/g,"")}`,a=!t||"brand"===t,s=a?`url(#${o})`:t,l="number"==typeof e?1.25*e:e; return st("svg",{viewBox:"0 0 1024 1024",width:l,height:l,xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block",flexShrink:0,overflow:"visible",transform:"translateY(1px)",filter:a?"drop-shadow(0px 2px 6px rgba(34, 211, 238, 0.4))":"none",...r},children:[ at("defs",{children:a&&st("linearGradient",{id:o,x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[ at("stop",{offset:"0%",stopColor:"#22d3ee"}), at("stop",{offset:"100%",stopColor:"#6366f1"})]})}), st("g",{style:{fill:s,stroke:s,strokeWidth:12,strokeLinejoin:"round",strokeLinecap:"round"},children:[ at("path",{d:"M380.77 475.76c-2.29 0-4.29-1.55-4.85-3.77l-11.9-47.04-47.08-14.51a5.002 5.002 0 0 1-3.52-5.05c0.13-2.29 1.8-4.2 4.05-4.64l46.76-8.95 11.53-46.79c0.55-2.23 2.55-3.8 4.85-3.8h0.01c2.3 0 4.3 1.56 4.85 3.79l11.67 46.8 46.77 8.95c2.26 0.43 3.93 2.34 4.05 4.64a4.994 4.994 0 0 1-3.52 5.05l-47.07 14.5-11.76 47.03a4.986 4.986 0 0 1-4.84 3.79z m-41.69-68.96l30.57 9.42a5 5 0 0 1 3.38 3.55l7.71 30.49 7.62-30.47a5.01 5.01 0 0 1 3.38-3.57l30.57-9.42-30.18-5.77a5.006 5.006 0 0 1-3.91-3.7L380.66 367l-7.47 30.32c-0.47 1.9-2 3.35-3.92 3.71l-30.19 5.77zM513.43 939.45h-0.04c-8-0.02-14.96-5.46-16.93-13.21L415.8 607.36l-319.06-98.3a17.495 17.495 0 0 1-12.32-17.7c0.45-8.03 6.32-14.72 14.22-16.22l191.92-36.28c9.5-1.8 18.65 4.45 20.45 13.95s-4.45 18.65-13.94 20.45l-122.51 23.16 260.96 80.4c5.84 1.8 10.31 6.51 11.81 12.43l66.26 261.97 46.87-181.85c2.41-9.36 11.95-14.99 21.31-12.58s14.99 11.95 12.58 21.31l-63.97 248.22c-2 7.73-8.97 13.13-16.95 13.13zM826.61 540.39c-7.44 0-14.35-4.79-16.69-12.27-2.89-9.22 2.24-19.04 11.46-21.94l31.03-9.73-261.1-49.94a17.496 17.496 0 0 1-13.69-12.96l-65.07-260.98-47.06 190.3c-2.32 9.38-11.8 15.11-21.19 12.79-9.38-2.32-15.11-11.81-12.79-21.19l63.97-258.72a17.497 17.497 0 0 1 16.97-13.3h0.02c8.03 0 15.04 5.47 16.98 13.27l79.41 318.52 318.43 60.91a17.5 17.5 0 0 1 14.18 16.18c0.46 8.01-4.58 15.3-12.23 17.7l-97.39 30.55c-1.74 0.55-3.5 0.81-5.24 0.81zM842.91 908.24c-2.29 0-4.29-1.55-4.85-3.77l-11.9-47.04-47.08-14.51a5.002 5.002 0 0 1-3.52-5.05c0.13-2.29 1.8-4.21 4.05-4.64l46.76-8.95 11.53-46.79c0.55-2.23 2.55-3.8 4.85-3.8h0.01c2.3 0 4.3 1.56 4.85 3.79l11.67 46.8 46.77 8.95c2.26 0.43 3.93 2.34 4.05 4.64a4.994 4.994 0 0 1-3.52 5.05l-47.07 14.5-11.76 47.03a4.975 4.975 0 0 1-4.84 3.79z m-41.68-68.96l30.57 9.42a5 5 0 0 1 3.38 3.55l7.71 30.49 7.62-30.47a5.01 5.01 0 0 1 3.38-3.57l30.57-9.42-30.18-5.77a5.006 5.006 0 0 1-3.91-3.7l-7.56-30.33-7.47 30.32c-0.47 1.9-2 3.35-3.92 3.71l-30.19 5.77zM874.6 220.76c-1.85 0-3.73-0.3-5.58-0.93l-67.48-23.04c-4.37-1.49-7.9-4.6-9.94-8.76-2.04-4.16-2.34-8.85-0.85-13.22l23.05-67.47c3.09-9.03 12.95-13.87 21.98-10.79l67.48 23.04c4.37 1.49 7.9 4.6 9.94 8.76 2.04 4.16 2.34 8.85 0.85 13.22L891 209.04c-2.45 7.19-9.2 11.72-16.4 11.72z m0.88-19.86z m0 0z m-64.94-22.17l62.4 21.31 21.31-62.39-62.4-21.31-21.31 62.39zM147.92 229.91a9.91 9.91 0 0 1-3.34-0.58 9.982 9.982 0 0 1-6.49-7.61l-17.36-93.88c-0.65-3.51 0.62-7.11 3.34-9.43 2.72-2.32 6.47-3.01 9.83-1.82l89.99 31.91a9.982 9.982 0 0 1 6.49 7.61c0.65 3.51-0.62 7.11-3.34 9.43l-72.63 61.97a9.951 9.951 0 0 1-6.49 2.4z m-4.38-88.67l11.06 59.82 46.28-39.49-57.34-20.33zM170.16 908.56c-29.21 0-52.97-23.76-52.97-52.96s23.76-52.96 52.97-52.96 52.97 23.76 52.97 52.96-23.76 52.96-52.97 52.96z m0-85.92c-18.18 0-32.97 14.79-32.97 32.96 0 18.18 14.79 32.96 32.97 32.96s32.97-14.79 32.97-32.96c0-18.18-14.79-32.96-32.97-32.96z"}), at("path",{d:"M720.52 570.25c-4.83 0-9.57-2.33-12.46-6.63-4.62-6.88-2.79-16.2 4.08-20.82 59.91-40.27 107.08-81.41 136.42-118.97 27-34.56 36.95-64.05 28.02-83.02-9.9-21.04-43.7-32.21-95.17-31.46-55 0.81-127.81 15.68-205.01 41.87-7.84 2.66-16.36-1.54-19.02-9.38-2.66-7.84 1.54-16.36 9.38-19.02 81.25-27.57 155.32-42.6 214.21-43.46 81.98-1.2 112 25.81 122.76 48.69 9.9 21.04 12.46 57.94-31.53 114.26-31.26 40.03-80.82 83.39-143.33 125.4a15.005 15.005 0 0 1-8.35 2.54zM206.58 758.85c-19.37 0-36.69-1.63-51.82-4.9-32.77-7.08-54.56-21.65-64.74-43.3-12.12-25.77-6.13-57.5 17.79-94.3 20.83-32.03 55.73-67.88 100.95-103.69 6.49-5.14 15.93-4.05 21.07 2.45 5.14 6.49 4.05 15.93-2.45 21.07-42.7 33.81-75.35 67.19-94.42 96.53-12.3 18.91-25.02 45.57-15.8 65.17 12.64 26.87 65.89 37.07 142.46 27.28 84.33-10.77 188.04-43.64 292.05-92.54 9.16-4.31 18.36-8.76 27.37-13.24 7.42-3.69 16.42-0.67 20.11 6.74 3.69 7.42 0.67 16.42-6.74 20.11-9.2 4.58-18.61 9.14-27.97 13.54-106.76 50.2-213.66 83.99-301.01 95.15-20.52 2.62-39.51 3.93-56.85 3.93z"}), at("path",{d:"M598.89 616.45a16.71 16.71 0 1 0 33.42 0 16.71 16.71 0 1 0-33.42 0Z"}), at("path",{d:"M664.77 608.33h-18.14c-4.2 0-7.64-3.44-7.64-7.64v-18.14c0-4.2 3.44-7.64 7.64-7.64h18.14c4.2 0 7.64 3.44 7.64 7.64v18.14c0 4.2-3.44 7.64-7.64 7.64zM690.73 554.4l-12.28 21.27c-0.98 1.7 0.25 3.83 2.21 3.83h24.57c1.97 0 3.2-2.13 2.21-3.83l-12.28-21.27c-0.99-1.7-3.45-1.7-4.43 0z"})]})]})},Rn=({size:e=15,color:t="currentColor",className:n=""})=>at("svg",{viewBox:"0 0 1024 1024",width:e,height:e,xmlns:"http://www.w3.org/2000/svg",className:n,style:{display:"block",flexShrink:0},children:at("path",{d:"M674.432 64c20.224 0 37.888 18.944 37.888 40.576v297.792h232.192c7.616 0 15.168 2.752 20.16 8.128a41.92 41.92 0 0 1 10.176 56.832l-295.36 473.728a34.688 34.688 0 0 1-30.272 18.944c-20.16 0-37.824-18.944-37.824-40.576V621.632h-232.32a27.584 27.584 0 0 1-20.16-8.128 41.92 41.92 0 0 1-10.048-56.832l295.296-473.728A34.688 34.688 0 0 1 674.432 64zM44.8 140.8h358.4a44.8 44.8 0 0 1 0 89.6H44.8a44.8 44.8 0 1 1 0-89.6z m0 640h358.4a44.8 44.8 0 0 1 0 89.6H44.8a44.8 44.8 0 0 1 0-89.6z m0-320h166.4a44.8 44.8 0 0 1 0 89.6H44.8a44.8 44.8 0 1 1 0-89.6z",fill:t})}),$n=({size:e=18,color:t="currentColor",className:n=""})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:at("polyline",{points:"20 6 9 17 4 12"})}),On=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block",width:e,height:e},children:[ at("line",{x1:"2",y1:"2",x2:"2",y2:"22"}), at("rect",{x:"6",y:"4",width:"16",height:"16",rx:"2"}), at("polyline",{points:"15 9 11 12 15 15"})]}),Dn=({size:e=18,color:t="currentColor",className:n=""})=>at("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block",width:e,height:e},children:at("path",{d:"M701.312 579.84l132.288-238.08 83.712 12.032a32 32 0 0 0 27.2-54.272L703.168 58.176 698.88 54.528a32 32 0 0 0-50.048 30.848l12.16 83.84-237.632 131.712-7.808-3.648c-79.04-35.328-151.168-26.624-209.984 32.192l-3.712 4.48a32 32 0 0 0 3.712 40.768l145.664 145.664-239.552 325.888-2.944 4.672c-14.912 28.608 19.84 60.672 47.744 40l324.992-240.32 146.496 146.496a32 32 0 0 0 45.248 0c58.176-58.24 66.176-124.736 32.32-207.36l-4.224-9.92z m24.704-408.256l105.152 105.152-10.24-1.408a32 32 0 0 0-32.576 16.128L637.44 563.072a32 32 0 0 0-0.768 29.632l5.888 12.416c21.824 48.768 24.96 84.608 8.512 116.224l-3.136 5.248-140.672-140.672-4.48-3.776a32 32 0 0 0-37.12 0.64l-177.088 130.88 130.56-177.472 3.008-4.992a32 32 0 0 0-6.144-36.608L276.032 354.688l6.208-3.456c35.584-18.24 76.544-13.312 126.464 14.08a32 32 0 0 0 30.848-0.064l271.872-150.72a32 32 0 0 0 16.128-32.576l-1.536-10.368z",fill:t})}),zn=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"})}),_n=({size:e=20,color:t="currentColor",className:n="",style:r})=>at("svg",{viewBox:"0 0 1024 1024",width:e,height:e,fill:t,className:n,style:{display:"block",...r},children:at("path",{d:"M1018.912 381.792c-32.992-174.304-207.328-195.968-207.328-195.968H30.816c-25.76 0-28.96 34.048-28.96 34.048s-3.488 312.48-0.928 504.416c7.008 103.424 110.336 114.016 110.336 114.016s352.736-0.992 510.56-2.08c104.032-18.176 114.464-109.472 113.408-159.328 185.696 10.24 316.672-120.8 283.68-295.072z m-471.968 149.792c-53.152 61.984-171.136 169.632-171.136 169.632s-5.152 5.088-13.216 0.992c-3.232-2.432-4.608-3.84-4.608-3.84-18.912-18.816-143.712-130.08-172.128-168.704-30.24-41.184-44.416-115.2-3.872-158.304 40.576-43.104 128.224-46.336 186.144 17.376 0 0 66.784-76.032 147.968-41.088 81.248 34.976 78.176 128.48 30.848 183.936z m263.392 20.384c-39.584 4.96-71.776 1.184-71.776 1.184V310.752h75.52s84.096 23.52 84.096 112.544c0 81.632-42.016 113.792-87.84 128.64z"})}),Bn=({size:e=20,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,className:n,style:{display:"block",...r},fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[ at("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}), at("polyline",{points:"17 21 17 13 7 13 7 21"}), at("polyline",{points:"7 3 7 8 15 8"})]}),Hn=({size:e=20,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,className:n,style:{display:"block",...r},fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[ at("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}), at("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]}),qn=({size:e=20,color:t="currentColor",className:n="",style:r})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block",...r},fill:t,children:[ at("path",{d:"M876.89 535.11c3.22-107.02-35.43-208.89-108.85-286.85-139.4-148.03-365.98-166.35-526.67-50.07l-5.56-57.66c-2.36-24.48-24.16-42.41-48.61-40.07-24.48 2.36-42.43 24.12-40.07 48.61l17.92 185.8a44.52 44.52 0 0 0 17.77 31.48c1.51 1.13 3.07 2.13 4.68 3.04a44.528 44.528 0 0 0 30.61 4.89l178.1-35.47c24.11-4.8 39.77-28.25 34.96-52.39-4.78-24.15-28.22-39.78-52.39-34.96l-81.37 16.2c124.67-87.44 298.4-72.49 405.79 41.7 57.09 60.62 87.16 139.85 84.68 223.08-2.51 83.24-37.26 160.52-97.91 217.62C564.83 867.92 367 862.07 249.25 736.82c-16.83-17.92-45.05-18.76-62.97-1.88-17.89 16.87-18.74 45.06-1.88 62.97 28.36 30.1 60.28 54.83 94.56 74.18 148.83 83.98 341.29 66 472.1-57.18C829 741.5 873.69 642.14 876.89 535.11z"}), at("path",{d:"M423.44 378.04c-24.59 0.46-44.16 20.78-43.7 45.37l3.34 178.13c0.46 24.59 20.78 44.16 45.37 43.7l178.13-3.34c24.59-0.46 44.16-20.78 43.7-45.37s-20.78-44.16-45.37-43.7l-133.6 2.51-2.51-133.6c-0.46-24.59-20.77-44.16-45.36-43.7z"})]}),Fn=({size:e=16,color:t="currentColor",accentColor:n="#ff8910",className:r=""})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:r,style:{display:"block"},children:[ at("path",{d:"M950.857143 731.428571a73.142857 73.142857 0 0 1 73.142857 73.142858v146.285714a73.142857 73.142857 0 0 1-73.142857 73.142857H146.285714a73.142857 73.142857 0 0 1-73.142857-73.142857v-146.285714a73.142857 73.142857 0 0 1 73.142857-73.142858h804.571429z m0 73.142858H146.285714v146.285714h804.571429v-146.285714z m0-438.857143a73.142857 73.142857 0 0 1 73.142857 73.142857v146.285714a73.142857 73.142857 0 0 1-73.142857 73.142857H512v-73.142857h438.857143v-146.285714H512v-73.142857h438.857143z m0-365.714286a73.142857 73.142857 0 0 1 73.142857 73.142857v146.285714a73.142857 73.142857 0 0 1-73.142857 73.142858H146.285714a73.142857 73.142857 0 0 1-73.142857-73.142858V73.142857a73.142857 73.142857 0 0 1 73.142857-73.142857h804.571429z m0 73.142857H146.285714v146.285714h804.571429V73.142857z",fill:t}), at("path",{d:"M3.364571 558.592h227.584v146.285714l189.622858-182.857143-189.622858-182.857142v146.285714H3.364571z",fill:n})]}),Un=({size:e=16,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 1024 1024",width:e,height:e,className:n,style:{display:"block"},children:[ at("path",{d:"M186.7 532.8c-14.8 0-26.8-2.3-26.8-16.9 0-14.6 12-28.9 26.8-28.9v45.8z m605.8 144.3L678.9 763c-8 7.9-32.9 11.4-40.9 3.5v-54H508L347.4 532.8H186.7v-45.9h187.5l160.7 187.4H638v-78.9c8-7.9 32.9-10 40.9-2.1l113.6 83.8z m0-342L678.9 421c-8 7.9-32.9 11.4-40.9 3.5V356.6H534.8l-93.9 128.6-33.7-28.3s94-129.8 100.8-138.5h130v-65c8-7.9 32.9-10 40.9-2.1l113.6 85.9v-2.1z",fill:t}), at("path",{d:"M511.3 960.2c-60.5 0-119.1-11.8-174.4-35.2-53.4-22.6-101.3-54.9-142.4-96-41.1-41.1-73.4-89-96-142.4-23.4-55.2-35.2-113.9-35.2-174.4s11.8-119.1 35.2-174.4c22.6-53.4 54.9-101.3 96-142.4 41.1-41.1 89-73.4 142.4-96C392.1 76 450.8 64.2 511.3 64.2S630.4 76 685.7 99.4c53.4 22.6 101.3 54.9 142.4 96 41.1 41.1 73.4 89 96 142.4 23.4 55.2 35.2 113.9 35.2 174.4s-11.8 119.1-35.2 174.4c-22.6 53.4-54.9 101.3-96 142.4-41.1 41.1-89 73.4-142.4 96-55.2 23.4-113.9 35.2-174.4 35.2z m0-854.7c-224.3 0-406.7 182.4-406.7 406.7 0 224.3 182.4 406.7 406.7 406.7 224.3 0 406.7-182.4 406.7-406.7 0-224.2-182.4-406.7-406.7-406.7z",fill:t})]}),jn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M3 21c3-3 4-6 4-9 0-3.31-2.69-6-6-6v2c2.21 0 4 1.79 4 4h-2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h2z",fill:t,stroke:"none"}), at("path",{d:"M15 21c3-3 4-6 4-9 0-3.31-2.69-6-6-6v2c2.21 0 4 1.79 4 4h-2a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h2z",fill:t,stroke:"none"})]}),Wn=({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M18.36 6.64a9 9 0 1 1-12.73 0"}), at("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]}),Vn="scrollTop",Kn="scrollBottom",Gn="goToAnchor",Qn="togglePanel",Yn="togglePanelMode",Zn="toggleTheme",Xn="openSettings",Jn="switchTab1",er="switchTab2",tr="switchTab3",nr="toggleUserQueries",rr="onlyUserQueries",or="toggleBookmarks",ir="locateOutline",ar="searchOutline",sr="refreshOutline",lr="prevHeading",cr="nextHeading",dr="toggleOutlineExpand",hr="expandLevel1",ur="expandLevel2",gr="expandLevel3",pr="expandLevel4",mr="expandLevel5",fr="expandLevel6",br="newConversation",vr="refreshConversations",yr="locateConversation",wr="prevConversation",xr="nextConversation",kr="exportConversation",Sr="copyLatestReply",Cr="copyLastCodeBlock",Tr="toggleScrollLock",Er="toggleZenMode",Ir="focusInput",Mr="openGlobalSearch",Nr="stopGeneration",Ar="togglePromptQueue",Pr="showShortcuts",Lr="showModelSelector",Rr="openClaudeSettings",$r="switchClaudeKey",Or="openGeminiSettings",Dr="openThemeSettings",zr="openModelLockSettings",_r={scrollTop:{labelKey:"shortcutScrollTop",label:"去顶部",category:"navigation"},scrollBottom:{labelKey:"shortcutScrollBottom",label:"去底部",category:"navigation"},goToAnchor:{labelKey:"shortcutGoToAnchor",label:"返回锚点",category:"navigation"},togglePanel:{labelKey:"shortcutTogglePanel",label:"展开/收起面板",category:"panel"},togglePanelMode:{labelKey:"shortcutTogglePanelMode",label:"切换面板模式(吸附/悬浮)",category:"panel"},toggleTheme:{labelKey:"shortcutToggleTheme",label:"切换主题",category:"panel"},switchTab1:{labelKey:"shortcutSwitchTab1",label:"切换到第 1 个标签",category:"panel"},switchTab2:{labelKey:"shortcutSwitchTab2",label:"切换到第 2 个标签",category:"panel"},switchTab3:{labelKey:"shortcutSwitchTab3",label:"切换到第 3 个标签",category:"panel"},toggleUserQueries:{labelKey:"shortcutToggleUserQueries",label:"显示用户问题",category:"outline"},onlyUserQueries:{labelKey:"shortcutOnlyUserQueries",label:"只显示用户问题",category:"outline"},toggleBookmarks:{labelKey:"shortcutToggleBookmarks",label:"显示用户收藏",category:"outline"},locateOutline:{labelKey:"shortcutLocateOutline",label:"定位大纲",category:"outline"},searchOutline:{labelKey:"shortcutSearchOutline",label:"搜索大纲",category:"outline"},prevHeading:{labelKey:"shortcutPrevHeading",label:"上一个标题",category:"outline"},nextHeading:{labelKey:"shortcutNextHeading",label:"下一个标题",category:"outline"},refreshOutline:{labelKey:"shortcutRefreshOutline",label:"刷新大纲",category:"outline"},toggleOutlineExpand:{labelKey:"shortcutToggleOutlineExpand",label:"展开/折叠全部",category:"outline"},expandLevel1:{labelKey:"shortcutExpandLevel1",label:"展开到 1 级",category:"outline"},expandLevel2:{labelKey:"shortcutExpandLevel2",label:"展开到 2 级",category:"outline"},expandLevel3:{labelKey:"shortcutExpandLevel3",label:"展开到 3 级",category:"outline"},expandLevel4:{labelKey:"shortcutExpandLevel4",label:"展开到 4 级",category:"outline"},expandLevel5:{labelKey:"shortcutExpandLevel5",label:"展开到 5 级",category:"outline"},expandLevel6:{labelKey:"shortcutExpandLevel6",label:"展开到 6 级",category:"outline"},newConversation:{labelKey:"shortcutNewConversation",label:"新对话",category:"conversation"},refreshConversations:{labelKey:"shortcutRefreshConversations",label:"刷新对话列表",category:"conversation"},locateConversation:{labelKey:"shortcutLocateConversation",label:"定位当前对话",category:"conversation"},prevConversation:{labelKey:"shortcutPrevConversation",label:"上一个对话",category:"conversation"},nextConversation:{labelKey:"shortcutNextConversation",label:"下一个对话",category:"conversation"},exportConversation:{labelKey:"shortcutExportConversation",label:"导出对话",category:"edit"},copyLatestReply:{labelKey:"shortcutCopyLatestReply",label:"复制最新回复",category:"edit"},copyLastCodeBlock:{labelKey:"shortcutCopyLastCodeBlock",label:"复制最后代码块",category:"edit"},toggleScrollLock:{labelKey:"shortcutToggleScrollLock",label:"锁定滚动",category:"edit"},toggleZenMode:{labelKey:"shortcutToggleZenMode",label:"切换禅模式",category:"edit"},focusInput:{labelKey:"shortcutFocusInput",label:"聚焦输入框",category:"edit"},openGlobalSearch:{labelKey:"navGlobalSearch",label:"全局搜索",category:"edit"},stopGeneration:{labelKey:"shortcutStopGeneration",label:"停止生成",category:"edit"},togglePromptQueue:{labelKey:"shortcutTogglePromptQueue",label:"显示/隐藏提示词队列",category:"edit"},showModelSelector:{labelKey:"shortcutShowModelSelector",label:"模型选择菜单",category:"edit"},openSettings:{labelKey:"shortcutOpenSettings",label:"打开设置",category:"settings"},showShortcuts:{labelKey:"shortcutShowShortcuts",label:"快捷键一览",category:"settings"},openThemeSettings:{labelKey:"shortcutOpenThemeSettings",label:"打开外观主题",category:"settings"},openModelLockSettings:{labelKey:"shortcutOpenModelLockSettings",label:"打开模型锁定",category:"settings"},openGeminiSettings:{labelKey:"shortcutOpenGeminiSettings",label:"打开 Gemini 专属",category:"settings"},openClaudeSettings:{labelKey:"shortcutOpenClaudeSettings",label:"打开 Claude 专属",category:"settings"},switchClaudeKey:{labelKey:"shortcutSwitchClaudeKey",label:"一键切换可用 Claude Key",category:"settings"}},Br={navigation:{labelKey:"shortcutCategoryNavigation",label:"导航"},panel:{labelKey:"shortcutCategoryPanel",label:"面板"},outline:{labelKey:"shortcutCategoryOutline",label:"大纲"},conversation:{labelKey:"shortcutCategoryConversation",label:"对话"},edit:{labelKey:"shortcutCategoryEdit",label:"交互控制"},settings:{labelKey:"shortcutCategorySettings",label:"设置"}},Hr={scrollTop:{key:"t",alt:true},scrollBottom:{key:"b",alt:true},goToAnchor:{key:"z",alt:true},togglePanel:{key:"p",alt:true},togglePanelMode:{key:"m",alt:true},toggleTheme:{key:"d",alt:true},switchTab1:{key:"1",alt:true},switchTab2:{key:"2",alt:true},switchTab3:{key:"3",alt:true},refreshOutline:{key:"r",alt:true},toggleOutlineExpand:{key:"e",alt:true},expandLevel1:{key:"1",alt:true,shift:true},expandLevel2:{key:"2",alt:true,shift:true},expandLevel3:{key:"3",alt:true,shift:true},expandLevel4:{key:"4",alt:true,shift:true},expandLevel5:{key:"5",alt:true,shift:true},expandLevel6:{key:"6",alt:true,shift:true},toggleUserQueries:{key:"q",alt:true},toggleBookmarks:{key:"c",alt:true},onlyUserQueries:{key:"q",alt:true,shift:true},prevHeading:{key:"ArrowUp",alt:true},nextHeading:{key:"ArrowDown",alt:true},locateOutline:{key:"l",alt:true},searchOutline:{key:"f",alt:true},newConversation:{key:"o",ctrl:true,shift:true},refreshConversations:{key:"r",alt:true,shift:true},locateConversation:{key:"l",alt:true,shift:true},prevConversation:{key:"[",alt:true},nextConversation:{key:"]",alt:true},exportConversation:{key:"e",ctrl:true,shift:true},copyLatestReply:{key:"c",ctrl:true,shift:true},copyLastCodeBlock:{key:";",alt:true},toggleScrollLock:{key:"s",alt:true},toggleZenMode:{key:"z",ctrl:true,shift:true},focusInput:{key:"i",alt:true},openGlobalSearch:{key:"k",ctrl:true},stopGeneration:{key:"k",alt:true},togglePromptQueue:{key:"j",alt:true},showModelSelector:{key:"/",alt:true},showShortcuts:{key:"\\",alt:true},openSettings:{key:",",alt:true},openClaudeSettings:{key:"c",ctrl:true,alt:true},switchClaudeKey:{key:"s",ctrl:true,alt:true},openGeminiSettings:{key:"g",ctrl:true,alt:true},openThemeSettings:{key:"t",ctrl:true,alt:true},openModelLockSettings:{key:"l",ctrl:true,alt:true}},qr={enabled:true,globalUrl:"https://gemini.google.com",keybindings:Hr},Fr={Backquote:"`",Minus:"-",Equal:"=",BracketLeft:"[",BracketRight:"]",Backslash:"\\",Semicolon:";",Quote:"'",Comma:",",Period:".",Slash:"/"},Ur={"å":"a","∫":"b","ç":"c","∂":"d","´":"e","ƒ":"f","©":"g","˙":"h","ˆ":"i","∆":"j","˚":"k","¬":"l","µ":"m","˜":"n","ø":"o","π":"p","œ":"q","®":"r","ß":"s","†":"t","¨":"u","√":"v","∑":"w","≈":"x","¥":"y","Ω":"z","¡":"1","™":"2","£":"3","¢":"4","∞":"5","§":"6","¶":"7","•":"8","ª":"9","º":"0","⁄":"1","€":"2","‹":"3","›":"4","fi":"5","fl":"6","‡":"7","°":"8","·":"9","‚":"0","–":"-","—":"-","≠":"=","±":"=","“":"[","”":"[","‘":"]","’":"]","«":"\\","»":"\\","…":";","æ":"'","Æ":"'","≤":",","¯":",","≥":".","˘":".","÷":"/","¿":"/"};function jr(e,t){if(t){if(/^Key[A-Z]$/.test(t))return t.slice(3).toLowerCase();if(/^Digit[0-9]$/.test(t))return t.slice(5);if(Fr[t])return Fr[t]}return Ur[e]?Ur[e]:e}function Wr(e){if(!e)return e;return {key:jr(e.key),alt:!!e.alt,ctrl:!!e.ctrl||!!e.meta,shift:!!e.shift}}function Vr(e){return e?{enabled:e.enabled??true,globalUrl:e.globalUrl||qr.globalUrl,keybindings:(t=e.keybindings,(t?Object.fromEntries(Object.entries(t).map(([e,t])=>[e,null===t?null:Wr(t)])):t)||qr.keybindings)}:e;var t;}function Kr(e,t=false){const n=Wr(e);if(!n)return [];const r=[];n.ctrl&&r.push(t?"⌘":"Ctrl"),n.meta&&t&&r.push("⌘"),n.alt&&r.push(t?"⌥":"Alt"),n.shift&&r.push(t?"⇧":"Shift");const o=jr(n.key),i={ArrowUp:"↑",ArrowDown:"↓",ArrowLeft:"←",ArrowRight:"→",",":","}[o]||o.toUpperCase();return r.push(i),r}function Gr(e,t=false){return Kr(e,t).join(t?"":"+")}function Qr(){if("undefined"==typeof navigator)return false;const e=navigator.platform?.toLowerCase?.()||"",t=navigator.userAgent?.toLowerCase?.()||"",n=navigator.userAgentData?.platform?.toLowerCase?.();return e.includes("mac")||e.includes("iphone")||e.includes("ipad")||e.includes("ipod")||!!n?.includes("mac")||t.includes("mac os")||t.includes("macintosh")||t.includes("iphone")||t.includes("ipad")||t.includes("ipod")}const Yr="prompts",Zr="outline",Xr="conversations",Jr="general",eo="appearance",to="features",no="siteSettings",ro="sitePacks",oo="globalSearch",io="shortcuts",ao="backup",so="permissions",lo="about",co="about-sponsor",ho=e=>`site-pack-installed-${e}`,uo="outline",go="conversations",po="prompts",mo="tab",fo="reminder",bo="content",vo="readingHistory",yo="toolbox",wo={BUILTIN:"builtin",INSTALLED:"installed",ORIGINS:"origins",UPDATES:"updates"},xo="presets",ko="custom",So="layout",Co="modelLock",To="local",Eo="webdav",Io={"page-general":{page:Jr},"page-features":{page:to},"page-site-settings":{page:no},"page-site-packs":{page:ro},"page-global-search":{page:oo},"page-shortcuts":{page:io},"page-appearance":{page:eo},"page-backup":{page:ao},"page-permissions":{page:so},"page-about":{page:lo},"subtab-general-panel":{page:Jr,subTab:"panel"},"subtab-general-tab-order":{page:Jr,subTab:"tabOrder"},"subtab-general-shortcuts":{page:Jr,subTab:"shortcuts"},"subtab-general-tools-menu":{page:Jr,subTab:"toolsMenu"},"subtab-features-outline":{page:to,subTab:uo},"subtab-features-conversations":{page:to,subTab:go},"subtab-features-prompts":{page:to,subTab:po},"subtab-features-tab-settings":{page:to,subTab:mo},"subtab-features-reminder":{page:to,subTab:fo},"subtab-features-content":{page:to,subTab:bo},"subtab-features-reading-history":{page:to,subTab:vo},"subtab-site-settings-layout":{page:no,subTab:So},"subtab-site-settings-model-lock":{page:no,subTab:Co},"subtab-site-settings-gemini":{page:no,subTab:"gemini"},"subtab-site-settings-aistudio":{page:no,subTab:"aistudio"},"subtab-site-settings-chatgpt":{page:no,subTab:"chatgpt"},"subtab-site-settings-claude":{page:no,subTab:"claude"},"subtab-appearance-presets":{page:eo,subTab:xo},"subtab-appearance-custom":{page:eo,subTab:ko},"subtab-site-packs-builtin":{page:ro,subTab:wo.BUILTIN},"subtab-site-packs-installed":{page:ro,subTab:wo.INSTALLED},"subtab-site-packs-origins":{page:ro,subTab:wo.ORIGINS},"subtab-site-packs-updates":{page:ro,subTab:wo.UPDATES},"subtab-backup-local":{page:ao,subTab:To},"subtab-backup-webdav":{page:ao,subTab:Eo},"panel-settings-card":{page:Jr,subTab:"panel"},"tab-order-card":{page:Jr,subTab:"tabOrder"},"quick-buttons-card":{page:Jr,subTab:"shortcuts"},"toolbox-menu-card":{page:Jr,subTab:"toolsMenu"},"tab-behavior-card":{page:to,subTab:mo},"tab-privacy-card":{page:to,subTab:mo},"notification-settings-card":{page:to,subTab:fo},"usage-monitor-card":{page:to,subTab:fo},"outline-settings-card":{page:to,subTab:uo},"bookmark-settings-card":{page:to,subTab:uo},"scroll-settings-card":{page:to,subTab:uo},"conversations-settings-card":{page:to,subTab:go},"export-settings-card":{page:to,subTab:go},"prompts-settings-card":{page:to,subTab:po},"quick-quote-settings-card":{page:to,subTab:po},"reading-history-card":{page:to,subTab:vo},"content-interaction-card":{page:to,subTab:bo},"layout-clean-mode-card":{page:no,subTab:So},"layout-auto-hide-input-card":{page:no,subTab:So},"backup-export-card":{page:ao,subTab:To},"backup-import-card":{page:ao,subTab:To},"backup-reset-card":{page:ao,subTab:To},"backup-webdav-card":{page:ao,subTab:Eo},"shortcuts-global-card":{page:io},"permissions-optional-card":{page:so},"permissions-required-card":{page:so},[co]:{page:lo},"appearance-sync-native-page-theme":{page:eo},"appearance-preset-light":{page:eo,subTab:xo},"appearance-preset-dark":{page:eo,subTab:xo},"appearance-custom-styles":{page:eo,subTab:ko},"tab-show-notification":{page:to,subTab:fo},"tab-notification-sound":{page:to,subTab:fo},"tab-notification-sound-preset":{page:to,subTab:fo},"tab-notification-volume":{page:to,subTab:fo},"tab-notification-repeat-count":{page:to,subTab:fo},"tab-notification-repeat-interval":{page:to,subTab:fo},"tab-notify-when-focused":{page:to,subTab:fo},"tab-auto-focus":{page:to,subTab:fo},"usage-monitor-enabled":{page:to,subTab:fo},"usage-monitor-daily-limit":{page:to,subTab:fo},"usage-monitor-auto-reset":{page:to,subTab:fo},"site-packs-registry":{page:ro,subTab:wo.UPDATES},"site-pack-custom-origin":{page:ro,subTab:wo.ORIGINS},"site-packs-local-import":{page:ro,subTab:wo.UPDATES},"remote-config-status":{page:ro,subTab:wo.UPDATES},"remote-config-local-patch-import":{page:ro,subTab:wo.UPDATES},"layout-clean-mode-enabled":{page:no,subTab:So},"layout-auto-hide-input-enabled":{page:no,subTab:So},"chatgpt-code-block-batch-mount":{page:no,subTab:"chatgpt"},"chatgpt-streaming-render-optimize":{page:no,subTab:"chatgpt"},"chatgpt-disable-backdrop-blur":{page:no,subTab:"chatgpt"},"export-default-format":{page:to,subTab:go},"export-style":{page:to,subTab:go},"export-show-index":{page:to,subTab:go},"export-show-dialog":{page:to,subTab:go},"export-markdown-divider":{page:to,subTab:go},"permission-item-storage":{page:so},"permission-item-notifications":{page:so},"permission-item-cookies":{page:so},"permission-item-webdav":{page:so},"backup-webdav-url":{page:ao,subTab:Eo},"backup-webdav-username":{page:ao,subTab:Eo},"backup-webdav-password":{page:ao,subTab:Eo},"backup-webdav-dir":{page:ao,subTab:Eo},"global-search-matching-card":{page:oo},"global-search-prompt-card":{page:oo},"collapsed-buttons-order-card":{page:Jr,subTab:"shortcuts"},"shortcuts-prompt-submit-shortcut":{page:to,subTab:po}},Mo=[{prefix:"remote-config-",route:{page:ro,subTab:wo.UPDATES}},{prefix:"panel-",route:{page:Jr,subTab:"panel"}},{prefix:"quick-buttons-",route:{page:Jr,subTab:"shortcuts"}},{prefix:"tools-menu-",route:{page:Jr,subTab:"toolsMenu"}},{prefix:"shortcuts-",route:{page:io}},{prefix:"shortcut-binding-",route:{page:io}},{prefix:"layout-",route:{page:no,subTab:So}},{prefix:"gemini-",route:{page:no,subTab:"gemini"}},{prefix:"aistudio-",route:{page:no,subTab:"aistudio"}},{prefix:"chatgpt-",route:{page:no,subTab:"chatgpt"}},{prefix:"claude-",route:{page:no,subTab:"claude"}},{prefix:"model-lock-",route:{page:no,subTab:Co}},{prefix:"outline-",route:{page:to,subTab:uo}},{prefix:"conversation-",route:{page:to,subTab:go}},{prefix:"export-",route:{page:to,subTab:go}},{prefix:"prompt-",route:{page:to,subTab:po}},{prefix:"reading-history-",route:{page:to,subTab:vo}},{prefix:"content-",route:{page:to,subTab:bo}},{prefix:"appearance-preset-",route:{page:eo,subTab:xo}},{prefix:"appearance-custom-",route:{page:eo,subTab:ko}},{prefix:"permission-item-",route:{page:so}},{prefix:"backup-webdav-",route:{page:ao,subTab:Eo}},{prefix:"backup-",route:{page:ao,subTab:To}},{prefix:"global-search-",route:{page:oo}},{prefix:"tab-notification-",route:{page:to,subTab:fo}},{prefix:"tab-",route:{page:to,subTab:mo}}],No={"remoteConfig.autoUpdate":"remote-config-auto-update","remoteConfig.registrySourceUrl":"remote-config-registry-source","general.panel.panelMode":"panel-mode","general.panel.edgeTriggerMode":"panel-edge-trigger-mode","general.panel.defaultPosition":"panel-default-position","general.panel.defaultEdgeDistance":"panel-edge-distance","general.panel.width":"panel-width","general.panel.resizeOnHover":"panel-resize-on-hover","general.panel.hoverWidth":"panel-hover-width","general.panel.height":"panel-height","general.panel.edgeSnapThreshold":"panel-edge-snap-threshold","general.shortcuts.quickButtonsOpacity":"quick-buttons-opacity","general.toolsMenu":"tools-menu-scrollTop","siteSettings.layout.pageWidth.enabled":"layout-page-width-enabled","siteSettings.layout.pageWidth.value":"layout-page-width-value","siteSettings.layout.panelAvoidance.enabled":"layout-panel-avoidance-enabled","siteSettings.layout.userQueryWidth.enabled":"layout-user-query-width-enabled","siteSettings.layout.userQueryWidth.value":"layout-user-query-width-value","siteSettings.layout.zenMode.enabled":"layout-zen-mode-enabled","siteSettings.layout.zenMode.showExitButton":"layout-zen-mode-exit-button-visible","globalSearch.promptEnterBehavior":"global-search-prompt-enter-behavior","globalSearch.enableFuzzySearch":"global-search-fuzzy-search","globalSearch.doubleShift":"global-search-double-shift","shortcuts.enabled":"shortcuts-enabled","shortcuts.globalUrl":"shortcuts-global-url","features.prompts.submitShortcut":"shortcuts-prompt-submit-shortcut","features.tab.openInNewTab":"tab-open-new","features.tab.autoRename":"tab-auto-rename","usageMonitor.enabled":"usage-monitor-enabled","usageMonitor.dailyLimit":"usage-monitor-daily-limit","usageMonitor.autoResetEnabled":"usage-monitor-auto-reset","features.outline.autoUpdate":"outline-auto-update","features.outline.inlineBookmarkMode":"outline-inline-bookmark-mode","features.outline.panelBookmarkMode":"outline-panel-bookmark-mode","features.outline.preventAutoScroll":"outline-prevent-auto-scroll","features.prompts.promptQueue":"prompt-queue","features.prompts.quickQuoteEnabled":"prompt-quick-quote-enabled","features.export.packaging":"export-packaging","features.export.includeThoughts":"export-include-thoughts","export.packaging":"export-packaging","features.readingHistory.persistence":"reading-history-persistence","features.content.assistantMermaid":"content-assistant-mermaid","features.content.formulaCopy":"content-formula-copy","features.content.formulaCopyFormat":"content-formula-copy-format","panel.preventAutoScroll":"outline-prevent-auto-scroll","content.markdownFix":"gemini-markdown-fix","content.watermarkRemoval":"gemini-watermark-removal","geminiEnterprise.policyRetry.enabled":"gemini-policy-retry","geminiEnterprise.policyRetry.maxRetries":"gemini-policy-max-retries","aistudio.collapseNavbar":"aistudio-collapse-navbar","aistudio.collapseRunSettings":"aistudio-collapse-run-settings","aistudio.collapseTools":"aistudio-collapse-tools","aistudio.collapseAdvanced":"aistudio-collapse-advanced","aistudio.enableSearch":"aistudio-enable-search","aistudio.removeWatermark":"aistudio-remove-watermark","aistudio.markdownFix":"aistudio-markdown-fix","chatgpt.markdownFix":"chatgpt-markdown-fix","claude.sessionKeys":"claude-session-keys","appearance.syncNativePageTheme":"appearance-sync-native-page-theme","appearance-theme-sync":"appearance-sync-native-page-theme","appearance.presets.light":"appearance-preset-light","appearance.presets.dark":"appearance-preset-dark","appearance.custom.styles":"appearance-custom-styles"},Ao=e=>{const t=e?.trim();if(t)return No[t]??t},Po=e=>{const t=Ao(e);if(t)return Io[t]?Io[t]:Mo.find(e=>t.startsWith(e.prefix))?.route},Lo=Object.entries(_r).map(([e,t])=>({settingId:`shortcut-binding-${e}`,title:`快捷键:${t.label}`,keywords:["shortcut","shortcuts","keybinding","hotkey","keyboard","快捷键","键位","按键",t.label,t.labelKey,e,t.category]})),Ro=[{settingId:"panel-settings-card",title:"面板基础设置",keywords:["panel settings","mode","position","size","面板设置","面板模式","默认位置","宽高"]},{settingId:"tab-order-card",title:"Tab 顺序与显隐设置",keywords:["tab order","sort","visible","tab 顺序","标签顺序","功能开关"]},{settingId:"quick-buttons-card",title:"快捷按钮设置",keywords:["quick buttons","proximity","opacity","快捷按钮","透明度","悬浮感应"]},{settingId:"collapsed-buttons-order-card",title:"折叠按钮顺序设置",keywords:["collapsed buttons order","quick buttons","折叠按钮","按钮排序","折叠菜单排序"]},{settingId:"toolbox-menu-card",title:"工具箱菜单设置",keywords:["toolbox menu","tools","工具箱菜单","快捷操作菜单"]},{settingId:"tab-behavior-card",title:"标签页行为设置",keywords:["tab behavior","auto rename","open new","标签页行为","新标签打开","自动重命名"]},{settingId:"tab-privacy-card",title:"隐私模式设置",keywords:["privacy mode","hide title","隐私模式","隐藏标题","隐私标题"]},{settingId:"notification-settings-card",title:"提醒声音与通知设置",keywords:["notification settings","sound","volume","提醒设置","声音提醒","完成提醒","音量"]},{settingId:"usage-monitor-card",title:"额度监控与统计",keywords:["usage monitor","daily limit","auto reset","额度监控","使用量统计","每日上限","自动重置"]},{settingId:"outline-settings-card",title:"大纲设置",keywords:["outline settings","auto update","follow mode","大纲设置","自动更新","跟随模式"]},{settingId:"bookmark-settings-card",title:"书签模式设置",keywords:["bookmark","inline bookmark","书签设置","内嵌书签","面板书签"]},{settingId:"scroll-settings-card",title:"滚动锁定设置",keywords:["scroll settings","prevent auto scroll","滚动设置","防止自动滚动","防跳滚"]},{settingId:"conversations-settings-card",title:"对话管理设置",keywords:["conversations settings","chats settings","folder rainbow","sync delete","对话设置","对话设置","彩虹文件夹","同步删除"]},{settingId:"export-settings-card",title:"对话导出设置",keywords:["export settings","format","style","packaging","导出设置","导出格式","打包方式","导出样式"]},{settingId:"prompts-settings-card",title:"提示词设置",keywords:["prompt settings","double click send","queue","提示词设置","双击发送","提示词队列"]},{settingId:"quick-quote-settings-card",title:"快捷引用设置",keywords:["quick quote","quote","快捷引用","划词引用","引用设置"]},{settingId:"reading-history-card",title:"阅读历史设置",keywords:["reading history","auto restore","cleanup","阅读历史","自动恢复进度","历史清理"]},{settingId:"content-interaction-card",title:"内容交互与增强设置",keywords:["interaction enhance","formula","table","mermaid","交互增强","公式复制","表格复制","图表渲染"]},{settingId:"layout-panel-avoidance-card",title:"面板避让设置",keywords:["panel avoidance","avoidance","面板避让","避让侧边栏","防遮挡"]},{settingId:"layout-page-width-card",title:"页面宽度设置",keywords:["page width","layout","页面宽度","自适应宽度","页面布局"]},{settingId:"layout-user-query-width-card",title:"用户问题宽度设置",keywords:["user query width","query width","用户问题宽度","提问宽度","输入宽度"]},{settingId:"layout-zen-mode-card",title:"禅模式设置",keywords:["zen mode","distraction free","禅模式","专注模式","无干扰"]},{settingId:"layout-clean-mode-card",title:"净化模式设置",keywords:["clean mode","distraction free","净化模式","隐藏侧栏","去杂质"]},{settingId:"layout-auto-hide-input-card",title:"自动隐藏输入框设置",keywords:["auto hide input","collapse input","自动隐藏输入框","折叠输入框","输入框收合"]},{settingId:"gemini-settings-card",title:"Gemini 专属",keywords:["gemini","google gemini","exclusive","gemini exclusive","专属","专属设置","gemini 专属","markdown fix","watermark","水印","策略重试"]},{settingId:"aistudio-settings-card",title:"AI Studio 设置",keywords:["aistudio","ai studio","google ai studio","折叠面板","水印","专属","专属设置","navbar","run settings"]},{settingId:"chatgpt-settings-card",title:"ChatGPT 设置",keywords:["chatgpt","openai","markdown fix","代码块","渲染优化","背景虚化","专属","专属设置"]},{settingId:"site-pack-custom-origin",title:"自定义域名覆盖",keywords:["custom origin","domains","自定义域名","域名覆盖","绑定"]},{settingId:"backup-export-card",title:"数据备份导出",keywords:["export data","backup export","数据导出","本地备份导出","完整备份","提示词备份"]},{settingId:"backup-import-card",title:"数据备份导入",keywords:["import data","backup restore","数据导入","本地恢复","导入备份"]},{settingId:"backup-reset-card",title:"重置所有数据",keywords:["danger zone","reset all","clear all","重置数据","清除所有数据","危险操作"]},{settingId:"backup-webdav-card",title:"WebDAV 云端同步配置",keywords:["webdav config","cloud sync","webdav 配置","云端备份","坚果云配置","同步设置"]},{settingId:"shortcuts-global-card",title:"全局快捷键设置",keywords:["global shortcuts","enable shortcuts","快捷键全局设置","快捷键总开关","浏览器快捷键"]},{settingId:"permissions-optional-card",title:"可选权限管理",keywords:["optional permissions","notifications","cookies","webdav","可选权限","通知权限","cookie权限","权限授权"]},{settingId:"permissions-required-card",title:"必需权限说明",keywords:["required permissions","permissions","必要权限","必需权限","核心权限","基础权限"]},{settingId:co,title:"赞助与支持",keywords:["sponsor","donate","afdian","赞助","支持","爱发电","捐助"]},{settingId:"global-search-matching-card",title:"搜索匹配设置",keywords:["search matching","fuzzy search","double shift","搜索匹配","模糊搜索","双击shift"]},{settingId:"global-search-prompt-card",title:"提示词行为设置",keywords:["prompt behavior","enter behavior","提示词行为","回车行为"]}],$o=new Set([...Ro.map(e=>e.settingId),"site-packs-registry","remote-config-status"]),Oo=[{settingId:"remote-config-auto-update",title:"自动更新适配配置",keywords:["remote config","auto update","adapter","自动更新","适配配置","热修复"]},{settingId:"remote-config-check-now",title:"立即检查适配配置更新",keywords:["remote config","check now","manual update","立即检查","手动更新"]},{settingId:"remote-config-active-patches",title:"重置适配配置",keywords:["remote config","patch","reset","built in","补丁","重置","内置配置"]},{settingId:"site-packs-registry",title:"在线适配库",keywords:["site pack","registry","community","install","适配包","在线适配库","适配中心","安装"]},{settingId:"panel-mode",title:"面板模式",keywords:["panel","mode","edge snap","floating","模式","吸附","悬浮","默认打开","自动隐藏"]},{settingId:"panel-edge-trigger-mode",title:"边缘触发方式",keywords:["panel","edge trigger","hidden edge","visible handle","hover edge","边缘触发","完全隐藏","显示把手","悬停边缘"]},{settingId:"panel-default-position",title:"默认位置",keywords:["panel","left","right","默认侧边"]},{settingId:"panel-edge-distance",title:"默认边距",keywords:["panel","edge distance","margin"]},{settingId:"panel-width",title:"面板宽度",keywords:["panel width","宽度"]},{settingId:"panel-resize-on-hover",title:"悬停时加宽",keywords:["panel","hover","hover resize","resize on hover","temporary width","悬停","悬停加宽","临时加宽","加宽"]},{settingId:"panel-hover-width",title:"悬停宽度",keywords:["panel","hover width","hover resize width","temporary width","悬停","悬停宽度","临时宽度","加宽宽度"]},{settingId:"panel-height",title:"面板高度",keywords:["panel height","高度"]},{settingId:"panel-edge-snap-threshold",title:"边缘吸附阈值",keywords:["snap threshold","edge snap","吸附阈值"]},{settingId:"quick-buttons-opacity",title:"快捷按钮透明度",keywords:["quick buttons","opacity","透明度"]},{settingId:"quick-buttons-hide-when-panel-open",title:"面板展开时隐藏快捷按钮组",keywords:["quick buttons","hide","panel open","快捷按钮","隐藏","面板展开"]},{settingId:"quick-buttons-proximity-radius",title:"感应唤醒距离",keywords:["quick buttons","proximity","radius","唤醒距离","感应"]},{settingId:"tools-menu-export",title:"工具箱:显示导出按钮",keywords:["tools menu","export","工具箱","导出"]},{settingId:"tools-menu-move",title:"工具箱:显示移动按钮",keywords:["tools menu","move","folder","工具箱"]},{settingId:"tools-menu-setTag",title:"工具箱:显示标签按钮",keywords:["tools menu","tag","标签","工具箱"]},{settingId:"tools-menu-scrollLock",title:"工具箱:显示滚动锁定",keywords:["tools menu","scroll lock","锁定滚动","工具箱"]},{settingId:"tools-menu-modelLock",title:"工具箱:显示模型锁定",keywords:["tools menu","model lock","模型锁定","工具箱"]},{settingId:"tools-menu-cleanup",title:"工具箱:显示清理按钮",keywords:["tools menu","cleanup","清理","工具箱"]},{settingId:"tools-menu-settings",title:"工具箱:显示设置按钮",keywords:["tools menu","settings","设置","工具箱"]},{settingId:"tab-open-new",title:"新对话打开方式",keywords:["tab","new conversation","open in new tab","新标签页"]},{settingId:"tab-auto-rename",title:"自动重命名标签页",keywords:["tab","auto rename","自动命名"]},{settingId:"tab-rename-interval",title:"标签页重命名间隔",keywords:["tab","rename interval","重命名间隔"]},{settingId:"tab-title-format",title:"标签页标题格式",keywords:["tab","title format","标题模板"]},{settingId:"tab-show-status",title:"显示状态图标",keywords:["tab","status","状态图标"]},{settingId:"tab-hide-status-when-read",title:"仅在未读时显示完成标记",keywords:["tab","hide status","unread","未读","完成标记","✅"]},{settingId:"tab-show-notification",title:"启用新消息通知",keywords:["tab","notification","消息提醒"]},{settingId:"tab-notification-sound",title:"通知音效",keywords:["tab","notification sound","声音提醒"]},{settingId:"tab-notification-volume",title:"通知音量",keywords:["tab","notification volume","音量"]},{settingId:"tab-notify-when-focused",title:"标签页聚焦时也提醒",keywords:["tab","focused","notify","聚焦提醒"]},{settingId:"tab-auto-focus",title:"自动聚焦到对话页",keywords:["tab","auto focus","自动聚焦"]},{settingId:"usage-monitor-enabled",title:"启用高级模型对话本地计数与预估",keywords:["usage","counter","estimate","token","quota","limit","advanced model","高级模型","本地计数","预估"]},{settingId:"usage-monitor-daily-limit",title:"每日对话次数预估上限",keywords:["daily limit","quota","limit","每日上限","次数上限","token"]},{settingId:"usage-monitor-auto-reset",title:"自动归零",keywords:["auto reset","reset","midnight","自动归零","重置","清零"]},{settingId:"tab-privacy-mode",title:"隐私模式",keywords:["tab","privacy","隐私"]},{settingId:"tab-privacy-title",title:"隐私模式标题",keywords:["tab","privacy title","隐私标题"]},{settingId:"outline-auto-update",title:"自动更新大纲",keywords:["outline","auto update","自动刷新"]},{settingId:"outline-update-interval",title:"大纲更新间隔",keywords:["outline","interval","刷新频率"]},{settingId:"outline-follow-mode",title:"自动跟随浏览位置",keywords:["outline","follow","自动跟随"]},{settingId:"outline-show-word-count",title:"显示字数统计",keywords:["outline","word count","字数"]},{settingId:"outline-inline-bookmark-mode",title:"内联收藏模式",keywords:["outline","bookmark","收藏","inline"]},{settingId:"outline-panel-bookmark-mode",title:"面板收藏模式",keywords:["outline","bookmark","收藏","panel"]},{settingId:"outline-prevent-auto-scroll",title:"阻止自动滚动页面",keywords:["outline","auto scroll","禁止滚动"]},{settingId:"conversation-folder-rainbow",title:"对话文件夹彩虹色",keywords:["conversation","folder","rainbow","文件夹颜色"]},{settingId:"conversation-sync-unpin",title:"同步时自动取消置顶",keywords:["conversation","sync","unpin","置顶"]},{settingId:"conversation-sync-delete",title:"删除时同步删除云端",keywords:["conversation","sync","delete","cloud","删除","云端"]},{settingId:"export-packaging",title:"Markdown 导出方式",keywords:["export","packaging","markdown","zip","assets","导出","附件"]},{settingId:"export-custom-user-name",title:"导出:自定义用户名称",keywords:["export","user name","导出用户名"]},{settingId:"export-custom-model-name",title:"导出:自定义模型名称",keywords:["export","model name","导出模型名"]},{settingId:"export-filename-timestamp",title:"导出文件名包含时间戳",keywords:["export","filename","timestamp","时间戳"]},{settingId:"export-include-thoughts",title:"导出包含思维链",keywords:["export","thoughts","reasoning","thinking","思维链","思路","推理"]},{settingId:"prompt-double-click-send",title:"提示词双击发送",keywords:["prompt","double click","send","双击发送"]},{settingId:"prompt-queue",title:"提示词队列",keywords:["prompt","queue","提示词队列","连续提问"]},{settingId:"prompt-quick-quote-enabled",title:"Ophel 选区引用",keywords:["prompt","quote","quick quote","selection","引用","选区引用","悬浮条"]},{settingId:"reading-history-persistence",title:"阅读记录持久化",keywords:["reading history","persistence","持久化"]},{settingId:"reading-history-auto-restore",title:"自动恢复阅读位置",keywords:["reading history","restore","恢复位置"]},{settingId:"reading-history-cleanup-days",title:"阅读记录清理天数",keywords:["reading history","cleanup","days","清理周期"]},{settingId:"content-assistant-mermaid",title:"AI 回复 Mermaid 渲染",keywords:["content","mermaid","diagram","assistant response","AI 回复"]},{settingId:"content-user-query-markdown",title:"用户提问样式优化",keywords:["content","markdown","latex","math","user query","用户提问","数学公式"]},{settingId:"content-formula-copy",title:"公式复制增强",keywords:["content","formula","copy","数学公式"]},{settingId:"content-formula-copy-format",title:"公式复制格式",keywords:["content","formula","copy","format","latex","mathml","复制格式","LaTeX","MathML"]},{settingId:"content-formula-delimiter",title:"公式分隔符",keywords:["content","formula delimiter","分隔符"]},{settingId:"content-table-copy",title:"表格复制增强",keywords:["content","table copy","复制表格"]},{settingId:"layout-page-width-enabled",title:"页面宽度覆盖",keywords:["layout","page width","页面宽度"]},{settingId:"layout-page-width-value",title:"页面宽度值",keywords:["layout","page width value","页面宽度值"]},{settingId:"layout-panel-avoidance-enabled",title:"智能避让 Ophel 面板",keywords:["layout","panel avoidance","smart layout","遮挡","避让","面板"]},{settingId:"layout-user-query-width-enabled",title:"用户问题宽度覆盖",keywords:["layout","user query width","提问宽度"]},{settingId:"layout-user-query-width-value",title:"用户问题宽度值",keywords:["layout","user query width value","提问宽度值"]},{settingId:"layout-zen-mode-enabled",title:"布局:启用禅模式 (Zen Mode)",keywords:["layout","zen mode","禅模式","disclaimer","免责声明","隐藏"]},{settingId:"layout-zen-mode-exit-button-visible",title:"布局:显示退出禅模式按钮",keywords:["layout","zen mode","exit button","禅模式","退出按钮","隐藏"]},{settingId:"gemini-markdown-fix",title:"Gemini:Markdown 修复",keywords:["gemini","markdown","fix","修复"]},{settingId:"gemini-watermark-removal",title:"Gemini:去水印",keywords:["gemini","watermark","去水印"]},{settingId:"gemini-policy-retry",title:"Gemini:策略重试",keywords:["gemini","policy retry","策略重试"]},{settingId:"gemini-policy-max-retries",title:"Gemini:最大重试次数",keywords:["gemini","max retries","最大重试"]},{settingId:"aistudio-collapse-navbar",title:"AI Studio:折叠左侧导航",keywords:["aistudio","collapse navbar","折叠导航"]},{settingId:"aistudio-collapse-run-settings",title:"AI Studio:折叠 Run settings",keywords:["aistudio","run settings","折叠运行设置"]},{settingId:"aistudio-collapse-tools",title:"AI Studio:折叠 Tools",keywords:["aistudio","tools","折叠工具"]},{settingId:"aistudio-collapse-advanced",title:"AI Studio:折叠 Advanced",keywords:["aistudio","advanced","折叠高级选项"]},{settingId:"aistudio-enable-search",title:"AI Studio:启用搜索",keywords:["aistudio","search","启用搜索"]},{settingId:"aistudio-remove-watermark",title:"AI Studio:去水印",keywords:["aistudio","watermark","去水印"]},{settingId:"aistudio-markdown-fix",title:"AI Studio:Markdown 修复",keywords:["aistudio","markdown","fix","修复"]},{settingId:"chatgpt-markdown-fix",title:"ChatGPT:Markdown 修复",keywords:["chatgpt","markdown","fix","修复"]},{settingId:"claude-session-keys",title:"Claude:Session Keys",keywords:["claude","session key","token","密钥"]},{settingId:"global-search-prompt-enter-behavior",title:"全局搜索:提示词回车行为",keywords:["global search","prompt","enter","全局搜索","提示词","回车"]},{settingId:"global-search-fuzzy-search",title:"Global Search: Enable fuzzy search",keywords:["global search","fuzzy","search everywhere","matching"]},{settingId:"global-search-double-shift",title:"全局搜索:双击 Shift 触发",keywords:["global search","double shift","shortcut","全局搜索","双击 shift","快捷键"]},{settingId:"global-search-shortcut-setting-link",title:"全局搜索:快捷键设置入口",keywords:["global search","shortcut","keybinding","全局搜索","快捷键","键位设置"]},{settingId:"shortcuts-enabled",title:"启用自定义快捷键",keywords:["shortcuts","enable","快捷键","自定义","总开关"]},{settingId:"shortcuts-global-url",title:"全局快捷键 URL",keywords:["shortcuts","global url","alt+o","快捷键","url"]},{settingId:"shortcuts-browser-shortcuts",title:"浏览器快捷键设置入口",keywords:["shortcuts","browser shortcuts","chrome://extensions/shortcuts","快捷键"]},{settingId:"shortcuts-prompt-submit-shortcut",title:"发送快捷键",keywords:["shortcuts","submit","enter","ctrl+enter","发送","快捷键"]},{settingId:"appearance-sync-native-page-theme",title:"同步原生页面主题",keywords:["appearance","theme","native page theme","sync native page theme","sync page theme","system theme","同步原生页面主题","原生页面主题","同步主题","跟随系统","自适应","亮暗模式联动","宿主页面主题"]},{settingId:"appearance-preset-light",title:"浅色主题预设",keywords:["appearance","theme","light","浅色"]},{settingId:"appearance-preset-dark",title:"深色主题预设",keywords:["appearance","theme","dark","深色"]},{settingId:"appearance-custom-styles",title:"自定义主题样式",keywords:["appearance","custom style","主题样式","css"]},...Lo,{settingId:"page-general",title:"基本设置",keywords:["general","settings","通用","常规","基本设置","面板","侧边栏"]},{settingId:"page-features",title:"功能模块",keywords:["features","modules","functions","功能","模块","大纲","对话","提示词","标签页","提醒","内容处理"]},{settingId:"page-site-settings",title:"站点设置",keywords:["site settings","sites","adapter","站点","站点设置","布局","宽度","模型锁定","gemini","chatgpt","claude","aistudio"]},{settingId:"page-site-packs",title:"适配中心",keywords:["site packs","registry","extensions","适配","适配中心","适配扩展","在线适配库","社区适配","插件"]},{settingId:"page-global-search",title:"全局搜索",keywords:["global search","search everywhere","search","全局搜索","搜索","全搜","双击 shift","模糊搜索"]},{settingId:"page-shortcuts",title:"快捷键位",keywords:["shortcuts","keyboard","hotkeys","keybindings","快捷键","键位","快捷键位","热键"]},{settingId:"page-appearance",title:"外观主题",keywords:["appearance","theme","themes","style","css","外观","主题","配色","深色模式","浅色模式","自定义样式"]},{settingId:"page-backup",title:"备份与同步",keywords:["backup","sync","webdav","export","import","备份","同步","数据管理","导入导出","云端同步","还原"]},{settingId:"page-permissions",title:"权限管理",keywords:["permissions","auth","access","权限","权限管理","授权","通知权限","cookie","存储权限"]},{settingId:"page-about",title:"关于",keywords:["about","version","changelog","release notes","sponsor","关于","版本","更新日志","赞助"]},{settingId:"subtab-general-panel",title:"面板设置",keywords:["panel","float","snap","面板","浮动","吸附","尺寸","宽高"]},{settingId:"subtab-general-tab-order",title:"Tab 顺序与显隐",keywords:["tab order","order","sort","tab 顺序","标签顺序","排序","显示隐藏"]},{settingId:"subtab-general-shortcuts",title:"快捷按钮",keywords:["quick buttons","float buttons","快捷按钮","悬浮按钮","侧边按钮"]},{settingId:"subtab-general-tools-menu",title:"工具箱菜单",keywords:["toolbox menu","tools menu","工具箱","菜单","工具菜单"]},{settingId:"subtab-features-outline",title:"大纲",keywords:["outline","toc","headings","大纲","目录","标题","书签","自动跟随"]},{settingId:"subtab-features-conversations",title:"对话",keywords:["conversations","chats","chat history","对话","对话","对话管理","额度监控","彩虹文件夹"]},{settingId:"subtab-features-prompts",title:"提示词",keywords:["prompts","prompt","queue","quick quote","提示词","常用提示词","队列","快捷引用","双击发送"]},{settingId:"subtab-features-tab-settings",title:"标签页",keywords:["tab settings","browser tabs","tabs","标签页","网页标签","自动重命名","隐私模式","标题格式化"]},{settingId:"subtab-features-reminder",title:"提醒",keywords:["reminder","alert","sound","notification","提醒","声音","通知","铃声","音量","额度监控"]},{settingId:"subtab-features-content",title:"内容交互",keywords:["content","formula","latex","math","table","mermaid","export","内容","内容处理","公式","表格","流程图","导出"]},{settingId:"subtab-features-reading-history",title:"阅读历史",keywords:["reading history","scroll position","progress","阅读历史","进度记录","阅读位置","自动恢复"]},{settingId:"subtab-site-settings-layout",title:"页面布局",keywords:["layout","width","zen mode","clean mode","布局","页面宽度","用户问题宽度","禅模式","净化模式"]},{settingId:"subtab-site-settings-model-lock",title:"模型锁定",keywords:["model lock","lock","模型锁定","锁定模型","默认模型"]},{settingId:"subtab-site-settings-gemini",title:"Gemini",keywords:["gemini","google gemini","专属","专属设置","gemini 专属","markdown fix","watermark","重试"]},{settingId:"subtab-site-settings-aistudio",title:"AI Studio",keywords:["aistudio","ai studio","google ai studio","专属","专属设置","折叠面板","水印"]},{settingId:"subtab-site-settings-chatgpt",title:"ChatGPT",keywords:["chatgpt","openai","专属","专属设置","markdown fix","代码块","渲染优化","背景虚化"]},{settingId:"subtab-site-settings-claude",title:"Claude",keywords:["claude","anthropic","session keys","专属","专属设置","claude 专属"]},{settingId:"subtab-appearance-presets",title:"主题预设",keywords:["presets","themes","light","dark","预设","主题预设","配色方案","深色预设","浅色预设"]},{settingId:"subtab-appearance-custom",title:"自定义样式",keywords:["custom styles","css","code editor","自定义样式","自定义 css","用户样式"]},{settingId:"subtab-site-packs-builtin",title:"内置站点",keywords:["builtin sites","default sites","内置站点","原生支持站点"]},{settingId:"subtab-site-packs-installed",title:"已安装适配包",keywords:["installed","installed packs","已安装","已安装适配包"]},{settingId:"subtab-site-packs-origins",title:"域名覆盖",keywords:["custom origins","domains","域名覆盖","自定义域名","绑定"]},{settingId:"subtab-site-packs-updates",title:"更新与安装",keywords:["updates","check updates","registry","在线适配库","更新与安装","检查更新","适配包更新"]},{settingId:"subtab-backup-local",title:"本地备份",keywords:["local backup","export","import","本地备份","备份导出","备份导入","恢复"]},{settingId:"subtab-backup-webdav",title:"WebDAV 同步",keywords:["webdav","cloud sync","cloud backup","webdav 同步","云端同步","坚果云","同步设置"]},...Ro,{settingId:"tab-notification-sound-preset",title:"提示音音效预设",keywords:["notification sound preset","preset","sound","音效","预设","提示音"]},{settingId:"tab-notification-repeat-count",title:"提示音重复播放次数",keywords:["notification repeat count","repeat","重复播放","播放次数"]},{settingId:"tab-notification-repeat-interval",title:"提示音重复间隔时间",keywords:["notification repeat interval","interval","重复间隔","播放间隔"]},{settingId:"export-default-format",title:"默认导出格式",keywords:["export default format","markdown","html","txt","json","导出格式","默认格式"]},{settingId:"export-style",title:"导出样式风格",keywords:["export style","theme","bubble","document","导出样式","对话气泡","纯文档风格"]},{settingId:"export-show-index",title:"导出包含序号",keywords:["export show index","message index","序号","消息序号","楼层号"]},{settingId:"export-show-dialog",title:"导出前显示预览对话框",keywords:["export show dialog","preview dialog","导出预览","确认弹窗"]},{settingId:"export-markdown-divider",title:"Markdown 分隔线标记",keywords:["export markdown divider","divider","hr","分隔线","分割线"]},{settingId:"layout-clean-mode-enabled",title:"开启净化模式",keywords:["clean mode","distraction free","净化模式","去杂质","纯净模式"]},{settingId:"layout-auto-hide-input-enabled",title:"开启自动隐藏输入框",keywords:["auto hide input","collapse input","自动隐藏","折叠输入框","闲置隐藏"]},{settingId:"chatgpt-code-block-batch-mount",title:"ChatGPT 代码块批量挂载优化",keywords:["chatgpt","code block","batch mount","代码块","挂载","性能优化"]},{settingId:"chatgpt-streaming-render-optimize",title:"ChatGPT 流式渲染性能优化",keywords:["chatgpt","streaming render","optimize","流式渲染","性能优化","卡顿"]},{settingId:"chatgpt-disable-backdrop-blur",title:"ChatGPT 禁用背景毛玻璃模糊",keywords:["chatgpt","backdrop blur","毛玻璃","模糊","背景模糊","掉帧"]},{settingId:"site-packs-local-import",title:"导入本地适配包",keywords:["import site pack","local pack","zip","json","导入适配包","本地导入","安装包"]},{settingId:"remote-config-status",title:"适配配置更新状态",keywords:["remote config status","adapter version","适配配置","更新状态","版本检查"]},{settingId:"remote-config-local-patch-import",title:"导入本地适配补丁",keywords:["import patch","local patch","适配补丁","热修复补丁","导入补丁"]},{settingId:"permission-item-storage",title:"存储权限",keywords:["storage permission","存储","存储权限","必须权限"]},{settingId:"permission-item-notifications",title:"通知权限",keywords:["notifications permission","通知","桌面通知","消息提示权限"]},{settingId:"permission-item-cookies",title:"Cookie 权限",keywords:["cookies permission","cookie","凭据权限","账号权限"]},{settingId:"permission-item-webdav",title:"WebDAV 跨域访问权限",keywords:["webdav permission","all urls","webdav 权限","云同步权限","网络请求权限"]},{settingId:"backup-webdav-provider",title:"WebDAV 服务商预设",keywords:["webdav provider","jianguoyun","坚果云","服务商","webdav 预设"]},{settingId:"backup-webdav-url",title:"WebDAV 服务器地址",keywords:["webdav address","url","server","服务器地址","网盘地址","坚果云地址"]},{settingId:"backup-webdav-username",title:"WebDAV 用户名",keywords:["webdav username","account","用户名","账号","登录名"]},{settingId:"backup-webdav-password",title:"WebDAV 授权密码",keywords:["webdav password","token","密码","应用密码","授权码"]},{settingId:"backup-webdav-dir",title:"WebDAV 备份存储目录",keywords:["webdav dir","directory","folder","存储目录","备份目录","文件夹"]},{settingId:"remote-config-registry-source",title:"开发 Registry 源",keywords:["registry source","remote config","适配仓库源","自定义源","注册表"]}],Do=Object.entries(No).reduce((e,[t,n])=>(e[n]||(e[n]=[]),e[n].push(t),e),{}),zo=e=>e.trim().toLowerCase(),_o=(e,t)=>{const n=zo(e),r=(e=>zo(e).split(" ").map(e=>e.trim()).filter(e=>e.length>0))(n);return Oo.map((e,t)=>{const o=zo(e.title),i=zo((e.keywords||[]).join(" ")),a=zo(e.settingId),s=zo((Do[e.settingId]||[]).join(" ")),l=`${o} ${i} ${a} ${s}`;if(r.some(e=>!l.includes(e)))return null;let c=0;return n?(o===n&&(c+=200),o.startsWith(n)&&(c+=120),o.includes(n)&&(c+=80),i.includes(n)&&(c+=70),a.includes(n)&&(c+=60),s.includes(n)&&(c+=50),r.forEach(e=>{o.startsWith(e)&&(c+=16),o.includes(e)&&(c+=8),i.includes(e)&&(c+=6),a.includes(e)&&(c+=5),s.includes(e)&&(c+=4);}),c+=Math.max(0,24-Math.min(24,o.length))):c=1e3-t,{item:e,score:c,index:t}}).filter(e=>!!e).sort((e,t)=>t.score!==e.score?t.score-e.score:e.index-t.index).map(({item:e})=>e)},Bo={[Yr]:{label:"tabPrompts",icon:"✏️",IconComponent:xt},[Xr]:{label:"tabConversations",icon:"💬",IconComponent:St},[Zr]:{label:"tabOutline",icon:"📑",IconComponent:yt}},Ho={scrollTop:{icon:"⬆",labelKey:"scrollTop",canToggle:true,isPanelOnly:false,hideWhenPanelOpen:true,IconComponent:At},panel:{icon:"✨",labelKey:"panelTitle",canToggle:false,isPanelOnly:true,IconComponent:Ln},floatingToolbar:{icon:"🧰",labelKey:"tools",canToggle:true,isPanelOnly:false,IconComponent:({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("ellipse",{cx:"12",cy:"12",rx:"10",ry:"4",stroke:"currentColor",strokeWidth:"1.5",transform:"rotate(0 12 12)"}), at("ellipse",{cx:"12",cy:"12",rx:"10",ry:"4",stroke:"currentColor",strokeWidth:"1.5",transform:"rotate(60 12 12)"}), at("ellipse",{cx:"12",cy:"12",rx:"10",ry:"4",stroke:"currentColor",strokeWidth:"1.5",transform:"rotate(120 12 12)"}), at("circle",{cx:"12",cy:"12",r:"3",fill:"currentColor",stroke:"none"})]})},globalSearch:{icon:"🔎",labelKey:"navGlobalSearch",canToggle:true,isPanelOnly:false,IconComponent:Mn},anchor:{icon:"⚓",canToggle:true,labelKey:"showCollapsedAnchorLabel",isPanelOnly:false,hideWhenPanelOpen:true,IconComponent:ut},theme:{icon:"☀",labelKey:"showCollapsedThemeLabel",canToggle:true,isPanelOnly:false,IconComponent:dt},manualAnchor:{icon:"📍",labelKey:"manualAnchorLabel",canToggle:true,isPanelOnly:false,isGroup:true,IconComponent:({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{viewBox:"0 0 24 24",width:e,height:e,fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,style:{display:"block"},children:[ at("path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"}), at("line",{x1:"12",y1:"7",x2:"12",y2:"13"}), at("line",{x1:"9",y1:"10",x2:"15",y2:"10"})]})},scrollBottom:{icon:"⬇",labelKey:"scrollBottom",canToggle:true,isPanelOnly:false,hideWhenPanelOpen:true,IconComponent:Pt},zenMode:{icon:"🧘",labelKey:"zenModeTitle",canToggle:true,isPanelOnly:false,IconComponent:wn},settings:{icon:"⚙️",labelKey:"tabSettings",canToggle:true,isPanelOnly:false,IconComponent:ft}},qo=["📁","📂","📥","🗂️","📊","📈","📉","📋","💼","📅","📌","📎","📝","✒️","🔍","💡","💻","⌨️","🖥️","🖱️","🐛","🔧","🔨","⚙️","🤖","👾","🧠","⚡","🔥","✨","🎓","📚","🎨","🎭","🎬","🎹","🎵","📷","🖌️","🖍️","🏠","🛒","✈️","🎮","⚽","🍔","☕","❤️","🔴","🟠","🟡","🟢","🔵","🟣","⚫","⚪","⭐","🌟","🎉","🔒","🔑","🚫","✅","❓"],Fo=["#FF461F","#FF6B6B","#FA8072","#DC143C","#CD5C5C","#FF4500","#FFA500","#FFB347","#F0E68C","#DAA520","#FFD700","#9ACD32","#32CD32","#3CB371","#20B2AA","#00CED1","#5F9EA0","#4682B4","#6495ED","#4169E1","#0000CD","#8A2BE2","#9370DB","#BA55D3","#DB7093","#C71585","#8B4513","#A0522D","#708090","#2F4F4F"],Uo=1500,jo=2e3,Wo=3e3,Vo="#10b981",Ko="#ef4444",Go="var(--gh-text-secondary)",Qo=[{id:"default",labelKey:"notificationSoundPresetDefault",fallback:"Default"},{id:"softChime",labelKey:"notificationSoundPresetSoftChime",fallback:"Soft Chime"},{id:"glassPing",labelKey:"notificationSoundPresetGlassPing",fallback:"Glass Ping"},{id:"brightAlert",labelKey:"notificationSoundPresetBrightAlert",fallback:"Bright Alert"}],Yo="__all__",Zo="__recent__",Xo="export",Jo="move",ei="setTag",ti="scrollLock",ni="modelLock",ri="cleanup",oi="settings",ii=[{id:Xo,labelKey:"export",defaultLabel:"Export",IconComponent:Tt,defaultVisible:true},{id:Jo,labelKey:"conversationsMoveTo",defaultLabel:"Move",IconComponent:gt,defaultVisible:true},{id:ei,labelKey:"conversationsSetTag",defaultLabel:"Set Tag",IconComponent:hn,defaultVisible:true},{id:ti,labelKey:"shortcutToggleScrollLock",defaultLabel:"Scroll Lock",IconComponent:({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,children:[ at("path",{d:"M12 3v12"}), at("path",{d:"m8 11 4 4 4-4"}), at("path",{d:"M19 19H5"}), at("circle",{cx:"12",cy:"11",r:"9",strokeOpacity:"0.3"}), at("path",{d:"m4.9 4.9 14.2 14.2"})]}),isToggle:true,defaultVisible:true},{id:ni,labelKey:"modelLockTitle",defaultLabel:"Model Lock",IconComponent:({size:e=18,color:t="currentColor",className:n=""})=>st("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:n,children:[ at("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"}), at("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}), at("circle",{cx:"9",cy:"15",r:"1.5",fill:t,stroke:"none"}), at("circle",{cx:"15",cy:"15",r:"1.5",fill:t,stroke:"none"}), at("path",{d:"M9 19h6"})]}),isToggle:true,defaultVisible:true},{id:ri,labelKey:"cleanup",defaultLabel:"Cleanup",IconComponent:dn,isDanger:true,defaultVisible:true},{id:oi,labelKey:"tabSettings",defaultLabel:"Settings",IconComponent:ft,isSystem:true,defaultVisible:true}];function ai(){return ii.filter(e=>e.defaultVisible).map(e=>e.id)}const si="data-ophel-managed-tab-title",li="data-ophel-stale-managed-tab-title",ci=/\{(?:status|title|model|site)\}/g,di="{model}",hi={"(":")","[":"]","{":"}","<":">","(":")","【":"】","《":"》","「":"」","『":"』"};function ui(e){const t=e?.replace(/\s+/g," ").trim();return t||null}function gi(){"undefined"!=typeof document&&document.documentElement?.removeAttribute(si);}function pi(){return "undefined"==typeof document?null:document.documentElement?.getAttribute(si)||null}function mi(){"undefined"!=typeof document&&document.documentElement?.removeAttribute(li);}function fi(e,t={}){const n=ui(e);if(!n)return null;const r=ui(t.expectedManagedTitle),o=ui(t.privacyTitle),i=ui(t.siteName),a=function(e,t){const n=ui(t),r=ui(pi());return Boolean(n&&e===n)||Boolean(r&&e===r)}(n,r),s=a||true===t.hasManagedTitleSignal;if(o&&n===o)return null;const l=function(e,t){let n=e,r=t.hasManagedSignal;r&&/^(?:[⏳✅]\s*)+/u.test(n)&&(n=n.replace(/^(?:[⏳✅]\s*)+/u,""));const o=function(e,t){const n=t.titleFormat||"";if(!n.includes("{title}"))return null;const r=function(e,t){const n=[e],r=vi(e);r!==e&&n.push(r);const o=[];return n.forEach(e=>{const n=function(e,t){const n=/\{(status|title|model|site)\}/g;let r="^\\s*",o=0,i=false,a=0;for(const s of e.matchAll(n)){r+=ki(e.slice(o,s.index));const n=s[1];if("title"===n)r+=i?"[\\s\\S]*?":"(?[\\s\\S]+?)",i=true;else if("status"===n)r+=`(?(?:[⏳✅]\\s*)*)`,a+=1;else if("model"===n)r+=`(?\\[[^\\]]{1,160}\\])?`,a+=1;else if("site"===n){const e=ui(t);r+=e?`(?${ki(e)})`:`(?[\\s\\S]*?)`,a+=1;}o=s.index+s[0].length;}if(r+=ki(e.slice(o)),r+="\\s*$",!i)return null;try{return new RegExp(r,"u")}catch{return null}}(e,t);n&&o.push(n);}),o}(n,t.siteName);if(0===r.length)return null;let o=e,i=false,a=t.hasManagedSignal;for(let s=0;s<20;s+=1){const e=xi(o,r);if(!e)break;if(!a&&!e.hasManagedSignal)break;if(!e.title||e.title===o)break;o=e.title,i=true,a=true;}return i?ui(o):null}(n,{hasManagedSignal:r,siteName:t.siteName,titleFormat:t.titleFormat});o&&o!==n&&(n=o,r=true);return ui(n)}(n,{hasManagedSignal:s,siteName:t.siteName,titleFormat:t.titleFormat});return l?i&&l===i&&l!==n&&a||o&&l===o?null:l:null}function bi(e,t={}){const n=ui(e);if(!n)return null;if(t.rejectManagedTitle&&function(e,t){const n=ui(t),r=ui("undefined"==typeof document?null:document.documentElement?.getAttribute(li)||null);return Boolean(n&&e===n)||Boolean(r&&e===r)}(n,t.expectedManagedTitle))return null;const r=fi(e,t);if(!r)return null;const o=ui(t.siteName);if(o&&r===o)return null;return ui(o?r.replace(new RegExp(`\\s*[-|]\\s*${Si(o)}$`,"i"),"").replace(new RegExp(`^${Si(o)}\\s*(?:\\||-(?!\\s*>))\\s*`,"i"),"").trim():r)}function vi(e){let t=e;for(;t.includes(di);){const e=yi(t);if(e===t)return t.replace(/\{model\}/g,"");t=e;}return t}function yi(e){const t=Array.from(e.matchAll(ci)),n=t.findIndex(e=>e[0]===di&&void 0!==e.index);if(n<0)return e;const r=t[n-1],o=t[n+1],i=t[n],a=i.index??0,s=a+i[0].length,l=void 0!==r?.index?r.index+r[0].length:0,c=o?.index??e.length,d=r&&o&&"{status}"!==r[0]&&"{status}"!==o[0]?function(e,t){const n=function(e,t){const n=e.match(/^(.*?)([\[({<(【《「『])\s*$/u),r=t.match(/^\s*([\])}>)】》」』])(.*)$/u);if(!n||!r)return null;const o=n[2],i=r[1];return hi[o]!==i?null:`${n[1]}${r[2]}`}(e,t);if(null!==n)return n;const r=wi(e),o=wi(t);return r&&!o?t:!r&&o||e.trim()&&e.trim()===t.trim()?e:e.trim()?(t.trim(),e):t}(e.slice(l,a),e.slice(s,c)):"";return `${e.slice(0,l)}${d}${e.slice(c)}`}function wi(e){return /[\p{L}\p{N}]/u.test(e)}function xi(e,t){for(const n of t){const t=n.exec(e),r=ui(t?.groups?.ophelTitle);if(t&&r)return {title:r,hasManagedSignal:false}}return null}function ki(e){return Si(e).replace(/\s+/g,"\\s+")}function Si(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Ci={MAX_DEPTH:15,DEFAULT_TIMEOUT:5e3,POLL_INTERVAL:50,CACHE_TTL:3e5},Ti={ELEMENT:1,DOCUMENT:9,FRAGMENT:11},Ei=["keydown","keypress","keyup"],Ii="data-ophel-interaction-layer",Mi={[Ii]:"true"},Ni="data-ophel-hover-width-retain-layer",Ai={...Mi,[Ni]:"true"},Pi=".quick-menu-popover",Li=[".gh-dialog-overlay",".conversations-dialog-overlay",".conversations-folder-menu",".conversations-tag-filter-menu",".prompt-modal",".prompt-preview-modal",".import-dialog",".settings-modal-overlay",".settings-search-overlay",Pi],Ri=[`[${Ii}="true"]`,...Li].join(", "),$i=[`[${Ii}="true"]:not(${Pi})`,...Li.filter(e=>e!==Pi)].join(", "),Oi=[`[${Ni}="true"]`,".gh-dialog-overlay",".conversations-dialog-overlay",".conversations-folder-menu",".conversations-tag-filter-menu",".prompt-modal",".gh-prompt-preview-overlay",".prompt-preview-modal",".import-dialog",".quick-menu-popover",".gh-release-notes-overlay"].join(", "),Di=(e,t)=>(t??("undefined"!=typeof document&&document.body?[document.body]:[])).some(t=>Boolean(t.querySelector(e))),zi=e=>Di(Ri,e),_i=e=>e instanceof HTMLElement&&("INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||e.isContentEditable||"true"===e.getAttribute("contenteditable")||e.classList.contains("ProseMirror")),Bi=(e,t={})=>{const{events:n=Ei,capture:r=true}=t,o=e=>{(e=>{const t=("function"==typeof e.composedPath?e.composedPath():[]).find(e=>e instanceof HTMLElement)||null;return _i(t)?t:_i(e.target)?e.target:null})(e)&&(e.stopPropagation(),e.stopImmediatePropagation());};return n.forEach(t=>{e.addEventListener(t,o,r);}),()=>{n.forEach(t=>{e.removeEventListener(t,o,r);});}},Hi={isValidContext:e=>null!==e&&Object.values(Ti).includes(e.nodeType),isVisible:e=>e&&null!==e.offsetParent,isConnected:e=>e&&e.isConnected,createCleanupManager(){const e=new Set;return {add:t=>(e.add(t),()=>e.delete(t)),execute(){e.forEach(e=>{try{e();}catch(t){console.error("[DOMToolkit] Cleanup error:",t);}}),e.clear();},get size(){return e.size}}}};class qi{enabled=true;ttl;store=new WeakMap;timestamps=new WeakMap;constructor(e=Ci.CACHE_TTL){this.ttl=e;}setEnabled(e){this.enabled=e;}get(e,t){if(!this.enabled)return null;const n=this.store.get(e),r=this.timestamps.get(e);if(!n||!r)return null;const o=n.get(t);if(!o)return null;const i=r.get(t);return i&&Date.now()-i>this.ttl?(n.delete(t),r.delete(t),null):Hi.isConnected(o)?o:(n.delete(t),r.delete(t),null)}set(e,t,n){if(!this.enabled||!n)return;let r=this.store.get(e),o=this.timestamps.get(e);r||(r=new Map,this.store.set(e,r)),o||(o=new Map,this.timestamps.set(e,o)),r.set(t,n),o.set(t,Date.now());}clear(){this.store=new WeakMap,this.timestamps=new WeakMap;}}class Fi{observers=new Map;getSharedObserver(e){if(!this.observers.has(e)){const t=new Set,n=new MutationObserver(e=>{for(const n of e)for(const e of n.addedNodes)e.nodeType===Ti.ELEMENT&&t.forEach(t=>{try{t(e,n);}catch(r){console.error("[DOMToolkit] Observer callback error:",r);}});});n.observe(e,{childList:true,subtree:true}),this.observers.set(e,{observer:n,callbacks:t,refCount:0});}const t=this.observers.get(e);return t.refCount++,{addCallback:e=>t.callbacks.add(e),removeCallback:n=>{t.callbacks.delete(n),t.refCount--,0===t.refCount&&(t.observer.disconnect(),this.observers.delete(e));}}}destroy(){this.observers.forEach(({observer:e})=>e.disconnect()),this.observers.clear();}}const Ui=new class{cache;observerManager;doc;constructor(){this.doc=document,this.cache=new qi,this.observerManager=new Fi;}configCache(e={}){"boolean"==typeof e.enabled&&this.cache.setEnabled(e.enabled);}clearCache(){this.cache.clear();}getComposedParent(e){if(!e)return null;if(e instanceof ShadowRoot)return e.host;if(e instanceof Element&&e.assignedSlot)return e.assignedSlot;if(e.parentNode)return e.parentNode;const t=e.getRootNode?.();return t instanceof ShadowRoot?t.host:null}getComposedParentElement(e){let t=this.getComposedParent(e);for(;t;){if(t instanceof HTMLElement)return t;t=this.getComposedParent(t);}return null}closestComposed(e,t){let n=e;for(;n;){if(n instanceof HTMLElement)try{if(n.matches(t))return n}catch{return null}n=this.getComposedParent(n);}return null}query(e,t={}){const{parent:n=this.doc,all:r=false,shadow:o=false,maxDepth:i=Ci.MAX_DEPTH,useCache:a=true,filter:s=null}=t,l=Array.isArray(e)?e:[e],c=a&&!s;if(!r&&c&&1===l.length){const e=this.cache.get(n,l[0]);if(e)return e}for(const d of l)try{if(r){const e=Array.from(n.querySelectorAll(d)),t=s?e.filter(s):[...e];if(o&&this.collectInShadow(n,d,t,0,i,s,new Set(t)),t.length>0)return t}else {const e=n.querySelectorAll(d);for(const t of e)if(!s||s(t))return c&&this.cache.set(n,d,t),t}}catch{}if(o&&!r){const e=this.findInShadow(n,l,0,i,s);return e&&c&&1===l.length&&this.cache.set(n,l[0],e),e}return r?[]:null}findInShadow(e,t,n,r,o){if(n>r)return null;if(e!==this.doc&&e.querySelectorAll)for(const a of t)try{const t=e.querySelectorAll(a);for(const e of t)if(!o||o(e))return e}catch{}const i=e.querySelectorAll?e.querySelectorAll("*"):[];for(const a of i)if(a.shadowRoot){const e=this.findInShadow(a.shadowRoot,t,n+1,r,o);if(e)return e}return null}collectInShadow(e,t,n,r,o,i,a){if(r>o)return;if(e!==this.doc&&e.querySelectorAll)try{const r=e.querySelectorAll(t);for(const e of r)a.has(e)||i&&!i(e)||(a.add(e),n.push(e));}catch{}const s=e.querySelectorAll?e.querySelectorAll("*"):[];for(const l of s)l.shadowRoot&&this.collectInShadow(l.shadowRoot,t,n,r+1,o,i,a);}async get(e,t={}){const{parent:n=this.doc,timeout:r=Ci.DEFAULT_TIMEOUT,shadow:o=false,filter:i=null}=t,a=this.query(e,{parent:n,shadow:o,filter:i});return a&&!Array.isArray(a)?a:new Promise(t=>{const a=Hi.createCleanupManager(),s=Date.now();let l;r>0&&(l=setTimeout(()=>{a.execute(),t(null);},r),a.add(()=>clearTimeout(l)));const c=()=>{if(r>0&&Date.now()-s>=r)return;const l=this.query(e,{parent:n,shadow:o,filter:i});if(l&&!Array.isArray(l))return a.execute(),void t(l);const d=setTimeout(c,Ci.POLL_INTERVAL);a.add(()=>clearTimeout(d));},d=Array.isArray(e)?e:[e],h=this.observerManager.getSharedObserver(n),u=e=>{for(const n of d)try{if(e.matches?.(n)&&(!i||i(e)))return a.execute(),void t(e);if(e.querySelectorAll){const r=e.querySelectorAll(n);for(const e of r)if(!i||i(e))return a.execute(),void t(e)}}catch{}};h.addCallback(u),a.add(()=>h.removeCallback(u)),c();})}each(e,t,n={}){const{parent:r=this.doc,shadow:o=false}=n;if("function"!=typeof t)return console.error("[DOMToolkit] each: callback must be a function"),()=>{};const i=new WeakSet;let a=true;const s=(e,n)=>{if(a&&!i.has(e)){i.add(e);try{!1===t(e,n)&&d();}catch(r){console.error("[DOMToolkit] each callback error:",r),d();}}};this.query(e,{parent:r,all:true,shadow:o}).forEach(e=>s(e,false));const l=this.observerManager.getSharedObserver(r),c=t=>{if(a)try{t.matches?.(e)&&s(t,!0),t.querySelectorAll&&t.querySelectorAll(e).forEach(e=>s(e,!0));}catch{}};l.addCallback(c);const d=()=>{a&&(a=false,l.removeCallback(c));};return d}watch(e,t,n={}){const{debounce:r=0,childList:o=true,attributes:i=true,characterData:a=false,subtree:s=false,attributeFilter:l}=n;if(!Hi.isValidContext(e))return console.error("[DOMToolkit] watch: invalid element"),()=>{};let c=null;const d=new MutationObserver((e,n)=>{if(r>0)c&&clearTimeout(c),c=setTimeout(()=>{try{t(e,n);}catch(r){console.error("[DOMToolkit] watch callback error:",r);}},r);else try{t(e,n);}catch(o){console.error("[DOMToolkit] watch callback error:",o);}});return d.observe(e,{childList:o,attributes:i,characterData:a,subtree:s,attributeFilter:l}),()=>{c&&clearTimeout(c),d.disconnect();}}watchMultiple(e,t={}){const{debounce:n=0,characterData:r=true,childList:o=true,attributes:i=false}=t;if(!Hi.isValidContext(e))return console.error("[DOMToolkit] watchMultiple: invalid container"),{add:()=>{},remove:()=>{},stop:()=>{}};const a=new Map;let s=null;const l=new Set,c=()=>{l.forEach(e=>{const t=a.get(e);if(t)try{t(e);}catch(n){console.error("[DOMToolkit] watchMultiple callback error:",n);}}),l.clear();},d=new MutationObserver(t=>{for(const n of t){let t=n.target;for(;t&&t!==e;){if(a.has(t)){l.add(t);break}t=t.parentNode;}}0!==l.size&&(n>0?(s&&clearTimeout(s),s=setTimeout(c,n)):c());});return d.observe(e,{characterData:r,childList:o,attributes:i,subtree:true}),{add:(e,t)=>a.set(e,t),remove:e=>a.delete(e),stop:()=>{s&&clearTimeout(s),d.disconnect(),a.clear();}}}on(e,t,n,r={}){const{parent:o=this.doc,capture:i=false}=r,a=e=>{const r=e.composedPath?e.composedPath():[e.target];for(const i of r){if(i===o||i===window)break;try{if(i.matches?.(t))return void n(e,i)}catch{}}try{const r=e.target.closest?.(t);r&&o.contains(r)&&n(e,r);}catch{}};return o.addEventListener(e,a,i),()=>o.removeEventListener(e,a,i)}create(e,t={},n=""){const r=this.doc.createElement(e);for(const[o,i]of Object.entries(t))"className"===o?r.className=i:"style"===o&&"object"==typeof i?Object.assign(r.style,i):"style"===o?r.setAttribute("style",i):"dataset"===o&&"object"==typeof i?Object.assign(r.dataset,i):o.startsWith("on")&&"function"==typeof i?r.addEventListener(o.slice(2).toLowerCase(),i):r.setAttribute(o,i);return n&&(r.textContent=n),r}createFromHTML(e,t={}){const{parent:n=null,mapIds:r=false}=t,o=this.doc.createElement("template");o.innerHTML=e.trim();const i=o.content.firstElementChild;if(!i)return null;if(n instanceof Element&&n.appendChild(i),r){const e={root:i};return i.id&&(e[i.id]=i),i.querySelectorAll("[id]").forEach(t=>{t.id&&(e[t.id]=t);}),e}return i}clear(e){for(;e.firstChild;)e.removeChild(e.firstChild);}css(e,t=null){if(t){const n=this.doc.getElementById(t);if(n)return n.textContent!==e&&(n.textContent=e),n}const n=this.doc.createElement("style");return t&&(n.id=t),n.textContent=e,this.doc.head.appendChild(n),n}cssToShadow(e,t,n=null){if(!e)return null;try{if(n){const r=e.getElementById(n);if(r)return r.textContent!==t&&(r.textContent=t),r}const r=this.doc.createElement("style");return n&&(r.id=n),r.textContent=t,e.appendChild(r),r}catch{return null}}cssToAllShadows(e,t,n={}){const{root:r=this.doc.body,filter:o=null}=n;if(!r)return 0;let i=0;const a=n=>{if(n.shadowRoot){if(o&&!o(n));else try{this.cssToShadow(n.shadowRoot,e,t),i++;}catch{}try{a(n.shadowRoot);}catch{}}const r=n.childNodes;for(let e=0;e{if(n>r)return;if(t.shadowRoot){try{e(t.shadowRoot,t);}catch(a){console.error("[DOMToolkit] walkShadowRoots callback error:",a);}try{o(t.shadowRoot,n+1);}catch{}}const i=t.childNodes;for(let e=0;ee.clientHeight)return e}const o=(e,t)=>{if(t>Ci.MAX_DEPTH)return null;const n=e.querySelectorAll?e.querySelectorAll("*"):[];for(const i of n){if(i.scrollHeight>i.clientHeight+r){const e=window.getComputedStyle(i);if("auto"===e.overflowY||"scroll"===e.overflowY||"auto"===e.overflow||"scroll"===e.overflow)return i}if(i.shadowRoot){const e=o(i.shadowRoot,t+1);if(e)return e}}return null},i=o(t,0);return i||(this.doc.documentElement.scrollHeight>this.doc.documentElement.clientHeight?this.doc.documentElement:this.doc.body)}destroy(){this.observerManager.destroy(),this.cache.clear();}},ji="https://cdn.jsdelivr.net/npm/katex@0.16.44/dist/fonts",Wi=e=>e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),Vi=()=>{const e=globalThis.katex;return e&&"function"==typeof e.renderToString?e:null},Ki=()=>{try{const e=GM_getResourceText("ophelKatexCss");return e?(e=>e.replace(/url\((['"]?)(?!data:|https?:|\/)([^)'"]+)\1\)/g,(e,t,n)=>{const r=String(n).replace(/^\.?\//,"");return `url(${t}${r.startsWith("fonts/")?`${ji}/${r.slice(6)}`:`${ji}/${r}`}${t})`}))(e):""}catch(e){return console.warn("[Ophel] Failed to load KaTeX CSS resource:",e),""}},Gi=(e,t,n)=>{const r=n?"div":"span";return `<${r} class="${n?"math-block gh-rendered-math":"math-inline gh-rendered-math"}" data-math="${Wi(e)}">${t}`},Qi={async get(e){const t=GM_getValue(e);if(null!=t)return t},async set(e,t){GM_setValue(e,t);},async remove(e){GM_deleteValue(e);},watch(e,t){const n=GM_addValueChangeListener(e,(e,n,r,o)=>{t(r,n);});return ()=>GM_removeValueChangeListener(n)}},Yi={type:"userscript",storage:Qi,math:{renderKatexToString:(e,{displayMode:t})=>{const n=e.replace(/\r\n?/g,"\n").trim(),r=Vi();if(!r){return Gi(n,`${Wi(t?`$$\n${n}\n$$`:`$${n}$`)}`,t)}try{const e=r.renderToString(n,{displayMode:t,output:"htmlAndMathml",throwOnError:!1,strict:"ignore",trust:!1});return Gi(n,e,t)}catch{return Gi(n,`${Wi(t?`$$\n${n}\n$$`:`$${n}$`)}`,t)}},renderKatexToMathML:(e,{displayMode:t})=>{const n=e.replace(/\r\n?/g,"\n").trim(),r=Vi();if(!r)return Gi(n,`${Wi(n)}`,t);try{const e=r.renderToString(n,{displayMode:t,output:"mathml",throwOnError:!1,strict:"ignore",trust:!1});return Gi(n,e,t)}catch{return Gi(n,`${Wi(n)}`,t)}},getKatexStylesText:async()=>Ki()},remoteConfig:{async getState(){const{getUserscriptRemoteConfigState:e}=await o(async()=>{const{getUserscriptRemoteConfigState:e}=await Promise.resolve().then(()=>Rf);return {getUserscriptRemoteConfigState:e}},void 0);return e()},async checkForUpdates(e){const{checkUserscriptRemoteConfigNow:t}=await o(async()=>{const{checkUserscriptRemoteConfigNow:e}=await Promise.resolve().then(()=>Rf);return {checkUserscriptRemoteConfigNow:e}},void 0);return t(e?.sources)},async resetSite(e,t){const{resetUserscriptRemotePatch:n}=await o(async()=>{const{resetUserscriptRemotePatch:e}=await Promise.resolve().then(()=>Rf);return {resetUserscriptRemotePatch:e}},void 0);return n(e,t)},async installLocalPatch(e,t){const{installUserscriptLocalRemotePatch:n}=await o(async()=>{const{installUserscriptLocalRemotePatch:e}=await Promise.resolve().then(()=>Rf);return {installUserscriptLocalRemotePatch:e}},void 0);return n(e,t)},async removeLocalPatch(e){const{removeUserscriptLocalRemotePatch:t}=await o(async()=>{const{removeUserscriptLocalRemotePatch:e}=await Promise.resolve().then(()=>Rf);return {removeUserscriptLocalRemotePatch:e}},void 0);return t(e)},async clearCache(){const{clearUserscriptRemoteConfigCache:e}=await o(async()=>{const{clearUserscriptRemoteConfigCache:e}=await Promise.resolve().then(()=>Rf);return {clearUserscriptRemoteConfigCache:e}},void 0);return e()}},sitePacks:{ensureOrigins:async()=>"unsupported",ensureBindingOrigin:async()=>"unsupported",reconcile:async()=>({activeOrigins:[],missingPermissionOrigins:[],originReferences:[],bindingIssues:[]})},fetch:async(e,t)=>new Promise((n,r)=>{GM_xmlhttpRequest({url:e,method:t?.method||"GET",headers:t?.headers,data:t?.body,responseType:"text",onload(r){const o=r.status>=200&&r.status<300,i=e=>{const t=r.responseHeaders?.match(new RegExp(`^${e}:\\s*(.+?)\\s*$`,"im"));return t?.[1]||void 0};n({ok:o,status:r.status,statusText:r.statusText,contentType:i("content-type"),contentDisposition:i("content-disposition"),text:async()=>r.responseText,json:async()=>JSON.parse(r.responseText),blob:async()=>new Promise((n,r)=>{GM_xmlhttpRequest({url:e,method:t?.method||"GET",headers:t?.headers,responseType:"blob",onload(e){n(e.response);},onerror:r});})});},onerror(e){r(e);}});}),notify(e){GM_notification({title:e.title,text:e.message,timeout:e.timeout??5e3,silent:e.silent??true,onclick:()=>{window.focus();}});},getNotificationSoundUrl:e=>window.__OPHEL_NOTIFICATION_SOUND_URLS__?.[e],focusWindow(){window.focus();},openTab(e){window.open(e,"_blank");},hasCapability:e=>!["cookies","permissions","tabs","declarativeNetRequest","commands"].includes(e),async getClaudeSessionKey(){if(!location.hostname.endsWith("claude.ai"))return {success:false,error:ie("claudeNotOnSiteHint")};const e=document.cookie.match(/sessionKey=([^;]+)/);return e&&e[1]?{success:true,sessionKey:decodeURIComponent(e[1])}:{success:false,error:ie("claudeNoCookieFound")}},testClaudeSessionKey:async e=>new Promise(t=>{GM_xmlhttpRequest({url:"https://claude.ai/api/organizations",method:"GET",headers:{Accept:"application/json",Cookie:`sessionKey=${e}`},onload(e){try{if(200!==e.status)return void t({success:!0,isValid:!1,error:`HTTP ${e.status}`});const n=e.responseText;if(n.toLowerCase().includes("unauthorized"))return void t({success:!0,isValid:!1,error:"Unauthorized"});const r=JSON.parse(n);if(!Array.isArray(r)||0===r.length)return void t({success:!0,isValid:!1,error:"No organizations"});const o=r[0],i=o?.rate_limit_tier,a=o?.capabilities||[],s=o?.api_disabled_reason;let l="Unknown";"default_claude_max_5x"===i?l="Max(5x)":"default_claude_max_20x"===i?l="Max(20x)":"default_claude_ai"===i?l="Free":"auto_api_evaluation"===i?l="out_of_credits"===s?"API(无额度)":"API":a.includes("claude_max")?l="Max":a.includes("api")?l="API":a.includes("chat")&&(l="Free"),t({success:!0,isValid:!0,accountType:l});}catch{t({success:true,isValid:false,error:"Parse error"});}},onerror(){t({success:false,isValid:false,error:"Request failed"});}});}),async setClaudeSessionKey(e){if(!location.hostname.endsWith("claude.ai"))return {success:false,error:ie("claudeNotOnSiteHint")};const t=new Date(Date.now()+31536e6).toUTCString();return document.cookie=`sessionKey=${encodeURIComponent(e)}; domain=.claude.ai; path=/; expires=${t}; secure; samesite=lax`,location.href="https://claude.ai/",{success:true}},async switchNextClaudeKey(){if(!location.hostname.endsWith("claude.ai"))return {success:false,error:ie("claudeNotOnSiteHint")};try{const e=GM_getValue("claudeSessionKeys"),t=e?.state?.keys||[];if(0===t.length)return {success:!1,error:"noClaudeKeys"};const n=e?.state?.currentKeyId;let r=t.filter(e=>!1!==e.isValid);0===r.length&&(r=[...t]),r.sort((e,t)=>{const n=e.accountType?.toLowerCase()?.includes("pro"),r=t.accountType?.toLowerCase()?.includes("pro");return n&&!r?-1:!n&&r?1:e.name.localeCompare(t.name)});const o=r.findIndex(e=>e.id===n);if(1===r.length&&-1!==o)return {success:!1,error:"claudeOnlyOneKey"};let i=0;-1!==o&&(i=(o+1)%r.length);const a=r[i];if(!a)return {success:!1,error:"nextKeyNotFound"};if(a.key){const e=new Date(Date.now()+31536e6).toUTCString();document.cookie=`sessionKey=${encodeURIComponent(a.key)}; domain=.claude.ai; path=/; expires=${e}; secure; samesite=lax`;}return e?.state&&(e.state.currentKeyId=a.id,GM_setValue("claudeSessionKeys",e)),location.href="https://claude.ai/",{success:!0,keyName:a.name}}catch(e){return {success:false,error:e.message}}}};function Zi(){return "userscript"}function Xi(){try{return !0}catch{return console.warn("[Ophel] Failed to get platform type, falling back to runtime detection"),"undefined"!=typeof GM_info}}function Ji(){return function(){if(!Xi())return null;try{return "undefined"==typeof GM_info?null:"string"==typeof GM_info.scriptHandler?GM_info.scriptHandler:null}catch{return null}}()?.toLowerCase().replace(/\s+/g,"").includes("scriptcat")??false}const ea=Object.freeze(Object.defineProperty({__proto__:null,getPlatformType:Zi,isUserscriptPlatform:Xi,platform:Yi},Symbol.toStringTag,{value:"Module"}));function ta(){const e=globalThis.__OphelMarkdownVendor;if(!e||"function"!=typeof e.renderMarkdown)throw new Error("[Ophel] Markdown vendor runtime is missing");return e}const na=(e,t=true,n={})=>ta().renderMarkdown(e,t,n),ra=()=>"undefined"==typeof window?"":window.__OPHEL_MARKDOWN_PREVIEW_STYLES__||"",oa='@font-face {\n font-family: "Inter";\n src: local("Inter"), local("InterVariable");\n font-style: normal;\n font-weight: 100 900;\n unicode-range:\n U+0000-02FF, U+0304, U+0308, U+0329, U+0370-03FF, U+1D00-1DBF, U+1E00-1EFF,\n U+1F00-1FFF, U+0400-052F, U+1C80-1C88, U+2116, U+2DE0-2DFF, U+A640-A69F,\n U+1EA0-1EF9, U+20AB, U+2000-206F, U+20A0-20C0, U+20AC, U+2113, U+2122,\n U+2191, U+2193, U+2212, U+2215, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;\n}',ia=["gh-platform-macos","gh-platform-windows","gh-platform-other"],aa='"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft YaHei", "PingFang SC", "Hiragino Sans SC", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif',sa=`var(--gh-font-family, ${aa})`;function la(){if("undefined"==typeof navigator)return "other";const e=navigator.userAgentData?.platform,t=[navigator.platform,e,navigator.userAgent].filter(Boolean).join(" ").toLowerCase();return /mac|iphone|ipad|ipod/.test(t)?"macos":/win/.test(t)?"windows":"other"}function ca(e=la()){return "macos"===e?'"Inter", "Hiragino Sans SC", "PingFang SC", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Microsoft YaHei", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif':aa}function da(e){e.classList.remove(...ia),e.classList.add(function(e=la()){return `gh-platform-${e}`}());}ca();const ha=new Map;function ua(e,t=2e3,n={}){let r=document.body,o=null;const i=document.querySelectorAll("plasmo-csui, #ophel-userscript-root");for(const h of i)if(h.shadowRoot){const e=h.shadowRoot.querySelector(".gh-root, #plasmo-shadow-container, .plasmo-csui-container, #ophel-app-container");if(e){r=e,o=h;break}r=h.shadowRoot,o=h;}const a=r.getRootNode(),s=a instanceof ShadowRoot?a:document.head,l=document.getElementById("gh-toast");l&&l.remove();for(const h of i)if(h.shadowRoot){const e=h.shadowRoot.querySelector("#gh-toast");e&&e.remove();}if(!s.querySelector("#gh-toast-style")){const e=document.createElement("style");e.id="gh-toast-style",e.textContent=`\n${oa}\n .gh-toast {\n position: fixed !important;\n left: 50% !important;\n background: color-mix(in srgb, var(--gh-bg, #ffffff) 90%, transparent) !important;\n color: var(--gh-text, #1f2937) !important;\n border: 1px solid color-mix(in srgb, var(--gh-primary, #6366f1) 20%, var(--gh-border, #d1d5db)) !important;\n padding: 10px 22px !important;\n border-radius: 9999px !important;\n font-size: 14px !important;\n font-weight: 600 !important;\n box-shadow:\n var(--gh-shadow-lg, 0 8px 32px rgba(0, 0, 0, 0.35)),\n 0 0 0 1px inset color-mix(in srgb, var(--gh-primary, #6366f1) 15%, transparent) !important;\n z-index: 2147483646 !important; /* 刚好在一级最高层(禅模式按钮 2147483647)之下 */\n pointer-events: none !important;\n opacity: 0 !important;\n transform: translateY(-20px) translateX(-50%) scale(0.92) !important;\n transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;\n font-family: ${ca()} !important;\n letter-spacing: 0.2px !important;\n backdrop-filter: blur(16px) saturate(160%) !important;\n -webkit-backdrop-filter: blur(16px) saturate(160%) !important;\n max-width: min(calc(100vw - 32px), 480px);\n white-space: nowrap !important;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n }\n .gh-toast.show {\n opacity: 1 !important;\n transform: translateY(0) translateX(-50%) scale(1) !important;\n }\n .gh-toast--outline-nav {\n max-width: 360px !important;\n }\n @media (prefers-reduced-motion: reduce) {\n .gh-toast {\n transition: opacity 0.2s ease !important;\n transform: translateX(-50%) !important;\n }\n .gh-toast.show {\n transform: translateX(-50%) !important;\n }\n }\n `,s.appendChild(e);}const c=document.createElement("div");c.id="gh-toast",c.className="gh-toast";const d=!(!document.getElementById("gh-zen-mode-exit-host")&&!o?.shadowRoot?.querySelector("#gh-zen-mode-exit-host"));c.style.setProperty("top",d?"84px":"32px","important"),n.className&&c.classList.add(n.className),n.maxWidth&&Number.isFinite(n.maxWidth)&&(c.style.maxWidth=`${n.maxWidth}px`),c.textContent=e,r.appendChild(c),requestAnimationFrame(()=>{c.classList.add("show");}),setTimeout(()=>{c.classList.remove("show"),setTimeout(()=>{c.parentNode&&c.parentNode.removeChild(c);},300);},t);}function ga(e,t=2e3,n={},r=1500,o=e){const i=Date.now();i-(ha.get(o)||0)e.replace(/\r\n?/g,"\n"),n=e=>{const t=e?.split(/\r?\n/)[0]?.trim().toLowerCase()||"";return !t||/^(copy|复制)$/.test(t)?"":t.replace(/\s+/g,"")},r=e=>{const n=t(e).replace(/\s*\n\s*/g," ").trim();return n?`$${n}$`:""},o=e=>{const n=t(e).trim();if(!n)return "";return n.includes("\n")||/(^|[^\\])\\\\($|[^\\])/.test(n)?`\n$$\n${n}\n$$\n`:`\n$$${n}$$\n`},i=e=>{const t=e.querySelector('annotation[encoding="application/x-tex"]'),n=t?.textContent?.trim();if(n)return n;const r=e.getAttribute("data-tex")||e.getAttribute("data-latex");if(r)return r.trim();const o=e.getAttribute("aria-label");return o?o.trim():""},a=e=>{if(!e)return "";if(e.nodeType===Node.TEXT_NODE)return e.textContent||"";if(e.nodeType!==Node.ELEMENT_NODE)return "";const t=e,n=t.tagName?.toLowerCase()||"";return "br"===n?"\n":"style"===n||"script"===n||"template"===n||"noscript"===n||"button"===n||"svg"===n||"annotation"===n||"annotation-xml"===n||t.classList?.contains("gh-assistant-mermaid")||t.classList?.contains("katex-mathml")||t.classList?.contains("katex-html")?"":Array.from(t.childNodes).map(a).join("")},s=e=>{const t=e.querySelector("code"),r=t?.className.match(/language-([A-Za-z0-9_#+-]+)/),o=!!e.querySelector("#code-block-viewer, .cm-editor"),i=[e.getAttribute("data-language"),e.querySelector(".cm-content")?.getAttribute("data-language"),r?.[1],e.querySelector(".code-block-decoration span")?.textContent,o?e.querySelector('.sticky [class*="font-medium"]')?.textContent:null];for(const a of i){const e=n(a);if(e)return e}return ""},l=e=>{const n=!!e.querySelector("#code-block-viewer, .cm-editor"),r=e.matches(".cm-content")?e:e.querySelector(".cm-content")??null;if(r){const n=t(a(r)).replace(/\n+$/,"");if(n.trim())return {lang:s(e),code:n}}const o=e.matches("code")?e:e.querySelector("pre code, code")??null;if(o){const n=t(a(o)).replace(/\n+$/,"");if(n.trim())return {lang:s(e),code:n}}if(!n){const n=t(a(e)).replace(/\n+$/,"");if(n.trim())return {lang:s(e),code:n}}return null},c=(e,t)=>Array.from(e.childNodes).map(e=>u(e,t)).join(""),d=(e,t)=>{const n="ol"===e.tagName.toLowerCase(),r=Array.from(e.children).filter(e=>"li"===e.tagName?.toLowerCase()).map((e,r)=>h(e,t,n?r+1:null)).filter(Boolean).join("\n");return r?`\n${r}\n\n`:""},h=(e,n,r)=>{const o=" ".repeat(n),i=null===r?"-":`${r}.`,a=[],s=[];for(const t of Array.from(e.childNodes)){if(t.nodeType===Node.ELEMENT_NODE){const e=t,r=e.tagName.toLowerCase();if("ul"===r||"ol"===r){const t=d(e,n+1).replace(/^\n+|\n+$/g,"");t&&s.push(t);continue}}a.push(u(t,{listDepth:n,inListItem:true}));}const l=(c=a.join(""),t(c).replace(/[ \t]+\n/g,"\n").replace(/\n{3,}/g,"\n\n").trim());var c;let h=l?((e,n,r)=>{const o=t(e).split("\n"),[i="",...a]=o;return 0===a.length?`${n}${i}`:[`${n}${i}`,...a.map(e=>e?`${r}${e}`:"")].join("\n")})(l,`${o}${i} `,`${o} `):`${o}${i}`;return s.length>0&&(h=`${h.trimEnd()}\n${s.join("\n")}`),h},u=(e,t={listDepth:0,inListItem:false})=>{try{if(!e)return "";if(e.nodeType===Node.TEXT_NODE)return e.textContent||"";if(e.nodeType!==Node.ELEMENT_NODE)return "";const n=e;if(n.classList?.contains("gh-assistant-mermaid"))return "";if(n.classList?.contains("math-block")){const e=n.getAttribute("data-math");if(e)return o(e)}if(n.classList?.contains("math-inline")){const e=n.getAttribute("data-math");if(e)return r(e)}if(n.classList?.contains("katex-display")){const e=i(n);if(e)return o(e)}if(n.classList?.contains("katex")){const e=i(n);if(e)return r(e)}if(n.classList?.contains("katex-mathml"))return "";if(n.classList?.contains("katex-html"))return "";if("BUTTON"===n.tagName||"SVG"===n.tagName)return "";if(n.classList?.contains("cm-content")&&n.getAttribute("data-language")){const e=l(n);if(e)return `\n\`\`\`${e.lang}\n${e.code}\n\`\`\`\n`}if(n.classList?.contains("cm-cursorLayer")||n.classList?.contains("cm-selectionLayer")||n.classList?.contains("cm-announced"))return "";const a=n.tagName?.toLowerCase()||"";if(!a)return "";if("annotation"===a||"annotation-xml"===a)return "";if("style"===a||"script"===a||"template"===a||"noscript"===a)return "";if("img"===a){const e=n.alt||n.getAttribute("alt")||ie("exportImageAlt");return `![${e}](${n.getAttribute("src")||n.src||""})`}if("code-block"===a){const e=l(n);if(e)return `\n\`\`\`${e.lang}\n${e.code}\n\`\`\`\n`}if("pre"===a){const e=l(n);if(e)return `\n\`\`\`${e.lang}\n${e.code}\n\`\`\`\n`}if("code"===a)return "pre"===n.parentElement?.tagName.toLowerCase()?"":`\`${n.textContent}\``;if("table"===a){const e=[],t=n.querySelector("thead"),r=n.querySelector("tbody"),o=e=>e.textContent?.trim()||"";if(t){const n=t.querySelector("tr");if(n){const t=Array.from(n.querySelectorAll("td, th")).map(o);t.some(e=>e)&&(e.push("| "+t.join(" | ")+" |"),e.push("| "+t.map(()=>"---").join(" | ")+" |"));}}if(r){r.querySelectorAll("tr").forEach(t=>{const n=Array.from(t.querySelectorAll("td, th")).map(o);n.some(e=>e)&&e.push("| "+n.join(" | ")+" |");});}if(!t&&!r){const t=n.querySelectorAll("tr");let r=!0;t.forEach(t=>{const n=Array.from(t.querySelectorAll("td, th")).map(o);n.some(e=>e)&&(e.push("| "+n.join(" | ")+" |"),r&&(e.push("| "+n.map(()=>"---").join(" | ")+" |"),r=!1));});}return e.length>0?"\n"+e.join("\n")+"\n":""}if("table-block"===a||"ucs-markdown-table"===a){const e=n.querySelector("table");if(e)return u(e)}switch(a){case "h1":return `\n# ${c(n,t)}\n`;case "h2":return `\n## ${c(n,t)}\n`;case "h3":return `\n### ${c(n,t)}\n`;case "h4":return `\n#### ${c(n,t)}\n`;case "h5":return `\n##### ${c(n,t)}\n`;case "h6":return `\n###### ${c(n,t)}\n`;case "strong":case "b":return `**${c(n,t)}**`;case "em":case "i":return `*${c(n,t)}*`;case "a":return `[${c(n,t)}](${n.getAttribute("data-ophel-export-markdown-href")||n.href||""})`;case "li":return h(n,t.listDepth,"ol"===n.parentElement?.tagName?.toLowerCase()?Array.from(n.parentElement.children).filter(e=>"li"===e.tagName?.toLowerCase()).indexOf(n)+1:null);case "p":return t.inListItem?`${c(n,t).trim()}\n`:`${c(n,t)}\n\n`;case "br":return "\n";case "ul":case "ol":return d(n,t.listDepth);case "blockquote":{const e=c(n,t).replace(/\r\n/g,"\n").split("\n");return `\n${e.map(e=>e.trim().length>0?`> ${e}`:">").join("\n")}\n`}default:return n.shadowRoot?Array.from(n.shadowRoot.childNodes).map(e=>u(e,t)).join(""):c(n,t)}}catch(n){return console.error("Error processing node in htmlToMarkdown:",n),e.textContent||""}};return u(e).trim()}const ya=/^\s*(?:\[(?:Thoughts?|思维链|思考过程)\]|\*{0,2}💭\s*思考过程\*{0,2})\s*$/i,wa=/^\s*(`{3,}|~{3,})/;function xa(e){for(let t=0;t\s?/,"").trim();if(n)return ya.test(n)?t:-1}return -1}function ka(e){if(!e||!e.includes(">"))return e;const t=e.replace(/\r\n?/g,"\n").split("\n"),n=function(e){const t=[];let n="",r=0;for(const o of e){t.push(r>0);const e=o.match(wa);if(!e)continue;const i=e[1];0===r?(n=i[0],r=i.length):i[0]===n&&i.length>=r&&(n="",r=0);}return t}(t),r=[];let o=0;for(;o")){r.push(t[o]),o+=1;continue}const e=[];for(;o");)e.push(t[o]),o+=1;const i=xa(e);if(0!==i){r.push(...e);continue}const a=[...e];a[i]="> [Thoughts]";const s=[...a];for(;;){let e=o;for(;e=t.length||n[e]||!t[e].startsWith(">"))break;const r=[];let i=e;for(;i");)r.push(t[i]),i+=1;const a=xa(r);if(a<0)break;s.push(">"),s.push(...r.slice(a+1)),o=i;}r.push(...s);}return r.join("\n")}function Sa(e){const t=e.trim();if(!t||!t.startsWith(">"))return false;const n=t.split("\n");return -1!==xa(n)&&n.every(e=>!e.trim()||e.trimStart().startsWith(">"))}function Ca(e){if(!Array.isArray(e)||0===e.length)return [];const t=[];let n=0;for(;n{if("user"===t.role){s+=1;const r=e.customUserName||ie("exportUserLabel"),a=e.showIndex?`${s}. `:"",l=i?"":`${fa} `;n.push(`## ${a}${l}${r}`),n.push(""),n.push(t.content),n.push(""),o&&(n.push(o),n.push(""));}else {const r=e.customModelName||e.source,a=e.showIndex&&s>0?`${s}. `:"",l=i?"":`${ba} `;n.push(`## ${a}${l}${r}`),n.push(""),n.push(t.content),n.push(""),o&&(n.push(o),n.push(""));}}),n.join("\n")}const Ea=e=>e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),Ia=(e,t)=>Yi.math.renderKatexToMathML(e,{displayMode:t});let Ma=null;const Na=()=>(Ma||(Ma=((e=false,t=false,n)=>{const r=ta();if("function"!=typeof r.createMarkdownIt)throw new Error("[Ophel] Markdown vendor createMarkdownIt is missing");return r.createMarkdownIt(e,t,n)})(true,false,Ia)),Ma),Aa='',Pa=/^(
\s*

\s*)(?:(?:\s*)?\[(?:Thoughts?|思维链|思考过程)\](?:\s*<\/strong>)?|(?:\s*)?💭\s*思考过程(?:\s*<\/strong>)?)\s*(?:\s*)?/i,La=e=>Pa.test(e),Ra=e=>{const t=e.map(e=>e.replace(Pa,"$1").replace(/^

\s*

\s*<\/p>\s*/i,"

")).join("\n");return `
\n ${ie("exportThoughtCollapsedLabel")}\n
${t}
\n
`};function $a(e,t,n){const r="user"===e.role,o="assistant"===e.role;let i=r?t.customUserName||ie("exportUserLabel"):o?t.customModelName||t.source:e.role;t.showIndex&&n&&(i=`${n}. ${i}`);const a=r?'':'';return `
\n
\n \n ${Ea(i)}\n
\n
${function(e){let t=Na().render(ka(e));t=t.replace(/\{\{([^\s{}]+)\}\}/g,'{{$1}}');const n=(e=>{const t=[];let n=0,r=-1,o=0;for(;o",o);if(-1===i&&-1===a)break;-1===a||-1!==i&&i0&&/^\s*$/.test(e);La(l)||n?(0===i.length&&(r+=e),i.push(l)):(i.length>0&&(r+=Ra(i),i=[]),r+=e+l),o=s;}return i.length>0&&(r+=Ra(i)),r+=t.slice(o),t=r,t=t.replace(/
`
${Ea(t)}
]*class=)/g,`
/g,"
"),t}(e.content)}
\n
`}function Oa(e,t){const n=se()||"en",r=Ea(e.title),o=Ea(e.exportTime),i=Ea(e.source),a=Ca(t);let s=0;const l=a.map(t=>("user"===t.role&&(s+=1),$a(t,e,s>0?s:void 0))).join("\n");return `\n\n\n\n\n${r}\n\n