@axiom-lattice/gateway 10.1.1 → 10.2.0
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/{a2a-standard-NOAVPYXJ.mjs → a2a-standard-OANCQYQ2.mjs} +8 -4
- package/dist/a2a-standard-OANCQYQ2.mjs.map +1 -0
- package/dist/{chunk-A7YNAU5L.mjs → chunk-4XWI7U3L.mjs} +106 -1
- package/dist/chunk-4XWI7U3L.mjs.map +1 -0
- package/dist/{chunk-PHWGCRW2.mjs → chunk-67CDUQM3.mjs} +16 -2
- package/dist/chunk-67CDUQM3.mjs.map +1 -0
- package/dist/embed/{embed-page-AgentDetailSideApp-HNSIMIXX.js → embed-page-AgentDetailSideApp-WAATX6D3.js} +1 -1
- package/dist/embed/{embed-page-AgentGovernanceWorkbench-QBEH3KYW.js → embed-page-AgentGovernanceWorkbench-MOIYXL5S.js} +1 -1
- package/dist/embed/{embed-page-LangfuseDashboard-QHWHMJVB.js → embed-page-LangfuseDashboard-7ZWWE45Q.js} +1 -1
- package/dist/embed/{embed-page-MessageGraph-GXEC7IPB.js → embed-page-MessageGraph-JG554SNZ.js} +1 -1
- package/dist/embed/{embed-page-ReactChart-LW6COMT3.js → embed-page-ReactChart-WHOMS6I6.js} +1 -1
- package/dist/embed/{embed-page-ReactInfographic-677NVKOU.js → embed-page-ReactInfographic-5P36JLSX.js} +1 -1
- package/dist/embed/{embed-page-SkillFlow-ULY3XZ3A.js → embed-page-SkillFlow-RP54B2A5.js} +1 -1
- package/dist/embed/{embed-page-TasksSideApp-Q76BWXUV.js → embed-page-TasksSideApp-6TCN3T73.js} +1 -1
- package/dist/embed/{embed-page-ThreadMaintenancePanel-N5IFOOFT.js → embed-page-ThreadMaintenancePanel-WNWYNASM.js} +1 -1
- package/dist/embed/{embed-page-TopologyRuntimeView-POBS44XX.js → embed-page-TopologyRuntimeView-UMC4XOUL.js} +1 -1
- package/dist/embed/{embed-page-WorkflowAutomationView-UH633BXC.js → embed-page-WorkflowAutomationView-PUOPYYGB.js} +1 -1
- package/dist/embed/embed-page-all-NEJVJ4G7.js +1 -0
- package/dist/embed/{embed-page-architectureDiagram-VXUJARFQ-TYJ3NO2K.js → embed-page-architectureDiagram-VXUJARFQ-THUN2PFL.js} +1 -1
- package/dist/embed/embed-page-aspnet-SRK67AH2.js +1 -0
- package/dist/embed/{embed-page-blockDiagram-VD42YOAC-L4J3TZWR.js → embed-page-blockDiagram-VD42YOAC-K7OX6LIO.js} +1 -1
- package/dist/embed/{embed-page-c4Diagram-YG6GDRKO-CP2IXU3Z.js → embed-page-c4Diagram-YG6GDRKO-DJDAF5AO.js} +1 -1
- package/dist/embed/embed-page-chunk-4GCFDWE7.js +6997 -0
- package/dist/embed/{embed-page-chunk-3FNSGFP2.js → embed-page-chunk-5EENS2J7.js} +16 -16
- package/dist/embed/{embed-page-chunk-3XPHW2C7.js → embed-page-chunk-5O5IKZOC.js} +1 -1
- package/dist/embed/{embed-page-chunk-DQJVWZOB.js → embed-page-chunk-A2AHDN6K.js} +1 -1
- package/dist/embed/embed-page-chunk-AFYXBC77.js +217 -0
- package/dist/embed/{embed-page-chunk-F5QVZLK5.js → embed-page-chunk-DTRFJLVZ.js} +1 -1
- package/dist/embed/embed-page-chunk-ESQ5V77Q.js +1 -0
- package/dist/embed/{embed-page-chunk-2VJ7T35I.js → embed-page-chunk-FD2PRLMW.js} +1 -1
- package/dist/embed/{embed-page-chunk-KXVXKWED.js → embed-page-chunk-G2RO6IBN.js} +1 -1
- package/dist/embed/{embed-page-chunk-KKNZYZVB.js → embed-page-chunk-G6UTU7IC.js} +1 -1
- package/dist/embed/{embed-page-chunk-7GLQRV3J.js → embed-page-chunk-J5AHS4PO.js} +1 -1
- package/dist/embed/{embed-page-chunk-5WWOKLDB.js → embed-page-chunk-JUZPOR5Y.js} +1 -1
- package/dist/embed/{embed-page-chunk-62CAXPZK.js → embed-page-chunk-ML6AVDQQ.js} +1 -1
- package/dist/embed/{embed-page-chunk-YBP3MD23.js → embed-page-chunk-OBN4XHZP.js} +1 -1
- package/dist/embed/{embed-page-chunk-NVFNRWRN.js → embed-page-chunk-PLNJRORR.js} +1 -1
- package/dist/embed/{embed-page-chunk-AJV2ISVF.js → embed-page-chunk-QRFTGCB2.js} +1 -1
- package/dist/embed/{embed-page-chunk-NR4M6XSO.js → embed-page-chunk-RU45VIPM.js} +1 -1
- package/dist/embed/{embed-page-chunk-AEDAOTEO.js → embed-page-chunk-SQ4GANYE.js} +1 -1
- package/dist/embed/embed-page-chunk-TZPX2O54.js +7 -0
- package/dist/embed/{embed-page-chunk-YJUCDIYK.js → embed-page-chunk-V7R2Y72J.js} +1 -1
- package/dist/embed/{embed-page-chunk-XSKDYUNQ.js → embed-page-chunk-VY6MAPHR.js} +1 -1
- package/dist/embed/{embed-page-chunk-WK77HIEN.js → embed-page-chunk-WFUFTRWA.js} +1 -1
- package/dist/embed/{embed-page-chunk-7CJDHJEH.js → embed-page-chunk-XKGF5D6L.js} +1 -1
- package/dist/embed/{embed-page-chunk-WWXRO4ZL.js → embed-page-chunk-XSKNS3LY.js} +1 -1
- package/dist/embed/{embed-page-chunk-NGO5C5RH.js → embed-page-chunk-ZVTX7OVB.js} +1 -1
- package/dist/embed/embed-page-classDiagram-2ON5EDUG-VYHHMIKZ.js +1 -0
- package/dist/embed/embed-page-classDiagram-v2-WZHVMYZB-5AISLXUF.js +1 -0
- package/dist/embed/{embed-page-code-highlighter-4XNLEZAM.js → embed-page-code-highlighter-ZZBZ7CEQ.js} +1 -1
- package/dist/embed/embed-page-cshtml-ZY7LJSTH.js +1 -0
- package/dist/embed/{embed-page-dagre-6UL2VRFP-LTZ2DVVO.js → embed-page-dagre-6UL2VRFP-UQFZMKYW.js} +1 -1
- package/dist/embed/{embed-page-diagram-PSM6KHXK-JHYXSMCB.js → embed-page-diagram-PSM6KHXK-4IKXWNA4.js} +1 -1
- package/dist/embed/{embed-page-diagram-QEK2KX5R-2YGDFFTU.js → embed-page-diagram-QEK2KX5R-245T32UF.js} +1 -1
- package/dist/embed/{embed-page-diagram-S2PKOQOG-6EW6MDJW.js → embed-page-diagram-S2PKOQOG-BOA5MJA5.js} +1 -1
- package/dist/embed/embed-page-en-5E2A4Q7G.js +1 -0
- package/dist/embed/embed-page-en-AEJHFSAV.js +1 -0
- package/dist/embed/{embed-page-en-3Z4N5KXB.js → embed-page-en-QULE3S6E.js} +1 -1
- package/dist/embed/{embed-page-erDiagram-Q2GNP2WA-KSUS6MHW.js → embed-page-erDiagram-Q2GNP2WA-S4J4SQPR.js} +1 -1
- package/dist/embed/{embed-page-flowDiagram-NV44I4VS-AYXRDKAJ.js → embed-page-flowDiagram-NV44I4VS-ZFIJXKMW.js} +1 -1
- package/dist/embed/{embed-page-ganttDiagram-JELNMOA3-AV7N2N3T.js → embed-page-ganttDiagram-JELNMOA3-7MSIEWL4.js} +1 -1
- package/dist/embed/{embed-page-gitGraphDiagram-NY62KEGX-IBVOXVO5.js → embed-page-gitGraphDiagram-NY62KEGX-F6KE6PZK.js} +1 -1
- package/dist/embed/embed-page-infoDiagram-WHAUD3N6-FQMKXERB.js +2 -0
- package/dist/embed/{embed-page-journeyDiagram-XKPGCS4Q-3GILI7Y4.js → embed-page-journeyDiagram-XKPGCS4Q-6VTW6GQ3.js} +1 -1
- package/dist/embed/{embed-page-kanban-definition-3W4ZIXB7-UGO3J7IH.js → embed-page-kanban-definition-3W4ZIXB7-7IZYCLQZ.js} +1 -1
- package/dist/embed/{embed-page-mermaid-QZJOSGTZ.js → embed-page-mermaid-O5AJMXHC.js} +2 -2
- package/dist/embed/{embed-page-mindmap-definition-VGOIOE7T-VXXZJS3Z.js → embed-page-mindmap-definition-VGOIOE7T-GKTOT34A.js} +1 -1
- package/dist/embed/{embed-page-pieDiagram-ADFJNKIX-ZFAWYA2N.js → embed-page-pieDiagram-ADFJNKIX-VDPALO42.js} +1 -1
- package/dist/embed/{embed-page-requirementDiagram-UZGBJVZJ-2QBINXR7.js → embed-page-requirementDiagram-UZGBJVZJ-LTZH6RTD.js} +1 -1
- package/dist/embed/{embed-page-sequenceDiagram-WL72ISMW-3MGTESG4.js → embed-page-sequenceDiagram-WL72ISMW-LV6Q4SHW.js} +1 -1
- package/dist/embed/{embed-page-stateDiagram-FKZM4ZOC-W6VPIMB5.js → embed-page-stateDiagram-FKZM4ZOC-U4NHQDNP.js} +1 -1
- package/dist/embed/embed-page-stateDiagram-v2-4FDKWEC3-G3EWQCOW.js +1 -0
- package/dist/embed/{embed-page-tsx-LGDDERM2.js → embed-page-tsx-PNW7N5T4.js} +1 -1
- package/dist/embed/{embed-page-xychartDiagram-PRI3JC2R-7XKT4R7V.js → embed-page-xychartDiagram-PRI3JC2R-VZSIXBFK.js} +1 -1
- package/dist/embed/embed-page-zh-EZHTNARQ.js +1 -0
- package/dist/embed/embed-page-zh-TOINMHLQ.js +1 -0
- package/dist/embed/{embed-page-zh-GXE63PQ7.js → embed-page-zh-WT752BVZ.js} +1 -1
- package/dist/embed/embed-page.js +1 -1
- package/dist/embed/mcp-app-page.js +32 -32
- package/dist/index.d.mts +145 -1
- package/dist/index.d.ts +145 -1
- package/dist/index.js +8149 -1473
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7075 -489
- package/dist/index.mjs.map +1 -1
- package/dist/{mcp-app-shares-SHPBJQXS.mjs → mcp-app-shares-VN6G3LNW.mjs} +2 -2
- package/package.json +11 -7
- package/dist/a2a-standard-NOAVPYXJ.mjs.map +0 -1
- package/dist/chunk-A7YNAU5L.mjs.map +0 -1
- package/dist/chunk-PHWGCRW2.mjs.map +0 -1
- package/dist/embed/embed-page-all-JEPF6WHD.js +0 -1
- package/dist/embed/embed-page-aspnet-GIV4ESY6.js +0 -1
- package/dist/embed/embed-page-chunk-54M4265G.js +0 -211
- package/dist/embed/embed-page-chunk-5QZRLAW2.js +0 -7
- package/dist/embed/embed-page-chunk-KWZEITYQ.js +0 -6986
- package/dist/embed/embed-page-chunk-ZQQFWEWO.js +0 -1
- package/dist/embed/embed-page-classDiagram-2ON5EDUG-MHNSVPAN.js +0 -1
- package/dist/embed/embed-page-classDiagram-v2-WZHVMYZB-QCMEVMYH.js +0 -1
- package/dist/embed/embed-page-cshtml-RYMZMLKB.js +0 -1
- package/dist/embed/embed-page-en-2S7Q4NKN.js +0 -1
- package/dist/embed/embed-page-infoDiagram-WHAUD3N6-ZULKOSOZ.js +0 -2
- package/dist/embed/embed-page-stateDiagram-v2-4FDKWEC3-QYJ47QBY.js +0 -1
- package/dist/embed/embed-page-zh-GX6IEO57.js +0 -1
- /package/dist/embed/{embed-page-chunk-UH47IEAR.js → embed-page-chunk-34FVRFPW.js} +0 -0
- /package/dist/{mcp-app-shares-SHPBJQXS.mjs.map → mcp-app-shares-VN6G3LNW.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as P,o as V}from"./embed-page-chunk-
|
|
1
|
+
import{c as P,o as V}from"./embed-page-chunk-TZPX2O54.js";import{l as _}from"./embed-page-chunk-5EENS2J7.js";import{a as j}from"./embed-page-chunk-QV7QAJ4N.js";import{Ja as G}from"./embed-page-chunk-L7GPZSYD.js";import{Da as y,Ia as C,Ma as U,_ as R,_a as O,aa as M,bb as L,za as q}from"./embed-page-chunk-BUFWD6SE.js";import{a as D}from"./embed-page-chunk-R5QL57JJ.js";import{f as w}from"./embed-page-chunk-QBTAJ2YI.js";var d=w(D());function W(f){let k=V("__GLOBAL__"),[b,a]=(0,d.useState)(!1),[x,m]=(0,d.useState)(null),S=(0,d.useCallback)(()=>{f?.onUnauthorized?f.onUnauthorized():window.dispatchEvent(new CustomEvent("lattice:unauthorized"))},[f?.onUnauthorized]),s=(0,d.useCallback)(async(i,l,n,u)=>{a(!0),m(null);try{return await k.request(l,{method:i,body:n,headers:u?.headers})}catch(v){throw v instanceof P&&S(),m(v),v}finally{a(!1)}},[k,S]),z=(0,d.useCallback)((i,l)=>s("GET",i,void 0,l),[s]),I=(0,d.useCallback)((i,l,n)=>s("POST",i,l,n),[s]),r=(0,d.useCallback)((i,l,n)=>s("PUT",i,l,n),[s]),t=(0,d.useCallback)((i,l)=>s("DELETE",i,void 0,l),[s]);return{get:z,post:I,put:r,del:t,isLoading:b,error:x}}var T=w(D());var e=w(j()),{TextArea:$}=C,{Text:h}=L,J=({open:f,onCancel:k,onSuccess:b,skill:a})=>{let{message:x}=M.useApp(),[m]=y.useForm(),[S,s]=(0,T.useState)(!1),{post:z,put:I}=W(),{token:r}=O.useToken(),t=_(),i=!!a,l=[{key:"category",value:"global"}],[n,u]=(0,T.useState)(l);(0,T.useEffect)(()=>{f&&a?(m.setFieldsValue({name:a.name,description:a.description,license:a.license||"",compatibility:a.compatibility||"",content:a.content||""}),a.metadata?u(Object.entries(a.metadata).map(([o,c])=>({key:o,value:c}))):u(l)):f&&!a&&(m.resetFields(),u(l))},[f,a]);let v=async()=>{try{let o=await m.validateFields();s(!0);let c=n.length>0?n.reduce((B,F)=>(F.key&&(B[F.key]=F.value),B),{}):void 0,p={id:o.name,name:o.name,description:o.description,license:o.license||void 0,compatibility:o.compatibility||void 0,metadata:c,content:o.content||void 0,subSkills:void 0},g;i?g=await I(`/api/skills/${a.id}`,p):g=await z("/api/skills",p),g.success?(x.success(t(i?"chatConfig.skill.updated":"chatConfig.skill.created")),m.resetFields(),u(l),b?.(),k()):x.error(g.message||t(i?"chatConfig.skill.updateFailed":"chatConfig.skill.createFailed"))}catch(o){if(o.errorFields)return;x.error(o.message||t(i?"chatConfig.skill.updateError":"chatConfig.skill.createError"))}finally{s(!1)}},A=()=>{m.resetFields(),u(l),k()},E=(o,c,p)=>{let g=[...n];g[o]={...g[o],[c]:p},u(g)},H=()=>{u([...n,{key:"",value:""}])};return(0,e.jsx)(U,{title:t(i?"chatConfig.skill.edit.title":"chatConfig.skill.create.title"),open:f,onCancel:A,footer:null,width:520,destroyOnClose:!0,styles:{body:{padding:16}},children:(0,e.jsx)(y,{form:m,layout:"vertical",onFinish:v,autoComplete:"off",children:(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.name")}),(0,e.jsx)(y.Item,{name:"name",rules:[{required:!0,message:t("chatConfig.skill.validation.nameRequired")},{pattern:/^[a-z0-9]+(-[a-z0-9]+)*$/,message:t("chatConfig.skill.validation.namePattern")},{min:1,max:64,message:t("chatConfig.skill.validation.nameLength")}],style:{marginBottom:0},children:(0,e.jsx)(C,{placeholder:"e.g., data-analysis",disabled:i})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.description")}),(0,e.jsx)(y.Item,{name:"description",rules:[{required:!0,message:t("chatConfig.skill.validation.descriptionRequired")}],style:{marginBottom:0},children:(0,e.jsx)($,{placeholder:t("chatConfig.skill.placeholder.description"),autoSize:{minRows:2,maxRows:4}})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.license")}),(0,e.jsx)(y.Item,{name:"license",style:{marginBottom:0},children:(0,e.jsx)(C,{placeholder:t("chatConfig.skill.placeholder.license")})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.compatibility")}),(0,e.jsx)(y.Item,{name:"compatibility",style:{marginBottom:0},children:(0,e.jsx)(C,{placeholder:t("chatConfig.skill.placeholder.compatibility")})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary,fontWeight:500},children:t("chatConfig.skill.field.metadata")}),(0,e.jsx)(R,{size:"small",icon:(0,e.jsx)(G,{}),onClick:H,children:t("chatConfig.skill.metadata.add")})]}),(0,e.jsxs)(q,{direction:"vertical",size:8,style:{width:"100%"},children:[n.length===0&&(0,e.jsx)(h,{style:{fontSize:11,color:r.colorTextTertiary},children:t("chatConfig.skill.metadata.empty")}),n.map((o,c)=>(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4,width:"100%"},children:[(0,e.jsx)(h,{style:{fontSize:11,color:r.colorTextSecondary},children:t("chatConfig.skill.metadata.row",{index:c+1})}),(0,e.jsxs)(q,{style:{width:"100%"},size:8,wrap:!0,children:[(0,e.jsx)(C,{value:o.key,placeholder:t("chatConfig.keyValue.key"),style:{width:140},onChange:p=>E(c,"key",p.target.value)}),(0,e.jsx)(C,{value:o.value,placeholder:t("chatConfig.keyValue.value"),style:{flex:1,minWidth:200},onChange:p=>E(c,"value",p.target.value)})]})]},c))]})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.content")}),(0,e.jsx)(y.Item,{name:"content",style:{marginBottom:0},children:(0,e.jsx)($,{placeholder:t("chatConfig.skill.placeholder.content"),autoSize:{minRows:4,maxRows:8}})})]}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:8,marginTop:8},children:[(0,e.jsx)(R,{onClick:A,children:t("common.cancel")}),(0,e.jsx)(R,{type:"primary",htmlType:"submit",loading:S,children:t(i?"chatConfig.skill.action.save":"chatConfig.skill.action.create")})]})]})})})},oe=J;export{W as a,oe as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Vt}from"./embed-page-chunk-QFMGN2VD.js";import{a as Mt}from"./embed-page-chunk-OGGV5DFT.js";import{b as Bt}from"./embed-page-chunk-
|
|
1
|
+
import{a as Vt}from"./embed-page-chunk-QFMGN2VD.js";import{a as Mt}from"./embed-page-chunk-OGGV5DFT.js";import{b as Bt}from"./embed-page-chunk-WFUFTRWA.js";import{e as Yt,m as Gt}from"./embed-page-chunk-JUZPOR5Y.js";import{J as G,O as Ot,P as Rt,Q as Nt,R as wt,S as $t,T as Pt,U as Ft,V as w}from"./embed-page-chunk-DOZHL42J.js";import{b as d,d as b}from"./embed-page-chunk-OKE5VRNR.js";var vt=(function(){var t=d(function(Y,a,c,r){for(c=c||{},r=Y.length;r--;c[Y[r]]=a);return c},"o"),e=[1,2],o=[1,3],s=[1,4],h=[2,4],u=[1,9],S=[1,11],g=[1,16],n=[1,17],T=[1,18],k=[1,19],A=[1,33],x=[1,20],D=[1,21],f=[1,22],m=[1,23],R=[1,24],L=[1,26],$=[1,27],I=[1,28],P=[1,29],et=[1,30],st=[1,31],it=[1,32],rt=[1,35],at=[1,36],nt=[1,37],ot=[1,38],j=[1,34],p=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],lt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],xt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],gt={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:d(function(a,c,r,y,E,i,X){var l=i.length-1;switch(E){case 3:return y.setRootDoc(i[l]),i[l];break;case 4:this.$=[];break;case 5:i[l]!="nl"&&(i[l-1].push(i[l]),this.$=i[l-1]);break;case 6:case 7:this.$=i[l];break;case 8:this.$="nl";break;case 12:this.$=i[l];break;case 13:let ht=i[l-1];ht.description=y.trimColon(i[l]),this.$=ht;break;case 14:this.$={stmt:"relation",state1:i[l-2],state2:i[l]};break;case 15:let ut=y.trimColon(i[l]);this.$={stmt:"relation",state1:i[l-3],state2:i[l-1],description:ut};break;case 19:this.$={stmt:"state",id:i[l-3],type:"default",description:"",doc:i[l-1]};break;case 20:var V=i[l],H=i[l-2].trim();if(i[l].match(":")){var J=i[l].split(":");V=J[0],H=[H,J[1]]}this.$={stmt:"state",id:V,type:"default",description:H};break;case 21:this.$={stmt:"state",id:i[l-3],type:"default",description:i[l-5],doc:i[l-1]};break;case 22:this.$={stmt:"state",id:i[l],type:"fork"};break;case 23:this.$={stmt:"state",id:i[l],type:"join"};break;case 24:this.$={stmt:"state",id:i[l],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[l-1].trim(),note:{position:i[l-2].trim(),text:i[l].trim()}};break;case 29:this.$=i[l].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=i[l].trim(),y.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[l-3],url:i[l-2],tooltip:i[l-1]};break;case 33:this.$={stmt:"click",id:i[l-3],url:i[l-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[l-1].trim(),classes:i[l].trim()};break;case 36:this.$={stmt:"style",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 37:this.$={stmt:"applyClass",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 38:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[l].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:o,6:s},{1:[3]},{3:5,4:e,5:o,6:s},{3:6,4:e,5:o,6:s},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],h,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:u,5:S,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:n,19:T,22:k,24:A,25:x,26:D,27:f,28:m,29:R,32:25,33:L,35:$,37:I,38:P,41:et,45:st,48:it,51:rt,52:at,53:nt,54:ot,57:j},t(p,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:g,17:n,19:T,22:k,24:A,25:x,26:D,27:f,28:m,29:R,32:25,33:L,35:$,37:I,38:P,41:et,45:st,48:it,51:rt,52:at,53:nt,54:ot,57:j},t(p,[2,7]),t(p,[2,8]),t(p,[2,9]),t(p,[2,10]),t(p,[2,11]),t(p,[2,12],{14:[1,40],15:[1,41]}),t(p,[2,16]),{18:[1,42]},t(p,[2,18],{20:[1,43]}),{23:[1,44]},t(p,[2,22]),t(p,[2,23]),t(p,[2,24]),t(p,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(p,[2,28]),{34:[1,49]},{36:[1,50]},t(p,[2,31]),{13:51,24:A,57:j},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(lt,[2,44],{58:[1,56]}),t(lt,[2,45],{58:[1,57]}),t(p,[2,38]),t(p,[2,39]),t(p,[2,40]),t(p,[2,41]),t(p,[2,6]),t(p,[2,13]),{13:58,24:A,57:j},t(p,[2,17]),t(xt,h,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(p,[2,29]),t(p,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(p,[2,14],{14:[1,71]}),{4:u,5:S,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:n,19:T,21:[1,72],22:k,24:A,25:x,26:D,27:f,28:m,29:R,32:25,33:L,35:$,37:I,38:P,41:et,45:st,48:it,51:rt,52:at,53:nt,54:ot,57:j},t(p,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(p,[2,34]),t(p,[2,35]),t(p,[2,36]),t(p,[2,37]),t(lt,[2,46]),t(lt,[2,47]),t(p,[2,15]),t(p,[2,19]),t(xt,h,{7:78}),t(p,[2,26]),t(p,[2,27]),{5:[1,79]},{5:[1,80]},{4:u,5:S,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:n,19:T,21:[1,81],22:k,24:A,25:x,26:D,27:f,28:m,29:R,32:25,33:L,35:$,37:I,38:P,41:et,45:st,48:it,51:rt,52:at,53:nt,54:ot,57:j},t(p,[2,32]),t(p,[2,33]),t(p,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:d(function(a,c){if(c.recoverable)this.trace(a);else{var r=new Error(a);throw r.hash=c,r}},"parseError"),parse:d(function(a){var c=this,r=[0],y=[],E=[null],i=[],X=this.table,l="",V=0,H=0,J=0,ht=2,ut=1,he=i.slice.call(arguments,1),_=Object.create(this.lexer),M={yy:{}};for(var Tt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Tt)&&(M.yy[Tt]=this.yy[Tt]);_.setInput(a,M.yy),M.yy.lexer=_,M.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Et=_.yylloc;i.push(Et);var ue=_.options&&_.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function de(O){r.length=r.length-2*O,E.length=E.length-O,i.length=i.length-O}d(de,"popStack");function Lt(){var O;return O=y.pop()||_.lex()||ut,typeof O!="number"&&(O instanceof Array&&(y=O,O=y.pop()),O=c.symbols_[O]||O),O}d(Lt,"lex");for(var v,bt,U,N,Ye,_t,W={},dt,F,It,ft;;){if(U=r[r.length-1],this.defaultActions[U]?N=this.defaultActions[U]:((v===null||typeof v>"u")&&(v=Lt()),N=X[U]&&X[U][v]),typeof N>"u"||!N.length||!N[0]){var kt="";ft=[];for(dt in X[U])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");_.showPosition?kt="Parse error on line "+(V+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[v]||v)+"'":kt="Parse error on line "+(V+1)+": Unexpected "+(v==ut?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(kt,{text:_.match,token:this.terminals_[v]||v,line:_.yylineno,loc:Et,expected:ft})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+v);switch(N[0]){case 1:r.push(v),E.push(_.yytext),i.push(_.yylloc),r.push(N[1]),v=null,bt?(v=bt,bt=null):(H=_.yyleng,l=_.yytext,V=_.yylineno,Et=_.yylloc,J>0&&J--);break;case 2:if(F=this.productions_[N[1]][1],W.$=E[E.length-F],W._$={first_line:i[i.length-(F||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(F||1)].first_column,last_column:i[i.length-1].last_column},ue&&(W._$.range=[i[i.length-(F||1)].range[0],i[i.length-1].range[1]]),_t=this.performAction.apply(W,[l,H,V,M.yy,N[1],E,i].concat(he)),typeof _t<"u")return _t;F&&(r=r.slice(0,-1*F*2),E=E.slice(0,-1*F),i=i.slice(0,-1*F)),r.push(this.productions_[N[1]][0]),E.push(W.$),i.push(W._$),It=X[r[r.length-2]][r[r.length-1]],r.push(It);break;case 3:return!0}}return!0},"parse")},ce=(function(){var Y={EOF:1,parseError:d(function(c,r){if(this.yy.parser)this.yy.parser.parseError(c,r);else throw new Error(c)},"parseError"),setInput:d(function(a,c){return this.yy=c||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var c=a.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:d(function(a){var c=a.length,r=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===y.length?this.yylloc.first_column:0)+y[y.length-r.length].length-r[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(a){this.unput(this.match.slice(a))},"less"),pastInput:d(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var a=this.pastInput(),c=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import{f as _r,h as Ur,j as Zt,l as we,o as yt,t as xt}from"./embed-page-chunk-TZPX2O54.js";import{b as zr,l as ye}from"./embed-page-chunk-5EENS2J7.js";import{a as j}from"./embed-page-chunk-QV7QAJ4N.js";import{La as Nr,M as gt,Ma as jr,N as se,Na as Or,O as Ue,P as Mr,Q as Fe,R as A,U as Lr,V as Fr,_a as be,b as Ir,bb as Te,j as Rr,o as $r}from"./embed-page-chunk-BUFWD6SE.js";import{a as L}from"./embed-page-chunk-R5QL57JJ.js";import{c as Qt,f as y}from"./embed-page-chunk-QBTAJ2YI.js";var Eo=Qt(U=>{"use strict";var Z=typeof Symbol=="function"&&Symbol.for,sr=Z?Symbol.for("react.element"):60103,ir=Z?Symbol.for("react.portal"):60106,Et=Z?Symbol.for("react.fragment"):60107,It=Z?Symbol.for("react.strict_mode"):60108,Rt=Z?Symbol.for("react.profiler"):60114,$t=Z?Symbol.for("react.provider"):60109,Mt=Z?Symbol.for("react.context"):60110,cr=Z?Symbol.for("react.async_mode"):60111,Lt=Z?Symbol.for("react.concurrent_mode"):60111,Ft=Z?Symbol.for("react.forward_ref"):60112,Nt=Z?Symbol.for("react.suspense"):60113,Ma=Z?Symbol.for("react.suspense_list"):60120,jt=Z?Symbol.for("react.memo"):60115,Ot=Z?Symbol.for("react.lazy"):60116,La=Z?Symbol.for("react.block"):60121,Fa=Z?Symbol.for("react.fundamental"):60117,Na=Z?Symbol.for("react.responder"):60118,ja=Z?Symbol.for("react.scope"):60119;function de(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sr:switch(e=e.type,e){case cr:case Lt:case Et:case Rt:case It:case Nt:return e;default:switch(e=e&&e.$$typeof,e){case Mt:case Ft:case Ot:case jt:case $t:return e;default:return t}}case ir:return t}}}function ko(e){return de(e)===Lt}U.AsyncMode=cr;U.ConcurrentMode=Lt;U.ContextConsumer=Mt;U.ContextProvider=$t;U.Element=sr;U.ForwardRef=Ft;U.Fragment=Et;U.Lazy=Ot;U.Memo=jt;U.Portal=ir;U.Profiler=Rt;U.StrictMode=It;U.Suspense=Nt;U.isAsyncMode=function(e){return ko(e)||de(e)===cr};U.isConcurrentMode=ko;U.isContextConsumer=function(e){return de(e)===Mt};U.isContextProvider=function(e){return de(e)===$t};U.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sr};U.isForwardRef=function(e){return de(e)===Ft};U.isFragment=function(e){return de(e)===Et};U.isLazy=function(e){return de(e)===Ot};U.isMemo=function(e){return de(e)===jt};U.isPortal=function(e){return de(e)===ir};U.isProfiler=function(e){return de(e)===Rt};U.isStrictMode=function(e){return de(e)===It};U.isSuspense=function(e){return de(e)===Nt};U.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Et||e===Lt||e===Rt||e===It||e===Nt||e===Ma||typeof e=="object"&&e!==null&&(e.$$typeof===Ot||e.$$typeof===jt||e.$$typeof===$t||e.$$typeof===Mt||e.$$typeof===Ft||e.$$typeof===Fa||e.$$typeof===Na||e.$$typeof===ja||e.$$typeof===La)};U.typeOf=de});var Ro=Qt((Ui,Io)=>{"use strict";Io.exports=Eo()});var Oo=Qt((Bi,jo)=>{"use strict";var lr=Ro(),Oa={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},za={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},_a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Fo={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},dr={};dr[lr.ForwardRef]=_a;dr[lr.Memo]=Fo;function $o(e){return lr.isMemo(e)?Fo:dr[e.$$typeof]||Oa}var Ua=Object.defineProperty,Ba=Object.getOwnPropertyNames,Mo=Object.getOwnPropertySymbols,Da=Object.getOwnPropertyDescriptor,Wa=Object.getPrototypeOf,Lo=Object.prototype;function No(e,t,r){if(typeof t!="string"){if(Lo){var o=Wa(t);o&&o!==Lo&&No(e,o,r)}var n=Ba(t);Mo&&(n=n.concat(Mo(t)));for(var a=$o(e),s=$o(t),i=0;i<n.length;++i){var c=n[i];if(!za[c]&&!(r&&r[c])&&!(s&&s[c])&&!(a&&a[c])){var l=Da(t,c);try{Ua(e,c,l)}catch{}}}}return e}jo.exports=No});var fa=!1;function pa(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ma(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Br=(function(){function e(r){var o=this;this._insertTag=function(n){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,a),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!fa:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ma(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=pa(n);try{a.insertRule(o,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},e})();var ee="-ms-",at="-moz-",O="-webkit-",vt="comm",Be="rule",De="decl";var Dr="@import";var Ct="@keyframes";var Wr="@layer";var Vr=Math.abs,Ne=String.fromCharCode,Hr=Object.assign;function Gr(e,t){return K(e,0)^45?(((t<<2^K(e,0))<<2^K(e,1))<<2^K(e,2))<<2^K(e,3):0}function bt(e){return e.trim()}function er(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,r){return e.replace(t,r)}function st(e,t){return e.indexOf(t)}function K(e,t){return e.charCodeAt(t)|0}function Pe(e,t,r){return e.slice(t,r)}function oe(e){return e.length}function We(e){return e.length}function Ve(e,t){return t.push(e),e}function tr(e,t){return e.map(t).join("")}var wt=1,He=1,qr=0,ne=0,Y=0,qe="";function it(e,t,r,o,n,a,s){return{value:e,root:t,parent:r,type:o,props:n,children:a,line:wt,column:He,length:s,return:""}}function Ke(e,t){return Hr(it("",null,null,"",null,null,0),e,{length:-e.length},t)}function Kr(){return Y}function Xr(){return Y=ne>0?K(qe,--ne):0,He--,Y===10&&(He=1,wt--),Y}function ae(){return Y=ne<qr?K(qe,ne++):0,He++,Y===10&&(He=1,wt++),Y}function pe(){return K(qe,ne)}function ct(){return ne}function Xe(e,t){return Pe(qe,e,t)}function Ge(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function St(e){return wt=He=1,qr=oe(qe=e),ne=0,[]}function Tt(e){return qe="",e}function Ye(e){return bt(Xe(ne-1,rr(e===91?e+2:e===40?e+1:e)))}function Yr(e){for(;(Y=pe())&&Y<33;)ae();return Ge(e)>2||Ge(Y)>3?"":" "}function Jr(e,t){for(;--t&&ae()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return Xe(e,ct()+(t<6&&pe()==32&&ae()==32))}function rr(e){for(;ae();)switch(Y){case e:return ne;case 34:case 39:e!==34&&e!==39&&rr(Y);break;case 40:e===41&&rr(e);break;case 92:ae();break}return ne}function Qr(e,t){for(;ae()&&e+Y!==57;)if(e+Y===84&&pe()===47)break;return"/*"+Xe(t,ne-1)+"*"+Ne(e===47?e:ae())}function Zr(e){for(;!Ge(pe());)ae();return Xe(e,ne)}function ro(e){return Tt(Pt("",null,null,null,[""],e=St(e),0,[0],e))}function Pt(e,t,r,o,n,a,s,i,c){for(var l=0,p=0,x=s,u=0,w=0,h=0,m=1,d=1,f=1,g=0,T="",N=n,z=a,_=o,v=T;d;)switch(h=g,g=ae()){case 40:if(h!=108&&K(v,x-1)==58){st(v+=F(Ye(g),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:v+=Ye(g);break;case 9:case 10:case 13:case 32:v+=Yr(h);break;case 92:v+=Jr(ct()-1,7);continue;case 47:switch(pe()){case 42:case 47:Ve(ha(Qr(ae(),ct()),t,r),c);break;default:v+="/"}break;case 123*m:i[l++]=oe(v)*f;case 125*m:case 59:case 0:switch(g){case 0:case 125:d=0;case 59+p:f==-1&&(v=F(v,/\f/g,"")),w>0&&oe(v)-x&&Ve(w>32?to(v+";",o,r,x-1):to(F(v," ","")+";",o,r,x-2),c);break;case 59:v+=";";default:if(Ve(_=eo(v,t,r,l,p,n,i,T,N=[],z=[],x),a),g===123)if(p===0)Pt(v,t,_,_,N,a,x,i,z);else switch(u===99&&K(v,3)===110?100:u){case 100:case 108:case 109:case 115:Pt(e,_,_,o&&Ve(eo(e,_,_,0,0,n,i,T,n,N=[],x),z),n,z,x,i,o?N:z);break;default:Pt(v,_,_,_,[""],z,0,i,z)}}l=p=w=0,m=f=1,T=v="",x=s;break;case 58:x=1+oe(v),w=h;default:if(m<1){if(g==123)--m;else if(g==125&&m++==0&&Xr()==125)continue}switch(v+=Ne(g),g*m){case 38:f=p>0?1:(v+="\f",-1);break;case 44:i[l++]=(oe(v)-1)*f,f=1;break;case 64:pe()===45&&(v+=Ye(ae())),u=pe(),p=x=oe(T=v+=Zr(ct())),g++;break;case 45:h===45&&oe(v)==2&&(m=0)}}return a}function eo(e,t,r,o,n,a,s,i,c,l,p){for(var x=n-1,u=n===0?a:[""],w=We(u),h=0,m=0,d=0;h<o;++h)for(var f=0,g=Pe(e,x+1,x=Vr(m=s[h])),T=e;f<w;++f)(T=bt(m>0?u[f]+" "+g:F(g,/&\f/g,u[f])))&&(c[d++]=T);return it(e,t,r,n===0?Be:i,c,l,p)}function ha(e,t,r){return it(e,t,r,vt,Ne(Kr()),Pe(e,2,-2),0)}function to(e,t,r,o){return it(e,t,r,De,Pe(e,0,o),Pe(e,o+1,-1),o)}function je(e,t){for(var r="",o=We(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function oo(e,t,r,o){switch(e.type){case Wr:if(e.children.length)break;case Dr:case De:return e.return=e.return||e.value;case vt:return"";case Ct:return e.return=e.value+"{"+je(e.children,o)+"}";case Be:e.value=e.props.join(",")}return oe(r=je(e.children,o))?e.return=e.value+"{"+r+"}":""}function no(e){var t=We(e);return function(r,o,n,a){for(var s="",i=0;i<t;i++)s+=e[i](r,o,n,a)||"";return s}}function ao(e){return function(t){t.root||(t=t.return)&&e(t)}}var or=function(t){var r=new WeakMap;return function(o){if(r.has(o))return r.get(o);var n=t(o);return r.set(o,n),n}};function so(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var ga=function(t,r,o){for(var n=0,a=0;n=a,a=pe(),n===38&&a===12&&(r[o]=1),!Ge(a);)ae();return Xe(t,ne)},ya=function(t,r){var o=-1,n=44;do switch(Ge(n)){case 0:n===38&&pe()===12&&(r[o]=1),t[o]+=ga(ne-1,r,o);break;case 2:t[o]+=Ye(n);break;case 4:if(n===44){t[++o]=pe()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=Ne(n)}while(n=ae());return t},xa=function(t,r){return Tt(ya(St(t),r))},io=new WeakMap,va=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!io.get(o))&&!n){io.set(t,!0);for(var a=[],s=xa(r,a),i=o.props,c=0,l=0;c<s.length;c++)for(var p=0;p<i.length;p++,l++)t.props[l]=a[c]?s[c].replace(/&\f/g,i[p]):i[p]+" "+s[c]}}},Ca=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function co(e,t){switch(Gr(e,t)){case 5103:return O+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+at+e+ee+e+e;case 6828:case 4268:return O+e+ee+e+e;case 6165:return O+e+ee+"flex-"+e+e;case 5187:return O+e+F(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+ee+"flex-$1$2")+e;case 5443:return O+e+ee+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return O+e+ee+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return O+e+ee+F(e,"shrink","negative")+e;case 5292:return O+e+ee+F(e,"basis","preferred-size")+e;case 6060:return O+"box-"+F(e,"-grow","")+O+e+ee+F(e,"grow","positive")+e;case 4554:return O+F(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+ee+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,O+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(oe(e)-1-t>6)switch(K(e,t+1)){case 109:if(K(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+at+(K(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~st(e,"stretch")?co(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(K(e,t+1)!==115)break;case 6444:switch(K(e,oe(e)-3-(~st(e,"!important")&&10))){case 107:return F(e,":",":"+O)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+O+(K(e,14)===45?"inline-":"")+"box$3$1"+O+"$2$3$1"+ee+"$2box$3")+e}break;case 5936:switch(K(e,t+11)){case 114:return O+e+ee+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+ee+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+ee+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return O+e+ee+e+e}return e}var ba=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case De:t.return=co(t.value,t.length);break;case Ct:return je([Ke(t,{value:F(t.value,"@","@"+O)})],n);case Be:if(t.length)return tr(t.props,function(a){switch(er(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return je([Ke(t,{props:[F(a,/:(read-\w+)/,":"+at+"$1")]})],n);case"::placeholder":return je([Ke(t,{props:[F(a,/:(plac\w+)/,":"+O+"input-$1")]}),Ke(t,{props:[F(a,/:(plac\w+)/,":"+at+"$1")]}),Ke(t,{props:[F(a,/:(plac\w+)/,ee+"input-$1")]})],n)}return""})}},wa=[ba],At=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(m){var d=m.getAttribute("data-emotion");d.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=t.stylisPlugins||wa,a={},s,i=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var d=m.getAttribute("data-emotion").split(" "),f=1;f<d.length;f++)a[d[f]]=!0;i.push(m)});var c,l=[va,Ca];{var p,x=[oo,ao(function(m){p.insert(m)})],u=no(l.concat(n,x)),w=function(d){return je(ro(d),u)};c=function(d,f,g,T){p=g,w(d?d+"{"+f.styles+"}":f.styles),T&&(h.inserted[f.name]=!0)}}var h={key:r,sheet:new Br({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:c};return h.sheet.hydrate(i),h};function lo(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var uo={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Sa=!1,Ta=/[A-Z]|^ms/g,Pa=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ho=function(t){return t.charCodeAt(1)===45},fo=function(t){return t!=null&&typeof t!="boolean"},nr=so(function(e){return ho(e)?e:e.replace(Ta,"-$&").toLowerCase()}),po=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Pa,function(o,n,a){return xe={name:n,styles:a,next:xe},n})}return uo[t]!==1&&!ho(t)&&typeof r=="number"&&r!==0?r+"px":r},Aa="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function lt(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return xe={name:n.name,styles:n.styles,next:xe},n.name;var a=r;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)xe={name:s.name,styles:s.styles,next:xe},s=s.next;var i=a.styles+";";return i}return ka(e,t,r)}case"function":{if(e!==void 0){var c=xe,l=r(e);return xe=c,lt(e,t,l)}break}}var p=r;if(t==null)return p;var x=t[p];return x!==void 0?x:p}function ka(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=lt(e,t,r[n])+";";else for(var a in r){var s=r[a];if(typeof s!="object"){var i=s;t!=null&&t[i]!==void 0?o+=a+"{"+t[i]+"}":fo(i)&&(o+=nr(a)+":"+po(a,i)+";")}else{if(a==="NO_COMPONENT_SELECTOR"&&Sa)throw new Error(Aa);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var c=0;c<s.length;c++)fo(s[c])&&(o+=nr(a)+":"+po(a,s[c])+";");else{var l=lt(e,t,s);switch(a){case"animation":case"animationName":{o+=nr(a)+":"+l+";";break}default:o+=a+"{"+l+"}"}}}}return o}var mo=/label:\s*([^\s;{]+)\s*(;|$)/g,xe;function ie(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,n="";xe=void 0;var a=e[0];if(a==null||a.raw===void 0)o=!1,n+=lt(r,t,a);else{var s=a;n+=s[0]}for(var i=1;i<e.length;i++)if(n+=lt(r,t,e[i]),o){var c=a;n+=c[i]}mo.lastIndex=0;for(var l="",p;(p=mo.exec(n))!==null;)l+="-"+p[1];var x=lo(n)+l;return{name:x,styles:n,next:xe}}var Ea=!0;function Ae(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(o+=n+" ")}),o}var Je=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||Ea===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles)},Qe=function(t,r,o){Je(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var a=r;do t.insert(r===a?"."+n:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function go(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function yo(e,t,r){var o=[],n=Ae(e,o,r);return o.length<2?r:n+t(o)}var Oe=function(t){var r=At(t);r.sheet.speedy=function(i){this.isSpeedy=i},r.compat=!0;var o=function(){for(var c=arguments.length,l=new Array(c),p=0;p<c;p++)l[p]=arguments[p];var x=ie(l,r.registered,void 0);return Qe(r,x,!1),r.key+"-"+x.name},n=function(){for(var c=arguments.length,l=new Array(c),p=0;p<c;p++)l[p]=arguments[p];var x=ie(l,r.registered),u="animation-"+x.name;return go(r,{name:x.name,styles:"@keyframes "+u+"{"+x.styles+"}"}),u},a=function(){for(var c=arguments.length,l=new Array(c),p=0;p<c;p++)l[p]=arguments[p];var x=ie(l,r.registered);go(r,x)},s=function(){for(var c=arguments.length,l=new Array(c),p=0;p<c;p++)l[p]=arguments[p];return yo(r.registered,o,Ia(l))};return{css:o,cx:s,injectGlobal:a,keyframes:n,hydrate:function(c){c.forEach(function(l){r.inserted[l]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:Ae.bind(null,r.registered),merge:yo.bind(null,r.registered,o)}},Ia=function e(t){for(var r="",o=0;o<t.length;o++){var n=t[o];if(n!=null){var a=void 0;switch(typeof n){case"boolean":break;case"object":{if(Array.isArray(n))a=e(n);else{a="";for(var s in n)n[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=n}a&&(r&&(r+=" "),r+=a)}}return r};var ve=Oe({key:"css"}),ai=ve.flush,si=ve.hydrate,ii=ve.cx,ci=ve.merge,li=ve.getRegisteredStyles,di=ve.injectGlobal,ui=ve.keyframes,fi=ve.css,pi=ve.sheet,xo=ve.cache;var vo=(function(){function e(){Lr(this,e),Mr(this,"_cacheList",[xo])}return Fr(e,[{key:"add",value:function(r){var o=this.getCache(r.key);return o||(this._cacheList.push(r),r)}},{key:"delete",value:function(r){this._cacheList=this._cacheList.filter(function(o){return o.key!==r.key})}},{key:"hasCache",value:function(r){return this._cacheList.some(function(o){return o.key===r.key})}},{key:"getCache",value:function(r){return this._cacheList.find(function(o){return o.key===r})}},{key:"getCacheList",value:function(){return this._cacheList}}]),e})();var Co=typeof document<"u",ar=function(t,r){return"".concat(t,"-").concat(r)},bo=function(t,r,o,n){var a=n.hashPriority||"high";Je(t,r,o);var s=".".concat(ar(t.key,r.name)),i=a==="low"?":where(".concat(s,")"):s;if(t.inserted[r.name]===void 0){var c="",l=r;do{var p=t.insert(r===l?i:"",l,t.sheet,!0);!Co&&p!==void 0&&(c+=p),l=l.next}while(l!==void 0);if(!Co&&c.length!==0)return c}};var Ze=function(t){return Ue(t)==="object"&&"styles"in t&&"name"in t&&"toString"in t},wo=function e(t){for(var r="",o=0;o<t.length;o++){var n=t[o];if(n!==null){var a=void 0;switch(Ue(n)){case"boolean":break;case"object":{if(Array.isArray(n))a=e(n);else{a="";for(var s in n)n[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=n}a&&(r&&(r+=" "),r+=a)}}return r},So=function(t,r,o){var n=[],a=Ae(t,n,o);return n.length<2?o:a+r(n)};var Ra=function(t,r){return function(){for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];var s=ie(n,t.registered,void 0);return bo(t,s,!1,r),ar(t.key,s.name)}},$a=function(t,r){return function(){for(var o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];var s=n.map(function(i){return Ze(i)?r(i):i});return So(t.registered,r,wo(s))}},kt=function(t,r){var o=Ra(t,{hashPriority:r.hashPriority||"high",label:r.label}),n=$a(t,o);return{css:o,cx:n}};var he=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return ie(r)};var To="acss";var Cr=y(L());var Po=y(L()),Ao=function(t){return(0,Po.createContext)(t)};var ce=y(L()),zt=y(L());var dt=y(L()),Va=function(t){return t()},zo=dt.useInsertionEffect?dt.useInsertionEffect:!1,ur=zo||Va,fr=zo||dt.useLayoutEffect;var _o=!1,Uo=ce.createContext(typeof HTMLElement<"u"?At({key:"css"}):null),Ha=Uo.Provider;var _t=function(t){return(0,zt.forwardRef)(function(r,o){var n=(0,zt.useContext)(Uo);return t(r,n,o)})},ke=ce.createContext({});var Ga=function(t,r){if(typeof r=="function"){var o=r(t);return o}return Ir({},t,r)},qa=or(function(e){return or(function(t){return Ga(e,t)})}),mr=function(t){var r=ce.useContext(ke);return t.theme!==r&&(r=qa(r)(t.theme)),ce.createElement(ke.Provider,{value:r},t.children)};var Ut={}.hasOwnProperty,pr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Bo=function(t,r){var o={};for(var n in r)Ut.call(r,n)&&(o[n]=r[n]);return o[pr]=t,o},Ka=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return Je(r,o,n),ur(function(){return Qe(r,o,n)}),null},Xa=_t(function(e,t,r){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var n=e[pr],a=[o],s="";typeof e.className=="string"?s=Ae(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var i=ie(a,void 0,ce.useContext(ke));s+=t.key+"-"+i.name;var c={};for(var l in e)Ut.call(e,l)&&l!=="css"&&l!==pr&&!_o&&(c[l]=e[l]);return c.className=s,r&&(c.ref=r),ce.createElement(ce.Fragment,null,ce.createElement(Ka,{cache:t,serialized:i,isStringTag:typeof n=="string"}),ce.createElement(n,c))}),Do=Xa;var Ee=y(L());var sc=y(Oo()),Wo=function(t,r){var o=arguments;if(r==null||!Ut.call(r,"css"))return Ee.createElement.apply(void 0,o);var n=o.length,a=new Array(n);a[0]=Do,a[1]=Bo(t,r);for(var s=2;s<n;s++)a[s]=o[s];return Ee.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Wo||(Wo={}));var Vo=_t(function(e,t){var r=e.styles,o=ie([r],void 0,Ee.useContext(ke)),n=Ee.useRef();return fr(function(){var a=t.key+"-global",s=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,c=document.querySelector('style[data-emotion="'+a+" "+o.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),c!==null&&(i=!0,c.setAttribute("data-emotion",a),s.hydrate([c])),n.current=[s,i],function(){s.flush()}},[t]),fr(function(){var a=n.current,s=a[0],i=a[1];if(i){a[1]=!1;return}if(o.next!==void 0&&Qe(t,o.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}t.insert("",o,s,!1)},[t,o.name]),null});var Ho=y(L()),Go=y(j()),qo=function(t){return function(){for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return(0,Ho.memo)(function(a){var s=t();return(0,Go.jsx)(Vo,{styles:ie(o,void 0,A(A({},a),{},{theme:s}))})})}};var Ko=function(t){return function(r){var o=t(r);return function(n){var a=o(n),s=a.styles;return s}}};var Ie=y(L()),hr=y(j()),Ya=["children","prefix","speedy","getStyleManager","container","nonce","insertionPoint","stylisPlugins","linters"],Xo=function(t){return(0,Ie.memo)(function(r){var o=r.children,n=r.prefix,a=r.speedy,s=r.getStyleManager,i=r.container,c=r.nonce,l=r.insertionPoint,p=r.stylisPlugins,x=r.linters,u=Fe(r,Ya),w=(0,Ie.useContext)(t),h=n??w.sheet.key,m=i??w.sheet.container,d=a??w.sheet.isSpeedy,f=(0,Ie.useMemo)(function(){var T=!1,N=Oe({speedy:d??T,key:h,container:m,nonce:c,insertionPoint:l,stylisPlugins:p});if(typeof global<"u"){var z=global.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__;z&&(N.cache=z.add(N.cache))}return N},[h,d,m,c,l,p]);(0,Ie.useEffect)(function(){s?.(f)},[f]);var g=(0,hr.jsx)(t.Provider,{value:f,children:o});return Object.keys(u).length||m?(0,hr.jsx)($r,A(A({linters:x,container:m},u),{},{children:g})):g})};var ut=y(L());var en=y(L());var Yo=function(t){var r=t.css,o=t.token;return{buttonDefaultHover:r({backgroundColor:o.colorBgContainer,border:"1px solid ".concat(o.colorBorder),cursor:"pointer",":hover":{color:o.colorPrimaryHover,borderColor:o.colorPrimaryHover},":active":{color:o.colorPrimaryActive,borderColor:o.colorPrimaryActive}})}};var Jo=function(t){return Object.fromEntries(Object.entries(t).map(function(r){var o=se(r,2),n=o[0],a=o[1];return[n,a.styles]}))};var et=function(){var t=be.useToken(),r=t.token;return r};var Zo=y(L());var Qo=y(L());var Re=function(t){return typeof window<"u"?matchMedia&&matchMedia("(prefers-color-scheme: ".concat(t,")")):{matches:!1}};var gr,Bt=(0,Qo.createContext)({appearance:"light",setAppearance:function(){},isDarkMode:!1,themeMode:"light",setThemeMode:function(){},browserPrefers:(gr=Re("dark"))!==null&&gr!==void 0&&gr.matches?"dark":"light"});var $e=function(){return(0,Zo.useContext)(Bt)};var tn=function(){var t=et(),r=$e(),o=r.appearance,n=r.isDarkMode;return(0,en.useMemo)(function(){return Jo(Yo({token:t,css:he,appearance:o,isDarkMode:n}))},[t,o,n])};var rn=y(L());var Dt=function(){var t=et(),r=tn();return(0,rn.useMemo)(function(){return A(A({},t),{},{stylish:r})},[t,r])};var on=function(t){return A(A({},t),{},{mobile:t.xs,tablet:t.md,laptop:t.lg,desktop:t.xxl})};var nn=y(L()),an=function(){var t=et(),r={xs:"@media (max-width: ".concat(t.screenXSMax,"px)"),sm:"@media (max-width: ".concat(t.screenSMMax,"px)"),md:"@media (max-width: ".concat(t.screenMDMax,"px)"),lg:"@media (max-width: ".concat(t.screenLGMax,"px)"),xl:"@media (max-width: ".concat(t.screenXLMax,"px)"),xxl:"@media (min-width: ".concat(t.screenXXLMin,"px)")};return(0,nn.useMemo)(function(){return on(r)},[t])},sn=function(t,r){return Object.entries(t).map(function(o){var n=se(o,2),a=n[0],s=n[1],i=s;return Ze(s)||(i=he(s)),r[a]?"".concat(r[a]," {").concat(i.styles,"}"):""}).join("")};var Ja=["stylish","appearance","isDarkMode","prefixCls","iconPrefixCls"],Qa=["prefixCls","iconPrefixCls"],cn=function(t){var r=t.hashPriority,o=t.useTheme,n=t.EmotionContext;return function(a,s){var i=s?.__BABEL_FILE_NAME__,c=!!i;return function(l){var p=o(),x=(0,ut.useContext)(n),u=x.cache,w=kt(u,{hashPriority:s?.hashPriority||r,label:s?.label}),h=w.cx,m=w.css,d=an(),f=(0,ut.useMemo)(function(){var g;if(a instanceof Function){var T=p.stylish,N=p.appearance,z=p.isDarkMode,_=p.prefixCls,v=p.iconPrefixCls,G=Fe(p,Ja),Q=function(W){return sn(W,d)};Object.assign(Q,d),g=a({token:G,stylish:T,appearance:N,isDarkMode:z,prefixCls:_,iconPrefixCls:v,cx:h,css:he,responsive:Q},l)}else g=a;return Ue(g)==="object"&&(Ze(g)?g=m(g):g=Object.fromEntries(Object.entries(g).map(function(ue){var W=se(ue,2),Se=W[0],fe=W[1],rt=c?"".concat(i,"-").concat(Se):void 0;return Ue(fe)==="object"?c?[Se,m(fe,"label:".concat(rt))]:[Se,m(fe)]:[Se,fe]}))),g},[l,p]);return(0,ut.useMemo)(function(){var g=p.prefixCls,T=p.iconPrefixCls,N=Fe(p,Qa);return{styles:f,cx:h,theme:N,prefixCls:g,iconPrefixCls:T}},[f,p])}}};var mt=y(L());var ln=y(j()),yr=function(t){if(t.ThemeProvider)return t.ThemeProvider;var r=t.ThemeContext;return function(o){return(0,ln.jsx)(r.Provider,{value:o.theme,children:o.children})}};var dn=mr,Wt=ke;var tt=y(L());var un=y(j()),fn=(0,tt.memo)(function(e){var t=e.children,r=e.theme,o=e.prefixCls,n=e.getStaticInstance,a=e.staticInstanceConfig,s=$e(),i=s.appearance,c=s.isDarkMode,l=Nr.useMessage(a?.message),p=se(l,2),x=p[0],u=p[1],w=Or.useNotification(a?.notification),h=se(w,2),m=h[0],d=h[1],f=jr.useModal(),g=se(f,2),T=g[0],N=g[1];(0,tt.useEffect)(function(){n?.({message:x,modal:T,notification:m})},[]);var z=(0,tt.useMemo)(function(){var _=c?be.darkAlgorithm:be.defaultAlgorithm,v=r;if(typeof r=="function"&&(v=r(i)),!v)return{algorithm:_};var G=v.algorithm?v.algorithm instanceof Array?v.algorithm:[v.algorithm]:[];return A(A({},v),{},{algorithm:v.algorithm?[_].concat(Rr(G)):_})},[r,c]);return(0,un.jsxs)(gt,{prefixCls:o,theme:z,children:[u,d,N,t]})});fn.displayName="AntdProvider";var pn=fn;var ze=y(L());var hn=y(L());function Za(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,n,a,s,i=[],c=!0,l=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(o=a.call(r)).done)&&(i.push(o.value),i.length!==t);c=!0);}catch(p){l=!0,n=p}finally{try{if(!c&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw n}}return i}}function es(e,t){return ts(e)||Za(e,t)||rs(e,t)||os()}function ts(e){if(Array.isArray(e))return e}function rs(e,t){if(e){if(typeof e=="string")return mn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mn(e,t)}}function mn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function os(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ns(e,t){var r=t||{},o=r.defaultValue,n=r.value,a=r.onChange,s=r.postState,i=hn.default.useState(function(){return n!==void 0?n:o!==void 0?typeof o=="function"?o():o:typeof e=="function"?e():e}),c=es(i,2),l=c[0],p=c[1],x=n!==void 0?n:l;s&&(x=s(x));function u(w){p(w),x!==w&&a&&a(w,x)}return[x,u]}var xr=ns;var vr=y(L()),Vt=function(t){typeof vr.startTransition=="function"?(0,vr.startTransition)(t):t()};var gn=y(j()),yn=y(j()),Me,as=function(t){var r=t.themeMode,o=t.setAppearance,n=t.setBrowserPrefers,a=function(){Vt(function(){Re("dark").matches?o("dark"):o("light")})},s=function(){Vt(function(){Re("dark").matches?n("dark"):n("light")})};return(0,ze.useLayoutEffect)(function(){if(r!=="auto"){Vt(function(){o(r)});return}return setTimeout(a,1),Me||(Me=Re("dark")),Me.addEventListener("change",a),function(){Me.removeEventListener("change",a)}},[r]),(0,ze.useLayoutEffect)(function(){return Me||(Me=Re("dark")),Me.addEventListener("change",s),function(){Me.removeEventListener("change",s)}},[]),null},xn=(0,ze.memo)(function(e){var t,r=e.children,o=e.appearance,n=e.defaultAppearance,a=e.onAppearanceChange,s=e.themeMode,i=e.defaultThemeMode,c=e.onThemeModeChange,l=e.useTheme,p=l(),x=p.appearance,u=p.themeMode,w=xr("light",{value:s,defaultValue:i??u,onChange:function(ue){return c?.(ue)}}),h=se(w,2),m=h[0],d=h[1],f=xr("light",{value:o,defaultValue:n??x,onChange:function(ue){return a?.(ue)}}),g=se(f,2),T=g[0],N=g[1],z=(0,ze.useState)((t=Re("dark"))!==null&&t!==void 0&&t.matches?"dark":"light"),_=se(z,2),v=_[0],G=_[1];return(0,yn.jsxs)(Bt.Provider,{value:{themeMode:m,setThemeMode:d,appearance:T,setAppearance:N,isDarkMode:T==="dark",browserPrefers:v},children:[typeof window<"u"&&(0,gn.jsx)(as,{themeMode:m,setAppearance:N,setBrowserPrefers:G}),r]})});xn.displayName="ThemeSwitcher";var vn=xn;var ft=y(L());var Cn=y(j()),ss=["stylish"],is=function(t){var r=t.children,o=t.customToken,n=t.defaultCustomToken,a=t.customStylish,s=t.prefixCls,i=t.StyledThemeProvider,c=$e(),l=c.appearance,p=c.isDarkMode,x=Dt(),u=x.stylish,w=Fe(x,ss),h=(0,ft.useMemo)(function(){return n?n instanceof Function?n({token:w,appearance:l,isDarkMode:p}):n:{}},[n,w,l]),m=(0,ft.useMemo)(function(){return o instanceof Function?A(A({},h),o({token:w,appearance:l,isDarkMode:p})):A(A({},h),o)},[h,o,w,l]),d=(0,ft.useMemo)(function(){return a?a({token:A(A({},w),m),stylish:u,appearance:l,isDarkMode:p,css:he}):{}},[a,w,m,u,l]),f=(0,ft.useMemo)(function(){return A(A({},d),u)},[d,u]),g=A(A(A(A({},w),m),{},{stylish:f},c),{},{prefixCls:s});return(0,Cn.jsx)(i,{theme:g,children:r})},bn=is;var pt=y(j()),wn=function(t){var r=t.styledConfig?yr(t.styledConfig):void 0,o=t.StyleEngineContext;return(0,mt.memo)(function(n){var a=n.children,s=n.customToken,i=n.customStylish,c=n.theme,l=n.getStaticInstance,p=n.prefixCls,x=n.staticInstanceConfig,u=n.appearance,w=n.defaultAppearance,h=n.onAppearanceChange,m=n.themeMode,d=n.defaultThemeMode,f=n.onThemeModeChange,g=n.styled,T=(0,mt.useContext)(o),N=T.prefixCls,z=T.StyledThemeContext,_=T.CustomThemeContext,v=(0,mt.useContext)(_),G=g?yr(g):r||dn,Q=p||N;return(0,pt.jsx)(o.Provider,{value:{prefixCls:Q,StyledThemeContext:g?.ThemeContext||z||Wt,CustomThemeContext:_},children:(0,pt.jsx)(vn,{themeMode:m,defaultThemeMode:d,onThemeModeChange:f,defaultAppearance:w,appearance:u,onAppearanceChange:h,useTheme:t.useTheme,children:(0,pt.jsx)(pn,{prefixCls:Q,staticInstanceConfig:x,theme:c,getStaticInstance:l,children:(0,pt.jsx)(bn,{prefixCls:Q,customToken:s,defaultCustomToken:v,customStylish:i,StyledThemeProvider:G,children:a})})})})})};var _e=y(L());var Sn=function(t){return function(){var r=t.StyleEngineContext,o=(0,_e.useContext)(r),n=o.StyledThemeContext,a=o.CustomThemeContext,s=o.prefixCls,i=Dt(),c=$e(),l=(0,_e.useContext)(a),p=(0,_e.useContext)(n??Wt)||{},x=(0,_e.useContext)(gt.ConfigContext),u=x.iconPrefixCls,w=x.getPrefixCls,h=w(),m=s&&s!=="ant"?s:h,d=(0,_e.useMemo)(function(){return A(A(A(A({},i),c),l),{},{prefixCls:m,iconPrefixCls:u})},[i,c,l,m,u]);return!p||Object.keys(p).length===0?d:A(A({},p),{},{prefixCls:m,iconPrefixCls:u})}};var Tn=new vo;typeof global<"u"&&(global.__ANTD_STYLE_CACHE_MANAGER_FOR_SSR__=Tn);var Pn=function(t){var r,o,n,a=A(A({},t),{},{key:(r=t.key)!==null&&r!==void 0?r:"zcss",speedy:(o=t.speedy)!==null&&o!==void 0?o:!1}),s=Oe({key:a.key,speedy:a.speedy,container:a.container}),i=Ao(s),c=Xo(i);s.cache=Tn.add(s.cache);var l=(0,Cr.createContext)(a.customToken?a.customToken:{}),p=(n=a.styled)===null||n===void 0?void 0:n.ThemeContext,x=(0,Cr.createContext)({CustomThemeContext:l,StyledThemeContext:p,prefixCls:a?.prefixCls,iconPrefixCls:a?.iconPrefixCls}),u=Sn({StyleEngineContext:x}),w=cn({hashPriority:a.hashPriority,useTheme:u,EmotionContext:i}),h=qo(u),m=Ko(w),d=wn({styledConfig:a.styled,StyleEngineContext:x,useTheme:u});d.displayName="AntdStyleThemeProvider";var f=kt(s.cache,{hashPriority:a.hashPriority}),g=f.cx,T=s.injectGlobal,N=s.keyframes;return{createStyles:w,createGlobalStyle:h,createStylish:m,css:he,cx:g,keyframes:N,injectGlobal:T,styleManager:s,useTheme:u,StyleProvider:c,ThemeProvider:d}};var ge=Pn({key:To,speedy:!1}),An=ge.createStyles,ql=ge.createGlobalStyle,Kl=ge.createStylish,Xl=ge.css,Yl=ge.cx,Jl=ge.keyframes,Ql=ge.injectGlobal,Zl=ge.styleManager,ed=ge.ThemeProvider,td=ge.StyleProvider,rd=ge.useTheme;var b=y(L());var us=y(L());var kn={primary:{50:"#f0f4ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},success:"#22c55e",warning:"#f59e0b",error:"#ef4444",info:"#3b82f6",light:{bg:"#fafafa",surface:"rgba(255, 255, 255, 1)",surfaceHover:"#f9fafb",surfaceActive:"#f3f4f6",border:"#e5e7eb",borderHover:"#d1d5db",text:"#111827",textSecondary:"#6b7280",textMuted:"#9ca3af"},dark:{bg:"#0a0a0a",surface:"rgba(23, 23, 23, 0.95)",surfaceHover:"#1f1f1f",surfaceActive:"#262626",border:"#27272a",borderHover:"#3f3f46",text:"#fafafa",textSecondary:"#a1a1aa",textMuted:"#71717a"}},En={none:"0",sm:"4px",md:"10px",lg:"16px",xl:"20px",xxl:"28px",xxxl:"32px",full:"9999px"},In={0:"0",1:"4px",2:"8px",3:"12px",4:"16px",5:"20px",6:"24px",8:"32px",10:"40px",12:"48px"},Rn={none:"none",sm:"0 1px 2px rgba(0, 0, 0, 0.04)",md:"0 2px 8px rgba(0, 0, 0, 0.06)",lg:"0 4px 12px rgba(0, 0, 0, 0.08)",xl:"0 8px 24px rgba(0, 0, 0, 0.1)"},$n={fontFamily:'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',sizes:{xs:{size:"12px",lineHeight:"16px",weight:400},sm:{size:"14px",lineHeight:"20px",weight:400},base:{size:"16px",lineHeight:"24px",weight:400},lg:{size:"18px",lineHeight:"28px",weight:500},xl:{size:"20px",lineHeight:"28px",weight:600},"2xl":{size:"24px",lineHeight:"32px",weight:600}}},Mn={duration:{fast:"150ms",normal:"250ms",slow:"350ms"},easing:{default:"cubic-bezier(0.4, 0, 0.2, 1)",bounce:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}},M={colors:kn,radius:En,spacing:In,shadows:Rn,typography:$n,animation:Mn};var ht={token:{colorPrimary:M.colors.primary[500],colorPrimaryHover:M.colors.primary[600],colorPrimaryActive:M.colors.primary[700],colorSuccess:M.colors.success,colorWarning:M.colors.warning,colorError:M.colors.error,colorInfo:M.colors.info,colorText:M.colors.light.text,colorTextSecondary:M.colors.light.textSecondary,colorTextTertiary:M.colors.light.textMuted,colorBgContainer:M.colors.light.surface,colorBgElevated:M.colors.light.surface,colorBgLayout:M.colors.light.bg,colorBorder:M.colors.light.border,colorBorderSecondary:M.colors.light.borderHover,fontFamily:M.typography.fontFamily,fontSize:16,fontSizeSM:14,fontSizeLG:18,lineHeight:1.5,borderRadius:8,borderRadiusLG:12,borderRadiusSM:4,borderRadiusXS:2,boxShadow:M.shadows.md,boxShadowSecondary:M.shadows.lg,boxShadowTertiary:M.shadows.xl,motionDurationFast:M.animation.duration.fast,motionDurationMid:M.animation.duration.normal,motionDurationSlow:M.animation.duration.slow},components:{Card:{borderRadius:12,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.06)"},Button:{borderRadius:8,controlHeight:40,controlHeightLG:44,controlHeightSM:32},Input:{borderRadius:8,controlHeight:40},Modal:{borderRadius:16},Select:{borderRadius:8,controlHeight:40},Tag:{borderRadius:4},Alert:{borderRadius:8},Menu:{borderRadius:8},Dropdown:{borderRadius:8}}},cs={...ht,token:{...ht.token,colorText:M.colors.dark.text,colorTextSecondary:M.colors.dark.textSecondary,colorTextTertiary:M.colors.dark.textMuted,colorBgContainer:M.colors.dark.surface,colorBgElevated:M.colors.dark.surface,colorBgLayout:M.colors.dark.bg,colorBgMask:"rgba(0, 0, 0, 0.7)",colorBorder:M.colors.dark.border,colorBorderSecondary:M.colors.dark.borderHover},components:{...ht.components,Modal:{...ht.components?.Modal,colorBgElevated:M.colors.dark.surface}}};var{colors:cd,radius:ld,spacing:dd,shadows:ud,typography:fd,animation:pd}=M;var Nn=y(j()),{Text:Pd}=Te;var On=y(L());var zn=y(j()),{Title:Rd,Paragraph:$d}=Te;var wr=y(L());var Un=y(j()),{Title:Dd,Paragraph:Wd}=Te;var Bn=y(L());var ps=y(j());var Sr=y(j()),{Text:Zd}=Te;var Gt=y(L());var Dn=y(L());var ms=y(j());var hs=y(L());var Wn=y(j()),{useToken:hu}=be;var gu=An(({token:e,css:t})=>({surface:t`
|
|
3
|
+
position: relative;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
width: 100%;
|
|
7
|
+
max-width: 720px;
|
|
8
|
+
max-height: min(84vh, 760px);
|
|
9
|
+
background: ${e.colorBgContainer};
|
|
10
|
+
border: 1px solid ${e.colorBorderSecondary};
|
|
11
|
+
border-radius: 16px;
|
|
12
|
+
box-shadow: ${e.boxShadowSecondary};
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
`,closeButton:t`
|
|
15
|
+
position: absolute;
|
|
16
|
+
top: 12px;
|
|
17
|
+
right: 12px;
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
width: 32px;
|
|
22
|
+
height: 32px;
|
|
23
|
+
padding: 0;
|
|
24
|
+
border: none;
|
|
25
|
+
border-radius: 50%;
|
|
26
|
+
background: transparent;
|
|
27
|
+
color: ${e.colorTextTertiary};
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
transition: background 0.15s, color 0.15s;
|
|
30
|
+
|
|
31
|
+
&:hover {
|
|
32
|
+
background: ${e.colorFillSecondary};
|
|
33
|
+
color: ${e.colorText};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:focus-visible {
|
|
37
|
+
outline: 2px solid ${e.colorPrimary};
|
|
38
|
+
outline-offset: 2px;
|
|
39
|
+
}
|
|
40
|
+
`,header:t`
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
padding: 24px 24px 16px;
|
|
43
|
+
text-align: center;
|
|
44
|
+
`,logo:t`
|
|
45
|
+
width: 64px;
|
|
46
|
+
height: 64px;
|
|
47
|
+
background: ${e.colorPrimary};
|
|
48
|
+
border-radius: 16px;
|
|
49
|
+
margin: 0 auto 16px;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
`,title:t`
|
|
54
|
+
margin: 0 0 4px;
|
|
55
|
+
font-size: ${e.fontSizeHeading4}px;
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
color: ${e.colorText};
|
|
58
|
+
line-height: 1.4;
|
|
59
|
+
`,subtitle:t`
|
|
60
|
+
margin: 0;
|
|
61
|
+
font-size: ${e.fontSize}px;
|
|
62
|
+
color: ${e.colorTextSecondary};
|
|
63
|
+
line-height: 1.5;
|
|
64
|
+
`,toolbar:t`
|
|
65
|
+
flex-shrink: 0;
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
gap: 8px;
|
|
69
|
+
padding: 0 24px 12px;
|
|
70
|
+
`,scrollRegion:t`
|
|
71
|
+
flex: 1 1 auto;
|
|
72
|
+
min-height: 120px;
|
|
73
|
+
max-height: min(52vh, 460px);
|
|
74
|
+
overflow-y: auto;
|
|
75
|
+
overflow-x: hidden;
|
|
76
|
+
padding: 0 24px;
|
|
77
|
+
position: relative;
|
|
78
|
+
|
|
79
|
+
&::-webkit-scrollbar {
|
|
80
|
+
width: 8px;
|
|
81
|
+
}
|
|
82
|
+
&::-webkit-scrollbar-track {
|
|
83
|
+
background: transparent;
|
|
84
|
+
}
|
|
85
|
+
&::-webkit-scrollbar-thumb {
|
|
86
|
+
background: ${e.colorBorder};
|
|
87
|
+
border-radius: 4px;
|
|
88
|
+
}
|
|
89
|
+
`,grid:t`
|
|
90
|
+
display: grid;
|
|
91
|
+
gap: ${e.marginSM}px;
|
|
92
|
+
padding-bottom: 4px;
|
|
93
|
+
`,gridOne:t`
|
|
94
|
+
grid-template-columns: minmax(0, 1fr);
|
|
95
|
+
`,gridTwo:t`
|
|
96
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
97
|
+
|
|
98
|
+
@media (max-width: 480px) {
|
|
99
|
+
grid-template-columns: minmax(0, 1fr);
|
|
100
|
+
}
|
|
101
|
+
`,card:t`
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
gap: 12px;
|
|
105
|
+
padding: 12px 14px;
|
|
106
|
+
min-height: 64px;
|
|
107
|
+
width: 100%;
|
|
108
|
+
min-width: 0;
|
|
109
|
+
text-align: left;
|
|
110
|
+
/* A <button> does not inherit the page font by default. */
|
|
111
|
+
font: inherit;
|
|
112
|
+
color: inherit;
|
|
113
|
+
background: ${e.colorBgContainer};
|
|
114
|
+
border: 1px solid ${e.colorBorderSecondary};
|
|
115
|
+
border-radius: 12px;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
transition: border-color 0.15s, background 0.15s;
|
|
118
|
+
|
|
119
|
+
&:hover {
|
|
120
|
+
border-color: ${e.colorPrimaryBorder};
|
|
121
|
+
background: ${e.colorFillQuaternary};
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:focus-visible {
|
|
125
|
+
outline: 2px solid ${e.colorPrimary};
|
|
126
|
+
outline-offset: 2px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* The border + tint is the whole selected affordance — no check icon. */
|
|
130
|
+
&[aria-pressed="true"] {
|
|
131
|
+
border-color: ${e.colorPrimary};
|
|
132
|
+
background: ${e.colorPrimaryBg};
|
|
133
|
+
}
|
|
134
|
+
`,avatar:t`
|
|
135
|
+
width: 40px;
|
|
136
|
+
height: 40px;
|
|
137
|
+
border-radius: 50%;
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: center;
|
|
141
|
+
flex-shrink: 0;
|
|
142
|
+
overflow: hidden;
|
|
143
|
+
font-size: ${e.fontSizeLG}px;
|
|
144
|
+
font-weight: 600;
|
|
145
|
+
`,cardBody:t`
|
|
146
|
+
flex: 1;
|
|
147
|
+
min-width: 0;
|
|
148
|
+
`,cardName:t`
|
|
149
|
+
margin: 0;
|
|
150
|
+
font-size: ${e.fontSize}px;
|
|
151
|
+
font-weight: 600;
|
|
152
|
+
line-height: 1.4;
|
|
153
|
+
color: ${e.colorText};
|
|
154
|
+
white-space: nowrap;
|
|
155
|
+
overflow: hidden;
|
|
156
|
+
text-overflow: ellipsis;
|
|
157
|
+
`,cardDescription:t`
|
|
158
|
+
margin: 2px 0 0;
|
|
159
|
+
font-size: ${e.fontSizeSM}px;
|
|
160
|
+
line-height: 1.4;
|
|
161
|
+
color: ${e.colorTextTertiary};
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
text-overflow: ellipsis;
|
|
165
|
+
`,centeredBody:t`
|
|
166
|
+
flex: 1 1 auto;
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
align-items: center;
|
|
170
|
+
justify-content: center;
|
|
171
|
+
gap: 12px;
|
|
172
|
+
padding: 48px 24px;
|
|
173
|
+
text-align: center;
|
|
174
|
+
color: ${e.colorTextSecondary};
|
|
175
|
+
`,emptyTitle:t`
|
|
176
|
+
font-size: ${e.fontSizeLG}px;
|
|
177
|
+
font-weight: 600;
|
|
178
|
+
color: ${e.colorText};
|
|
179
|
+
`,footer:t`
|
|
180
|
+
flex-shrink: 0;
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
justify-content: space-between;
|
|
184
|
+
gap: 8px;
|
|
185
|
+
padding: 16px 24px;
|
|
186
|
+
border-top: 1px solid ${e.colorBorderSecondary};
|
|
187
|
+
background: ${e.colorFillQuaternary};
|
|
188
|
+
`,footerActions:t`
|
|
189
|
+
display: flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
gap: 4px;
|
|
192
|
+
min-width: 0;
|
|
193
|
+
flex-wrap: wrap;
|
|
194
|
+
`,srOnly:t`
|
|
195
|
+
position: absolute;
|
|
196
|
+
width: 1px;
|
|
197
|
+
height: 1px;
|
|
198
|
+
padding: 0;
|
|
199
|
+
margin: -1px;
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
clip: rect(0 0 0 0);
|
|
202
|
+
white-space: nowrap;
|
|
203
|
+
border: 0;
|
|
204
|
+
`}));var gs=y(L());var Vn=y(j());var Tr=y(L());var Hn=y(j()),qt=(0,b.createContext)(null),Zu=()=>{let e=(0,b.useContext)(qt);if(!e)throw new Error("useWorkspaceContext must be used within a WorkspaceContextProvider");return e};var ef=({children:e,workspaceId:t,projectId:r,client:o,isolated:n=!1})=>{let{currentTenant:a,isAuthenticated:s}=we(),i=a?.id||"",{config:c}=xt(),l=ye(),p=()=>t!==void 0?t:!n&&typeof window<"u"?sessionStorage.getItem("workspaceId"):null,x=()=>r!==void 0?r:!n&&typeof window<"u"?sessionStorage.getItem("projectId"):null,[u,w]=(0,b.useState)(p),[h,m]=(0,b.useState)(x);(0,b.useLayoutEffect)(()=>{o?o.setWorkspaceContext(u||void 0,h||void 0):_r.setWorkspaceContext(u||void 0,h||void 0)},[u,h,o]);let[d,f]=(0,b.useState)([]),[g,T]=(0,b.useState)([]),[N,z]=(0,b.useState)([]),[_,v]=(0,b.useState)([]),[G,Q]=(0,b.useState)([]),[ue,W]=(0,b.useState)([]),[Se,fe]=(0,b.useState)([]),[rt,V]=(0,b.useState)(!1),[Xt,H]=(0,b.useState)(null),I=b.default.useMemo(()=>{let C=s?Zt("lattice_token")||c.apiKey||"":c.apiKey||"";return new Ur({baseURL:c.baseURL,apiKey:C,assistantId:"",transport:"sse"},i)},[c.baseURL,c.apiKey,i,s]),ot=(0,b.useCallback)(()=>{v([]),T([]),z([]),Q([]),W([]),fe([]),w(t??null),n||sessionStorage.removeItem("workspaceId"),m(r??null),n||sessionStorage.removeItem("projectId")},[v,T,z,Q,W,fe,w,m,t,r,n]),R=(0,b.useCallback)(()=>{f([]),ot()},[ot,f]);(0,b.useEffect)(()=>{R(),E()},[i]);let E=(0,b.useCallback)(async()=>{V(!0),H(null);try{let C=await I.listWorkspaces();f(C)}catch(C){H(C instanceof Error?C.message:l("chatWorkspace.workspace.loadWorkspacesFailed"))}finally{V(!1)}},[I,l]),$=(0,b.useCallback)(async C=>{let P=C||u;if(!P){T([]),z([]),v([]),Q([]),W([]),fe([]);return}V(!0),H(null);try{let S=await I.listProjects(P),B=re=>re.kind!=="public"&&re.kind!=="training"&&re.kind!=="personal",nt=re=>re.kind==="public"&&!re.id.startsWith(zr),kr=S.filter(B),Er=S.filter(nt),ua=new Set([...kr,...Er].map(re=>re.id));T(kr),z(Er),v(S.filter(re=>ua.has(re.id))),Q(S.filter(re=>re.kind==="training")),W(S.filter(re=>re.kind==="personal")),fe(S.filter(re=>re.kind!=="personal"))}catch(S){H(S instanceof Error?S.message:l("chatWorkspace.workspace.loadProjectsFailed"))}finally{V(!1)}},[I,u,l]);(0,b.useEffect)(()=>{!n&&u&&typeof window<"u"&&sessionStorage.setItem("workspaceId",u)},[u,n]),(0,b.useEffect)(()=>{!n&&h&&typeof window<"u"&&sessionStorage.setItem("projectId",h)},[h,n]),(0,b.useEffect)(()=>{E().catch(C=>{console.warn("Failed to load workspaces:",C)})},[E]),(0,b.useEffect)(()=>{if(d.length>0&&!u){let C=d[0];w(C.id)}},[d,u]);let q=(0,b.useRef)(u);(0,b.useEffect)(()=>{u?$(u):(T([]),z([]),v([]),Q([]),W([]),fe([])),q.current!=null&&q.current!==u&&m(r??null),q.current=u},[u,$]);let me=(0,b.useCallback)(async C=>{V(!0),H(null);try{let P=await I.createWorkspace(C);return await E(),P}catch(P){let S=P instanceof Error?P.message:l("chatWorkspace.workspace.createWorkspaceFailed");throw H(S),P}finally{V(!1)}},[I,E,l]),Ce=(0,b.useCallback)(async(C,P)=>{V(!0),H(null);try{let S=await I.updateWorkspace(C,P);return await E(),S}catch(S){let B=S instanceof Error?S.message:l("chatWorkspace.workspace.updateWorkspaceFailed");throw H(B),S}finally{V(!1)}},[I,E,l]),te=(0,b.useCallback)(async C=>{V(!0),H(null);try{await I.deleteWorkspace(C),u===C&&ot(),await E()}catch(P){let S=P instanceof Error?P.message:l("chatWorkspace.workspace.deleteWorkspaceFailed");throw H(S),P}finally{V(!1)}},[I,u,E,l]),le=(0,b.useCallback)(async(C,P)=>{V(!0),H(null);try{let S=await I.createProject(C,P);return await $(C),S}catch(S){let B=S instanceof Error?S.message:l("chatWorkspace.projects.createFailed");throw H(B),S}finally{V(!1)}},[I,$,l]),Le=(0,b.useCallback)(async(C,P,S)=>{V(!0),H(null);try{let B=await I.updateProject(C,P,S);return await $(C),B}catch(B){let nt=B instanceof Error?B.message:l("chatWorkspace.workspace.updateProjectFailed");throw H(nt),B}finally{V(!1)}},[I,$,l]),Ar=(0,b.useCallback)(async(C,P)=>{V(!0),H(null);try{await I.deleteProject(C,P),h===P&&m(null),await $(C)}catch(S){let B=S instanceof Error?S.message:l("chatWorkspace.workspace.deleteProjectFailed");throw H(B),S}finally{V(!1)}},[I,h,$,l]),Yt=(0,b.useCallback)(async(C="/",P)=>{if(!u||!h)return[];V(!0),H(null);try{return await I.listPath(u,h,C,P)}catch(S){return H(S instanceof Error?S.message:l("chatWorkspace.workspace.loadFilesFailed")),[]}finally{V(!1)}},[I,u,h,l]),ea=(0,b.useCallback)(async(C,P)=>{let S=C;return S.startsWith("~/")&&(S=`/${S.slice(2)}`),S.startsWith("/")||(S=`/${S}`),Yt(S,P)},[Yt]),Jt=(0,b.useCallback)(async(C,P,S)=>{if(!u||!h)throw new Error("Workspace and project must be selected before uploading files");V(!0),H(null);try{return await I.uploadFile(u,h,P,C,S)}catch(B){let nt=B instanceof Error?B.message:l("chatWorkspace.workspace.uploadFailed");throw H(nt),B}finally{V(!1)}},[I,u,h,l]),ta=(0,b.useCallback)(async(C,P,S)=>{let B=C;return B.startsWith("~/")&&(B=`/${B.slice(2)}`),Jt(B,P,S)},[Jt]),ra=(0,b.useCallback)(async(C,P,S,B)=>{if(!u)throw new Error("Workspace must be selected before uploading files");return I.uploadFile(u,C,S,P,B)},[I,u]),oa=(0,b.useCallback)((C,P)=>!u||!h?"":I.getFileViewUrl(u,h,C,P),[I,u,h]),na=(0,b.useCallback)((C,P)=>!u||!h?"":I.getFileDownloadUrl(u,h,C,P),[I,u,h]),aa=(0,b.useCallback)(async(C,P)=>{if(!u||!h)throw new Error("Workspace and project must be selected");return I.downloadFolder(u,h,C,P)},[I,u,h]),sa=(0,b.useCallback)(C=>{if(!i||!u||!h)return"";let P=C.replace(/^\/?project\//,"").replace(/^\/+/,"").replace(/\/+$/,"");return`${c.baseURL}/f/${i}/${u}/${h}/${P}`},[i,u,h,c.baseURL]),ia=(0,b.useCallback)(async(C,P,S)=>{if(!u||!h)throw new Error("Workspace and project must be selected");return I.resources.share({resourcePath:C,assistantId:P,...S})},[I,u,h]),ca=(0,b.useCallback)(async()=>I.resources.listShares(),[I]),la=(0,b.useCallback)(async C=>{await I.resources.unshare(C)},[I]),da={workspaceId:u,projectId:h,workspaces:d,businessProjects:g,publicProjects:N,projects:_,trainingProjects:G,personalProjects:ue,allProjects:Se,loading:rt,error:Xt,setWorkspace:w,setProject:m,createWorkspace:me,updateWorkspace:Ce,deleteWorkspace:te,createProject:le,updateProject:Le,deleteProject:Ar,refreshWorkspaces:E,refreshProjects:$,listPath:Yt,listPathByFolder:ea,uploadFile:Jt,uploadFileToFolder:ta,uploadFileToProject:ra,getFileViewUrl:oa,getFileDownloadUrl:na,downloadFolder:aa,getDirectFileUrl:sa,shareFile:ia,listShares:ca,unshareFile:la},bs=d.find(C=>C.id===u)?.name,ws=C=>{m(C.id)};return(0,Hn.jsx)(qt.Provider,{value:da,children:e})};var k=y(L());var X=y(L());var Kn=y(j()),Gn=(0,X.createContext)({assistants:[],currentAssistant:null,isLoading:!1,error:null,listAssistants:async()=>{},getAssistant:async()=>{throw new Error("Not implemented")},createAssistant:async()=>{throw new Error("Not implemented")},updateAssistant:async()=>{throw new Error("Not implemented")},deleteAssistant:async()=>{},selectAssistant:async()=>{},clearCurrentAssistant:()=>{},refresh:async()=>{}}),of=({children:e,autoLoad:t=!0,initialAssistantId:r=null})=>{let o=yt(r||""),[n,a]=(0,X.useState)({assistants:[],currentAssistant:null,isLoading:!1,error:null}),s=(0,X.useRef)([]);(0,X.useEffect)(()=>{s.current=n.assistants},[n.assistants]);let i=(0,X.useCallback)(async()=>{a(m=>({...m,isLoading:!0,error:null}));try{let m=await o.assistants.list()??[];a(d=>({...d,assistants:m,isLoading:!1,currentAssistant:d.currentAssistant&&m.some(f=>f.id===d.currentAssistant?.id)?d.currentAssistant:d.currentAssistant&&m[0]||null}))}catch(m){a(d=>({...d,isLoading:!1,error:m instanceof Error?m:new Error(String(m))}))}},[o]),c=(0,X.useCallback)(async m=>{a(d=>({...d,isLoading:!0,error:null}));try{let d=await o.assistants.get(m);return a(f=>({...f,assistants:f.assistants.map(g=>g.id===m?d:g),isLoading:!1})),d}catch(d){throw a(f=>({...f,isLoading:!1,error:d instanceof Error?d:new Error(String(d))})),d}},[o]),l=(0,X.useCallback)(async m=>{a(d=>({...d,isLoading:!0,error:null}));try{let d=await o.assistants.create(m);return a(f=>({...f,assistants:[...f.assistants,d],isLoading:!1})),d}catch(d){throw a(f=>({...f,isLoading:!1,error:d instanceof Error?d:new Error(String(d))})),d}},[o]),p=(0,X.useCallback)(async(m,d)=>{a(f=>({...f,isLoading:!0,error:null}));try{let f=await o.assistants.update(m,d);return a(g=>({...g,assistants:g.assistants.map(T=>T.id===m?f:T),currentAssistant:g.currentAssistant?.id===m?f:g.currentAssistant,isLoading:!1})),f}catch(f){throw a(g=>({...g,isLoading:!1,error:f instanceof Error?f:new Error(String(f))})),f}},[o]),x=(0,X.useCallback)(async m=>{a(d=>({...d,isLoading:!0,error:null}));try{await o.assistants.delete(m),a(d=>({...d,assistants:d.assistants.filter(f=>f.id!==m),currentAssistant:d.currentAssistant?.id===m?null:d.currentAssistant,isLoading:!1}))}catch(d){throw a(f=>({...f,isLoading:!1,error:d instanceof Error?d:new Error(String(d))})),d}},[o]),u=(0,X.useCallback)(async m=>{a(d=>({...d,isLoading:!0,error:null}));try{let d=s.current.find(f=>f.id===m);if(d)a(f=>({...f,currentAssistant:d,isLoading:!1}));else{let f=await o.assistants.get(m);a(g=>({...g,assistants:[...g.assistants,f],currentAssistant:f,isLoading:!1}))}}catch(d){throw a(f=>({...f,isLoading:!1,error:d instanceof Error?d:new Error(String(d))})),d}},[o]),w=(0,X.useCallback)(()=>{a(m=>({...m,currentAssistant:null}))},[]),h=(0,X.useCallback)(async()=>{await i()},[i]);return(0,X.useEffect)(()=>{t&&i()},[t,i]),(0,X.useEffect)(()=>{if(console.log("[AssistantContext] selection effect fired",{initialAssistantId:r,assistantsCount:n.assistants.length,currentAssistantId:n.currentAssistant?.id,currentAssistantName:n.currentAssistant?.name}),n.assistants.length>0){let m=n.currentAssistant&&n.assistants.some(d=>d.id===n.currentAssistant?.id);if(console.log("[AssistantContext] isCurrentAssistantValid:",m,"initialAssistantId:",r),!m)if(r){let d=n.assistants.find(f=>f.id===r);console.log("[AssistantContext] find result for",r,":",d?.id??"NOT FOUND"),d?a(f=>({...f,currentAssistant:d})):(console.warn(`[AssistantContext] initialAssistantId "${r}" not found in assistant list, falling back to first assistant`,`
|
|
205
|
+
assistants:`,n.assistants.map(f=>({id:f.id,name:f.name}))),a(f=>({...f,currentAssistant:f.assistants[0]})))}else a(d=>({...d,currentAssistant:d.assistants[0]}))}},[r,n.assistants,n.currentAssistant]),(0,Kn.jsx)(Gn.Provider,{value:{...n,listAssistants:i,getAssistant:c,createAssistant:l,updateAssistant:p,deleteAssistant:x,selectAssistant:u,clearCurrentAssistant:w,refresh:h},children:e})},qn=()=>{let e=(0,X.useContext)(Gn);if(!e)throw new Error("useAssistantContext must be used within an AssistantContextProvider");return e};var Jn=y(j()),Pr=(0,k.createContext)(null);function Kt(e,t){return{id:e.id,label:t||e.metadata?.label||new Date(e.createdAt).toLocaleString(),createdAt:e.createdAt?.toString(),updatedAt:e.updatedAt?.toString()}}function Xn(e){return e?{label:e}:{}}var ys="lattice_active_thread";function Yn(e,t){return`${ys}:${e}:${t}`}function xs(e,t){if(typeof window>"u")return null;try{return window.sessionStorage.getItem(Yn(e,t))}catch{return null}}function vs(e,t,r){if(!(typeof window>"u"))try{window.sessionStorage.setItem(Yn(e,t),r)}catch{}}function df(e){let t=e.replace(/```attachments[\s\S]*?```/g,"").trim();return t?t.length<=15?t:t.slice(0,15)+"...":""}var uf=({children:e})=>{let{currentAssistant:t}=qn(),r=t?.id||null,o=xt(),n=yt(r||""),[a,s]=(0,k.useState)([]),[i,c]=(0,k.useState)(null),[l,p]=(0,k.useState)(null),[x,u]=(0,k.useState)(!1),[w,h]=(0,k.useState)(null),[m,d]=(0,k.useState)({}),f=(0,k.useRef)(null),g=(0,k.useRef)(null),T=(0,k.useRef)(!1),N=(0,k.useRef)(0),z=(0,k.useRef)(n);(0,k.useEffect)(()=>{z.current=n},[n]);let _=(0,k.useContext)(qt),v=`${_?.workspaceId??""}:${_?.projectId??""}`,G=(0,k.useCallback)(async(R=!1)=>{let E=z.current;if(!r||!E.assistantId){N.current+=1,s([]),u(!1),T.current=!1,f.current=null;return}if(!R&&T.current&&f.current===r)return;let $=++N.current;T.current=!0,u(!0),h(null);try{let q=await E.threads.list();if($!==N.current)return;let Ce=q.sort((te,le)=>{let Le=new Date(te.updatedAt).getTime();return new Date(le.updatedAt).getTime()-Le}).map(te=>Kt(te));if(Ce.length===0)try{let te=await E.threads.create({metadata:Xn()});if($!==N.current)return;let le=Kt(te);s([le]),c(le.id)}catch(te){if($!==N.current)return;let le=te instanceof Error?te:new Error(String(te));h(le),console.error("Failed to create initial thread:",le),s([])}else{s(Ce);let te=xs(r,v);c(le=>le&&Ce.some(Le=>Le.id===le)?le:te&&Ce.some(Le=>Le.id===te)?te:Ce[0].id)}p(r),f.current=r}catch(q){if($!==N.current)return;let me=q instanceof Error?q:new Error(String(q));h(me),console.error("Failed to load threads:",me)}finally{$===N.current&&(u(!1),T.current=!1)}},[r,v]);(0,k.useEffect)(()=>{let R=z.current,$=g.current!==r;r&&R.assistantId===r?($&&(c(null),s([]),p(null),g.current=r),f.current!==r&&G()):(c(null),s([]),p(null),f.current=null,g.current=null)},[r,G]);let Q=(0,k.useRef)(v);(0,k.useEffect)(()=>{let R=z.current;!r||!R.assistantId||Q.current!==v&&(Q.current=v,c(null),p(null),f.current=null,G())},[v,r,G]),(0,k.useEffect)(()=>{!r||!i||vs(r,v,i)},[r,v,i]);let ue=(0,k.useMemo)(()=>!r||!i||l!==r?null:a.find(R=>R.id===i)||null,[r,i,a,l]),W=(0,k.useCallback)(R=>{c(R?R.id:null)},[]),Se=(0,k.useCallback)(R=>{a.find($=>$.id===R)&&c(R)},[a]),fe=(0,k.useCallback)(async(R,E)=>{if(!r||!n.assistantId)throw new Error("No assistant selected");u(!0),h(null);try{let $=await n.threads.create({metadata:Xn(R),...E??{}}),q=Kt($,R);return await G(),c(q.id),q}catch($){let q=$ instanceof Error?$:new Error(String($));throw h(q),q}finally{u(!1)}},[r,n,G]),rt=(0,k.useCallback)(async()=>{if(!r||!n.assistantId)return[];u(!0),h(null);try{let $=(await n.threads.list()).sort((q,me)=>{let Ce=new Date(q.updatedAt).getTime();return new Date(me.updatedAt).getTime()-Ce}).map(q=>Kt(q));return s($),$}catch(R){let E=R instanceof Error?R:new Error(String(R));return h(E),a}finally{u(!1)}},[r,n,a]),V=(0,k.useCallback)(async R=>{if(!r||!n.assistantId)throw new Error("No assistant selected");h(null);try{let $=(await n.threads.get(R.id)).metadata||{};await n.threads.update(R.id,{metadata:{...$,label:R.label}}),s(q=>q.map(me=>me.id===R.id?{...me,label:R.label}:me))}catch(E){let $=E instanceof Error?E:new Error(String(E));throw h($),$}},[r,n]),Xt=(0,k.useCallback)(R=>a.find(E=>E.id===R)||null,[a]),H=(0,k.useCallback)(async R=>{if(!r||!n.assistantId)throw new Error("No assistant selected");u(!0),h(null);try{await n.threads.delete(R),await G(!0),c(E=>E===R?null:E)}catch(E){let $=E instanceof Error?E:new Error(String(E));throw h($),$}finally{u(!1)}},[r,n,G]),I=(0,k.useCallback)(()=>{c(null)},[]),ot=(0,k.useCallback)(R=>{d(E=>({...E,...R}))},[]);return(0,Jn.jsx)(Pr.Provider,{value:{assistantId:r,thread:ue,threadId:i,threads:a,isLoading:x,error:w,setThread:W,selectThread:Se,createThread:fe,listThreads:rt,updateThread:V,getThreadById:Xt,deleteThread:H,clearThread:I,refresh:G,customRunConfig:m,updateCustomRunConfig:ot},children:e})},ff=()=>{let e=(0,k.useContext)(Pr);if(!e)throw new Error("useConversationContext must be used within a ConversationContextProvider");return e},pf=()=>(0,k.useContext)(Pr);var D=y(L()),Zn=y(j()),J=()=>{throw new Error("ChatUIContextProvider not found")},Qn=(0,D.createContext)({detailVisible:!1,setDetailVisible:J,detailSize:"large",setDetailSize:J,detailSelectedCard:null,setDetailSelectedCard:J,openDetail:J,closeDetail:J,toolsVisible:!1,setToolsVisible:J,toggleTools:J,toolSelectedCard:null,setToolSelectedCard:J,openTools:J,closeTools:J,sideAppVisible:!1,setSideAppVisible:J,sideAppSize:"large",setSideAppSize:J,sideAppSelectedCard:null,setSideAppSelectedCard:J,openSideApp:J,closeSideApp:J,menuCollapsed:void 0,setMenuCollapsed:J,openContentApp:J,closeContentApp:J,contentAppVisible:!1,setcontentAppVisible:J,contentAppSelectedCard:null,setContentAppSelectedCard:J}),gf=({children:e,defaultMenuCollapsed:t})=>{let[r,o]=(0,D.useState)(!1),[n,a]=(0,D.useState)(!1),[s,i]=(0,D.useState)("large"),[c,l]=(0,D.useState)(null),[p,x]=(0,D.useState)(!1),[u,w]=(0,D.useState)(null),[h,m]=(0,D.useState)(null),[d,f]=(0,D.useState)(t??void 0),g=(0,D.useCallback)(W=>{l(W),o(!0)},[]),T=(0,D.useCallback)(()=>{l(null),o(!1)},[]),N=(0,D.useCallback)(W=>{w(W),x(!0)},[]),z=(0,D.useCallback)(()=>{w(null),x(!1)},[]),_=(0,D.useCallback)(W=>{g(W)},[g]),v=(0,D.useCallback)(W=>{m(W),a(!0)},[]),G=(0,D.useCallback)(()=>{T()},[T]),Q=(0,D.useCallback)(()=>{m(null),a(!1)},[]),ue=(0,D.useCallback)(()=>{x(W=>!W)},[]);return(0,Zn.jsx)(Qn.Provider,{value:{detailVisible:r,setDetailVisible:o,detailSize:s,setDetailSize:i,detailSelectedCard:c,setDetailSelectedCard:l,openDetail:g,closeDetail:T,toolsVisible:p,setToolsVisible:x,toggleTools:ue,toolSelectedCard:u,setToolSelectedCard:w,openTools:N,closeTools:z,sideAppVisible:r,setSideAppVisible:o,sideAppSize:s,setSideAppSize:i,sideAppSelectedCard:c,setSideAppSelectedCard:l,openSideApp:_,closeSideApp:G,openContentApp:v,closeContentApp:Q,menuCollapsed:d,setMenuCollapsed:f,contentAppVisible:n,setcontentAppVisible:a,contentAppSelectedCard:h,setContentAppSelectedCard:m},children:e})},yf=()=>(0,D.useContext)(Qn);export{Gn as a,of as b,qn as c,kn as d,En as e,M as f,An as g,qt as h,Zu as i,ef as j,Pr as k,df as l,uf as m,ff as n,pf as o,gf as p,yf as q};
|
|
206
|
+
/*! Bundled license information:
|
|
207
|
+
|
|
208
|
+
react-is/cjs/react-is.production.min.js:
|
|
209
|
+
(** @license React v16.13.1
|
|
210
|
+
* react-is.production.min.js
|
|
211
|
+
*
|
|
212
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
213
|
+
*
|
|
214
|
+
* This source code is licensed under the MIT license found in the
|
|
215
|
+
* LICENSE file in the root directory of this source tree.
|
|
216
|
+
*)
|
|
217
|
+
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as X}from"./embed-page-chunk-
|
|
1
|
+
import{c as X}from"./embed-page-chunk-XSKNS3LY.js";import{c as ht,d as mt}from"./embed-page-chunk-VHUKORYK.js";import{a as kt}from"./embed-page-chunk-7TH7FFVA.js";import{a as T,b as V,c as pt}from"./embed-page-chunk-V4BVAZDM.js";import{a as ft}from"./embed-page-chunk-5EONYJU2.js";import{g as yt}from"./embed-page-chunk-G2RO6IBN.js";import{m as $}from"./embed-page-chunk-JUZPOR5Y.js";import{E as K,V as v}from"./embed-page-chunk-DOZHL42J.js";import{b as h,d as m}from"./embed-page-chunk-OKE5VRNR.js";import{C as J,D as tt,F as rt,G as at,H as U,L as et,O as nt,S as st,T as ot,U as it,V as lt,W as ct,X as dt}from"./embed-page-chunk-DM5ESF6C.js";import{b as D}from"./embed-page-chunk-S4XZPBRM.js";var vt=h((r,t,a,s,i,n)=>{t.arrowTypeStart&&ut(r,"start",t.arrowTypeStart,a,s,i,n),t.arrowTypeEnd&&ut(r,"end",t.arrowTypeEnd,a,s,i,n)},"addEdgeMarkers"),$t={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},ut=h((r,t,a,s,i,n,e)=>{let o=$t[a];if(!o){m.warn(`Unknown arrow type: ${a}`);return}let c=o.type,d=`${i}_${n}-${c}${t==="start"?"Start":"End"}`;if(e&&e.trim()!==""){let f=e.replace(/[^\dA-Za-z]/g,"_"),p=`${d}_${f}`;if(!document.getElementById(p)){let y=document.getElementById(d);if(y){let L=y.cloneNode(!0);L.id=p,L.querySelectorAll("path, circle, line").forEach(k=>{k.setAttribute("stroke",e),o.fill&&k.setAttribute("fill",e)}),y.parentNode?.appendChild(L)}}r.attr(`marker-${t}`,`url(${s}#${p})`)}else r.attr(`marker-${t}`,`url(${s}#${d})`)},"addEdgeMarker"),P=new Map,x=new Map,nr=h(()=>{P.clear(),x.clear()},"clear"),I=h(r=>r?r.reduce((a,s)=>a+";"+s,""):"","getLabelStyles"),sr=h(async(r,t)=>{let a=K(v().flowchart.htmlLabels),{labelStyles:s}=mt(t);t.labelStyle=s;let i=await yt(r,t.label,{style:t.labelStyle,useHtmlLabels:a,addSvgBackground:!0,isNode:!1});m.info("abc82",t,t.labelType);let n=r.insert("g").attr("class","edgeLabel"),e=n.insert("g").attr("class","label").attr("data-id",t.id);e.node().appendChild(i);let o=i.getBBox();if(a){let l=i.children[0],d=D(i);o=l.getBoundingClientRect(),d.attr("width",o.width),d.attr("height",o.height)}e.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),P.set(t.id,n),t.width=o.width,t.height=o.height;let c;if(t.startLabelLeft){let l=await X(t.startLabelLeft,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),x.get(t.id)||x.set(t.id,{}),x.get(t.id).startLeft=d,Y(c,t.startLabelLeft)}if(t.startLabelRight){let l=await X(t.startLabelRight,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=d.node().appendChild(l),f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),x.get(t.id)||x.set(t.id,{}),x.get(t.id).startRight=d,Y(c,t.startLabelRight)}if(t.endLabelLeft){let l=await X(t.endLabelLeft,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),d.node().appendChild(l),x.get(t.id)||x.set(t.id,{}),x.get(t.id).endLeft=d,Y(c,t.endLabelLeft)}if(t.endLabelRight){let l=await X(t.endLabelRight,I(t.labelStyle)),d=r.insert("g").attr("class","edgeTerminals"),f=d.insert("g").attr("class","inner");c=f.node().appendChild(l);let p=l.getBBox();f.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),d.node().appendChild(l),x.get(t.id)||x.set(t.id,{}),x.get(t.id).endRight=d,Y(c,t.endLabelRight)}return i},"insertEdgeLabel");function Y(r,t){v().flowchart.htmlLabels&&r&&(r.style.width=t.length*9+"px",r.style.height="12px")}h(Y,"setTerminalWidth");var or=h((r,t)=>{m.debug("Moving label abc88 ",r.id,r.label,P.get(r.id),t);let a=t.updatedPath?t.updatedPath:t.originalPath,s=v(),{subGraphTitleTotalMargin:i}=ft(s);if(r.label){let n=P.get(r.id),e=r.x,o=r.y;if(a){let c=$.calcLabelPosition(a);m.debug("Moving label "+r.label+" from (",e,",",o,") to (",c.x,",",c.y,") abc88"),t.updatedPath&&(e=c.x,o=c.y)}n.attr("transform",`translate(${e}, ${o+i/2})`)}if(r.startLabelLeft){let n=x.get(r.id).startLeft,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}if(r.startLabelRight){let n=x.get(r.id).startRight,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}if(r.endLabelLeft){let n=x.get(r.id).endLeft,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}if(r.endLabelRight){let n=x.get(r.id).endRight,e=r.x,o=r.y;if(a){let c=$.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",a);e=c.x,o=c.y}n.attr("transform",`translate(${e}, ${o})`)}},"positionEdgeLabel"),St=h((r,t)=>{let a=r.x,s=r.y,i=Math.abs(t.x-a),n=Math.abs(t.y-s),e=r.width/2,o=r.height/2;return i>=e||n>=o},"outsideNode"),Et=h((r,t,a)=>{m.debug(`intersection calc abc89:
|
|
2
2
|
outsidePoint: ${JSON.stringify(t)}
|
|
3
3
|
insidePoint : ${JSON.stringify(a)}
|
|
4
4
|
node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);let s=r.x,i=r.y,n=Math.abs(s-a.x),e=r.width/2,o=a.x<t.x?e-n:e+n,c=r.height/2,l=Math.abs(t.y-a.y),d=Math.abs(t.x-a.x);if(Math.abs(i-t.y)*e>Math.abs(s-t.x)*c){let f=a.y<t.y?t.y-c-i:i-c-t.y;o=d*f/l;let p={x:a.x<t.x?a.x+o:a.x-d+o,y:a.y<t.y?a.y+l-f:a.y-l+f};return o===0&&(p.x=t.x,p.y=t.y),d===0&&(p.x=t.x),l===0&&(p.y=t.y),m.debug(`abc89 top/bottom calc, Q ${l}, q ${f}, R ${d}, r ${o}`,p),p}else{a.x<t.x?o=t.x-e-s:o=s-e-t.x;let f=l*o/d,p=a.x<t.x?a.x+d-o:a.x-d+o,y=a.y<t.y?a.y+f:a.y-f;return m.debug(`sides calc abc89, Q ${l}, q ${f}, R ${d}, r ${o}`,{_x:p,_y:y}),o===0&&(p=t.x,y=t.y),d===0&&(p=t.x),l===0&&(y=t.y),{x:p,y}}},"intersection"),xt=h((r,t)=>{m.warn("abc88 cutPathAtIntersect",r,t);let a=[],s=r[0],i=!1;return r.forEach(n=>{if(m.info("abc88 checking point",n,t),!St(t,n)&&!i){let e=Et(t,s,n);m.debug("abc88 inside",n,s,e),m.debug("abc88 intersection",e,t);let o=!1;a.forEach(c=>{o=o||c.x===e.x&&c.y===e.y}),a.some(c=>c.x===e.x&&c.y===e.y)?m.warn("abc88 no intersect",e,a):a.push(e),i=!0}else m.warn("abc88 outside",n,s),s=n,i||a.push(n)}),m.debug("returning points",a),a},"cutPathAtIntersect");function gt(r){let t=[],a=[];for(let s=1;s<r.length-1;s++){let i=r[s-1],n=r[s],e=r[s+1];(i.x===n.x&&n.y===e.y&&Math.abs(n.x-e.x)>5&&Math.abs(n.y-i.y)>5||i.y===n.y&&n.x===e.x&&Math.abs(n.x-i.x)>5&&Math.abs(n.y-e.y)>5)&&(t.push(n),a.push(s))}return{cornerPoints:t,cornerPointPositions:a}}h(gt,"extractCornerPoints");var bt=h(function(r,t,a){let s=t.x-r.x,i=t.y-r.y,n=Math.sqrt(s*s+i*i),e=a/n;return{x:t.x-e*s,y:t.y-e*i}},"findAdjacentPoint"),Ot=h(function(r){let{cornerPointPositions:t}=gt(r),a=[];for(let s=0;s<r.length;s++)if(t.includes(s)){let i=r[s-1],n=r[s+1],e=r[s],o=bt(i,e,5),c=bt(n,e,5),l=c.x-o.x,d=c.y-o.y;a.push(o);let f=Math.sqrt(2)*2,p={x:e.x,y:e.y};if(Math.abs(n.x-i.x)>10&&Math.abs(n.y-i.y)>=10){m.debug("Corner point fixing",Math.abs(n.x-i.x),Math.abs(n.y-i.y));let y=5;e.x===o.x?p={x:l<0?o.x-y+f:o.x+y-f,y:d<0?o.y-f:o.y+f}:p={x:l<0?o.x-f:o.x+f,y:d<0?o.y-y+f:o.y+y-f}}else m.debug("Corner point skipping fixing",Math.abs(n.x-i.x),Math.abs(n.y-i.y));a.push(p,c)}else a.push(r[s]);return a},"fixCorners"),Tt=h((r,t,a)=>{let s=r-t-a,i=2,n=2,e=i+n,o=Math.floor(s/e),c=Array(o).fill(`${i} ${n}`).join(" ");return`0 ${t} ${c} ${a}`},"generateDashArray"),ir=h(function(r,t,a,s,i,n,e,o=!1){let{handDrawnSeed:c}=v(),l=t.points,d=!1,f=i;var p=n;let y=[];for(let b in t.cssCompiledStyles)ht(b)||y.push(t.cssCompiledStyles[b]);m.debug("UIO intersect check",t.points,p.x,f.x),p.intersect&&f.intersect&&!o&&(l=l.slice(1,t.points.length-1),l.unshift(f.intersect(l[0])),m.debug("Last point UIO",t.start,"-->",t.end,l[l.length-1],p,p.intersect(l[l.length-1])),l.push(p.intersect(l[l.length-1])));let L=btoa(JSON.stringify(l));t.toCluster&&(m.info("to cluster abc88",a.get(t.toCluster)),l=xt(t.points,a.get(t.toCluster).node),d=!0),t.fromCluster&&(m.debug("from cluster abc88",a.get(t.fromCluster),JSON.stringify(l,null,2)),l=xt(l.reverse(),a.get(t.fromCluster).node).reverse(),d=!0);let M=l.filter(b=>!Number.isNaN(b.y));M=Ot(M);let k=U;switch(k=J,t.curve){case"linear":k=J;break;case"basis":k=U;break;case"cardinal":k=et;break;case"bumpX":k=rt;break;case"bumpY":k=at;break;case"catmullRom":k=nt;break;case"monotoneX":k=st;break;case"monotoneY":k=ot;break;case"natural":k=it;break;case"step":k=lt;break;case"stepAfter":k=dt;break;case"stepBefore":k=ct;break;default:k=U}let{x:C,y:W}=pt(t),N=tt().x(C).y(W).curve(k),g;switch(t.thickness){case"normal":g="edge-thickness-normal";break;case"thick":g="edge-thickness-thick";break;case"invisible":g="edge-thickness-invisible";break;default:g="edge-thickness-normal"}switch(t.pattern){case"solid":g+=" edge-pattern-solid";break;case"dotted":g+=" edge-pattern-dotted";break;case"dashed":g+=" edge-pattern-dashed";break;default:g+=" edge-pattern-solid"}let u,_=t.curve==="rounded"?Lt(Mt(M,t),5):N(M),w=Array.isArray(t.style)?t.style:[t.style],H=w.find(b=>b?.startsWith("stroke:")),B=!1;if(t.look==="handDrawn"){let b=kt.svg(r);Object.assign([],M);let A=b.path(_,{roughness:.3,seed:c});g+=" transition",u=D(A).select("path").attr("id",t.id).attr("class"," "+g+(t.classes?" "+t.classes:"")).attr("style",w?w.reduce((R,z)=>R+";"+z,""):"");let E=u.attr("d");u.attr("d",E),r.node().appendChild(u.node())}else{let b=y.join(";"),A=w?w.reduce((q,O)=>q+O+";",""):"",E="";t.animate&&(E=" edge-animation-fast"),t.animation&&(E=" edge-animation-"+t.animation);let R=(b?b+";"+A+";":A)+";"+(w?w.reduce((q,O)=>q+";"+O,""):"");u=r.append("path").attr("d",_).attr("id",t.id).attr("class"," "+g+(t.classes?" "+t.classes:"")+(E??"")).attr("style",R),H=R.match(/stroke:([^;]+)/)?.[1],B=t.animate===!0||!!t.animation||b.includes("animation");let z=u.node(),G=typeof z.getTotalLength=="function"?z.getTotalLength():0,Z=V[t.arrowTypeStart]||0,j=V[t.arrowTypeEnd]||0;if(t.look==="neo"&&!B){let O=`stroke-dasharray: ${t.pattern==="dotted"||t.pattern==="dashed"?Tt(G,Z,j):`0 ${Z} ${G-Z-j} ${j}`}; stroke-dashoffset: 0;`;u.attr("style",O+u.attr("style"))}}u.attr("data-edge",!0),u.attr("data-et","edge"),u.attr("data-id",t.id),u.attr("data-points",L),t.showPoints&&M.forEach(b=>{r.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",b.x).attr("cy",b.y)});let S="";(v().flowchart.arrowMarkerAbsolute||v().state.arrowMarkerAbsolute)&&(S=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,S=S.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),m.info("arrowTypeStart",t.arrowTypeStart),m.info("arrowTypeEnd",t.arrowTypeEnd),vt(u,t,S,e,s,H);let wt=Math.floor(l.length/2),_t=l[wt];$.isLabelCoordinateInPath(_t,u.attr("d"))||(d=!0);let Q={};return d&&(Q.updatedPath=l),Q.originalPath=t.points,Q},"insertEdge");function Lt(r,t){if(r.length<2)return"";let a="",s=r.length,i=1e-5;for(let n=0;n<s;n++){let e=r[n],o=r[n-1],c=r[n+1];if(n===0)a+=`M${e.x},${e.y}`;else if(n===s-1)a+=`L${e.x},${e.y}`;else{let l=e.x-o.x,d=e.y-o.y,f=c.x-e.x,p=c.y-e.y,y=Math.hypot(l,d),L=Math.hypot(f,p);if(y<i||L<i){a+=`L${e.x},${e.y}`;continue}let M=l/y,k=d/y,C=f/L,W=p/L,N=M*C+k*W,g=Math.max(-1,Math.min(1,N)),u=Math.acos(g);if(u<i||Math.abs(Math.PI-u)<i){a+=`L${e.x},${e.y}`;continue}let _=Math.min(t/Math.sin(u/2),y/2,L/2),w=e.x-M*_,H=e.y-k*_,B=e.x+C*_,S=e.y+W*_;a+=`L${w},${H}`,a+=`Q${e.x},${e.y} ${B},${S}`}}return a}h(Lt,"generateRoundedPath");function F(r,t){if(!r||!t)return{angle:0,deltaX:0,deltaY:0};let a=t.x-r.x,s=t.y-r.y;return{angle:Math.atan2(s,a),deltaX:a,deltaY:s}}h(F,"calculateDeltaAndAngle");function Mt(r,t){let a=r.map(i=>({...i}));if(r.length>=2&&T[t.arrowTypeStart]){let i=T[t.arrowTypeStart],n=r[0],e=r[1],{angle:o}=F(n,e),c=i*Math.cos(o),l=i*Math.sin(o);a[0].x=n.x+c,a[0].y=n.y+l}let s=r.length;if(s>=2&&T[t.arrowTypeEnd]){let i=T[t.arrowTypeEnd],n=r[s-1],e=r[s-2],{angle:o}=F(e,n),c=i*Math.cos(o),l=i*Math.sin(o);a[s-1].x=n.x-c,a[s-1].y=n.y-l}return a}h(Mt,"applyMarkerOffsetsToPoints");var Xt=h((r,t,a,s)=>{t.forEach(i=>{jt[i](r,a,s)})},"insertMarkers"),Yt=h((r,t,a)=>{m.trace("Making markers for ",a),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),Ct=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),Wt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),Ht=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),Bt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),At=h((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),Rt=h((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),zt=h((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),qt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),Ut=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),It=h((r,t,a)=>{let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),s.append("path").attr("d","M9,0 L9,18");let i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),Pt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Nt=h((r,t,a)=>{let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),s.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),Qt=h((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./embed-page-chunk-W4PSILFT.js";import{a as yi}from"./embed-page-chunk-5IG7MZQF.js";import{a as vi}from"./embed-page-chunk-R2K4OIQO.js";import{a as qi}from"./embed-page-chunk-KGP2RGEC.js";import{a as wi}from"./embed-page-chunk-AQ7P7MPQ.js";import{a as zi}from"./embed-page-chunk-3IP6ESHH.js";import{a as Fi}from"./embed-page-chunk-FYBEULVS.js";import{a as Si}from"./embed-page-chunk-LDFGGZC6.js";import{a as Ei}from"./embed-page-chunk-ZZCMWB6F.js";import{a as ni}from"./embed-page-chunk-EAUQPBSN.js";import{a as di}from"./embed-page-chunk-GU7JLLYO.js";import{a as ui}from"./embed-page-chunk-DIE6AVGX.js";import{a as bi}from"./embed-page-chunk-6E33CLHM.js";import{a as hi}from"./embed-page-chunk-5DAOHO64.js";import{a as ki}from"./embed-page-chunk-UZW2LQZV.js";import{a as ji}from"./embed-page-chunk-4SGVKO3D.js";import{a as xi}from"./embed-page-chunk-ESAZNCCX.js";import{a as mi}from"./embed-page-chunk-PEFXE5Y4.js";import{a as si}from"./embed-page-chunk-HQCMCYUS.js";import{a as pi}from"./embed-page-chunk-NMZP7U6I.js";import{a as gi}from"./embed-page-chunk-ORPDSJ5S.js";import{a as fi}from"./embed-page-chunk-DHGHAGLL.js";import{a as ai}from"./embed-page-chunk-UR5VOXA3.js";import{a as li}from"./embed-page-chunk-LL4XKLOG.js";import{a as ci}from"./embed-page-chunk-UBWHZLJN.js";import{a as Xt}from"./embed-page-chunk-4PR66FMJ.js";import{a as Yt}from"./embed-page-chunk-Z26BSJ5Y.js";import{a as _t}from"./embed-page-chunk-TPQGFG2C.js";import{a as ri}from"./embed-page-chunk-HWNFA7PS.js";import{a as ei}from"./embed-page-chunk-N252QSMT.js";import{a as oi}from"./embed-page-chunk-SQ4GANYE.js";import{a as ti}from"./embed-page-chunk-H7XTOBKB.js";import{a as ii}from"./embed-page-chunk-IHNNPY3P.js";import{a as Jt}from"./embed-page-chunk-5OTSEOBG.js";import{a as Kt}from"./embed-page-chunk-5HA2MCVW.js";import{a as Lt}from"./embed-page-chunk-BBSIPZIJ.js";import{a as Ot}from"./embed-page-chunk-Q3AOMIJ7.js";import{a as Qt}from"./embed-page-chunk-JUZFORQA.js";import{a as Nt}from"./embed-page-chunk-43APLD2U.js";import{a as Pt}from"./embed-page-chunk-7IYYKQJE.js";import{a as Wt}from"./embed-page-chunk-ER4O2WLO.js";import{a as Rt}from"./embed-page-chunk-HNWETJWB.js";import{a as Ht}from"./embed-page-chunk-IPMWXKCK.js";import{a as Ut}from"./embed-page-chunk-LLFEIUVK.js";import{a as Vt}from"./embed-page-chunk-FTXNVWT5.js";import{a as Zt}from"./embed-page-chunk-TMUCZ7XO.js";import{a as $t}from"./embed-page-chunk-BYGKM25Z.js";import{a as At}from"./embed-page-chunk-ZR7ZLGLV.js";import{a as Gt}from"./embed-page-chunk-M4ACA43K.js";import{a as St}from"./embed-page-chunk-PO2WVZC2.js";import{a as Et}from"./embed-page-chunk-CGMYXHWK.js";import{a as Tt}from"./embed-page-chunk-FSDLV5QO.js";import{a as It}from"./embed-page-chunk-YBPVSBMU.js";import{a as Mt}from"./embed-page-chunk-GPISFLXW.js";import{a as Bt}from"./embed-page-chunk-KZWWYO7Z.js";import{a as Ct}from"./embed-page-chunk-3DDNDQND.js";import{a as Dt}from"./embed-page-chunk-UIZLGSJE.js";import{a as jt}from"./embed-page-chunk-K7I5Z2RN.js";import{a as xt}from"./embed-page-chunk-PXADN2PY.js";import{a as yt}from"./embed-page-chunk-NNNI4647.js";import{a as vt}from"./embed-page-chunk-2YRVPZIU.js";import{a as qt}from"./embed-page-chunk-BRF3QA4U.js";import{a as wt}from"./embed-page-chunk-Y2JWLZJF.js";import{a as zt}from"./embed-page-chunk-NLMEH7HI.js";import{a as Ft}from"./embed-page-chunk-APIN6IE2.js";import{a as lt}from"./embed-page-chunk-66JWK64A.js";import{a as ct}from"./embed-page-chunk-EGTJFOFF.js";import{a as nt}from"./embed-page-chunk-INGZ5SYE.js";import{a as dt}from"./embed-page-chunk-UGCW7PZD.js";import{a as ut}from"./embed-page-chunk-WQOZWRIS.js";import{a as bt}from"./embed-page-chunk-BIXWOREM.js";import{a as ht}from"./embed-page-chunk-CYZTUSN2.js";import{a as kt}from"./embed-page-chunk-BO56ESC4.js";import{a as tt}from"./embed-page-chunk-SAML73QO.js";import{a as it}from"./embed-page-chunk-FBXKGHOH.js";import{a as mt}from"./embed-page-chunk-YNIEMXW5.js";import{a as st}from"./embed-page-chunk-734LUAPQ.js";import{a as pt}from"./embed-page-chunk-YPK6G5D7.js";import{a as gt}from"./embed-page-chunk-3QOIYWK3.js";import{a as ft}from"./embed-page-chunk-7TY2R7O2.js";import{a as at}from"./embed-page-chunk-WCKHIRD5.js";import{a as Qo}from"./embed-page-chunk-TENLHB44.js";import{a as Wo}from"./embed-page-chunk-AAU4RSSU.js";import{a as Xo}from"./embed-page-chunk-J4VBM2JB.js";import{a as Yo}from"./embed-page-chunk-CIVBRTV6.js";import{a as _o}from"./embed-page-chunk-5LZHM64O.js";import{a as rt}from"./embed-page-chunk-AB3Q2HOO.js";import{a as et}from"./embed-page-chunk-AEGLPY52.js";import{a as ot}from"./embed-page-chunk-JADTV5YD.js";import{a as Ao}from"./embed-page-chunk-OAUK7LXS.js";import{a as Go}from"./embed-page-chunk-QNIB3Q7U.js";import{a as Jo}from"./embed-page-chunk-XWAJRAFC.js";import{a as Ko}from"./embed-page-chunk-II6ODJLE.js";import{a as Lo}from"./embed-page-chunk-Z2GE34ES.js";import{a as No}from"./embed-page-chunk-SMZUIXFD.js";import{a as Oo}from"./embed-page-chunk-4APB7U5B.js";import{a as Po}from"./embed-page-chunk-N7NXBLSR.js";import{a as Co}from"./embed-page-chunk-DXVMFTPC.js";import{a as Do}from"./embed-page-chunk-O6DJHMEC.js";import{a as Ho}from"./embed-page-chunk-CZXPKAAI.js";import{a as Ro}from"./embed-page-chunk-RNOETEGH.js";import{a as Uo}from"./embed-page-chunk-KQNRWZKR.js";import{a as Vo}from"./embed-page-chunk-33GTW5LX.js";import{a as Zo}from"./embed-page-chunk-EY64QEHF.js";import{a as $o}from"./embed-page-chunk-NIFSD4XH.js";import{a as zo}from"./embed-page-chunk-6633JIZI.js";import{a as Fo}from"./embed-page-chunk-DYBQVRXS.js";import{a as So}from"./embed-page-chunk-GKA7H24K.js";import{a as Eo}from"./embed-page-chunk-CUEEKFI2.js";import{a as To}from"./embed-page-chunk-DYPHXOEP.js";import{a as Io}from"./embed-page-chunk-Q6ZPKMOZ.js";import{a as Mo}from"./embed-page-chunk-TPGW6RUI.js";import{a as Bo}from"./embed-page-chunk-3J7LPOGR.js";import{a as ho}from"./embed-page-chunk-447KJWVF.js";import{a as ko}from"./embed-page-chunk-IIIA5HUO.js";import{a as jo}from"./embed-page-chunk-ANZXYPYQ.js";import{a as xo}from"./embed-page-chunk-WUYZIBLV.js";import{a as yo}from"./embed-page-chunk-OZUIA6GJ.js";import{a as vo}from"./embed-page-chunk-XNZ46IEF.js";import{a as qo}from"./embed-page-chunk-4XVBSVFM.js";import{a as wo}from"./embed-page-chunk-BDR2AV4C.js";import{a as go}from"./embed-page-chunk-VEYJHY36.js";import{a as fo}from"./embed-page-chunk-KM5NL7BL.js";import{a as ao}from"./embed-page-chunk-AO6KUNOD.js";import{a as lo}from"./embed-page-chunk-XUZKZF3V.js";import{a as co}from"./embed-page-chunk-PJJPSDVD.js";import{a as no}from"./embed-page-chunk-ICJOJGQ6.js";import{a as uo}from"./embed-page-chunk-TLWGSINF.js";import{a as bo}from"./embed-page-chunk-R5I2GTYT.js";import{a as ro}from"./embed-page-chunk-75BP54HX.js";import{a as eo}from"./embed-page-chunk-IYK5VAB3.js";import{a as oo}from"./embed-page-chunk-DZRJEWQO.js";import{a as to}from"./embed-page-chunk-2GGHQJ6Z.js";import{a as io}from"./embed-page-chunk-IIYOOZDE.js";import{a as mo}from"./embed-page-chunk-XYCU2ZON.js";import{a as so}from"./embed-page-chunk-4LC4UT4R.js";import{a as po}from"./embed-page-chunk-HK4QMNL5.js";import{a as Ne}from"./embed-page-chunk-LMLHHN2B.js";import{a as Pe}from"./embed-page-chunk-L3RQ76LD.js";import{a as Oe}from"./embed-page-chunk-T6QXBMXO.js";import{a as Qe}from"./embed-page-chunk-TYA3PYZB.js";import{a as Xe}from"./embed-page-chunk-53QS4RRO.js";import{a as We}from"./embed-page-chunk-6VRE3UPC.js";import{a as Ye}from"./embed-page-chunk-A3QFY3IA.js";import{a as _e}from"./embed-page-chunk-YHEFVON2.js";import{a as Ve}from"./embed-page-chunk-VP2J7NES.js";import{a as Ze}from"./embed-page-chunk-7I5CUKLE.js";import{a as $e}from"./embed-page-chunk-ARRA262W.js";import{a as Ae}from"./embed-page-chunk-QVHTN5HT.js";import{a as Ge}from"./embed-page-chunk-KUTM5AGJ.js";import{a as Je}from"./embed-page-chunk-GFOWXZE5.js";import{a as Ke}from"./embed-page-chunk-WYJNNBFP.js";import{a as Le}from"./embed-page-chunk-7CW4T6JX.js";import{a as Ie}from"./embed-page-chunk-UJODN4PG.js";import{a as Me}from"./embed-page-chunk-M7F46E23.js";import{a as Be}from"./embed-page-chunk-CT5EIC3O.js";import{a as De}from"./embed-page-chunk-B537QK4H.js";import{a as Ce}from"./embed-page-chunk-AQLFD3FB.js";import{a as Re}from"./embed-page-chunk-Q2YEQQJF.js";import{a as Ue}from"./embed-page-chunk-J7KNZGPV.js";import{a as He}from"./embed-page-chunk-6DD7CBYV.js";import{a as ve}from"./embed-page-chunk-342GWWY6.js";import{a as qe}from"./embed-page-chunk-4O7YNJLI.js";import{a as Fe}from"./embed-page-chunk-WNEY2A2R.js";import{a as we}from"./embed-page-chunk-TFSDCDJS.js";import{a as ze}from"./embed-page-chunk-R54S6SKK.js";import{a as Se}from"./embed-page-chunk-YEHTVTMO.js";import{a as Ee}from"./embed-page-chunk-RPK5SOLP.js";import{a as Te}from"./embed-page-chunk-MEC3JUW7.js";import{a as de}from"./embed-page-chunk-5HNRARTT.js";import{a as ue}from"./embed-page-chunk-OEC4EWNI.js";import{a as be}from"./embed-page-chunk-LPXAKW7Q.js";import{a as he}from"./embed-page-chunk-DEHJLLKN.js";import{a as ke}from"./embed-page-chunk-6AF3OC6E.js";import{a as je}from"./embed-page-chunk-OJ7436DP.js";import{a as xe}from"./embed-page-chunk-QQUV5KZD.js";import{a as ye}from"./embed-page-chunk-VNK6MED4.js";import{a as se}from"./embed-page-chunk-NG7LKEPN.js";import{a as pe}from"./embed-page-chunk-NMUKLFBY.js";import{a as ge}from"./embed-page-chunk-NHOBB2JQ.js";import{a as fe}from"./embed-page-chunk-ARM7QQNJ.js";import{a as ae}from"./embed-page-chunk-6XNKALVC.js";import{a as le}from"./embed-page-chunk-GSWEZJ66.js";import{a as ce}from"./embed-page-chunk-CTC4RKCL.js";import{a as ne}from"./embed-page-chunk-M5HO3OG6.js";import{a as Yr}from"./embed-page-chunk-TIGSOALR.js";import{a as _r}from"./embed-page-chunk-NNZA747K.js";import{a as re}from"./embed-page-chunk-G5KW2SOV.js";import{a as ee}from"./embed-page-chunk-UCGT4CTV.js";import{a as oe}from"./embed-page-chunk-QANF3D34.js";import{a as te}from"./embed-page-chunk-RN7JLKLZ.js";import{a as ie}from"./embed-page-chunk-TWU6UJLL.js";import{a as me}from"./embed-page-chunk-FJ3EESJB.js";import{a as Kr}from"./embed-page-chunk-7BEP247X.js";import{a as Lr}from"./embed-page-chunk-ZNWEXQQ4.js";import{a as Nr}from"./embed-page-chunk-UZNSI2X3.js";import{a as Or}from"./embed-page-chunk-XPDEOKHX.js";import{a as Pr}from"./embed-page-chunk-SL4X4KPS.js";import{a as Qr}from"./embed-page-chunk-2REOJOLY.js";import{a as Wr}from"./embed-page-chunk-ETY7U4DI.js";import{a as Xr}from"./embed-page-chunk-ACIRZYZQ.js";import{a as Rr}from"./embed-page-chunk-TUFYJMMA.js";import{a as Ur}from"./embed-page-chunk-LRB5IXLV.js";import{a as Vr}from"./embed-page-chunk-34RH2U7Z.js";import{a as Zr}from"./embed-page-chunk-LW3LUJEG.js";import{a as $r}from"./embed-page-chunk-LH2NUQ2C.js";import{a as Ar}from"./embed-page-chunk-DQ4UEELI.js";import{a as Gr}from"./embed-page-chunk-CADGB443.js";import{a as Jr}from"./embed-page-chunk-NBNJGF7O.js";import{a as Er}from"./embed-page-chunk-LJBLK3MD.js";import{a as Tr}from"./embed-page-chunk-XRRCORI5.js";import{a as Ir}from"./embed-page-chunk-I5KTSZJX.js";import{a as Mr}from"./embed-page-chunk-JOJ4VSO5.js";import{a as Br}from"./embed-page-chunk-HVN56UNP.js";import{a as Dr}from"./embed-page-chunk-FMMAQPSK.js";import{a as Cr}from"./embed-page-chunk-IK2TPQVX.js";import{a as Hr}from"./embed-page-chunk-XZYJX7MY.js";import{a as yr}from"./embed-page-chunk-TSZIWR3X.js";import{a as xr}from"./embed-page-chunk-GAF3UVZE.js";import{a as vr}from"./embed-page-chunk-6DYN2PCR.js";import{a as qr}from"./embed-page-chunk-BXUFKFRH.js";import{a as wr}from"./embed-page-chunk-E4OFRMJJ.js";import{a as zr}from"./embed-page-chunk-A5CPK26D.js";import{a as Fr}from"./embed-page-chunk-LJJJJZT7.js";import{a as Sr}from"./embed-page-chunk-XO5WZF3D.js";import{a as cr}from"./embed-page-chunk-77SKWVKH.js";import{a as nr}from"./embed-page-chunk-72JNWX43.js";import{a as dr}from"./embed-page-chunk-VULBATQG.js";import{a as ur}from"./embed-page-chunk-X55NDWBH.js";import{a as br}from"./embed-page-chunk-WDS66MAN.js";import{a as hr}from"./embed-page-chunk-IPI53MN3.js";import{a as kr}from"./embed-page-chunk-5YNTYDFR.js";import{a as jr}from"./embed-page-chunk-QHV7PE5D.js";import{a as ir}from"./embed-page-chunk-WAANDEAQ.js";import{a as sr}from"./embed-page-chunk-7AKQRM6L.js";import{a as mr}from"./embed-page-chunk-ETP6AXEM.js";import{a as pr}from"./embed-page-chunk-J5AHS4PO.js";import{a as gr}from"./embed-page-chunk-XZ6CLWS2.js";import{a as ar}from"./embed-page-chunk-JNXBKMN6.js";import{a as fr}from"./embed-page-chunk-ARHDAWDT.js";import{a as lr}from"./embed-page-chunk-3WBHNFJP.js";import{a as W}from"./embed-page-chunk-JYEMOI5G.js";import{a as X}from"./embed-page-chunk-ABIN3BPL.js";import{a as Y}from"./embed-page-chunk-VUOXEXHU.js";import{a as _}from"./embed-page-chunk-H3HFE6RK.js";import{a as rr}from"./embed-page-chunk-SMMEMIZS.js";import{a as er}from"./embed-page-chunk-YFWCKZW7.js";import{a as or}from"./embed-page-chunk-CN3CMET4.js";import{a as tr}from"./embed-page-chunk-ESCA5JCS.js";import{a as G}from"./embed-page-chunk-EBXTVXZF.js";import{a as J}from"./embed-page-chunk-IGBRMGDS.js";import{a as K}from"./embed-page-chunk-ISY7S7N6.js";import{a as L}from"./embed-page-chunk-SYAPUMNM.js";import{a as N}from"./embed-page-chunk-4BRWUEYH.js";import{a as O}from"./embed-page-chunk-7Q3EEWYO.js";import{a as P}from"./embed-page-chunk-PLAF2Q2L.js";import{a as Q}from"./embed-page-chunk-U32PAI3Y.js";import{a as D}from"./embed-page-chunk-3C32LJTO.js";import{a as H}from"./embed-page-chunk-6G24DMH3.js";import{a as R}from"./embed-page-chunk-LOLMAI3V.js";import{a as U}from"./embed-page-chunk-6NWENUQ7.js";import{a as V}from"./embed-page-chunk-Y4KTS6EE.js";import{a as Z}from"./embed-page-chunk-6OKUWTCF.js";import{a as $}from"./embed-page-chunk-JYQTTU7F.js";import{a as A}from"./embed-page-chunk-LWERP7BS.js";import{a as S}from"./embed-page-chunk-FD2PRLMW.js";import{a as F}from"./embed-page-chunk-INUQ73SI.js";import{a as E}from"./embed-page-chunk-2XLPEIWW.js";import{a as T}from"./embed-page-chunk-H7HZ35QN.js";import{a as I}from"./embed-page-chunk-HQUXJKTG.js";import{a as M}from"./embed-page-chunk-4OTU4CRR.js";import{a as B}from"./embed-page-chunk-IFEQPNI2.js";import{a as C}from"./embed-page-chunk-FEOK4OPE.js";import{a as k}from"./embed-page-chunk-JEW2Y2ED.js";import{a as j}from"./embed-page-chunk-FVK265KY.js";import{a as x}from"./embed-page-chunk-FM5K6PQS.js";import{a as y}from"./embed-page-chunk-XAJFFWM3.js";import{a as v}from"./embed-page-chunk-R672RZXS.js";import{a as q}from"./embed-page-chunk-EY7WOIDX.js";import{a as w}from"./embed-page-chunk-G5HXFDFC.js";import{a as z}from"./embed-page-chunk-E7ECPW5G.js";import{a}from"./embed-page-chunk-BTZ6QKA5.js";import{a as c}from"./embed-page-chunk-PVL27S2O.js";import{a as l}from"./embed-page-chunk-PKNTJERD.js";import{a as n}from"./embed-page-chunk-3KBA5YLX.js";import{a as d}from"./embed-page-chunk-OPME5GF2.js";import{a as u}from"./embed-page-chunk-SWGBMELE.js";import{a as h}from"./embed-page-chunk-3D3RUB6Q.js";import{a as b}from"./embed-page-chunk-HVTV25TI.js";import{a as o}from"./embed-page-chunk-7ASML425.js";import{a as m}from"./embed-page-chunk-CDFDSWNI.js";import{a as i}from"./embed-page-chunk-ZT2EZUXI.js";import{a as t}from"./embed-page-chunk-QRPDJVB7.js";import{a as s}from"./embed-page-chunk-CUHPLIQJ.js";import{a as p}from"./embed-page-chunk-ORPUVSKY.js";import{a as g}from"./embed-page-chunk-2DKYYWQC.js";import{a as f}from"./embed-page-chunk-HJJHFV6J.js";import{a as e}from"./embed-page-chunk-4C2ZTZLC.js";r.register(F);r.register(fr);r.register(t);r.register(dt);r.register(i);r.register(e);r.register(o);r.register(m);r.register(s);r.register(p);r.register(g);r.register(f);r.register(a);r.register(l);r.register(c);r.register(n);r.register(d);r.register(u);r.register(b);r.register(h);r.register(k);r.register(j);r.register(x);r.register(C);r.register(Wt);r.register(po);r.register(y);r.register(v);r.register(z);r.register(S);r.register(q);r.register(w);r.register(E);r.register(T);r.register(I);r.register(M);r.register(B);r.register(D);r.register(H);r.register(R);r.register(U);r.register(V);r.register(Z);r.register($);r.register(A);r.register(G);r.register(J);r.register(K);r.register(L);r.register(N);r.register(O);r.register(P);r.register(Q);r.register(W);r.register(X);r.register(Y);r.register(_);r.register(rr);r.register(er);r.register(or);r.register(gr);r.register(tr);r.register(ir);r.register(mr);r.register(sr);r.register(ar);r.register(lr);r.register(cr);r.register(nr);r.register(dr);r.register(ur);r.register(br);r.register(hr);r.register(kr);r.register(jr);r.register(xr);r.register(yr);r.register(vr);r.register(qr);r.register(wr);r.register(zr);r.register(Fr);r.register(Sr);r.register(Er);r.register(Tr);r.register(Ir);r.register(Cr);r.register(Dr);r.register(Mr);r.register(Br);r.register(Hr);r.register(Ar);r.register(Rr);r.register(Ur);r.register(Vr);r.register(Zr);r.register($r);r.register(Gr);r.register(Xr);r.register(Jr);r.register(Kr);r.register(Lr);r.register(Nr);r.register(Or);r.register(Pr);r.register(Qr);r.register(Wr);r.register(Yr);r.register(Ye);r.register(re);r.register(_r);r.register(ee);r.register(oe);r.register(te);r.register(Qe);r.register(Ft);r.register(_t);r.register(ie);r.register(me);r.register(se);r.register(pe);r.register(ge);r.register(fe);r.register(ae);r.register(le);r.register(ce);r.register(He);r.register(gi);r.register(ne);r.register(de);r.register(ue);r.register(be);r.register(he);r.register(je);r.register(xe);r.register(ye);r.register(ve);r.register(qe);r.register(we);r.register(Oe);r.register(ze);r.register(zt);r.register(Fe);r.register(Se);r.register(Ee);r.register(Te);r.register(Ie);r.register(Be);r.register(Ce);r.register(De);r.register(xo);r.register(Me);r.register(Re);r.register(Ue);r.register(Ve);r.register($e);r.register(Ae);r.register(Ge);r.register(Je);r.register(Ke);r.register(Le);r.register(Ne);r.register(Pe);r.register(We);r.register(Xe);r.register(_e);r.register(ro);r.register(eo);r.register(oo);r.register(to);r.register(io);r.register(mo);r.register(so);r.register(go);r.register(fo);r.register(ao);r.register(lo);r.register(co);r.register(no);r.register(uo);r.register(bo);r.register(ho);r.register(ko);r.register(jo);r.register(yo);r.register(vo);r.register(qo);r.register(wo);r.register(zo);r.register(Fo);r.register(So);r.register(Eo);r.register(To);r.register(Io);r.register(Mo);r.register(Bo);r.register(Co);r.register(Do);r.register(Ho);r.register(Ro);r.register(Uo);r.register(Vo);r.register(Zo);r.register(rt);r.register($o);r.register(Ao);r.register(Go);r.register(Ko);r.register(Jo);r.register(Lo);r.register(No);r.register(Oo);r.register(Po);r.register(Qo);r.register(Wo);r.register(Xo);r.register(Yo);r.register(_o);r.register(Gt);r.register(ii);r.register(et);r.register(ot);r.register(tt);r.register(it);r.register(mt);r.register(st);r.register(at);r.register(pt);r.register(gt);r.register(ft);r.register(lt);r.register(ct);r.register(pr);r.register(Ze);r.register(oi);r.register(nt);r.register(ut);r.register(bt);r.register(ht);r.register(kt);r.register(jt);r.register(xt);r.register(yt);r.register(vt);r.register(qt);r.register(wt);r.register(St);r.register(Et);r.register(Tt);r.register(It);r.register(Mt);r.register(Bt);r.register(Ct);r.register(Dt);r.register(Ht);r.register(Rt);r.register(Ut);r.register(Vt);r.register(Zt);r.register($t);r.register(At);r.register(ke);r.register(Jt);r.register(Kt);r.register(Lt);r.register(Nt);r.register(Ot);r.register(Pt);r.register(Qt);r.register(Xt);r.register(Yt);r.register(ti);r.register(ri);r.register(ei);r.register(mi);r.register(si);r.register(pi);r.register(fi);r.register(ai);r.register(li);r.register(ci);r.register(ni);r.register(di);r.register(ui);r.register(bi);r.register(hi);r.register(ki);r.register(ji);r.register(xi);r.register(yi);r.register(vi);r.register(qi);r.register(wi);r.register(zi);r.register(Fi);r.register(Si);r.register(Ei);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as s}from"./embed-page-chunk-INUQ73SI.js";import{a as t}from"./embed-page-chunk-E7ECPW5G.js";a.displayName="aspnet";a.aliases=[];function a(e){e.register(t),e.register(s),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}export{a};
|