@infinilabs/ai-chat 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_baseUniq-HPyrtppw.cjs → _baseUniq-CeiCRdxx.cjs} +1 -1
- package/dist/{_baseUniq-C4DanDvR.js → _baseUniq-Djxg37rN.js} +1 -1
- package/dist/{arc-8caxqi1c.cjs → arc-COzMDjUS.cjs} +1 -1
- package/dist/{arc-B4m95so_.js → arc-D7VgIWs2.js} +1 -1
- package/dist/{architecture-U656AL7Q-NnTTY6_Y.js → architecture-U656AL7Q-B9_rCPw_.js} +1 -1
- package/dist/{architecture-U656AL7Q-DOz9Fle0.cjs → architecture-U656AL7Q-CvQeWHIU.cjs} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-Bvtkepbx.js → architectureDiagram-VXUJARFQ-BzKLfMm5.js} +3 -3
- package/dist/{architectureDiagram-VXUJARFQ-C681qyfL.cjs → architectureDiagram-VXUJARFQ-EJY4hbYt.cjs} +3 -3
- package/dist/{blockDiagram-VD42YOAC-C1_01y5B.js → blockDiagram-VD42YOAC-C8n3Oqno.js} +5 -5
- package/dist/{blockDiagram-VD42YOAC-Bhes8GyO.cjs → blockDiagram-VD42YOAC-JRX9jru9.cjs} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-Ba3p2ZuZ.cjs → c4Diagram-YG6GDRKO-Bd4Q_vbc.cjs} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-DGsbl4WQ.js → c4Diagram-YG6GDRKO-qgf3e5LC.js} +2 -2
- package/dist/{channel-Bcsi5luP.cjs → channel-BNj6-Jl_.cjs} +1 -1
- package/dist/{channel-BTzBeehE.js → channel-DXPu1_IA.js} +1 -1
- package/dist/{chunk-4BX2VUAB-C0aaszvk.cjs → chunk-4BX2VUAB-C1jdRYDV.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-DUVJ45LT.js → chunk-4BX2VUAB-CrkFppIt.js} +1 -1
- package/dist/{chunk-55IACEB6-CBJjMWGd.js → chunk-55IACEB6-BzxZ5oEo.js} +1 -1
- package/dist/{chunk-55IACEB6-R25Bm9Jg.cjs → chunk-55IACEB6-CDhw9ih3.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-BGOymHsq.js → chunk-B4BG7PRW-C2-Ey5vN.js} +4 -4
- package/dist/{chunk-B4BG7PRW-DisYLitZ.cjs → chunk-B4BG7PRW-VJhbpyZn.cjs} +4 -4
- package/dist/{chunk-DI55MBZ5-ChDRbqtb.cjs → chunk-DI55MBZ5-B1oTvq2E.cjs} +3 -3
- package/dist/{chunk-DI55MBZ5-CjqgJvh9.js → chunk-DI55MBZ5-NOFcLycG.js} +3 -3
- package/dist/{chunk-FMBD7UC4-CeUFGBTE.cjs → chunk-FMBD7UC4-7WYodgem.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-DCKR0mIP.js → chunk-FMBD7UC4-DRgrx-EK.js} +1 -1
- package/dist/{chunk-QN33PNHL-DgRsUZpZ.js → chunk-QN33PNHL-BLt3h1Q9.js} +1 -1
- package/dist/{chunk-QN33PNHL-CUm-N74k.cjs → chunk-QN33PNHL-DgxnhNJ3.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-ConDYQBo.cjs → chunk-QZHKN3VN-DUGVpFR-.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-DOL3K2yf.js → chunk-QZHKN3VN-DaKf5YOp.js} +1 -1
- package/dist/{chunk-TZMSLE5B-Dxj_VsLb.js → chunk-TZMSLE5B-BNIxQDHU.js} +1 -1
- package/dist/{chunk-TZMSLE5B-CHcUQ1D5.cjs → chunk-TZMSLE5B-WfyLU47R.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-DXCPsTly.js → classDiagram-2ON5EDUG-CgIGInn4.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-BYQdgrfH.cjs → classDiagram-2ON5EDUG-h23rBY2e.cjs} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-DXCPsTly.js → classDiagram-v2-WZHVMYZB-CgIGInn4.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-BYQdgrfH.cjs → classDiagram-v2-WZHVMYZB-h23rBY2e.cjs} +2 -2
- package/dist/{clone-oPKUnzVe.js → clone-ClKqbvhF.js} +1 -1
- package/dist/{clone-BIL20ieF.cjs → clone-XhANne4T.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-CPu406mo.cjs → cose-bilkent-S5V4N54A-BzCy-Dw0.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-L0nMpsXq.js → cose-bilkent-S5V4N54A-PD3Cmd9b.js} +1 -1
- package/dist/{dagre-6UL2VRFP-9VYlGoLH.js → dagre-6UL2VRFP-DgjTaV05.js} +5 -5
- package/dist/{dagre-6UL2VRFP-kN_GGKVW.cjs → dagre-6UL2VRFP-cNT3csyW.cjs} +5 -5
- package/dist/{diagram-PSM6KHXK-Dw0BdNxx.js → diagram-PSM6KHXK-CRdd_rkv.js} +4 -4
- package/dist/{diagram-PSM6KHXK-B2a7yBMK.cjs → diagram-PSM6KHXK-qDYzVwmO.cjs} +4 -4
- package/dist/{diagram-QEK2KX5R-B0gWyAOb.js → diagram-QEK2KX5R-BRajomIJ.js} +3 -3
- package/dist/{diagram-QEK2KX5R-ULXJS9JT.cjs → diagram-QEK2KX5R-CU593QLD.cjs} +3 -3
- package/dist/{diagram-S2PKOQOG-NtX18-PO.js → diagram-S2PKOQOG-Bq_4wImq.js} +3 -3
- package/dist/{diagram-S2PKOQOG-DujR8Chx.cjs → diagram-S2PKOQOG-DqjsN27Z.cjs} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-DTCcCB3U.cjs → erDiagram-Q2GNP2WA-CNCatwHy.cjs} +4 -4
- package/dist/{erDiagram-Q2GNP2WA-DWWNSJa5.js → erDiagram-Q2GNP2WA-Cci7pZ-T.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-D9BiFSWj.js → flowDiagram-NV44I4VS-CFtQhRYA.js} +5 -5
- package/dist/{flowDiagram-NV44I4VS-Dho5VWpD.cjs → flowDiagram-NV44I4VS-CU4Xw1sj.cjs} +5 -5
- package/dist/{ganttDiagram-JELNMOA3-IvFsYyb5.js → ganttDiagram-JELNMOA3-BTkIx-5v.js} +2 -2
- package/dist/{ganttDiagram-JELNMOA3-C2pJM0kW.cjs → ganttDiagram-JELNMOA3-Bjokptet.cjs} +2 -2
- package/dist/{gitGraph-F6HP7TQM-DmtgZgJC.cjs → gitGraph-F6HP7TQM-Dz4H_8C9.cjs} +1 -1
- package/dist/{gitGraph-F6HP7TQM-B5ldowqg.js → gitGraph-F6HP7TQM-z-hYJSan.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-R39oPT_H.cjs → gitGraphDiagram-NY62KEGX-B9A7sBfQ.cjs} +4 -4
- package/dist/{gitGraphDiagram-NY62KEGX-BCJQSJe1.js → gitGraphDiagram-NY62KEGX-Bi-o_EAB.js} +4 -4
- package/dist/{graph-d9MCZQkg.js → graph-DNl5U36X.js} +2 -2
- package/dist/{graph-DmroX30B.cjs → graph-NUZAaadb.cjs} +2 -2
- package/dist/{index-DznWDSja.js → index-CL-IWmxa.js} +940 -910
- package/dist/{index-fuB5at9P.cjs → index-tMROzgOV.cjs} +944 -914
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{info-NVLQJR56-D7hL8jp-.cjs → info-NVLQJR56-962D9vkT.cjs} +1 -1
- package/dist/info-NVLQJR56-B1dBBbEA.js +5 -0
- package/dist/{infoDiagram-WHAUD3N6-DZvZ2cQR.js → infoDiagram-WHAUD3N6-BiU0QW2V.js} +2 -2
- package/dist/{infoDiagram-WHAUD3N6-BIuyHO3P.cjs → infoDiagram-WHAUD3N6-VYdtmZcg.cjs} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-B6ZC5g1r.js → journeyDiagram-XKPGCS4Q-BteN4PJS.js} +4 -4
- package/dist/{journeyDiagram-XKPGCS4Q-CCSZoq09.cjs → journeyDiagram-XKPGCS4Q-Dg4utYJu.cjs} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-BEO6qgjW.cjs → kanban-definition-3W4ZIXB7-CSgLYf0d.cjs} +2 -2
- package/dist/{kanban-definition-3W4ZIXB7-yv7ecRfL.js → kanban-definition-3W4ZIXB7-NDl2gO7n.js} +2 -2
- package/dist/{layout-B3Trc9Dj.js → layout-BU48hdc_.js} +4 -4
- package/dist/{layout-BBSoTGY-.cjs → layout-Kh98ca4k.cjs} +4 -4
- package/dist/{linear-B2hb_5PZ.cjs → linear-BT-VF_DX.cjs} +1 -1
- package/dist/{linear-B0xHZYqX.js → linear-By2ZU35B.js} +1 -1
- package/dist/{mermaid-parser.core-5bZWkv4Z.cjs → mermaid-parser.core-C2hGHaWo.cjs} +10 -10
- package/dist/{mermaid-parser.core-CsL76Z6C.js → mermaid-parser.core-CklcTQv5.js} +10 -10
- package/dist/{min-CuqXz83N.js → min-Byvi8V--.js} +2 -2
- package/dist/{min-Dl4imp8b.cjs → min-CYOF9Ew_.cjs} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-tB865_r0.cjs → mindmap-definition-VGOIOE7T-BYzPzKVW.cjs} +3 -3
- package/dist/{mindmap-definition-VGOIOE7T-DS9ZQkJ2.js → mindmap-definition-VGOIOE7T-BZFlOxRY.js} +3 -3
- package/dist/{packet-BFZMPI3H-Ckms14Ie.cjs → packet-BFZMPI3H-DcKhwBCA.cjs} +1 -1
- package/dist/{packet-BFZMPI3H-D9N-9wq3.js → packet-BFZMPI3H-DnnTjEVQ.js} +1 -1
- package/dist/pie-7BOR55EZ-CeyDu1JY.js +5 -0
- package/dist/{pie-7BOR55EZ-DEOI8wj5.cjs → pie-7BOR55EZ-jaKJ-mtV.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-BnZ3nv0x.cjs → pieDiagram-ADFJNKIX-BHv_Zty6.cjs} +4 -4
- package/dist/{pieDiagram-ADFJNKIX-DQnUMYIz.js → pieDiagram-ADFJNKIX-DIVZXh1X.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-DqhTbdJL.js → quadrantDiagram-AYHSOK5B-9DDnueEz.js} +2 -2
- package/dist/{quadrantDiagram-AYHSOK5B-DbbxuS4G.cjs → quadrantDiagram-AYHSOK5B-Bcmhm8n7.cjs} +2 -2
- package/dist/{radar-NHE76QYJ-DC00rsaE.cjs → radar-NHE76QYJ-BpsuegDG.cjs} +1 -1
- package/dist/{radar-NHE76QYJ-Bh5JEuLJ.js → radar-NHE76QYJ-CNMGFuyD.js} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-C5Sw30Dg.cjs → requirementDiagram-UZGBJVZJ-BcGzLEBJ.cjs} +3 -3
- package/dist/{requirementDiagram-UZGBJVZJ-BZ_I8D4-.js → requirementDiagram-UZGBJVZJ-CcRlwgt6.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-B0AyEyvs.cjs → sankeyDiagram-TZEHDZUN-CZ481e57.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-CZObK-Zb.js → sankeyDiagram-TZEHDZUN-vJRuYFkA.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-D4IDMTam.js → sequenceDiagram-WL72ISMW-BEkxMpBG.js} +3 -3
- package/dist/{sequenceDiagram-WL72ISMW-CVL0XD2D.cjs → sequenceDiagram-WL72ISMW-BIwpFesl.cjs} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-ByyC0-sC.js → stateDiagram-FKZM4ZOC-B2oxE8B3.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-BiaQ8T-8.cjs → stateDiagram-FKZM4ZOC-B5Szi-M9.cjs} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-BoEbh9tj.js → stateDiagram-v2-4FDKWEC3-DbneOtWC.js} +2 -2
- package/dist/{stateDiagram-v2-4FDKWEC3-DHA2H3MH.cjs → stateDiagram-v2-4FDKWEC3-RdWM-Y50.cjs} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-DHfAcRa1.cjs → timeline-definition-IT6M3QCI-BfLzg1j1.cjs} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-B8R-xT4q.js → timeline-definition-IT6M3QCI-ByNphRV7.js} +2 -2
- package/dist/{treemap-KMMF4GRG-BixMALBp.js → treemap-KMMF4GRG-0mn8Ob2X.js} +1 -1
- package/dist/{treemap-KMMF4GRG-Buum9klb.cjs → treemap-KMMF4GRG-CLrScKfv.cjs} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-Cx98Jm9V.cjs → xychartDiagram-PRI3JC2R-CdGLWe8Y.cjs} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-PBEyV-Su.js → xychartDiagram-PRI3JC2R-QUNLRyKO.js} +2 -2
- package/package.json +2 -2
- package/dist/info-NVLQJR56-CTpWSll6.js +0 -5
- package/dist/pie-7BOR55EZ-CmDij4ag.js +0 -5
|
@@ -7983,7 +7983,7 @@ const handleApiError = (error) => {
|
|
|
7983
7983
|
};
|
|
7984
7984
|
const Get = (url, params = {}, clearFn) => new Promise((resolve) => {
|
|
7985
7985
|
const appStore = JSON.parse(localStorage.getItem("app-store") || "{}");
|
|
7986
|
-
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-
|
|
7986
|
+
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-tMROzgOV.cjs", document.baseURI).href };
|
|
7987
7987
|
const isDev2 = meta.env?.DEV === true;
|
|
7988
7988
|
const PROXY_PREFIXES = [
|
|
7989
7989
|
"account",
|
|
@@ -8015,7 +8015,7 @@ const Get = (url, params = {}, clearFn) => new Promise((resolve) => {
|
|
|
8015
8015
|
const Post = (url, data, params = {}, headers = {}) => {
|
|
8016
8016
|
return new Promise((resolve) => {
|
|
8017
8017
|
const appStore = JSON.parse(localStorage.getItem("app-store") || "{}");
|
|
8018
|
-
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-
|
|
8018
|
+
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-tMROzgOV.cjs", document.baseURI).href };
|
|
8019
8019
|
const isDev2 = meta.env?.DEV === true;
|
|
8020
8020
|
const PROXY_PREFIXES = [
|
|
8021
8021
|
"account",
|
|
@@ -8049,7 +8049,7 @@ const Post = (url, data, params = {}, headers = {}) => {
|
|
|
8049
8049
|
const Put = (url, data, params = {}, headers = {}) => {
|
|
8050
8050
|
return new Promise((resolve) => {
|
|
8051
8051
|
const appStore = JSON.parse(localStorage.getItem("app-store") || "{}");
|
|
8052
|
-
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-
|
|
8052
|
+
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-tMROzgOV.cjs", document.baseURI).href };
|
|
8053
8053
|
const isDev2 = meta.env?.DEV === true;
|
|
8054
8054
|
const PROXY_PREFIXES = [
|
|
8055
8055
|
"account",
|
|
@@ -8083,7 +8083,7 @@ const Put = (url, data, params = {}, headers = {}) => {
|
|
|
8083
8083
|
const Delete = (url, params = {}, headers = {}) => {
|
|
8084
8084
|
return new Promise((resolve) => {
|
|
8085
8085
|
const appStore = JSON.parse(localStorage.getItem("app-store") || "{}");
|
|
8086
|
-
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-
|
|
8086
|
+
const meta = { url: typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === "SCRIPT" && _documentCurrentScript.src || new URL("index-tMROzgOV.cjs", document.baseURI).href };
|
|
8087
8087
|
const isDev2 = meta.env?.DEV === true;
|
|
8088
8088
|
const PROXY_PREFIXES = [
|
|
8089
8089
|
"account",
|
|
@@ -92514,8 +92514,8 @@ function d$1(u4, e2 = "") {
|
|
|
92514
92514
|
}, getRegex: () => new RegExp(t2, e2) };
|
|
92515
92515
|
return n2;
|
|
92516
92516
|
}
|
|
92517
|
-
var m$2 = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (u4) => new RegExp(`^( {0,3}${u4})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}#`), htmlBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}<(?:[a-z].*>|!--)`, "i") }, be$1 = /^(?:[ \t]*(?:\n|$))+/, Re$2 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Te$1 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, E$2 = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe$2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F$3 = /(?:[*+-]|\d{1,9}[.)])/, ie$1 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe$1 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), we$2 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j$2 = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ye$2 = /^[^\n]+/, Q$3 = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Pe$2 = d$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q$3).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Se$2 = d$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F$3).getRegex(), v$3 = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U$3 = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $e$
|
|
92518
|
-
]`).replace("lheading", oe$1).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, ze$1 = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ae$2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le$2 = /^( {2,}|\\)\n(?!\s*$)/, Ie$2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D$3 = /[\p{P}\p{S}]/u, W$4 = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ee$1 = d$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W$4).getRegex(), pe$2 = /(?!~)[\p{P}\p{S}]/u, Ce$
|
|
92517
|
+
var m$2 = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (u4) => new RegExp(`^( {0,3}${u4})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}#`), htmlBeginRegex: (u4) => new RegExp(`^ {0,${Math.min(3, u4 - 1)}}<(?:[a-z].*>|!--)`, "i") }, be$1 = /^(?:[ \t]*(?:\n|$))+/, Re$2 = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Te$1 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, E$2 = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe$2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F$3 = /(?:[*+-]|\d{1,9}[.)])/, ie$1 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe$1 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), we$2 = d$1(ie$1).replace(/bull/g, F$3).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j$2 = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ye$2 = /^[^\n]+/, Q$3 = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Pe$2 = d$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q$3).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Se$2 = d$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F$3).getRegex(), v$3 = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U$3 = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, $e$1 = d$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U$3).replace("tag", v$3).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae$2 = d$1(j$2).replace("hr", E$2).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v$3).getRegex(), _e$2 = d$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae$2).getRegex(), K$3 = { blockquote: _e$2, code: Re$2, def: Pe$2, fences: Te$1, heading: Oe$2, hr: E$2, html: $e$1, lheading: oe$1, list: Se$2, newline: be$1, paragraph: ae$2, table: I$4, text: ye$2 }, re$1 = d$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", E$2).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v$3).getRegex(), Le$1 = { ...K$3, lheading: we$2, table: re$1, paragraph: d$1(j$2).replace("hr", E$2).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re$1).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v$3).getRegex() }, Me$2 = { ...K$3, html: d$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U$3).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: I$4, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: d$1(j$2).replace("hr", E$2).replace("heading", ` *#{1,6} *[^
|
|
92518
|
+
]`).replace("lheading", oe$1).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, ze$1 = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ae$2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le$2 = /^( {2,}|\\)\n(?!\s*$)/, Ie$2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D$3 = /[\p{P}\p{S}]/u, W$4 = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ee$1 = d$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W$4).getRegex(), pe$2 = /(?!~)[\p{P}\p{S}]/u, Ce$2 = /(?!~)[\s\p{P}\p{S}]/u, Be$1 = /(?:[^\s\p{P}\p{S}]|~)/u, qe$1 = /\[(?:[^\[\]`]|`[^`]*?`)*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, ce$1 = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, ve$1 = d$1(ce$1, "u").replace(/punct/g, D$3).getRegex(), De$2 = d$1(ce$1, "u").replace(/punct/g, pe$2).getRegex(), he = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", He$2 = d$1(he, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W$4).replace(/punct/g, D$3).getRegex(), Ze$1 = d$1(he, "gu").replace(/notPunctSpace/g, Be$1).replace(/punctSpace/g, Ce$2).replace(/punct/g, pe$2).getRegex(), Ge$1 = d$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W$4).replace(/punct/g, D$3).getRegex(), Ne$2 = d$1(/\\(punct)/, "gu").replace(/punct/g, D$3).getRegex(), Fe$2 = d$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), je$1 = d$1(U$3).replace("(?:-->|$)", "-->").getRegex(), Qe$2 = d$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", je$1).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q$4 = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ue$1 = d$1(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q$4).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d$1(/^!?\[(label)\]\[(ref)\]/).replace("label", q$4).replace("ref", Q$3).getRegex(), ke$1 = d$1(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q$3).getRegex(), Ke$1 = d$1("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke$1).getRegex(), se$1 = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X$4 = { _backpedal: I$4, anyPunctuation: Ne$2, autolink: Fe$2, blockSkip: qe$1, br: le$2, code: Ae$2, del: I$4, emStrongLDelim: ve$1, emStrongRDelimAst: He$2, emStrongRDelimUnd: Ge$1, escape: ze$1, link: Ue$1, nolink: ke$1, punctuation: Ee$1, reflink: de, reflinkSearch: Ke$1, tag: Qe$2, text: Ie$2, url: I$4 }, We$2 = { ...X$4, link: d$1(/^!?\[(label)\]\((.*?)\)/).replace("label", q$4).getRegex(), reflink: d$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q$4).getRegex() }, N$3 = { ...X$4, emStrongRDelimAst: Ze$1, emStrongLDelim: De$2, url: d$1(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se$1).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: d$1(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se$1).getRegex() }, Xe$1 = { ...N$3, br: d$1(le$2).replace("{2,}", "*").getRegex(), text: d$1(N$3.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C$3 = { normal: K$3, gfm: Le$1, pedantic: Me$2 }, M$3 = { normal: X$4, gfm: N$3, breaks: Xe$1, pedantic: We$2 };
|
|
92519
92519
|
var Je$1 = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }, ge$1 = (u4) => Je$1[u4];
|
|
92520
92520
|
function w$3(u4, e2) {
|
|
92521
92521
|
if (e2) {
|
|
@@ -92553,7 +92553,7 @@ function z$2(u4, e2, t2) {
|
|
|
92553
92553
|
}
|
|
92554
92554
|
return u4.slice(0, n2 - r2);
|
|
92555
92555
|
}
|
|
92556
|
-
function fe
|
|
92556
|
+
function fe(u4, e2) {
|
|
92557
92557
|
if (u4.indexOf(e2[1]) === -1) return -1;
|
|
92558
92558
|
let t2 = 0;
|
|
92559
92559
|
for (let n2 = 0; n2 < u4.length; n2++) if (u4[n2] === "\\") n2++;
|
|
@@ -92561,7 +92561,7 @@ function fe$1(u4, e2) {
|
|
|
92561
92561
|
else if (u4[n2] === e2[1] && (t2--, t2 < 0)) return n2;
|
|
92562
92562
|
return t2 > 0 ? -2 : -1;
|
|
92563
92563
|
}
|
|
92564
|
-
function me(u4, e2, t2, n2, r2) {
|
|
92564
|
+
function me$1(u4, e2, t2, n2, r2) {
|
|
92565
92565
|
let i2 = e2.href, s2 = e2.title || null, o2 = u4[1].replace(r2.other.outputLinkReplace, "$1");
|
|
92566
92566
|
n2.state.inLink = true;
|
|
92567
92567
|
let a2 = { type: u4[0].charAt(0) === "!" ? "image" : "link", raw: t2, href: i2, title: s2, text: o2, tokens: n2.inlineTokens(o2) };
|
|
@@ -92765,7 +92765,7 @@ ${p3}` : p3;
|
|
|
92765
92765
|
let s2 = z$2(n2.slice(0, -1), "\\");
|
|
92766
92766
|
if ((n2.length - s2.length) % 2 === 0) return;
|
|
92767
92767
|
} else {
|
|
92768
|
-
let s2 = fe
|
|
92768
|
+
let s2 = fe(t2[2], "()");
|
|
92769
92769
|
if (s2 === -2) return;
|
|
92770
92770
|
if (s2 > -1) {
|
|
92771
92771
|
let a2 = (t2[0].indexOf("!") === 0 ? 5 : 4) + t2[1].length + s2;
|
|
@@ -92777,7 +92777,7 @@ ${p3}` : p3;
|
|
|
92777
92777
|
let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
|
|
92778
92778
|
s2 && (r2 = s2[1], i2 = s2[3]);
|
|
92779
92779
|
} else i2 = t2[3] ? t2[3].slice(1, -1) : "";
|
|
92780
|
-
return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n2) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), me(t2, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i2 && i2.replace(this.rules.inline.anyPunctuation, "$1") }, t2[0], this.lexer, this.rules);
|
|
92780
|
+
return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n2) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), me$1(t2, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i2 && i2.replace(this.rules.inline.anyPunctuation, "$1") }, t2[0], this.lexer, this.rules);
|
|
92781
92781
|
}
|
|
92782
92782
|
}
|
|
92783
92783
|
reflink(e2, t2) {
|
|
@@ -92788,7 +92788,7 @@ ${p3}` : p3;
|
|
|
92788
92788
|
let s2 = n2[0].charAt(0);
|
|
92789
92789
|
return { type: "text", raw: s2, text: s2 };
|
|
92790
92790
|
}
|
|
92791
|
-
return me(n2, i2, n2[0], this.lexer, this.rules);
|
|
92791
|
+
return me$1(n2, i2, n2[0], this.lexer, this.rules);
|
|
92792
92792
|
}
|
|
92793
92793
|
}
|
|
92794
92794
|
emStrong(e2, t2, n2 = "") {
|
|
@@ -92870,11 +92870,11 @@ var x$3 = class u {
|
|
|
92870
92870
|
inlineQueue;
|
|
92871
92871
|
constructor(e2) {
|
|
92872
92872
|
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e2 || T$2, this.options.tokenizer = this.options.tokenizer || new y$2(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
|
|
92873
|
-
let t2 = { other: m$2, block: C$
|
|
92874
|
-
this.options.pedantic ? (t2.block = C$
|
|
92873
|
+
let t2 = { other: m$2, block: C$3.normal, inline: M$3.normal };
|
|
92874
|
+
this.options.pedantic ? (t2.block = C$3.pedantic, t2.inline = M$3.pedantic) : this.options.gfm && (t2.block = C$3.gfm, this.options.breaks ? t2.inline = M$3.breaks : t2.inline = M$3.gfm), this.tokenizer.rules = t2;
|
|
92875
92875
|
}
|
|
92876
92876
|
static get rules() {
|
|
92877
|
-
return { block: C$
|
|
92877
|
+
return { block: C$3, inline: M$3 };
|
|
92878
92878
|
}
|
|
92879
92879
|
static lex(e2, t2) {
|
|
92880
92880
|
return new u(t2).lex(e2);
|
|
@@ -93555,35 +93555,35 @@ Please report this to https://github.com/markedjs/marked.`, e2) {
|
|
|
93555
93555
|
}
|
|
93556
93556
|
};
|
|
93557
93557
|
var _$1 = new B$3();
|
|
93558
|
-
function k$
|
|
93558
|
+
function k$4(u4, e2) {
|
|
93559
93559
|
return _$1.parse(u4, e2);
|
|
93560
93560
|
}
|
|
93561
|
-
k$
|
|
93562
|
-
return _$1.setOptions(u4), k$
|
|
93561
|
+
k$4.options = k$4.setOptions = function(u4) {
|
|
93562
|
+
return _$1.setOptions(u4), k$4.defaults = _$1.defaults, G$2(k$4.defaults), k$4;
|
|
93563
93563
|
};
|
|
93564
|
-
k$
|
|
93565
|
-
k$
|
|
93566
|
-
k$
|
|
93567
|
-
return _$1.use(...u4), k$
|
|
93564
|
+
k$4.getDefaults = L$2;
|
|
93565
|
+
k$4.defaults = T$2;
|
|
93566
|
+
k$4.use = function(...u4) {
|
|
93567
|
+
return _$1.use(...u4), k$4.defaults = _$1.defaults, G$2(k$4.defaults), k$4;
|
|
93568
93568
|
};
|
|
93569
|
-
k$
|
|
93569
|
+
k$4.walkTokens = function(u4, e2) {
|
|
93570
93570
|
return _$1.walkTokens(u4, e2);
|
|
93571
93571
|
};
|
|
93572
|
-
k$
|
|
93573
|
-
k$
|
|
93574
|
-
k$
|
|
93575
|
-
k$
|
|
93576
|
-
k$
|
|
93577
|
-
k$
|
|
93578
|
-
k$
|
|
93579
|
-
k$
|
|
93580
|
-
k$
|
|
93581
|
-
k$
|
|
93582
|
-
k$
|
|
93583
|
-
k$
|
|
93584
|
-
k$
|
|
93585
|
-
k$
|
|
93586
|
-
k$
|
|
93572
|
+
k$4.parseInline = _$1.parseInline;
|
|
93573
|
+
k$4.Parser = b$3;
|
|
93574
|
+
k$4.parser = b$3.parse;
|
|
93575
|
+
k$4.Renderer = P$3;
|
|
93576
|
+
k$4.TextRenderer = $$3;
|
|
93577
|
+
k$4.Lexer = x$3;
|
|
93578
|
+
k$4.lexer = x$3.lex;
|
|
93579
|
+
k$4.Tokenizer = y$2;
|
|
93580
|
+
k$4.Hooks = S$2;
|
|
93581
|
+
k$4.parse = k$4;
|
|
93582
|
+
k$4.options;
|
|
93583
|
+
k$4.setOptions;
|
|
93584
|
+
k$4.use;
|
|
93585
|
+
k$4.walkTokens;
|
|
93586
|
+
k$4.parseInline;
|
|
93587
93587
|
b$3.parse;
|
|
93588
93588
|
x$3.lex;
|
|
93589
93589
|
function dedent(templ) {
|
|
@@ -93714,7 +93714,7 @@ function preprocessMarkdown(markdown2, { markdownAutoWrap }) {
|
|
|
93714
93714
|
__name(preprocessMarkdown, "preprocessMarkdown");
|
|
93715
93715
|
function markdownToLines(markdown2, config2 = {}) {
|
|
93716
93716
|
const preprocessedMarkdown = preprocessMarkdown(markdown2, config2);
|
|
93717
|
-
const nodes = k$
|
|
93717
|
+
const nodes = k$4.lexer(preprocessedMarkdown);
|
|
93718
93718
|
const lines = [[]];
|
|
93719
93719
|
let currentLine = 0;
|
|
93720
93720
|
function processNode(node2, parentType = "normal") {
|
|
@@ -93756,7 +93756,7 @@ function markdownToLines(markdown2, config2 = {}) {
|
|
|
93756
93756
|
}
|
|
93757
93757
|
__name(markdownToLines, "markdownToLines");
|
|
93758
93758
|
function markdownToHTML(markdown2, { markdownAutoWrap } = {}) {
|
|
93759
|
-
const nodes = k$
|
|
93759
|
+
const nodes = k$4.lexer(markdown2);
|
|
93760
93760
|
function output(node2) {
|
|
93761
93761
|
if (node2.type === "text") {
|
|
93762
93762
|
if (markdownAutoWrap === false) {
|
|
@@ -94215,7 +94215,7 @@ let p$1 = class p {
|
|
|
94215
94215
|
}
|
|
94216
94216
|
};
|
|
94217
94217
|
const f$1 = 0, d = 1, g = 2, M$2 = { A: 7, a: 7, C: 6, c: 6, H: 1, h: 1, L: 2, l: 2, M: 2, m: 2, Q: 4, q: 4, S: 4, s: 4, T: 2, t: 2, V: 1, v: 1, Z: 0, z: 0 };
|
|
94218
|
-
function k$
|
|
94218
|
+
function k$3(t2, e2) {
|
|
94219
94219
|
return t2.type === e2;
|
|
94220
94220
|
}
|
|
94221
94221
|
function b$2(t2) {
|
|
@@ -94230,17 +94230,17 @@ function b$2(t2) {
|
|
|
94230
94230
|
return e3[e3.length] = { type: g, text: "" }, e3;
|
|
94231
94231
|
})(t2);
|
|
94232
94232
|
let n2 = "BOD", o2 = 0, a2 = s2[o2];
|
|
94233
|
-
for (; !k$
|
|
94233
|
+
for (; !k$3(a2, g); ) {
|
|
94234
94234
|
let h3 = 0;
|
|
94235
94235
|
const r2 = [];
|
|
94236
94236
|
if ("BOD" === n2) {
|
|
94237
94237
|
if ("M" !== a2.text && "m" !== a2.text) return b$2("M0,0" + t2);
|
|
94238
94238
|
o2++, h3 = M$2[a2.text], n2 = a2.text;
|
|
94239
|
-
} else k$
|
|
94239
|
+
} else k$3(a2, d) ? h3 = M$2[n2] : (o2++, h3 = M$2[a2.text], n2 = a2.text);
|
|
94240
94240
|
if (!(o2 + h3 < s2.length)) throw new Error("Path data ended short");
|
|
94241
94241
|
for (let t3 = o2; t3 < o2 + h3; t3++) {
|
|
94242
94242
|
const e3 = s2[t3];
|
|
94243
|
-
if (!k$
|
|
94243
|
+
if (!k$3(e3, d)) throw new Error("Param not a number: " + n2 + "," + e3.text);
|
|
94244
94244
|
r2[r2.length] = +e3.text;
|
|
94245
94245
|
}
|
|
94246
94246
|
if ("number" != typeof M$2[n2]) throw new Error("Bad segment: " + n2);
|
|
@@ -94512,7 +94512,7 @@ function I$3(t2, e2) {
|
|
|
94512
94512
|
}
|
|
94513
94513
|
return { type: "fillPath", ops: s2 };
|
|
94514
94514
|
}
|
|
94515
|
-
function C$
|
|
94515
|
+
function C$2(t2, e2) {
|
|
94516
94516
|
return (function(t3, e3) {
|
|
94517
94517
|
let s2 = t3.fillStyle || "hachure";
|
|
94518
94518
|
if (!u3[s2]) switch (s2) {
|
|
@@ -94698,7 +94698,7 @@ function Y$2(t2, e2 = 0.15, s2) {
|
|
|
94698
94698
|
}
|
|
94699
94699
|
return s2 && s2 > 0 ? X$3(n2, 0, n2.length, s2) : n2;
|
|
94700
94700
|
}
|
|
94701
|
-
const tt = "none";
|
|
94701
|
+
const tt$1 = "none";
|
|
94702
94702
|
let et$1 = class et {
|
|
94703
94703
|
constructor(t2) {
|
|
94704
94704
|
this.defaultOptions = { maxRandomnessOffset: 2, roughness: 1, bowing: 1, stroke: "#000", strokeWidth: 1, curveTightness: 0, curveFitting: 0.95, curveStepCount: 9, fillStyle: "hachure", fillWeight: -1, hachureAngle: -41, hachureGap: -1, dashOffset: -1, dashGap: -1, zigzagOffset: -1, seed: 0, disableMultiStroke: false, disableMultiStrokeFill: false, preserveVertices: false, fillShapeRoughnessGain: 0.8 }, this.config = t2 || {}, this.config.options && (this.defaultOptions = this._o(this.config.options));
|
|
@@ -94720,17 +94720,17 @@ let et$1 = class et {
|
|
|
94720
94720
|
const a2 = this._o(o2), h3 = [], r2 = O$3(t2, e2, s2, n2, a2);
|
|
94721
94721
|
if (a2.fill) {
|
|
94722
94722
|
const o3 = [[t2, e2], [t2 + s2, e2], [t2 + s2, e2 + n2], [t2, e2 + n2]];
|
|
94723
|
-
"solid" === a2.fillStyle ? h3.push(I$3([o3], a2)) : h3.push(C$
|
|
94723
|
+
"solid" === a2.fillStyle ? h3.push(I$3([o3], a2)) : h3.push(C$2([o3], a2));
|
|
94724
94724
|
}
|
|
94725
|
-
return a2.stroke !== tt && h3.push(r2), this._d("rectangle", h3, a2);
|
|
94725
|
+
return a2.stroke !== tt$1 && h3.push(r2), this._d("rectangle", h3, a2);
|
|
94726
94726
|
}
|
|
94727
94727
|
ellipse(t2, e2, s2, n2, o2) {
|
|
94728
94728
|
const a2 = this._o(o2), h3 = [], r2 = T$1(s2, n2, a2), i2 = D$2(t2, e2, a2, r2);
|
|
94729
94729
|
if (a2.fill) if ("solid" === a2.fillStyle) {
|
|
94730
94730
|
const s3 = D$2(t2, e2, a2, r2).opset;
|
|
94731
94731
|
s3.type = "fillPath", h3.push(s3);
|
|
94732
|
-
} else h3.push(C$
|
|
94733
|
-
return a2.stroke !== tt && h3.push(i2.opset), this._d("ellipse", h3, a2);
|
|
94732
|
+
} else h3.push(C$2([i2.estimatedPoints], a2));
|
|
94733
|
+
return a2.stroke !== tt$1 && h3.push(i2.opset), this._d("ellipse", h3, a2);
|
|
94734
94734
|
}
|
|
94735
94735
|
circle(t2, e2, s2, n2) {
|
|
94736
94736
|
const o2 = this.ellipse(t2, e2, s2, s2, n2);
|
|
@@ -94756,13 +94756,13 @@ let et$1 = class et {
|
|
|
94756
94756
|
p3 - u4 > 2 * Math.PI && (u4 = 0, p3 = 2 * Math.PI);
|
|
94757
94757
|
const f2 = (p3 - u4) / h4.curveStepCount, d2 = [];
|
|
94758
94758
|
for (let t4 = u4; t4 <= p3; t4 += f2) d2.push([r3 + c3 * Math.cos(t4), i3 + l4 * Math.sin(t4)]);
|
|
94759
|
-
return d2.push([r3 + c3 * Math.cos(p3), i3 + l4 * Math.sin(p3)]), d2.push([r3, i3]), C$
|
|
94759
|
+
return d2.push([r3 + c3 * Math.cos(p3), i3 + l4 * Math.sin(p3)]), d2.push([r3, i3]), C$2([d2], h4);
|
|
94760
94760
|
})(t2, e2, s2, n2, o2, a2, i2));
|
|
94761
|
-
return i2.stroke !== tt && c2.push(l3), this._d("arc", c2, i2);
|
|
94761
|
+
return i2.stroke !== tt$1 && c2.push(l3), this._d("arc", c2, i2);
|
|
94762
94762
|
}
|
|
94763
94763
|
curve(t2, e2) {
|
|
94764
94764
|
const s2 = this._o(e2), n2 = [], o2 = L$1(t2, s2);
|
|
94765
|
-
if (s2.fill && s2.fill !== tt) if ("solid" === s2.fillStyle) {
|
|
94765
|
+
if (s2.fill && s2.fill !== tt$1) if ("solid" === s2.fillStyle) {
|
|
94766
94766
|
const e3 = L$1(t2, Object.assign(Object.assign({}, s2), { disableMultiStroke: true, roughness: s2.roughness ? s2.roughness + s2.fillShapeRoughnessGain : 0 }));
|
|
94767
94767
|
n2.push({ type: "fillPath", ops: this._mergedShape(e3.ops) });
|
|
94768
94768
|
} else {
|
|
@@ -94771,19 +94771,19 @@ let et$1 = class et {
|
|
|
94771
94771
|
const t3 = "number" == typeof o3[0][0] ? [o3] : o3;
|
|
94772
94772
|
for (const n3 of t3) n3.length < 3 ? e3.push(...n3) : 3 === n3.length ? e3.push(...Y$2(H$2([n3[0], n3[0], n3[1], n3[2]]), 10, (1 + s2.roughness) / 2)) : e3.push(...Y$2(H$2(n3), 10, (1 + s2.roughness) / 2));
|
|
94773
94773
|
}
|
|
94774
|
-
e3.length && n2.push(C$
|
|
94774
|
+
e3.length && n2.push(C$2([e3], s2));
|
|
94775
94775
|
}
|
|
94776
|
-
return s2.stroke !== tt && n2.push(o2), this._d("curve", n2, s2);
|
|
94776
|
+
return s2.stroke !== tt$1 && n2.push(o2), this._d("curve", n2, s2);
|
|
94777
94777
|
}
|
|
94778
94778
|
polygon(t2, e2) {
|
|
94779
94779
|
const s2 = this._o(e2), n2 = [], o2 = S$1(t2, true, s2);
|
|
94780
|
-
return s2.fill && ("solid" === s2.fillStyle ? n2.push(I$3([t2], s2)) : n2.push(C$
|
|
94780
|
+
return s2.fill && ("solid" === s2.fillStyle ? n2.push(I$3([t2], s2)) : n2.push(C$2([t2], s2))), s2.stroke !== tt$1 && n2.push(o2), this._d("polygon", n2, s2);
|
|
94781
94781
|
}
|
|
94782
94782
|
path(t2, e2) {
|
|
94783
94783
|
const s2 = this._o(e2), n2 = [];
|
|
94784
94784
|
if (!t2) return this._d("path", n2, s2);
|
|
94785
94785
|
t2 = (t2 || "").replace(/\n/g, " ").replace(/(-\s)/g, "-").replace("/(ss)/g", " ");
|
|
94786
|
-
const o2 = s2.fill && "transparent" !== s2.fill && s2.fill !== tt, a2 = s2.stroke !== tt, h3 = !!(s2.simplification && s2.simplification < 1), r2 = (function(t3, e3, s3) {
|
|
94786
|
+
const o2 = s2.fill && "transparent" !== s2.fill && s2.fill !== tt$1, a2 = s2.stroke !== tt$1, h3 = !!(s2.simplification && s2.simplification < 1), r2 = (function(t3, e3, s3) {
|
|
94787
94787
|
const n3 = m$1(y$1(b$2(t3))), o3 = [];
|
|
94788
94788
|
let a3 = [], h4 = [0, 0], r3 = [];
|
|
94789
94789
|
const i3 = () => {
|
|
@@ -94820,7 +94820,7 @@ let et$1 = class et {
|
|
|
94820
94820
|
const e3 = _(t2, Object.assign(Object.assign({}, s2), { disableMultiStroke: true, roughness: s2.roughness ? s2.roughness + s2.fillShapeRoughnessGain : 0 }));
|
|
94821
94821
|
n2.push({ type: "fillPath", ops: this._mergedShape(e3.ops) });
|
|
94822
94822
|
} else n2.push(I$3(r2, s2));
|
|
94823
|
-
else n2.push(C$
|
|
94823
|
+
else n2.push(C$2(r2, s2));
|
|
94824
94824
|
return a2 && (h3 ? r2.forEach(((t3) => {
|
|
94825
94825
|
n2.push(S$1(t3, false, s2));
|
|
94826
94826
|
})) : n2.push(i2)), this._d("path", n2, s2);
|
|
@@ -94848,10 +94848,10 @@ let et$1 = class et {
|
|
|
94848
94848
|
let e3 = null;
|
|
94849
94849
|
switch (t3.type) {
|
|
94850
94850
|
case "path":
|
|
94851
|
-
e3 = { d: this.opsToPath(t3), stroke: s2.stroke, strokeWidth: s2.strokeWidth, fill: tt };
|
|
94851
|
+
e3 = { d: this.opsToPath(t3), stroke: s2.stroke, strokeWidth: s2.strokeWidth, fill: tt$1 };
|
|
94852
94852
|
break;
|
|
94853
94853
|
case "fillPath":
|
|
94854
|
-
e3 = { d: this.opsToPath(t3), stroke: tt, strokeWidth: 0, fill: s2.fill || tt };
|
|
94854
|
+
e3 = { d: this.opsToPath(t3), stroke: tt$1, strokeWidth: 0, fill: s2.fill || tt$1 };
|
|
94855
94855
|
break;
|
|
94856
94856
|
case "fillSketch":
|
|
94857
94857
|
e3 = this.fillSketch(t3, s2);
|
|
@@ -94862,13 +94862,13 @@ let et$1 = class et {
|
|
|
94862
94862
|
}
|
|
94863
94863
|
fillSketch(t2, e2) {
|
|
94864
94864
|
let s2 = e2.fillWeight;
|
|
94865
|
-
return s2 < 0 && (s2 = e2.strokeWidth / 2), { d: this.opsToPath(t2), stroke: e2.fill || tt, strokeWidth: s2, fill: tt };
|
|
94865
|
+
return s2 < 0 && (s2 = e2.strokeWidth / 2), { d: this.opsToPath(t2), stroke: e2.fill || tt$1, strokeWidth: s2, fill: tt$1 };
|
|
94866
94866
|
}
|
|
94867
94867
|
_mergedShape(t2) {
|
|
94868
94868
|
return t2.filter(((t3, e2) => 0 === e2 || "move" !== t3.op));
|
|
94869
94869
|
}
|
|
94870
94870
|
};
|
|
94871
|
-
|
|
94871
|
+
class st {
|
|
94872
94872
|
constructor(t2, e2) {
|
|
94873
94873
|
this.canvas = t2, this.ctx = this.canvas.getContext("2d"), this.gen = new et$1(e2);
|
|
94874
94874
|
}
|
|
@@ -94951,9 +94951,9 @@ let st$1 = class st {
|
|
|
94951
94951
|
const s2 = this.gen.path(t2, e2);
|
|
94952
94952
|
return this.draw(s2), s2;
|
|
94953
94953
|
}
|
|
94954
|
-
}
|
|
94954
|
+
}
|
|
94955
94955
|
const nt$1 = "http://www.w3.org/2000/svg";
|
|
94956
|
-
class ot {
|
|
94956
|
+
let ot$1 = class ot {
|
|
94957
94957
|
constructor(t2, e2) {
|
|
94958
94958
|
this.svg = t2, this.gen = new et$1(e2);
|
|
94959
94959
|
}
|
|
@@ -95026,8 +95026,8 @@ class ot {
|
|
|
95026
95026
|
const s2 = this.gen.path(t2, e2);
|
|
95027
95027
|
return this.draw(s2);
|
|
95028
95028
|
}
|
|
95029
|
-
}
|
|
95030
|
-
var at = { canvas: (t2, e2) => new st
|
|
95029
|
+
};
|
|
95030
|
+
var at = { canvas: (t2, e2) => new st(t2, e2), svg: (t2, e2) => new ot$1(t2, e2), generator: (t2) => new et$1(t2), newSeed: () => et$1.newSeed() };
|
|
95031
95031
|
var labelHelper = /* @__PURE__ */ __name(async (parent, node2, _classes) => {
|
|
95032
95032
|
let cssClasses;
|
|
95033
95033
|
const useHtmlLabels = node2.useHtmlLabels || evaluate(getConfig2()?.htmlLabels);
|
|
@@ -101052,12 +101052,12 @@ var registerDefaultLayoutLoaders = /* @__PURE__ */ __name(() => {
|
|
|
101052
101052
|
registerLayoutLoaders([
|
|
101053
101053
|
{
|
|
101054
101054
|
name: "dagre",
|
|
101055
|
-
loader: /* @__PURE__ */ __name(async () => await Promise.resolve().then(() => require("./dagre-6UL2VRFP-
|
|
101055
|
+
loader: /* @__PURE__ */ __name(async () => await Promise.resolve().then(() => require("./dagre-6UL2VRFP-cNT3csyW.cjs")), "loader")
|
|
101056
101056
|
},
|
|
101057
101057
|
...[
|
|
101058
101058
|
{
|
|
101059
101059
|
name: "cose-bilkent",
|
|
101060
|
-
loader: /* @__PURE__ */ __name(async () => await Promise.resolve().then(() => require("./cose-bilkent-S5V4N54A-
|
|
101060
|
+
loader: /* @__PURE__ */ __name(async () => await Promise.resolve().then(() => require("./cose-bilkent-S5V4N54A-BzCy-Dw0.cjs")), "loader")
|
|
101061
101061
|
}
|
|
101062
101062
|
]
|
|
101063
101063
|
]);
|
|
@@ -101088,7 +101088,7 @@ var detector = /* @__PURE__ */ __name((txt) => {
|
|
|
101088
101088
|
return /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(txt);
|
|
101089
101089
|
}, "detector");
|
|
101090
101090
|
var loader = /* @__PURE__ */ __name(async () => {
|
|
101091
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./c4Diagram-YG6GDRKO-
|
|
101091
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./c4Diagram-YG6GDRKO-Bd4Q_vbc.cjs"));
|
|
101092
101092
|
return { id: id$1, diagram: diagram2 };
|
|
101093
101093
|
}, "loader");
|
|
101094
101094
|
var plugin = {
|
|
@@ -101105,7 +101105,7 @@ var detector2 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101105
101105
|
return /^\s*graph/.test(txt);
|
|
101106
101106
|
}, "detector");
|
|
101107
101107
|
var loader2 = /* @__PURE__ */ __name(async () => {
|
|
101108
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./flowDiagram-NV44I4VS-
|
|
101108
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./flowDiagram-NV44I4VS-CU4Xw1sj.cjs"));
|
|
101109
101109
|
return { id: id2, diagram: diagram2 };
|
|
101110
101110
|
}, "loader");
|
|
101111
101111
|
var plugin2 = {
|
|
@@ -101128,7 +101128,7 @@ var detector3 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101128
101128
|
return /^\s*flowchart/.test(txt);
|
|
101129
101129
|
}, "detector");
|
|
101130
101130
|
var loader3 = /* @__PURE__ */ __name(async () => {
|
|
101131
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./flowDiagram-NV44I4VS-
|
|
101131
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./flowDiagram-NV44I4VS-CU4Xw1sj.cjs"));
|
|
101132
101132
|
return { id: id3, diagram: diagram2 };
|
|
101133
101133
|
}, "loader");
|
|
101134
101134
|
var plugin3 = {
|
|
@@ -101142,7 +101142,7 @@ var detector4 = /* @__PURE__ */ __name((txt) => {
|
|
|
101142
101142
|
return /^\s*erDiagram/.test(txt);
|
|
101143
101143
|
}, "detector");
|
|
101144
101144
|
var loader4 = /* @__PURE__ */ __name(async () => {
|
|
101145
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./erDiagram-Q2GNP2WA-
|
|
101145
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./erDiagram-Q2GNP2WA-CNCatwHy.cjs"));
|
|
101146
101146
|
return { id: id4, diagram: diagram2 };
|
|
101147
101147
|
}, "loader");
|
|
101148
101148
|
var plugin4 = {
|
|
@@ -101156,7 +101156,7 @@ var detector5 = /* @__PURE__ */ __name((txt) => {
|
|
|
101156
101156
|
return /^\s*gitGraph/.test(txt);
|
|
101157
101157
|
}, "detector");
|
|
101158
101158
|
var loader5 = /* @__PURE__ */ __name(async () => {
|
|
101159
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./gitGraphDiagram-NY62KEGX-
|
|
101159
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./gitGraphDiagram-NY62KEGX-B9A7sBfQ.cjs"));
|
|
101160
101160
|
return { id: id5, diagram: diagram2 };
|
|
101161
101161
|
}, "loader");
|
|
101162
101162
|
var plugin5 = {
|
|
@@ -101170,7 +101170,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
|
|
|
101170
101170
|
return /^\s*gantt/.test(txt);
|
|
101171
101171
|
}, "detector");
|
|
101172
101172
|
var loader6 = /* @__PURE__ */ __name(async () => {
|
|
101173
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./ganttDiagram-JELNMOA3-
|
|
101173
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./ganttDiagram-JELNMOA3-Bjokptet.cjs"));
|
|
101174
101174
|
return { id: id6, diagram: diagram2 };
|
|
101175
101175
|
}, "loader");
|
|
101176
101176
|
var plugin6 = {
|
|
@@ -101184,7 +101184,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
|
|
|
101184
101184
|
return /^\s*info/.test(txt);
|
|
101185
101185
|
}, "detector");
|
|
101186
101186
|
var loader7 = /* @__PURE__ */ __name(async () => {
|
|
101187
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./infoDiagram-WHAUD3N6-
|
|
101187
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./infoDiagram-WHAUD3N6-VYdtmZcg.cjs"));
|
|
101188
101188
|
return { id: id7, diagram: diagram2 };
|
|
101189
101189
|
}, "loader");
|
|
101190
101190
|
var info = {
|
|
@@ -101197,7 +101197,7 @@ var detector8 = /* @__PURE__ */ __name((txt) => {
|
|
|
101197
101197
|
return /^\s*pie/.test(txt);
|
|
101198
101198
|
}, "detector");
|
|
101199
101199
|
var loader8 = /* @__PURE__ */ __name(async () => {
|
|
101200
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./pieDiagram-ADFJNKIX-
|
|
101200
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./pieDiagram-ADFJNKIX-BHv_Zty6.cjs"));
|
|
101201
101201
|
return { id: id8, diagram: diagram2 };
|
|
101202
101202
|
}, "loader");
|
|
101203
101203
|
var pie = {
|
|
@@ -101210,7 +101210,7 @@ var detector9 = /* @__PURE__ */ __name((txt) => {
|
|
|
101210
101210
|
return /^\s*quadrantChart/.test(txt);
|
|
101211
101211
|
}, "detector");
|
|
101212
101212
|
var loader9 = /* @__PURE__ */ __name(async () => {
|
|
101213
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./quadrantDiagram-AYHSOK5B-
|
|
101213
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./quadrantDiagram-AYHSOK5B-Bcmhm8n7.cjs"));
|
|
101214
101214
|
return { id: id9, diagram: diagram2 };
|
|
101215
101215
|
}, "loader");
|
|
101216
101216
|
var plugin7 = {
|
|
@@ -101224,7 +101224,7 @@ var detector10 = /* @__PURE__ */ __name((txt) => {
|
|
|
101224
101224
|
return /^\s*xychart(-beta)?/.test(txt);
|
|
101225
101225
|
}, "detector");
|
|
101226
101226
|
var loader10 = /* @__PURE__ */ __name(async () => {
|
|
101227
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./xychartDiagram-PRI3JC2R-
|
|
101227
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./xychartDiagram-PRI3JC2R-CdGLWe8Y.cjs"));
|
|
101228
101228
|
return { id: id10, diagram: diagram2 };
|
|
101229
101229
|
}, "loader");
|
|
101230
101230
|
var plugin8 = {
|
|
@@ -101238,7 +101238,7 @@ var detector11 = /* @__PURE__ */ __name((txt) => {
|
|
|
101238
101238
|
return /^\s*requirement(Diagram)?/.test(txt);
|
|
101239
101239
|
}, "detector");
|
|
101240
101240
|
var loader11 = /* @__PURE__ */ __name(async () => {
|
|
101241
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./requirementDiagram-UZGBJVZJ-
|
|
101241
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./requirementDiagram-UZGBJVZJ-BcGzLEBJ.cjs"));
|
|
101242
101242
|
return { id: id11, diagram: diagram2 };
|
|
101243
101243
|
}, "loader");
|
|
101244
101244
|
var plugin9 = {
|
|
@@ -101252,7 +101252,7 @@ var detector12 = /* @__PURE__ */ __name((txt) => {
|
|
|
101252
101252
|
return /^\s*sequenceDiagram/.test(txt);
|
|
101253
101253
|
}, "detector");
|
|
101254
101254
|
var loader12 = /* @__PURE__ */ __name(async () => {
|
|
101255
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./sequenceDiagram-WL72ISMW-
|
|
101255
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./sequenceDiagram-WL72ISMW-BIwpFesl.cjs"));
|
|
101256
101256
|
return { id: id12, diagram: diagram2 };
|
|
101257
101257
|
}, "loader");
|
|
101258
101258
|
var plugin10 = {
|
|
@@ -101269,7 +101269,7 @@ var detector13 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101269
101269
|
return /^\s*classDiagram/.test(txt);
|
|
101270
101270
|
}, "detector");
|
|
101271
101271
|
var loader13 = /* @__PURE__ */ __name(async () => {
|
|
101272
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./classDiagram-2ON5EDUG-
|
|
101272
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./classDiagram-2ON5EDUG-h23rBY2e.cjs"));
|
|
101273
101273
|
return { id: id13, diagram: diagram2 };
|
|
101274
101274
|
}, "loader");
|
|
101275
101275
|
var plugin11 = {
|
|
@@ -101286,7 +101286,7 @@ var detector14 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101286
101286
|
return /^\s*classDiagram-v2/.test(txt);
|
|
101287
101287
|
}, "detector");
|
|
101288
101288
|
var loader14 = /* @__PURE__ */ __name(async () => {
|
|
101289
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./classDiagram-v2-WZHVMYZB-
|
|
101289
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./classDiagram-v2-WZHVMYZB-h23rBY2e.cjs"));
|
|
101290
101290
|
return { id: id14, diagram: diagram2 };
|
|
101291
101291
|
}, "loader");
|
|
101292
101292
|
var plugin12 = {
|
|
@@ -101303,7 +101303,7 @@ var detector15 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101303
101303
|
return /^\s*stateDiagram/.test(txt);
|
|
101304
101304
|
}, "detector");
|
|
101305
101305
|
var loader15 = /* @__PURE__ */ __name(async () => {
|
|
101306
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./stateDiagram-FKZM4ZOC-
|
|
101306
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./stateDiagram-FKZM4ZOC-B5Szi-M9.cjs"));
|
|
101307
101307
|
return { id: id15, diagram: diagram2 };
|
|
101308
101308
|
}, "loader");
|
|
101309
101309
|
var plugin13 = {
|
|
@@ -101323,7 +101323,7 @@ var detector16 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
101323
101323
|
return false;
|
|
101324
101324
|
}, "detector");
|
|
101325
101325
|
var loader16 = /* @__PURE__ */ __name(async () => {
|
|
101326
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./stateDiagram-v2-4FDKWEC3-
|
|
101326
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./stateDiagram-v2-4FDKWEC3-RdWM-Y50.cjs"));
|
|
101327
101327
|
return { id: id16, diagram: diagram2 };
|
|
101328
101328
|
}, "loader");
|
|
101329
101329
|
var plugin14 = {
|
|
@@ -101337,7 +101337,7 @@ var detector17 = /* @__PURE__ */ __name((txt) => {
|
|
|
101337
101337
|
return /^\s*journey/.test(txt);
|
|
101338
101338
|
}, "detector");
|
|
101339
101339
|
var loader17 = /* @__PURE__ */ __name(async () => {
|
|
101340
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./journeyDiagram-XKPGCS4Q-
|
|
101340
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./journeyDiagram-XKPGCS4Q-Dg4utYJu.cjs"));
|
|
101341
101341
|
return { id: id17, diagram: diagram2 };
|
|
101342
101342
|
}, "loader");
|
|
101343
101343
|
var plugin15 = {
|
|
@@ -101404,7 +101404,7 @@ var detector18 = /* @__PURE__ */ __name((txt, config2 = {}) => {
|
|
|
101404
101404
|
return false;
|
|
101405
101405
|
}, "detector");
|
|
101406
101406
|
var loader18 = /* @__PURE__ */ __name(async () => {
|
|
101407
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./flowDiagram-NV44I4VS-
|
|
101407
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./flowDiagram-NV44I4VS-CU4Xw1sj.cjs"));
|
|
101408
101408
|
return { id: id18, diagram: diagram2 };
|
|
101409
101409
|
}, "loader");
|
|
101410
101410
|
var plugin16 = {
|
|
@@ -101418,7 +101418,7 @@ var detector19 = /* @__PURE__ */ __name((txt) => {
|
|
|
101418
101418
|
return /^\s*timeline/.test(txt);
|
|
101419
101419
|
}, "detector");
|
|
101420
101420
|
var loader19 = /* @__PURE__ */ __name(async () => {
|
|
101421
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./timeline-definition-IT6M3QCI-
|
|
101421
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./timeline-definition-IT6M3QCI-BfLzg1j1.cjs"));
|
|
101422
101422
|
return { id: id19, diagram: diagram2 };
|
|
101423
101423
|
}, "loader");
|
|
101424
101424
|
var plugin17 = {
|
|
@@ -101432,7 +101432,7 @@ var detector20 = /* @__PURE__ */ __name((txt) => {
|
|
|
101432
101432
|
return /^\s*mindmap/.test(txt);
|
|
101433
101433
|
}, "detector");
|
|
101434
101434
|
var loader20 = /* @__PURE__ */ __name(async () => {
|
|
101435
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./mindmap-definition-VGOIOE7T-
|
|
101435
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./mindmap-definition-VGOIOE7T-BYzPzKVW.cjs"));
|
|
101436
101436
|
return { id: id20, diagram: diagram2 };
|
|
101437
101437
|
}, "loader");
|
|
101438
101438
|
var plugin18 = {
|
|
@@ -101446,7 +101446,7 @@ var detector21 = /* @__PURE__ */ __name((txt) => {
|
|
|
101446
101446
|
return /^\s*kanban/.test(txt);
|
|
101447
101447
|
}, "detector");
|
|
101448
101448
|
var loader21 = /* @__PURE__ */ __name(async () => {
|
|
101449
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./kanban-definition-3W4ZIXB7-
|
|
101449
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./kanban-definition-3W4ZIXB7-CSgLYf0d.cjs"));
|
|
101450
101450
|
return { id: id21, diagram: diagram2 };
|
|
101451
101451
|
}, "loader");
|
|
101452
101452
|
var plugin19 = {
|
|
@@ -101460,7 +101460,7 @@ var detector22 = /* @__PURE__ */ __name((txt) => {
|
|
|
101460
101460
|
return /^\s*sankey(-beta)?/.test(txt);
|
|
101461
101461
|
}, "detector");
|
|
101462
101462
|
var loader22 = /* @__PURE__ */ __name(async () => {
|
|
101463
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./sankeyDiagram-TZEHDZUN-
|
|
101463
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./sankeyDiagram-TZEHDZUN-CZ481e57.cjs"));
|
|
101464
101464
|
return { id: id22, diagram: diagram2 };
|
|
101465
101465
|
}, "loader");
|
|
101466
101466
|
var plugin20 = {
|
|
@@ -101474,7 +101474,7 @@ var detector23 = /* @__PURE__ */ __name((txt) => {
|
|
|
101474
101474
|
return /^\s*packet(-beta)?/.test(txt);
|
|
101475
101475
|
}, "detector");
|
|
101476
101476
|
var loader23 = /* @__PURE__ */ __name(async () => {
|
|
101477
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./diagram-S2PKOQOG-
|
|
101477
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./diagram-S2PKOQOG-DqjsN27Z.cjs"));
|
|
101478
101478
|
return { id: id23, diagram: diagram2 };
|
|
101479
101479
|
}, "loader");
|
|
101480
101480
|
var packet = {
|
|
@@ -101487,7 +101487,7 @@ var detector24 = /* @__PURE__ */ __name((txt) => {
|
|
|
101487
101487
|
return /^\s*radar-beta/.test(txt);
|
|
101488
101488
|
}, "detector");
|
|
101489
101489
|
var loader24 = /* @__PURE__ */ __name(async () => {
|
|
101490
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./diagram-QEK2KX5R-
|
|
101490
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./diagram-QEK2KX5R-CU593QLD.cjs"));
|
|
101491
101491
|
return { id: id24, diagram: diagram2 };
|
|
101492
101492
|
}, "loader");
|
|
101493
101493
|
var radar = {
|
|
@@ -101500,7 +101500,7 @@ var detector25 = /* @__PURE__ */ __name((txt) => {
|
|
|
101500
101500
|
return /^\s*block(-beta)?/.test(txt);
|
|
101501
101501
|
}, "detector");
|
|
101502
101502
|
var loader25 = /* @__PURE__ */ __name(async () => {
|
|
101503
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./blockDiagram-VD42YOAC-
|
|
101503
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./blockDiagram-VD42YOAC-JRX9jru9.cjs"));
|
|
101504
101504
|
return { id: id25, diagram: diagram2 };
|
|
101505
101505
|
}, "loader");
|
|
101506
101506
|
var plugin21 = {
|
|
@@ -101514,7 +101514,7 @@ var detector26 = /* @__PURE__ */ __name((txt) => {
|
|
|
101514
101514
|
return /^\s*architecture/.test(txt);
|
|
101515
101515
|
}, "detector");
|
|
101516
101516
|
var loader26 = /* @__PURE__ */ __name(async () => {
|
|
101517
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./architectureDiagram-VXUJARFQ-
|
|
101517
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./architectureDiagram-VXUJARFQ-EJY4hbYt.cjs"));
|
|
101518
101518
|
return { id: id26, diagram: diagram2 };
|
|
101519
101519
|
}, "loader");
|
|
101520
101520
|
var architecture = {
|
|
@@ -101528,7 +101528,7 @@ var detector27 = /* @__PURE__ */ __name((txt) => {
|
|
|
101528
101528
|
return /^\s*treemap/.test(txt);
|
|
101529
101529
|
}, "detector");
|
|
101530
101530
|
var loader27 = /* @__PURE__ */ __name(async () => {
|
|
101531
|
-
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./diagram-PSM6KHXK-
|
|
101531
|
+
const { diagram: diagram2 } = await Promise.resolve().then(() => require("./diagram-PSM6KHXK-qDYzVwmO.cjs"));
|
|
101532
101532
|
return { id: id27, diagram: diagram2 };
|
|
101533
101533
|
}, "loader");
|
|
101534
101534
|
var treemap = {
|
|
@@ -102637,9 +102637,9 @@ const Mermaid = /* @__PURE__ */ React.memo((props) => {
|
|
|
102637
102637
|
console.error("vite-plugin-css-injected-by-js", r2);
|
|
102638
102638
|
}
|
|
102639
102639
|
})();
|
|
102640
|
-
const { Text: k$
|
|
102640
|
+
const { Text: k$2 } = antd.Typography, N$1 = (t2) => {
|
|
102641
102641
|
const { className: o2, children: r2 } = t2, n2 = o2?.match(/language-(\w+)/)?.[1] ?? "";
|
|
102642
|
-
return typeof r2 != "string" ? null : n2 === "mermaid" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Mermaid, { children: r2 }) : n2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(CodeHighlighter, { lang: n2, children: r2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(k$
|
|
102642
|
+
return typeof r2 != "string" ? null : n2 === "mermaid" ? /* @__PURE__ */ jsxRuntimeExports.jsx(Mermaid, { children: r2 }) : n2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(CodeHighlighter, { lang: n2, children: r2 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(k$2, { code: true, children: r2 });
|
|
102643
102643
|
}, m = (t2) => typeof t2 == "string" || typeof t2 == "number" ? String(t2) : React.isValidElement(t2) ? m(t2.props.children) : Array.isArray(t2) ? t2.map(m).join("") : "", $$1 = (t2) => {
|
|
102644
102644
|
const o2 = [], r2 = [], n2 = React.Children.toArray(t2);
|
|
102645
102645
|
for (const e2 of n2) {
|
|
@@ -105256,10 +105256,10 @@ function ve(t2, e2 = {}) {
|
|
|
105256
105256
|
}
|
|
105257
105257
|
const j = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
|
|
105258
105258
|
j.primary = j[5];
|
|
105259
|
-
function ke
|
|
105259
|
+
function ke() {
|
|
105260
105260
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
105261
105261
|
}
|
|
105262
|
-
function Ce(t2, e2) {
|
|
105262
|
+
function Ce$1(t2, e2) {
|
|
105263
105263
|
if (!t2)
|
|
105264
105264
|
return false;
|
|
105265
105265
|
if (t2.contains)
|
|
@@ -105288,7 +105288,7 @@ function I$1(t2) {
|
|
|
105288
105288
|
return Array.from(($2.get(t2) || t2).children).filter((e2) => e2.tagName === "STYLE");
|
|
105289
105289
|
}
|
|
105290
105290
|
function re(t2, e2 = {}) {
|
|
105291
|
-
if (!ke
|
|
105291
|
+
if (!ke())
|
|
105292
105292
|
return null;
|
|
105293
105293
|
const {
|
|
105294
105294
|
csp: n2,
|
|
@@ -105323,7 +105323,7 @@ function Ne$1(t2, e2 = {}) {
|
|
|
105323
105323
|
}
|
|
105324
105324
|
function Me$1(t2, e2) {
|
|
105325
105325
|
const n2 = $2.get(t2);
|
|
105326
|
-
if (!n2 || !Ce(document, n2)) {
|
|
105326
|
+
if (!n2 || !Ce$1(document, n2)) {
|
|
105327
105327
|
const r2 = re("", e2), {
|
|
105328
105328
|
parentNode: s2
|
|
105329
105329
|
} = r2;
|
|
@@ -105345,11 +105345,11 @@ function je(t2, e2, n2 = {}) {
|
|
|
105345
105345
|
function se(t2) {
|
|
105346
105346
|
return t2?.getRootNode?.();
|
|
105347
105347
|
}
|
|
105348
|
-
function $e
|
|
105348
|
+
function $e(t2) {
|
|
105349
105349
|
return se(t2) instanceof ShadowRoot;
|
|
105350
105350
|
}
|
|
105351
105351
|
function He$1(t2) {
|
|
105352
|
-
return $e
|
|
105352
|
+
return $e(t2) ? se(t2) : null;
|
|
105353
105353
|
}
|
|
105354
105354
|
let H$1 = {};
|
|
105355
105355
|
const O$2 = [], Te = (t2) => {
|
|
@@ -105373,20 +105373,20 @@ function qe() {
|
|
|
105373
105373
|
function ie(t2, e2, n2) {
|
|
105374
105374
|
!e2 && !H$1[n2] && (t2(false, n2), H$1[n2] = true);
|
|
105375
105375
|
}
|
|
105376
|
-
function k(t2, e2) {
|
|
105376
|
+
function k$1(t2, e2) {
|
|
105377
105377
|
ie(Re$1, t2, e2);
|
|
105378
105378
|
}
|
|
105379
105379
|
function Ae$1(t2, e2) {
|
|
105380
105380
|
ie(Ee, t2, e2);
|
|
105381
105381
|
}
|
|
105382
|
-
k.preMessage = Te;
|
|
105383
|
-
k.resetWarned = qe;
|
|
105384
|
-
k.noteOnce = Ae$1;
|
|
105382
|
+
k$1.preMessage = Te;
|
|
105383
|
+
k$1.resetWarned = qe;
|
|
105384
|
+
k$1.noteOnce = Ae$1;
|
|
105385
105385
|
function Ie$1(t2) {
|
|
105386
105386
|
return t2.replace(/-(.)/g, (e2, n2) => n2.toUpperCase());
|
|
105387
105387
|
}
|
|
105388
105388
|
function Oe$1(t2, e2) {
|
|
105389
|
-
k(t2, `[@ant-design/icons] ${e2}`);
|
|
105389
|
+
k$1(t2, `[@ant-design/icons] ${e2}`);
|
|
105390
105390
|
}
|
|
105391
105391
|
function U$1(t2) {
|
|
105392
105392
|
return typeof t2 == "object" && typeof t2.name == "string" && typeof t2.theme == "string" && (typeof t2.icon == "object" || typeof t2.icon == "function");
|
|
@@ -105413,7 +105413,7 @@ function oe(t2) {
|
|
|
105413
105413
|
function ae$1(t2) {
|
|
105414
105414
|
return t2 ? Array.isArray(t2) ? t2 : [t2] : [];
|
|
105415
105415
|
}
|
|
105416
|
-
const Le
|
|
105416
|
+
const Le = `
|
|
105417
105417
|
.anticon {
|
|
105418
105418
|
display: inline-flex;
|
|
105419
105419
|
align-items: center;
|
|
@@ -105475,7 +105475,7 @@ const Le$1 = `
|
|
|
105475
105475
|
prefixCls: n2,
|
|
105476
105476
|
layer: r2
|
|
105477
105477
|
} = React.useContext(X$1);
|
|
105478
|
-
let s2 = Le
|
|
105478
|
+
let s2 = Le;
|
|
105479
105479
|
n2 && (s2 = s2.replace(/anticon/g, n2)), r2 && (s2 = `@layer ${r2} {
|
|
105480
105480
|
${s2}
|
|
105481
105481
|
}`), React.useEffect(() => {
|
|
@@ -105560,7 +105560,7 @@ function R$1() {
|
|
|
105560
105560
|
}, R$1.apply(this, arguments);
|
|
105561
105561
|
}
|
|
105562
105562
|
ce(j.primary);
|
|
105563
|
-
const C$
|
|
105563
|
+
const C$1 = /* @__PURE__ */ React__namespace.forwardRef((t2, e2) => {
|
|
105564
105564
|
const {
|
|
105565
105565
|
// affect outter <i>...</i>
|
|
105566
105566
|
className: n2,
|
|
@@ -105601,9 +105601,9 @@ const C$2 = /* @__PURE__ */ React__namespace.forwardRef((t2, e2) => {
|
|
|
105601
105601
|
style: S3
|
|
105602
105602
|
}));
|
|
105603
105603
|
});
|
|
105604
|
-
C$
|
|
105605
|
-
C$
|
|
105606
|
-
process.env.NODE_ENV !== "production" && (C$
|
|
105604
|
+
C$1.getTwoToneColor = De$1;
|
|
105605
|
+
C$1.setTwoToneColor = ce;
|
|
105606
|
+
process.env.NODE_ENV !== "production" && (C$1.displayName = "AntdIcon");
|
|
105607
105607
|
var Ve = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" };
|
|
105608
105608
|
function E() {
|
|
105609
105609
|
return E = Object.assign ? Object.assign.bind() : function(t2) {
|
|
@@ -105615,7 +105615,7 @@ function E() {
|
|
|
105615
105615
|
return t2;
|
|
105616
105616
|
}, E.apply(this, arguments);
|
|
105617
105617
|
}
|
|
105618
|
-
const We$1 = (t2, e2) => /* @__PURE__ */ React__namespace.createElement(C$
|
|
105618
|
+
const We$1 = (t2, e2) => /* @__PURE__ */ React__namespace.createElement(C$1, E({}, t2, {
|
|
105619
105619
|
ref: e2,
|
|
105620
105620
|
icon: Ve
|
|
105621
105621
|
})), le$1 = /* @__PURE__ */ React__namespace.forwardRef(We$1);
|
|
@@ -105704,7 +105704,7 @@ function v({ breadcrumbs: e2 }) {
|
|
|
105704
105704
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "", children: t2 })
|
|
105705
105705
|
] }, `${t2}-${l3}`)) }) : null;
|
|
105706
105706
|
}
|
|
105707
|
-
function C
|
|
105707
|
+
function C(e2, t2) {
|
|
105708
105708
|
const l3 = t2 === "_blank" ? "noreferrer noopener" : "";
|
|
105709
105709
|
return e2 ? l3 ? [...new Set([...e2.split(" "), ...l3.split(" ")].filter(Boolean))].join(" ") : e2 : l3 || void 0;
|
|
105710
105710
|
}
|
|
@@ -105722,7 +105722,7 @@ function b({
|
|
|
105722
105722
|
{
|
|
105723
105723
|
href: e2,
|
|
105724
105724
|
target: t2,
|
|
105725
|
-
rel: C
|
|
105725
|
+
rel: C(l3, t2),
|
|
105726
105726
|
className: a2,
|
|
105727
105727
|
onClick: () => r2?.(),
|
|
105728
105728
|
children: s2
|
|
@@ -105989,7 +105989,7 @@ function q$1({
|
|
|
105989
105989
|
className: l3,
|
|
105990
105990
|
href: e2.href,
|
|
105991
105991
|
target: e2.target,
|
|
105992
|
-
rel: C
|
|
105992
|
+
rel: C(e2.rel, e2.target),
|
|
105993
105993
|
onClick: () => e2.onClick?.(),
|
|
105994
105994
|
children: e2.label
|
|
105995
105995
|
}
|
|
@@ -106233,16 +106233,16 @@ function Z$1(e2) {
|
|
|
106233
106233
|
try {
|
|
106234
106234
|
if (typeof document < "u") {
|
|
106235
106235
|
var r2 = document.createElement("style");
|
|
106236
|
-
r2.appendChild(document.createTextNode('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-20{top:calc(var(--spacing)*20)}.top-21{top:calc(var(--spacing)*21)}.top-full{top:100%}.right-4{right:calc(var(--spacing)*4)}.right-5{right:calc(var(--spacing)*5)}.right-full{right:100%}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-2\\.5{left:calc(var(--spacing)*2.5)}.left-full{left:100%}.z-50{z-index:50}.z-999{z-index:999}.z-1000{z-index:1000}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.my-3{margin-block:calc(var(--spacing)*3)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-2{margin-right:calc(var(--spacing)*2)}.-mb-0\\.5{margin-bottom:calc(var(--spacing)*-.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-\\[75\\%\\]{width:75%}.w-fit{width:fit-content}.w-full{width:100%}.w-full\\!{width:100%!important}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[520px\\]{max-width:520px}.max-w-\\[730px\\]{max-width:730px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[\\#018AE5\\]{border-color:#018ae5}.border-\\[\\#E4E5EF\\]{border-color:#e4e5ef}.border-\\[\\#E6E6E6\\]{border-color:#e6e6e6}.border-\\[\\#EEF0F3\\]{border-color:#eef0f3}.border-\\[\\#e5e5e5\\]{border-color:#e5e5e5}.border-black\\/12{border-color:#0000001f}@supports (color:color-mix(in lab,red,red)){.border-black\\/12{border-color:color-mix(in oklab,var(--color-black)12%,transparent)}}.border-black\\/15{border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-black\\/15{border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-500{border-color:var(--color-blue-500)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.bg-\\[\\#00C868\\]{background-color:#00c868}.bg-\\[\\#1a1a1a\\]{background-color:#1a1a1a}.bg-\\[\\#1784FC\\]{background-color:#1784fc}.bg-\\[\\#666666\\]{background-color:#666}.bg-\\[\\#E9F0FE\\]{background-color:#e9f0fe}.bg-\\[\\#F3F4F6\\]{background-color:#f3f4f6}.bg-\\[\\#F5F5F5\\]{background-color:#f5f5f5}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-50\\/30{background-color:#eff6ff4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\!{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-\\[2px\\]{padding:2px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pl-0{padding-left:calc(var(--spacing)*0)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-7{padding-left:calc(var(--spacing)*7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#8b8b8b\\]{color:#8b8b8b}.text-\\[\\#018AE5\\]{color:#018ae5}.text-\\[\\#22C55E\\]{color:#22c55e}.text-\\[\\#38C200\\]{color:#38c200}.text-\\[\\#148EFF\\]{color:#148eff}.text-\\[\\#333\\]{color:#333}.text-\\[\\#999\\]{color:#999}.text-\\[\\#1784FC\\]{color:#1784fc}.text-\\[\\#1990FF\\]{color:#1990ff}.text-\\[\\#333333\\]{color:#333}.text-\\[\\#666666\\]{color:#666}.text-\\[\\#999999\\]{color:#999}.text-\\[\\#C8C8C8\\]{color:#c8c8c8}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-white{color:var(--color-white)}.italic{font-style:italic}.opacity-0{opacity:0}.shadow-\\[0_2px_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 2px 20px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.group-hover\\:text-\\[\\#0072FF\\]:is(:where(.group):hover *){color:#0072ff}.group-hover\\:text-\\[\\#1784FC\\]:is(:where(.group):hover *){color:#1784fc}}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\\:pb-0:last-child{padding-bottom:calc(var(--spacing)*0)}@media (hover:hover){.hover\\:border-\\[\\#0072ff\\]\\!:hover{border-color:#0072ff!important}.hover\\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\\:bg-\\[\\#E0E9FD\\]:hover{background-color:#e0e9fd}.hover\\:bg-\\[\\#EDEDED\\]:hover{background-color:#ededed}.hover\\:bg-\\[\\#F7F7F7\\]:hover{background-color:#f7f7f7}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:text-\\[\\#0072ff\\]\\!:hover{color:#0072ff!important}.hover\\:text-\\[\\#ff4d4f\\]\\!:hover{color:#ff4d4f!important}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:opacity-80:hover{opacity:.8}}@media (min-width:48rem){.md\\:w-\\[610px\\]{width:610px}}.dark\\:border-\\[\\#1D3A6F\\]:where(.dark,.dark *){border-color:#1d3a6f}.dark\\:border-\\[\\#3A3A3A\\]:where(.dark,.dark *){border-color:#3a3a3a}.dark\\:border-\\[\\#4e4e56\\]:where(.dark,.dark *){border-color:#4e4e56}.dark\\:border-\\[\\#272626\\]:where(.dark,.dark *){border-color:#272626}.dark\\:border-black\\/15:where(.dark,.dark *){border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.dark\\:border-black\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:border-gray-700:where(.dark,.dark *){border-color:var(--color-gray-700)}.dark\\:border-gray-800:where(.dark,.dark *){border-color:var(--color-gray-800)}.dark\\:border-white\\/15:where(.dark,.dark *){border-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.dark\\:border-white\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.dark\\:bg-\\[\\#1E1E1E\\]:where(.dark,.dark *){background-color:#1e1e1e}.dark\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *){background-color:#1f2937}.dark\\:bg-\\[\\#2A2A2A\\]:where(.dark,.dark *){background-color:#2a2a2a}.dark\\:bg-\\[\\#020617\\]:where(.dark,.dark *){background-color:#020617}.dark\\:bg-\\[\\#020817\\]:where(.dark,.dark *){background-color:#020817}.dark\\:bg-\\[\\#111827\\]:where(.dark,.dark *){background-color:#111827}.dark\\:bg-\\[\\#202126\\]:where(.dark,.dark *){background-color:#202126}.dark\\:bg-\\[\\#202126\\]\\!:where(.dark,.dark *){background-color:#202126!important}.dark\\:bg-\\[\\#A3A3A3\\]:where(.dark,.dark *){background-color:#a3a3a3}.dark\\:bg-black:where(.dark,.dark *){background-color:var(--color-black)}.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:#1c398e1a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)10%,transparent)}}.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\\:text-\\[\\#38C200\\]:where(.dark,.dark *){color:#38c200}.dark\\:text-\\[\\#666\\]:where(.dark,.dark *){color:#666}.dark\\:text-\\[\\#1990FF\\]:where(.dark,.dark *){color:#1990ff}.dark\\:text-\\[\\#808080\\]:where(.dark,.dark *){color:gray}.dark\\:text-\\[\\#999999\\]:where(.dark,.dark *){color:#999}.dark\\:text-\\[\\#A3A3A3\\]:where(.dark,.dark *){color:#a3a3a3}.dark\\:text-\\[\\#A6A6A6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-\\[\\#D1D5DB\\]:where(.dark,.dark *){color:#d1d5db}.dark\\:text-\\[\\#D8D8D8\\]:where(.dark,.dark *){color:#d8d8d8}.dark\\:text-\\[\\#E5E7EB\\]:where(.dark,.dark *){color:#e5e7eb}.dark\\:text-\\[\\#a6a6a6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-blue-400:where(.dark,.dark *){color:var(--color-blue-400)}.dark\\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:shadow-\\[0_2px_20px_rgba\\(255\\,255\\,255\\,0\\.1\\)\\]:where(.dark,.dark *){--tw-shadow:0 2px 20px var(--tw-shadow-color,#ffffff1a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:drop-shadow-\\[0_0_6px_rgb\\(255\\,255\\,255\\)\\]:where(.dark,.dark *){--tw-drop-shadow-size:drop-shadow(0 0 6px var(--tw-drop-shadow-color,#fff));--tw-drop-shadow:var(--tw-drop-shadow-size);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (hover:hover){.dark\\:group-hover\\:text-\\[\\#0072FF\\]:where(.dark,.dark *):is(:where(.group):hover *){color:#0072ff}.dark\\:hover\\:border-blue-800:where(.dark,.dark *):hover{border-color:var(--color-blue-800)}.dark\\:hover\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *):hover{background-color:#1f2937}.dark\\:hover\\:bg-\\[\\#2C2C2C\\]:where(.dark,.dark *):hover{background-color:#2c2c2c}.dark\\:hover\\:bg-\\[\\#3A3A3A\\]:where(.dark,.dark *):hover{background-color:#3a3a3a}.dark\\:hover\\:bg-\\[\\#111827\\]:where(.dark,.dark *):hover{background-color:#111827}.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:#1c398e80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)50%,transparent)}}.dark\\:hover\\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\\:hover\\:text-blue-400:where(.dark,.dark *):hover{color:var(--color-blue-400)}}.\\[\\&_\\.ant-btn-icon\\]\\:flex .ant-btn-icon{display:flex}}.cm-deep-research-segmented .ant-segmented-item-label{font-size:16px}.cm-deep-research-segmented .ant-segmented-group{background-color:#fff;padding:2px}.cm-deep-research-segmented .ant-segmented-item{background-color:#fff}.cm-deep-research-segmented .ant-segmented-item:not(:last-child){margin-right:2px}.cm-deep-research-segmented .ant-segmented-item-selected{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item-selected .ant-segmented-item-label{color:#1784fc}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected) .ant-segmented-item-label{color:#333}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover .ant-segmented-item-label{color:#1784fc}.cm-markdown h1,.cm-markdown h2,.cm-markdown h3,.cm-markdown h4,.cm-markdown h5,.cm-markdown h6,.cm-markdown p,.cm-markdown ul,.cm-markdown ol{all:revert}.cm-markdown h1{margin-bottom:16px;font-size:24px;font-weight:600;line-height:32px}.cm-markdown h2{margin-top:24px;margin-bottom:8px;font-size:18px;font-weight:600;line-height:26px}.cm-markdown ol{margin-left:24px;list-style:decimal}.cm-markdown p{margin:4px 0;line-height:1.7}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}')), document.head.appendChild(r2);
|
|
106236
|
+
r2.appendChild(document.createTextNode('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-20{top:calc(var(--spacing)*20)}.top-21{top:calc(var(--spacing)*21)}.top-full{top:100%}.right-4{right:calc(var(--spacing)*4)}.right-5{right:calc(var(--spacing)*5)}.right-full{right:100%}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-20{bottom:calc(var(--spacing)*20)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-2{left:calc(var(--spacing)*2)}.left-full{left:100%}.z-50{z-index:50}.z-999{z-index:999}.z-1000{z-index:1000}.-mx-6{margin-inline:calc(var(--spacing)*-6)}.my-3{margin-block:calc(var(--spacing)*3)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-5{margin-top:calc(var(--spacing)*5)}.mr-2{margin-right:calc(var(--spacing)*2)}.-mb-0\\.5{margin-bottom:calc(var(--spacing)*-.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-1\\.5{margin-left:calc(var(--spacing)*1.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5{width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6{width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-10{height:calc(var(--spacing)*10)}.h-full{height:100%}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-10{width:calc(var(--spacing)*10)}.w-\\[75\\%\\]{width:75%}.w-fit{width:fit-content}.w-full{width:100%}.w-full\\!{width:100%!important}.max-w-\\[85\\%\\]{max-width:85%}.max-w-\\[520px\\]{max-width:520px}.max-w-\\[730px\\]{max-width:730px}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-32{min-width:calc(var(--spacing)*32)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\\[\\#018AE5\\]{border-color:#018ae5}.border-\\[\\#018AE5\\]\\/20{border-color:#018ae533}.border-\\[\\#E4E5EF\\]{border-color:#e4e5ef}.border-\\[\\#E6E6E6\\]{border-color:#e6e6e6}.border-\\[\\#EEF0F3\\]{border-color:#eef0f3}.border-\\[\\#e5e5e5\\]{border-color:#e5e5e5}.border-black\\/12{border-color:#0000001f}@supports (color:color-mix(in lab,red,red)){.border-black\\/12{border-color:color-mix(in oklab,var(--color-black)12%,transparent)}}.border-black\\/15{border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.border-black\\/15{border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.border-blue-100{border-color:var(--color-blue-100)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.bg-\\[\\#00C868\\]{background-color:#00c868}.bg-\\[\\#1a1a1a\\]{background-color:#1a1a1a}.bg-\\[\\#1784FC\\]{background-color:#1784fc}.bg-\\[\\#666666\\]{background-color:#666}.bg-\\[\\#E9F0FE\\]{background-color:#e9f0fe}.bg-\\[\\#F3F4F6\\]{background-color:#f3f4f6}.bg-\\[\\#F5F5F5\\]{background-color:#f5f5f5}.bg-\\[\\#F7F7F7\\]{background-color:#f7f7f7}.bg-black\\/20{background-color:#0003}@supports (color:color-mix(in lab,red,red)){.bg-black\\/20{background-color:color-mix(in oklab,var(--color-black)20%,transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-50\\/30{background-color:#eff6ff4d}@supports (color:color-mix(in lab,red,red)){.bg-blue-50\\/30{background-color:color-mix(in oklab,var(--color-blue-50)30%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-white{background-color:var(--color-white)}.p-0{padding:calc(var(--spacing)*0)}.p-0\\!{padding:calc(var(--spacing)*0)!important}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-\\[2px\\]{padding:2px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-6{padding-right:calc(var(--spacing)*6)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pl-0{padding-left:calc(var(--spacing)*0)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-7{padding-left:calc(var(--spacing)*7)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.wrap-break-word{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\\[\\#8b8b8b\\]{color:#8b8b8b}.text-\\[\\#018AE5\\]{color:#018ae5}.text-\\[\\#22C55E\\]{color:#22c55e}.text-\\[\\#38C200\\]{color:#38c200}.text-\\[\\#148EFF\\]{color:#148eff}.text-\\[\\#333\\]{color:#333}.text-\\[\\#999\\]{color:#999}.text-\\[\\#1784FC\\]{color:#1784fc}.text-\\[\\#1990FF\\]{color:#1990ff}.text-\\[\\#333333\\]{color:#333}.text-\\[\\#666666\\]{color:#666}.text-\\[\\#999999\\]{color:#999}.text-\\[\\#C8C8C8\\]{color:#c8c8c8}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-900{color:var(--color-gray-900)}.text-white{color:var(--color-white)}.italic{font-style:italic}.opacity-0{opacity:0}.opacity-50{opacity:.5}.shadow-\\[0_2px_20px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 2px 20px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.group-hover\\:text-\\[\\#0072FF\\]:is(:where(.group):hover *){color:#0072ff}.group-hover\\:text-\\[\\#1784FC\\]:is(:where(.group):hover *){color:#1784fc}}.last\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\\:pb-0:last-child{padding-bottom:calc(var(--spacing)*0)}@media (hover:hover){.hover\\:border-\\[\\#0072ff\\]\\!:hover{border-color:#0072ff!important}.hover\\:border-blue-200:hover{border-color:var(--color-blue-200)}.hover\\:bg-\\[\\#E0E9FD\\]:hover{background-color:#e0e9fd}.hover\\:bg-\\[\\#EDEDED\\]:hover{background-color:#ededed}.hover\\:bg-\\[\\#F7F7F7\\]:hover{background-color:#f7f7f7}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:text-\\[\\#0072ff\\]\\!:hover{color:#0072ff!important}.hover\\:text-\\[\\#ff4d4f\\]\\!:hover{color:#ff4d4f!important}.hover\\:text-blue-600:hover{color:var(--color-blue-600)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}}@media (min-width:48rem){.md\\:w-\\[610px\\]{width:610px}}.dark\\:border-\\[\\#1D3A6F\\]:where(.dark,.dark *){border-color:#1d3a6f}.dark\\:border-\\[\\#3A3A3A\\]:where(.dark,.dark *){border-color:#3a3a3a}.dark\\:border-\\[\\#4e4e56\\]:where(.dark,.dark *){border-color:#4e4e56}.dark\\:border-\\[\\#272626\\]:where(.dark,.dark *){border-color:#272626}.dark\\:border-black\\/15:where(.dark,.dark *){border-color:#00000026}@supports (color:color-mix(in lab,red,red)){.dark\\:border-black\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-black)15%,transparent)}}.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:border-blue-900\\/30:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:border-gray-700:where(.dark,.dark *){border-color:var(--color-gray-700)}.dark\\:border-gray-800:where(.dark,.dark *){border-color:var(--color-gray-800)}.dark\\:border-white\\/15:where(.dark,.dark *){border-color:#ffffff26}@supports (color:color-mix(in lab,red,red)){.dark\\:border-white\\/15:where(.dark,.dark *){border-color:color-mix(in oklab,var(--color-white)15%,transparent)}}.dark\\:bg-\\[\\#1E1E1E\\]:where(.dark,.dark *){background-color:#1e1e1e}.dark\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *){background-color:#1f2937}.dark\\:bg-\\[\\#2A2A2A\\]:where(.dark,.dark *){background-color:#2a2a2a}.dark\\:bg-\\[\\#020617\\]:where(.dark,.dark *){background-color:#020617}.dark\\:bg-\\[\\#020817\\]:where(.dark,.dark *){background-color:#020817}.dark\\:bg-\\[\\#111827\\]:where(.dark,.dark *){background-color:#111827}.dark\\:bg-\\[\\#202126\\]:where(.dark,.dark *){background-color:#202126}.dark\\:bg-\\[\\#202126\\]\\!:where(.dark,.dark *){background-color:#202126!important}.dark\\:bg-\\[\\#A3A3A3\\]:where(.dark,.dark *){background-color:#a3a3a3}.dark\\:bg-black:where(.dark,.dark *){background-color:var(--color-black)}.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:#1c398e1a}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/10:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)10%,transparent)}}.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/20:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:#1c398e4d}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-blue-900\\/30:where(.dark,.dark *){background-color:color-mix(in oklab,var(--color-blue-900)30%,transparent)}}.dark\\:bg-gray-700:where(.dark,.dark *){background-color:var(--color-gray-700)}.dark\\:bg-gray-900:where(.dark,.dark *){background-color:var(--color-gray-900)}.dark\\:text-\\[\\#38C200\\]:where(.dark,.dark *){color:#38c200}.dark\\:text-\\[\\#666\\]:where(.dark,.dark *){color:#666}.dark\\:text-\\[\\#1990FF\\]:where(.dark,.dark *){color:#1990ff}.dark\\:text-\\[\\#808080\\]:where(.dark,.dark *){color:gray}.dark\\:text-\\[\\#999999\\]:where(.dark,.dark *){color:#999}.dark\\:text-\\[\\#A3A3A3\\]:where(.dark,.dark *){color:#a3a3a3}.dark\\:text-\\[\\#A6A6A6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-\\[\\#D1D5DB\\]:where(.dark,.dark *){color:#d1d5db}.dark\\:text-\\[\\#D8D8D8\\]:where(.dark,.dark *){color:#d8d8d8}.dark\\:text-\\[\\#E5E7EB\\]:where(.dark,.dark *){color:#e5e7eb}.dark\\:text-\\[\\#a6a6a6\\]:where(.dark,.dark *){color:#a6a6a6}.dark\\:text-blue-400:where(.dark,.dark *){color:var(--color-blue-400)}.dark\\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\\:text-white:where(.dark,.dark *){color:var(--color-white)}.dark\\:shadow-\\[0_2px_20px_rgba\\(255\\,255\\,255\\,0\\.1\\)\\]:where(.dark,.dark *){--tw-shadow:0 2px 20px var(--tw-shadow-color,#ffffff1a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.dark\\:drop-shadow-\\[0_0_6px_rgb\\(255\\,255\\,255\\)\\]:where(.dark,.dark *){--tw-drop-shadow-size:drop-shadow(0 0 6px var(--tw-drop-shadow-color,#fff));--tw-drop-shadow:var(--tw-drop-shadow-size);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (hover:hover){.dark\\:group-hover\\:text-\\[\\#0072FF\\]:where(.dark,.dark *):is(:where(.group):hover *){color:#0072ff}.dark\\:hover\\:border-blue-800:where(.dark,.dark *):hover{border-color:var(--color-blue-800)}.dark\\:hover\\:bg-\\[\\#1F2937\\]:where(.dark,.dark *):hover{background-color:#1f2937}.dark\\:hover\\:bg-\\[\\#2C2C2C\\]:where(.dark,.dark *):hover{background-color:#2c2c2c}.dark\\:hover\\:bg-\\[\\#3A3A3A\\]:where(.dark,.dark *):hover{background-color:#3a3a3a}.dark\\:hover\\:bg-\\[\\#111827\\]:where(.dark,.dark *):hover{background-color:#111827}.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:#1c398e33}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/20:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)20%,transparent)}}.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:#1c398e80}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-blue-900\\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-blue-900)50%,transparent)}}.dark\\:hover\\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-white\\/5:where(.dark,.dark *):hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.dark\\:hover\\:text-blue-400:where(.dark,.dark *):hover{color:var(--color-blue-400)}}.\\[\\&_\\.ant-btn-icon\\]\\:flex .ant-btn-icon{display:flex}}.cm-deep-research-segmented .ant-segmented-item-label{font-size:16px}.cm-deep-research-segmented .ant-segmented-group{background-color:#fff;padding:2px}.cm-deep-research-segmented .ant-segmented-item{background-color:#fff}.cm-deep-research-segmented .ant-segmented-item:not(:last-child){margin-right:2px}.cm-deep-research-segmented .ant-segmented-item-selected{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item-selected .ant-segmented-item-label{color:#1784fc}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected) .ant-segmented-item-label{color:#333}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover{background-color:#018ae517}.cm-deep-research-segmented .ant-segmented-item:not(.ant-segmented-item-selected):hover .ant-segmented-item-label{color:#1784fc}.cm-markdown h1,.cm-markdown h2,.cm-markdown h3,.cm-markdown h4,.cm-markdown h5,.cm-markdown h6,.cm-markdown p,.cm-markdown ul,.cm-markdown ol{all:revert}.cm-markdown h1{margin-bottom:16px;font-size:24px;font-weight:600;line-height:32px}.cm-markdown h2{margin-top:24px;margin-bottom:8px;font-size:18px;font-weight:600;line-height:26px}.cm-markdown ol{margin-left:24px;list-style:decimal}.cm-markdown p{margin:4px 0;line-height:1.7}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}')), document.head.appendChild(r2);
|
|
106237
106237
|
}
|
|
106238
106238
|
} catch (e2) {
|
|
106239
106239
|
console.error("vite-plugin-css-injected-by-js", e2);
|
|
106240
106240
|
}
|
|
106241
106241
|
})();
|
|
106242
|
-
var Vt = { exports: {} },
|
|
106242
|
+
var Vt = { exports: {} }, ht = {};
|
|
106243
106243
|
var Yn;
|
|
106244
106244
|
function sl() {
|
|
106245
|
-
if (Yn) return
|
|
106245
|
+
if (Yn) return ht;
|
|
106246
106246
|
Yn = 1;
|
|
106247
106247
|
var e2 = React, t2 = /* @__PURE__ */ Symbol.for("react.element"), s2 = /* @__PURE__ */ Symbol.for("react.fragment"), n2 = Object.prototype.hasOwnProperty, r2 = e2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i2 = { key: true, ref: true, __self: true, __source: true };
|
|
106248
106248
|
function o2(a2, c2, d2) {
|
|
@@ -106252,52 +106252,52 @@ function sl() {
|
|
|
106252
106252
|
if (a2 && a2.defaultProps) for (u4 in c2 = a2.defaultProps, c2) h3[u4] === void 0 && (h3[u4] = c2[u4]);
|
|
106253
106253
|
return { $$typeof: t2, type: a2, key: p3, ref: m2, props: h3, _owner: r2.current };
|
|
106254
106254
|
}
|
|
106255
|
-
return
|
|
106255
|
+
return ht.Fragment = s2, ht.jsx = o2, ht.jsxs = o2, ht;
|
|
106256
106256
|
}
|
|
106257
|
-
var
|
|
106257
|
+
var ft = {};
|
|
106258
106258
|
var zn;
|
|
106259
106259
|
function nl() {
|
|
106260
106260
|
return zn || (zn = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
106261
|
-
var e2 = React, t2 = /* @__PURE__ */ Symbol.for("react.element"), s2 = /* @__PURE__ */ Symbol.for("react.portal"), n2 = /* @__PURE__ */ Symbol.for("react.fragment"), r2 = /* @__PURE__ */ Symbol.for("react.strict_mode"), i2 = /* @__PURE__ */ Symbol.for("react.profiler"), o2 = /* @__PURE__ */ Symbol.for("react.provider"), a2 = /* @__PURE__ */ Symbol.for("react.context"), c2 = /* @__PURE__ */ Symbol.for("react.forward_ref"), d2 = /* @__PURE__ */ Symbol.for("react.suspense"), u4 = /* @__PURE__ */ Symbol.for("react.suspense_list"), h3 = /* @__PURE__ */ Symbol.for("react.memo"), p3 = /* @__PURE__ */ Symbol.for("react.lazy"), m2 = /* @__PURE__ */ Symbol.for("react.offscreen"),
|
|
106261
|
+
var e2 = React, t2 = /* @__PURE__ */ Symbol.for("react.element"), s2 = /* @__PURE__ */ Symbol.for("react.portal"), n2 = /* @__PURE__ */ Symbol.for("react.fragment"), r2 = /* @__PURE__ */ Symbol.for("react.strict_mode"), i2 = /* @__PURE__ */ Symbol.for("react.profiler"), o2 = /* @__PURE__ */ Symbol.for("react.provider"), a2 = /* @__PURE__ */ Symbol.for("react.context"), c2 = /* @__PURE__ */ Symbol.for("react.forward_ref"), d2 = /* @__PURE__ */ Symbol.for("react.suspense"), u4 = /* @__PURE__ */ Symbol.for("react.suspense_list"), h3 = /* @__PURE__ */ Symbol.for("react.memo"), p3 = /* @__PURE__ */ Symbol.for("react.lazy"), m2 = /* @__PURE__ */ Symbol.for("react.offscreen"), x2 = Symbol.iterator, w2 = "@@iterator";
|
|
106262
106262
|
function A2(f2) {
|
|
106263
106263
|
if (f2 === null || typeof f2 != "object")
|
|
106264
106264
|
return null;
|
|
106265
|
-
var b2 =
|
|
106265
|
+
var b2 = x2 && f2[x2] || f2[w2];
|
|
106266
106266
|
return typeof b2 == "function" ? b2 : null;
|
|
106267
106267
|
}
|
|
106268
106268
|
var g2 = e2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
106269
|
-
function
|
|
106269
|
+
function v2(f2) {
|
|
106270
106270
|
{
|
|
106271
|
-
for (var b2 = arguments.length,
|
|
106272
|
-
|
|
106273
|
-
y3("error", f2,
|
|
106271
|
+
for (var b2 = arguments.length, C2 = new Array(b2 > 1 ? b2 - 1 : 0), j2 = 1; j2 < b2; j2++)
|
|
106272
|
+
C2[j2 - 1] = arguments[j2];
|
|
106273
|
+
y3("error", f2, C2);
|
|
106274
106274
|
}
|
|
106275
106275
|
}
|
|
106276
|
-
function y3(f2, b2,
|
|
106276
|
+
function y3(f2, b2, C2) {
|
|
106277
106277
|
{
|
|
106278
|
-
var
|
|
106279
|
-
O2 !== "" && (b2 += "%s",
|
|
106280
|
-
var
|
|
106278
|
+
var j2 = g2.ReactDebugCurrentFrame, O2 = j2.getStackAddendum();
|
|
106279
|
+
O2 !== "" && (b2 += "%s", C2 = C2.concat([O2]));
|
|
106280
|
+
var _2 = C2.map(function(F2) {
|
|
106281
106281
|
return String(F2);
|
|
106282
106282
|
});
|
|
106283
|
-
|
|
106283
|
+
_2.unshift("Warning: " + b2), Function.prototype.apply.call(console[f2], console, _2);
|
|
106284
106284
|
}
|
|
106285
106285
|
}
|
|
106286
|
-
var
|
|
106287
|
-
|
|
106288
|
-
function
|
|
106289
|
-
return !!(typeof f2 == "string" || typeof f2 == "function" || f2 === n2 || f2 === i2 || T2 || f2 === r2 || f2 === d2 || f2 === u4 || S3 || f2 === m2 ||
|
|
106286
|
+
var E2 = false, P3 = false, V2 = false, S3 = false, T2 = false, M2;
|
|
106287
|
+
M2 = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
106288
|
+
function I2(f2) {
|
|
106289
|
+
return !!(typeof f2 == "string" || typeof f2 == "function" || f2 === n2 || f2 === i2 || T2 || f2 === r2 || f2 === d2 || f2 === u4 || S3 || f2 === m2 || E2 || P3 || V2 || typeof f2 == "object" && f2 !== null && (f2.$$typeof === p3 || f2.$$typeof === h3 || f2.$$typeof === o2 || f2.$$typeof === a2 || f2.$$typeof === c2 || // This needs to include all possible module reference object
|
|
106290
106290
|
// types supported by any Flight configuration anywhere since
|
|
106291
106291
|
// we don't know which Flight build this will end up being used
|
|
106292
106292
|
// with.
|
|
106293
|
-
f2.$$typeof ===
|
|
106293
|
+
f2.$$typeof === M2 || f2.getModuleId !== void 0));
|
|
106294
106294
|
}
|
|
106295
|
-
function Q2(f2, b2,
|
|
106296
|
-
var
|
|
106297
|
-
if (
|
|
106298
|
-
return
|
|
106295
|
+
function Q2(f2, b2, C2) {
|
|
106296
|
+
var j2 = f2.displayName;
|
|
106297
|
+
if (j2)
|
|
106298
|
+
return j2;
|
|
106299
106299
|
var O2 = b2.displayName || b2.name || "";
|
|
106300
|
-
return O2 !== "" ?
|
|
106300
|
+
return O2 !== "" ? C2 + "(" + O2 + ")" : C2;
|
|
106301
106301
|
}
|
|
106302
106302
|
function H2(f2) {
|
|
106303
106303
|
return f2.displayName || "Context";
|
|
@@ -106305,7 +106305,7 @@ function nl() {
|
|
|
106305
106305
|
function ce2(f2) {
|
|
106306
106306
|
if (f2 == null)
|
|
106307
106307
|
return null;
|
|
106308
|
-
if (typeof f2.tag == "number" &&
|
|
106308
|
+
if (typeof f2.tag == "number" && v2("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof f2 == "function")
|
|
106309
106309
|
return f2.displayName || f2.name || null;
|
|
106310
106310
|
if (typeof f2 == "string")
|
|
106311
106311
|
return f2;
|
|
@@ -106329,17 +106329,17 @@ function nl() {
|
|
|
106329
106329
|
var b2 = f2;
|
|
106330
106330
|
return H2(b2) + ".Consumer";
|
|
106331
106331
|
case o2:
|
|
106332
|
-
var
|
|
106333
|
-
return H2(
|
|
106332
|
+
var C2 = f2;
|
|
106333
|
+
return H2(C2._context) + ".Provider";
|
|
106334
106334
|
case c2:
|
|
106335
106335
|
return Q2(f2, f2.render, "ForwardRef");
|
|
106336
106336
|
case h3:
|
|
106337
|
-
var
|
|
106338
|
-
return
|
|
106337
|
+
var j2 = f2.displayName || null;
|
|
106338
|
+
return j2 !== null ? j2 : ce2(f2.type) || "Memo";
|
|
106339
106339
|
case p3: {
|
|
106340
|
-
var O2 = f2,
|
|
106340
|
+
var O2 = f2, _2 = O2._payload, F2 = O2._init;
|
|
106341
106341
|
try {
|
|
106342
|
-
return ce2(F2(
|
|
106342
|
+
return ce2(F2(_2));
|
|
106343
106343
|
} catch {
|
|
106344
106344
|
return null;
|
|
106345
106345
|
}
|
|
@@ -106347,18 +106347,18 @@ function nl() {
|
|
|
106347
106347
|
}
|
|
106348
106348
|
return null;
|
|
106349
106349
|
}
|
|
106350
|
-
var X2 = Object.assign, de2 = 0,
|
|
106351
|
-
function
|
|
106350
|
+
var X2 = Object.assign, de2 = 0, ee2, B3, L2, U2, z2, re2, qe2;
|
|
106351
|
+
function jt() {
|
|
106352
106352
|
}
|
|
106353
|
-
|
|
106354
|
-
function
|
|
106353
|
+
jt.__reactDisabledLog = true;
|
|
106354
|
+
function Ee2() {
|
|
106355
106355
|
{
|
|
106356
106356
|
if (de2 === 0) {
|
|
106357
|
-
|
|
106357
|
+
ee2 = console.log, B3 = console.info, L2 = console.warn, U2 = console.error, z2 = console.group, re2 = console.groupCollapsed, qe2 = console.groupEnd;
|
|
106358
106358
|
var f2 = {
|
|
106359
106359
|
configurable: true,
|
|
106360
106360
|
enumerable: true,
|
|
106361
|
-
value:
|
|
106361
|
+
value: jt,
|
|
106362
106362
|
writable: true
|
|
106363
106363
|
};
|
|
106364
106364
|
Object.defineProperties(console, {
|
|
@@ -106374,7 +106374,7 @@ function nl() {
|
|
|
106374
106374
|
de2++;
|
|
106375
106375
|
}
|
|
106376
106376
|
}
|
|
106377
|
-
function
|
|
106377
|
+
function at2() {
|
|
106378
106378
|
{
|
|
106379
106379
|
if (de2--, de2 === 0) {
|
|
106380
106380
|
var f2 = {
|
|
@@ -106384,7 +106384,7 @@ function nl() {
|
|
|
106384
106384
|
};
|
|
106385
106385
|
Object.defineProperties(console, {
|
|
106386
106386
|
log: X2({}, f2, {
|
|
106387
|
-
value:
|
|
106387
|
+
value: ee2
|
|
106388
106388
|
}),
|
|
106389
106389
|
info: X2({}, f2, {
|
|
106390
106390
|
value: B3
|
|
@@ -106402,46 +106402,46 @@ function nl() {
|
|
|
106402
106402
|
value: re2
|
|
106403
106403
|
}),
|
|
106404
106404
|
groupEnd: X2({}, f2, {
|
|
106405
|
-
value:
|
|
106405
|
+
value: qe2
|
|
106406
106406
|
})
|
|
106407
106407
|
});
|
|
106408
106408
|
}
|
|
106409
|
-
de2 < 0 &&
|
|
106409
|
+
de2 < 0 && v2("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
106410
106410
|
}
|
|
106411
106411
|
}
|
|
106412
|
-
var
|
|
106413
|
-
function
|
|
106412
|
+
var lt = g2.ReactCurrentDispatcher, ct;
|
|
106413
|
+
function Ke2(f2, b2, C2) {
|
|
106414
106414
|
{
|
|
106415
|
-
if (
|
|
106415
|
+
if (ct === void 0)
|
|
106416
106416
|
try {
|
|
106417
106417
|
throw Error();
|
|
106418
106418
|
} catch (O2) {
|
|
106419
|
-
var
|
|
106420
|
-
|
|
106419
|
+
var j2 = O2.stack.trim().match(/\n( *(at )?)/);
|
|
106420
|
+
ct = j2 && j2[1] || "";
|
|
106421
106421
|
}
|
|
106422
106422
|
return `
|
|
106423
|
-
` +
|
|
106423
|
+
` + ct + f2;
|
|
106424
106424
|
}
|
|
106425
106425
|
}
|
|
106426
|
-
var
|
|
106426
|
+
var ut = false, Be2;
|
|
106427
106427
|
{
|
|
106428
106428
|
var R2 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
106429
|
-
|
|
106429
|
+
Be2 = new R2();
|
|
106430
106430
|
}
|
|
106431
|
-
function
|
|
106432
|
-
if (!f2 ||
|
|
106431
|
+
function je2(f2, b2) {
|
|
106432
|
+
if (!f2 || ut)
|
|
106433
106433
|
return "";
|
|
106434
106434
|
{
|
|
106435
|
-
var
|
|
106436
|
-
if (
|
|
106437
|
-
return
|
|
106435
|
+
var C2 = Be2.get(f2);
|
|
106436
|
+
if (C2 !== void 0)
|
|
106437
|
+
return C2;
|
|
106438
106438
|
}
|
|
106439
|
-
var
|
|
106440
|
-
|
|
106439
|
+
var j2;
|
|
106440
|
+
ut = true;
|
|
106441
106441
|
var O2 = Error.prepareStackTrace;
|
|
106442
106442
|
Error.prepareStackTrace = void 0;
|
|
106443
|
-
var
|
|
106444
|
-
|
|
106443
|
+
var _2;
|
|
106444
|
+
_2 = lt.current, lt.current = null, Ee2();
|
|
106445
106445
|
try {
|
|
106446
106446
|
if (b2) {
|
|
106447
106447
|
var F2 = function() {
|
|
@@ -106455,14 +106455,14 @@ function nl() {
|
|
|
106455
106455
|
try {
|
|
106456
106456
|
Reflect.construct(F2, []);
|
|
106457
106457
|
} catch (ue2) {
|
|
106458
|
-
|
|
106458
|
+
j2 = ue2;
|
|
106459
106459
|
}
|
|
106460
106460
|
Reflect.construct(f2, [], F2);
|
|
106461
106461
|
} else {
|
|
106462
106462
|
try {
|
|
106463
106463
|
F2.call();
|
|
106464
106464
|
} catch (ue2) {
|
|
106465
|
-
|
|
106465
|
+
j2 = ue2;
|
|
106466
106466
|
}
|
|
106467
106467
|
f2.call(F2.prototype);
|
|
106468
106468
|
}
|
|
@@ -106470,95 +106470,95 @@ function nl() {
|
|
|
106470
106470
|
try {
|
|
106471
106471
|
throw Error();
|
|
106472
106472
|
} catch (ue2) {
|
|
106473
|
-
|
|
106473
|
+
j2 = ue2;
|
|
106474
106474
|
}
|
|
106475
106475
|
f2();
|
|
106476
106476
|
}
|
|
106477
106477
|
} catch (ue2) {
|
|
106478
|
-
if (ue2 &&
|
|
106479
|
-
for (var
|
|
106480
|
-
`), ie2 =
|
|
106481
|
-
`), Y2 =
|
|
106478
|
+
if (ue2 && j2 && typeof ue2.stack == "string") {
|
|
106479
|
+
for (var D2 = ue2.stack.split(`
|
|
106480
|
+
`), ie2 = j2.stack.split(`
|
|
106481
|
+
`), Y2 = D2.length - 1, G2 = ie2.length - 1; Y2 >= 1 && G2 >= 0 && D2[Y2] !== ie2[G2]; )
|
|
106482
106482
|
G2--;
|
|
106483
106483
|
for (; Y2 >= 1 && G2 >= 0; Y2--, G2--)
|
|
106484
|
-
if (
|
|
106484
|
+
if (D2[Y2] !== ie2[G2]) {
|
|
106485
106485
|
if (Y2 !== 1 || G2 !== 1)
|
|
106486
106486
|
do
|
|
106487
|
-
if (Y2--, G2--, G2 < 0 ||
|
|
106488
|
-
var
|
|
106489
|
-
` +
|
|
106490
|
-
return f2.displayName &&
|
|
106487
|
+
if (Y2--, G2--, G2 < 0 || D2[Y2] !== ie2[G2]) {
|
|
106488
|
+
var fe2 = `
|
|
106489
|
+
` + D2[Y2].replace(" at new ", " at ");
|
|
106490
|
+
return f2.displayName && fe2.includes("<anonymous>") && (fe2 = fe2.replace("<anonymous>", f2.displayName)), typeof f2 == "function" && Be2.set(f2, fe2), fe2;
|
|
106491
106491
|
}
|
|
106492
106492
|
while (Y2 >= 1 && G2 >= 0);
|
|
106493
106493
|
break;
|
|
106494
106494
|
}
|
|
106495
106495
|
}
|
|
106496
106496
|
} finally {
|
|
106497
|
-
|
|
106497
|
+
ut = false, lt.current = _2, at2(), Error.prepareStackTrace = O2;
|
|
106498
106498
|
}
|
|
106499
|
-
var ze2 = f2 ? f2.displayName || f2.name : "",
|
|
106500
|
-
return typeof f2 == "function" &&
|
|
106499
|
+
var ze2 = f2 ? f2.displayName || f2.name : "", Le2 = ze2 ? Ke2(ze2) : "";
|
|
106500
|
+
return typeof f2 == "function" && Be2.set(f2, Le2), Le2;
|
|
106501
106501
|
}
|
|
106502
|
-
function ta(f2, b2,
|
|
106503
|
-
return
|
|
106502
|
+
function ta(f2, b2, C2) {
|
|
106503
|
+
return je2(f2, false);
|
|
106504
106504
|
}
|
|
106505
106505
|
function sa(f2) {
|
|
106506
106506
|
var b2 = f2.prototype;
|
|
106507
106507
|
return !!(b2 && b2.isReactComponent);
|
|
106508
106508
|
}
|
|
106509
|
-
function Rt(f2, b2,
|
|
106509
|
+
function Rt(f2, b2, C2) {
|
|
106510
106510
|
if (f2 == null)
|
|
106511
106511
|
return "";
|
|
106512
106512
|
if (typeof f2 == "function")
|
|
106513
|
-
return
|
|
106513
|
+
return je2(f2, sa(f2));
|
|
106514
106514
|
if (typeof f2 == "string")
|
|
106515
|
-
return
|
|
106515
|
+
return Ke2(f2);
|
|
106516
106516
|
switch (f2) {
|
|
106517
106517
|
case d2:
|
|
106518
|
-
return
|
|
106518
|
+
return Ke2("Suspense");
|
|
106519
106519
|
case u4:
|
|
106520
|
-
return
|
|
106520
|
+
return Ke2("SuspenseList");
|
|
106521
106521
|
}
|
|
106522
106522
|
if (typeof f2 == "object")
|
|
106523
106523
|
switch (f2.$$typeof) {
|
|
106524
106524
|
case c2:
|
|
106525
106525
|
return ta(f2.render);
|
|
106526
106526
|
case h3:
|
|
106527
|
-
return Rt(f2.type, b2,
|
|
106527
|
+
return Rt(f2.type, b2, C2);
|
|
106528
106528
|
case p3: {
|
|
106529
|
-
var
|
|
106529
|
+
var j2 = f2, O2 = j2._payload, _2 = j2._init;
|
|
106530
106530
|
try {
|
|
106531
|
-
return Rt(
|
|
106531
|
+
return Rt(_2(O2), b2, C2);
|
|
106532
106532
|
} catch {
|
|
106533
106533
|
}
|
|
106534
106534
|
}
|
|
106535
106535
|
}
|
|
106536
106536
|
return "";
|
|
106537
106537
|
}
|
|
106538
|
-
var
|
|
106538
|
+
var dt = Object.prototype.hasOwnProperty, Rn = {}, Nn = g2.ReactDebugCurrentFrame;
|
|
106539
106539
|
function Nt(f2) {
|
|
106540
106540
|
if (f2) {
|
|
106541
|
-
var b2 = f2._owner,
|
|
106542
|
-
Nn.setExtraStackFrame(
|
|
106541
|
+
var b2 = f2._owner, C2 = Rt(f2.type, f2._source, b2 ? b2.type : null);
|
|
106542
|
+
Nn.setExtraStackFrame(C2);
|
|
106543
106543
|
} else
|
|
106544
106544
|
Nn.setExtraStackFrame(null);
|
|
106545
106545
|
}
|
|
106546
|
-
function na(f2, b2,
|
|
106546
|
+
function na(f2, b2, C2, j2, O2) {
|
|
106547
106547
|
{
|
|
106548
|
-
var
|
|
106548
|
+
var _2 = Function.call.bind(dt);
|
|
106549
106549
|
for (var F2 in f2)
|
|
106550
|
-
if (
|
|
106551
|
-
var
|
|
106550
|
+
if (_2(f2, F2)) {
|
|
106551
|
+
var D2 = void 0;
|
|
106552
106552
|
try {
|
|
106553
106553
|
if (typeof f2[F2] != "function") {
|
|
106554
|
-
var ie2 = Error((
|
|
106554
|
+
var ie2 = Error((j2 || "React class") + ": " + C2 + " type `" + F2 + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f2[F2] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
106555
106555
|
throw ie2.name = "Invariant Violation", ie2;
|
|
106556
106556
|
}
|
|
106557
|
-
|
|
106557
|
+
D2 = f2[F2](b2, F2, j2, C2, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
106558
106558
|
} catch (Y2) {
|
|
106559
|
-
|
|
106559
|
+
D2 = Y2;
|
|
106560
106560
|
}
|
|
106561
|
-
|
|
106561
|
+
D2 && !(D2 instanceof Error) && (Nt(O2), v2("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j2 || "React class", C2, F2, typeof D2), Nt(null)), D2 instanceof Error && !(D2.message in Rn) && (Rn[D2.message] = true, Nt(O2), v2("Failed %s type: %s", C2, D2.message), Nt(null));
|
|
106562
106562
|
}
|
|
106563
106563
|
}
|
|
106564
106564
|
}
|
|
@@ -106568,8 +106568,8 @@ function nl() {
|
|
|
106568
106568
|
}
|
|
106569
106569
|
function ia(f2) {
|
|
106570
106570
|
{
|
|
106571
|
-
var b2 = typeof Symbol == "function" && Symbol.toStringTag,
|
|
106572
|
-
return
|
|
106571
|
+
var b2 = typeof Symbol == "function" && Symbol.toStringTag, C2 = b2 && f2[Symbol.toStringTag] || f2.constructor.name || "Object";
|
|
106572
|
+
return C2;
|
|
106573
106573
|
}
|
|
106574
106574
|
}
|
|
106575
106575
|
function oa(f2) {
|
|
@@ -106584,7 +106584,7 @@ function nl() {
|
|
|
106584
106584
|
}
|
|
106585
106585
|
function Mn(f2) {
|
|
106586
106586
|
if (oa(f2))
|
|
106587
|
-
return
|
|
106587
|
+
return v2("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ia(f2)), Vn(f2);
|
|
106588
106588
|
}
|
|
106589
106589
|
var Dn = g2.ReactCurrentOwner, aa = {
|
|
106590
106590
|
key: true,
|
|
@@ -106593,7 +106593,7 @@ function nl() {
|
|
|
106593
106593
|
__source: true
|
|
106594
106594
|
}, Fn, Bn;
|
|
106595
106595
|
function la(f2) {
|
|
106596
|
-
if (
|
|
106596
|
+
if (dt.call(f2, "ref")) {
|
|
106597
106597
|
var b2 = Object.getOwnPropertyDescriptor(f2, "ref").get;
|
|
106598
106598
|
if (b2 && b2.isReactWarning)
|
|
106599
106599
|
return false;
|
|
@@ -106601,7 +106601,7 @@ function nl() {
|
|
|
106601
106601
|
return f2.ref !== void 0;
|
|
106602
106602
|
}
|
|
106603
106603
|
function ca(f2) {
|
|
106604
|
-
if (
|
|
106604
|
+
if (dt.call(f2, "key")) {
|
|
106605
106605
|
var b2 = Object.getOwnPropertyDescriptor(f2, "key").get;
|
|
106606
106606
|
if (b2 && b2.isReactWarning)
|
|
106607
106607
|
return false;
|
|
@@ -106613,78 +106613,78 @@ function nl() {
|
|
|
106613
106613
|
}
|
|
106614
106614
|
function da(f2, b2) {
|
|
106615
106615
|
{
|
|
106616
|
-
var
|
|
106617
|
-
Fn || (Fn = true,
|
|
106616
|
+
var C2 = function() {
|
|
106617
|
+
Fn || (Fn = true, v2("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b2));
|
|
106618
106618
|
};
|
|
106619
|
-
|
|
106620
|
-
get:
|
|
106619
|
+
C2.isReactWarning = true, Object.defineProperty(f2, "key", {
|
|
106620
|
+
get: C2,
|
|
106621
106621
|
configurable: true
|
|
106622
106622
|
});
|
|
106623
106623
|
}
|
|
106624
106624
|
}
|
|
106625
106625
|
function ha(f2, b2) {
|
|
106626
106626
|
{
|
|
106627
|
-
var
|
|
106628
|
-
Bn || (Bn = true,
|
|
106627
|
+
var C2 = function() {
|
|
106628
|
+
Bn || (Bn = true, v2("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", b2));
|
|
106629
106629
|
};
|
|
106630
|
-
|
|
106631
|
-
get:
|
|
106630
|
+
C2.isReactWarning = true, Object.defineProperty(f2, "ref", {
|
|
106631
|
+
get: C2,
|
|
106632
106632
|
configurable: true
|
|
106633
106633
|
});
|
|
106634
106634
|
}
|
|
106635
106635
|
}
|
|
106636
|
-
var fa = function(f2, b2,
|
|
106637
|
-
var
|
|
106636
|
+
var fa = function(f2, b2, C2, j2, O2, _2, F2) {
|
|
106637
|
+
var D2 = {
|
|
106638
106638
|
// This tag allows us to uniquely identify this as a React Element
|
|
106639
106639
|
$$typeof: t2,
|
|
106640
106640
|
// Built-in properties that belong on the element
|
|
106641
106641
|
type: f2,
|
|
106642
106642
|
key: b2,
|
|
106643
|
-
ref:
|
|
106643
|
+
ref: C2,
|
|
106644
106644
|
props: F2,
|
|
106645
106645
|
// Record the component responsible for creating this element.
|
|
106646
|
-
_owner:
|
|
106646
|
+
_owner: _2
|
|
106647
106647
|
};
|
|
106648
|
-
return
|
|
106648
|
+
return D2._store = {}, Object.defineProperty(D2._store, "validated", {
|
|
106649
106649
|
configurable: false,
|
|
106650
106650
|
enumerable: false,
|
|
106651
106651
|
writable: true,
|
|
106652
106652
|
value: false
|
|
106653
|
-
}), Object.defineProperty(
|
|
106653
|
+
}), Object.defineProperty(D2, "_self", {
|
|
106654
106654
|
configurable: false,
|
|
106655
106655
|
enumerable: false,
|
|
106656
106656
|
writable: false,
|
|
106657
|
-
value:
|
|
106658
|
-
}), Object.defineProperty(
|
|
106657
|
+
value: j2
|
|
106658
|
+
}), Object.defineProperty(D2, "_source", {
|
|
106659
106659
|
configurable: false,
|
|
106660
106660
|
enumerable: false,
|
|
106661
106661
|
writable: false,
|
|
106662
106662
|
value: O2
|
|
106663
|
-
}), Object.freeze && (Object.freeze(
|
|
106663
|
+
}), Object.freeze && (Object.freeze(D2.props), Object.freeze(D2)), D2;
|
|
106664
106664
|
};
|
|
106665
|
-
function pa(f2, b2,
|
|
106665
|
+
function pa(f2, b2, C2, j2, O2) {
|
|
106666
106666
|
{
|
|
106667
|
-
var
|
|
106668
|
-
|
|
106669
|
-
for (
|
|
106670
|
-
|
|
106667
|
+
var _2, F2 = {}, D2 = null, ie2 = null;
|
|
106668
|
+
C2 !== void 0 && (Mn(C2), D2 = "" + C2), ca(b2) && (Mn(b2.key), D2 = "" + b2.key), la(b2) && (ie2 = b2.ref, ua(b2));
|
|
106669
|
+
for (_2 in b2)
|
|
106670
|
+
dt.call(b2, _2) && !aa.hasOwnProperty(_2) && (F2[_2] = b2[_2]);
|
|
106671
106671
|
if (f2 && f2.defaultProps) {
|
|
106672
106672
|
var Y2 = f2.defaultProps;
|
|
106673
|
-
for (
|
|
106674
|
-
F2[
|
|
106673
|
+
for (_2 in Y2)
|
|
106674
|
+
F2[_2] === void 0 && (F2[_2] = Y2[_2]);
|
|
106675
106675
|
}
|
|
106676
|
-
if (
|
|
106676
|
+
if (D2 || ie2) {
|
|
106677
106677
|
var G2 = typeof f2 == "function" ? f2.displayName || f2.name || "Unknown" : f2;
|
|
106678
|
-
|
|
106678
|
+
D2 && da(F2, G2), ie2 && ha(F2, G2);
|
|
106679
106679
|
}
|
|
106680
|
-
return fa(f2,
|
|
106680
|
+
return fa(f2, D2, ie2, O2, j2, Dn.current, F2);
|
|
106681
106681
|
}
|
|
106682
106682
|
}
|
|
106683
106683
|
var ss = g2.ReactCurrentOwner, Ln = g2.ReactDebugCurrentFrame;
|
|
106684
106684
|
function Ye(f2) {
|
|
106685
106685
|
if (f2) {
|
|
106686
|
-
var b2 = f2._owner,
|
|
106687
|
-
Ln.setExtraStackFrame(
|
|
106686
|
+
var b2 = f2._owner, C2 = Rt(f2.type, f2._source, b2 ? b2.type : null);
|
|
106687
|
+
Ln.setExtraStackFrame(C2);
|
|
106688
106688
|
} else
|
|
106689
106689
|
Ln.setExtraStackFrame(null);
|
|
106690
106690
|
}
|
|
@@ -106713,10 +106713,10 @@ Check the render method of \`` + f2 + "`.";
|
|
|
106713
106713
|
{
|
|
106714
106714
|
var b2 = On();
|
|
106715
106715
|
if (!b2) {
|
|
106716
|
-
var
|
|
106717
|
-
|
|
106716
|
+
var C2 = typeof f2 == "string" ? f2 : f2.displayName || f2.name;
|
|
106717
|
+
C2 && (b2 = `
|
|
106718
106718
|
|
|
106719
|
-
Check the top-level render call using <` +
|
|
106719
|
+
Check the top-level render call using <` + C2 + ">.");
|
|
106720
106720
|
}
|
|
106721
106721
|
return b2;
|
|
106722
106722
|
}
|
|
@@ -106726,12 +106726,12 @@ Check the top-level render call using <` + k2 + ">.");
|
|
|
106726
106726
|
if (!f2._store || f2._store.validated || f2.key != null)
|
|
106727
106727
|
return;
|
|
106728
106728
|
f2._store.validated = true;
|
|
106729
|
-
var
|
|
106730
|
-
if (In[
|
|
106729
|
+
var C2 = ga(b2);
|
|
106730
|
+
if (In[C2])
|
|
106731
106731
|
return;
|
|
106732
|
-
In[
|
|
106733
|
-
var
|
|
106734
|
-
f2 && f2._owner && f2._owner !== ss.current && (
|
|
106732
|
+
In[C2] = true;
|
|
106733
|
+
var j2 = "";
|
|
106734
|
+
f2 && f2._owner && f2._owner !== ss.current && (j2 = " It was passed a child from " + ce2(f2._owner.type) + "."), Ye(f2), v2('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', C2, j2), Ye(null);
|
|
106735
106735
|
}
|
|
106736
106736
|
}
|
|
106737
106737
|
function Wn(f2, b2) {
|
|
@@ -106739,16 +106739,16 @@ Check the top-level render call using <` + k2 + ">.");
|
|
|
106739
106739
|
if (typeof f2 != "object")
|
|
106740
106740
|
return;
|
|
106741
106741
|
if (ts(f2))
|
|
106742
|
-
for (var
|
|
106743
|
-
var
|
|
106744
|
-
rs(
|
|
106742
|
+
for (var C2 = 0; C2 < f2.length; C2++) {
|
|
106743
|
+
var j2 = f2[C2];
|
|
106744
|
+
rs(j2) && _n(j2, b2);
|
|
106745
106745
|
}
|
|
106746
106746
|
else if (rs(f2))
|
|
106747
106747
|
f2._store && (f2._store.validated = true);
|
|
106748
106748
|
else if (f2) {
|
|
106749
106749
|
var O2 = A2(f2);
|
|
106750
106750
|
if (typeof O2 == "function" && O2 !== f2.entries)
|
|
106751
|
-
for (var
|
|
106751
|
+
for (var _2 = O2.call(f2), F2; !(F2 = _2.next()).done; )
|
|
106752
106752
|
rs(F2.value) && _n(F2.value, b2);
|
|
106753
106753
|
}
|
|
106754
106754
|
}
|
|
@@ -106758,92 +106758,92 @@ Check the top-level render call using <` + k2 + ">.");
|
|
|
106758
106758
|
var b2 = f2.type;
|
|
106759
106759
|
if (b2 == null || typeof b2 == "string")
|
|
106760
106760
|
return;
|
|
106761
|
-
var
|
|
106761
|
+
var C2;
|
|
106762
106762
|
if (typeof b2 == "function")
|
|
106763
|
-
|
|
106763
|
+
C2 = b2.propTypes;
|
|
106764
106764
|
else if (typeof b2 == "object" && (b2.$$typeof === c2 || // Note: Memo only checks outer props here.
|
|
106765
106765
|
// Inner props are checked in the reconciler.
|
|
106766
106766
|
b2.$$typeof === h3))
|
|
106767
|
-
|
|
106767
|
+
C2 = b2.propTypes;
|
|
106768
106768
|
else
|
|
106769
106769
|
return;
|
|
106770
|
-
if (
|
|
106771
|
-
var
|
|
106772
|
-
na(
|
|
106770
|
+
if (C2) {
|
|
106771
|
+
var j2 = ce2(b2);
|
|
106772
|
+
na(C2, f2.props, "prop", j2, f2);
|
|
106773
106773
|
} else if (b2.PropTypes !== void 0 && !ns) {
|
|
106774
106774
|
ns = true;
|
|
106775
106775
|
var O2 = ce2(b2);
|
|
106776
|
-
|
|
106776
|
+
v2("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O2 || "Unknown");
|
|
106777
106777
|
}
|
|
106778
|
-
typeof b2.getDefaultProps == "function" && !b2.getDefaultProps.isReactClassApproved &&
|
|
106778
|
+
typeof b2.getDefaultProps == "function" && !b2.getDefaultProps.isReactClassApproved && v2("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
106779
106779
|
}
|
|
106780
106780
|
}
|
|
106781
106781
|
function xa(f2) {
|
|
106782
106782
|
{
|
|
106783
|
-
for (var b2 = Object.keys(f2.props),
|
|
106784
|
-
var
|
|
106785
|
-
if (
|
|
106786
|
-
Ye(f2),
|
|
106783
|
+
for (var b2 = Object.keys(f2.props), C2 = 0; C2 < b2.length; C2++) {
|
|
106784
|
+
var j2 = b2[C2];
|
|
106785
|
+
if (j2 !== "children" && j2 !== "key") {
|
|
106786
|
+
Ye(f2), v2("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j2), Ye(null);
|
|
106787
106787
|
break;
|
|
106788
106788
|
}
|
|
106789
106789
|
}
|
|
106790
|
-
f2.ref !== null && (Ye(f2),
|
|
106790
|
+
f2.ref !== null && (Ye(f2), v2("Invalid attribute `ref` supplied to `React.Fragment`."), Ye(null));
|
|
106791
106791
|
}
|
|
106792
106792
|
}
|
|
106793
106793
|
var Un = {};
|
|
106794
|
-
function qn(f2, b2,
|
|
106794
|
+
function qn(f2, b2, C2, j2, O2, _2) {
|
|
106795
106795
|
{
|
|
106796
|
-
var F2 =
|
|
106796
|
+
var F2 = I2(f2);
|
|
106797
106797
|
if (!F2) {
|
|
106798
|
-
var
|
|
106799
|
-
(f2 === void 0 || typeof f2 == "object" && f2 !== null && Object.keys(f2).length === 0) && (
|
|
106798
|
+
var D2 = "";
|
|
106799
|
+
(f2 === void 0 || typeof f2 == "object" && f2 !== null && Object.keys(f2).length === 0) && (D2 += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
106800
106800
|
var ie2 = ma();
|
|
106801
|
-
ie2 ?
|
|
106801
|
+
ie2 ? D2 += ie2 : D2 += On();
|
|
106802
106802
|
var Y2;
|
|
106803
|
-
f2 === null ? Y2 = "null" : ts(f2) ? Y2 = "array" : f2 !== void 0 && f2.$$typeof === t2 ? (Y2 = "<" + (ce2(f2.type) || "Unknown") + " />",
|
|
106803
|
+
f2 === null ? Y2 = "null" : ts(f2) ? Y2 = "array" : f2 !== void 0 && f2.$$typeof === t2 ? (Y2 = "<" + (ce2(f2.type) || "Unknown") + " />", D2 = " Did you accidentally export a JSX literal instead of a component?") : Y2 = typeof f2, v2("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y2, D2);
|
|
106804
106804
|
}
|
|
106805
|
-
var G2 = pa(f2, b2,
|
|
106805
|
+
var G2 = pa(f2, b2, C2, O2, _2);
|
|
106806
106806
|
if (G2 == null)
|
|
106807
106807
|
return G2;
|
|
106808
106808
|
if (F2) {
|
|
106809
|
-
var
|
|
106810
|
-
if (
|
|
106811
|
-
if (
|
|
106812
|
-
if (ts(
|
|
106813
|
-
for (var ze2 = 0; ze2 <
|
|
106814
|
-
Wn(
|
|
106815
|
-
Object.freeze && Object.freeze(
|
|
106809
|
+
var fe2 = b2.children;
|
|
106810
|
+
if (fe2 !== void 0)
|
|
106811
|
+
if (j2)
|
|
106812
|
+
if (ts(fe2)) {
|
|
106813
|
+
for (var ze2 = 0; ze2 < fe2.length; ze2++)
|
|
106814
|
+
Wn(fe2[ze2], f2);
|
|
106815
|
+
Object.freeze && Object.freeze(fe2);
|
|
106816
106816
|
} else
|
|
106817
|
-
|
|
106817
|
+
v2("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
106818
106818
|
else
|
|
106819
|
-
Wn(
|
|
106819
|
+
Wn(fe2, f2);
|
|
106820
106820
|
}
|
|
106821
|
-
if (
|
|
106822
|
-
var
|
|
106823
|
-
return
|
|
106821
|
+
if (dt.call(b2, "key")) {
|
|
106822
|
+
var Le2 = ce2(f2), ue2 = Object.keys(b2).filter(function(ka) {
|
|
106823
|
+
return ka !== "key";
|
|
106824
106824
|
}), is2 = ue2.length > 0 ? "{key: someKey, " + ue2.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
106825
|
-
if (!Un[
|
|
106826
|
-
var
|
|
106827
|
-
|
|
106825
|
+
if (!Un[Le2 + is2]) {
|
|
106826
|
+
var Ca = ue2.length > 0 ? "{" + ue2.join(": ..., ") + ": ...}" : "{}";
|
|
106827
|
+
v2(`A props object containing a "key" prop is being spread into JSX:
|
|
106828
106828
|
let props = %s;
|
|
106829
106829
|
<%s {...props} />
|
|
106830
106830
|
React keys must be passed directly to JSX without using spread:
|
|
106831
106831
|
let props = %s;
|
|
106832
|
-
<%s key={someKey} {...props} />`, is2,
|
|
106832
|
+
<%s key={someKey} {...props} />`, is2, Le2, Ca, Le2), Un[Le2 + is2] = true;
|
|
106833
106833
|
}
|
|
106834
106834
|
}
|
|
106835
106835
|
return f2 === n2 ? xa(G2) : ya(G2), G2;
|
|
106836
106836
|
}
|
|
106837
106837
|
}
|
|
106838
|
-
function va(f2, b2,
|
|
106839
|
-
return qn(f2, b2,
|
|
106838
|
+
function va(f2, b2, C2) {
|
|
106839
|
+
return qn(f2, b2, C2, true);
|
|
106840
106840
|
}
|
|
106841
|
-
function ba(f2, b2,
|
|
106842
|
-
return qn(f2, b2,
|
|
106841
|
+
function ba(f2, b2, C2) {
|
|
106842
|
+
return qn(f2, b2, C2, false);
|
|
106843
106843
|
}
|
|
106844
106844
|
var wa = ba, Aa = va;
|
|
106845
|
-
|
|
106846
|
-
})()),
|
|
106845
|
+
ft.Fragment = n2, ft.jsx = wa, ft.jsxs = Aa;
|
|
106846
|
+
})()), ft;
|
|
106847
106847
|
}
|
|
106848
106848
|
var Gn;
|
|
106849
106849
|
function rl() {
|
|
@@ -107188,25 +107188,27 @@ const ll = ({
|
|
|
107188
107188
|
getSuggestion: s2,
|
|
107189
107189
|
loading: n2
|
|
107190
107190
|
}) => {
|
|
107191
|
-
const { t: r2 } = useTranslation(), [i2, o2] = React.useState(false), [a2, c2] = React.useState(null);
|
|
107191
|
+
const { t: r2 } = useTranslation(), [i2, o2] = React.useState(false), [a2, c2] = React.useState(null), d2 = React.useRef(s2);
|
|
107192
107192
|
return React.useEffect(() => {
|
|
107193
|
-
|
|
107194
|
-
}, [
|
|
107193
|
+
d2.current = s2;
|
|
107194
|
+
}, [s2]), React.useEffect(() => {
|
|
107195
|
+
e2?.payload && (c2(e2?.payload), e2?.payload?.suggestion && d2.current && d2.current(e2?.payload?.suggestion));
|
|
107196
|
+
}, [e2?.payload]), React.useEffect(() => {
|
|
107195
107197
|
if (t2?.message_chunk && !n2)
|
|
107196
107198
|
try {
|
|
107197
|
-
const
|
|
107198
|
-
if (
|
|
107199
|
-
const
|
|
107200
|
-
|
|
107199
|
+
const h3 = t2.message_chunk.replace(/^"|"$/g, "").match(/<JSON>([\s\S]*?)<\/JSON>/g);
|
|
107200
|
+
if (h3) {
|
|
107201
|
+
const m2 = h3[h3.length - 1].replace(/<JSON>|<\/JSON>/g, ""), x2 = JSON.parse(m2);
|
|
107202
|
+
x2?.suggestion && d2.current && d2.current(x2?.suggestion), c2(x2);
|
|
107201
107203
|
}
|
|
107202
|
-
} catch (
|
|
107203
|
-
console.error("Failed to process message chunk in QueryIntent:",
|
|
107204
|
+
} catch (u4) {
|
|
107205
|
+
console.error("Failed to process message chunk in QueryIntent:", u4);
|
|
107204
107206
|
}
|
|
107205
|
-
}, [t2?.message_chunk, n2
|
|
107207
|
+
}, [t2?.message_chunk, n2]), !t2 && !e2 ? null : /* @__PURE__ */ l2.jsxs("div", { className: "space-y-2 mb-3 w-full", children: [
|
|
107206
107208
|
/* @__PURE__ */ l2.jsxs(
|
|
107207
107209
|
"button",
|
|
107208
107210
|
{
|
|
107209
|
-
onClick: () => o2((
|
|
107211
|
+
onClick: () => o2((u4) => !u4),
|
|
107210
107212
|
className: "inline-flex items-center gap-2 px-2 py-1 rounded-xl transition-colors border border-[#E6E6E6] dark:border-[#272626]",
|
|
107211
107213
|
children: [
|
|
107212
107214
|
n2 ? /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
@@ -107231,16 +107233,16 @@ const ll = ({
|
|
|
107231
107233
|
r2("assistant.message.steps.keywords"),
|
|
107232
107234
|
":"
|
|
107233
107235
|
] }),
|
|
107234
|
-
/* @__PURE__ */ l2.jsx("div", { className: "flex flex-wrap gap-1", children: a2?.keyword?.map((
|
|
107236
|
+
/* @__PURE__ */ l2.jsx("div", { className: "flex flex-wrap gap-1", children: a2?.keyword?.map((u4, h3) => /* @__PURE__ */ l2.jsxs(
|
|
107235
107237
|
"span",
|
|
107236
107238
|
{
|
|
107237
107239
|
className: "text-[#333333] dark:text-[#D8D8D8]",
|
|
107238
107240
|
children: [
|
|
107239
|
-
|
|
107240
|
-
|
|
107241
|
+
u4,
|
|
107242
|
+
h3 < 2 && "、"
|
|
107241
107243
|
]
|
|
107242
107244
|
},
|
|
107243
|
-
|
|
107245
|
+
u4 + h3
|
|
107244
107246
|
)) })
|
|
107245
107247
|
] }) : null,
|
|
107246
107248
|
a2?.category ? /* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
@@ -107265,10 +107267,10 @@ const ll = ({
|
|
|
107265
107267
|
r2("assistant.message.steps.relatedQuestions"),
|
|
107266
107268
|
":"
|
|
107267
107269
|
] }),
|
|
107268
|
-
/* @__PURE__ */ l2.jsx("div", { className: "flex-1 flex flex-col text-[#333333] dark:text-[#D8D8D8]", children: a2?.query?.map((
|
|
107270
|
+
/* @__PURE__ */ l2.jsx("div", { className: "flex-1 flex flex-col text-[#333333] dark:text-[#D8D8D8]", children: a2?.query?.map((u4, h3) => /* @__PURE__ */ l2.jsxs("span", { children: [
|
|
107269
107271
|
"- ",
|
|
107270
|
-
|
|
107271
|
-
] },
|
|
107272
|
+
u4
|
|
107273
|
+
] }, u4 + h3)) })
|
|
107272
107274
|
] }) : null
|
|
107273
107275
|
] }) }) })
|
|
107274
107276
|
] });
|
|
@@ -107370,8 +107372,8 @@ const hl = ({
|
|
|
107370
107372
|
p3 && c2(Number(p3[1]));
|
|
107371
107373
|
const m2 = t2.message_chunk.match(/\[([\s\S]*)\]/);
|
|
107372
107374
|
if (m2) {
|
|
107373
|
-
const
|
|
107374
|
-
u4(
|
|
107375
|
+
const x2 = JSON.parse(m2[0]);
|
|
107376
|
+
u4(x2);
|
|
107375
107377
|
}
|
|
107376
107378
|
} catch (p3) {
|
|
107377
107379
|
console.error("Failed to parse fetch source data:", p3);
|
|
@@ -107810,10 +107812,10 @@ const gl = ({
|
|
|
107810
107812
|
}
|
|
107811
107813
|
),
|
|
107812
107814
|
r2 && /* @__PURE__ */ l2.jsx("div", { className: "pl-2 pt-1 border-l-2 border-[#e5e5e5] dark:border-[#4e4e56]", children: /* @__PURE__ */ l2.jsx("div", { className: "text-[#8b8b8b] dark:text-[#a6a6a6] space-y-2", children: /* @__PURE__ */ l2.jsxs("div", { className: "mb-4 space-y-3 text-xs", children: [
|
|
107813
|
-
o2?.map((u4) => /* @__PURE__ */ l2.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ l2.jsxs("div", { className: "text-xs text-[#999999] dark:text-[#808080]", children: [
|
|
107815
|
+
o2?.map((u4, h3) => /* @__PURE__ */ l2.jsx("div", { className: "flex flex-col gap-2", children: /* @__PURE__ */ l2.jsxs("div", { className: "text-xs text-[#999999] dark:text-[#808080]", children: [
|
|
107814
107816
|
"- ",
|
|
107815
107817
|
u4
|
|
107816
|
-
] }) }, u4)),
|
|
107818
|
+
] }) }, `${u4}-${h3}`)),
|
|
107817
107819
|
c2?.split(`
|
|
107818
107820
|
`).map(
|
|
107819
107821
|
(u4, h3) => u4.trim() && /* @__PURE__ */ l2.jsx("p", { className: "text-sm", children: u4 }, h3)
|
|
@@ -107858,7 +107860,7 @@ const gl = ({
|
|
|
107858
107860
|
copyButtonId: i2,
|
|
107859
107861
|
onResend: o2
|
|
107860
107862
|
}) => {
|
|
107861
|
-
const [a2, c2] = React.useState(false), [d2, u4] = React.useState(false), [h3, p3] = React.useState(false), [m2,
|
|
107863
|
+
const [a2, c2] = React.useState(false), [d2, u4] = React.useState(false), [h3, p3] = React.useState(false), [m2, x2] = React.useState(false), [w2, A2] = React.useState(false), g2 = xl.includes(e2), v2 = async () => {
|
|
107862
107864
|
try {
|
|
107863
107865
|
await yi(t2), c2(true);
|
|
107864
107866
|
const S3 = setTimeout(() => {
|
|
@@ -107869,18 +107871,18 @@ const gl = ({
|
|
|
107869
107871
|
}
|
|
107870
107872
|
}, y3 = () => {
|
|
107871
107873
|
u4(!d2), p3(false);
|
|
107872
|
-
},
|
|
107874
|
+
}, E2 = () => {
|
|
107873
107875
|
p3(!h3), u4(false);
|
|
107874
107876
|
}, P3 = async () => {
|
|
107875
107877
|
if ("speechSynthesis" in window) {
|
|
107876
107878
|
if (m2) {
|
|
107877
|
-
window.speechSynthesis.cancel(),
|
|
107879
|
+
window.speechSynthesis.cancel(), x2(false);
|
|
107878
107880
|
return;
|
|
107879
107881
|
}
|
|
107880
107882
|
const S3 = new SpeechSynthesisUtterance(t2);
|
|
107881
107883
|
S3.lang = "zh-CN", S3.onend = () => {
|
|
107882
|
-
|
|
107883
|
-
},
|
|
107884
|
+
x2(false);
|
|
107885
|
+
}, x2(true), window.speechSynthesis.speak(S3);
|
|
107884
107886
|
}
|
|
107885
107887
|
}, V2 = () => {
|
|
107886
107888
|
if (o2) {
|
|
@@ -107895,7 +107897,7 @@ const gl = ({
|
|
|
107895
107897
|
"button",
|
|
107896
107898
|
{
|
|
107897
107899
|
id: i2,
|
|
107898
|
-
onClick:
|
|
107900
|
+
onClick: v2,
|
|
107899
107901
|
className: "p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg transition-colors",
|
|
107900
107902
|
children: a2 ? /* @__PURE__ */ l2.jsx(
|
|
107901
107903
|
Check,
|
|
@@ -107938,7 +107940,7 @@ const gl = ({
|
|
|
107938
107940
|
!g2 && /* @__PURE__ */ l2.jsx(
|
|
107939
107941
|
"button",
|
|
107940
107942
|
{
|
|
107941
|
-
onClick:
|
|
107943
|
+
onClick: E2,
|
|
107942
107944
|
className: `p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded-lg transition-colors ${h3 ? "animate-shake" : ""}`,
|
|
107943
107945
|
children: /* @__PURE__ */ l2.jsx(
|
|
107944
107946
|
ThumbsDown,
|
|
@@ -108090,53 +108092,53 @@ const wl = ({ textToCopy: e2 }) => {
|
|
|
108090
108092
|
}
|
|
108091
108093
|
)
|
|
108092
108094
|
] });
|
|
108093
|
-
},
|
|
108094
|
-
function
|
|
108095
|
-
const [e2, t2] = React.useState(), [s2, n2] = React.useState(), [r2, i2] = React.useState(), [o2, a2] = React.useState(), [c2, d2] = React.useState(), [u4, h3] = React.useState(), [p3, m2] = React.useState(), [
|
|
108096
|
-
deal_query_intent: React.useCallback((
|
|
108095
|
+
}, Cl = ({ name: e2, className: t2, style: s2, ...n2 }) => /* @__PURE__ */ l2.jsx("svg", { className: `icon dark:drop-shadow-[0_0_6px_rgb(255,255,255)] ${t2 || ""}`, style: s2, ...n2, children: /* @__PURE__ */ l2.jsx("use", { xlinkHref: `#${e2}` }) });
|
|
108096
|
+
function kl() {
|
|
108097
|
+
const [e2, t2] = React.useState(), [s2, n2] = React.useState(), [r2, i2] = React.useState(), [o2, a2] = React.useState(), [c2, d2] = React.useState(), [u4, h3] = React.useState(), [p3, m2] = React.useState(), [x2, w2] = React.useState([]), A2 = {
|
|
108098
|
+
deal_query_intent: React.useCallback((v2) => {
|
|
108097
108099
|
t2((y3) => y3 ? {
|
|
108098
108100
|
...y3,
|
|
108099
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108100
|
-
} :
|
|
108101
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108102
|
+
} : v2);
|
|
108101
108103
|
}, []),
|
|
108102
|
-
deal_tools: React.useCallback((
|
|
108104
|
+
deal_tools: React.useCallback((v2) => {
|
|
108103
108105
|
n2((y3) => y3 ? {
|
|
108104
108106
|
...y3,
|
|
108105
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108106
|
-
} :
|
|
108107
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108108
|
+
} : v2);
|
|
108107
108109
|
}, []),
|
|
108108
|
-
deal_fetch_source: React.useCallback((
|
|
108110
|
+
deal_fetch_source: React.useCallback((v2) => {
|
|
108109
108111
|
i2((y3) => y3 ? {
|
|
108110
108112
|
...y3,
|
|
108111
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108112
|
-
} :
|
|
108113
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108114
|
+
} : v2);
|
|
108113
108115
|
}, []),
|
|
108114
|
-
deal_pick_source: React.useCallback((
|
|
108116
|
+
deal_pick_source: React.useCallback((v2) => {
|
|
108115
108117
|
a2((y3) => y3 ? {
|
|
108116
108118
|
...y3,
|
|
108117
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108118
|
-
} :
|
|
108119
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108120
|
+
} : v2);
|
|
108119
108121
|
}, []),
|
|
108120
|
-
deal_deep_read: React.useCallback((
|
|
108122
|
+
deal_deep_read: React.useCallback((v2) => {
|
|
108121
108123
|
d2((y3) => y3 ? {
|
|
108122
108124
|
...y3,
|
|
108123
|
-
message_chunk: (y3.message_chunk || "") + "&" + (
|
|
108124
|
-
} :
|
|
108125
|
+
message_chunk: (y3.message_chunk || "") + "&" + (v2.message_chunk || "")
|
|
108126
|
+
} : v2);
|
|
108125
108127
|
}, []),
|
|
108126
|
-
deal_think: React.useCallback((
|
|
108128
|
+
deal_think: React.useCallback((v2) => {
|
|
108127
108129
|
h3((y3) => y3 ? {
|
|
108128
108130
|
...y3,
|
|
108129
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108130
|
-
} :
|
|
108131
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108132
|
+
} : v2);
|
|
108131
108133
|
}, []),
|
|
108132
|
-
deal_response: React.useCallback((
|
|
108134
|
+
deal_response: React.useCallback((v2) => {
|
|
108133
108135
|
m2((y3) => y3 ? {
|
|
108134
108136
|
...y3,
|
|
108135
|
-
message_chunk: (y3.message_chunk || "") + (
|
|
108136
|
-
} :
|
|
108137
|
+
message_chunk: (y3.message_chunk || "") + (v2.message_chunk || "")
|
|
108138
|
+
} : v2);
|
|
108137
108139
|
}, []),
|
|
108138
|
-
deal_deep_research: React.useCallback((
|
|
108139
|
-
w2((y3) => [...y3,
|
|
108140
|
+
deal_deep_research: React.useCallback((v2) => {
|
|
108141
|
+
w2((y3) => [...y3, v2]);
|
|
108140
108142
|
}, [])
|
|
108141
108143
|
};
|
|
108142
108144
|
return {
|
|
@@ -108148,11 +108150,11 @@ function Cl() {
|
|
|
108148
108150
|
deep_read: c2,
|
|
108149
108151
|
think: u4,
|
|
108150
108152
|
response: p3,
|
|
108151
|
-
deepResearch:
|
|
108153
|
+
deepResearch: x2
|
|
108152
108154
|
},
|
|
108153
108155
|
handlers: A2,
|
|
108154
|
-
clearAllChunkData: () => new Promise((
|
|
108155
|
-
t2(void 0), n2(void 0), i2(void 0), a2(void 0), d2(void 0), h3(void 0), m2(void 0), w2([]), setTimeout(
|
|
108156
|
+
clearAllChunkData: () => new Promise((v2) => {
|
|
108157
|
+
t2(void 0), n2(void 0), i2(void 0), a2(void 0), d2(void 0), h3(void 0), m2(void 0), w2([]), setTimeout(v2, 0);
|
|
108156
108158
|
})
|
|
108157
108159
|
};
|
|
108158
108160
|
}
|
|
@@ -108169,18 +108171,18 @@ function en(e2, t2) {
|
|
|
108169
108171
|
const s2 = e2.indexOf(t2);
|
|
108170
108172
|
s2 > -1 && e2.splice(s2, 1);
|
|
108171
108173
|
}
|
|
108172
|
-
const
|
|
108173
|
-
function
|
|
108174
|
+
const Ce = (e2, t2, s2) => s2 > t2 ? t2 : s2 < e2 ? e2 : s2;
|
|
108175
|
+
function Cs(e2, t2) {
|
|
108174
108176
|
return t2 ? `${e2}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t2}` : e2;
|
|
108175
108177
|
}
|
|
108176
|
-
let
|
|
108178
|
+
let nt = () => {
|
|
108177
108179
|
}, Se = () => {
|
|
108178
108180
|
};
|
|
108179
|
-
typeof process < "u" && process.env?.NODE_ENV !== "production" && (
|
|
108180
|
-
!e2 && typeof console < "u" && console.warn(
|
|
108181
|
+
typeof process < "u" && process.env?.NODE_ENV !== "production" && (nt = (e2, t2, s2) => {
|
|
108182
|
+
!e2 && typeof console < "u" && console.warn(Cs(t2, s2));
|
|
108181
108183
|
}, Se = (e2, t2, s2) => {
|
|
108182
108184
|
if (!e2)
|
|
108183
|
-
throw new Error(
|
|
108185
|
+
throw new Error(Cs(t2, s2));
|
|
108184
108186
|
});
|
|
108185
108187
|
const Pe = {}, bi = (e2) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e2);
|
|
108186
108188
|
function wi(e2) {
|
|
@@ -108221,40 +108223,40 @@ class sn {
|
|
|
108221
108223
|
this.subscriptions.length = 0;
|
|
108222
108224
|
}
|
|
108223
108225
|
}
|
|
108224
|
-
const we = /* @__NO_SIDE_EFFECTS__ */ (e2) => e2 * 1e3,
|
|
108225
|
-
function
|
|
108226
|
+
const we = /* @__NO_SIDE_EFFECTS__ */ (e2) => e2 * 1e3, me = /* @__NO_SIDE_EFFECTS__ */ (e2) => e2 / 1e3;
|
|
108227
|
+
function Ci(e2, t2) {
|
|
108226
108228
|
return t2 ? e2 * (1e3 / t2) : 0;
|
|
108227
108229
|
}
|
|
108228
108230
|
const Jn = /* @__PURE__ */ new Set();
|
|
108229
108231
|
function nn(e2, t2, s2) {
|
|
108230
|
-
e2 || Jn.has(t2) || (console.warn(
|
|
108232
|
+
e2 || Jn.has(t2) || (console.warn(Cs(t2, s2)), Jn.add(t2));
|
|
108231
108233
|
}
|
|
108232
|
-
const
|
|
108233
|
-
function
|
|
108234
|
+
const ki = (e2, t2, s2) => (((1 - 3 * s2 + 3 * t2) * e2 + (3 * s2 - 6 * t2)) * e2 + 3 * t2) * e2, Sl = 1e-7, Pl = 12;
|
|
108235
|
+
function El(e2, t2, s2, n2, r2) {
|
|
108234
108236
|
let i2, o2, a2 = 0;
|
|
108235
108237
|
do
|
|
108236
|
-
o2 = t2 + (s2 - t2) / 2, i2 =
|
|
108238
|
+
o2 = t2 + (s2 - t2) / 2, i2 = ki(o2, n2, r2) - e2, i2 > 0 ? s2 = o2 : t2 = o2;
|
|
108237
108239
|
while (Math.abs(i2) > Sl && ++a2 < Pl);
|
|
108238
108240
|
return o2;
|
|
108239
108241
|
}
|
|
108240
108242
|
function St(e2, t2, s2, n2) {
|
|
108241
108243
|
if (e2 === t2 && s2 === n2)
|
|
108242
108244
|
return ge;
|
|
108243
|
-
const r2 = (i2) =>
|
|
108244
|
-
return (i2) => i2 === 0 || i2 === 1 ? i2 :
|
|
108245
|
+
const r2 = (i2) => El(i2, 0, 1, e2, s2);
|
|
108246
|
+
return (i2) => i2 === 0 || i2 === 1 ? i2 : ki(r2(i2), t2, n2);
|
|
108245
108247
|
}
|
|
108246
|
-
const Ti = (e2) => (t2) => t2 <= 0.5 ? e2(2 * t2) / 2 : (2 - e2(2 * (1 - t2))) / 2, Si = (e2) => (t2) => 1 - e2(1 - t2), Pi = /* @__PURE__ */ St(0.33, 1.53, 0.69, 0.99), rn = /* @__PURE__ */ Si(Pi),
|
|
108248
|
+
const Ti = (e2) => (t2) => t2 <= 0.5 ? e2(2 * t2) / 2 : (2 - e2(2 * (1 - t2))) / 2, Si = (e2) => (t2) => 1 - e2(1 - t2), Pi = /* @__PURE__ */ St(0.33, 1.53, 0.69, 0.99), rn = /* @__PURE__ */ Si(Pi), Ei = /* @__PURE__ */ Ti(rn), ji = (e2) => (e2 *= 2) < 1 ? 0.5 * rn(e2) : 0.5 * (2 - Math.pow(2, -10 * (e2 - 1))), on = (e2) => 1 - Math.sin(Math.acos(e2)), Ri = Si(on), Ni = Ti(on), jl = /* @__PURE__ */ St(0.42, 0, 1, 1), Rl = /* @__PURE__ */ St(0, 0, 0.58, 1), Vi = /* @__PURE__ */ St(0.42, 0, 0.58, 1), Nl = (e2) => Array.isArray(e2) && typeof e2[0] != "number", Mi = (e2) => Array.isArray(e2) && typeof e2[0] == "number", Qn = {
|
|
108247
108249
|
linear: ge,
|
|
108248
|
-
easeIn:
|
|
108250
|
+
easeIn: jl,
|
|
108249
108251
|
easeInOut: Vi,
|
|
108250
108252
|
easeOut: Rl,
|
|
108251
108253
|
circIn: on,
|
|
108252
108254
|
circInOut: Ni,
|
|
108253
108255
|
circOut: Ri,
|
|
108254
108256
|
backIn: rn,
|
|
108255
|
-
backInOut:
|
|
108257
|
+
backInOut: Ei,
|
|
108256
108258
|
backOut: Pi,
|
|
108257
|
-
anticipate:
|
|
108259
|
+
anticipate: ji
|
|
108258
108260
|
}, Vl = (e2) => typeof e2 == "string", Hn = (e2) => {
|
|
108259
108261
|
if (Mi(e2)) {
|
|
108260
108262
|
Se(e2.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
|
|
@@ -108297,8 +108299,8 @@ function Ml(e2, t2) {
|
|
|
108297
108299
|
* Schedule a process to run on the next frame.
|
|
108298
108300
|
*/
|
|
108299
108301
|
schedule: (u4, h3 = false, p3 = false) => {
|
|
108300
|
-
const
|
|
108301
|
-
return h3 && o2.add(u4),
|
|
108302
|
+
const x2 = p3 && r2 ? s2 : n2;
|
|
108303
|
+
return h3 && o2.add(u4), x2.has(u4) || x2.add(u4), u4;
|
|
108302
108304
|
},
|
|
108303
108305
|
/**
|
|
108304
108306
|
* Cancel the provided callback from running on the next frame.
|
|
@@ -108326,18 +108328,18 @@ function Di(e2, t2) {
|
|
|
108326
108328
|
delta: 0,
|
|
108327
108329
|
timestamp: 0,
|
|
108328
108330
|
isProcessing: false
|
|
108329
|
-
}, i2 = () => s2 = true, o2 = Mt.reduce((y3,
|
|
108331
|
+
}, i2 = () => s2 = true, o2 = Mt.reduce((y3, E2) => (y3[E2] = Ml(i2), y3), {}), { setup: a2, read: c2, resolveKeyframes: d2, preUpdate: u4, update: h3, preRender: p3, render: m2, postRender: x2 } = o2, w2 = () => {
|
|
108330
108332
|
const y3 = Pe.useManualTiming ? r2.timestamp : performance.now();
|
|
108331
|
-
s2 = false, Pe.useManualTiming || (r2.delta = n2 ? 1e3 / 60 : Math.max(Math.min(y3 - r2.timestamp, Dl), 1)), r2.timestamp = y3, r2.isProcessing = true, a2.process(r2), c2.process(r2), d2.process(r2), u4.process(r2), h3.process(r2), p3.process(r2), m2.process(r2),
|
|
108333
|
+
s2 = false, Pe.useManualTiming || (r2.delta = n2 ? 1e3 / 60 : Math.max(Math.min(y3 - r2.timestamp, Dl), 1)), r2.timestamp = y3, r2.isProcessing = true, a2.process(r2), c2.process(r2), d2.process(r2), u4.process(r2), h3.process(r2), p3.process(r2), m2.process(r2), x2.process(r2), r2.isProcessing = false, s2 && t2 && (n2 = false, e2(w2));
|
|
108332
108334
|
}, A2 = () => {
|
|
108333
108335
|
s2 = true, n2 = true, r2.isProcessing || e2(w2);
|
|
108334
108336
|
};
|
|
108335
|
-
return { schedule: Mt.reduce((y3,
|
|
108336
|
-
const P3 = o2[
|
|
108337
|
-
return y3[
|
|
108337
|
+
return { schedule: Mt.reduce((y3, E2) => {
|
|
108338
|
+
const P3 = o2[E2];
|
|
108339
|
+
return y3[E2] = (V2, S3 = false, T2 = false) => (s2 || A2(), P3.schedule(V2, S3, T2)), y3;
|
|
108338
108340
|
}, {}), cancel: (y3) => {
|
|
108339
|
-
for (let
|
|
108340
|
-
o2[Mt[
|
|
108341
|
+
for (let E2 = 0; E2 < Mt.length; E2++)
|
|
108342
|
+
o2[Mt[E2]].cancel(y3);
|
|
108341
108343
|
}, state: r2, steps: o2 };
|
|
108342
108344
|
}
|
|
108343
108345
|
const { schedule: W, cancel: Me, state: te, steps: as } = /* @__PURE__ */ Di(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ge, true);
|
|
@@ -108354,17 +108356,17 @@ const ae = {
|
|
|
108354
108356
|
function Xn(e2) {
|
|
108355
108357
|
return typeof e2 != "string" ? false : e2.split("/*")[0].includes("var(--");
|
|
108356
108358
|
}
|
|
108357
|
-
const
|
|
108359
|
+
const rt = {
|
|
108358
108360
|
test: (e2) => typeof e2 == "number",
|
|
108359
108361
|
parse: parseFloat,
|
|
108360
108362
|
transform: (e2) => e2
|
|
108361
108363
|
}, wt = {
|
|
108362
|
-
...
|
|
108363
|
-
transform: (e2) =>
|
|
108364
|
+
...rt,
|
|
108365
|
+
transform: (e2) => Ce(0, 1, e2)
|
|
108364
108366
|
}, Dt = {
|
|
108365
|
-
...
|
|
108367
|
+
...rt,
|
|
108366
108368
|
default: 1
|
|
108367
|
-
},
|
|
108369
|
+
}, yt = (e2) => Math.round(e2 * 1e5) / 1e5, ln = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
108368
108370
|
function Ol(e2) {
|
|
108369
108371
|
return e2 == null;
|
|
108370
108372
|
}
|
|
@@ -108378,13 +108380,13 @@ const Il = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
|
108378
108380
|
[s2]: parseFloat(o2),
|
|
108379
108381
|
alpha: a2 !== void 0 ? parseFloat(a2) : 1
|
|
108380
108382
|
};
|
|
108381
|
-
}, _l = (e2) =>
|
|
108382
|
-
...
|
|
108383
|
+
}, _l = (e2) => Ce(0, 255, e2), ls = {
|
|
108384
|
+
...rt,
|
|
108383
108385
|
transform: (e2) => Math.round(_l(e2))
|
|
108384
|
-
},
|
|
108386
|
+
}, _e = {
|
|
108385
108387
|
test: /* @__PURE__ */ cn$1("rgb", "red"),
|
|
108386
108388
|
parse: /* @__PURE__ */ Li("red", "green", "blue"),
|
|
108387
|
-
transform: ({ red: e2, green: t2, blue: s2, alpha: n2 = 1 }) => "rgba(" + ls.transform(e2) + ", " + ls.transform(t2) + ", " + ls.transform(s2) + ", " +
|
|
108389
|
+
transform: ({ red: e2, green: t2, blue: s2, alpha: n2 = 1 }) => "rgba(" + ls.transform(e2) + ", " + ls.transform(t2) + ", " + ls.transform(s2) + ", " + yt(wt.transform(n2)) + ")"
|
|
108388
108390
|
};
|
|
108389
108391
|
function Wl(e2) {
|
|
108390
108392
|
let t2 = "", s2 = "", n2 = "", r2 = "";
|
|
@@ -108395,26 +108397,26 @@ function Wl(e2) {
|
|
|
108395
108397
|
alpha: r2 ? parseInt(r2, 16) / 255 : 1
|
|
108396
108398
|
};
|
|
108397
108399
|
}
|
|
108398
|
-
const
|
|
108400
|
+
const ks = {
|
|
108399
108401
|
test: /* @__PURE__ */ cn$1("#"),
|
|
108400
108402
|
parse: Wl,
|
|
108401
|
-
transform:
|
|
108403
|
+
transform: _e.transform
|
|
108402
108404
|
}, Pt = /* @__NO_SIDE_EFFECTS__ */ (e2) => ({
|
|
108403
108405
|
test: (t2) => typeof t2 == "string" && t2.endsWith(e2) && t2.split(" ").length === 1,
|
|
108404
108406
|
parse: parseFloat,
|
|
108405
108407
|
transform: (t2) => `${t2}${e2}`
|
|
108406
|
-
}), Re = /* @__PURE__ */ Pt("deg"), Ae = /* @__PURE__ */ Pt("%"),
|
|
108408
|
+
}), Re = /* @__PURE__ */ Pt("deg"), Ae = /* @__PURE__ */ Pt("%"), k = /* @__PURE__ */ Pt("px"), Ul = /* @__PURE__ */ Pt("vh"), ql = /* @__PURE__ */ Pt("vw"), Zn = {
|
|
108407
108409
|
...Ae,
|
|
108408
108410
|
parse: (e2) => Ae.parse(e2) / 100,
|
|
108409
108411
|
transform: (e2) => Ae.transform(e2 * 100)
|
|
108410
108412
|
}, Ge = {
|
|
108411
108413
|
test: /* @__PURE__ */ cn$1("hsl", "hue"),
|
|
108412
108414
|
parse: /* @__PURE__ */ Li("hue", "saturation", "lightness"),
|
|
108413
|
-
transform: ({ hue: e2, saturation: t2, lightness: s2, alpha: n2 = 1 }) => "hsla(" + Math.round(e2) + ", " + Ae.transform(
|
|
108415
|
+
transform: ({ hue: e2, saturation: t2, lightness: s2, alpha: n2 = 1 }) => "hsla(" + Math.round(e2) + ", " + Ae.transform(yt(t2)) + ", " + Ae.transform(yt(s2)) + ", " + yt(wt.transform(n2)) + ")"
|
|
108414
108416
|
}, J = {
|
|
108415
|
-
test: (e2) =>
|
|
108416
|
-
parse: (e2) =>
|
|
108417
|
-
transform: (e2) => typeof e2 == "string" ? e2 : e2.hasOwnProperty("red") ?
|
|
108417
|
+
test: (e2) => _e.test(e2) || ks.test(e2) || Ge.test(e2),
|
|
108418
|
+
parse: (e2) => _e.test(e2) ? _e.parse(e2) : Ge.test(e2) ? Ge.parse(e2) : ks.parse(e2),
|
|
108419
|
+
transform: (e2) => typeof e2 == "string" ? e2 : e2.hasOwnProperty("red") ? _e.transform(e2) : Ge.transform(e2),
|
|
108418
108420
|
getAnimatableNone: (e2) => {
|
|
108419
108421
|
const t2 = J.parse(e2);
|
|
108420
108422
|
return t2.alpha = 0, J.transform(t2);
|
|
@@ -108444,7 +108446,7 @@ function Wi(e2) {
|
|
|
108444
108446
|
for (let o2 = 0; o2 < n2; o2++)
|
|
108445
108447
|
if (i2 += t2[o2], r2[o2] !== void 0) {
|
|
108446
108448
|
const a2 = s2[o2];
|
|
108447
|
-
a2 === Oi ? i2 +=
|
|
108449
|
+
a2 === Oi ? i2 += yt(r2[o2]) : a2 === Ii ? i2 += J.transform(r2[o2]) : i2 += r2[o2];
|
|
108448
108450
|
}
|
|
108449
108451
|
return i2;
|
|
108450
108452
|
};
|
|
@@ -108485,10 +108487,10 @@ function qt(e2, t2) {
|
|
|
108485
108487
|
const K = (e2, t2, s2) => e2 + (t2 - e2) * s2, us = (e2, t2, s2) => {
|
|
108486
108488
|
const n2 = e2 * e2, r2 = s2 * (t2 * t2 - n2) + n2;
|
|
108487
108489
|
return r2 < 0 ? 0 : Math.sqrt(r2);
|
|
108488
|
-
}, Zl = [
|
|
108490
|
+
}, Zl = [ks, _e, Ge], $l = (e2) => Zl.find((t2) => t2.test(e2));
|
|
108489
108491
|
function er(e2) {
|
|
108490
108492
|
const t2 = $l(e2);
|
|
108491
|
-
if (
|
|
108493
|
+
if (nt(!!t2, `'${e2}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t2)
|
|
108492
108494
|
return false;
|
|
108493
108495
|
let s2 = t2.parse(e2);
|
|
108494
108496
|
return t2 === Ge && (s2 = Xl(s2)), s2;
|
|
@@ -108498,7 +108500,7 @@ const tr = (e2, t2) => {
|
|
|
108498
108500
|
if (!s2 || !n2)
|
|
108499
108501
|
return qt(e2, t2);
|
|
108500
108502
|
const r2 = { ...s2 };
|
|
108501
|
-
return (i2) => (r2.red = us(s2.red, n2.red, i2), r2.green = us(s2.green, n2.green, i2), r2.blue = us(s2.blue, n2.blue, i2), r2.alpha = K(s2.alpha, n2.alpha, i2),
|
|
108503
|
+
return (i2) => (r2.red = us(s2.red, n2.red, i2), r2.green = us(s2.green, n2.green, i2), r2.blue = us(s2.blue, n2.blue, i2), r2.alpha = K(s2.alpha, n2.alpha, i2), _e.transform(r2));
|
|
108502
108504
|
}, Ts = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
108503
108505
|
function ec(e2, t2) {
|
|
108504
108506
|
return Ts.has(e2) ? (s2) => s2 <= 0 ? e2 : t2 : (s2) => s2 >= 1 ? t2 : e2;
|
|
@@ -108537,7 +108539,7 @@ function nc(e2, t2) {
|
|
|
108537
108539
|
}
|
|
108538
108540
|
const rc = (e2, t2) => {
|
|
108539
108541
|
const s2 = De.createTransformer(t2), n2 = At(e2), r2 = At(t2);
|
|
108540
|
-
return n2.indexes.var.length === r2.indexes.var.length && n2.indexes.color.length === r2.indexes.color.length && n2.indexes.number.length >= r2.indexes.number.length ? Ts.has(e2) && !r2.values.length || Ts.has(t2) && !n2.values.length ? ec(e2, t2) : Tt(Ui(nc(n2, r2), r2.values), s2) : (
|
|
108542
|
+
return n2.indexes.var.length === r2.indexes.var.length && n2.indexes.color.length === r2.indexes.color.length && n2.indexes.number.length >= r2.indexes.number.length ? Ts.has(e2) && !r2.values.length || Ts.has(t2) && !n2.values.length ? ec(e2, t2) : Tt(Ui(nc(n2, r2), r2.values), s2) : (nt(true, `Complex values '${e2}' and '${t2}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), qt(e2, t2));
|
|
108541
108543
|
};
|
|
108542
108544
|
function qi(e2, t2, s2) {
|
|
108543
108545
|
return typeof e2 == "number" && typeof t2 == "number" && typeof s2 == "number" ? K(e2, t2, s2) : un(e2)(e2, t2);
|
|
@@ -108573,13 +108575,13 @@ function oc(e2, t2 = 100, s2) {
|
|
|
108573
108575
|
return {
|
|
108574
108576
|
type: "keyframes",
|
|
108575
108577
|
ease: (i2) => n2.next(r2 * i2).value / t2,
|
|
108576
|
-
duration: /* @__PURE__ */
|
|
108578
|
+
duration: /* @__PURE__ */ me(r2)
|
|
108577
108579
|
};
|
|
108578
108580
|
}
|
|
108579
108581
|
const ac = 5;
|
|
108580
108582
|
function Yi(e2, t2, s2) {
|
|
108581
108583
|
const n2 = Math.max(t2 - ac, 0);
|
|
108582
|
-
return
|
|
108584
|
+
return Ci(s2 - e2(n2), t2 - n2);
|
|
108583
108585
|
}
|
|
108584
108586
|
const q = {
|
|
108585
108587
|
// Default spring physics
|
|
@@ -108612,14 +108614,14 @@ const q = {
|
|
|
108612
108614
|
}, ds = 1e-3;
|
|
108613
108615
|
function lc({ duration: e2 = q.duration, bounce: t2 = q.bounce, velocity: s2 = q.velocity, mass: n2 = q.mass }) {
|
|
108614
108616
|
let r2, i2;
|
|
108615
|
-
|
|
108617
|
+
nt(e2 <= /* @__PURE__ */ we(q.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
108616
108618
|
let o2 = 1 - t2;
|
|
108617
|
-
o2 =
|
|
108618
|
-
const u4 = d2 * o2, h3 = u4 * e2, p3 = u4 - s2, m2 = Ss(d2, o2),
|
|
108619
|
-
return ds - p3 / m2 *
|
|
108619
|
+
o2 = Ce(q.minDamping, q.maxDamping, o2), e2 = Ce(q.minDuration, q.maxDuration, /* @__PURE__ */ me(e2)), o2 < 1 ? (r2 = (d2) => {
|
|
108620
|
+
const u4 = d2 * o2, h3 = u4 * e2, p3 = u4 - s2, m2 = Ss(d2, o2), x2 = Math.exp(-h3);
|
|
108621
|
+
return ds - p3 / m2 * x2;
|
|
108620
108622
|
}, i2 = (d2) => {
|
|
108621
|
-
const h3 = d2 * o2 * e2, p3 = h3 * s2 + s2, m2 = Math.pow(o2, 2) * Math.pow(d2, 2) * e2,
|
|
108622
|
-
return (-r2(d2) + ds > 0 ? -1 : 1) * ((p3 - m2) *
|
|
108623
|
+
const h3 = d2 * o2 * e2, p3 = h3 * s2 + s2, m2 = Math.pow(o2, 2) * Math.pow(d2, 2) * e2, x2 = Math.exp(-h3), w2 = Ss(Math.pow(d2, 2), o2);
|
|
108624
|
+
return (-r2(d2) + ds > 0 ? -1 : 1) * ((p3 - m2) * x2) / w2;
|
|
108623
108625
|
}) : (r2 = (d2) => {
|
|
108624
108626
|
const u4 = Math.exp(-d2 * e2), h3 = (d2 - s2) * e2 + 1;
|
|
108625
108627
|
return -ds + u4 * h3;
|
|
@@ -108668,7 +108670,7 @@ function fc(e2) {
|
|
|
108668
108670
|
};
|
|
108669
108671
|
if (!sr(e2, hc) && sr(e2, dc))
|
|
108670
108672
|
if (e2.visualDuration) {
|
|
108671
|
-
const s2 = e2.visualDuration, n2 = 2 * Math.PI / (s2 * 1.2), r2 = n2 * n2, i2 = 2 *
|
|
108673
|
+
const s2 = e2.visualDuration, n2 = 2 * Math.PI / (s2 * 1.2), r2 = n2 * n2, i2 = 2 * Ce(0.05, 1, 1 - (e2.bounce || 0)) * Math.sqrt(r2);
|
|
108672
108674
|
t2 = {
|
|
108673
108675
|
...t2,
|
|
108674
108676
|
mass: q.mass,
|
|
@@ -108694,47 +108696,47 @@ function Yt(e2 = q.visualDuration, t2 = q.bounce) {
|
|
|
108694
108696
|
let { restSpeed: n2, restDelta: r2 } = s2;
|
|
108695
108697
|
const i2 = s2.keyframes[0], o2 = s2.keyframes[s2.keyframes.length - 1], a2 = { done: false, value: i2 }, { stiffness: c2, damping: d2, mass: u4, duration: h3, velocity: p3, isResolvedFromDuration: m2 } = fc({
|
|
108696
108698
|
...s2,
|
|
108697
|
-
velocity: -/* @__PURE__ */
|
|
108698
|
-
}),
|
|
108699
|
-
n2 || (n2 =
|
|
108699
|
+
velocity: -/* @__PURE__ */ me(s2.velocity || 0)
|
|
108700
|
+
}), x2 = p3 || 0, w2 = d2 / (2 * Math.sqrt(c2 * u4)), A2 = o2 - i2, g2 = /* @__PURE__ */ me(Math.sqrt(c2 / u4)), v2 = Math.abs(A2) < 5;
|
|
108701
|
+
n2 || (n2 = v2 ? q.restSpeed.granular : q.restSpeed.default), r2 || (r2 = v2 ? q.restDelta.granular : q.restDelta.default);
|
|
108700
108702
|
let y3;
|
|
108701
108703
|
if (w2 < 1) {
|
|
108702
108704
|
const P3 = Ss(g2, w2);
|
|
108703
108705
|
y3 = (V2) => {
|
|
108704
108706
|
const S3 = Math.exp(-w2 * g2 * V2);
|
|
108705
|
-
return o2 - S3 * ((
|
|
108707
|
+
return o2 - S3 * ((x2 + w2 * g2 * A2) / P3 * Math.sin(P3 * V2) + A2 * Math.cos(P3 * V2));
|
|
108706
108708
|
};
|
|
108707
108709
|
} else if (w2 === 1)
|
|
108708
|
-
y3 = (P3) => o2 - Math.exp(-g2 * P3) * (A2 + (
|
|
108710
|
+
y3 = (P3) => o2 - Math.exp(-g2 * P3) * (A2 + (x2 + g2 * A2) * P3);
|
|
108709
108711
|
else {
|
|
108710
108712
|
const P3 = g2 * Math.sqrt(w2 * w2 - 1);
|
|
108711
108713
|
y3 = (V2) => {
|
|
108712
108714
|
const S3 = Math.exp(-w2 * g2 * V2), T2 = Math.min(P3 * V2, 300);
|
|
108713
|
-
return o2 - S3 * ((
|
|
108715
|
+
return o2 - S3 * ((x2 + w2 * g2 * A2) * Math.sinh(T2) + P3 * A2 * Math.cosh(T2)) / P3;
|
|
108714
108716
|
};
|
|
108715
108717
|
}
|
|
108716
|
-
const
|
|
108718
|
+
const E2 = {
|
|
108717
108719
|
calculatedDuration: m2 && h3 || null,
|
|
108718
108720
|
next: (P3) => {
|
|
108719
108721
|
const V2 = y3(P3);
|
|
108720
108722
|
if (m2)
|
|
108721
108723
|
a2.done = P3 >= h3;
|
|
108722
108724
|
else {
|
|
108723
|
-
let S3 = P3 === 0 ?
|
|
108724
|
-
w2 < 1 && (S3 = P3 === 0 ? /* @__PURE__ */ we(
|
|
108725
|
-
const T2 = Math.abs(S3) <= n2,
|
|
108726
|
-
a2.done = T2 &&
|
|
108725
|
+
let S3 = P3 === 0 ? x2 : 0;
|
|
108726
|
+
w2 < 1 && (S3 = P3 === 0 ? /* @__PURE__ */ we(x2) : Yi(y3, P3, V2));
|
|
108727
|
+
const T2 = Math.abs(S3) <= n2, M2 = Math.abs(o2 - V2) <= r2;
|
|
108728
|
+
a2.done = T2 && M2;
|
|
108727
108729
|
}
|
|
108728
108730
|
return a2.value = a2.done ? o2 : V2, a2;
|
|
108729
108731
|
},
|
|
108730
108732
|
toString: () => {
|
|
108731
|
-
const P3 = Math.min(dn(
|
|
108733
|
+
const P3 = Math.min(dn(E2), Kt), V2 = Ki((S3) => E2.next(P3 * S3).value, P3, 30);
|
|
108732
108734
|
return P3 + "ms " + V2;
|
|
108733
108735
|
},
|
|
108734
108736
|
toTransition: () => {
|
|
108735
108737
|
}
|
|
108736
108738
|
};
|
|
108737
|
-
return
|
|
108739
|
+
return E2;
|
|
108738
108740
|
}
|
|
108739
108741
|
Yt.applyToOptions = (e2) => {
|
|
108740
108742
|
const t2 = oc(e2, 100, Yt);
|
|
@@ -108744,18 +108746,18 @@ function Ps({ keyframes: e2, velocity: t2 = 0, power: s2 = 0.8, timeConstant: n2
|
|
|
108744
108746
|
const h3 = e2[0], p3 = {
|
|
108745
108747
|
done: false,
|
|
108746
108748
|
value: h3
|
|
108747
|
-
}, m2 = (T2) => a2 !== void 0 && T2 < a2 || c2 !== void 0 && T2 > c2,
|
|
108749
|
+
}, m2 = (T2) => a2 !== void 0 && T2 < a2 || c2 !== void 0 && T2 > c2, x2 = (T2) => a2 === void 0 ? c2 : c2 === void 0 || Math.abs(a2 - T2) < Math.abs(c2 - T2) ? a2 : c2;
|
|
108748
108750
|
let w2 = s2 * t2;
|
|
108749
108751
|
const A2 = h3 + w2, g2 = o2 === void 0 ? A2 : o2(A2);
|
|
108750
108752
|
g2 !== A2 && (w2 = g2 - h3);
|
|
108751
|
-
const
|
|
108752
|
-
const
|
|
108753
|
-
p3.done = Math.abs(
|
|
108753
|
+
const v2 = (T2) => -w2 * Math.exp(-T2 / n2), y3 = (T2) => g2 + v2(T2), E2 = (T2) => {
|
|
108754
|
+
const M2 = v2(T2), I2 = y3(T2);
|
|
108755
|
+
p3.done = Math.abs(M2) <= d2, p3.value = p3.done ? g2 : I2;
|
|
108754
108756
|
};
|
|
108755
108757
|
let P3, V2;
|
|
108756
108758
|
const S3 = (T2) => {
|
|
108757
108759
|
m2(p3.value) && (P3 = T2, V2 = Yt({
|
|
108758
|
-
keyframes: [p3.value,
|
|
108760
|
+
keyframes: [p3.value, x2(p3.value)],
|
|
108759
108761
|
velocity: Yi(y3, T2, p3.value),
|
|
108760
108762
|
// TODO: This should be passing * 1000
|
|
108761
108763
|
damping: r2,
|
|
@@ -108767,8 +108769,8 @@ function Ps({ keyframes: e2, velocity: t2 = 0, power: s2 = 0.8, timeConstant: n2
|
|
|
108767
108769
|
return S3(0), {
|
|
108768
108770
|
calculatedDuration: null,
|
|
108769
108771
|
next: (T2) => {
|
|
108770
|
-
let
|
|
108771
|
-
return !V2 && P3 === void 0 && (
|
|
108772
|
+
let M2 = false;
|
|
108773
|
+
return !V2 && P3 === void 0 && (M2 = true, E2(T2), S3(T2)), P3 !== void 0 && T2 >= P3 ? V2.next(T2 - P3) : (!M2 && E2(T2), p3);
|
|
108772
108774
|
}
|
|
108773
108775
|
};
|
|
108774
108776
|
}
|
|
@@ -108802,7 +108804,7 @@ function mc(e2, t2, { clamp: s2 = true, ease: n2, mixer: r2 } = {}) {
|
|
|
108802
108804
|
const p3 = /* @__PURE__ */ bt(e2[h3], e2[h3 + 1], u4);
|
|
108803
108805
|
return a2[h3](p3);
|
|
108804
108806
|
};
|
|
108805
|
-
return s2 ? (u4) => d2(
|
|
108807
|
+
return s2 ? (u4) => d2(Ce(e2[0], e2[i2 - 1], u4)) : d2;
|
|
108806
108808
|
}
|
|
108807
108809
|
function gc(e2, t2) {
|
|
108808
108810
|
const s2 = e2[e2.length - 1];
|
|
@@ -108909,22 +108911,22 @@ class pn extends fn {
|
|
|
108909
108911
|
const { generator: n2, totalDuration: r2, mixKeyframes: i2, mirroredGenerator: o2, resolvedDuration: a2, calculatedDuration: c2 } = this;
|
|
108910
108912
|
if (this.startTime === null)
|
|
108911
108913
|
return n2.next(0);
|
|
108912
|
-
const { delay: d2 = 0, keyframes: u4, repeat: h3, repeatType: p3, repeatDelay: m2, type:
|
|
108914
|
+
const { delay: d2 = 0, keyframes: u4, repeat: h3, repeatType: p3, repeatDelay: m2, type: x2, onUpdate: w2, finalKeyframe: A2 } = this.options;
|
|
108913
108915
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, t2) : this.speed < 0 && (this.startTime = Math.min(t2 - r2 / this.speed, this.startTime)), s2 ? this.currentTime = t2 : this.updateTime(t2);
|
|
108914
|
-
const g2 = this.currentTime - d2 * (this.playbackSpeed >= 0 ? 1 : -1),
|
|
108916
|
+
const g2 = this.currentTime - d2 * (this.playbackSpeed >= 0 ? 1 : -1), v2 = this.playbackSpeed >= 0 ? g2 < 0 : g2 > r2;
|
|
108915
108917
|
this.currentTime = Math.max(g2, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r2);
|
|
108916
|
-
let y3 = this.currentTime,
|
|
108918
|
+
let y3 = this.currentTime, E2 = n2;
|
|
108917
108919
|
if (h3) {
|
|
108918
108920
|
const T2 = Math.min(this.currentTime, r2) / a2;
|
|
108919
|
-
let
|
|
108920
|
-
!
|
|
108921
|
+
let M2 = Math.floor(T2), I2 = T2 % 1;
|
|
108922
|
+
!I2 && T2 >= 1 && (I2 = 1), I2 === 1 && M2--, M2 = Math.min(M2, h3 + 1), !!(M2 % 2) && (p3 === "reverse" ? (I2 = 1 - I2, m2 && (I2 -= m2 / a2)) : p3 === "mirror" && (E2 = o2)), y3 = Ce(0, 1, I2) * a2;
|
|
108921
108923
|
}
|
|
108922
|
-
const P3 =
|
|
108924
|
+
const P3 = v2 ? { done: false, value: u4[0] } : E2.next(y3);
|
|
108923
108925
|
i2 && (P3.value = i2(P3.value));
|
|
108924
108926
|
let { done: V2 } = P3;
|
|
108925
|
-
!
|
|
108927
|
+
!v2 && c2 !== null && (V2 = this.playbackSpeed >= 0 ? this.currentTime >= r2 : this.currentTime <= 0);
|
|
108926
108928
|
const S3 = this.holdTime === null && (this.state === "finished" || this.state === "running" && V2);
|
|
108927
|
-
return S3 &&
|
|
108929
|
+
return S3 && x2 !== Ps && (P3.value = hn(u4, this.options, A2, this.speed)), w2 && w2(P3.value), S3 && this.finish(), P3;
|
|
108928
108930
|
}
|
|
108929
108931
|
/**
|
|
108930
108932
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -108935,14 +108937,14 @@ class pn extends fn {
|
|
|
108935
108937
|
return this.finished.then(t2, s2);
|
|
108936
108938
|
}
|
|
108937
108939
|
get duration() {
|
|
108938
|
-
return /* @__PURE__ */
|
|
108940
|
+
return /* @__PURE__ */ me(this.calculatedDuration);
|
|
108939
108941
|
}
|
|
108940
108942
|
get iterationDuration() {
|
|
108941
108943
|
const { delay: t2 = 0 } = this.options || {};
|
|
108942
|
-
return this.duration + /* @__PURE__ */
|
|
108944
|
+
return this.duration + /* @__PURE__ */ me(t2);
|
|
108943
108945
|
}
|
|
108944
108946
|
get time() {
|
|
108945
|
-
return /* @__PURE__ */
|
|
108947
|
+
return /* @__PURE__ */ me(this.currentTime);
|
|
108946
108948
|
}
|
|
108947
108949
|
set time(t2) {
|
|
108948
108950
|
t2 = /* @__PURE__ */ we(t2), this.currentTime = t2, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = t2 : this.driver && (this.startTime = this.driver.now() - t2 / this.playbackSpeed), this.driver?.start(false);
|
|
@@ -108953,7 +108955,7 @@ class pn extends fn {
|
|
|
108953
108955
|
set speed(t2) {
|
|
108954
108956
|
this.updateTime(ae.now());
|
|
108955
108957
|
const s2 = this.playbackSpeed !== t2;
|
|
108956
|
-
this.playbackSpeed = t2, s2 && (this.time = /* @__PURE__ */
|
|
108958
|
+
this.playbackSpeed = t2, s2 && (this.time = /* @__PURE__ */ me(this.currentTime));
|
|
108957
108959
|
}
|
|
108958
108960
|
play() {
|
|
108959
108961
|
if (this.isStopped)
|
|
@@ -108988,14 +108990,14 @@ class pn extends fn {
|
|
|
108988
108990
|
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), t2.observe(this);
|
|
108989
108991
|
}
|
|
108990
108992
|
}
|
|
108991
|
-
function
|
|
108993
|
+
function Cc(e2) {
|
|
108992
108994
|
for (let t2 = 1; t2 < e2.length; t2++)
|
|
108993
108995
|
e2[t2] ?? (e2[t2] = e2[t2 - 1]);
|
|
108994
108996
|
}
|
|
108995
|
-
const
|
|
108996
|
-
const t2 =
|
|
108997
|
-
return
|
|
108998
|
-
},
|
|
108997
|
+
const We = (e2) => e2 * 180 / Math.PI, Es = (e2) => {
|
|
108998
|
+
const t2 = We(Math.atan2(e2[1], e2[0]));
|
|
108999
|
+
return js(t2);
|
|
109000
|
+
}, kc = {
|
|
108999
109001
|
x: 4,
|
|
109000
109002
|
y: 5,
|
|
109001
109003
|
translateX: 4,
|
|
@@ -109003,12 +109005,12 @@ const _e = (e2) => e2 * 180 / Math.PI, js = (e2) => {
|
|
|
109003
109005
|
scaleX: 0,
|
|
109004
109006
|
scaleY: 3,
|
|
109005
109007
|
scale: (e2) => (Math.abs(e2[0]) + Math.abs(e2[3])) / 2,
|
|
109006
|
-
rotate:
|
|
109007
|
-
rotateZ:
|
|
109008
|
-
skewX: (e2) =>
|
|
109009
|
-
skewY: (e2) =>
|
|
109008
|
+
rotate: Es,
|
|
109009
|
+
rotateZ: Es,
|
|
109010
|
+
skewX: (e2) => We(Math.atan(e2[1])),
|
|
109011
|
+
skewY: (e2) => We(Math.atan(e2[2])),
|
|
109010
109012
|
skew: (e2) => (Math.abs(e2[1]) + Math.abs(e2[2])) / 2
|
|
109011
|
-
},
|
|
109013
|
+
}, js = (e2) => (e2 = e2 % 360, e2 < 0 && (e2 += 360), e2), nr = Es, rr = (e2) => Math.sqrt(e2[0] * e2[0] + e2[1] * e2[1]), ir = (e2) => Math.sqrt(e2[4] * e2[4] + e2[5] * e2[5]), Tc = {
|
|
109012
109014
|
x: 12,
|
|
109013
109015
|
y: 13,
|
|
109014
109016
|
z: 14,
|
|
@@ -109018,12 +109020,12 @@ const _e = (e2) => e2 * 180 / Math.PI, js = (e2) => {
|
|
|
109018
109020
|
scaleX: rr,
|
|
109019
109021
|
scaleY: ir,
|
|
109020
109022
|
scale: (e2) => (rr(e2) + ir(e2)) / 2,
|
|
109021
|
-
rotateX: (e2) =>
|
|
109022
|
-
rotateY: (e2) =>
|
|
109023
|
+
rotateX: (e2) => js(We(Math.atan2(e2[6], e2[5]))),
|
|
109024
|
+
rotateY: (e2) => js(We(Math.atan2(-e2[2], e2[0]))),
|
|
109023
109025
|
rotateZ: nr,
|
|
109024
109026
|
rotate: nr,
|
|
109025
|
-
skewX: (e2) =>
|
|
109026
|
-
skewY: (e2) =>
|
|
109027
|
+
skewX: (e2) => We(Math.atan(e2[4])),
|
|
109028
|
+
skewY: (e2) => We(Math.atan(e2[1])),
|
|
109027
109029
|
skew: (e2) => (Math.abs(e2[1]) + Math.abs(e2[4])) / 2
|
|
109028
109030
|
};
|
|
109029
109031
|
function Rs(e2) {
|
|
@@ -109038,7 +109040,7 @@ function Ns(e2, t2) {
|
|
|
109038
109040
|
n2 = Tc, r2 = s2;
|
|
109039
109041
|
else {
|
|
109040
109042
|
const a2 = e2.match(/^matrix\(([-\d.e\s,]+)\)$/u);
|
|
109041
|
-
n2 =
|
|
109043
|
+
n2 = kc, r2 = a2;
|
|
109042
109044
|
}
|
|
109043
109045
|
if (!r2)
|
|
109044
109046
|
return Rs(t2);
|
|
@@ -109052,7 +109054,7 @@ const Sc = (e2, t2) => {
|
|
|
109052
109054
|
function Pc(e2) {
|
|
109053
109055
|
return parseFloat(e2.trim());
|
|
109054
109056
|
}
|
|
109055
|
-
const
|
|
109057
|
+
const it = [
|
|
109056
109058
|
"transformPerspective",
|
|
109057
109059
|
"x",
|
|
109058
109060
|
"y",
|
|
@@ -109070,10 +109072,10 @@ const rt = [
|
|
|
109070
109072
|
"skew",
|
|
109071
109073
|
"skewX",
|
|
109072
109074
|
"skewY"
|
|
109073
|
-
],
|
|
109075
|
+
], ot2 = new Set(it), or = (e2) => e2 === rt || e2 === k, Ec = /* @__PURE__ */ new Set(["x", "y", "z"]), jc = it.filter((e2) => !Ec.has(e2));
|
|
109074
109076
|
function Rc(e2) {
|
|
109075
109077
|
const t2 = [];
|
|
109076
|
-
return
|
|
109078
|
+
return jc.forEach((s2) => {
|
|
109077
109079
|
const n2 = e2.getValue(s2);
|
|
109078
109080
|
n2 !== void 0 && (t2.push([s2, n2.get()]), n2.set(s2.startsWith("scale") ? 1 : 0));
|
|
109079
109081
|
}), t2;
|
|
@@ -109092,11 +109094,11 @@ const Ne = {
|
|
|
109092
109094
|
};
|
|
109093
109095
|
Ne.translateX = Ne.x;
|
|
109094
109096
|
Ne.translateY = Ne.y;
|
|
109095
|
-
const
|
|
109097
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
109096
109098
|
let Vs = false, Ms = false, Ds = false;
|
|
109097
109099
|
function Gi() {
|
|
109098
109100
|
if (Ms) {
|
|
109099
|
-
const e2 = Array.from(
|
|
109101
|
+
const e2 = Array.from(Ue).filter((n2) => n2.needsMeasurement), t2 = new Set(e2.map((n2) => n2.element)), s2 = /* @__PURE__ */ new Map();
|
|
109100
109102
|
t2.forEach((n2) => {
|
|
109101
109103
|
const r2 = Rc(n2);
|
|
109102
109104
|
r2.length && (s2.set(n2, r2), n2.render());
|
|
@@ -109110,10 +109112,10 @@ function Gi() {
|
|
|
109110
109112
|
n2.suspendedScrollY !== void 0 && window.scrollTo(0, n2.suspendedScrollY);
|
|
109111
109113
|
});
|
|
109112
109114
|
}
|
|
109113
|
-
Ms = false, Vs = false,
|
|
109115
|
+
Ms = false, Vs = false, Ue.forEach((e2) => e2.complete(Ds)), Ue.clear();
|
|
109114
109116
|
}
|
|
109115
109117
|
function Ji() {
|
|
109116
|
-
|
|
109118
|
+
Ue.forEach((e2) => {
|
|
109117
109119
|
e2.readKeyframes(), e2.needsMeasurement && (Ms = true);
|
|
109118
109120
|
});
|
|
109119
109121
|
}
|
|
@@ -109125,7 +109127,7 @@ class mn {
|
|
|
109125
109127
|
this.state = "pending", this.isAsync = false, this.needsMeasurement = false, this.unresolvedKeyframes = [...t2], this.onComplete = s2, this.name = n2, this.motionValue = r2, this.element = i2, this.isAsync = o2;
|
|
109126
109128
|
}
|
|
109127
109129
|
scheduleResolve() {
|
|
109128
|
-
this.state = "scheduled", this.isAsync ? (
|
|
109130
|
+
this.state = "scheduled", this.isAsync ? (Ue.add(this), Vs || (Vs = true, W.read(Ji), W.resolveKeyframes(Gi))) : (this.readKeyframes(), this.complete());
|
|
109129
109131
|
}
|
|
109130
109132
|
readKeyframes() {
|
|
109131
109133
|
const { unresolvedKeyframes: t2, name: s2, element: n2, motionValue: r2 } = this;
|
|
@@ -109139,7 +109141,7 @@ class mn {
|
|
|
109139
109141
|
}
|
|
109140
109142
|
t2[0] === void 0 && (t2[0] = o2), r2 && i2 === void 0 && r2.set(t2[0]);
|
|
109141
109143
|
}
|
|
109142
|
-
|
|
109144
|
+
Cc(t2);
|
|
109143
109145
|
}
|
|
109144
109146
|
setFinalKeyframe() {
|
|
109145
109147
|
}
|
|
@@ -109150,10 +109152,10 @@ class mn {
|
|
|
109150
109152
|
measureEndState() {
|
|
109151
109153
|
}
|
|
109152
109154
|
complete(t2 = false) {
|
|
109153
|
-
this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, t2),
|
|
109155
|
+
this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, t2), Ue.delete(this);
|
|
109154
109156
|
}
|
|
109155
109157
|
cancel() {
|
|
109156
|
-
this.state === "scheduled" && (
|
|
109158
|
+
this.state === "scheduled" && (Ue.delete(this), this.state = "pending");
|
|
109157
109159
|
}
|
|
109158
109160
|
resume() {
|
|
109159
109161
|
this.state === "pending" && this.scheduleResolve();
|
|
@@ -109175,20 +109177,20 @@ const Qi = /* @__PURE__ */ Bc(() => {
|
|
|
109175
109177
|
return false;
|
|
109176
109178
|
}
|
|
109177
109179
|
return true;
|
|
109178
|
-
}, "linearEasing"),
|
|
109180
|
+
}, "linearEasing"), mt = ([e2, t2, s2, n2]) => `cubic-bezier(${e2}, ${t2}, ${s2}, ${n2})`, ar = {
|
|
109179
109181
|
linear: "linear",
|
|
109180
109182
|
ease: "ease",
|
|
109181
109183
|
easeIn: "ease-in",
|
|
109182
109184
|
easeOut: "ease-out",
|
|
109183
109185
|
easeInOut: "ease-in-out",
|
|
109184
|
-
circIn: /* @__PURE__ */
|
|
109185
|
-
circOut: /* @__PURE__ */
|
|
109186
|
-
backIn: /* @__PURE__ */
|
|
109187
|
-
backOut: /* @__PURE__ */
|
|
109186
|
+
circIn: /* @__PURE__ */ mt([0, 0.65, 0.55, 1]),
|
|
109187
|
+
circOut: /* @__PURE__ */ mt([0.55, 0, 1, 0.45]),
|
|
109188
|
+
backIn: /* @__PURE__ */ mt([0.31, 0.01, 0.66, -0.59]),
|
|
109189
|
+
backOut: /* @__PURE__ */ mt([0.33, 1.53, 0.69, 0.99])
|
|
109188
109190
|
};
|
|
109189
109191
|
function Hi(e2, t2) {
|
|
109190
109192
|
if (e2)
|
|
109191
|
-
return typeof e2 == "function" ? Qi() ? Ki(e2, t2) : "ease-out" : Mi(e2) ?
|
|
109193
|
+
return typeof e2 == "function" ? Qi() ? Ki(e2, t2) : "ease-out" : Mi(e2) ? mt(e2) : Array.isArray(e2) ? e2.map((s2) => Hi(s2, t2) || ar.easeOut) : ar[e2];
|
|
109192
109194
|
}
|
|
109193
109195
|
function Lc(e2, t2, s2, { delay: n2 = 0, duration: r2 = 300, repeat: i2 = 0, repeatType: o2 = "loop", ease: a2 = "easeOut", times: c2 } = {}, d2 = void 0) {
|
|
109194
109196
|
const u4 = {
|
|
@@ -109267,14 +109269,14 @@ class Ic extends fn {
|
|
|
109267
109269
|
}
|
|
109268
109270
|
get duration() {
|
|
109269
109271
|
const t2 = this.animation.effect?.getComputedTiming?.().duration || 0;
|
|
109270
|
-
return /* @__PURE__ */
|
|
109272
|
+
return /* @__PURE__ */ me(Number(t2));
|
|
109271
109273
|
}
|
|
109272
109274
|
get iterationDuration() {
|
|
109273
109275
|
const { delay: t2 = 0 } = this.options || {};
|
|
109274
|
-
return this.duration + /* @__PURE__ */
|
|
109276
|
+
return this.duration + /* @__PURE__ */ me(t2);
|
|
109275
109277
|
}
|
|
109276
109278
|
get time() {
|
|
109277
|
-
return /* @__PURE__ */
|
|
109279
|
+
return /* @__PURE__ */ me(Number(this.animation.currentTime) || 0);
|
|
109278
109280
|
}
|
|
109279
109281
|
set time(t2) {
|
|
109280
109282
|
this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ we(t2);
|
|
@@ -109306,8 +109308,8 @@ class Ic extends fn {
|
|
|
109306
109308
|
}
|
|
109307
109309
|
}
|
|
109308
109310
|
const Zi = {
|
|
109309
|
-
anticipate:
|
|
109310
|
-
backInOut:
|
|
109311
|
+
anticipate: ji,
|
|
109312
|
+
backInOut: Ei,
|
|
109311
109313
|
circInOut: Ni
|
|
109312
109314
|
};
|
|
109313
109315
|
function _c(e2) {
|
|
@@ -109340,7 +109342,7 @@ class Uc extends Ic {
|
|
|
109340
109342
|
const a2 = new pn({
|
|
109341
109343
|
...o2,
|
|
109342
109344
|
autoplay: false
|
|
109343
|
-
}), c2 = Math.max(hs, ae.now() - this.startTime), d2 =
|
|
109345
|
+
}), c2 = Math.max(hs, ae.now() - this.startTime), d2 = Ce(0, hs, c2 - hs);
|
|
109344
109346
|
s2.setWithVelocity(a2.sample(Math.max(0, c2 - d2)).value, a2.sample(c2).value, d2), a2.stop();
|
|
109345
109347
|
}
|
|
109346
109348
|
}
|
|
@@ -109362,7 +109364,7 @@ function Kc(e2, t2, s2, n2) {
|
|
|
109362
109364
|
if (t2 === "display" || t2 === "visibility")
|
|
109363
109365
|
return true;
|
|
109364
109366
|
const i2 = e2[e2.length - 1], o2 = lr(r2, t2), a2 = lr(i2, t2);
|
|
109365
|
-
return
|
|
109367
|
+
return nt(o2 === a2, `You are trying to animate ${t2} from "${r2}" to "${i2}". "${o2 ? i2 : r2}" is not an animatable value.`, "value-not-animatable"), !o2 || !a2 ? false : qc(e2) || (s2 === "spring" || Xi(s2)) && n2;
|
|
109366
109368
|
}
|
|
109367
109369
|
function Fs(e2) {
|
|
109368
109370
|
e2.duration = 0, e2.type = "keyframes";
|
|
@@ -109404,7 +109406,7 @@ class Qc extends fn {
|
|
|
109404
109406
|
element: u4,
|
|
109405
109407
|
...h3
|
|
109406
109408
|
}, m2 = u4?.KeyframeResolver || mn;
|
|
109407
|
-
this.keyframeResolver = new m2(a2, (
|
|
109409
|
+
this.keyframeResolver = new m2(a2, (x2, w2, A2) => this.onKeyframesResolved(x2, w2, p3, !A2), c2, d2, u4), this.keyframeResolver?.scheduleResolve();
|
|
109408
109410
|
}
|
|
109409
109411
|
onKeyframesResolved(t2, s2, n2, r2) {
|
|
109410
109412
|
this.keyframeResolver = void 0;
|
|
@@ -109505,11 +109507,11 @@ const eo = /* @__PURE__ */ new Set([
|
|
|
109505
109507
|
"left",
|
|
109506
109508
|
"right",
|
|
109507
109509
|
"bottom",
|
|
109508
|
-
...
|
|
109510
|
+
...it
|
|
109509
109511
|
]), $c = {
|
|
109510
109512
|
test: (e2) => e2 === "auto",
|
|
109511
109513
|
parse: (e2) => e2
|
|
109512
|
-
}, to = (e2) => (t2) => t2.test(e2), so = [
|
|
109514
|
+
}, to = (e2) => (t2) => t2.test(e2), so = [rt, k, Ae, Re, ql, Ul, $c], cr = (e2) => so.find(to(e2));
|
|
109513
109515
|
function eu(e2) {
|
|
109514
109516
|
return typeof e2 == "number" ? e2 === 0 : e2 !== null ? e2 === "none" || e2 === "0" || Ai(e2) : true;
|
|
109515
109517
|
}
|
|
@@ -109532,7 +109534,7 @@ const nu = /\b([a-z-]*)\(.*?\)/gu, Bs = {
|
|
|
109532
109534
|
return t2 ? t2.map(su).join(" ") : e2;
|
|
109533
109535
|
}
|
|
109534
109536
|
}, ur = {
|
|
109535
|
-
...
|
|
109537
|
+
...rt,
|
|
109536
109538
|
transform: Math.round
|
|
109537
109539
|
}, ru = {
|
|
109538
109540
|
rotate: Re,
|
|
@@ -109546,74 +109548,74 @@ const nu = /\b([a-z-]*)\(.*?\)/gu, Bs = {
|
|
|
109546
109548
|
skew: Re,
|
|
109547
109549
|
skewX: Re,
|
|
109548
109550
|
skewY: Re,
|
|
109549
|
-
distance:
|
|
109550
|
-
translateX:
|
|
109551
|
-
translateY:
|
|
109552
|
-
translateZ:
|
|
109553
|
-
x:
|
|
109554
|
-
y:
|
|
109555
|
-
z:
|
|
109556
|
-
perspective:
|
|
109557
|
-
transformPerspective:
|
|
109551
|
+
distance: k,
|
|
109552
|
+
translateX: k,
|
|
109553
|
+
translateY: k,
|
|
109554
|
+
translateZ: k,
|
|
109555
|
+
x: k,
|
|
109556
|
+
y: k,
|
|
109557
|
+
z: k,
|
|
109558
|
+
perspective: k,
|
|
109559
|
+
transformPerspective: k,
|
|
109558
109560
|
opacity: wt,
|
|
109559
109561
|
originX: Zn,
|
|
109560
109562
|
originY: Zn,
|
|
109561
|
-
originZ:
|
|
109563
|
+
originZ: k
|
|
109562
109564
|
}, yn = {
|
|
109563
109565
|
// Border props
|
|
109564
|
-
borderWidth:
|
|
109565
|
-
borderTopWidth:
|
|
109566
|
-
borderRightWidth:
|
|
109567
|
-
borderBottomWidth:
|
|
109568
|
-
borderLeftWidth:
|
|
109569
|
-
borderRadius:
|
|
109570
|
-
radius:
|
|
109571
|
-
borderTopLeftRadius:
|
|
109572
|
-
borderTopRightRadius:
|
|
109573
|
-
borderBottomRightRadius:
|
|
109574
|
-
borderBottomLeftRadius:
|
|
109566
|
+
borderWidth: k,
|
|
109567
|
+
borderTopWidth: k,
|
|
109568
|
+
borderRightWidth: k,
|
|
109569
|
+
borderBottomWidth: k,
|
|
109570
|
+
borderLeftWidth: k,
|
|
109571
|
+
borderRadius: k,
|
|
109572
|
+
radius: k,
|
|
109573
|
+
borderTopLeftRadius: k,
|
|
109574
|
+
borderTopRightRadius: k,
|
|
109575
|
+
borderBottomRightRadius: k,
|
|
109576
|
+
borderBottomLeftRadius: k,
|
|
109575
109577
|
// Positioning props
|
|
109576
|
-
width:
|
|
109577
|
-
maxWidth:
|
|
109578
|
-
height:
|
|
109579
|
-
maxHeight:
|
|
109580
|
-
top:
|
|
109581
|
-
right:
|
|
109582
|
-
bottom:
|
|
109583
|
-
left:
|
|
109584
|
-
inset:
|
|
109585
|
-
insetBlock:
|
|
109586
|
-
insetBlockStart:
|
|
109587
|
-
insetBlockEnd:
|
|
109588
|
-
insetInline:
|
|
109589
|
-
insetInlineStart:
|
|
109590
|
-
insetInlineEnd:
|
|
109578
|
+
width: k,
|
|
109579
|
+
maxWidth: k,
|
|
109580
|
+
height: k,
|
|
109581
|
+
maxHeight: k,
|
|
109582
|
+
top: k,
|
|
109583
|
+
right: k,
|
|
109584
|
+
bottom: k,
|
|
109585
|
+
left: k,
|
|
109586
|
+
inset: k,
|
|
109587
|
+
insetBlock: k,
|
|
109588
|
+
insetBlockStart: k,
|
|
109589
|
+
insetBlockEnd: k,
|
|
109590
|
+
insetInline: k,
|
|
109591
|
+
insetInlineStart: k,
|
|
109592
|
+
insetInlineEnd: k,
|
|
109591
109593
|
// Spacing props
|
|
109592
|
-
padding:
|
|
109593
|
-
paddingTop:
|
|
109594
|
-
paddingRight:
|
|
109595
|
-
paddingBottom:
|
|
109596
|
-
paddingLeft:
|
|
109597
|
-
paddingBlock:
|
|
109598
|
-
paddingBlockStart:
|
|
109599
|
-
paddingBlockEnd:
|
|
109600
|
-
paddingInline:
|
|
109601
|
-
paddingInlineStart:
|
|
109602
|
-
paddingInlineEnd:
|
|
109603
|
-
margin:
|
|
109604
|
-
marginTop:
|
|
109605
|
-
marginRight:
|
|
109606
|
-
marginBottom:
|
|
109607
|
-
marginLeft:
|
|
109608
|
-
marginBlock:
|
|
109609
|
-
marginBlockStart:
|
|
109610
|
-
marginBlockEnd:
|
|
109611
|
-
marginInline:
|
|
109612
|
-
marginInlineStart:
|
|
109613
|
-
marginInlineEnd:
|
|
109594
|
+
padding: k,
|
|
109595
|
+
paddingTop: k,
|
|
109596
|
+
paddingRight: k,
|
|
109597
|
+
paddingBottom: k,
|
|
109598
|
+
paddingLeft: k,
|
|
109599
|
+
paddingBlock: k,
|
|
109600
|
+
paddingBlockStart: k,
|
|
109601
|
+
paddingBlockEnd: k,
|
|
109602
|
+
paddingInline: k,
|
|
109603
|
+
paddingInlineStart: k,
|
|
109604
|
+
paddingInlineEnd: k,
|
|
109605
|
+
margin: k,
|
|
109606
|
+
marginTop: k,
|
|
109607
|
+
marginRight: k,
|
|
109608
|
+
marginBottom: k,
|
|
109609
|
+
marginLeft: k,
|
|
109610
|
+
marginBlock: k,
|
|
109611
|
+
marginBlockStart: k,
|
|
109612
|
+
marginBlockEnd: k,
|
|
109613
|
+
marginInline: k,
|
|
109614
|
+
marginInlineStart: k,
|
|
109615
|
+
marginInlineEnd: k,
|
|
109614
109616
|
// Misc
|
|
109615
|
-
backgroundPositionX:
|
|
109616
|
-
backgroundPositionY:
|
|
109617
|
+
backgroundPositionX: k,
|
|
109618
|
+
backgroundPositionY: k,
|
|
109617
109619
|
...ru,
|
|
109618
109620
|
zIndex: ur,
|
|
109619
109621
|
// SVG
|
|
@@ -109872,7 +109874,7 @@ class du {
|
|
|
109872
109874
|
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t2 - this.updatedAt > dr)
|
|
109873
109875
|
return 0;
|
|
109874
109876
|
const s2 = Math.min(this.updatedAt - this.prevUpdatedAt, dr);
|
|
109875
|
-
return
|
|
109877
|
+
return Ci(parseFloat(this.current) - parseFloat(this.prevFrameValue), s2);
|
|
109876
109878
|
}
|
|
109877
109879
|
/**
|
|
109878
109880
|
* Registers a new animation to control this `MotionValue`. Only one
|
|
@@ -109923,7 +109925,7 @@ class du {
|
|
|
109923
109925
|
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
|
|
109924
109926
|
}
|
|
109925
109927
|
}
|
|
109926
|
-
function
|
|
109928
|
+
function et2(e2, t2) {
|
|
109927
109929
|
return new du(e2, t2);
|
|
109928
109930
|
}
|
|
109929
109931
|
const { schedule: xn } = /* @__PURE__ */ Di(queueMicrotask, false), xe = {
|
|
@@ -110010,8 +110012,8 @@ function gu(e2, t2, s2 = {}) {
|
|
|
110010
110012
|
if (!pr(a2))
|
|
110011
110013
|
return;
|
|
110012
110014
|
Ot.add(c2);
|
|
110013
|
-
const d2 = t2(c2, a2), u4 = (m2,
|
|
110014
|
-
window.removeEventListener("pointerup", h3), window.removeEventListener("pointercancel", p3), Ot.has(c2) && Ot.delete(c2), pr(m2) && typeof d2 == "function" && d2(m2, { success:
|
|
110015
|
+
const d2 = t2(c2, a2), u4 = (m2, x2) => {
|
|
110016
|
+
window.removeEventListener("pointerup", h3), window.removeEventListener("pointercancel", p3), Ot.has(c2) && Ot.delete(c2), pr(m2) && typeof d2 == "function" && d2(m2, { success: x2 });
|
|
110015
110017
|
}, h3 = (m2) => {
|
|
110016
110018
|
u4(m2, c2 === window || c2 === document || s2.useGlobalTarget || co(c2, m2.target));
|
|
110017
110019
|
}, p3 = (m2) => {
|
|
@@ -110076,7 +110078,7 @@ class Au extends React__namespace.Component {
|
|
|
110076
110078
|
return this.props.children;
|
|
110077
110079
|
}
|
|
110078
110080
|
}
|
|
110079
|
-
function
|
|
110081
|
+
function Cu({ children: e2, isPresent: t2, anchorX: s2, root: n2 }) {
|
|
110080
110082
|
const r2 = React.useId(), i2 = React.useRef(null), o2 = React.useRef({
|
|
110081
110083
|
width: 0,
|
|
110082
110084
|
height: 0,
|
|
@@ -110085,10 +110087,10 @@ function ku({ children: e2, isPresent: t2, anchorX: s2, root: n2 }) {
|
|
|
110085
110087
|
right: 0
|
|
110086
110088
|
}), { nonce: a2 } = React.useContext(bn), c2 = e2.props?.ref ?? e2?.ref, d2 = wu(i2, c2);
|
|
110087
110089
|
return React.useInsertionEffect(() => {
|
|
110088
|
-
const { width: u4, height: h3, top: p3, left: m2, right:
|
|
110090
|
+
const { width: u4, height: h3, top: p3, left: m2, right: x2 } = o2.current;
|
|
110089
110091
|
if (t2 || !i2.current || !u4 || !h3)
|
|
110090
110092
|
return;
|
|
110091
|
-
const w2 = s2 === "left" ? `left: ${m2}` : `right: ${
|
|
110093
|
+
const w2 = s2 === "left" ? `left: ${m2}` : `right: ${x2}`;
|
|
110092
110094
|
i2.current.dataset.motionPopId = r2;
|
|
110093
110095
|
const A2 = document.createElement("style");
|
|
110094
110096
|
a2 && (A2.nonce = a2);
|
|
@@ -110106,7 +110108,7 @@ function ku({ children: e2, isPresent: t2, anchorX: s2, root: n2 }) {
|
|
|
110106
110108
|
};
|
|
110107
110109
|
}, [t2]), l2.jsx(Au, { isPresent: t2, childRef: i2, sizeRef: o2, children: React__namespace.cloneElement(e2, { ref: d2 }) });
|
|
110108
110110
|
}
|
|
110109
|
-
const
|
|
110111
|
+
const ku = ({ children: e2, initial: t2, isPresent: s2, onExitComplete: n2, custom: r2, presenceAffectsLayout: i2, mode: o2, anchorX: a2, root: c2 }) => {
|
|
110110
110112
|
const d2 = Xs(Tu), u4 = React.useId();
|
|
110111
110113
|
let h3 = true, p3 = React.useMemo(() => (h3 = false, {
|
|
110112
110114
|
id: u4,
|
|
@@ -110115,18 +110117,18 @@ const Cu = ({ children: e2, initial: t2, isPresent: s2, onExitComplete: n2, cust
|
|
|
110115
110117
|
custom: r2,
|
|
110116
110118
|
onExitComplete: (m2) => {
|
|
110117
110119
|
d2.set(m2, true);
|
|
110118
|
-
for (const
|
|
110119
|
-
if (!
|
|
110120
|
+
for (const x2 of d2.values())
|
|
110121
|
+
if (!x2)
|
|
110120
110122
|
return;
|
|
110121
110123
|
n2 && n2();
|
|
110122
110124
|
},
|
|
110123
110125
|
register: (m2) => (d2.set(m2, false), () => d2.delete(m2))
|
|
110124
110126
|
}), [s2, d2, n2]);
|
|
110125
110127
|
return i2 && h3 && (p3 = { ...p3 }), React.useMemo(() => {
|
|
110126
|
-
d2.forEach((m2,
|
|
110128
|
+
d2.forEach((m2, x2) => d2.set(x2, false));
|
|
110127
110129
|
}, [s2]), React__namespace.useEffect(() => {
|
|
110128
110130
|
!s2 && !d2.size && n2 && n2();
|
|
110129
|
-
}, [s2]), o2 === "popLayout" && (e2 = l2.jsx(
|
|
110131
|
+
}, [s2]), o2 === "popLayout" && (e2 = l2.jsx(Cu, { isPresent: s2, anchorX: a2, root: c2, children: e2 })), l2.jsx(Xt.Provider, { value: p3, children: e2 });
|
|
110130
110132
|
};
|
|
110131
110133
|
function Tu() {
|
|
110132
110134
|
return /* @__PURE__ */ new Map();
|
|
@@ -110151,9 +110153,9 @@ function gr(e2) {
|
|
|
110151
110153
|
}), t2;
|
|
110152
110154
|
}
|
|
110153
110155
|
const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2, presenceAffectsLayout: r2 = true, mode: i2 = "sync", propagate: o2 = false, anchorX: a2 = "left", root: c2 }) => {
|
|
110154
|
-
const [d2, u4] = fo(o2), h3 = React.useMemo(() => gr(e2), [e2]), p3 = o2 && !d2 ? [] : h3.map(Ft), m2 = React.useRef(true),
|
|
110156
|
+
const [d2, u4] = fo(o2), h3 = React.useMemo(() => gr(e2), [e2]), p3 = o2 && !d2 ? [] : h3.map(Ft), m2 = React.useRef(true), x2 = React.useRef(h3), w2 = Xs(() => /* @__PURE__ */ new Map()), A2 = React.useRef(/* @__PURE__ */ new Set()), [g2, v2] = React.useState(h3), [y3, E2] = React.useState(h3);
|
|
110155
110157
|
vi(() => {
|
|
110156
|
-
m2.current = false,
|
|
110158
|
+
m2.current = false, x2.current = h3;
|
|
110157
110159
|
for (let S3 = 0; S3 < y3.length; S3++) {
|
|
110158
110160
|
const T2 = Ft(y3[S3]);
|
|
110159
110161
|
p3.includes(T2) ? (w2.delete(T2), A2.current.delete(T2)) : w2.get(T2) !== true && w2.set(T2, false);
|
|
@@ -110163,15 +110165,15 @@ const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2,
|
|
|
110163
110165
|
if (h3 !== g2) {
|
|
110164
110166
|
let S3 = [...h3];
|
|
110165
110167
|
for (let T2 = 0; T2 < y3.length; T2++) {
|
|
110166
|
-
const
|
|
110167
|
-
p3.includes(
|
|
110168
|
+
const M2 = y3[T2], I2 = Ft(M2);
|
|
110169
|
+
p3.includes(I2) || (S3.splice(T2, 0, M2), P3.push(M2));
|
|
110168
110170
|
}
|
|
110169
|
-
return i2 === "wait" && P3.length && (S3 = P3),
|
|
110171
|
+
return i2 === "wait" && P3.length && (S3 = P3), E2(gr(S3)), v2(h3), null;
|
|
110170
110172
|
}
|
|
110171
110173
|
process.env.NODE_ENV !== "production" && i2 === "wait" && y3.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
110172
110174
|
const { forceRender: V2 } = React.useContext(Hs);
|
|
110173
110175
|
return l2.jsx(l2.Fragment, { children: y3.map((S3) => {
|
|
110174
|
-
const T2 = Ft(S3),
|
|
110176
|
+
const T2 = Ft(S3), M2 = o2 && !d2 ? false : h3 === y3 || p3.includes(T2), I2 = () => {
|
|
110175
110177
|
if (A2.current.has(T2))
|
|
110176
110178
|
return;
|
|
110177
110179
|
if (A2.current.add(T2), w2.has(T2))
|
|
@@ -110181,9 +110183,9 @@ const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2,
|
|
|
110181
110183
|
let Q2 = true;
|
|
110182
110184
|
w2.forEach((H2) => {
|
|
110183
110185
|
H2 || (Q2 = false);
|
|
110184
|
-
}), Q2 && (V2?.(),
|
|
110186
|
+
}), Q2 && (V2?.(), E2(x2.current), o2 && u4?.(), n2 && n2());
|
|
110185
110187
|
};
|
|
110186
|
-
return l2.jsx(
|
|
110188
|
+
return l2.jsx(ku, { isPresent: M2, initial: !m2.current || s2 ? void 0 : false, custom: t2, presenceAffectsLayout: r2, mode: i2, root: c2, onExitComplete: M2 ? void 0 : I2, anchorX: a2, children: S3 }, T2);
|
|
110187
110189
|
}) });
|
|
110188
110190
|
}, po = React.createContext({ strict: false }), yr = {
|
|
110189
110191
|
animation: [
|
|
@@ -110204,19 +110206,19 @@ const Su = ({ children: e2, custom: t2, initial: s2 = true, onExitComplete: n2,
|
|
|
110204
110206
|
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
110205
110207
|
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
110206
110208
|
layout: ["layout", "layoutId"]
|
|
110207
|
-
},
|
|
110209
|
+
}, tt = {};
|
|
110208
110210
|
for (const e2 in yr)
|
|
110209
|
-
|
|
110211
|
+
tt[e2] = {
|
|
110210
110212
|
isEnabled: (t2) => yr[e2].some((s2) => !!t2[s2])
|
|
110211
110213
|
};
|
|
110212
110214
|
function Pu(e2) {
|
|
110213
110215
|
for (const t2 in e2)
|
|
110214
|
-
|
|
110215
|
-
...
|
|
110216
|
+
tt[t2] = {
|
|
110217
|
+
...tt[t2],
|
|
110216
110218
|
...e2[t2]
|
|
110217
110219
|
};
|
|
110218
110220
|
}
|
|
110219
|
-
const
|
|
110221
|
+
const Eu = /* @__PURE__ */ new Set([
|
|
110220
110222
|
"animate",
|
|
110221
110223
|
"exit",
|
|
110222
110224
|
"variants",
|
|
@@ -110249,14 +110251,14 @@ const ju = /* @__PURE__ */ new Set([
|
|
|
110249
110251
|
"viewport"
|
|
110250
110252
|
]);
|
|
110251
110253
|
function zt(e2) {
|
|
110252
|
-
return e2.startsWith("while") || e2.startsWith("drag") && e2 !== "draggable" || e2.startsWith("layout") || e2.startsWith("onTap") || e2.startsWith("onPan") || e2.startsWith("onLayout") ||
|
|
110254
|
+
return e2.startsWith("while") || e2.startsWith("drag") && e2 !== "draggable" || e2.startsWith("layout") || e2.startsWith("onTap") || e2.startsWith("onPan") || e2.startsWith("onLayout") || Eu.has(e2);
|
|
110253
110255
|
}
|
|
110254
110256
|
let mo = (e2) => !zt(e2);
|
|
110255
|
-
function
|
|
110257
|
+
function ju(e2) {
|
|
110256
110258
|
typeof e2 == "function" && (mo = (t2) => t2.startsWith("on") ? !zt(t2) : e2(t2));
|
|
110257
110259
|
}
|
|
110258
110260
|
try {
|
|
110259
|
-
|
|
110261
|
+
ju(require("@emotion/is-prop-valid").default);
|
|
110260
110262
|
} catch {
|
|
110261
110263
|
}
|
|
110262
110264
|
function Ru(e2, t2, s2) {
|
|
@@ -110270,7 +110272,7 @@ const Zt = /* @__PURE__ */ React.createContext({});
|
|
|
110270
110272
|
function $t(e2) {
|
|
110271
110273
|
return e2 !== null && typeof e2 == "object" && typeof e2.start == "function";
|
|
110272
110274
|
}
|
|
110273
|
-
function
|
|
110275
|
+
function Ct(e2) {
|
|
110274
110276
|
return typeof e2 == "string" || Array.isArray(e2);
|
|
110275
110277
|
}
|
|
110276
110278
|
const wn = [
|
|
@@ -110283,7 +110285,7 @@ const wn = [
|
|
|
110283
110285
|
"exit"
|
|
110284
110286
|
], An = ["initial", ...wn];
|
|
110285
110287
|
function es(e2) {
|
|
110286
|
-
return $t(e2.animate) || An.some((t2) =>
|
|
110288
|
+
return $t(e2.animate) || An.some((t2) => Ct(e2[t2]));
|
|
110287
110289
|
}
|
|
110288
110290
|
function go(e2) {
|
|
110289
110291
|
return !!(es(e2) || e2.variants);
|
|
@@ -110292,8 +110294,8 @@ function Nu(e2, t2) {
|
|
|
110292
110294
|
if (es(e2)) {
|
|
110293
110295
|
const { initial: s2, animate: n2 } = e2;
|
|
110294
110296
|
return {
|
|
110295
|
-
initial: s2 === false ||
|
|
110296
|
-
animate:
|
|
110297
|
+
initial: s2 === false || Ct(s2) ? s2 : void 0,
|
|
110298
|
+
animate: Ct(n2) ? n2 : void 0
|
|
110297
110299
|
};
|
|
110298
110300
|
}
|
|
110299
110301
|
return e2.inherit !== false ? t2 : {};
|
|
@@ -110308,12 +110310,12 @@ function xr(e2) {
|
|
|
110308
110310
|
function vr(e2, t2) {
|
|
110309
110311
|
return t2.max === t2.min ? 0 : e2 / (t2.max - t2.min) * 100;
|
|
110310
110312
|
}
|
|
110311
|
-
const
|
|
110313
|
+
const pt = {
|
|
110312
110314
|
correct: (e2, t2) => {
|
|
110313
110315
|
if (!t2.target)
|
|
110314
110316
|
return e2;
|
|
110315
110317
|
if (typeof e2 == "string")
|
|
110316
|
-
if (
|
|
110318
|
+
if (k.test(e2))
|
|
110317
110319
|
e2 = parseFloat(e2);
|
|
110318
110320
|
else
|
|
110319
110321
|
return e2;
|
|
@@ -110332,7 +110334,7 @@ const ft = {
|
|
|
110332
110334
|
}
|
|
110333
110335
|
}, Ls = {
|
|
110334
110336
|
borderRadius: {
|
|
110335
|
-
...
|
|
110337
|
+
...pt,
|
|
110336
110338
|
applyTo: [
|
|
110337
110339
|
"borderTopLeftRadius",
|
|
110338
110340
|
"borderTopRightRadius",
|
|
@@ -110340,25 +110342,25 @@ const ft = {
|
|
|
110340
110342
|
"borderBottomRightRadius"
|
|
110341
110343
|
]
|
|
110342
110344
|
},
|
|
110343
|
-
borderTopLeftRadius:
|
|
110344
|
-
borderTopRightRadius:
|
|
110345
|
-
borderBottomLeftRadius:
|
|
110346
|
-
borderBottomRightRadius:
|
|
110345
|
+
borderTopLeftRadius: pt,
|
|
110346
|
+
borderTopRightRadius: pt,
|
|
110347
|
+
borderBottomLeftRadius: pt,
|
|
110348
|
+
borderBottomRightRadius: pt,
|
|
110347
110349
|
boxShadow: Mu
|
|
110348
110350
|
};
|
|
110349
110351
|
function yo(e2, { layout: t2, layoutId: s2 }) {
|
|
110350
|
-
return
|
|
110352
|
+
return ot2.has(e2) || e2.startsWith("origin") || (t2 || s2 !== void 0) && (!!Ls[e2] || e2 === "opacity");
|
|
110351
110353
|
}
|
|
110352
110354
|
const Du = {
|
|
110353
110355
|
x: "translateX",
|
|
110354
110356
|
y: "translateY",
|
|
110355
110357
|
z: "translateZ",
|
|
110356
110358
|
transformPerspective: "perspective"
|
|
110357
|
-
}, Fu =
|
|
110359
|
+
}, Fu = it.length;
|
|
110358
110360
|
function Bu(e2, t2, s2) {
|
|
110359
110361
|
let n2 = "", r2 = true;
|
|
110360
110362
|
for (let i2 = 0; i2 < Fu; i2++) {
|
|
110361
|
-
const o2 =
|
|
110363
|
+
const o2 = it[i2], a2 = e2[o2];
|
|
110362
110364
|
if (a2 === void 0)
|
|
110363
110365
|
continue;
|
|
110364
110366
|
let c2 = true;
|
|
@@ -110374,12 +110376,12 @@ function Bu(e2, t2, s2) {
|
|
|
110374
110376
|
}
|
|
110375
110377
|
return n2 = n2.trim(), s2 ? n2 = s2(t2, r2 ? "" : n2) : r2 && (n2 = "none"), n2;
|
|
110376
110378
|
}
|
|
110377
|
-
function
|
|
110379
|
+
function Cn(e2, t2, s2) {
|
|
110378
110380
|
const { style: n2, vars: r2, transformOrigin: i2 } = e2;
|
|
110379
110381
|
let o2 = false, a2 = false;
|
|
110380
110382
|
for (const c2 in t2) {
|
|
110381
110383
|
const d2 = t2[c2];
|
|
110382
|
-
if (
|
|
110384
|
+
if (ot2.has(c2)) {
|
|
110383
110385
|
o2 = true;
|
|
110384
110386
|
continue;
|
|
110385
110387
|
} else if (Bi(c2)) {
|
|
@@ -110395,7 +110397,7 @@ function kn(e2, t2, s2) {
|
|
|
110395
110397
|
n2.transformOrigin = `${c2} ${d2} ${u4}`;
|
|
110396
110398
|
}
|
|
110397
110399
|
}
|
|
110398
|
-
const
|
|
110400
|
+
const kn = () => ({
|
|
110399
110401
|
style: {},
|
|
110400
110402
|
transform: {},
|
|
110401
110403
|
transformOrigin: {},
|
|
@@ -110407,8 +110409,8 @@ function xo(e2, t2, s2) {
|
|
|
110407
110409
|
}
|
|
110408
110410
|
function Lu({ transformTemplate: e2 }, t2) {
|
|
110409
110411
|
return React.useMemo(() => {
|
|
110410
|
-
const s2 =
|
|
110411
|
-
return
|
|
110412
|
+
const s2 = kn();
|
|
110413
|
+
return Cn(s2, t2, e2), Object.assign({}, s2.vars, s2.style);
|
|
110412
110414
|
}, [t2]);
|
|
110413
110415
|
}
|
|
110414
110416
|
function Ou(e2, t2) {
|
|
@@ -110429,8 +110431,8 @@ const _u = {
|
|
|
110429
110431
|
function Uu(e2, t2, s2 = 1, n2 = 0, r2 = true) {
|
|
110430
110432
|
e2.pathLength = 1;
|
|
110431
110433
|
const i2 = r2 ? _u : Wu;
|
|
110432
|
-
e2[i2.offset] =
|
|
110433
|
-
const o2 =
|
|
110434
|
+
e2[i2.offset] = k.transform(-n2);
|
|
110435
|
+
const o2 = k.transform(t2), a2 = k.transform(s2);
|
|
110434
110436
|
e2[i2.array] = `${o2} ${a2}`;
|
|
110435
110437
|
}
|
|
110436
110438
|
const qu = [
|
|
@@ -110449,7 +110451,7 @@ function vo(e2, {
|
|
|
110449
110451
|
// This is object creation, which we try to avoid per-frame.
|
|
110450
110452
|
...a2
|
|
110451
110453
|
}, c2, d2, u4) {
|
|
110452
|
-
if (
|
|
110454
|
+
if (Cn(e2, a2, d2), c2) {
|
|
110453
110455
|
e2.style.viewBox && (e2.attrs.viewBox = e2.style.viewBox);
|
|
110454
110456
|
return;
|
|
110455
110457
|
}
|
|
@@ -110461,7 +110463,7 @@ function vo(e2, {
|
|
|
110461
110463
|
t2 !== void 0 && (h3.x = t2), s2 !== void 0 && (h3.y = s2), n2 !== void 0 && (h3.scale = n2), r2 !== void 0 && Uu(h3, r2, i2, o2, false);
|
|
110462
110464
|
}
|
|
110463
110465
|
const bo = () => ({
|
|
110464
|
-
...
|
|
110466
|
+
...kn(),
|
|
110465
110467
|
attrs: {}
|
|
110466
110468
|
}), wo = (e2) => typeof e2 == "string" && e2.toLowerCase() === "svg";
|
|
110467
110469
|
function Ku(e2, t2, s2, n2) {
|
|
@@ -110571,19 +110573,19 @@ function Ju(e2, t2, s2, n2) {
|
|
|
110571
110573
|
if (h3 && typeof h3 != "boolean" && !$t(h3)) {
|
|
110572
110574
|
const p3 = Array.isArray(h3) ? h3 : [h3];
|
|
110573
110575
|
for (let m2 = 0; m2 < p3.length; m2++) {
|
|
110574
|
-
const
|
|
110575
|
-
if (
|
|
110576
|
-
const { transitionEnd: w2, transition: A2, ...g2 } =
|
|
110577
|
-
for (const
|
|
110578
|
-
let y3 = g2[
|
|
110576
|
+
const x2 = Sn(e2, p3[m2]);
|
|
110577
|
+
if (x2) {
|
|
110578
|
+
const { transitionEnd: w2, transition: A2, ...g2 } = x2;
|
|
110579
|
+
for (const v2 in g2) {
|
|
110580
|
+
let y3 = g2[v2];
|
|
110579
110581
|
if (Array.isArray(y3)) {
|
|
110580
|
-
const
|
|
110581
|
-
y3 = y3[
|
|
110582
|
+
const E2 = u4 ? y3.length - 1 : 0;
|
|
110583
|
+
y3 = y3[E2];
|
|
110582
110584
|
}
|
|
110583
|
-
y3 !== null && (r2[
|
|
110585
|
+
y3 !== null && (r2[v2] = y3);
|
|
110584
110586
|
}
|
|
110585
|
-
for (const
|
|
110586
|
-
r2[
|
|
110587
|
+
for (const v2 in w2)
|
|
110588
|
+
r2[v2] = w2[v2];
|
|
110587
110589
|
}
|
|
110588
110590
|
}
|
|
110589
110591
|
}
|
|
@@ -110601,19 +110603,19 @@ function Pn(e2, t2, s2) {
|
|
|
110601
110603
|
}
|
|
110602
110604
|
const Qu = /* @__PURE__ */ Ao({
|
|
110603
110605
|
scrapeMotionValuesFromProps: Pn,
|
|
110604
|
-
createRenderState:
|
|
110606
|
+
createRenderState: kn
|
|
110605
110607
|
});
|
|
110606
|
-
function
|
|
110608
|
+
function Co(e2, t2, s2) {
|
|
110607
110609
|
const n2 = Pn(e2, t2, s2);
|
|
110608
110610
|
for (const r2 in e2)
|
|
110609
110611
|
if (ne(e2[r2]) || ne(t2[r2])) {
|
|
110610
|
-
const i2 =
|
|
110612
|
+
const i2 = it.indexOf(r2) !== -1 ? "attr" + r2.charAt(0).toUpperCase() + r2.substring(1) : r2;
|
|
110611
110613
|
n2[i2] = e2[r2];
|
|
110612
110614
|
}
|
|
110613
110615
|
return n2;
|
|
110614
110616
|
}
|
|
110615
110617
|
const Hu = /* @__PURE__ */ Ao({
|
|
110616
|
-
scrapeMotionValuesFromProps:
|
|
110618
|
+
scrapeMotionValuesFromProps: Co,
|
|
110617
110619
|
createRenderState: bo
|
|
110618
110620
|
}), Xu = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
|
|
110619
110621
|
function Zu(e2, t2, s2) {
|
|
@@ -110633,8 +110635,8 @@ function Zu(e2, t2, s2) {
|
|
|
110633
110635
|
else o2 && (o2.current = i2);
|
|
110634
110636
|
}, [t2]);
|
|
110635
110637
|
}
|
|
110636
|
-
const
|
|
110637
|
-
function
|
|
110638
|
+
const En = (e2) => e2.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), $u = "framerAppearId", ko = "data-" + En($u), To = React.createContext({});
|
|
110639
|
+
function gt(e2) {
|
|
110638
110640
|
return e2 && typeof e2 == "object" && Object.prototype.hasOwnProperty.call(e2, "current");
|
|
110639
110641
|
}
|
|
110640
110642
|
function ed(e2, t2, s2, n2, r2, i2) {
|
|
@@ -110654,12 +110656,12 @@ function ed(e2, t2, s2, n2, r2, i2) {
|
|
|
110654
110656
|
React.useInsertionEffect(() => {
|
|
110655
110657
|
h3 && m2.current && h3.update(s2, c2);
|
|
110656
110658
|
});
|
|
110657
|
-
const
|
|
110659
|
+
const x2 = s2[ko], w2 = React.useRef(!!x2 && !window.MotionHandoffIsComplete?.(x2) && window.MotionHasOptimisedAnimation?.(x2));
|
|
110658
110660
|
return vi(() => {
|
|
110659
110661
|
h3 && (m2.current = true, window.MotionIsMounted = true, h3.updateFeatures(), h3.scheduleRenderMicrotask(), w2.current && h3.animationState && h3.animationState.animateChanges());
|
|
110660
110662
|
}), React.useEffect(() => {
|
|
110661
110663
|
h3 && (!w2.current && h3.animationState && h3.animationState.animateChanges(), w2.current && (queueMicrotask(() => {
|
|
110662
|
-
window.MotionHandoffMarkAsComplete?.(
|
|
110664
|
+
window.MotionHandoffMarkAsComplete?.(x2);
|
|
110663
110665
|
}), w2.current = false), h3.enteringChildren = void 0);
|
|
110664
110666
|
}), h3;
|
|
110665
110667
|
}
|
|
@@ -110668,7 +110670,7 @@ function td(e2, t2, s2, n2) {
|
|
|
110668
110670
|
e2.projection = new s2(e2.latestValues, t2["data-framer-portal-id"] ? void 0 : So(e2.parent)), e2.projection.setOptions({
|
|
110669
110671
|
layoutId: r2,
|
|
110670
110672
|
layout: i2,
|
|
110671
|
-
alwaysMeasureLayout: !!o2 || a2 &&
|
|
110673
|
+
alwaysMeasureLayout: !!o2 || a2 && gt(a2),
|
|
110672
110674
|
visualElement: e2,
|
|
110673
110675
|
/**
|
|
110674
110676
|
* TODO: Update options in an effect. This could be tricky as it'll be too late
|
|
@@ -110697,13 +110699,13 @@ function ps(e2, { forwardMotionProps: t2 = false, type: s2 } = {}, n2, r2) {
|
|
|
110697
110699
|
...React.useContext(bn),
|
|
110698
110700
|
...d2,
|
|
110699
110701
|
layoutId: sd(d2)
|
|
110700
|
-
}, { isStatic: m2 } = p3,
|
|
110702
|
+
}, { isStatic: m2 } = p3, x2 = Vu(d2), w2 = o2(d2, m2);
|
|
110701
110703
|
if (!m2 && Zs) {
|
|
110702
110704
|
nd(p3, n2);
|
|
110703
110705
|
const A2 = rd(p3);
|
|
110704
|
-
h3 = A2.MeasureLayout,
|
|
110706
|
+
h3 = A2.MeasureLayout, x2.visualElement = ed(e2, w2, p3, r2, A2.ProjectionNode, i2);
|
|
110705
110707
|
}
|
|
110706
|
-
return l2.jsxs(Zt.Provider, { value:
|
|
110708
|
+
return l2.jsxs(Zt.Provider, { value: x2, children: [h3 && x2.visualElement ? l2.jsx(h3, { visualElement: x2.visualElement, ...p3 }) : null, zu(e2, d2, Zu(w2, x2.visualElement, u4), w2, m2, t2, i2)] });
|
|
110707
110709
|
}
|
|
110708
110710
|
a2.displayName = `motion.${typeof e2 == "string" ? e2 : `create(${e2.displayName ?? e2.name ?? ""})`}`;
|
|
110709
110711
|
const c2 = React.forwardRef(a2);
|
|
@@ -110717,11 +110719,11 @@ function nd(e2, t2) {
|
|
|
110717
110719
|
const s2 = React.useContext(po).strict;
|
|
110718
110720
|
if (process.env.NODE_ENV !== "production" && t2 && s2) {
|
|
110719
110721
|
const n2 = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
110720
|
-
e2.ignoreStrict ?
|
|
110722
|
+
e2.ignoreStrict ? nt(false, n2, "lazy-strict-mode") : Se(false, n2, "lazy-strict-mode");
|
|
110721
110723
|
}
|
|
110722
110724
|
}
|
|
110723
110725
|
function rd(e2) {
|
|
110724
|
-
const { drag: t2, layout: s2 } =
|
|
110726
|
+
const { drag: t2, layout: s2 } = tt;
|
|
110725
110727
|
if (!t2 && !s2)
|
|
110726
110728
|
return {};
|
|
110727
110729
|
const n2 = { ...t2, ...s2 };
|
|
@@ -110769,10 +110771,10 @@ function ms(e2) {
|
|
|
110769
110771
|
function Os({ scale: e2, scaleX: t2, scaleY: s2 }) {
|
|
110770
110772
|
return !ms(e2) || !ms(t2) || !ms(s2);
|
|
110771
110773
|
}
|
|
110772
|
-
function
|
|
110773
|
-
return Os(e2) ||
|
|
110774
|
+
function Ie(e2) {
|
|
110775
|
+
return Os(e2) || Eo(e2) || e2.z || e2.rotate || e2.rotateX || e2.rotateY || e2.skewX || e2.skewY;
|
|
110774
110776
|
}
|
|
110775
|
-
function
|
|
110777
|
+
function Eo(e2) {
|
|
110776
110778
|
return wr(e2.x) || wr(e2.y);
|
|
110777
110779
|
}
|
|
110778
110780
|
function wr(e2) {
|
|
@@ -110788,10 +110790,10 @@ function Ar(e2, t2, s2, n2, r2) {
|
|
|
110788
110790
|
function Is(e2, t2 = 0, s2 = 1, n2, r2) {
|
|
110789
110791
|
e2.min = Ar(e2.min, t2, s2, n2, r2), e2.max = Ar(e2.max, t2, s2, n2, r2);
|
|
110790
110792
|
}
|
|
110791
|
-
function
|
|
110793
|
+
function jo(e2, { x: t2, y: s2 }) {
|
|
110792
110794
|
Is(e2.x, t2.translate, t2.scale, t2.originPoint), Is(e2.y, s2.translate, s2.scale, s2.originPoint);
|
|
110793
110795
|
}
|
|
110794
|
-
const
|
|
110796
|
+
const Cr = 0.999999999999, kr = 1.0000000000001;
|
|
110795
110797
|
function ld(e2, t2, s2, n2 = false) {
|
|
110796
110798
|
const r2 = s2.length;
|
|
110797
110799
|
if (!r2)
|
|
@@ -110804,9 +110806,9 @@ function ld(e2, t2, s2, n2 = false) {
|
|
|
110804
110806
|
c2 && c2.props.style && c2.props.style.display === "contents" || (n2 && i2.options.layoutScroll && i2.scroll && i2 !== i2.root && He(e2, {
|
|
110805
110807
|
x: -i2.scroll.offset.x,
|
|
110806
110808
|
y: -i2.scroll.offset.y
|
|
110807
|
-
}), o2 && (t2.x *= o2.x.scale, t2.y *= o2.y.scale,
|
|
110809
|
+
}), o2 && (t2.x *= o2.x.scale, t2.y *= o2.y.scale, jo(e2, o2)), n2 && Ie(i2.latestValues) && He(e2, i2.latestValues));
|
|
110808
110810
|
}
|
|
110809
|
-
t2.x <
|
|
110811
|
+
t2.x < kr && t2.x > Cr && (t2.x = 1), t2.y < kr && t2.y > Cr && (t2.y = 1);
|
|
110810
110812
|
}
|
|
110811
110813
|
function Qe(e2, t2) {
|
|
110812
110814
|
e2.min = e2.min + t2, e2.max = e2.max + t2;
|
|
@@ -110852,21 +110854,21 @@ function hd(e2, t2, s2) {
|
|
|
110852
110854
|
if (ne(r2))
|
|
110853
110855
|
e2.addValue(n2, r2);
|
|
110854
110856
|
else if (ne(i2))
|
|
110855
|
-
e2.addValue(n2,
|
|
110857
|
+
e2.addValue(n2, et2(r2, { owner: e2 }));
|
|
110856
110858
|
else if (i2 !== r2)
|
|
110857
110859
|
if (e2.hasValue(n2)) {
|
|
110858
110860
|
const o2 = e2.getValue(n2);
|
|
110859
110861
|
o2.liveStyle === true ? o2.jump(r2) : o2.hasAnimated || o2.set(r2);
|
|
110860
110862
|
} else {
|
|
110861
110863
|
const o2 = e2.getStaticValue(n2);
|
|
110862
|
-
e2.addValue(n2,
|
|
110864
|
+
e2.addValue(n2, et2(o2 !== void 0 ? o2 : r2, { owner: e2 }));
|
|
110863
110865
|
}
|
|
110864
110866
|
}
|
|
110865
110867
|
for (const n2 in s2)
|
|
110866
110868
|
t2[n2] === void 0 && e2.removeValue(n2);
|
|
110867
110869
|
return t2;
|
|
110868
110870
|
}
|
|
110869
|
-
const
|
|
110871
|
+
const Er = [
|
|
110870
110872
|
"AnimationStart",
|
|
110871
110873
|
"AnimationComplete",
|
|
110872
110874
|
"Update",
|
|
@@ -110922,7 +110924,7 @@ class fd {
|
|
|
110922
110924
|
}
|
|
110923
110925
|
bindToMotionValue(t2, s2) {
|
|
110924
110926
|
this.valueSubscriptions.has(t2) && this.valueSubscriptions.get(t2)();
|
|
110925
|
-
const n2 =
|
|
110927
|
+
const n2 = ot2.has(t2);
|
|
110926
110928
|
n2 && this.onBindTransform && this.onBindTransform();
|
|
110927
110929
|
const r2 = s2.on("change", (o2) => {
|
|
110928
110930
|
this.latestValues[t2] = o2, this.props.onUpdate && W.preRender(this.notifyUpdate), n2 && this.projection && (this.projection.isTransformDirty = true), this.scheduleRender();
|
|
@@ -110937,8 +110939,8 @@ class fd {
|
|
|
110937
110939
|
}
|
|
110938
110940
|
updateFeatures() {
|
|
110939
110941
|
let t2 = "animation";
|
|
110940
|
-
for (t2 in
|
|
110941
|
-
const s2 =
|
|
110942
|
+
for (t2 in tt) {
|
|
110943
|
+
const s2 = tt[t2];
|
|
110942
110944
|
if (!s2)
|
|
110943
110945
|
continue;
|
|
110944
110946
|
const { isEnabled: n2, Feature: r2 } = s2;
|
|
@@ -110971,8 +110973,8 @@ class fd {
|
|
|
110971
110973
|
*/
|
|
110972
110974
|
update(t2, s2) {
|
|
110973
110975
|
(t2.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t2, this.prevPresenceContext = this.presenceContext, this.presenceContext = s2;
|
|
110974
|
-
for (let n2 = 0; n2 <
|
|
110975
|
-
const r2 =
|
|
110976
|
+
for (let n2 = 0; n2 < Er.length; n2++) {
|
|
110977
|
+
const r2 = Er[n2];
|
|
110976
110978
|
this.propEventSubscriptions[r2] && (this.propEventSubscriptions[r2](), delete this.propEventSubscriptions[r2]);
|
|
110977
110979
|
const i2 = "on" + r2, o2 = t2[i2];
|
|
110978
110980
|
o2 && (this.propEventSubscriptions[r2] = this.on(r2, o2));
|
|
@@ -111033,7 +111035,7 @@ class fd {
|
|
|
111033
111035
|
if (this.props.values && this.props.values[t2])
|
|
111034
111036
|
return this.props.values[t2];
|
|
111035
111037
|
let n2 = this.values.get(t2);
|
|
111036
|
-
return n2 === void 0 && s2 !== void 0 && (n2 =
|
|
111038
|
+
return n2 === void 0 && s2 !== void 0 && (n2 = et2(s2 === null ? void 0 : s2, { owner: this }), this.addValue(t2, n2)), n2;
|
|
111037
111039
|
}
|
|
111038
111040
|
/**
|
|
111039
111041
|
* If we're trying to animate to a previously unencountered value,
|
|
@@ -111115,7 +111117,7 @@ class md extends Vo {
|
|
|
111115
111117
|
super(...arguments), this.type = "html", this.renderInstance = Mo;
|
|
111116
111118
|
}
|
|
111117
111119
|
readValueFromInstance(t2, s2) {
|
|
111118
|
-
if (
|
|
111120
|
+
if (ot2.has(s2))
|
|
111119
111121
|
return this.projection?.isProjecting ? Rs(s2) : Sc(t2, s2);
|
|
111120
111122
|
{
|
|
111121
111123
|
const n2 = pd(t2), r2 = (Bi(s2) ? n2.getPropertyValue(s2) : n2[s2]) || 0;
|
|
@@ -111126,7 +111128,7 @@ class md extends Vo {
|
|
|
111126
111128
|
return Ro(t2, s2);
|
|
111127
111129
|
}
|
|
111128
111130
|
build(t2, s2, n2) {
|
|
111129
|
-
|
|
111131
|
+
Cn(t2, s2, n2.transformTemplate);
|
|
111130
111132
|
}
|
|
111131
111133
|
scrapeMotionValuesFromProps(t2, s2, n2) {
|
|
111132
111134
|
return Pn(t2, s2, n2);
|
|
@@ -111160,7 +111162,7 @@ const Do = /* @__PURE__ */ new Set([
|
|
|
111160
111162
|
function gd(e2, t2, s2, n2) {
|
|
111161
111163
|
Mo(e2, t2, void 0, n2);
|
|
111162
111164
|
for (const r2 in t2.attrs)
|
|
111163
|
-
e2.setAttribute(Do.has(r2) ? r2 :
|
|
111165
|
+
e2.setAttribute(Do.has(r2) ? r2 : En(r2), t2.attrs[r2]);
|
|
111164
111166
|
}
|
|
111165
111167
|
class yd extends Vo {
|
|
111166
111168
|
constructor() {
|
|
@@ -111170,14 +111172,14 @@ class yd extends Vo {
|
|
|
111170
111172
|
return t2[s2];
|
|
111171
111173
|
}
|
|
111172
111174
|
readValueFromInstance(t2, s2) {
|
|
111173
|
-
if (
|
|
111175
|
+
if (ot2.has(s2)) {
|
|
111174
111176
|
const n2 = no(s2);
|
|
111175
111177
|
return n2 && n2.default || 0;
|
|
111176
111178
|
}
|
|
111177
|
-
return s2 = Do.has(s2) ? s2 :
|
|
111179
|
+
return s2 = Do.has(s2) ? s2 : En(s2), t2.getAttribute(s2);
|
|
111178
111180
|
}
|
|
111179
111181
|
scrapeMotionValuesFromProps(t2, s2, n2) {
|
|
111180
|
-
return
|
|
111182
|
+
return Co(t2, s2, n2);
|
|
111181
111183
|
}
|
|
111182
111184
|
build(t2, s2, n2) {
|
|
111183
111185
|
vo(t2, s2, this.isSVGTag, n2.transformTemplate, n2.style);
|
|
@@ -111198,7 +111200,7 @@ function Ze(e2, t2, s2) {
|
|
|
111198
111200
|
}
|
|
111199
111201
|
const Ws = (e2) => Array.isArray(e2);
|
|
111200
111202
|
function vd(e2, t2, s2) {
|
|
111201
|
-
e2.hasValue(t2) ? e2.getValue(t2).set(s2) : e2.addValue(t2,
|
|
111203
|
+
e2.hasValue(t2) ? e2.getValue(t2).set(s2) : e2.addValue(t2, et2(s2));
|
|
111202
111204
|
}
|
|
111203
111205
|
function bd(e2) {
|
|
111204
111206
|
return Ws(e2) ? e2[e2.length - 1] || 0 : e2;
|
|
@@ -111225,11 +111227,11 @@ function Us(e2, t2) {
|
|
|
111225
111227
|
}
|
|
111226
111228
|
}
|
|
111227
111229
|
function Fo(e2) {
|
|
111228
|
-
return e2.props[
|
|
111230
|
+
return e2.props[ko];
|
|
111229
111231
|
}
|
|
111230
|
-
const
|
|
111231
|
-
function
|
|
111232
|
-
const r2 = e2.filter(
|
|
111232
|
+
const Cd = (e2) => e2 !== null;
|
|
111233
|
+
function kd(e2, { repeat: t2, repeatType: s2 = "loop" }, n2) {
|
|
111234
|
+
const r2 = e2.filter(Cd), i2 = t2 && s2 !== "loop" && t2 % 2 === 1 ? 0 : r2.length - 1;
|
|
111233
111235
|
return r2[i2];
|
|
111234
111236
|
}
|
|
111235
111237
|
const Td = {
|
|
@@ -111245,15 +111247,15 @@ const Td = {
|
|
|
111245
111247
|
}), Pd = {
|
|
111246
111248
|
type: "keyframes",
|
|
111247
111249
|
duration: 0.8
|
|
111248
|
-
},
|
|
111250
|
+
}, Ed = {
|
|
111249
111251
|
type: "keyframes",
|
|
111250
111252
|
ease: [0.25, 0.1, 0.35, 1],
|
|
111251
111253
|
duration: 0.3
|
|
111252
|
-
},
|
|
111254
|
+
}, jd = (e2, { keyframes: t2 }) => t2.length > 2 ? Pd : ot2.has(e2) ? e2.startsWith("scale") ? Sd(t2[1]) : Td : Ed;
|
|
111253
111255
|
function Rd({ when: e2, delay: t2, delayChildren: s2, staggerChildren: n2, staggerDirection: r2, repeat: i2, repeatType: o2, repeatDelay: a2, from: c2, elapsed: d2, ...u4 }) {
|
|
111254
111256
|
return !!Object.keys(u4).length;
|
|
111255
111257
|
}
|
|
111256
|
-
const
|
|
111258
|
+
const jn = (e2, t2, s2, n2 = {}, r2, i2) => (o2) => {
|
|
111257
111259
|
const a2 = gn(n2, e2) || {}, c2 = a2.delay || n2.delay || 0;
|
|
111258
111260
|
let { elapsed: d2 = 0 } = n2;
|
|
111259
111261
|
d2 = d2 - /* @__PURE__ */ we(c2);
|
|
@@ -111273,10 +111275,10 @@ const En = (e2, t2, s2, n2 = {}, r2, i2) => (o2) => {
|
|
|
111273
111275
|
motionValue: t2,
|
|
111274
111276
|
element: i2 ? void 0 : r2
|
|
111275
111277
|
};
|
|
111276
|
-
Rd(a2) || Object.assign(u4,
|
|
111278
|
+
Rd(a2) || Object.assign(u4, jd(e2, u4)), u4.duration && (u4.duration = /* @__PURE__ */ we(u4.duration)), u4.repeatDelay && (u4.repeatDelay = /* @__PURE__ */ we(u4.repeatDelay)), u4.from !== void 0 && (u4.keyframes[0] = u4.from);
|
|
111277
111279
|
let h3 = false;
|
|
111278
111280
|
if ((u4.type === false || u4.duration === 0 && !u4.repeatDelay) && (Fs(u4), u4.delay === 0 && (h3 = true)), (Pe.instantAnimations || Pe.skipAnimations) && (h3 = true, Fs(u4), u4.delay = 0), u4.allowFlatten = !a2.type && !a2.ease, h3 && !i2 && t2.get() !== void 0) {
|
|
111279
|
-
const p3 =
|
|
111281
|
+
const p3 = kd(u4.keyframes, a2);
|
|
111280
111282
|
if (p3 !== void 0) {
|
|
111281
111283
|
W.update(() => {
|
|
111282
111284
|
u4.onUpdate(p3), u4.onComplete();
|
|
@@ -111301,18 +111303,18 @@ function Bo(e2, t2, { delay: s2 = 0, transitionOverride: n2, type: r2 } = {}) {
|
|
|
111301
111303
|
const m2 = {
|
|
111302
111304
|
delay: s2,
|
|
111303
111305
|
...gn(i2 || {}, u4)
|
|
111304
|
-
},
|
|
111305
|
-
if (
|
|
111306
|
+
}, x2 = h3.get();
|
|
111307
|
+
if (x2 !== void 0 && !h3.isAnimating && !Array.isArray(p3) && p3 === x2 && !m2.velocity)
|
|
111306
111308
|
continue;
|
|
111307
111309
|
let w2 = false;
|
|
111308
111310
|
if (window.MotionHandoffAnimation) {
|
|
111309
111311
|
const g2 = Fo(e2);
|
|
111310
111312
|
if (g2) {
|
|
111311
|
-
const
|
|
111312
|
-
|
|
111313
|
+
const v2 = window.MotionHandoffAnimation(g2, u4, W);
|
|
111314
|
+
v2 !== null && (m2.startTime = v2, w2 = true);
|
|
111313
111315
|
}
|
|
111314
111316
|
}
|
|
111315
|
-
Us(e2, u4), h3.start(
|
|
111317
|
+
Us(e2, u4), h3.start(jn(u4, h3, p3, e2.shouldReduceMotion && eo.has(u4) ? { type: false } : m2, e2, w2));
|
|
111316
111318
|
const A2 = h3.animation;
|
|
111317
111319
|
A2 && c2.push(A2);
|
|
111318
111320
|
}
|
|
@@ -111387,7 +111389,7 @@ function Io(e2) {
|
|
|
111387
111389
|
const t2 = {};
|
|
111388
111390
|
for (let s2 = 0; s2 < Dd; s2++) {
|
|
111389
111391
|
const n2 = An[s2], r2 = e2.props[n2];
|
|
111390
|
-
(
|
|
111392
|
+
(Ct(r2) || r2 === false) && (t2[n2] = r2);
|
|
111391
111393
|
}
|
|
111392
111394
|
return t2;
|
|
111393
111395
|
}
|
|
@@ -111396,12 +111398,12 @@ function Ld(e2) {
|
|
|
111396
111398
|
return (t2) => Promise.all(t2.map(({ animation: s2, options: n2 }) => Md(e2, s2, n2)));
|
|
111397
111399
|
}
|
|
111398
111400
|
function Od(e2) {
|
|
111399
|
-
let t2 = Ld(e2), s2 =
|
|
111401
|
+
let t2 = Ld(e2), s2 = jr(), n2 = true;
|
|
111400
111402
|
const r2 = (c2) => (d2, u4) => {
|
|
111401
111403
|
const h3 = Ze(e2, u4, c2 === "exit" ? e2.presenceContext?.custom : void 0);
|
|
111402
111404
|
if (h3) {
|
|
111403
|
-
const { transition: p3, transitionEnd: m2, ...
|
|
111404
|
-
d2 = { ...d2, ...
|
|
111405
|
+
const { transition: p3, transitionEnd: m2, ...x2 } = h3;
|
|
111406
|
+
d2 = { ...d2, ...x2, ...m2 };
|
|
111405
111407
|
}
|
|
111406
111408
|
return d2;
|
|
111407
111409
|
};
|
|
@@ -111410,28 +111412,28 @@ function Od(e2) {
|
|
|
111410
111412
|
}
|
|
111411
111413
|
function o2(c2) {
|
|
111412
111414
|
const { props: d2 } = e2, u4 = Io(e2.parent) || {}, h3 = [], p3 = /* @__PURE__ */ new Set();
|
|
111413
|
-
let m2 = {},
|
|
111415
|
+
let m2 = {}, x2 = 1 / 0;
|
|
111414
111416
|
for (let A2 = 0; A2 < Bd; A2++) {
|
|
111415
|
-
const g2 = Fd[A2],
|
|
111416
|
-
P3 === false && (
|
|
111417
|
-
let V2 = y3 === u4[g2] && y3 !== d2[g2] &&
|
|
111418
|
-
if (V2 && n2 && e2.manuallyAnimateOnMount && (V2 = false),
|
|
111419
|
-
!
|
|
111420
|
-
!y3 && !
|
|
111417
|
+
const g2 = Fd[A2], v2 = s2[g2], y3 = d2[g2] !== void 0 ? d2[g2] : u4[g2], E2 = Ct(y3), P3 = g2 === c2 ? v2.isActive : null;
|
|
111418
|
+
P3 === false && (x2 = A2);
|
|
111419
|
+
let V2 = y3 === u4[g2] && y3 !== d2[g2] && E2;
|
|
111420
|
+
if (V2 && n2 && e2.manuallyAnimateOnMount && (V2 = false), v2.protectedKeys = { ...m2 }, // If it isn't active and hasn't *just* been set as inactive
|
|
111421
|
+
!v2.isActive && P3 === null || // If we didn't and don't have any defined prop for this animation type
|
|
111422
|
+
!y3 && !v2.prevProp || // Or if the prop doesn't define an animation
|
|
111421
111423
|
$t(y3) || typeof y3 == "boolean")
|
|
111422
111424
|
continue;
|
|
111423
|
-
const S3 = Id(
|
|
111425
|
+
const S3 = Id(v2.prevProp, y3);
|
|
111424
111426
|
let T2 = S3 || // If we're making this variant active, we want to always make it active
|
|
111425
|
-
g2 === c2 &&
|
|
111426
|
-
A2 >
|
|
111427
|
-
const
|
|
111428
|
-
let Q2 =
|
|
111427
|
+
g2 === c2 && v2.isActive && !V2 && E2 || // If we removed a higher-priority variant (i is in reverse order)
|
|
111428
|
+
A2 > x2 && E2, M2 = false;
|
|
111429
|
+
const I2 = Array.isArray(y3) ? y3 : [y3];
|
|
111430
|
+
let Q2 = I2.reduce(r2(g2), {});
|
|
111429
111431
|
P3 === false && (Q2 = {});
|
|
111430
|
-
const { prevResolvedValues: H2 = {} } =
|
|
111432
|
+
const { prevResolvedValues: H2 = {} } = v2, ce2 = {
|
|
111431
111433
|
...H2,
|
|
111432
111434
|
...Q2
|
|
111433
111435
|
}, X2 = (B3) => {
|
|
111434
|
-
T2 = true, p3.has(B3) && (
|
|
111436
|
+
T2 = true, p3.has(B3) && (M2 = true, p3.delete(B3)), v2.needsAnimating[B3] = true;
|
|
111435
111437
|
const L2 = e2.getValue(B3);
|
|
111436
111438
|
L2 && (L2.liveStyle = false);
|
|
111437
111439
|
};
|
|
@@ -111440,11 +111442,11 @@ function Od(e2) {
|
|
|
111440
111442
|
if (m2.hasOwnProperty(B3))
|
|
111441
111443
|
continue;
|
|
111442
111444
|
let z2 = false;
|
|
111443
|
-
Ws(L2) && Ws(U2) ? z2 = !Oo(L2, U2) : z2 = L2 !== U2, z2 ? L2 != null ? X2(B3) : p3.add(B3) : L2 !== void 0 && p3.has(B3) ? X2(B3) :
|
|
111445
|
+
Ws(L2) && Ws(U2) ? z2 = !Oo(L2, U2) : z2 = L2 !== U2, z2 ? L2 != null ? X2(B3) : p3.add(B3) : L2 !== void 0 && p3.has(B3) ? X2(B3) : v2.protectedKeys[B3] = true;
|
|
111444
111446
|
}
|
|
111445
|
-
|
|
111447
|
+
v2.prevProp = y3, v2.prevResolvedValues = Q2, v2.isActive && (m2 = { ...m2, ...Q2 }), n2 && e2.blockInitialAnimation && (T2 = false);
|
|
111446
111448
|
const de2 = V2 && S3;
|
|
111447
|
-
T2 && (!de2 ||
|
|
111449
|
+
T2 && (!de2 || M2) && h3.push(...I2.map((B3) => {
|
|
111448
111450
|
const L2 = { type: g2 };
|
|
111449
111451
|
if (typeof B3 == "string" && n2 && !de2 && e2.manuallyAnimateOnMount && e2.parent) {
|
|
111450
111452
|
const { parent: U2 } = e2, z2 = Ze(U2, B3);
|
|
@@ -111466,8 +111468,8 @@ function Od(e2) {
|
|
|
111466
111468
|
g2 && g2.transition && (A2.transition = g2.transition);
|
|
111467
111469
|
}
|
|
111468
111470
|
p3.forEach((g2) => {
|
|
111469
|
-
const
|
|
111470
|
-
y3 && (y3.liveStyle = true), A2[g2] =
|
|
111471
|
+
const v2 = e2.getBaseTarget(g2), y3 = e2.getValue(g2);
|
|
111472
|
+
y3 && (y3.liveStyle = true), A2[g2] = v2 ?? null;
|
|
111471
111473
|
}), h3.push({ animation: A2 });
|
|
111472
111474
|
}
|
|
111473
111475
|
let w2 = !!h3.length;
|
|
@@ -111488,14 +111490,14 @@ function Od(e2) {
|
|
|
111488
111490
|
setAnimateFunction: i2,
|
|
111489
111491
|
getState: () => s2,
|
|
111490
111492
|
reset: () => {
|
|
111491
|
-
s2 =
|
|
111493
|
+
s2 = jr();
|
|
111492
111494
|
}
|
|
111493
111495
|
};
|
|
111494
111496
|
}
|
|
111495
111497
|
function Id(e2, t2) {
|
|
111496
111498
|
return typeof t2 == "string" ? t2 !== e2 : Array.isArray(t2) ? !Oo(t2, e2) : false;
|
|
111497
111499
|
}
|
|
111498
|
-
function
|
|
111500
|
+
function Oe(e2 = false) {
|
|
111499
111501
|
return {
|
|
111500
111502
|
isActive: e2,
|
|
111501
111503
|
protectedKeys: {},
|
|
@@ -111503,15 +111505,15 @@ function Le(e2 = false) {
|
|
|
111503
111505
|
prevResolvedValues: {}
|
|
111504
111506
|
};
|
|
111505
111507
|
}
|
|
111506
|
-
function
|
|
111508
|
+
function jr() {
|
|
111507
111509
|
return {
|
|
111508
|
-
animate:
|
|
111509
|
-
whileInView:
|
|
111510
|
-
whileHover:
|
|
111511
|
-
whileTap:
|
|
111512
|
-
whileDrag:
|
|
111513
|
-
whileFocus:
|
|
111514
|
-
exit:
|
|
111510
|
+
animate: Oe(true),
|
|
111511
|
+
whileInView: Oe(),
|
|
111512
|
+
whileHover: Oe(),
|
|
111513
|
+
whileTap: Oe(),
|
|
111514
|
+
whileDrag: Oe(),
|
|
111515
|
+
whileFocus: Oe(),
|
|
111516
|
+
exit: Oe()
|
|
111515
111517
|
};
|
|
111516
111518
|
}
|
|
111517
111519
|
class Fe {
|
|
@@ -111579,10 +111581,10 @@ const qd = {
|
|
|
111579
111581
|
Feature: Ud
|
|
111580
111582
|
}
|
|
111581
111583
|
};
|
|
111582
|
-
function
|
|
111584
|
+
function kt(e2, t2, s2, n2 = { passive: true }) {
|
|
111583
111585
|
return e2.addEventListener(t2, s2, n2), () => e2.removeEventListener(t2, s2);
|
|
111584
111586
|
}
|
|
111585
|
-
function
|
|
111587
|
+
function Et(e2) {
|
|
111586
111588
|
return {
|
|
111587
111589
|
point: {
|
|
111588
111590
|
x: e2.pageX,
|
|
@@ -111590,9 +111592,9 @@ function jt(e2) {
|
|
|
111590
111592
|
}
|
|
111591
111593
|
};
|
|
111592
111594
|
}
|
|
111593
|
-
const Kd = (e2) => (t2) => vn(t2) && e2(t2,
|
|
111594
|
-
function
|
|
111595
|
-
return
|
|
111595
|
+
const Kd = (e2) => (t2) => vn(t2) && e2(t2, Et(t2));
|
|
111596
|
+
function xt(e2, t2, s2, n2) {
|
|
111597
|
+
return kt(e2, t2, Kd(s2), n2);
|
|
111596
111598
|
}
|
|
111597
111599
|
const _o = 1e-4, Yd = 1 - _o, zd = 1 + _o, Wo = 0.01, Gd = 0 - Wo, Jd = 0 + Wo;
|
|
111598
111600
|
function le(e2) {
|
|
@@ -111604,7 +111606,7 @@ function Qd(e2, t2, s2) {
|
|
|
111604
111606
|
function Rr(e2, t2, s2, n2 = 0.5) {
|
|
111605
111607
|
e2.origin = n2, e2.originPoint = K(t2.min, t2.max, e2.origin), e2.scale = le(s2) / le(t2), e2.translate = K(s2.min, s2.max, e2.origin) - e2.originPoint, (e2.scale >= Yd && e2.scale <= zd || isNaN(e2.scale)) && (e2.scale = 1), (e2.translate >= Gd && e2.translate <= Jd || isNaN(e2.translate)) && (e2.translate = 0);
|
|
111606
111608
|
}
|
|
111607
|
-
function
|
|
111609
|
+
function vt(e2, t2, s2, n2) {
|
|
111608
111610
|
Rr(e2.x, t2.x, s2.x, n2 ? n2.originX : void 0), Rr(e2.y, t2.y, s2.y, n2 ? n2.originY : void 0);
|
|
111609
111611
|
}
|
|
111610
111612
|
function Nr(e2, t2, s2) {
|
|
@@ -111619,7 +111621,7 @@ function Vr(e2, t2, s2) {
|
|
|
111619
111621
|
function Jt(e2, t2, s2) {
|
|
111620
111622
|
Vr(e2.x, t2.x, s2.x), Vr(e2.y, t2.y, s2.y);
|
|
111621
111623
|
}
|
|
111622
|
-
function
|
|
111624
|
+
function pe(e2) {
|
|
111623
111625
|
return [e2("x"), e2("y")];
|
|
111624
111626
|
}
|
|
111625
111627
|
const Uo = ({ current: e2 }) => e2 ? e2.ownerDocument.defaultView : null, Mr = (e2, t2) => Math.abs(e2 - t2);
|
|
@@ -111637,29 +111639,29 @@ class qo {
|
|
|
111637
111639
|
}, this.updatePoint = () => {
|
|
111638
111640
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
111639
111641
|
return;
|
|
111640
|
-
const m2 = ys(this.lastMoveEventInfo, this.history),
|
|
111641
|
-
if (!
|
|
111642
|
+
const m2 = ys(this.lastMoveEventInfo, this.history), x2 = this.startEvent !== null, w2 = Xd(m2.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
111643
|
+
if (!x2 && !w2)
|
|
111642
111644
|
return;
|
|
111643
111645
|
const { point: A2 } = m2, { timestamp: g2 } = te;
|
|
111644
111646
|
this.history.push({ ...A2, timestamp: g2 });
|
|
111645
|
-
const { onStart:
|
|
111646
|
-
|
|
111647
|
-
}, this.handlePointerMove = (m2,
|
|
111648
|
-
this.lastMoveEvent = m2, this.lastMoveEventInfo = gs(
|
|
111649
|
-
}, this.handlePointerUp = (m2,
|
|
111647
|
+
const { onStart: v2, onMove: y3 } = this.handlers;
|
|
111648
|
+
x2 || (v2 && v2(this.lastMoveEvent, m2), this.startEvent = this.lastMoveEvent), y3 && y3(this.lastMoveEvent, m2);
|
|
111649
|
+
}, this.handlePointerMove = (m2, x2) => {
|
|
111650
|
+
this.lastMoveEvent = m2, this.lastMoveEventInfo = gs(x2, this.transformPagePoint), W.update(this.updatePoint, true);
|
|
111651
|
+
}, this.handlePointerUp = (m2, x2) => {
|
|
111650
111652
|
this.end();
|
|
111651
111653
|
const { onEnd: w2, onSessionEnd: A2, resumeAnimation: g2 } = this.handlers;
|
|
111652
111654
|
if ((this.dragSnapToOrigin || !this.startEvent) && g2 && g2(), !(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
111653
111655
|
return;
|
|
111654
|
-
const
|
|
111655
|
-
this.startEvent && w2 && w2(m2,
|
|
111656
|
+
const v2 = ys(m2.type === "pointercancel" ? this.lastMoveEventInfo : gs(x2, this.transformPagePoint), this.history);
|
|
111657
|
+
this.startEvent && w2 && w2(m2, v2), A2 && A2(m2, v2);
|
|
111656
111658
|
}, !vn(t2))
|
|
111657
111659
|
return;
|
|
111658
111660
|
this.dragSnapToOrigin = i2, this.handlers = s2, this.transformPagePoint = n2, this.distanceThreshold = o2, this.contextWindow = r2 || window;
|
|
111659
|
-
const c2 =
|
|
111661
|
+
const c2 = Et(t2), d2 = gs(c2, this.transformPagePoint), { point: u4 } = d2, { timestamp: h3 } = te;
|
|
111660
111662
|
this.history = [{ ...u4, timestamp: h3 }];
|
|
111661
111663
|
const { onSessionStart: p3 } = s2;
|
|
111662
|
-
p3 && p3(t2, ys(d2, this.history)), this.removeListeners = Tt(
|
|
111664
|
+
p3 && p3(t2, ys(d2, this.history)), this.removeListeners = Tt(xt(this.contextWindow, "pointermove", this.handlePointerMove), xt(this.contextWindow, "pointerup", this.handlePointerUp), xt(this.contextWindow, "pointercancel", this.handlePointerUp)), a2 && this.startScrollTracking(a2);
|
|
111663
111665
|
}
|
|
111664
111666
|
/**
|
|
111665
111667
|
* Start tracking scroll on ancestors and window.
|
|
@@ -111739,7 +111741,7 @@ function $d(e2, t2) {
|
|
|
111739
111741
|
s2--;
|
|
111740
111742
|
if (!n2)
|
|
111741
111743
|
return { x: 0, y: 0 };
|
|
111742
|
-
const i2 = /* @__PURE__ */
|
|
111744
|
+
const i2 = /* @__PURE__ */ me(r2.timestamp - n2.timestamp);
|
|
111743
111745
|
if (i2 === 0)
|
|
111744
111746
|
return { x: 0, y: 0 };
|
|
111745
111747
|
const o2 = {
|
|
@@ -111776,7 +111778,7 @@ function sh(e2, t2) {
|
|
|
111776
111778
|
function nh(e2, t2) {
|
|
111777
111779
|
let s2 = 0.5;
|
|
111778
111780
|
const n2 = le(e2), r2 = le(t2);
|
|
111779
|
-
return r2 > n2 ? s2 = /* @__PURE__ */ bt(t2.min, t2.max - n2, e2.min) : n2 > r2 && (s2 = /* @__PURE__ */ bt(e2.min, e2.max - r2, t2.min)),
|
|
111781
|
+
return r2 > n2 ? s2 = /* @__PURE__ */ bt(t2.min, t2.max - n2, e2.min) : n2 > r2 && (s2 = /* @__PURE__ */ bt(e2.min, e2.max - r2, t2.min)), Ce(0, 1, s2);
|
|
111780
111782
|
}
|
|
111781
111783
|
function rh(e2, t2) {
|
|
111782
111784
|
const s2 = {};
|
|
@@ -111808,39 +111810,39 @@ class ah {
|
|
|
111808
111810
|
if (r2 && r2.isPresent === false)
|
|
111809
111811
|
return;
|
|
111810
111812
|
const i2 = (h3) => {
|
|
111811
|
-
s2 ? (this.stopAnimation(), this.snapToCursor(
|
|
111813
|
+
s2 ? (this.stopAnimation(), this.snapToCursor(Et(h3).point)) : this.pauseAnimation();
|
|
111812
111814
|
}, o2 = (h3, p3) => {
|
|
111813
111815
|
this.stopAnimation();
|
|
111814
|
-
const { drag: m2, dragPropagation:
|
|
111815
|
-
if (m2 && !
|
|
111816
|
+
const { drag: m2, dragPropagation: x2, onDragStart: w2 } = this.getProps();
|
|
111817
|
+
if (m2 && !x2 && (this.openDragLock && this.openDragLock(), this.openDragLock = hu(m2), !this.openDragLock))
|
|
111816
111818
|
return;
|
|
111817
|
-
this.latestPointerEvent = h3, this.latestPanInfo = p3, this.isDragging = true, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = true, this.visualElement.projection.target = void 0),
|
|
111818
|
-
let
|
|
111819
|
-
if (Ae.test(
|
|
111819
|
+
this.latestPointerEvent = h3, this.latestPanInfo = p3, this.isDragging = true, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = true, this.visualElement.projection.target = void 0), pe((g2) => {
|
|
111820
|
+
let v2 = this.getAxisMotionValue(g2).get() || 0;
|
|
111821
|
+
if (Ae.test(v2)) {
|
|
111820
111822
|
const { projection: y3 } = this.visualElement;
|
|
111821
111823
|
if (y3 && y3.layout) {
|
|
111822
|
-
const
|
|
111823
|
-
|
|
111824
|
+
const E2 = y3.layout.layoutBox[g2];
|
|
111825
|
+
E2 && (v2 = le(E2) * (parseFloat(v2) / 100));
|
|
111824
111826
|
}
|
|
111825
111827
|
}
|
|
111826
|
-
this.originPoint[g2] =
|
|
111828
|
+
this.originPoint[g2] = v2;
|
|
111827
111829
|
}), w2 && W.postRender(() => w2(h3, p3)), Us(this.visualElement, "transform");
|
|
111828
111830
|
const { animationState: A2 } = this.visualElement;
|
|
111829
111831
|
A2 && A2.setActive("whileDrag", true);
|
|
111830
111832
|
}, a2 = (h3, p3) => {
|
|
111831
111833
|
this.latestPointerEvent = h3, this.latestPanInfo = p3;
|
|
111832
|
-
const { dragPropagation: m2, dragDirectionLock:
|
|
111834
|
+
const { dragPropagation: m2, dragDirectionLock: x2, onDirectionLock: w2, onDrag: A2 } = this.getProps();
|
|
111833
111835
|
if (!m2 && !this.openDragLock)
|
|
111834
111836
|
return;
|
|
111835
111837
|
const { offset: g2 } = p3;
|
|
111836
|
-
if (
|
|
111838
|
+
if (x2 && this.currentDirection === null) {
|
|
111837
111839
|
this.currentDirection = lh(g2), this.currentDirection !== null && w2 && w2(this.currentDirection);
|
|
111838
111840
|
return;
|
|
111839
111841
|
}
|
|
111840
111842
|
this.updateAxis("x", p3.point, g2), this.updateAxis("y", p3.point, g2), this.visualElement.render(), A2 && A2(h3, p3);
|
|
111841
111843
|
}, c2 = (h3, p3) => {
|
|
111842
111844
|
this.latestPointerEvent = h3, this.latestPanInfo = p3, this.stop(h3, p3), this.latestPointerEvent = null, this.latestPanInfo = null;
|
|
111843
|
-
}, d2 = () =>
|
|
111845
|
+
}, d2 = () => pe((h3) => this.getAnimationState(h3) === "paused" && this.getAxisMotionValue(h3).animation?.play()), { dragSnapToOrigin: u4 } = this.getProps();
|
|
111844
111846
|
this.panSession = new qo(t2, {
|
|
111845
111847
|
onSessionStart: i2,
|
|
111846
111848
|
onStart: o2,
|
|
@@ -111887,13 +111889,13 @@ class ah {
|
|
|
111887
111889
|
}
|
|
111888
111890
|
resolveConstraints() {
|
|
111889
111891
|
const { dragConstraints: t2, dragElastic: s2 } = this.getProps(), n2 = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(false) : this.visualElement.projection?.layout, r2 = this.constraints;
|
|
111890
|
-
t2 &&
|
|
111892
|
+
t2 && gt(t2) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t2 && n2 ? this.constraints = th(n2.layoutBox, t2) : this.constraints = false, this.elastic = ih(s2), r2 !== this.constraints && n2 && this.constraints && !this.hasMutatedConstraints && pe((i2) => {
|
|
111891
111893
|
this.constraints !== false && this.getAxisMotionValue(i2) && (this.constraints[i2] = rh(n2.layoutBox[i2], this.constraints[i2]));
|
|
111892
111894
|
});
|
|
111893
111895
|
}
|
|
111894
111896
|
resolveRefConstraints() {
|
|
111895
111897
|
const { dragConstraints: t2, onMeasureDragConstraints: s2 } = this.getProps();
|
|
111896
|
-
if (!t2 || !
|
|
111898
|
+
if (!t2 || !gt(t2))
|
|
111897
111899
|
return false;
|
|
111898
111900
|
const n2 = t2.current;
|
|
111899
111901
|
Se(n2 !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
|
|
@@ -111909,12 +111911,12 @@ class ah {
|
|
|
111909
111911
|
return o2;
|
|
111910
111912
|
}
|
|
111911
111913
|
startAnimation(t2) {
|
|
111912
|
-
const { drag: s2, dragMomentum: n2, dragElastic: r2, dragTransition: i2, dragSnapToOrigin: o2, onDragTransitionEnd: a2 } = this.getProps(), c2 = this.constraints || {}, d2 =
|
|
111914
|
+
const { drag: s2, dragMomentum: n2, dragElastic: r2, dragTransition: i2, dragSnapToOrigin: o2, onDragTransitionEnd: a2 } = this.getProps(), c2 = this.constraints || {}, d2 = pe((u4) => {
|
|
111913
111915
|
if (!Bt(u4, s2, this.currentDirection))
|
|
111914
111916
|
return;
|
|
111915
111917
|
let h3 = c2 && c2[u4] || {};
|
|
111916
111918
|
o2 && (h3 = { min: 0, max: 0 });
|
|
111917
|
-
const p3 = r2 ? 200 : 1e6, m2 = r2 ? 40 : 1e7,
|
|
111919
|
+
const p3 = r2 ? 200 : 1e6, m2 = r2 ? 40 : 1e7, x2 = {
|
|
111918
111920
|
type: "inertia",
|
|
111919
111921
|
velocity: n2 ? t2[u4] : 0,
|
|
111920
111922
|
bounceStiffness: p3,
|
|
@@ -111925,19 +111927,19 @@ class ah {
|
|
|
111925
111927
|
...i2,
|
|
111926
111928
|
...h3
|
|
111927
111929
|
};
|
|
111928
|
-
return this.startAxisValueAnimation(u4,
|
|
111930
|
+
return this.startAxisValueAnimation(u4, x2);
|
|
111929
111931
|
});
|
|
111930
111932
|
return Promise.all(d2).then(a2);
|
|
111931
111933
|
}
|
|
111932
111934
|
startAxisValueAnimation(t2, s2) {
|
|
111933
111935
|
const n2 = this.getAxisMotionValue(t2);
|
|
111934
|
-
return Us(this.visualElement, t2), n2.start(
|
|
111936
|
+
return Us(this.visualElement, t2), n2.start(jn(t2, n2, 0, s2, this.visualElement, false));
|
|
111935
111937
|
}
|
|
111936
111938
|
stopAnimation() {
|
|
111937
|
-
|
|
111939
|
+
pe((t2) => this.getAxisMotionValue(t2).stop());
|
|
111938
111940
|
}
|
|
111939
111941
|
pauseAnimation() {
|
|
111940
|
-
|
|
111942
|
+
pe((t2) => this.getAxisMotionValue(t2).animation?.pause());
|
|
111941
111943
|
}
|
|
111942
111944
|
getAnimationState(t2) {
|
|
111943
111945
|
return this.getAxisMotionValue(t2).animation?.state;
|
|
@@ -111953,7 +111955,7 @@ class ah {
|
|
|
111953
111955
|
return r2 || this.visualElement.getValue(t2, (n2.initial ? n2.initial[t2] : void 0) || 0);
|
|
111954
111956
|
}
|
|
111955
111957
|
snapToCursor(t2) {
|
|
111956
|
-
|
|
111958
|
+
pe((s2) => {
|
|
111957
111959
|
const { drag: n2 } = this.getProps();
|
|
111958
111960
|
if (!Bt(s2, n2, this.currentDirection))
|
|
111959
111961
|
return;
|
|
@@ -111973,11 +111975,11 @@ class ah {
|
|
|
111973
111975
|
if (!this.visualElement.current)
|
|
111974
111976
|
return;
|
|
111975
111977
|
const { drag: t2, dragConstraints: s2 } = this.getProps(), { projection: n2 } = this.visualElement;
|
|
111976
|
-
if (!
|
|
111978
|
+
if (!gt(s2) || !n2 || !this.constraints)
|
|
111977
111979
|
return;
|
|
111978
111980
|
this.stopAnimation();
|
|
111979
111981
|
const r2 = { x: 0, y: 0 };
|
|
111980
|
-
|
|
111982
|
+
pe((o2) => {
|
|
111981
111983
|
const a2 = this.getAxisMotionValue(o2);
|
|
111982
111984
|
if (a2 && this.constraints !== false) {
|
|
111983
111985
|
const c2 = a2.get();
|
|
@@ -111985,7 +111987,7 @@ class ah {
|
|
|
111985
111987
|
}
|
|
111986
111988
|
});
|
|
111987
111989
|
const { transformTemplate: i2 } = this.visualElement.getProps();
|
|
111988
|
-
this.visualElement.current.style.transform = i2 ? i2({}, "") : "none", n2.root && n2.root.updateScroll(), n2.updateLayout(), this.resolveConstraints(),
|
|
111990
|
+
this.visualElement.current.style.transform = i2 ? i2({}, "") : "none", n2.root && n2.root.updateScroll(), n2.updateLayout(), this.resolveConstraints(), pe((o2) => {
|
|
111989
111991
|
if (!Bt(o2, t2, null))
|
|
111990
111992
|
return;
|
|
111991
111993
|
const a2 = this.getAxisMotionValue(o2), { min: c2, max: d2 } = this.constraints[o2];
|
|
@@ -111996,16 +111998,16 @@ class ah {
|
|
|
111996
111998
|
if (!this.visualElement.current)
|
|
111997
111999
|
return;
|
|
111998
112000
|
oh.set(this.visualElement, this);
|
|
111999
|
-
const t2 = this.visualElement.current, s2 =
|
|
112001
|
+
const t2 = this.visualElement.current, s2 = xt(t2, "pointerdown", (c2) => {
|
|
112000
112002
|
const { drag: d2, dragListener: u4 = true } = this.getProps();
|
|
112001
112003
|
d2 && u4 && !uo(c2.target) && this.start(c2);
|
|
112002
112004
|
}), n2 = () => {
|
|
112003
112005
|
const { dragConstraints: c2 } = this.getProps();
|
|
112004
|
-
|
|
112006
|
+
gt(c2) && c2.current && (this.constraints = this.resolveRefConstraints());
|
|
112005
112007
|
}, { projection: r2 } = this.visualElement, i2 = r2.addEventListener("measure", n2);
|
|
112006
112008
|
r2 && !r2.layout && (r2.root && r2.root.updateScroll(), r2.updateLayout()), W.read(n2);
|
|
112007
|
-
const o2 =
|
|
112008
|
-
this.isDragging && d2 && (
|
|
112009
|
+
const o2 = kt(window, "resize", () => this.scalePositionWithinConstraints()), a2 = r2.addEventListener("didUpdate", (({ delta: c2, hasLayoutChanged: d2 }) => {
|
|
112010
|
+
this.isDragging && d2 && (pe((u4) => {
|
|
112009
112011
|
const h3 = this.getAxisMotionValue(u4);
|
|
112010
112012
|
h3 && (this.originPoint[u4] += c2[u4].translate, h3.set(h3.get() + c2[u4].translate));
|
|
112011
112013
|
}), this.visualElement.render());
|
|
@@ -112075,7 +112077,7 @@ class uh extends Fe {
|
|
|
112075
112077
|
};
|
|
112076
112078
|
}
|
|
112077
112079
|
mount() {
|
|
112078
|
-
this.removePointerDownListener =
|
|
112080
|
+
this.removePointerDownListener = xt(this.node.current, "pointerdown", (t2) => this.onPointerDown(t2));
|
|
112079
112081
|
}
|
|
112080
112082
|
update() {
|
|
112081
112083
|
this.session && this.session.updateHandlers(this.createPanHandlers());
|
|
@@ -112142,8 +112144,8 @@ function Yo(e2) {
|
|
|
112142
112144
|
return l2.jsx(dh, { ...e2, layoutGroup: n2, switchLayoutGroup: React.useContext(To), isPresent: t2, safeToRemove: s2 });
|
|
112143
112145
|
}
|
|
112144
112146
|
function hh(e2, t2, s2) {
|
|
112145
|
-
const n2 = ne(e2) ? e2 :
|
|
112146
|
-
return n2.start(
|
|
112147
|
+
const n2 = ne(e2) ? e2 : et2(e2);
|
|
112148
|
+
return n2.start(jn("", n2, t2, s2)), n2.animation;
|
|
112147
112149
|
}
|
|
112148
112150
|
const fh = (e2, t2) => e2.depth - t2.depth;
|
|
112149
112151
|
class ph {
|
|
@@ -112167,7 +112169,7 @@ function mh(e2, t2) {
|
|
|
112167
112169
|
};
|
|
112168
112170
|
return W.setup(n2, true), () => Me(n2);
|
|
112169
112171
|
}
|
|
112170
|
-
const zo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gh = zo.length, Wr = (e2) => typeof e2 == "string" ? parseFloat(e2) : e2, Ur = (e2) => typeof e2 == "number" ||
|
|
112172
|
+
const zo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], gh = zo.length, Wr = (e2) => typeof e2 == "string" ? parseFloat(e2) : e2, Ur = (e2) => typeof e2 == "number" || k.test(e2);
|
|
112171
112173
|
function yh(e2, t2, s2, n2, r2, i2) {
|
|
112172
112174
|
r2 ? (e2.opacity = K(0, s2.opacity ?? 1, xh(n2)), e2.opacityExit = K(t2.opacity ?? 1, 0, vh(n2))) : i2 && (e2.opacity = K(t2.opacity ?? 1, s2.opacity ?? 1, n2));
|
|
112173
112175
|
for (let o2 = 0; o2 < gh; o2++) {
|
|
@@ -112220,7 +112222,7 @@ function Jo(e2) {
|
|
|
112220
112222
|
function Hr(e2, t2) {
|
|
112221
112223
|
return e2.min === t2.min && e2.max === t2.max;
|
|
112222
112224
|
}
|
|
112223
|
-
function
|
|
112225
|
+
function Ch(e2, t2) {
|
|
112224
112226
|
return Hr(e2.x, t2.x) && Hr(e2.y, t2.y);
|
|
112225
112227
|
}
|
|
112226
112228
|
function Xr(e2, t2) {
|
|
@@ -112235,7 +112237,7 @@ function Zr(e2) {
|
|
|
112235
112237
|
function $r(e2, t2) {
|
|
112236
112238
|
return e2.translate === t2.translate && e2.scale === t2.scale && e2.originPoint === t2.originPoint;
|
|
112237
112239
|
}
|
|
112238
|
-
class
|
|
112240
|
+
class kh {
|
|
112239
112241
|
constructor() {
|
|
112240
112242
|
this.members = [];
|
|
112241
112243
|
}
|
|
@@ -112293,8 +112295,8 @@ function Th(e2, t2, s2) {
|
|
|
112293
112295
|
let n2 = "";
|
|
112294
112296
|
const r2 = e2.x.translate / t2.x, i2 = e2.y.translate / t2.y, o2 = s2?.z || 0;
|
|
112295
112297
|
if ((r2 || i2 || o2) && (n2 = `translate3d(${r2}px, ${i2}px, ${o2}px) `), (t2.x !== 1 || t2.y !== 1) && (n2 += `scale(${1 / t2.x}, ${1 / t2.y}) `), s2) {
|
|
112296
|
-
const { transformPerspective: d2, rotate: u4, rotateX: h3, rotateY: p3, skewX: m2, skewY:
|
|
112297
|
-
d2 && (n2 = `perspective(${d2}px) ${n2}`), u4 && (n2 += `rotate(${u4}deg) `), h3 && (n2 += `rotateX(${h3}deg) `), p3 && (n2 += `rotateY(${p3}deg) `), m2 && (n2 += `skewX(${m2}deg) `),
|
|
112298
|
+
const { transformPerspective: d2, rotate: u4, rotateX: h3, rotateY: p3, skewX: m2, skewY: x2 } = s2;
|
|
112299
|
+
d2 && (n2 = `perspective(${d2}px) ${n2}`), u4 && (n2 += `rotate(${u4}deg) `), h3 && (n2 += `rotateX(${h3}deg) `), p3 && (n2 += `rotateY(${p3}deg) `), m2 && (n2 += `skewX(${m2}deg) `), x2 && (n2 += `skewY(${x2}deg) `);
|
|
112298
112300
|
}
|
|
112299
112301
|
const a2 = e2.x.scale * t2.x, c2 = e2.y.scale * t2.y;
|
|
112300
112302
|
return (a2 !== 1 || c2 !== 1) && (n2 += `scale(${a2}, ${c2})`), n2 || "none";
|
|
@@ -112364,15 +112366,15 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112364
112366
|
this.target = void 0, this.relativeTarget = void 0;
|
|
112365
112367
|
return;
|
|
112366
112368
|
}
|
|
112367
|
-
const
|
|
112368
|
-
if (this.options.layoutRoot || this.resumeFrom ||
|
|
112369
|
+
const x2 = this.options.transition || d2.getDefaultTransition() || _h, { onLayoutAnimationStart: w2, onLayoutAnimationComplete: A2 } = d2.getProps(), g2 = !this.targetLayout || !Qo(this.targetLayout, m2), v2 = !h3 && p3;
|
|
112370
|
+
if (this.options.layoutRoot || this.resumeFrom || v2 || h3 && (g2 || !this.currentAnimation)) {
|
|
112369
112371
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
112370
112372
|
const y3 = {
|
|
112371
|
-
...gn(
|
|
112373
|
+
...gn(x2, "layout"),
|
|
112372
112374
|
onPlay: w2,
|
|
112373
112375
|
onComplete: A2
|
|
112374
112376
|
};
|
|
112375
|
-
(d2.shouldReduceMotion || this.options.layoutRoot) && (y3.delay = 0, y3.type = false), this.startAnimation(y3), this.setAnimationOrigin(u4,
|
|
112377
|
+
(d2.shouldReduceMotion || this.options.layoutRoot) && (y3.delay = 0, y3.type = false), this.startAnimation(y3), this.setAnimationOrigin(u4, v2);
|
|
112376
112378
|
} else
|
|
112377
112379
|
h3 || si(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
112378
112380
|
this.targetLayout = m2;
|
|
@@ -112431,9 +112433,9 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112431
112433
|
this.nodes.forEach(ti);
|
|
112432
112434
|
return;
|
|
112433
112435
|
}
|
|
112434
|
-
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = false, this.nodes.forEach(Mh), this.nodes.forEach(
|
|
112436
|
+
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = false, this.nodes.forEach(Mh), this.nodes.forEach(Eh), this.nodes.forEach(jh)) : this.nodes.forEach(ti), this.clearAllSnapshots();
|
|
112435
112437
|
const a2 = ae.now();
|
|
112436
|
-
te.delta =
|
|
112438
|
+
te.delta = Ce(0, 1e3 / 60, a2 - te.timestamp), te.timestamp = a2, te.isProcessing = true, as.update.process(te), as.preRender.process(te), as.render.process(te), te.isProcessing = false;
|
|
112437
112439
|
}
|
|
112438
112440
|
didUpdate() {
|
|
112439
112441
|
this.updateScheduled || (this.updateScheduled = true, xn.read(this.scheduleUpdate));
|
|
@@ -112483,7 +112485,7 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112483
112485
|
if (!r2)
|
|
112484
112486
|
return;
|
|
112485
112487
|
const o2 = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, a2 = this.projectionDelta && !Jo(this.projectionDelta), c2 = this.getTransformTemplate(), d2 = c2 ? c2(this.latestValues, "") : void 0, u4 = d2 !== this.prevTransformTemplateValue;
|
|
112486
|
-
o2 && this.instance && (a2 ||
|
|
112488
|
+
o2 && this.instance && (a2 || Ie(this.latestValues) || u4) && (r2(this.instance, d2), this.shouldResetTransform = false, this.scheduleRender());
|
|
112487
112489
|
}
|
|
112488
112490
|
measure(o2 = true) {
|
|
112489
112491
|
const a2 = this.measurePageBox();
|
|
@@ -112525,22 +112527,22 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112525
112527
|
!a2 && u4.options.layoutScroll && u4.scroll && u4 !== u4.root && He(c2, {
|
|
112526
112528
|
x: -u4.scroll.offset.x,
|
|
112527
112529
|
y: -u4.scroll.offset.y
|
|
112528
|
-
}),
|
|
112530
|
+
}), Ie(u4.latestValues) && He(c2, u4.latestValues);
|
|
112529
112531
|
}
|
|
112530
|
-
return
|
|
112532
|
+
return Ie(this.latestValues) && He(c2, this.latestValues), c2;
|
|
112531
112533
|
}
|
|
112532
112534
|
removeTransform(o2) {
|
|
112533
112535
|
const a2 = Z();
|
|
112534
112536
|
ye(a2, o2);
|
|
112535
112537
|
for (let c2 = 0; c2 < this.path.length; c2++) {
|
|
112536
112538
|
const d2 = this.path[c2];
|
|
112537
|
-
if (!d2.instance || !
|
|
112539
|
+
if (!d2.instance || !Ie(d2.latestValues))
|
|
112538
112540
|
continue;
|
|
112539
112541
|
Os(d2.latestValues) && d2.updateSnapshot();
|
|
112540
112542
|
const u4 = Z(), h3 = d2.measurePageBox();
|
|
112541
112543
|
ye(u4, h3), Jr(a2, d2.latestValues, d2.snapshot ? d2.snapshot.layoutBox : void 0, u4);
|
|
112542
112544
|
}
|
|
112543
|
-
return
|
|
112545
|
+
return Ie(this.latestValues) && Jr(a2, this.latestValues), a2;
|
|
112544
112546
|
}
|
|
112545
112547
|
setTargetDelta(o2) {
|
|
112546
112548
|
this.targetDelta = o2, this.root.scheduleUpdateProjection(), this.isProjectionDirty = true;
|
|
@@ -112569,10 +112571,10 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112569
112571
|
return;
|
|
112570
112572
|
this.resolvedRelativeTargetAt = te.timestamp;
|
|
112571
112573
|
const p3 = this.getClosestProjectingParent();
|
|
112572
|
-
p3 && this.linkedParentVersion !== p3.layoutVersion && !p3.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (p3 && p3.layout ? this.createRelativeTarget(p3, this.layout.layoutBox, p3.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Z(), this.targetWithTransforms = Z()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hd(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : ye(this.target, this.layout.layoutBox),
|
|
112574
|
+
p3 && this.linkedParentVersion !== p3.layoutVersion && !p3.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (p3 && p3.layout ? this.createRelativeTarget(p3, this.layout.layoutBox, p3.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = Z(), this.targetWithTransforms = Z()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hd(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : ye(this.target, this.layout.layoutBox), jo(this.target, this.targetDelta)) : ye(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = false, p3 && !!p3.resumingFrom == !!this.resumingFrom && !p3.options.layoutScroll && p3.target && this.animationProgress !== 1 ? this.createRelativeTarget(p3, this.target, p3.target) : this.relativeParent = this.relativeTarget = void 0));
|
|
112573
112575
|
}
|
|
112574
112576
|
getClosestProjectingParent() {
|
|
112575
|
-
if (!(!this.parent || Os(this.parent.latestValues) ||
|
|
112577
|
+
if (!(!this.parent || Os(this.parent.latestValues) || Eo(this.parent.latestValues)))
|
|
112576
112578
|
return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
|
|
112577
112579
|
}
|
|
112578
112580
|
isProjecting() {
|
|
@@ -112600,7 +112602,7 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112600
112602
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
112601
112603
|
return;
|
|
112602
112604
|
}
|
|
112603
|
-
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Yr(this.prevProjectionDelta.x, this.projectionDelta.x), Yr(this.prevProjectionDelta.y, this.projectionDelta.y)),
|
|
112605
|
+
!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Yr(this.prevProjectionDelta.x, this.projectionDelta.x), Yr(this.prevProjectionDelta.y, this.projectionDelta.y)), vt(this.projectionDelta, this.layoutCorrected, m2, this.latestValues), (this.treeScale.x !== h3 || this.treeScale.y !== p3 || !$r(this.projectionDelta.x, this.prevProjectionDelta.x) || !$r(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = true, this.scheduleRender(), this.notifyListeners("projectionUpdate", m2));
|
|
112604
112606
|
}
|
|
112605
112607
|
hide() {
|
|
112606
112608
|
this.isVisible = false;
|
|
@@ -112621,17 +112623,17 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112621
112623
|
setAnimationOrigin(o2, a2 = false) {
|
|
112622
112624
|
const c2 = this.snapshot, d2 = c2 ? c2.latestValues : {}, u4 = { ...this.latestValues }, h3 = Xe();
|
|
112623
112625
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a2;
|
|
112624
|
-
const p3 = Z(), m2 = c2 ? c2.source : void 0,
|
|
112626
|
+
const p3 = Z(), m2 = c2 ? c2.source : void 0, x2 = this.layout ? this.layout.source : void 0, w2 = m2 !== x2, A2 = this.getStack(), g2 = !A2 || A2.members.length <= 1, v2 = !!(w2 && !g2 && this.options.crossfade === true && !this.path.some(Ih));
|
|
112625
112627
|
this.animationProgress = 0;
|
|
112626
112628
|
let y3;
|
|
112627
|
-
this.mixTargetDelta = (
|
|
112628
|
-
const P3 =
|
|
112629
|
-
ni(h3.x, o2.x, P3), ni(h3.y, o2.y, P3), this.setTargetDelta(h3), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jt(p3, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Oh(this.relativeTarget, this.relativeTargetOrigin, p3, P3), y3 &&
|
|
112629
|
+
this.mixTargetDelta = (E2) => {
|
|
112630
|
+
const P3 = E2 / 1e3;
|
|
112631
|
+
ni(h3.x, o2.x, P3), ni(h3.y, o2.y, P3), this.setTargetDelta(h3), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jt(p3, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Oh(this.relativeTarget, this.relativeTargetOrigin, p3, P3), y3 && Ch(this.relativeTarget, y3) && (this.isProjectionDirty = false), y3 || (y3 = Z()), ye(y3, this.relativeTarget)), w2 && (this.animationValues = u4, yh(u4, d2, this.latestValues, P3, v2, g2)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = P3;
|
|
112630
112632
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
112631
112633
|
}
|
|
112632
112634
|
startAnimation(o2) {
|
|
112633
112635
|
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (Me(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = W.update(() => {
|
|
112634
|
-
_t.hasAnimatedSinceResize = true, this.motionValue || (this.motionValue =
|
|
112636
|
+
_t.hasAnimatedSinceResize = true, this.motionValue || (this.motionValue = et2(0)), this.currentAnimation = hh(this.motionValue, [0, 1e3], {
|
|
112635
112637
|
...o2,
|
|
112636
112638
|
velocity: 0,
|
|
112637
112639
|
isSync: true,
|
|
@@ -112665,11 +112667,11 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112665
112667
|
const p3 = le(this.layout.layoutBox.y);
|
|
112666
112668
|
c2.y.min = o2.target.y.min, c2.y.max = c2.y.min + p3;
|
|
112667
112669
|
}
|
|
112668
|
-
ye(a2, c2), He(a2, u4),
|
|
112670
|
+
ye(a2, c2), He(a2, u4), vt(this.projectionDeltaWithTransform, this.layoutCorrected, a2, u4);
|
|
112669
112671
|
}
|
|
112670
112672
|
}
|
|
112671
112673
|
registerSharedNode(o2, a2) {
|
|
112672
|
-
this.sharedNodes.has(o2) || this.sharedNodes.set(o2, new
|
|
112674
|
+
this.sharedNodes.has(o2) || this.sharedNodes.set(o2, new kh()), this.sharedNodes.get(o2).add(a2);
|
|
112673
112675
|
const d2 = a2.options.initialPromotionConfig;
|
|
112674
112676
|
a2.promote({
|
|
112675
112677
|
transition: d2 ? d2.transition : void 0,
|
|
@@ -112732,7 +112734,7 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112732
112734
|
}
|
|
112733
112735
|
const d2 = this.getLead();
|
|
112734
112736
|
if (!this.projectionDelta || !this.layout || !d2.target) {
|
|
112735
|
-
this.options.layoutId && (o2.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, o2.pointerEvents = It(a2?.pointerEvents) || ""), this.hasProjected && !
|
|
112737
|
+
this.options.layoutId && (o2.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, o2.pointerEvents = It(a2?.pointerEvents) || ""), this.hasProjected && !Ie(this.latestValues) && (o2.transform = c2 ? c2({}, "") : "none", this.hasProjected = false);
|
|
112736
112738
|
return;
|
|
112737
112739
|
}
|
|
112738
112740
|
o2.visibility = "";
|
|
@@ -112742,16 +112744,16 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112742
112744
|
c2 && (h3 = c2(u4, h3)), o2.transform = h3;
|
|
112743
112745
|
const { x: p3, y: m2 } = this.projectionDelta;
|
|
112744
112746
|
o2.transformOrigin = `${p3.origin * 100}% ${m2.origin * 100}% 0`, d2.animationValues ? o2.opacity = d2 === this ? u4.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : u4.opacityExit : o2.opacity = d2 === this ? u4.opacity !== void 0 ? u4.opacity : "" : u4.opacityExit !== void 0 ? u4.opacityExit : 0;
|
|
112745
|
-
for (const
|
|
112746
|
-
if (u4[
|
|
112747
|
+
for (const x2 in Ls) {
|
|
112748
|
+
if (u4[x2] === void 0)
|
|
112747
112749
|
continue;
|
|
112748
|
-
const { correct: w2, applyTo: A2, isCSSVariable: g2 } = Ls[
|
|
112750
|
+
const { correct: w2, applyTo: A2, isCSSVariable: g2 } = Ls[x2], v2 = h3 === "none" ? u4[x2] : w2(u4[x2], d2);
|
|
112749
112751
|
if (A2) {
|
|
112750
112752
|
const y3 = A2.length;
|
|
112751
|
-
for (let
|
|
112752
|
-
o2[A2[
|
|
112753
|
+
for (let E2 = 0; E2 < y3; E2++)
|
|
112754
|
+
o2[A2[E2]] = v2;
|
|
112753
112755
|
} else
|
|
112754
|
-
g2 ? this.options.visualElement.renderState.vars[
|
|
112756
|
+
g2 ? this.options.visualElement.renderState.vars[x2] = v2 : o2[x2] = v2;
|
|
112755
112757
|
}
|
|
112756
112758
|
this.options.layoutId && (o2.pointerEvents = d2 === this ? It(a2?.pointerEvents) || "" : "none");
|
|
112757
112759
|
}
|
|
@@ -112764,24 +112766,24 @@ function Xo({ attachResizeListener: e2, defaultParent: t2, measureScroll: s2, ch
|
|
|
112764
112766
|
}
|
|
112765
112767
|
};
|
|
112766
112768
|
}
|
|
112767
|
-
function
|
|
112769
|
+
function Eh(e2) {
|
|
112768
112770
|
e2.updateLayout();
|
|
112769
112771
|
}
|
|
112770
|
-
function
|
|
112772
|
+
function jh(e2) {
|
|
112771
112773
|
const t2 = e2.resumeFrom?.snapshot || e2.snapshot;
|
|
112772
112774
|
if (e2.isLead() && e2.layout && t2 && e2.hasListeners("didUpdate")) {
|
|
112773
112775
|
const { layoutBox: s2, measuredBox: n2 } = e2.layout, { animationType: r2 } = e2.options, i2 = t2.source !== e2.layout.source;
|
|
112774
|
-
r2 === "size" ?
|
|
112776
|
+
r2 === "size" ? pe((u4) => {
|
|
112775
112777
|
const h3 = i2 ? t2.measuredBox[u4] : t2.layoutBox[u4], p3 = le(h3);
|
|
112776
112778
|
h3.min = s2[u4].min, h3.max = h3.min + p3;
|
|
112777
|
-
}) : Zo(r2, t2.layoutBox, s2) &&
|
|
112779
|
+
}) : Zo(r2, t2.layoutBox, s2) && pe((u4) => {
|
|
112778
112780
|
const h3 = i2 ? t2.measuredBox[u4] : t2.layoutBox[u4], p3 = le(s2[u4]);
|
|
112779
112781
|
h3.max = h3.min + p3, e2.relativeTarget && !e2.currentAnimation && (e2.isProjectionDirty = true, e2.relativeTarget[u4].max = e2.relativeTarget[u4].min + p3);
|
|
112780
112782
|
});
|
|
112781
112783
|
const o2 = Xe();
|
|
112782
|
-
|
|
112784
|
+
vt(o2, s2, t2.layoutBox);
|
|
112783
112785
|
const a2 = Xe();
|
|
112784
|
-
i2 ?
|
|
112786
|
+
i2 ? vt(a2, e2.applyTransform(n2, true), t2.measuredBox) : vt(a2, s2, t2.layoutBox);
|
|
112785
112787
|
const c2 = !Jo(o2);
|
|
112786
112788
|
let d2 = false;
|
|
112787
112789
|
if (!e2.resumeFrom) {
|
|
@@ -112791,8 +112793,8 @@ function Eh(e2) {
|
|
|
112791
112793
|
if (h3 && p3) {
|
|
112792
112794
|
const m2 = Z();
|
|
112793
112795
|
Jt(m2, t2.layoutBox, h3.layoutBox);
|
|
112794
|
-
const
|
|
112795
|
-
Jt(
|
|
112796
|
+
const x2 = Z();
|
|
112797
|
+
Jt(x2, s2, p3.layoutBox), Qo(m2, x2) || (d2 = true), u4.options.layoutRoot && (e2.relativeTarget = x2, e2.relativeTargetOrigin = m2, e2.relativeParent = u4);
|
|
112796
112798
|
}
|
|
112797
112799
|
}
|
|
112798
112800
|
}
|
|
@@ -112873,7 +112875,7 @@ function Uh(e2) {
|
|
|
112873
112875
|
return e2 !== e2.root && e2.scroll?.wasRoot;
|
|
112874
112876
|
}
|
|
112875
112877
|
const qh = Xo({
|
|
112876
|
-
attachResizeListener: (e2, t2) =>
|
|
112878
|
+
attachResizeListener: (e2, t2) => kt(e2, "resize", t2),
|
|
112877
112879
|
measureScroll: () => ({
|
|
112878
112880
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
112879
112881
|
y: document.documentElement.scrollTop || document.body.scrollTop
|
|
@@ -112911,7 +112913,7 @@ function li(e2, t2, s2) {
|
|
|
112911
112913
|
const { props: n2 } = e2;
|
|
112912
112914
|
e2.animationState && n2.whileHover && e2.animationState.setActive("whileHover", s2 === "Start");
|
|
112913
112915
|
const r2 = "onHover" + s2, i2 = n2[r2];
|
|
112914
|
-
i2 && W.postRender(() => i2(t2,
|
|
112916
|
+
i2 && W.postRender(() => i2(t2, Et(t2)));
|
|
112915
112917
|
}
|
|
112916
112918
|
class Yh extends Fe {
|
|
112917
112919
|
mount() {
|
|
@@ -112938,7 +112940,7 @@ class zh extends Fe {
|
|
|
112938
112940
|
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", false), this.isActive = false);
|
|
112939
112941
|
}
|
|
112940
112942
|
mount() {
|
|
112941
|
-
this.unmount = Tt(
|
|
112943
|
+
this.unmount = Tt(kt(this.node.current, "focus", () => this.onFocus()), kt(this.node.current, "blur", () => this.onBlur()));
|
|
112942
112944
|
}
|
|
112943
112945
|
unmount() {
|
|
112944
112946
|
}
|
|
@@ -112949,7 +112951,7 @@ function ci(e2, t2, s2) {
|
|
|
112949
112951
|
return;
|
|
112950
112952
|
e2.animationState && n2.whileTap && e2.animationState.setActive("whileTap", s2 === "Start");
|
|
112951
112953
|
const r2 = "onTap" + (s2 === "End" ? "" : s2), i2 = n2[r2];
|
|
112952
|
-
i2 && W.postRender(() => i2(t2,
|
|
112954
|
+
i2 && W.postRender(() => i2(t2, Et(t2)));
|
|
112953
112955
|
}
|
|
112954
112956
|
class Gh extends Fe {
|
|
112955
112957
|
mount() {
|
|
@@ -113048,26 +113050,26 @@ const tf = {
|
|
|
113048
113050
|
const { t: r2 } = useTranslation(), i2 = e2 ?? [], [o2, a2] = React.useState(
|
|
113049
113051
|
/* @__PURE__ */ new Set()
|
|
113050
113052
|
), [c2, d2] = React.useState(false), u4 = (g2) => {
|
|
113051
|
-
a2((
|
|
113052
|
-
const y3 = new Set(
|
|
113053
|
+
a2((v2) => {
|
|
113054
|
+
const y3 = new Set(v2);
|
|
113053
113055
|
return y3.has(g2) ? y3.delete(g2) : y3.add(g2), y3;
|
|
113054
113056
|
});
|
|
113055
113057
|
}, h3 = i2.findIndex((g2) => g2.status !== "pending"), p3 = i2.reduce(
|
|
113056
|
-
(g2,
|
|
113058
|
+
(g2, v2, y3) => v2.status !== "pending" ? y3 : g2,
|
|
113057
113059
|
-1
|
|
113058
|
-
), m2 = i2.length ? i2.some((g2) => g2.status === "in_progress") ? "in_progress" : i2.every((g2) => g2.status === "done") ? "done" : i2.some((g2) => g2.status === "done") ? "in_progress" : "pending" : "pending",
|
|
113060
|
+
), m2 = i2.length ? i2.some((g2) => g2.status === "in_progress") ? "in_progress" : i2.every((g2) => g2.status === "done") ? "done" : i2.some((g2) => g2.status === "done") ? "in_progress" : "pending" : "pending", x2 = t2 ?? (i2.length ? "done" : "pending"), w2 = s2 ?? m2, A2 = n2 ?? "pending";
|
|
113059
113061
|
return /* @__PURE__ */ l2.jsxs("div", { className: "space-y-6 pr-6", children: [
|
|
113060
113062
|
/* @__PURE__ */ l2.jsx("div", { className: "text-sm text-[#333] dark:text-[#E5E7EB]", children: r2("deepResearch.steps.intro") }),
|
|
113061
113063
|
/* @__PURE__ */ l2.jsxs("div", { className: "space-y-4", children: [
|
|
113062
113064
|
/* @__PURE__ */ l2.jsxs(
|
|
113063
113065
|
"div",
|
|
113064
113066
|
{
|
|
113065
|
-
className: `flex items-center gap-2 text-base font-medium ${
|
|
113067
|
+
className: `flex items-center gap-2 text-base font-medium ${x2 === "pending" ? "text-[#999] dark:text-[#666]" : "text-[#333] dark:text-[#E5E7EB]"}`,
|
|
113066
113068
|
children: [
|
|
113067
|
-
|
|
113069
|
+
x2 === "in_progress" ? /* @__PURE__ */ l2.jsx(Loader, { className: "w-5 h-5 text-[#1784FC] animate-spin" }) : /* @__PURE__ */ l2.jsx(
|
|
113068
113070
|
PencilLine,
|
|
113069
113071
|
{
|
|
113070
|
-
className: `w-4 h-4 ${
|
|
113072
|
+
className: `w-4 h-4 ${x2 === "pending" ? "text-[#999]" : "text-[#1784FC]"}`
|
|
113071
113073
|
}
|
|
113072
113074
|
),
|
|
113073
113075
|
r2("deepResearch.steps.planTitle")
|
|
@@ -113089,9 +113091,9 @@ const tf = {
|
|
|
113089
113091
|
]
|
|
113090
113092
|
}
|
|
113091
113093
|
),
|
|
113092
|
-
c2 && i2.length > 0 && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-1 rounded-lg bg-white dark:bg-[#020817] border border-[#EEF0F3] dark:border-[#1D3A6F] p-3", children: i2.map((g2,
|
|
113094
|
+
c2 && i2.length > 0 && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-1 rounded-lg bg-white dark:bg-[#020817] border border-[#EEF0F3] dark:border-[#1D3A6F] p-3", children: i2.map((g2, v2) => /* @__PURE__ */ l2.jsxs("div", { className: "flex items-start gap-2 text-sm", children: [
|
|
113093
113095
|
/* @__PURE__ */ l2.jsxs("span", { className: "text-[#999] dark:text-[#A6A6A6]", children: [
|
|
113094
|
-
|
|
113096
|
+
v2 + 1,
|
|
113095
113097
|
"."
|
|
113096
113098
|
] }),
|
|
113097
113099
|
/* @__PURE__ */ l2.jsx("span", { className: "text-[#333] dark:text-[#E5E7EB]", children: g2.title })
|
|
@@ -113108,8 +113110,8 @@ const tf = {
|
|
|
113108
113110
|
]
|
|
113109
113111
|
}
|
|
113110
113112
|
),
|
|
113111
|
-
i2.map((g2,
|
|
113112
|
-
const y3 = g2.status !== "pending",
|
|
113113
|
+
i2.map((g2, v2) => {
|
|
113114
|
+
const y3 = g2.status !== "pending", E2 = v2 === h3, P3 = v2 === p3, V2 = g2.status === "pending" && !g2.searches;
|
|
113113
113115
|
return /* @__PURE__ */ l2.jsxs(
|
|
113114
113116
|
"div",
|
|
113115
113117
|
{
|
|
@@ -113118,15 +113120,15 @@ const tf = {
|
|
|
113118
113120
|
y3 && h3 !== -1 && p3 !== -1 && /* @__PURE__ */ l2.jsx(
|
|
113119
113121
|
"div",
|
|
113120
113122
|
{
|
|
113121
|
-
className: "absolute left-2
|
|
113123
|
+
className: "absolute left-2 border-l border-dashed border-[#018AE5]/20 dark:border-gray-700",
|
|
113122
113124
|
style: {
|
|
113123
|
-
top:
|
|
113124
|
-
bottom: P3 ? 10 :
|
|
113125
|
+
top: E2 ? 10 : 16,
|
|
113126
|
+
bottom: P3 ? 10 : -12
|
|
113125
113127
|
}
|
|
113126
113128
|
}
|
|
113127
113129
|
),
|
|
113128
|
-
g2.status === "done" && /* @__PURE__ */ l2.jsx(
|
|
113129
|
-
g2.status === "in_progress" && /* @__PURE__ */ l2.jsx(
|
|
113130
|
+
g2.status === "done" && /* @__PURE__ */ l2.jsx(CircleCheckBig, { className: "absolute left-0 top-0 w-4 h-4 text-[#1784FC]" }),
|
|
113131
|
+
g2.status === "in_progress" && /* @__PURE__ */ l2.jsx(Loader, { className: "absolute left-0 top-0 w-4 h-4 text-[#1784FC] animate-spin" }),
|
|
113130
113132
|
V2 ? /* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
113131
113133
|
/* @__PURE__ */ l2.jsx(List, { className: "w-4 h-4 text-[#C8C8C8]" }),
|
|
113132
113134
|
/* @__PURE__ */ l2.jsx("div", { className: "text-sm text-[#999999] dark:text-[#666]", children: g2.title })
|
|
@@ -113182,7 +113184,7 @@ const tf = {
|
|
|
113182
113184
|
]
|
|
113183
113185
|
}
|
|
113184
113186
|
),
|
|
113185
|
-
o2.has(S3.id) && S3.hits && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-2 pl-4", children: S3.hits.map((T2,
|
|
113187
|
+
o2.has(S3.id) && S3.hits && /* @__PURE__ */ l2.jsx("div", { className: "mt-2 space-y-2 pl-4", children: S3.hits.map((T2, M2) => /* @__PURE__ */ l2.jsx(
|
|
113186
113188
|
"div",
|
|
113187
113189
|
{
|
|
113188
113190
|
className: "p-3 bg-white dark:bg-[#020817] border border-gray-100 dark:border-[#1D3A6F] rounded-lg hover:border-blue-200 dark:hover:border-blue-800 transition-colors cursor-pointer group",
|
|
@@ -113192,7 +113194,7 @@ const tf = {
|
|
|
113192
113194
|
T2.content && /* @__PURE__ */ l2.jsx("div", { className: "text-xs text-[#999] dark:text-[#A6A6A6] mt-1 line-clamp-2", children: T2.content })
|
|
113193
113195
|
] }) })
|
|
113194
113196
|
},
|
|
113195
|
-
|
|
113197
|
+
M2
|
|
113196
113198
|
)) }),
|
|
113197
113199
|
S3.note && /* @__PURE__ */ l2.jsx("p", { className: "text-[#999] dark:text-[#A6A6A6] text-sm mt-4 mb-2", children: S3.note })
|
|
113198
113200
|
] }, S3.id)
|
|
@@ -113217,7 +113219,7 @@ const tf = {
|
|
|
113217
113219
|
{
|
|
113218
113220
|
className: `flex items-center gap-2 text-base font-medium mb-4 ${A2 === "pending" ? "text-[#999] dark:text-[#666]" : "text-[#333] dark:text-[#E5E7EB]"}`,
|
|
113219
113221
|
children: [
|
|
113220
|
-
A2 === "in_progress" ? /* @__PURE__ */ l2.jsx(
|
|
113222
|
+
A2 === "in_progress" ? /* @__PURE__ */ l2.jsx(Loader, { className: "w-5 h-5 text-blue-500 animate-spin" }) : /* @__PURE__ */ l2.jsx(
|
|
113221
113223
|
BookOpenText,
|
|
113222
113224
|
{
|
|
113223
113225
|
className: `w-4 h-4 ${A2 === "pending" ? "text-[#999]" : "text-[#1784FC]"}`
|
|
@@ -113312,7 +113314,7 @@ const tf = {
|
|
|
113312
113314
|
theme: h3,
|
|
113313
113315
|
showReportOnly: p3 = false
|
|
113314
113316
|
}) => {
|
|
113315
|
-
const { t: m2 } = useTranslation(), [
|
|
113317
|
+
const { t: m2 } = useTranslation(), [x2, w2] = React.useState(s2 || m2("deepResearch.tab.steps"));
|
|
113316
113318
|
return React.useEffect(() => {
|
|
113317
113319
|
p3 ? w2(m2("deepResearch.tab.report")) : s2 && w2(s2);
|
|
113318
113320
|
}, [s2, p3, m2]), /* @__PURE__ */ l2.jsx(Su, { children: e2 && /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
@@ -113354,7 +113356,7 @@ const tf = {
|
|
|
113354
113356
|
antd.Segmented,
|
|
113355
113357
|
{
|
|
113356
113358
|
className: "cm-deep-research-segmented",
|
|
113357
|
-
value:
|
|
113359
|
+
value: x2,
|
|
113358
113360
|
style: { marginBottom: 8 },
|
|
113359
113361
|
onChange: (A2) => w2(A2),
|
|
113360
113362
|
options: [
|
|
@@ -113365,7 +113367,7 @@ const tf = {
|
|
|
113365
113367
|
}
|
|
113366
113368
|
),
|
|
113367
113369
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
113368
|
-
|
|
113370
|
+
x2 === m2("deepResearch.tab.report") && /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
113369
113371
|
/* @__PURE__ */ l2.jsxs(
|
|
113370
113372
|
"button",
|
|
113371
113373
|
{
|
|
@@ -113402,7 +113404,7 @@ const tf = {
|
|
|
113402
113404
|
] })
|
|
113403
113405
|
] }),
|
|
113404
113406
|
/* @__PURE__ */ l2.jsxs("div", { className: "pt-6 flex-1 overflow-y-auto bg-white dark:bg-black", children: [
|
|
113405
|
-
|
|
113407
|
+
x2 === m2("deepResearch.tab.report") && /* @__PURE__ */ l2.jsx(
|
|
113406
113408
|
of,
|
|
113407
113409
|
{
|
|
113408
113410
|
content: c2,
|
|
@@ -113410,7 +113412,7 @@ const tf = {
|
|
|
113410
113412
|
formatUrl: u4
|
|
113411
113413
|
}
|
|
113412
113414
|
),
|
|
113413
|
-
|
|
113415
|
+
x2 === m2("deepResearch.tab.steps") && /* @__PURE__ */ l2.jsx(
|
|
113414
113416
|
rf,
|
|
113415
113417
|
{
|
|
113416
113418
|
steps: n2,
|
|
@@ -113419,7 +113421,7 @@ const tf = {
|
|
|
113419
113421
|
reportStatus: o2
|
|
113420
113422
|
}
|
|
113421
113423
|
),
|
|
113422
|
-
|
|
113424
|
+
x2 === m2("deepResearch.tab.searchResults") && /* @__PURE__ */ l2.jsx(af, { hits: d2, theme: h3 })
|
|
113423
113425
|
] })
|
|
113424
113426
|
]
|
|
113425
113427
|
}
|
|
@@ -113531,21 +113533,19 @@ const tf = {
|
|
|
113531
113533
|
}) => {
|
|
113532
113534
|
const { t: r2 } = useTranslation(), [i2, o2] = React.useState(false), [a2, c2] = React.useState(
|
|
113533
113535
|
r2("deepResearch.tab.steps")
|
|
113534
|
-
)
|
|
113535
|
-
console.log(111111111, e2);
|
|
113536
|
-
const {
|
|
113536
|
+
), {
|
|
113537
113537
|
deepResearchPlans: d2,
|
|
113538
113538
|
deepResearchCurrentStepIndex: u4,
|
|
113539
113539
|
deepResearchCurrentStepFinished: h3,
|
|
113540
113540
|
deepResearchQuery: p3,
|
|
113541
113541
|
deepResearchResultCount: m2,
|
|
113542
|
-
deepResearchPlannerStarted:
|
|
113542
|
+
deepResearchPlannerStarted: x2,
|
|
113543
113543
|
deepResearchResearcherStarted: w2,
|
|
113544
113544
|
deepResearchReporterStarted: A2,
|
|
113545
113545
|
deepResearchReporterFinished: g2,
|
|
113546
|
-
deepResearchReportData:
|
|
113546
|
+
deepResearchReportData: v2,
|
|
113547
113547
|
deepResearchSearchMap: y3
|
|
113548
|
-
} = React.useMemo(() => lf(e2), [e2]),
|
|
113548
|
+
} = React.useMemo(() => lf(e2), [e2]), E2 = d2.length > 0 && u4 >= 0 && u4 < d2.length, P3 = E2 ? d2[u4] : "", V2 = d2.length > 0 ? 1 : 0, S3 = E2 ? (u4 + 1) / d2.length : 0, T2 = g2 ? 1 : A2 ? 0.5 : 0, M2 = (V2 + S3 + T2) / 3, I2 = React.useMemo(() => {
|
|
113549
113549
|
if (g2)
|
|
113550
113550
|
return typeof m2 == "number" ? `深度研究完成 · 找到 ${m2} 条相关结果` : "深度研究完成";
|
|
113551
113551
|
if (A2)
|
|
@@ -113563,7 +113563,7 @@ const tf = {
|
|
|
113563
113563
|
]), Q2 = React.useMemo(() => d2.length ? d2.map((L2, U2) => {
|
|
113564
113564
|
let z2 = "pending";
|
|
113565
113565
|
g2 || A2 ? z2 = "done" : w2 && (U2 < u4 ? z2 = "done" : U2 === u4 && (z2 = h3 ? "done" : "in_progress"));
|
|
113566
|
-
const re2 = y3[L2],
|
|
113566
|
+
const re2 = y3[L2], qe2 = re2?.query ? [
|
|
113567
113567
|
{
|
|
113568
113568
|
id: `step-${U2 + 1}-search-1`,
|
|
113569
113569
|
query: re2.query,
|
|
@@ -113576,7 +113576,7 @@ const tf = {
|
|
|
113576
113576
|
id: `step-${U2 + 1}`,
|
|
113577
113577
|
title: L2,
|
|
113578
113578
|
status: z2,
|
|
113579
|
-
searches:
|
|
113579
|
+
searches: qe2,
|
|
113580
113580
|
showOptimizePlan: false
|
|
113581
113581
|
};
|
|
113582
113582
|
}) : [], [
|
|
@@ -113592,7 +113592,9 @@ const tf = {
|
|
|
113592
113592
|
return Object.values(y3).forEach((U2) => {
|
|
113593
113593
|
U2.hits && Array.isArray(U2.hits) && L2.push(...U2.hits);
|
|
113594
113594
|
}), L2;
|
|
113595
|
-
}, [y3]), ce2 = d2.length ? "done" :
|
|
113595
|
+
}, [y3]), ce2 = d2.length ? "done" : x2 ? "in_progress" : "pending", X2 = React.useMemo(() => Q2.length ? Q2.some((L2) => L2.status === "in_progress") ? "in_progress" : Q2.some((L2) => L2.status === "done") ? "done" : "pending" : "pending", [Q2]), de2 = g2 ? "done" : A2 ? "in_progress" : "pending", ee2 = React.useMemo(() => typeof M2 != "number" || Number.isNaN(M2) || M2 < 0 ? 0 : M2 > 1 ? 1 : M2, [M2]), B3 = React.useMemo(() => I2 || (ee2 >= 1 ? typeof m2 == "number" ? r2("deepResearch.status.completedWithCount", {
|
|
113596
|
+
count: m2
|
|
113597
|
+
}) : r2("deepResearch.status.completed") : ee2 > 0 ? r2("deepResearch.status.running") : r2("deepResearch.status.preparing")), [I2, ee2, m2, r2]);
|
|
113596
113598
|
return e2.length ? /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
113597
113599
|
/* @__PURE__ */ l2.jsx(
|
|
113598
113600
|
"div",
|
|
@@ -113604,11 +113606,11 @@ const tf = {
|
|
|
113604
113606
|
children: /* @__PURE__ */ l2.jsxs("div", { className: "w-full rounded-xl border border-[#EEF0F3] bg-[#F3F4F6] dark:border-[#1D3A6F] dark:bg-[#020817] p-4", children: [
|
|
113605
113607
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex items-center gap-2 mb-4", children: [
|
|
113606
113608
|
/* @__PURE__ */ l2.jsx(Hourglass, { className: "h-4 w-4 text-[#148EFF] cm-hourglass-rotate" }),
|
|
113607
|
-
/* @__PURE__ */ l2.jsx("div", { className: "text-sm font-medium text-[#333] dark:text-[#E5E7EB] truncate", children: P3 || "
|
|
113609
|
+
/* @__PURE__ */ l2.jsx("div", { className: "text-sm font-medium text-[#333] dark:text-[#E5E7EB] truncate", children: P3 || "——" })
|
|
113608
113610
|
] }),
|
|
113609
113611
|
/* @__PURE__ */ l2.jsxs("div", { className: "mt-2 flex items-center justify-between rounded-full bg-white px-3 py-2 text-sm text-[#333] dark:bg-[#111827] dark:text-[#D1D5DB]", children: [
|
|
113610
113612
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex min-w-0 items-center gap-2 flex-1", children: [
|
|
113611
|
-
|
|
113613
|
+
ee2 >= 1 ? /* @__PURE__ */ l2.jsx(Check, { className: "h-4 w-4 text-[#22C55E] shrink-0" }) : /* @__PURE__ */ l2.jsx(Loader, { className: "h-4 w-4 animate-spin text-[#148EFF] shrink-0" }),
|
|
113612
113614
|
/* @__PURE__ */ l2.jsxs("div", { className: "flex min-w-0 items-center flex-1", children: [
|
|
113613
113615
|
/* @__PURE__ */ l2.jsx("span", { className: "whitespace-nowrap shrink-0", children: B3 }),
|
|
113614
113616
|
/* @__PURE__ */ l2.jsxs("span", { className: "text-[#999] dark:text-[#A6A6A6] truncate ml-1", children: [
|
|
@@ -113618,8 +113620,8 @@ const tf = {
|
|
|
113618
113620
|
] })
|
|
113619
113621
|
] }),
|
|
113620
113622
|
/* @__PURE__ */ l2.jsxs("div", { className: "ml-2 flex items-center gap-2 shrink-0", children: [
|
|
113621
|
-
|
|
113622
|
-
|
|
113623
|
+
ee2 < 1 && typeof m2 == "number" ? /* @__PURE__ */ l2.jsx("div", { className: "flex py-0.5 px-1 items-center justify-center rounded-full border border-[#018AE5] bg-white text-xs font-medium text-[#018AE5] dark:bg-[#020617]", children: m2 }) : null,
|
|
113624
|
+
ee2 >= 1 && /* @__PURE__ */ l2.jsx(
|
|
113623
113625
|
"button",
|
|
113624
113626
|
{
|
|
113625
113627
|
type: "button",
|
|
@@ -113636,11 +113638,11 @@ const tf = {
|
|
|
113636
113638
|
/* @__PURE__ */ l2.jsx("div", { className: "h-2 rounded-full flex-1 items-center bg-white dark:bg-[#1F2937]", children: /* @__PURE__ */ l2.jsx(
|
|
113637
113639
|
"div",
|
|
113638
113640
|
{
|
|
113639
|
-
className: `h-full rounded-full transition-all ${
|
|
113640
|
-
style: { width: `${
|
|
113641
|
+
className: `h-full rounded-full transition-all ${ee2 >= 1 ? "bg-[#00C868]" : "bg-[#1784FC]"}`,
|
|
113642
|
+
style: { width: `${ee2 * 100}%` }
|
|
113641
113643
|
}
|
|
113642
113644
|
) }),
|
|
113643
|
-
/* @__PURE__ */ l2.jsx("div", { className: "flex items-center justify-center cursor-
|
|
113645
|
+
/* @__PURE__ */ l2.jsx("div", { className: "flex items-center justify-center cursor-not-allowed opacity-50", children: ee2 >= 1 ? /* @__PURE__ */ l2.jsx(Check, { className: "h-4 w-4 text-[#22C55E]" }) : /* @__PURE__ */ l2.jsx(CirclePause, { className: "h-4 w-4 text-[#1784FC]" }) })
|
|
113644
113646
|
] })
|
|
113645
113647
|
] })
|
|
113646
113648
|
}
|
|
@@ -113655,7 +113657,7 @@ const tf = {
|
|
|
113655
113657
|
plannerStatus: ce2,
|
|
113656
113658
|
executionStatus: X2,
|
|
113657
113659
|
reportStatus: de2,
|
|
113658
|
-
reportData:
|
|
113660
|
+
reportData: v2,
|
|
113659
113661
|
searchHits: H2,
|
|
113660
113662
|
formatUrl: s2,
|
|
113661
113663
|
theme: n2
|
|
@@ -113740,21 +113742,21 @@ const ff = React.memo(
|
|
|
113740
113742
|
locale: h3,
|
|
113741
113743
|
assistantList: p3,
|
|
113742
113744
|
currentAssistant: m2
|
|
113743
|
-
},
|
|
113744
|
-
const { t: w2, i18n: A2 } = useTranslation(), g2 = hf(u4), [
|
|
113745
|
+
}, x2) {
|
|
113746
|
+
const { t: w2, i18n: A2 } = useTranslation(), g2 = hf(u4), [v2, y3] = React.useState({}), {
|
|
113745
113747
|
data: {
|
|
113746
|
-
query_intent:
|
|
113748
|
+
query_intent: E2,
|
|
113747
113749
|
tools: P3,
|
|
113748
113750
|
fetch_source: V2,
|
|
113749
113751
|
pick_source: S3,
|
|
113750
113752
|
deep_read: T2,
|
|
113751
|
-
think:
|
|
113752
|
-
response:
|
|
113753
|
+
think: M2,
|
|
113754
|
+
response: I2,
|
|
113753
113755
|
deepResearch: Q2
|
|
113754
113756
|
},
|
|
113755
113757
|
handlers: H2,
|
|
113756
113758
|
clearAllChunkData: ce2
|
|
113757
|
-
} =
|
|
113759
|
+
} = kl(), [X2, de2] = React.useState({
|
|
113758
113760
|
query_intent: false,
|
|
113759
113761
|
tools: false,
|
|
113760
113762
|
fetch_source: false,
|
|
@@ -113763,8 +113765,8 @@ const ff = React.memo(
|
|
|
113763
113765
|
think: false,
|
|
113764
113766
|
response: false,
|
|
113765
113767
|
deepResearch: false
|
|
113766
|
-
}),
|
|
113767
|
-
React.useImperativeHandle(
|
|
113768
|
+
}), ee2 = React.useRef(false);
|
|
113769
|
+
React.useImperativeHandle(x2, () => ({
|
|
113768
113770
|
addChunk: (R2) => {
|
|
113769
113771
|
if (de2(() => ({
|
|
113770
113772
|
query_intent: false,
|
|
@@ -113789,16 +113791,16 @@ const ff = React.memo(
|
|
|
113789
113791
|
else if (R2.chunk_type === "think")
|
|
113790
113792
|
H2.deal_think(R2);
|
|
113791
113793
|
else if (R2.chunk_type === "response") {
|
|
113792
|
-
const
|
|
113793
|
-
if (typeof
|
|
113794
|
-
if (
|
|
113795
|
-
|
|
113794
|
+
const je2 = R2.message_chunk;
|
|
113795
|
+
if (typeof je2 == "string") {
|
|
113796
|
+
if (je2.includes("<think>") || je2.includes("<think>")) {
|
|
113797
|
+
ee2.current = true;
|
|
113796
113798
|
return;
|
|
113797
|
-
} else if (
|
|
113798
|
-
|
|
113799
|
+
} else if (je2.includes("</think>") || je2.includes("</think>")) {
|
|
113800
|
+
ee2.current = false;
|
|
113799
113801
|
return;
|
|
113800
113802
|
}
|
|
113801
|
-
|
|
113803
|
+
ee2.current ? H2.deal_think({ ...R2, chunk_type: "think" }) : H2.deal_response(R2);
|
|
113802
113804
|
}
|
|
113803
113805
|
} else df.includes(R2.chunk_type || "") ? H2.deal_deep_research(R2) : R2.chunk_type;
|
|
113804
113806
|
},
|
|
@@ -113812,7 +113814,7 @@ const ff = React.memo(
|
|
|
113812
113814
|
think: false,
|
|
113813
113815
|
response: false,
|
|
113814
113816
|
deepResearch: false
|
|
113815
|
-
}),
|
|
113817
|
+
}), ee2.current = false;
|
|
113816
113818
|
}
|
|
113817
113819
|
}));
|
|
113818
113820
|
const B3 = t2?._source?.type === "assistant", L$12 = t2?._source?.assistant_id, U2 = t2?._source?.assistant_item;
|
|
@@ -113837,22 +113839,22 @@ const ff = React.memo(
|
|
|
113837
113839
|
p3,
|
|
113838
113840
|
m2
|
|
113839
113841
|
]);
|
|
113840
|
-
const z2 = t2?._source, re2 = z2?.message || "",
|
|
113841
|
-
|
|
113842
|
-
},
|
|
113842
|
+
const z2 = t2?._source, re2 = z2?.message || "", qe2 = z2?.payload, jt = z2?.attachments ?? [], Ee2 = z2?.details || [], at2 = z2?.question || "", lt = s2 === false && (re2 || I2?.message_chunk), [ct, Ke2] = React.useState([]), ut = (R2) => {
|
|
113843
|
+
Ke2(R2);
|
|
113844
|
+
}, Be2 = () => B3 ? /* @__PURE__ */ l2.jsxs(l2.Fragment, { children: [
|
|
113843
113845
|
/* @__PURE__ */ l2.jsx(
|
|
113844
113846
|
ll,
|
|
113845
113847
|
{
|
|
113846
|
-
Detail:
|
|
113847
|
-
ChunkData:
|
|
113848
|
-
getSuggestion:
|
|
113848
|
+
Detail: Ee2.find((R2) => R2.type === "query_intent"),
|
|
113849
|
+
ChunkData: E2,
|
|
113850
|
+
getSuggestion: ut,
|
|
113849
113851
|
loading: X2?.query_intent
|
|
113850
113852
|
}
|
|
113851
113853
|
),
|
|
113852
113854
|
/* @__PURE__ */ l2.jsx(
|
|
113853
113855
|
cl,
|
|
113854
113856
|
{
|
|
113855
|
-
Detail:
|
|
113857
|
+
Detail: Ee2.find((R2) => R2.type === "tools"),
|
|
113856
113858
|
ChunkData: P3,
|
|
113857
113859
|
loading: X2?.tools
|
|
113858
113860
|
}
|
|
@@ -113860,7 +113862,7 @@ const ff = React.memo(
|
|
|
113860
113862
|
/* @__PURE__ */ l2.jsx(
|
|
113861
113863
|
hl,
|
|
113862
113864
|
{
|
|
113863
|
-
Detail:
|
|
113865
|
+
Detail: Ee2.find((R2) => R2.type === "fetch_source"),
|
|
113864
113866
|
ChunkData: V2,
|
|
113865
113867
|
loading: X2?.fetch_source,
|
|
113866
113868
|
formatUrl: d2
|
|
@@ -113869,7 +113871,7 @@ const ff = React.memo(
|
|
|
113869
113871
|
/* @__PURE__ */ l2.jsx(
|
|
113870
113872
|
pl,
|
|
113871
113873
|
{
|
|
113872
|
-
Detail:
|
|
113874
|
+
Detail: Ee2.find((R2) => R2.type === "pick_source"),
|
|
113873
113875
|
ChunkData: S3,
|
|
113874
113876
|
loading: X2?.pick_source
|
|
113875
113877
|
}
|
|
@@ -113877,7 +113879,7 @@ const ff = React.memo(
|
|
|
113877
113879
|
/* @__PURE__ */ l2.jsx(
|
|
113878
113880
|
gl,
|
|
113879
113881
|
{
|
|
113880
|
-
Detail:
|
|
113882
|
+
Detail: Ee2.find((R2) => R2.type === "deep_read"),
|
|
113881
113883
|
ChunkData: T2,
|
|
113882
113884
|
loading: X2?.deep_read
|
|
113883
113885
|
}
|
|
@@ -113885,50 +113887,50 @@ const ff = React.memo(
|
|
|
113885
113887
|
/* @__PURE__ */ l2.jsx(
|
|
113886
113888
|
yl,
|
|
113887
113889
|
{
|
|
113888
|
-
Detail:
|
|
113889
|
-
ChunkData:
|
|
113890
|
+
Detail: Ee2.find((R2) => R2.type === "think"),
|
|
113891
|
+
ChunkData: M2,
|
|
113890
113892
|
loading: X2?.think
|
|
113891
113893
|
}
|
|
113892
113894
|
),
|
|
113893
113895
|
/* @__PURE__ */ l2.jsx("div", { className: "cm-markdown", children: /* @__PURE__ */ l2.jsx(
|
|
113894
113896
|
L,
|
|
113895
113897
|
{
|
|
113896
|
-
content: re2 ||
|
|
113898
|
+
content: re2 || I2?.message_chunk || ""
|
|
113897
113899
|
}
|
|
113898
113900
|
) }),
|
|
113899
|
-
/* @__PURE__ */ l2.jsx(uf, { payload:
|
|
113901
|
+
/* @__PURE__ */ l2.jsx(uf, { payload: qe2, formatUrl: d2 }),
|
|
113900
113902
|
/* @__PURE__ */ l2.jsx(
|
|
113901
113903
|
cf,
|
|
113902
113904
|
{
|
|
113903
113905
|
ChunkData: Q2,
|
|
113904
|
-
question:
|
|
113906
|
+
question: at2,
|
|
113905
113907
|
formatUrl: d2,
|
|
113906
113908
|
theme: g2
|
|
113907
113909
|
}
|
|
113908
113910
|
),
|
|
113909
113911
|
s2 && /* @__PURE__ */ l2.jsx("div", { className: "inline-block w-1.5 h-5 ml-0.5 -mb-0.5 bg-[#666666] dark:bg-[#A3A3A3] rounded-sm animate-typing" }),
|
|
113910
|
-
|
|
113912
|
+
lt && /* @__PURE__ */ l2.jsx(
|
|
113911
113913
|
vl,
|
|
113912
113914
|
{
|
|
113913
113915
|
id: t2._id ?? "",
|
|
113914
|
-
content: re2 ||
|
|
113915
|
-
question:
|
|
113916
|
+
content: re2 || I2?.message_chunk || "",
|
|
113917
|
+
question: at2,
|
|
113916
113918
|
actionClassName: o2,
|
|
113917
113919
|
actionIconSize: a2,
|
|
113918
113920
|
copyButtonId: c2,
|
|
113919
113921
|
onResend: () => {
|
|
113920
|
-
n2 && n2(
|
|
113922
|
+
n2 && n2(at2);
|
|
113921
113923
|
}
|
|
113922
113924
|
}
|
|
113923
113925
|
),
|
|
113924
113926
|
!s2 && /* @__PURE__ */ l2.jsx(
|
|
113925
113927
|
bl,
|
|
113926
113928
|
{
|
|
113927
|
-
suggestions:
|
|
113929
|
+
suggestions: ct,
|
|
113928
113930
|
onSelect: (R2) => n2 && n2(R2)
|
|
113929
113931
|
}
|
|
113930
113932
|
)
|
|
113931
|
-
] }) : /* @__PURE__ */ l2.jsx(Al, { message: re2, attachments:
|
|
113933
|
+
] }) : /* @__PURE__ */ l2.jsx(Al, { message: re2, attachments: jt });
|
|
113932
113934
|
return /* @__PURE__ */ l2.jsx(
|
|
113933
113935
|
"div",
|
|
113934
113936
|
{
|
|
@@ -113947,11 +113949,11 @@ const ff = React.memo(
|
|
|
113947
113949
|
{
|
|
113948
113950
|
className: `w-full space-y-2 ${B3 ? "text-left" : "text-right"}`,
|
|
113949
113951
|
children: [
|
|
113950
|
-
!r2 && /* @__PURE__ */ l2.jsxs("div", { className: "w-full flex items-center gap-1 font-semibold text-sm text-[#333] dark:text-white", children: [
|
|
113951
|
-
B3 ? /* @__PURE__ */ l2.jsx("div", { className: "w-6 h-6 flex justify-center items-center rounded-full bg-white dark:bg-[#2A2A2A] border border-[#E6E6E6] dark:border-[#3A3A3A]", children:
|
|
113952
|
-
|
|
113952
|
+
!r2 && (Be2() || I2 || M2) && /* @__PURE__ */ l2.jsxs("div", { className: "w-full flex items-center gap-1 font-semibold text-sm text-[#333] dark:text-white", children: [
|
|
113953
|
+
B3 ? /* @__PURE__ */ l2.jsx("div", { className: "w-6 h-6 flex justify-center items-center rounded-full bg-white dark:bg-[#2A2A2A] border border-[#E6E6E6] dark:border-[#3A3A3A]", children: v2?._source?.icon?.startsWith("font_") ? /* @__PURE__ */ l2.jsx(
|
|
113954
|
+
Cl,
|
|
113953
113955
|
{
|
|
113954
|
-
name:
|
|
113956
|
+
name: v2._source.icon,
|
|
113955
113957
|
className: "w-4 h-4"
|
|
113956
113958
|
}
|
|
113957
113959
|
) : /* @__PURE__ */ l2.jsx(
|
|
@@ -113962,9 +113964,18 @@ const ff = React.memo(
|
|
|
113962
113964
|
alt: w2("assistant.message.logo")
|
|
113963
113965
|
}
|
|
113964
113966
|
) }) : null,
|
|
113965
|
-
B3 ?
|
|
113967
|
+
B3 ? v2?._source?.name || "Coco AI" : ""
|
|
113966
113968
|
] }),
|
|
113967
|
-
/* @__PURE__ */ l2.jsx("div", { className: "w-full prose dark:prose-invert prose-sm max-w-none", children: /* @__PURE__ */ l2.jsx(
|
|
113969
|
+
/* @__PURE__ */ l2.jsx("div", { className: "w-full prose dark:prose-invert prose-sm max-w-none", children: /* @__PURE__ */ l2.jsx(
|
|
113970
|
+
"div",
|
|
113971
|
+
{
|
|
113972
|
+
className: clsx(
|
|
113973
|
+
"w-full text-[#333] dark:text-white leading-relaxed",
|
|
113974
|
+
B3 && "pl-7"
|
|
113975
|
+
),
|
|
113976
|
+
children: Be2()
|
|
113977
|
+
}
|
|
113978
|
+
) })
|
|
113968
113979
|
]
|
|
113969
113980
|
}
|
|
113970
113981
|
)
|
|
@@ -115002,9 +115013,6 @@ const ActiveChatMessage = ({
|
|
|
115002
115013
|
currentAssistant
|
|
115003
115014
|
}) => {
|
|
115004
115015
|
const allMessages = activeChat?.messages || [];
|
|
115005
|
-
if (curChatEnd) {
|
|
115006
|
-
return null;
|
|
115007
|
-
}
|
|
115008
115016
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
115009
115017
|
Tf,
|
|
115010
115018
|
{
|
|
@@ -115249,6 +115257,7 @@ const InnerChatAI = React.memo(
|
|
|
115249
115257
|
messages: [...baseChat.messages || [], messageItem]
|
|
115250
115258
|
};
|
|
115251
115259
|
}
|
|
115260
|
+
console.log("setActiveChat3", nextChat);
|
|
115252
115261
|
setActiveChat(nextChat);
|
|
115253
115262
|
}
|
|
115254
115263
|
const chunkData = JSON.parse(msg);
|
|
@@ -115267,14 +115276,11 @@ const InnerChatAI = React.memo(
|
|
|
115267
115276
|
},
|
|
115268
115277
|
[activeChat, setActiveChat, setCurChatEnd]
|
|
115269
115278
|
);
|
|
115270
|
-
const prepareChatSession = React.useCallback(
|
|
115271
|
-
|
|
115272
|
-
|
|
115273
|
-
|
|
115274
|
-
|
|
115275
|
-
},
|
|
115276
|
-
[]
|
|
115277
|
-
);
|
|
115279
|
+
const prepareChatSession = React.useCallback(async (value) => {
|
|
115280
|
+
activeMessageRef.current?.reset();
|
|
115281
|
+
setTimedoutShow(false);
|
|
115282
|
+
setQuestion(value);
|
|
115283
|
+
}, []);
|
|
115278
115284
|
const fetchHistory = React.useCallback(
|
|
115279
115285
|
async (chatId) => {
|
|
115280
115286
|
try {
|
|
@@ -115286,6 +115292,10 @@ const InnerChatAI = React.memo(
|
|
|
115286
115292
|
const hits = res?.hits?.hits ?? [];
|
|
115287
115293
|
const currentActive = useChatStore.getState().activeChat;
|
|
115288
115294
|
if (currentActive?._id === chatId) {
|
|
115295
|
+
console.log("setActiveChat4", {
|
|
115296
|
+
...currentActive,
|
|
115297
|
+
messages: hits
|
|
115298
|
+
});
|
|
115289
115299
|
setActiveChat({
|
|
115290
115300
|
...currentActive,
|
|
115291
115301
|
messages: hits
|
|
@@ -115350,7 +115360,14 @@ const InnerChatAI = React.memo(
|
|
|
115350
115360
|
onMessage: handleStreamMessage
|
|
115351
115361
|
});
|
|
115352
115362
|
},
|
|
115353
|
-
[
|
|
115363
|
+
[
|
|
115364
|
+
prepareChatSession,
|
|
115365
|
+
fetchHistory,
|
|
115366
|
+
currentAssistant?._source?.deep_research_enabled,
|
|
115367
|
+
currentAssistant?._source?.deep_think_enabled,
|
|
115368
|
+
currentAssistant?._id,
|
|
115369
|
+
handleStreamMessage
|
|
115370
|
+
]
|
|
115354
115371
|
);
|
|
115355
115372
|
const handleSendMessage = React.useCallback(
|
|
115356
115373
|
async (chat, params) => {
|
|
@@ -115376,23 +115393,36 @@ const InnerChatAI = React.memo(
|
|
|
115376
115393
|
}
|
|
115377
115394
|
setCurChatEnd(true);
|
|
115378
115395
|
}, [activeChat, setCurChatEnd]);
|
|
115379
|
-
const clearChat = React.useCallback(() => {
|
|
115380
|
-
setTimedoutShow(false);
|
|
115381
|
-
setActiveChat(void 0);
|
|
115382
|
-
setCurChatEnd(true);
|
|
115383
|
-
}, [setActiveChat, setCurChatEnd]);
|
|
115384
115396
|
const onSelectChat = React.useCallback(
|
|
115385
115397
|
async (chat) => {
|
|
115386
|
-
|
|
115398
|
+
activeMessageRef.current?.reset();
|
|
115387
115399
|
setCurChatEnd(true);
|
|
115388
115400
|
setTimedoutShow(false);
|
|
115389
|
-
|
|
115390
|
-
|
|
115391
|
-
|
|
115401
|
+
console.log("setActiveChat5", chat);
|
|
115402
|
+
setActiveChat(chat);
|
|
115403
|
+
if (chat?._id) {
|
|
115404
|
+
await fetchHistory(chat?._id);
|
|
115392
115405
|
}
|
|
115393
115406
|
},
|
|
115394
115407
|
[setActiveChat, setCurChatEnd, fetchHistory]
|
|
115395
115408
|
);
|
|
115409
|
+
const clearChat = React.useCallback(() => {
|
|
115410
|
+
onSelectChat(void 0);
|
|
115411
|
+
}, [onSelectChat]);
|
|
115412
|
+
const lastActiveChatIdRef = React.useRef(void 0);
|
|
115413
|
+
React.useEffect(() => {
|
|
115414
|
+
console.log(555555, activeChat?._id, lastActiveChatIdRef.current);
|
|
115415
|
+
if (activeChat?._id && activeChat._id !== lastActiveChatIdRef.current) {
|
|
115416
|
+
lastActiveChatIdRef.current = activeChat._id;
|
|
115417
|
+
setTimeout(() => {
|
|
115418
|
+
onSelectChat(activeChat);
|
|
115419
|
+
}, 0);
|
|
115420
|
+
}
|
|
115421
|
+
}, [activeChat, onSelectChat]);
|
|
115422
|
+
const getFileUrl = React.useCallback(
|
|
115423
|
+
(path) => `${baseUrl?.replace(/\/$/, "")}/files/${encodeURIComponent(path)}`,
|
|
115424
|
+
[baseUrl]
|
|
115425
|
+
);
|
|
115396
115426
|
React.useImperativeHandle(ref2, () => ({
|
|
115397
115427
|
init: (params) => {
|
|
115398
115428
|
if (!activeChat?._id) {
|
|
@@ -115407,10 +115437,6 @@ const InnerChatAI = React.memo(
|
|
|
115407
115437
|
clearChat,
|
|
115408
115438
|
onSelectChat
|
|
115409
115439
|
}));
|
|
115410
|
-
const getFileUrl = React.useCallback(
|
|
115411
|
-
(path) => `${baseUrl?.replace(/\/$/, "")}/files/${encodeURIComponent(path)}`,
|
|
115412
|
-
[baseUrl]
|
|
115413
|
-
);
|
|
115414
115440
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-col rounded-md h-full overflow-hidden relative", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
115415
115441
|
ChatContent,
|
|
115416
115442
|
{
|
|
@@ -116107,13 +116133,18 @@ const HistoryList = (props) => {
|
|
|
116107
116133
|
}
|
|
116108
116134
|
);
|
|
116109
116135
|
};
|
|
116110
|
-
function InnerHistory({
|
|
116136
|
+
function InnerHistory({
|
|
116137
|
+
BaseUrl,
|
|
116138
|
+
Token: Token2,
|
|
116139
|
+
locale = "en",
|
|
116140
|
+
t: tProp
|
|
116141
|
+
}) {
|
|
116111
116142
|
const { t: tOriginal } = useTranslation();
|
|
116112
116143
|
const t2 = tProp || tOriginal;
|
|
116113
116144
|
const chats = useChatStore((state2) => state2.chats);
|
|
116114
116145
|
const setChats = useChatStore((state2) => state2.setChats);
|
|
116115
|
-
const
|
|
116116
|
-
const
|
|
116146
|
+
const activeChat = useChatStore((state2) => state2.activeChat);
|
|
116147
|
+
const setActiveChat = useChatStore((state2) => state2.setActiveChat);
|
|
116117
116148
|
const [messageApi, contextHolder] = antd.message.useMessage();
|
|
116118
116149
|
const [keyword, setKeyword] = React.useState("");
|
|
116119
116150
|
const [renamingId, setRenamingId] = React.useState("");
|
|
@@ -116147,23 +116178,22 @@ function InnerHistory({ BaseUrl, Token: Token2, locale = "en", t: tProp }) {
|
|
|
116147
116178
|
const hits = res?.hits?.hits || [];
|
|
116148
116179
|
setChats(hits);
|
|
116149
116180
|
if (hits.length > 0) {
|
|
116150
|
-
|
|
116151
|
-
|
|
116152
|
-
setActive(hits[0]);
|
|
116153
|
-
}
|
|
116181
|
+
console.log("setActiveChat1", hits[0]);
|
|
116182
|
+
setActiveChat(hits[0]);
|
|
116154
116183
|
}
|
|
116155
116184
|
} catch (e2) {
|
|
116156
116185
|
console.error(e2);
|
|
116157
116186
|
}
|
|
116158
|
-
}, [keyword, setChats,
|
|
116187
|
+
}, [keyword, setChats, setActiveChat]);
|
|
116159
116188
|
React.useEffect(() => {
|
|
116160
116189
|
fetchChatHistory();
|
|
116161
116190
|
}, [fetchChatHistory]);
|
|
116162
116191
|
const onSelect = React.useCallback(
|
|
116163
116192
|
async (chat) => {
|
|
116164
|
-
|
|
116193
|
+
console.log("setActiveChat2", chat);
|
|
116194
|
+
setActiveChat(chat);
|
|
116165
116195
|
},
|
|
116166
|
-
[
|
|
116196
|
+
[setActiveChat]
|
|
116167
116197
|
);
|
|
116168
116198
|
const onRename = React.useCallback(
|
|
116169
116199
|
async (chatId, title) => {
|
|
@@ -116223,7 +116253,7 @@ function InnerHistory({ BaseUrl, Token: Token2, locale = "en", t: tProp }) {
|
|
|
116223
116253
|
{
|
|
116224
116254
|
historyPanelId: "history-panel",
|
|
116225
116255
|
chats,
|
|
116226
|
-
active,
|
|
116256
|
+
active: activeChat,
|
|
116227
116257
|
onSearch: setKeyword,
|
|
116228
116258
|
onRefresh: fetchChatHistory,
|
|
116229
116259
|
onSelect,
|